npm installation ERROR

pi@raspberrypi:~ $ bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"

$$\      $$\                     $$\           $$\      $$\ $$\                                          $$$$$$\
$$$\    $$$ |                    \__|          $$$\    $$$ |\__|                                        $$  __$$\
$$$$\  $$$$ | $$$$$$\   $$$$$$\  $$\  $$$$$$$\ $$$$\  $$$$ |$$\  $$$$$$\   $$$$$$\   $$$$$$\   $$$$$$\  \__/  $$ |
$$\$$\$$ $$ | \____$$\ $$  __$$\ $$ |$$  _____|$$\$$\$$ $$ |$$ |$$  __$$\ $$  __$$\ $$  __$$\ $$  __$$\  $$$$$$  |
$$ \$$$  $$ | $$$$$$$ |$$ /  $$ |$$ |$$ /      $$ \$$$  $$ |$$ |$$ |  \__|$$ |  \__|$$ /  $$ |$$ |  \__|$$  ____/
$$ |\$  /$$ |$$  __$$ |$$ |  $$ |$$ |$$ |      $$ |\$  /$$ |$$ |$$ |      $$ |      $$ |  $$ |$$ |      $$ |
$$ | \_/ $$ |\$$$$$$$ |\$$$$$$$ |$$ |\$$$$$$$\ $$ | \_/ $$ |$$ |$$ |      $$ |      \$$$$$$  |$$ |      $$$$$$$$\
\__|     \__| \_______| \____$$ |\__| \_______|\__|     \__|\__|\__|      \__|       \______/ \__|      \________|
                       $$\   $$ |
                       \$$$$$$  |
                        \______/

Updating packages ...
Hit:1 http://archive.raspberrypi.org/debian stretch InRelease
Hit:2 http://raspbian.raspberrypi.org/raspbian stretch InRelease
Reading package lists... Done
Installing helper tools ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.3).
curl is already the newest version (7.52.1-5+deb9u8).
git is already the newest version (1:2.11.0-3+deb9u4).
unzip is already the newest version (6.0-21).
wget is already the newest version (1.18-5+deb9u2).
0 upgraded, 0 newly installed, 0 to remove and 41 not upgraded.
Check current Node installation ...
Node currently installed. Checking version number.
Minimum Node version: v5.1.0
Installed Node version: v8.11.1
No Node.js upgrade necessary.
Cloning MagicMirror ...
Cloning into 'MagicMirror'...
remote: Enumerating objects: 302, done.
remote: Counting objects: 100% (302/302), done.
remote: Compressing objects: 100% (270/270), done.
remote: Total 302 (delta 37), reused 171 (delta 22), pack-reused 0
Receiving objects: 100% (302/302), 614.30 KiB | 0 bytes/s, done.
Resolving deltas: 100% (37/37), done.
Cloning MagicMirror Done!
Installing dependencies ...
(node:5846) [DEP0022] DeprecationWarning: os.tmpDir() is deprecated. Use os.tmpdir() instead.
npm WARN deprecated<EMAIL_ADDRESS>Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
npm WARN deprecated<EMAIL_ADDRESS>This package is no longer being maintained and contains security vulnerabilities
npm ERR! registry error parsing json
npm ERR! SyntaxError: Unexpected token < in JSON at position 0
npm ERR! <!DOCTYPE html>
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR! <title>Could not find host | registry.npmjs.org | Cloudflare</title>
npm ERR! <meta charset="UTF-8" />
npm ERR! <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
npm ERR! <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
npm ERR! <meta name="robots" content="noindex, nofollow" />
npm ERR! <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1" />
npm ERR! <link rel="stylesheet" id="cf_styles-css" href="/cdn-cgi/styles/cf.errors.css" type="text/css" media="screen,projection" />
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!

npm ERR!
Please enable cookies.

npm ERR!

npm ERR!

npm ERR!

npm ERR!           Error
npm ERR!           1018
npm ERR!           Ray ID: 49667c04fedb32c5 • 2019-01-09 11:15:15 UTC
npm ERR!

npm ERR!
Could not find host

npm ERR!

npm ERR!
npm ERR!

npm ERR!
npm ERR!

npm ERR!

npm ERR!

npm ERR!
What happened?

npm ERR!
You've requested a page on a website (registry.npmjs.org) that is on the Cloudflare network. Cloudflare is currently unable to resolve your requested domain (registry.npmjs.org). There are two potential causes of this:

npm ERR!

npm ERR!
Most likely: if the owner just signed up for Cloudflare it can take a few minutes for the website's information to be distributed to our global network.

npm ERR!
Less likely: something is wrong with this site's configuration. Usually this happens when accounts have been signed up with a partner organization (e.g., a hosting provider) and the provider's DNS fails.

npm ERR!

npm ERR!

npm ERR!
npm ERR!
npm ERR!

npm ERR!

npm ERR!
npm ERR!

npm ERR!

npm ERR!     Cloudflare Ray ID: 49667c04fedb32c5
npm ERR!     •
npm ERR!     Your IP: <IP_ADDRESS>
npm ERR!     •
npm ERR!     Performance & security by Cloudflare
npm ERR!
npm ERR!

npm ERR!

npm ERR!
npm ERR!
npm ERR!

npm ERR!

npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!
npm ERR!     at JSON.parse (<anonymous>)
npm ERR!     at RegClient.<anonymous> (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:266:23)
npm ERR!     at Request._callback (/usr/share/npm/node_modules/npm-registry-client/lib/request.js:238:65)
npm ERR!     at Request.self.callback (/usr/lib/nodejs/request/index.js:148:22)
npm ERR!     at emitTwo (events.js:126:13)
npm ERR!     at Request.emit (events.js:214:7)
npm ERR!     at Request.<anonymous> (/usr/lib/nodejs/request/index.js:896:14)
npm ERR!     at emitOne (events.js:121:20)
npm ERR!     at Request.emit (events.js:211:7)
npm ERR!     at IncomingMessage.<anonymous> (/usr/lib/nodejs/request/index.js:847:12)
npm ERR! If you need help, you may report this *entire* log,
npm ERR! including the npm and node versions, at:
npm ERR!     <http://github.com/npm/npm/issues>

npm ERR! System Linux 4.14.79-v7+
npm ERR! command "/usr/bin/node" "/usr/bin/npm" "install"
npm ERR! cwd /home/pi/MagicMirror
npm ERR! node -v v8.11.1
npm ERR! npm -v 1.4.21
npm ERR! registry error parsing json
npm ERR! registry error parsing json
npm ERR! fetch failed https://registry.npmjs.org/finalhandler/-/finalhandler-1.1.1.tgz
npm WARN deprecated<EMAIL_ADDRESS>Package no longer supported. Contact<EMAIL_ADDRESS>for more info.

><EMAIL_ADDRESS>install /home/pi/MagicMirror/node_modules/spectron/node_modules/electron-chromedriver
> node ./download-chromedriver.js

successfully dowloaded and extracted!
npm WARN deprecated<EMAIL_ADDRESS>CircularJSON is in maintenance only, flatted is its successor.
npm WARN deprecated<EMAIL_ADDRESS>Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /home/pi/MagicMirror/npm-debug.log
npm ERR! not ok code 0
Unable to install dependencies!
pi@raspberrypi:~ $

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.14.79-v7+ #1159 SMP Sun Nov 4 17:50:20 GMT 2018 armv7l GNU/Linux
pi@raspberrypi:~ $ cat /proc/cpuinfo
processor	: 0
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 1
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 2
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

processor	: 3
model name	: ARMv7 Processor rev 4 (v7l)
BogoMIPS	: 38.40
Features	: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x0
CPU part	: 0xd03
CPU revision	: 4

Hardware	: BCM2835
Revision	: a02082
Serial		: 000000000ffc6bad

Hi @mihanich , I tried what you said but this is what I got
npm WARN deprecated<EMAIL_ADDRESS>Deprecated because Grunt is practically un  maintained. Move on to something better. This package will continue to work with   Grunt v1, but it will not receive any updates.
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellane  ous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a req  uest error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/  @babel%2fcore: Integrity verification failed for sha512-awUDtusHAsJYo9NCrF9BoJ5v  MY6BcdWtvDMmdMfCQ+zkouN8yv1huE8kYJ6be892yav929G0HVhLWPyU+G+Xcw== (/home/pi/.npm/  _cacache/content-v2/sha512/6b/05/03b6eb0702c258a3d342ac5f41a09e6f318e8171d5adbc3  32674c7c243ece4a2e37ccafd61b84f24609e9b7bcf76c9abfddbd1b41d584b58fc94f86f9773)
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/pi/.npm/_logs/2019-07-10T04_13_51_651Z-debug.log
Unable to install dependencies!
please help

Hi @mihanich , I tried what you said but this is what I got
npm WARN deprecated<EMAIL_ADDRESS>Deprecated because Grunt is practically un maintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates.
npm WARN registry Unexpected warning for https://registry.npmjs.org/: Miscellane ous Warning ENODATA: Cache input stream was empty
npm WARN registry Using stale data from https://registry.npmjs.org/ due to a req uest error during revalidation.
npm ERR! code EINTEGRITY
npm ERR! errno EINTEGRITY
npm ERR! Invalid response body while trying to fetch https://registry.npmjs.org/ @babel%2fcore: Integrity verification failed for sha512-awUDtusHAsJYo9NCrF9BoJ5v MY6BcdWtvDMmdMfCQ+zkouN8yv1huE8kYJ6be892yav929G0HVhLWPyU+G+Xcw== (/home/pi/.npm/ _cacache/content-v2/sha512/6b/05/03b6eb0702c258a3d342ac5f41a09e6f318e8171d5adbc3 32674c7c243ece4a2e37ccafd61b84f24609e9b7bcf76c9abfddbd1b41d584b58fc94f86f9773)
npm ERR! A complete log of this run can be found in:
npm ERR! /home/pi/.npm/_logs/2019-07-10T04_13_51_651Z-debug.log
Unable to install dependencies!
please help

I am having same problem if u found solution let me know

What version are you using? Looks like yours is outdated....

I am using Raspberry Pi 3b.can you provide me newer version of magicmirror
On Fri, 25 Dec, 2020, 4:43 PM Veeck<EMAIL_ADDRESS>wrote:

What version are you using? Looks like yours is outdated....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751234144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTSZORT2ZYFLBTWPWYDTSWRXTXANCNFSM4GO5D5OQ
.

You didnt answer my question: Which version of MagicMirror are you using?

You didnt answer my question: Which version of MagicMirror are you using?

I am using this command bash -c "$(curl -sL https://raw.githubusercontent.com/MichMich/MagicMirror/master/installers/raspberry.sh)"

Please take a look at the updated installation isntruction: https://docs.magicmirror.builders/getting-started/installation.html

@Ajimsutar the install script was removed a couple releases ago. I maintain it separately now
see https://github.com/sdetweil/MagicMirror_scripts

While installing npm it gives error in cromedriver
On Fri, 25 Dec, 2020, 4:43 PM Veeck<EMAIL_ADDRESS>wrote:

What version are you using? Looks like yours is outdated....
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751234144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTSZORT2ZYFLBTWPWYDTSWRXTXANCNFSM4GO5D5OQ
.

Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751265533,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTS6GV6F56Z3JZQ7GQ33SWSYPXANCNFSM4GO5D5OQ
.

if u used my script, email me the ~/install.log
same userid on gmail

now its giving error of cromedriver
On Fri, 25 Dec 2020 at 22:51, sam detweiler<EMAIL_ADDRESS>wrote:

if u used my script, email me the ~/install.log
same userid on gmail
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751273657,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTS656WCRFOGG6NLRQKLSWTC25ANCNFSM4GO5D5OQ
.

send me the log file

This is log file
On Sat, 26 Dec, 2020, 7:10 PM sam detweiler<EMAIL_ADDRESS>wrote:

send me the log file
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751356666,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTSYDQ3RONAXRCAW3E6LSWXRV5ANCNFSM4GO5D5OQ
.

sorry, I don't see a log file

Can you send me email id
On Sun, 27 Dec, 2020, 9:11 PM sam detweiler<EMAIL_ADDRESS>wrote:

sorry, I don't see a log file
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751482259,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTS37Y3ED6G3I2SKHORTSW5IT3ANCNFSM4GO5D5OQ
.

its the same id  as I use here at gmail.

Actually I couldn't find your email address can you send me please
On Sun, 27 Dec, 2020, 9:15 PM sam detweiler<EMAIL_ADDRESS>wrote:

its the same id as I use here at gmail.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751482657,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTS6BIWERAPWKARF2QALSW5JAXANCNFSM4GO5D5OQ
.

come on sdetweil at gmail   (you have to finish it).. this way the spam bots don't...

Yes I have sent you log file
On Sun, 27 Dec, 2020, 9:25 PM sam detweiler<EMAIL_ADDRESS>wrote:

come on sdetweil at gmail (you have to finish it).. this way the spam bots
don't...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751483773,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTS2JD4JSFW56DPQGIBTSW5KGFANCNFSM4GO5D5OQ
.

thanks.. but that wasn't the log I was looking for..
i was looking for the log from my auto install script, which should be located at ~/install.log
the script makes lot of decisions and does updates based on that..
i see the failure you reported, but don't see the rest of the info I was looking for
remove the MagicMirror folder and run the install script from here, one line cut and paste
https://github.com/sdetweil/MagicMirror_scripts

i have send you new log file
On Sun, 27 Dec 2020 at 21:46, sam detweiler<EMAIL_ADDRESS>wrote:

thanks.. but that wasn't the log I was looking for..
i was looking for the log from my auto install script, which should be
located at ~/install.log
the script makes lot of decisions and does updates based on that..
i see the failure you reported, but don't see the rest of the info I was
looking for
remove the MagicMirror folder and run the install script from here, one
line cut and paste
https://github.com/sdetweil/MagicMirror_scripts
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MichMich/MagicMirror/issues/1524#issuecomment-751486393,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASCGTSZKNJK5J6FQUCGNOWDSW5MWHANCNFSM4GO5D5OQ
.

status. he had some problem with npm reinstalling npm resolved


Draft of intent recall and precision function

intent_prediction, _ = model.predict('飲料喝到飽')
thresholds = [k for k in range(0, 1, 0.1)]
recall, precision = function_name_to_be_decided(intent_answer, intent_prediction, thresholds)

could be something like
recall, precision = sdk.evaluation.evaluate(intent_answer, intent_prediction, thresholds)

and confustion matrix
sdk.evaluation.confustion_matrix(intent_answer, intent_prediction, thresholds)


Add <ssr-keep> support to @bolt/element

Jira
http://vjira2:8080/browse/BDS-2106
Summary
Ports over the existing <ssr-keep>-related hydration logic from @bolt/core-v3.x into @bolt/element.
Details
This update was required after running into timing / race condition-related rendering issues once most (all) UI in Bolt started to get loaded and rendered asynchronously.
How to test
Review code (gut check). Anything else?
All the work actually using this in BoltElement-based components has been split into it's own separate PR so you might need to reference https://github.com/boltdesignsystem/bolt/pull/1839 if you want to see this in action...

Closing and re-opening fresh PR with cherry picked updates


New Blog Post: Hardening the Collector #1 - A new default bind address

Blog post category: This would fall into the "OpenTelemetry projects updates" or "Updates from Special Interest Groups" categories.
Short description and outline of your blog post: The Collector SIG has been working on hardening the Collector default configuration and the Collector builds. Some of these are breaking changes. We want to write a series of blog posts to share this with the community and help users address the breaking change. This would be the first one, focusing on the component.UseLocalHostAsDefaultHost feature gate. See #4759 for a draft version.
Technologies used in your blog post:  OpenTelemetry Collector
Name of a SIG, which is related to this blog post: Collector SIG
Name of a sponsor (maintainer or approver) from this SIG, who will help to review that PR. That sponsor should ideally be from a different company. @jpkrohling and @TylerHelmuth will help review :)

We should have already addressed everything as part of #3839, but if there is anything missing we should do it now as well

I'll review it.

Closing as completed by #4759.


v3

Is there any support for version 3 planned?

I'm open to paying to get support working for v4 on this @mrousavy

hey @ste00martin i have plans to reimplement this from scratch and when it's done it will be much faster than other options available out there, sponsoring at any amount will definitely help to speed up the process :), in the mean time you should know that's also some options created by the community that's highlighted  in vision camera documentation https://react-native-vision-camera.com/docs/guides/frame-processor-plugins-community

Thanks @rodgomesc !


increase timeout and sleep value for retry_cluster_exceptions() in patch call - 2217

[Auto generated]
Number: [#2217]

openshift-python-wrapper[pull_request][ec1e8360-b1be-11ef-951c-d92ab46ff75b][PR 2217]: Closing issue for PR: increase timeout and sleep value for retry_cluster_exceptions() in patch call.
PR was closed.


haas1000: fix whitescan bugs in hal/wifi_port.c

[Detail]
Fix whitescan bugs in hal/wifi_port.c

CWE252: Value returned from a function is not checked for errors
before being used
CWE125: Out-of-bounds read from a buffer

[Verified Cases]
Build Pass: <py_engine_demo>
Test Pass:  <py_engine_demo
Signed-off-by: Jinliang Li<EMAIL_ADDRESS>

感谢提交 Pull Requests！
Thanks for submitting a pull request.

Security Check : 13a723cebadfa79666365c4a4c16b08e8d7f0efd

auto build success,number:37

autotest success,number:1070


PYTHON-2638 Datetime support

Some funkiness with what arrow does with timestamps is resulting in a fixed offset in the round tripped date times... I will investigate and fix the builder tests.

Actually that is dead code... I originally wrote that function to support other granularities for timestamps but eventually decided to not support that. In our case since we only support reading from Mongo/BSON to Arrow, there is no need for this method.


Splitted README.md in two files for i18n purposes

I have copied the previous README.md to README.cd.md, and I've translated to English the original README.md. However, I couldn't translate the "首页的解决方案" part. I'm doing this because I feel that the frequent use of Chinese in this project is keeping the community away from giving contributions to this awesome repository.

wow...thx...


Add general events from event-form to ReccuringEvents

If activityType == General, add to ReccuringEvent collection
I think we should add a page for adding reccuring events separately, so client won't think that this general event is for selected resident only.
Another option is to add a section in the event form that will be shown only if event type is General, saying that this event will be added to everyone's reccuring event.
@elchi28 @amitJas @wisamsalame1 any thoughts? what do you think?

Will be implemented in the existing "Add an Event" page


Maintenance Updated lifelines recipe MNT: Re-rendered with conda-smithy 2.4.0

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


The name of the given podspec 'RNCAsyncStorage' doesn't match the expected one 'RNCAsyncStorage 2'

Current behavior
OK so I have a project that required the use of async storage. When I run react-native run-android on my Linux it work perfectly.
But for some reason on mac, when I try to run pod install in the ios folder I keep getting the error mentioned in the title.
I tried to remove the '2' and use 'RNCAsyncStorage' but when I run react-native run-ios it's 'RNCAsyncStorage 2' that's required.
Expected behavior
pod install that work without error with 'RNCAsyncStorage 2'
Repro steps
npm install @react-native-community/async-storage
react-native link @react-native-community/async-storage
cd ios && pod install
Environment

Async Storage version: 1.9.0
React-Native version: 0.62.2
Platform tested: IOS
Logs/Error that are relevant:

(node:66058) Warning: Accessing non-existent property 'cat' of module exports inside circular dependency
(Use node --trace-warnings ... to show where the warning was created)
(node:66058) Warning: Accessing non-existent property 'cd' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'chmod' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'cp' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'dirs' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'pushd' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'popd' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'echo' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'tempdir' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'pwd' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'exec' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'ls' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'find' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'grep' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'head' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'ln' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'mkdir' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'rm' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'mv' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'sed' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'set' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'sort' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'tail' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'test' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'to' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'toEnd' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'touch' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'uniq' of module exports inside circular dependency
(node:66058) Warning: Accessing non-existent property 'which' of module exports inside circular dependency
Detected React Native module pods for RNCAsyncStorage, RNCMaskedView, RNReanimated, RNScreens, RNVectorIcons, RealmJS, react-native-safe-area-context, and react-native-slider
Analyzing dependencies
[!] The name of the given podspec RNCAsyncStorage doesn't match the expected one RNCAsyncStorage 2
[!] Automatically assigning platform iOS with version 9.0 on target RenardAudition because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
[!] Automatically assigning platform tvOS with version 9.2 on target RenardAudition-tvOS because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.

You should not link it using link command, because library would be linked twice. Remove AsyncStorage entry from your Podfile and try again.

Closing due to inactivity.


[3.0.0] Breaking Change Tracking

This issue is to track breaking changes implemented or planned for 3.0 to ensure they get announced properly

[ ] Minor Version property added to IHubProtocol
[ ] JSON Protocol Changes (AddJsonProtocol to AddNewtonsoftJsonProtocol)
[x] #8525 (ResetSendPing and friend removed)

@anurse - is the a PRI-0 bug, and is it in the correct milestone?

This isn't really used anymore.

@anurse
where is a documentation for breaking changes in 3.0 final? The SignalR page was not updated since 2018 and misses a migration guide from 2.2 to 3.0.
What steps do I have to follow to upgrade from 2.2 to 3.0? What is changed/removed? I only know my selfhost must be now .net core 3.0 app. What else is changed?

@anurse
ok, I found this link
Is this all?

Yes, that is the migration guide for SignalR. It may not be a complete breaking change list, but it covers most of the core scenarios. A full list of breaking changes can be found in the issue tracker for aspnet/Announcements (and you can subscribe to that repo to get GitHub notifications when new breaking changes are introduced in 3.1 and beyond). Moving forward, we are also working on publishing ASP.NET Core breaking changes to the central .NET Core Breaking Changes page on our documentation site (but we haven't completed that yet).

Moving forward, we are also working on publishing ASP.NET Core breaking changes to the central .NET Core Breaking Changes page on our documentation site (but we haven't completed that yet).

ok, please also reply here when the link goes online.

I'd suggest you watch aspnet/Announcements as that's where announcements like this would be posted.


Consider adding a nightly database dump

Although Postgres is transaction safe, this would still improve recoverability. We may want to keep at least a few days of dumps as well.

Some additional thoughts:

This could be as simple as a cron  job running on the AWS server or in the postgres container that runs pg_dump [^1], and sends the gzipped dump to S3.
Alternatively, we might be able to run pg_dump as a scheduled job from the java size? idk.
One more alternative is to try to directly backup the docker volume where the postgres data is stored. This might not be optimal, as it wouldn't work across postgres versions I think. https://www.howtogeek.com/devops/how-to-back-up-your-docker-volumes/

[^1]: Of the options mentioned in the postgres docs, the Write ahead log (WAL) is mostly for crash protection, and taking a file level archive says it should only be done when postgres is not running.


Problems to connect Home assistant 0.56.2

Problems here to connect 0.56.2 (last, i think) version of Home Assistant.  DONE
IP Address is: <IP_ADDRESS>
Connecting to <IP_ADDRESS> Broker . . . .
Never goes further and after 5 minutes or so
Connecting to <IP_ADDRESS> Broker . . . . . .  LOST
ets Jan 8 2013,rst cause:1, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3de0c112
~ld
⸮
Home Assistant log:
2017-11-02 11:57:19 INFO (MainThread) [hbmqtt.broker] Connection from <IP_ADDRESS>:1070 on listener ‘default’
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] deleting session Session(clientId=Sonoff_F9A22E, state=new) subscriptions
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] deleting existing session (Session(clientId=Sonoff_F9A22E, state=new), <hbmqtt.mqtt.protocol.broker_handler.BrokerProtocolHandler object at 0x6613f530>)
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] Keep-alive timeout=92
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker.plugins.packet_logger_plugin] <-in-- ConnectPacket(ts=2017-11-02 12:25:43.776754, fixed=MQTTFixedHeader(length=49, flags=0x0), variable=ConnectVariableHeader(proto_name=MQTT, proto_level=4, flags=0xc2, keepalive=90), payload=ConnectVariableHeader(client_id=Sonoff_F9A22E, will_topic=None, will_message=None, username=homeassistant, password=welcome))
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker.plugins.auth_file] No hash found for user 'homeassistant'
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker.plugins.auth_anonymous] Authentication success: config allows anonymous
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] 'packet_logger_plugin' plugin result: None
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] 'auth_anonymous' plugin result: True
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] Authentication failed due to 'auth_file' plugin result: False
2017-11-02 12:25:43 DEBUG (MainThread) [hbmqtt.broker] 'broker_sys' plugin result: None

Does the previous version connect?

Previous version not connect either. The problem solved installing
Mosquitto server instead of embebed mqtt server.
El vie., 3 nov. 2017 a las 6:37, KmanOz<EMAIL_ADDRESS>escribió:

Does the previous version connect?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/KmanOz/KmanSonoff/issues/1#issuecomment-341625888,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AG6bxRGqCKdpmLX7E6NfV1TcrAU3mbq9ks5syqamgaJpZM4QPpyj
.

OK will close this then


🎮 Game Request
I Will be making a smaller and easier version of this game. The main points for the game are -

There will be 2 rods at the top and bottom of the screen.
Both rods will be controlled with the same keys. In other words, they will move together.
When the game starts, an alert should be shown about the highest score and the player who scored it. If there is no such record, say 'this is your first time'.
If the score becomes highest, then store the name and max-score in local storage.
After every round, when one wins an alert will be displayed showing the winning player and his score.

Point down the features

Every round should start when the 'Enter' key is pressed. ( You can use another key as well )
The rods will only move horizontally using the 'a' and 'd' keys. ( You can use other keys as well )
The losing rod will get the ball for the next match and the rods and ball will move to center.
The score will be counted from the start of every match.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Khaleeq01 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

please assign this to me

I have designed the game using html,css and javascript

/assign

/assign

Hello @Khaleeq01, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Khaleeq01 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


(GH-94) Support for service principal authentication

Implements fetching keyvault access token via service principal authentication.
Allows using this module on agents and servers that cannot use Azure Managed Identities.
This new mode of authentication is optional, and enabled by passing a new key service_principal_credentials to hiera options.
This key contains a path to a YAML file on puppet server where credentials can be found.
Here is a sample hiera.yaml file
---
version: 5
defaults:
  datadir: 'hieradata'
  data_hash: yaml_data
hierarchy:
  - name: "azure_keyvault_poc"
    lookup_key: azure_key_vault::lookup
    options:
      vault_name: my_vault_name
      vault_api_version: '2016-10-01'
      key_replacement_token: '-'
      confine_to_keys:
        - '^azure_kv::.*'
      metadata_api_version: '2018-04-02'
      service_principal_credentials: '/etc/puppetlabs/puppet/azure_keyvault.yaml'

Which works with the following azure_keyvault.yaml file:
azure_tenant_id: '00000000-0000-1234-1234-000000000000'
azure_client_id: '00000000-0000-1234-1234-000000000000'
azure_client_secret: some-secret

Possible enhancements:

implement service principal authentication for secret() function

however, I don't know how the credentials would be passed

metadata_api_version still needs to be passed, even though it is not used anymore.

Hey @kev-in-shu ,
Thank you for contributing!  Before we can go through the code review, I would like to talk through a couple things to make sure this feels like the right changes.

metadata_api_version still needs to be passed, even though it is not used anymore.

I think we could fix this issue by simply writing some validation to ensure that both matadata_api_version AND service_principal_credentials  are not specified.  This can be done by following a similiar pattern shown here
https://github.com/TraGicCode/tragiccode-azure_key_vault/blob/b5a157efc024b7cae2f2e5b4b4a63e4a24c87ea3/lib/puppet/functions/azure_key_vault/lookup.rb#L15-L16
You can also write a unit test to validate the validation is working as expected as well here.
https://github.com/TraGicCode/tragiccode-azure_key_vault/blob/68c2e2376bb326979e90dda95a59ba8c53d20c95/spec/functions/azure_key_vault_lookup_spec.rb

implement service principal authentication for secret() function. however, I don't know how the credentials would be passed

I think in this case we would not utilize a file to pull from and instead pass the required information as parameters to the function like so.
$important_secret = azure_key_vault::secret('production-vault', 'important-secret', {
  vault_api_version    => '2016-10-01',
  azure_tenant_id      => '00000000-0000-1234-1234-000000000000',
  azure_client_id: '00000000-0000-1234-1234-000000000000',
  azure_client_secret: Sensitive('some-secret'),
})

We would also need to do the same validation check as mentioned above here as well ( ensuring that both matadata_api_version AND service_principal_credentials  are not specified ).
You can also write a unit test to validate the validation is working as expected as well here.
https://github.com/TraGicCode/tragiccode-azure_key_vault/blob/master/spec/functions/azure_key_vault_secret_spec.rb
The above change would also mean you would need to perform the yaml file inside of https://github.com/TraGicCode/tragiccode-azure_key_vault/blob/master/lib/puppet/functions/azure_key_vault/lookup.rb instead of https://github.com/TraGicCode/tragiccode-azure_key_vault/blob/master/lib/puppet_x/tragiccode/azure.rb to allow for the secret function to reuse the code for retrieving the access_token.

Documentation is missing for this feature

In order to call the feature complete, the documentation ( in the readme.md ) would need to be updated.  Every feature that comes into this module has to have clear and thorough documentation to allow others to consume and use this module correctly and without confusion.

Are there any gotchas or design issues we need to be aware of?

Can you think of any issues that might occur if someone tried to mix the secret function ( non-deffered and deffered ) with MSI and service_principal_credentials credentials? Does this make or not make sense in certain situations? If so we should probably highlight this in the documentation changes for this feature.
Also be aware, there is some caching magic that happens in the function ( along with hiera ) for the access_tokens needed to query key vault.

Hey @kev-in-shu,
Let me know if this is something you are able to do.
Thanks!

Hi @TraGicCode,
Thank you for your feedback! I'm glad that you agree with the general idea. I agree with most of your suggestions regarding secret(), validations and tests. And I can see that you have already started implementing some of it.
Regarding documentation, I think we now have a few distinct use cases. We could document some of these use cases in a examples folder:

hiera lookup with MSI
secret() non-deferred with MSI
secret() deferred with MSI
hiera lookup with service principal auth
secret() non-deferred with service principal auth
secret() deferred with service principal auth

Regarding mixing things, even without putting deferred functions in the mix, and just focusing on puppet server side, caching of the token is indeed a problem if multiple authentications are used:

MSI + service principal
or service principal 1 + service principal 2

The current design design does not prevent this...
If this use case needs to be supported, we could change the string that identifies the cached token.
https://github.com/TraGicCode/tragiccode-azure_key_vault/blob/master/lib/puppet/functions/azure_key_vault/lookup.rb#L35

I pushed some changes in this PR, but it is not complete yet.
About the lookup() function:

I have made some small changes with a more explicit error message when none of service_principal_credentials or metadata_api_version is specified.
I did some tests with caching of authentication token with lookup(). Apparently Puppet LookupContext is already doing the job of contextualizing the cache, so lookup() does not need any change in this regard.
except for missing documentation, I think the lookup() function is almost done.

I also started implementing support for service principal authentication in secret(). Instead of adding a new parameter, I reused and renamed parameter api_versions_hash. In this case the cached token code had to be adapted to cope with multiple authentication methods.
Still missing:

unit test updates
testing behavior of secret() with Puppet deferred function
documentation of the new features

@TraGicCode,
Regarding mixing things, I tried using all possible combinations in a single puppet manifest, and everything seemed ok.
I cannot see any technical problem with invoking secret() as a deferred function and passing service principal credentials, but it looks like a wrong pattern, because the all the secrets are used on both agent and server.
Table below summarizes all these combinations and which ones are preferred or should not be used.

Syntax
MSI
SP
MSI+deferred
SP+deferred

secret()
Good
Ok
Good
Probably wrong

lookup()
Good
Ok
N/A
N/A

Good = recommended
Ok = usage of service principal, only if MSI is not possible
Not sure how to put that in the documentation.

Hi,
I just noticed that Deferred functions can be badly broken under certain circumstances, so I would not rely on them yet: https://tickets.puppetlabs.com/browse/PUP-10928
As a consequence, I consider the topic of deferred functions out of the scope of this PR, and this Pull Request should be complete as-is.
Regards,
Kevin

Hey @kev-in-shu ,
Sorry for getting back soo late on this.  I've been very busy on my side!

I just noticed that Deferred functions can be badly broken under certain circumstances, so I would not want to rely on them yet: https://tickets.puppetlabs.com/browse/PUP-10928

I will take a look at this but the way you are describing it things sound bad!!
I will review this pr and make any remaining documentation changes or touchups that are remaining.
Thanks for being patient!

Hi @TraGicCode
About deferred functions, well, I did make it sound like deferred functions have a big issue. Guess I'm taking as an excuse, and I don't feel like starting the documentation about this usage since I have so little experience with it. The issue I mentioned seems to have some workarounds, but it looked like a lot of work to apply it in my case.
Glad to see you back, and let me know if I can help!

Hi @TraGicCode
About deferred functions, well, I did make it sound like deferred functions have a big issue. Guess I'm taking as an excuse, and I don't feel like starting the documentation about this usage since I have so little experience with it. The issue I mentioned seems to have some workarounds, but it looked like a lot of work to apply it in my case.
Glad to see you back, and let me know if I can help!

Hey @kev-in-shu ,
Please bare with me. Very busy on my end.  I will plan to hopefully get to this and finish it this weekend...

Hey @kev-in-shu ,
Pushed changes to readme and now will be cutting a new release.


⚠ Bofrost.es has degraded performance

In ac08c29, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1816 ms

Resolved: Bofrost.es performance has improved in cc6178f after 6 minutes.


calc_mfootdaily_calc3vK

added capacity to calculate the daily metabolic footprint (mfootdaily) based on Chapra & DiToro 1991
also checked & built the vignettes locally, but not sure if travis will be any happier because we're not committing inst/doc. they work now, anyway.

Changes Unknown when pulling 365170a72bcfc981f577be5bf16ab27f1c85fa2a on aappling-usgs:develop into ** on USGS-R:develop**.


install on digitalocean is still not working with v20170425.0

After closing of #4046 I tried to install on digitalocean (Frankfurt 4GB) right now.
INFO[04-25|11:01:38] Event: log: Reading package lists...
INFO[04-25|11:01:38] Event: log: Building dependency tree...
INFO[04-25|11:01:38] Event: log: E: Unable to locate package iptables-persistent
INFO[04-25|11:01:38] Event: log: Reading state information...
INFO[04-25|11:01:38] Event: log: bash: line 13: netfilter-persistent: command not found
EROR[04-25|11:01:38] Error: Process exited with status 127
INFO[04-25|11:01:38] Event: cluster_state: error

to be sure:
[martin@martin-arch ~]$ flynn --version
v20170425.0

Thanks.

@grauschnabel which region are you booting this droplet in?

Frankfurt

Looking at the log a bit longer, it seems that there are running different threads or child processes... but I'm not sure.  It looks like apt-get update is running paralell to iptables, but it should be finished before.

ok, today with v20170426.0 it worked.  It's just that it asked me
INFO[04-26|12:57:04] Event: log: ===> 10:57:04.489 *** WARNING ***
INFO[04-26|12:57:04] Event: log: ===> 10:57:04.491 About to stop Flynn and remove all existing data
INFO[04-26|12:57:04] Event: log: ===> 10:57:04.493 Are you sure this is what you want?
INFO[04-26|12:57:04] Event: prompt:

Which is a bit curious on a newly created droplet, but i just clicked "yes" and now I work with it.

Im getting this using DigitalOcean
Using saved key pair (flynn)
Allocating domain
Configuring DNS
Error: unknown_error: Something went wrong

same here today with v20170429.0 (cli)

The DNS issue has been fixed.


PEEP: new behavior of pipenv lock -r -d

The issue
Close #3316
The checklist

[x] Associated issue
[ ] A news fragment in the news/ directory to describe this fix with the extension .bugfix, .feature, .behavior, .doc. .vendor. or .trivial (this will appear in the release changelog). Use semantic line breaks and name the file after the issue number or the PR #.

I noticed this locally. It would really help me out if this was pushed

@frostming @techalchemy I'm working on implementing this (or rather, a slight variant of it, as per my comments), so I'm going to go ahead and merge it to allocate the PEEP number (assuming CI cooperates)

@ncoghlan Yes, please go ahead.


Create GitHub Pages documentation site with Jekyll

These changes overhaul the current Github Pages Watchman documentation site by applying a customized Jekyll theme and reorganizing existing documentation.
Project settings under GitHub Pages need to be set to master and the docs folder to publish the site successfully at https://moov-io.github.io/watchman. This new site is currently live at https://nlakritz.github.io/watchman.

Codecov Report

Merging #329 (a99e425) into master (085482c) will not change coverage.
The diff coverage is n/a.


feat(tools): docker-compose files for indy corresponding to issue #866

This PR is related to issue #866.
Signed-off-by: Izuru Sato<EMAIL_ADDRESS>

@izuru0 Please hold off with merging until the merge freeze is lifted (should be any day now)


Update packages

Its patch for this https://github.com/nartc/nartc-workspace/issues/11
Update packages to 15 angular

I've run all the tests, everything works fine

Sorry for the delay. I'll publish a new version soon. Thank you for the PR


No architectures to compile for (ARCHS=x86_64 i386, VALID_ARCHS=).

I get
No architectures to compile for (ARCHS=x86_64 i386, VALID_ARCHS=).
while trying to build xctool with homebrew on OSX 10.11 (15A204h), xcode 7.0 beta 4 (7A165t).
here's the full log: http://pastebin.com/PGhFshSc

Well, it says that your VALID_ARCHS list is empty. That is why xctool couldn't compile.
Go to project settings in Xcode and choose all valid architectures. After that xctool should work.

No, xctool itself won't build. Neither through Homebrew nor the github repo.
Here's the log: https://gist.github.com/9c3500243a7a9f546474

Ah, you need xctool master. We have removed sim-shim project in this commit: https://github.com/facebook/xctool/commit/6b59d2005b5edd24582aceb2601b698dae980736.
Current master doesn't have sim-shim so most likely you are using outdated version of xctool.

@ExtremeMan What do you mean needing xctool master? It's mean that the formula of my homebrew is not updated?

Yes, it is not up-to-date. I will make a new release this week.

Great. But i have fixed that by executing xcode-select to select xcode 6.4 to pass the install error.


Port #1505 to main

Closes #1504
#1505 was for the 1.1 release. This reapplies the patch to main.
I accidentally released 1.1.7 without the patch, so I bumped it again, hence the 1.1.8 version number.

LGTM. I'm just wondering about one thing: why not just merge branch 1.1 into main?

LGTM. I'm just wondering about one thing: why not just merge branch 1.1 into main?

I tend to rebase rather than merge out of habit. Would merging be better? Would it preserve commit hashes maybe?

Would merging be better? Would it preserve commit hashes maybe?

It gives you nice graphs in the git tool of choice and keeps the original commit hashes. Other than that, no big difference I guess.

Closing in favor of #1507


History tab creation

https://user-images.githubusercontent.com/8265393/171202951-1cf72b1f-3518-4c9a-9d6f-34ab873f166c.mp4


Update armv5 and armv6 bootstrap tools

See the individual commits.
Generated by maintainers/scripts/bootstrap-files/refresh-tarballs.bash
Fixes https://github.com/NixOS/nixpkgs/issues/364009
armv5 and armv6 both are still on bash 4 as shown by
 for i in pkgs/stdenv/linux/bootstrap-files/*.nix; do echo $i; j=$(readlink -f $i); pushd $(mktemp -d); tar xf $(nix-build $j -A bootstrapTools) ./bin/bash; strings bin/bash | grep "Bash version"; popd; done

cc @Mic92 for upload. It was kindly tested by @LongHairedHacker in https://github.com/NixOS/nixpkgs/issues/364009 for armv6. For armv5 I suppose it's hard to find someone that could test.

Currently not a keyboard. Ping me on matrix in case I forget.


Should BeanShell be type safe?

There are a couple of changes in #721 that remove useful warning messages for the average programmer.  Sure, this PR removes warning from the interpreter, but this might just be hiding programming problems that would be better to be warned about.  For example, auto-converting one data type to another.  This may seem like a minor convenience to save a cast or a perhaps relational binary operator, but my experience in large code bases is that it is nice to have the compiler catching my mistakes... either a typo or referencing the wrong variable.
So if you try to use a number or string as a conditional test in an if statement there should be a warning about this.  If the string to boolean conversion is blank=false/non-blank=true then all this is saving is (a) vs (a.isEmpty()),  And for numbers if it is 0=false/!0=true then the saving is (a) vs (a==0).  Going from boolean to number the saving is (a?1:0).  That is really not many characters to add to make it explicit.  Having the explicit test also improves the clarity of the code, making obvious what would otherwise be something to have to think about.
I have used languages that do these sort of automatic conversions (perl for example).  Most people consider that perl programs are write-only code:  the author can understand the code as it is being written, but wait a few months and the statements make as much sense as modem line noise.  So convenient to write in because so economical of keystrokes.  So terrible to maintain.  This is an important aspect of language design.
So I think that there are two points to consider here:

Compiler warnings that indicate that something unexpected is happening often catch unexpected things, and this is a good thing.  This is the benefit of having a type system.  BeanShell is loosely typed which makes it easy to write scripts, and also the type checking messages from the compiler are a nice thing to assist developers.
Clarity is an important aspect of writing program/scripts that are clear and that other people will find easy to read and follow.  Having the compiler perform slight-of-hand automatic conversion reduces that clarity and adds a code smell.  Just like ((a/b)*c)+d is easier to quickly understand than a / b * c + d, unexpected conversions make more sense when they are made explicit.

The automatic type conversion between numbers-string-boolean gives up warnings which is a loss, and in return it really does not add much to the language other than save a minimal number of keystrokes.  The loss of clarity that comes with automatic type conversion really does not help anyone.
I would like to keep the majority of #721 as is, but back out the automatic datatype conversion portions.

have the compiler catching my mistakes
Is this not an issue that we are not compiling but interpreting? As discussed in #501

Many scripting languages ie. JavaScript is loose typed, with large code bases, without any problems. The convenience outweighs the cons. And you cannot have it both ways, type safe requires type declaration, BeanShell never had type declaration so is therefor by definition loosely typed.
If you want type safe then use JAVA compiled.
Suggestion close issue: works as implemented.

closed: works as implemented.

have the compiler catching my mistakes

Is this not an issue that we are not compiling but interpreting?

I think you know what I mean...  that during parse and run time the language system catches and reports obvious errors rather than silently doing something with them.

JavaScript is loose typed

JavaScript is a very poor example to cite from my friend... there are so many oddities and irregularities in that language.
Let's talk about BeanShell and let me narrow down my comments a bit.  Loose typing is great.   Automatic widening of compatible types is great: float->double, byte->short->int->long no problem.  Even long->BigInteger and double->BigDecimal.
But automatic type conversions from one type species to another (like int->boolean, boolean->int, string->int) seems like a poor choice.  So little gain for so few benefits.
Boolean in Java is truthy concept:  the value can be either true or false.  Interpreting non-booleans as truthy doesn't get much and it opens up the opportunity for uncaught mistakes.  We had boolean evaluation of int's and pointers in C and Perl and Fortran and it turned out that language designers came around to thinking that this wasn't such a good idea after all.  Java wasn't built by dummies.
So what does it get you?  You can have this
int i = 1;
if (i)
  System.out.println("true");

instead of
int i = 1;
if (i!=0)
  System.out.println("true");

Big deal.  Language designers talk about features like this 'not pulling their weight'.  It adds cognitive load on developers for very little added benefit.  So you save a couple of keystrokes but end up losing the little bit of type checking that there is.  As far as I am concerned automatic type conversion just makes it easier for bugs to go unnoticed.
And as far as not pulling their weight, these so-called features also add to BeanShell source code complexity making the code base harder to work on.  Although it might have been easy to implement I wouldn't even call it low hanging fruit, it's more of a net negative.  And the number of hours that I have spent chasing down BeanShell bugs in the past 4 years tells me it is not worth it.
And there are so many other interesting potential BeanShell features that should be higher priority than this.  VarArgs and enum's were great additions to BeanShell that really pulled their weight.  What about new project amber features like pattern matching and records?


Eq cdn

We now link to the ons global design patterns stylesheet and have replaced the scss files in the repo with css files directly from the prototype in dropbox.
Because of this we no longer need to parse scss into css

Codecov Report

Merging #56 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #56   +/-   ##
=======================================
  Coverage   95.84%   95.84%
=======================================
  Files          24       24
  Lines         553      553
=======================================
  Hits          530      530
  Misses         23       23

Impacted Files
Coverage Δ

response_operations_ui/__init__.py
100% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 26c4049...8ad8d40. Read the comment docs.

Is it correct to change the scss folder to css?  I thought those files can use scss features... but I'm not well versed in it so I might be wrong.

Aaaalso, take a look at the codacy warnings, some of them are legitimate

The secure messaging stuff isn't working with these changes, I'll have a chat with @nicprice next time he's in

There are a couple of small UI bugs introduced by this, but after a discussion with Nic Price we've decided to go with this version and refine it in a later PR


Cannot build after update to cocoapods 1.0.0.beta.6 and xcode 7.3

Hi I'm getting this error even after I clean the build and reinstall all the pods (it also update the ImageSlideshow from 0.3 to 0.4).
CpResource /Users/ddesantis/Library/Developer/Xcode/DerivedData/Movida-bbnlumizgjufsqekihleyvjfatav/Build/Products/Debug-iphonesimulator/ImageSlideshow/ImageSlideshow.bundle /Users/ddesantis/Library/Developer/Xcode/DerivedData/Movida-bbnlumizgjufsqekihleyvjfatav/Build/Products/Debug-iphonesimulator/ImageSlideshow/ImageSlideshow.framework/ImageSlideshow.bundle
    cd /Users/ddesantis/iOS/Movida/Movida/Pods
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/ddesantis/Library/Developer/Xcode/DerivedData/Movida-bbnlumizgjufsqekihleyvjfatav/Build/Products/Debug-iphonesimulator/ImageSlideshow/ImageSlideshow.bundle /Users/ddesantis/Library/Developer/Xcode/DerivedData/Movida-bbnlumizgjufsqekihleyvjfatav/Build/Products/Debug-iphonesimulator/ImageSlideshow/ImageSlideshow.framework

error: /Users/ddesantis/Library/Developer/Xcode/DerivedData/Movida-bbnlumizgjufsqekihleyvjfatav/Build/Products/Debug-iphonesimulator/ImageSlideshow/ImageSlideshow.bundle: No such file or directory

The actual bundle file is in a "ImageSlideshow" directory under:
/Users/ddesantis/Library/Developer/Xcode/DerivedData/Movida-bbnlumizgjufsqekihleyvjfatav/Build/Products/Debug-iphonesimulator/ImageSlideshow/ImageSlideshow/ImageSlideshow.bundle

Also receiving this error after deleting the derived data and cleaning/rebuilding multiple times. Went as far as reinstalling it via CocoaPods as well with no luck.

Thanks for reporting this. I'm not running on CocoaPods 1.0 beta yet, but I'm gonna install it and fix the issue!

I've just successfully managed to build and even archive the project using CocoaPods 1.0 and Xcode 7.3.1. Please try it out on those versions, it should work.


[ENG-135] Add support for PyTest

pytest uses test_*.py or *_test.py as the test file.
longer included in the Test Report. I think this is a trap, so I made the error message thicker.

https://docs.pytest.org/en/latest/deprecations.html#junit-family-default-value-change-to-xunit2

Task

[x] Write test.
[ ] Write Document.

I don't think we can ask customers to change their report format, since it could break their existing toolchain. (Plus, we're asking them to use an older version, which is not a good look.)

@awilkes Thanks for the input!
I thought it was good that the only difference between xunit1 and xunit2 is the file attribute and line attribute.

But your opinion is correct. I wouldn't want to be told to use legacy either.
I'll fix it.


Reproducible GUI setup

In GitLab by @ltenorio on Oct 9, 2023, 15:09
To prepare the GUI to be more easily reproducible on other environments it would be great to make some changes. Here are some ideas:
Installation from repository
Currently, only the main README.md gives some instructions about how to run the React app by specifying an npm version and make some hard-coded changes to run the GUI.
The mentioned npm version in the docs is 6.9.0, but it is far better to give a node version to avoid further compatibility issues. Looking at the Node releases considering the npm version and that rocky is on v14.18.2, the closest LTS version we can set is Node.js 14.21.3 (Fermium). I will add a .nvmrc to use it along with NVM, and mention it in the docs.
On other hand, a better way to change configuration dynamically is to store the options on env variables rather than modifying the vars.js file manually. This will allow users to automate the deployment of different configurations if needed.
As this is clearly a project that was set up with create-react-app, then the react-scripts package is used to manage the builds. Following this CRA documentation, this limits the developer to just use env variables with a REACT_APP_ prefix. This can be automatically retrieved from a .env file using dotenv, or other files like .env.production for production build and .env.test for testing. So, we have to map each configuration option to a REACT_APP_ prefix env variable.
Theoretically, the resulting installation process will be like this:

Clone the repository
Use the recommended node version with NVM
Install dependencies
Configure .env
Serve the React app as desired

Installation & serving using a built-in command
npm allows adding command line tools in your published packages, like in Python setuptools. So, ideally, we can set up something like:
$ npm install autosubmit-gui # Install package
$ autosubmit-gui serve -f ./gui_config.yml # Serve it using a YAML file that will setup the env variables

This is possible along with the mentioned envs configuration above. But we will need to look closer to determine which versions of node this project is compatible, with so we can write it down on the package.json.
@bdepaula @dbeltran @mcastril @mgimenez hope you can have some feedback about this.

In GitLab by @ltenorio on Oct 9, 2023, 15:12
created branch 87-reproducible-gui-setup to address this issue

In GitLab by @bdepaula on Oct 9, 2023, 16:40
Good idea, @ltenorio !
Not only reproducible, but I believe it will be a lot simpler too.
I don't know the project details, so I apologise if I say anything silly, but I will try to reply to this issue. Feel free to correct or ignore anything. Comments inline.

The mentioned npm version in the docs is 6.9.0, but it is far better to give a node version to avoid further compatibility issues. Looking at the Node releases considering the npm version and that rocky is on v14.18.2, the closest LTS version we can set is Node.js 14.21.3 (Fermium). I will add a .nvmrc to use it along with NVM, and mention it in the docs.

+1

On other hand, a better way to change configuration dynamically is to store the options on env variables rather than modifying the vars.js file manually. This will allow users to automate the deployment of different configurations if needed.
As this is clearly a project that was set up with create-react-app, then the react-scripts package is used to manage the builds. Following this CRA documentation, this limits the developer to just use env variables with a REACT_APP_ prefix. This can be automatically retrieved from a .env file using dotenv, or other files like .env.production for production build and .env.test for testing. So, we have to map each configuration option to a REACT_APP_ prefix env variable.

For Vue.js I remember using a mix of env vars with a few defaults from dotenv files. I think at one point we had a .env.defaults, but I think we removed it later, and added instructions to README what to write in the project setup instructions (not very important, IMO).
TIL, CRA is Create React App :rocket: I wasn't aware of the requirement to have env vars with a prefix. Interesting!

$ autosubmit-gui serve -f ./gui_config.yml # Serve it using a YAML file that will setup the env variables

That would be for development right?
Then for production we would do something like npm build or npm build --production, produce the final .js files to package with the Python gunicorn/WSGi app?
Cheers

In GitLab by @mcastril on Oct 9, 2023, 18:38
Otherwise, and if you wanted to get these mentioned variables out of the vars.js, we could always set these defaults in the code for whenever they are not declared as env vars

In GitLab by @mcastril on Oct 9, 2023, 16:36
Everything sounds good @ltenorio.
My only question at this point is if it's possible to have those .env files versioned in the repository or if it's not a good practice in React. I am not familiar with those files but it'd be good that default options are documented somewhere.
If you configure .env after downloading and installing the repo it may not be so reproducible at the end.

In GitLab by @ltenorio on Oct 9, 2023, 17:16
In the case of default values, I don't think we need to do a .env.defaults, we can just do something like:
export const DEBUG = process.env.REACT_APP_DEBUG || false; // Default value: false

for the DEBUG flag in the vars.js file that centralizes these constants.

In GitLab by @ltenorio on Oct 10, 2023, 10:05
marked this issue as related to #88

In GitLab by @bdepaula on Oct 9, 2023, 16:48
(Assuming it's currently running behind the Flask app, as static content… never looked at how it's actually deployed :thumbsup: )

In GitLab by @ltenorio on Oct 10, 2023, 16:41
marked this issue as related to #18

In GitLab by @ltenorio on Oct 9, 2023, 17:26

$ autosubmit-gui serve -f ./gui_config.yml # Serve it using a YAML file that will setup the env variables

About this command idea. Maybe we can discuss more in deep the scope of this CLI tool. I will say that is better to focus first on the more generalized repository installation and then build this CLI on top of it.
But about the relation of this CLI with the Python API, I think that is preferable to Keep It Simple and independent the most that we can, maybe by just giving the URI of the API to the GUI. So, we don't have to make recurrent changes on this CLI each time we modify something in the installation of the API.

In GitLab by @ltenorio on Oct 10, 2023, 09:29

I understand that the defaults will still be in vars.js and users may or not overwrite these values, am I right?

The set you posted is a reduced one and I agree that it's even beneficial to force the user to set some variables. However, some as the AUTHENTICATION can be set to false in vars.js and enabled (or not) by the user on purpose in the env files? Same for DEBUG.

AUTOSUBMIT_API_SOURCE is maybe the only one mandatory to be set, as thirdPartyLoginURL would only be necessary if AUTHENTICATION is true

Yes, it will work like that!

In GitLab by @mcastril on Oct 9, 2023, 18:34
I understand that the defaults will still be in vars.js and users may or not overwrite these values, am I right?
The set you posted is a reduced one and I agree that it's even beneficial to force the user to set some variables. However, some as the AUTHENTICATION can be set to false in vars.js and enabled (or not) by the user on purpose in the env files? Same for DEBUG.
AUTOSUBMIT_API_SOURCE is maybe the only one mandatory to be set, as thirdPartyLoginURL would only be necessary if AUTHENTICATION is true

Of course, we can have it versioned in a separate private repository in GitLab and it will be fine. But I've seen some people using some external Secret providers with versioning like this one.

If what I said above is true, then we wouldn't need this

In GitLab by @ltenorio on Oct 9, 2023, 17:08
Almost all the time these .env files are excluded (using .gitignore) as they may contain sensible information like DB credentials or other secrets. They are like .ini files.
In this context, the idea is to just include user-specific information in these files like:

AUTOSUBMIT_API_SOURCE: the API URI. In our case is https://earth.bsc.es/autosubmitapi , but it will be different for other users.
AUTHENTICATION: Flag to enable authentication. Some users might not need it.
thirdPartyLoginURL: the CAS authentication service URI. Might be also different from https://cas.bsc.es/cas/login and goes along with the AUTHENTICATION flag.
DEBUG: Flag for debug mode. A default value to false will be nice.

So, it is a mandatory step for the user to set up this file before deploying it in their environment according to their specific needs and will replace the step where the user has to replace the source code as it is nowadays.
Of course, we can have it versioned in a separate private repository in GitLab and it will be fine. But I've seen some people using some external Secret providers with versioning like this one.


Fix python feature issue #258, improve tests, fix oryx bug

As described in #258, currently the "defaultInterpreterPath" is on correct in a number of cases since the code and path in the python feature was modified to support more than one version of python.
I fixed the additional python test that would have returned false positives (the | grep ... was for the test command so it always was successful).
Since the feature now manages a set of symlinks, I added test coverage for those since that was also part of the problem with os-provided... no symlink was created.
I then added one for oryx.  That exposed a bug where the target folder may be missing so I fixed that.

/cc @jkeech who replied to #258

The Debian 9 test failed since stretch is completely out of support now and Python 3.6 is as well - so none of the tools will install in it.  I'd suggest removing the test and making clear we don't support it in any feature at this point.
Happy to do that in this PR if it makes sense.

Happy to do that in this PR if it makes sense.

That would be great, go for it please :)


serverDir not being registered

Environment

Operating System: Linux
Node Version:     v20.16.0
Nuxt Version:     3.13.0
CLI Version:      3.13.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      compatibilityDate, ssr, devtools, srcDir, serverDir, devServer, vue, build, imports, components, hooks, sourcemap
Runtime Modules:  -
Build Modules:    -

Reproduction
Github Repo: https://github.com/nunonux/nuxt-serverdir-issue
StackBlitz: https://stackblitz.com/edit/github-adnwzy?file=nuxt.config.ts
Describe the bug
When I set the serverDir property in nuxt.config.ts with the value '/src/server', nuxt don't register the routes in the api folder.
So, if I send an request for a route in the api folder, I get an 404 request error.
Additional context
Normally I structure my nuxt app as:
src/
app/
server/
It has been working great until the nuxt version 1.12.4 and 1.13.0, that's were it breaks my current app.
Logs
No response

Hey :wave: thanks for opening the issue ! It's indeed a bug; It should be relative to the root dir according to the docs. But it's currently relative to your srcDir rn without V4 compatibility.
@danielroe i'll open a PR to fix it. Let me know if we should just correct the doc instead


Clarify MinAvailable approval semantics.

Fixes doc comments to be in line with kubernetes/kubernetes#33143

This change is

LGTM
Thanks!

Replaced by #1306.


[KBFS] No way to abort upload

I accidentally copied alot of files to KBFS. It hogs my internet and prevents me from uploading files I actually want to upload. I've tried removing the folders from KBFS. Restarting Windows and even disabling and reenableling KBFS in explorer. There seems to be no way to stop Keybase from uploading these files.
How can I stop uploads in progress?

Now it seems to be uploading things into the void
C:\Users\Mikael>keybase fs rm -r /keybase/private/jennifer327,mbloms
- ERROR Cannot recursively delete /keybase/private/jennifer327,mbloms

C:\Users\Mikael>keybase fs rm -r /keybase/private/mbloms,jennifer327
- ERROR Cannot recursively delete /keybase/private/jennifer327,mbloms

C:\Users\Mikael>keybase fs uploads
/keybase/private//Inspelning-006.aac
/keybase/private//Inspelning-007.aac
/keybase/private//Inspelning-009.aac
/keybase/private//Inspelning-010.aac
/keybase/private//Inspelning-011.aac
/keybase/private//Inspelning-012.aac
/keybase/private//VID_20191215_170152.mp4
/keybase/private//VID_20191215_170415.mp4
/keybase/private/jennifer327,mbloms
/keybase/private/jennifer327,mbloms/Lucia2019
/keybase/private/jennifer327,mbloms/Lucia2019/IMG_20191215_165343.jpg
/keybase/private/jennifer327,mbloms/Lucia2019/Inspelning-008.aac
/keybase/private/jennifer327,mbloms/Lucia2019/Inspelning-013.aac

1.20 GB left to upload
Estimated time remaining: 10h59m21s

I finally just gave up on this and deprovisioned the computer and logged in again. That did the trick, but I wouldn't call it a user friendly experience.

I have the same problem.. a important feature is missing here.. please
I cannot deprovision my laptop

Disabling and Enabling the Finder Sync fixes it for me. Not a permanent solution but gets the job done.

MacOS Catalina 10.15.7
Settings > Files > Disable Finder Integration
then
Settings > Files > Enable Finder Integration

Disabling and Enabling the Finder Sync fixes it for me. Not a permanent solution but gets the job done.

Yeah, this is really unacceptable. At least give us a way to cancel the operation in progress.
I accidentally did the same thing myself on a laptop because of contact with the touchpad, causing something very large to inadvertently get picked up and dropped onto the desktop app.
Basically, I had to:

Quit Keybase completely (via File/app menu) to stop the bleed
Download and install the mobile app
Delete the files from the mobile app
Track down the queue for the desktop app and manually purge, or uninstall the app altogether and remove data


search results don't display

stub 'coming' displays.

fixed in commit https://github.com/Brown-University-Library/usepweb_project/commit/4b36cfff128b37c1ea309d0d27ffca58c507cad4


Bumps FMPP version to 0.9.15

FMPP 0.9.14 pom.xml specifies a version range for FreeMarker dependency,
which should be okay except that latest SNAPSHOT version doesn't resolve
anymore.
FMPP 0.9.15 now uses a fixed stable version (2.3.21).

Can you update the PR commit message so that the naming pattern is consistent with Drill commits. The pattern is:
DRILL-XXXX: Short description
more description
more description
more description
Otherwise LGTM.


ART-01 Project directory needed

/art-template root directory needed, directory should be create with React app

/art-directory root created.


Need update package version on npmjs.com

On npmjs.com the latest version is 2.0.6

@SilverFire ?

I'll handle it.

Done.

@webdevsega Which package do you mean? https://www.npmjs.com/package/pjax is 2.0.4

yii2-pjax.

@SilverFire @hiqsol How long is the interval for asset-packagist to fetch updates automatically?
@samdark Is is basically a solution in such a case to click the Fetch button on asset-packagist for such a package?

It's not connected to asset packagist in any way, it's about npm. asset-packagist uses bower.

Sorry for the confusion, I first thought it's about pjax and there were two versions missing.

asset-packagist uses bower.

asset-packagist is able to use bower and npm ;) https://asset-packagist.org/package/search?query=yii2-pjax&platform=bower%2Cnpm


Drop rotary-embedding-torch dependency

Its use was removed in 251828b67df8b5a9eb5be4c4615bf63b4543fa08.

Well, this was done by @crowsonkb in 19a0f0a97b78d80943319620554aac9715ff6f12 (a couple weeks after I opened this PR).


Gather all child  text data for a single comment

The below code is used to parse some a comment and obtain the text:
pub fn extract_comments(html: &Html) -> Result<Vec<Comment>, Box<dyn Error>> {
    // Applied to root of HTML document
    let selector_comment_tree = Selector::parse("table.comment-tree").unwrap();
    // Applied to comment tree root (i.e. node `table.comment-tree`)
    let selector_comment = Selector::parse("tr.athing.comtr").unwrap();
    // Applied to comment node (i.e. node `tr.athing.comtr`)
    let selector_comment_text = Selector::parse("span.commtext").unwrap();

// ...

let text = node.select(&selector_comment_text)
            .next()
            .ok_or("Failed to find comment text under a comment node")?
            .text()
            .next()
            .ok_or("Failed to extract inner text from comment text node")?
            .to_string();

This fails to obtain the data from multiple

 nodes. There can be multiple of these

 nodes within a single comment, and should be all gathered up for the comment text.
I guess a follow up question would be to what degree should I preserve line breaking in the original comment text. For example, do I insert a newline character for each

 observed? Or possibly store a raw HTML string and a parsed/cleaned up text string.
Either way, the core of this issue is that it's dropping a bunch of text data in the current implementation.

Fixed via PR https://github.com/cljacoby/hacker-news/pull/4


HLIL Dump Bug: Not properly handling function names

@atxsinn3r It seems your plugin doesn't handle functions with odd names:
Dumping function: FixupGrayScan
Dumping function: EditionUpdateInputTransformFromHitTest
Dumping function: InputTransform::SetCompositionInput
Exception in thread Thread-4:
Traceback (most recent call last):
  File "C:\*censored*\AppData\Local\Programs\Python\Python38\Lib\threading.py", line 932, in _bootstrap_inner
    self.run()
  File "C:\Program Files\Vector35\BinaryNinja\plugins\..\python\binaryninja\plugin.py", line 731, in run
    self.task.run()
  File "C:\*(censored*\AppData\Roaming\Binary Ninja\repositories\community\plugins\atxsinn3r_BinjaHLILDump\__init__.py", line 33, in run
    f = open(dest_name, 'w')
OSError: [Errno 22] Invalid argument: 'C:/*censored*/New Win32k/HLIL Dump\\InputTransform::SetCompositionInput'

Please file issues like this on the original repository so they can best be handled by the original author. You can even navigate directly to that repo by clicking the name of the plugin in the plugin manager or using links in the table in the readme.

Hi @tekwizz123,
Thanks for reporting the issue, I will address this in the original repository like @psifertex said. So I did a quick test, and it looks like it's because Python cannot handle the * character in the file path. For example:
>>> f = open("C:/Users/sinn3r/Desktop/te*st.txt", "w")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: [Errno 22] Invalid argument: 'C:/Users/sinn3r/Desktop/te*st.txt'

I will correct the script.  Thank you guys.

@psifertex Sorry I didn't want to submit an issue here, but @atxsinn3r's HLIL Dump repository has its issue tracker disabled so I thought this would be the next best place. Sorry I didn't explain this clearer in the description.
@atxsinn3r I'm not sure if its just the * character, that was just placed in there cause I censored out my username. I think it was more the :: characters which aren't allowed in file or path names.

Ahh, fair enough. I'll re-open it here so we can track it in the meantime.

Looks like that's got it's own issue now. Closing again. 😛
Thanks everyone.


Wordcloud fails

I use modeler 18.0
I use R 3.2.2
I installed essentials for R.
I checked and found out that I am able to run Rcode in Routput node.
However, the wordcloud node only reports "unpacked package 'wordcloud' successfully unpacked and MD5 sums checked" and "The downloaded binary packages are in (...)
package 'tm' successfully unpacked and MD5 sums checked.
No further output is produced. No wordcloud.

Hi Josede
there is some issues for wordcloud install for R 3.2.2
Please use old version of wordcloud for R 3.2.2.
http://stackoverflow.com/questions/17082341/installing-older-version-of-r-package
https://cran.r-project.org/src/contrib/Archive/wordcloud/

I have tried to install old version for R.2.2 from the link to the tars you provided. I have also tried all the suggestions for installing old packages in the link to Stack overlflow that you provided. Nothing works. I think it is because the node seems to install the newer package on top of the old. When the node has been used, my R suddenly has an extra wordcloud package in a higher version.

Which version you used?  I suggest 2.4 to take a try.
https://cran.r-project.org/src/contrib/Archive/wordcloud/wordcloud_2.4.tar.gz

Dear Yu Wenpei,
I finally found the time to try version 2.4. Sorry to inform you that this fails as well.
José de Kruif

Van: Yu Wenpei<EMAIL_ADDRESS>Verzonden: woensdag 18 januari 2017 9:06
Aan: IBMPredictiveAnalytics/Word_Cloud_Visualization
CC: Kruif, J. de (José); Author
Onderwerp: Re: [IBMPredictiveAnalytics/Word_Cloud_Visualization] Wordcloud fails (#2)
Which version you used? I suggest 2.4 to take a try.
https://cran.r-project.org/src/contrib/Archive/wordcloud/wordcloud_2.4.tar.gz
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/IBMPredictiveAnalytics/Word_Cloud_Visualization/issues/2#issuecomment-273409323, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGvfBI40YxFsR6eDUS9igS9UNrxH9xJDks5rTcgHgaJpZM4Lbkkv.

Hi,
my name is Juliana and I am trying to finish installing the packages to use in node wordcloud, but I am having difficulties and also I am not understanding what is happening.
Just like Jose de Kruif, I followed IBM's step by step, I installed version 3.2.1, but later I changed because I saw that version 3.2.2 would be better, so I downloaded the node and followed the instructions.
I see the node normally Inside the modeler.
I downloaded the packages, but I did not install it because I did not understand if the node itself (wordcloud) had already built them in, but after reading Jose's post, I understood that it should
Install them, I was in doubt if I could use the R of the modeler or if I would use RStudio or even R to install them. In doubt I tested both.
The packages rvest, tm and RColorBrewer, I managed to install without problems, but the wordcloud, I can not.
I followed your advice Wenpei .... and tried to install
The 4.tar.gz that are in the pg of the archive that you indicated. When I tried the last two, it says that it depends on Slam, I went in Slam is also in the archieve, I downloaded all I tried to install all, nothing.
I have no options, can anyone find where I went wrong?

Hello, I did the test that José described on the 13th, I was able to install version 2.4 in R.3.2.5 and verified the same, it is no use installing an older version of wordcloud because the node overwrites and brings the new one up Here is 2.5 that would work with version 3.4.0 of R, the most current.
I tried to contact Greg, but he asked me to check here on GitHub.

Hello, I did the test that José described on the 13th, I was able to install version 2.4 in R.3.2.5 and verified the same, it is no use installing an older version of wordcloud because the node overwrites and brings the new one up Here is 2.5 that would work with version 3.4.0 of R, the most current.
I tried to contact Greg, but he asked me to check here on GitHub.

@seakiki
If you install wordcloud package successful.
I suggest you take a look for this source and ensure it runable in R console.
https://github.com/IBMPredictiveAnalytics/Word_Cloud_Visualization/blob/master/Source code/script.r
After Reinstall R, you need reinstall Modeler R Essential as well.
And I though Modeler 18.0 support R 3.2.* only, not sure how R 3.4.0 support. It may report error when R Essential install, correct me if i am wrong.
Yu Wenpei.

@Wenpei , @JosedeKruif
How are you? Thanks for attencion.
Wenpei,
You are correct version 3.4 does not support the essentials for spss R, because it only works until version 3.2.
Well, I was able to build a vm to test on version 17, which uses R 3.1. I did not install any packages, just the
Essential for the R version, I saw that the node itself looks for the packages
Wordcloud, tm, rvest and RColorBrewer direct from CRAN, without the need to have to do a preinstallation before.
I saw this because I had already commented here in an earlier post, when installing the correct version of the packages for my R, the node when I rode
Overwritten for the newer version of wordcloud was 2.5) version 2.4 is for R 3.0, but that is only supported for version
16 of the modeler.
Understood?
I made another test, now using a file with words in English only, in wordcloud the stopwords is in English ..., I believed that because of my file being in Portuguese, it did not recognize the default.
Even so, with all the tests ..... I could not generate a single graph. I'm disappointed!
I'll try to use the code in R manually.
I have read about SnowballC (An R interface to the C libstemmer library that implements Porter's word stemming algorithm for collapsing words to a common root for aid of vocabulary.) Currently supported languages are Danish, Dutch, English, Finnish, French, German, Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish and Turkish) and found it very interesting
Maybe it could be an add-on to the code.
José and Wenpei thank you for your help. :+1:

Dear Juliana, dear all,
I have exactly the same experience: the node itself looks for the relevant R packages and installs them overwriting other versions.
If this is not solved, we will never be able to generate a graph in any language.
Kind regards,
<EMAIL_ADDRESS>dr José de Kruifhttp://www.uu.nl/staff/JdeKruif/0, Utrecht University | Digital Humanities Labhttp://dig.hum.uu.nl/
Drift 10, room 3.07, 3512 BS Utrecht | Tel +31(0)30 253 7867
From: seakiki<EMAIL_ADDRESS>Sent: donderdag 8 juni 2017 18:13
To: IBMPredictiveAnalytics/Word_Cloud_Visualization
Cc: Kruif, J. de (José); Mention
Subject: Re: [IBMPredictiveAnalytics/Word_Cloud_Visualization] Wordcloud fails (#2)
@Wenpeihttps://github.com/wenpei , @JosedeKruifhttps://github.com/josedekruif
How are you? Thanks for attencion.
Wenpei,
You are correct version 3.4 does not support the essentials for spss R, because it only works until version 3.2.
Well, I was able to build a vm to test on version 17, which uses R 3.1. I did not install any packages, just the
Essential for the R version, I saw that the node itself looks for the packages
Wordcloud, tm, rvest and RColorBrewer direct from CRAN, without the need to have to do a preinstallation before.
I saw this because I had already commented here in an earlier post, when installing the correct version of the packages for my R, the node when I rode
Overwritten for the newer version of wordcloud was 2.5) version 2.4 is for R 3.0, but that is only supported for version
16 of the modeler.
Understood?
I made another test, now using a file with words in English only, in wordcloud the stopwords is in English ..., I believed that because of my file being in Portuguese, it did not recognize the default.
Even so, with all the tests ..... I could not generate a single graph. I'm disappointed!
I'll try to use the code in R manually.
I have read about SnowballC (An R interface to the C libstemmer library that implements Porter's word stemming algorithm for collapsing words to a common root for aid of vocabulary.) Currently supported languages are Danish, Dutch, English, Finnish, French, German, Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish and Turkish) and found it very interesting
Maybe it could be an add-on to the code.
José and Wenpei thank you for your help. 👍
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/IBMPredictiveAnalytics/Word_Cloud_Visualization/issues/2#issuecomment-307152180, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGvfBABs6brx5G8HNX-3cR7qoawng0Orks5sCB2OgaJpZM4Lbkkv.

I have an idea. Maybe not leave so open the line install.packages (pkgs = x, repos = "http://cran.r-project.org") and put something more focused like:
Pkgs = x, repos = "http://cran.r-project.org/bin/windows/contrib/3.0". I know, it will only bring packages of this version, but the problem is that IBM has decreed that only versions 3.1 and 3.2 of R can be used, then ....

You may need update to Modeler 18.1 which released yesterday.

Thank you Ye Wenpei. But can you explain why I should do that? Will it solve the bug in the Wordcloud node what exactly will it solve?
E.g. will it no longer override the other versions of the R plugin?
You have asked us to do many actions and I have tried them all. With no effect. Very time consuming. So I am a bit reluctant at the moment……
Kind regards,
<EMAIL_ADDRESS>dr José de Kruifhttp://www.uu.nl/staff/JdeKruif/0, Utrecht University | Digital Humanities Labhttp://dig.hum.uu.nl/
Drift 10, room 3.07, 3512 BS Utrecht | Tel +31(0)30 253 7867
From: Yu Wenpei<EMAIL_ADDRESS>Sent: woensdag 21 juni 2017 8:04
To: IBMPredictiveAnalytics/Word_Cloud_Visualization
Cc: Kruif, J. de (José); Mention
Subject: Re: [IBMPredictiveAnalytics/Word_Cloud_Visualization] Wordcloud fails (#2)
You may need update to Modeler 18.1 which released yesterday.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/IBMPredictiveAnalytics/Word_Cloud_Visualization/issues/2#issuecomment-309972421, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGvfBDuMuH9koOuSF4FlDmVop72Zugh4ks5sGLJQgaJpZM4Lbkkv.


Enforce a common makePort method for DeviceAttachParams

Updated the devices API.

Added a makePort method to the DeviceAttachParams trait.
Updated the attach params definition for all devices that extend DeviceAttachParams to implement a makePort definition.

@rmac-sifive should this be closed?

@mwachs5 it's in my backlog to debug this PR and make it mergeable but I don't think that will happen anytime soon. We can close this for now


[spdlog] Update to latest master

Describe the pull request

What does your PR fix?
Updates spdlog to the latest master to fix build issue on latest VS with /W4

Which triplets are supported/not supported? Have you updated the CI baseline?
No changes

Does your PR follow the maintainer guide?

Yes

Hi @yuyoyuppe
Thanks for your PR.
Have you tested the feature benchmark? Does it work fine?

@NancyLi1013 yes, vcpkg install spdlog[benchmark] worked without any issues.

LGTM, thanks for your updates @yuyoyuppe.

Normally, we prefer to stick with official releases for libraries that have them.
Is it possible instead to disable /Wx or equivalent via a patch until the author publishes their next version?

@ras0219-msft my compiler flags are /external:W0 /W4 /WX. vcpkg include dir is an external dir, so /external:W0 works for other dependencies, however including spdlog triggers msvc bug where that flag ignored, so I cannot disable it properly. wrapping #include <spdlog/spdlog.h> with #pragma warning(disable: 4702) on my side also doesn't have any effect. I don't want to disable 4702 project-wise.
Are you suggesting to follow this guide and add #pragma warning(disable: 4702) as a patch on spdlog side manually?

@ras0219-msft @NancyLi1013 what should I do?

@ras0219-msft my compiler flags are /external:W0 /W4 /WX. vcpkg include dir is an external dir, so /external:W0 works for other dependencies, however including spdlog triggers msvc bug where that flag is ignored, so I cannot disable it properly. wrapping #include <spdlog/spdlog.h> with #pragma warning(disable: 4702) on my side also doesn't have any effect. I don't want to disable 4702 project-wise.
Are you suggesting to follow this guide and add #pragma warning(disable: 4702) as a patch on spdlog side manually as was done in the upstream?

Yes, you just need to make a patch to include these changes https://github.com/gabime/spdlog/commit/6442963f49526423a13c160883cec881e9667fe7 in upstream based on the current version. We can remove this patch when next version is released.

To avoid useless work, @gabime could you please tell if there's a long time before v1.8.6 release?

@yuyoyuppe Can we convert this PR to draft until the new version is released?

@NancyLi1013 sure

New version of spdlog will be released in a few days.

@NancyLi1013 updated to 1.9.0!

Have you tested the features on the latest version 1.9.0?

@NancyLi1013 yes, vcpkg install spdlog[benchmark] works :)

LGTM now, thanks for your updates. @yuyoyuppe


SetCellValue changes background color of a Cell to White when writing a time.Time value into a preformatted Table

Description
When writing date values to a table in a worksheet using predefined table format/style, then excelize sets a white background color.
It seems to be a new bug with excelize2.9.0, because in 2.8.1 and before its working.
Steps to reproduce the issue:

Prepare an excel file with a formatted table, using a predefined table format/style
OpenReader that file
Write a String value and a time.Time using SetCellValue
SaveAs that file

See a full reproducer here: https://github.com/sonic-martin/excelize-backgroundcolor-reproducer
Describe the results you received:
The cell with the Date value has a white background color.

(Screenshot with an excel file created with Excelize 2.9.0)
Describe the results you expected:
Both, the cell with the String value and with the Date value, following the predefined table format/style from the template excel file.

(Screenshot with an excel file created with Excelize 2.8.1)
Output of go version:
go version go1.23.2 linux/amd64

Excelize version or commit ID:
2.9.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Ubuntu in WSL2
Further remark
Is this maybe related to the code changes for fixing https://github.com/qax-os/excelize/issues/2004?

Thanks for your feedback. I fixed this, please upgrade to the master branch code by go get -u github.com/xuri/excelize/v2@master, and this patch will be released in the next version.

Thanks for your feedback. I fixed this, please upgrade to the master branch code by go get -u github.com/xuri/excelize/v2@master, and this patch will be released in the next version.

Hey, is it planned to have a new release soon? So far I pinned my dependency for production to 2.8.1.

Next version will be released in 2025, before that you could be to use the code on the master branch version, with the Go module to lock the version.


Fixing Grammatical and Spelling Errors

Looked through the readme and corrected some grammatical and spelling errors I noticed.


Making the spawn menu functional, making goal markers include goal name, fixing Harmony warnings

These changes do the following:

Removes the "Pingus Mode" button and makes the "Nomai Grand Prix" button open the spawn menu
Makes submitting the spawn menu start a speedrun with the selected spawns
Adds the name of the goal to the markers on the HUD and map
Eliminates Harmony patch warnings
Renames the "RESET SPAWN AND GOAL" button to "RANDOMIZE SPAWN AND GOAL"
Makes the Randomize Spawn And Goal button do what it says

Testing:

Verified that pingus mode button is gone (and quit button works again)
Verified that nomai grand prix button starts the spawn menu
Verified that submitting the spawn menu starts a speedrun with the selected spawns
Verified that the HUD and map markers include the name of the goal
Verified that you can quit to the main menu and start a new run
Verified that clicking Randomize Spawn And Goal does what it says

Created #71 to fix the regression this introduces & assigned to myself.

LGTM pending two changes we talked about on discord (use singleton shortcut on getters, cache whole spawn point struct instead of individual fields)

LGTM!


migrating kube-prometheus

Importing kube-prometheus and its history to unify the two repositories.
We will need to merge this before #188 as it depends on the content of this PR to be in contrib/kube-prometheus.
@fabxc

👍


Wrong site for [arXiv]?

Thanks for the feedback.
We have got the open source legal approval, but the publication legal approval is still pending.
Therefore, only publishing the code for now. Will update with the paper link later.

Anyway，Good Work！I will read paper when it’s ready.


Why the proxy api?

For what i understand you cloud eschew the proxy api server and just make  the requests straight to the "main" server. Cloud you elaborate on the usefulness of having a proxy api server?

Client-side javascript security, mostly.
Because you can't make ajax calls to server other than the one you loaded the page from.

@Agamennon - some further reading: https://jvaneyck.wordpress.com/2014/01/07/cross-domain-requests-in-javascript/

@erikras why not enable cors instead? that way react-native apps can send ajax requests too.

The same question as asked by @utkuturunc https://github.com/erikras/react-redux-universal-hot-example/issues/135#issuecomment-133589268


Download of image_data.json file

Hi, thanks for sharing the code to this interesting method.
I was wondering if (and if yes, where) I can find the VG-SGG-dicts.json and image_data.json file for download?
Thanks!

Sorry, it is VG-SGG-dicts-with-attri.json instead of VG-SGG-dicts.json. I will correct this in the readme.
Both files are located in https://github.com/liuhengyue/fcsgg/tree/master/datasets/vg.

Thanks for the quick reply. It was my mistake, for some reason I assumed that these files also had to be downloaded from somewhere. Found them now.


Distinguish concrete syntax from core syntax?

This is more of a question than a ticket.

I was being lazy. :laughing:

Hmm, I just noticed that I read the code wrong and this question doesn't make sense. It's already sufficiently distinct.


When deleting all questions in a barrier, it is not possible to add new ones

Not able to reproduce this. Can you guide me through the steps? What do you do to trigger it, and how does it look when it fails?


Expand type hints coverage

Besides having nice custom types, I found some places where the type seems to be missing. Adding type in these would enhance the experience when working in an IDE with type-hints support and help avoid bugs.
For example, this method seems to be missing its return type:
export const getEpisode = async (id: string, params?: { market?: string }) => {
    const response = await getAxiosSpotifyInstance().get(`/episodes/${id}`, {
        params,
    });
    return new Episode(response.data);
};

And I think by adding the return type, the IDE can have a nice time detecting and suggesting the valid operations with the return:
export const getEpisode = async (id: string, params?: { market?: string }): Promise<Episode> => {
    const response = await getAxiosSpotifyInstance().get(`/episodes/${id}`, {
        params,
    });
    return new Episode(response.data);
};

Sadly I hadn't actually used this SDK to talk about it with more property. I just explored the code because the project is awesome and suggested this hoping to contribute in its awesomeness.

Thanks a ton for your suggestion, @danielmitre! I'll work on this :heart:

I don't know why, but this wasn't closed with the PR being merged :eyes: But it's been released! Thank you once again :sparkles: