ember g ember-cli-qunit fails on ember-cli-test-loader

› ember g ember-cli-qunit
version: 1.13.6
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
installing ember-cli-qunit
Installing browser packages via Bower...
  not-cached git://github.com/rwjblue/ember-qunit-builds.git#0.4.6
  cached git://github.com/dockyard/ember-qunit-notifications.git#0.0.7
  cached git://github.com/jquery/qunit.git#1.17.1
  resolved git://github.com/rwjblue/ember-qunit-builds.git#0.4.6
Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found
Error: Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found
    at createError (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/lib/util/createError.js:4:15)
    at /Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/lib/core/resolverFactory.js:143:27
    at _fulfilled (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:796:13)
    at /Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:604:44
    at runSingle (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:137:13)
    at flush (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:125:13)
    at process._tickCallback (node.js:355:11)

This same thing happens on ember-cli-mocha, too, as reported here

may be related to: https://github.com/ember-cli/ember-cli/pull/4430

Yep, I just fixed it in ember-cli-mocha, PR coming here soon.

@blimmer im not sure that is the right fix, this is surprising behavior, the original should continue to work I believe. Or do you feel it shouldn't ?

It definitely does not work as it stands. Try to ember new a new project on ember-cli 1.13.7 and run ember g ember-cli-qunit.
› ember g ember-cli-qunit
version: 1.13.7
Could not find watchman, falling back to NodeWatcher for file system events.
Visit http://www.ember-cli.com/user-guide/#watchman for more info.
installing ember-cli-qunit
Installing browser packages via Bower...
  cached git://github.com/jquery/qunit.git#1.18.0
  cached git://github.com/rwjblue/ember-qunit-builds.git#0.4.9
  cached git://github.com/dockyard/ember-qunit-notifications.git#0.0.7
Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found
Error: Package ember-cli/ember-cli-test-loader=ember-cli/ember-cli-test-loader not found
    at createError (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/lib/util/createError.js:4:15)
    at /Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/lib/core/resolverFactory.js:143:27
    at _fulfilled (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:834:54)
    at self.promiseDispatch.done (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:863:30)
    at Promise.promise.promiseDispatch (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:796:13)
    at /Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:604:44
    at runSingle (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:137:13)
    at flush (/Users/blimmer/code/oss/ember-cli-example-app-for-github/node_modules/ember-cli/node_modules/bower/node_modules/q/q.js:125:13)
    at process._tickCallback (node.js:355:11)

Changing node_modules/ember-cli-qunit/blueprints/ember-cli-qunit/index.js to include source (as I've done in this PR) fixes that error.

yes but my argument is before this worked without source, i suspect the fix is restoring that functionality. Or discovering why it can not be.

I agree that the old way should still work. Perhaps the fix should be in cli.

Perhaps the fix should be in cli.

Ya, im just about to investigate what is going on. I would prefer to fix it at the source (no pun intended)


Reset select appearance in Safari

The appearance property without vendor prefix will not work in Safari, so now the select style will not be rendered correctly.
Chrome:

Safari:

This work, with the commit credit to you, has been added in https://github.com/csstools/sanitize.css/commit/3046797a2e7a339cd0e29574f9745b71fdcfe7fd


'assert' was not declared in this scope. Missing #include  in infra/util/IntrusiveBinarySearchTree.hpp

https://github.com/philips-software/embeddedinfralib/blob/57c5153b4f3dcae7bf25731c2d733b208d0b986b/infra/util/IntrusiveBinarySearchTree.hpp#L769

Fixed by #71


Pass a replacements object to preBuild

Fixes #510.
No tests yet as I don't know the best way of testing this.

As discussed in #510


Gather Group doesnt work

Selecting any item from gatherable and fish tab to gather group does not appear on gather window most likely because auto-gather overwrite the tab

Gather groups never appeared on the gather window; only alarms and gather window presets did. And gather window presets became auto-gather lists.

If that's the case, not being able to add fish on the gather window is an unnecessary con for the plugin


fix(DTFS2-7248): disabled countries in mock

Introduction :pencil2:
Ensure countries are disabled as per the list.
Resolution :heavy_check_mark:

Updated mock countries.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.71%. Comparing base (d54e5c0) to head (c379ced).

Additional details and impacted files
@@               Coverage Diff               @@
##           release-2.0    #3261      +/-   ##
===============================================
+ Coverage        33.16%   33.71%   +0.54%
===============================================
  Files             1397      958     -439
  Lines            31254    21660    -9594
  Branches          5002     3123    -1879
===============================================
- Hits             10366     7302    -3064
+ Misses           18266    12931    -5335
+ Partials          2622     1427    -1195

Flag
Coverage Δ

api-test
0.39% <ø> (ø)

unit-test
34.09% <ø> (+0.66%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


remove b' from ipc socket names

str(b"x") is b"x" so ipc sockets were being created as ~/.osbrain_ipc/b'37a76fda9a264...'. Instead, cast bytes to str via the bytes.decode() method.

@minrk Is it just an aesthetics change or did you find any issue with this?
@ocaballeror What do you say? I think it is fine to merge this; there is no practical difference and maybe socket file names look better without the b''.


[5.6] Add option for custom prefix on migration file

Laravel uses timestamp as prefix when creating migration file. This creates a problem when we try to actually migrate if we haven't created our DB tables in order as intended. During migration execution process, the files are sorted based on filenames and executed in order. Due to the time stamping our details table might be in higher order than our master table during this process.
One solution is to rename each file by hand to give the order as intended before migration.
But this PR adds  --prefix option on make:migration command so that user can specify their custom prefix to migration file for ordering purpose.
For example:
php artisan make:migration create_cities_table --prefix='00001' --create='Cities'
will create
00001_create_cities_table.php instead of 2017_10_16_100000_create_cities_table.php
So that user can specify next
php artisan make:migration create_users_table_who_live_in_that_city --prefix='00002' --create='Users'
and so on.

You can modify the timestamps to change the order

Anyway it is just an option with backward compatibility. We can choose one based on our working style.
I have tried to fix most of the errors but not sure what last 2 errors means... Seems like it is not related to my modification.


rename consts to navitems

What does this PR do and why?
fast follow from: https://github.com/jbx-protocol/juice-interface/pull/2237#pullrequestreview-1152367585

maybe rename the file from Constants.tsx to something more descriptive, or make individual descriptive name files for each export

Screenshots or screen recordings
If applicable, provide screenshots or screen recordings to demonstrate the changes.
Acceptance checklist

[ ] I have evaluated the Approval Guidelines for this PR.
[ ] I have tested this PR in all supported browsers.
[ ] I have tested this PR in dark mode and light mode (if applicable).

Graphite Merge Job
Current status: ⏳ Queued to merge
This pull request is currently queued to be merged as part of a stack.
This comment was auto-generated by Graphite.

Job Reference: nBEs5OgsDcGJq5Mks2vR


Proposal: kool logs

kool logs [--follow] [--tail] {service}
Also, consider having the same API for kool deploy logs

This has been implemented and merged onto master. This will be on next release.


Adding new entries for translation pt-BR and Removing CultureInfo.InstalledUICulture

About Removal CultureInfo.InstalledUICulture check issue 616.

Hi - thanks very much for this - would you mind removing the last commit from this, so that we can just merge the language changes separately?   There are other places where the InstalledUICulture is (mis)used, and I'd like to deal with them in one go.  You may need to create a new PR with just the two translation commits in it.


crc setup breaks dns configuration on host - Linux (RHEL9)

The issue still exists and if it will be installed on a small server then it breaks the dns configuration...
After crc setup my resolv.conf looks like following >>>
$ cat /etc/resolv.conf
# Generated by NetworkManager
search fritz.box local
nameserver <IP_ADDRESS>
options edns0 trust-ad

$  cat /etc/os-release
NAME="Red Hat Enterprise Linux"
VERSION="9.2 (Plow)"
ID="rhel"
ID_LIKE="fedora"
VERSION_ID="9.2"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Red Hat Enterprise Linux 9.2 (Plow)"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:redhat:enterprise_linux:9::baseos"
HOME_URL="https://www.redhat.com/"
DOCUMENTATION_URL="https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9"
BUG_REPORT_URL="https://bugzilla.redhat.com/"

REDHAT_BUGZILLA_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_BUGZILLA_PRODUCT_VERSION=9.2
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.2

Changing dns server for example with "nmtui" doesn't work.
Any ideas on how best to fix this?
Originally posted by @mschindl in https://github.com/crc-org/crc/issues/1663#issuecomment-1729447033

I don't know what does not work/what you are trying to achieve/... so it is hard to answer
resolv.conf points at <IP_ADDRESS> because NetworkManager is configured to use dnsmasq, and spawned a dnsmasq instance listening on <IP_ADDRESS>. See /etc/NetworkManager if you want to take a closer look at how it's configured.

I noticed this, now I'm trying to reverse it or change it so that DNS queries work again. Until then crc setup doesn't work either, because it can't download packages.
INFO Downloading bundle: /home/user/.crc/cache/crc_libvirt_4.13.9_amd64.crcbundle...
unable to get verified hash for default bundle: Get "https://mirror.openshift.com/pub/openshift-v4/clients/crc/bundles/openshift/4.13.9/sha256sum.txt.sig": dial tcp: lookup mirror.openshift.com: no such host

How can I modify "NetworkManager is configured to use dnsmasq, and spawned a dnsmasq instance listening on <IP_ADDRESS>" to use the own dns server as well, like my router?

How can I modify "NetworkManager is configured to use dnsmasq, and spawned a dnsmasq instance listening on <IP_ADDRESS>" to use the own dns server as well, like my router?

This should be transparent, is this all configured through dhcp, or are you configuring this manually?

I configured the initial system network configuration manually with "nmtui", no DHCP.
After that I tried to setup crc which breaks the system dns configuration and crc self can't download the required bundle.

I'd expect nmcli/nmtui to still be usable to configure networking :-/
As an alternative, you can try crc cleanup && crc config set network-mode user && crc setup, this should allow crc to work without changing NM configuration.

Great. Looks good so far, but a new error occurs now.
INFO Starting CRC VM for openshift 4.13.9...
failed to expose port :443 -> <IP_ADDRESS>:443: listen tcp :443: bind: address already in use

Do you know how to fix that as well?

crc config set ingress-https-port 6443 should help. However, you will have to manually change port 443 to 6443 in the openshift URL for the applications you deploy

It did not work and I received a slightly different error message:
INFO Starting CRC VM for openshift 4.13.9...
failed to expose port :6443 -> <IP_ADDRESS>:443: listen tcp :6443: bind: address already in use

You can take a look with netstat to check what is using this port.

This why I'm surprised about the output. 6443 isn't in use.
$ sudo firewall-cmd --list-ports
631/tcp 5353/udp
$ sudo lsof -nP -iTCP -sTCP:LISTEN
COMMAND     PID USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
systemd       1 root   67u  IPv4 9071617      0t0  TCP *:111 (LISTEN)
systemd       1 root   69u  IPv6 9071619      0t0  TCP *:111 (LISTEN)
systemd       1 root  159u  IPv6   18794      0t0  TCP *:9090 (LISTEN)
conmon      974 root    5u  IPv4   16159      0t0  TCP *:53 (LISTEN)
conmon      974 root    6u  IPv4   16161      0t0  TCP *:80 (LISTEN)
conmon      974 root    7u  IPv4   16162      0t0  TCP *:443 (LISTEN)
conmon      975 root    5u  IPv4    2693      0t0  TCP *:6789 (LISTEN)
conmon      975 root    6u  IPv4    2694      0t0  TCP *:8080 (LISTEN)
conmon      975 root    7u  IPv4    2695      0t0  TCP *:8081 (LISTEN)
conmon      975 root    8u  IPv4    2696      0t0  TCP *:8443 (LISTEN)
conmon      975 root    9u  IPv4    2697      0t0  TCP *:8843 (LISTEN)
conmon      975 root   10u  IPv4    2698      0t0  TCP *:8880 (LISTEN)
sshd    2072250 root    3u  IPv4 8324512      0t0  TCP *:22 (LISTEN)
sshd    2072250 root    4u  IPv6 8324514      0t0  TCP *:22 (LISTEN)

$ netstat -aon | grep 6443
No output

@mschindl Can you try to use a different port because 6443 is used for api server.
$ crc config set ingress-https-port 9443

I tried it and the following error message appears.

crc config set ingress-https-port 9443

failed to expose port :80 -> <IP_ADDRESS>:80: listen tcp :80: bind: address already in use

80 can be set with ingress-http-port, in addition to ingress-https-port for port 443

Thank you. Starting works now, but it hangs again:

@mschindl does it hang here forever or eventually succeed?, if it hangs forever can you provide the logs using crc start --log-level debug ?

@mschindl does it hang here forever or eventually succeed?, if it hangs forever can you provide the logs using crc start --log-level debug ?

It hangs here forever and no additional output (I would expect something else) shown. dnsmasq.service failed, but I'm not if it's still needed.
INFO 3 operators are progressing: image-registry, kube-storage-version-migrator, service-ca  DEBU console operator is degraded, Reason: ConsoleCustomRouteSync_FailedDeleteCustomRoutes::DownloadsCustomRouteSync_FailedDeleteCustomRoutes::RouteHealth_FailedRouteGet::SyncLoopRefresh_FailedGet  DEBU console operator not available, Reason: Deployment_InsufficientReplicas::RouteHealth_RouteNotAdmitted  DEBU image-registry operator is still progressing, Reason: DeploymentNotCompleted  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  DEBU kube-storage-version-migrator operator is still progressing, Reason: KubeStorageVersionMigrator_Deploying  DEBU kube-storage-version-migrator operator not available, Reason: KubeStorageVersionMigrator_Deploying  INFO 2 operators are progressing: image-registry, kube-storage-version-migrator  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod::OAuthServerRouteEndpointAccessibleController_EndpointUnavailable  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is not yet available  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is not yet available  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is not yet available  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is not yet available  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is not yet available  DEBU authentication operator is degraded, Reason: OAuthServerDeployment_UnavailablePod  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is degraded           DEBU authentication operator is degraded, Reason: OAuthServerDeployment_UnavailablePod  DEBU authentication operator not available, Reason: OAuthServerDeployment_NoPod  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operator authentication is degraded           DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO All operators are available. Ensuring stability...  DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operators are stable (2/3)...                 DEBU Unexpected operator status for ingress: EvaluationConditionsDetected  INFO Operators are stable (3/3)...                 DEBU Cluster took 9m0.60545226s to stabilize       INFO Adding crc-admin and crc-developer contexts to kubeconfig...
`# systemctl status dnsmasq.service
× dnsmasq.service - DNS caching server.
Loaded: loaded (/usr/lib/systemd/system/dnsmasq.service; disabled; preset: disabled)
Active: failed (Result: exit-code) since Thu 2023-09-28 10:23:35 CEST; 5h 37min ago
Process: 3320506 ExecStart=/usr/sbin/dnsmasq (code=exited, status=2)
CPU: 3ms
Sep 28 10:23:35 server systemd[1]: Starting DNS caching server....
Sep 28 10:23:35 server dnsmasq[3320506]: dnsmasq: failed to create listening socket for <IP_ADDRESS>: Address already in use
Sep 28 10:23:35 server dnsmasq[3320506]: failed to create listening socket for <IP_ADDRESS>: Address already in use
Sep 28 10:23:35 server dnsmasq[3320506]: FAILED to start up
Sep 28 10:23:35 server systemd[1]: dnsmasq.service: Control process exited, code=exited, status=2/INVALIDARGUMENT
Sep 28 10:23:35 server systemd[1]: dnsmasq.service: Failed with result 'exit-code'.
Sep 28 10:23:35 server systemd[1]: Failed to start DNS caching server..`

An interim status to my issue: CRC is running, but the output from crc start hangs
$ crc status
CRC VM:          Running
OpenShift:       Running (v4.13.9)
RAM Usage:       6.252GB of 9.374GB
Disk Usage:      16.14GB of 32.68GB (Inside the CRC VM)
Cache Usage:     20.6GB
Cache Directory: /home/user/.crc/cache

$ oc --kubeconfig=/home/user/.crc/machines/crc/kubeconfig whoami
system:admin

$ oc --kubeconfig=/home/user/.crc/machines/crc/kubeconfig get nodes
NAME                 STATUS   ROLES                         AGE   VERSION
crc-mmwz7-master-0   Ready    control-plane,master,worker   36d   v1.26.6+6bf3f75

Our remote scenario assumes the use of a 'dedicated' server for CRC. It seems in this case port 80, 443, etc are all in use as the machine might be used for several purposes?

I had meeting with @mschindl and we were able to move forward around port conflict but at the end when we update the kubeconfig file for dev/admin context, it just hang there. I tried to replicate this on clean RHEL-9 env but not able to produce, suggested to use strace to figure out what's blocking this operation. On different terminal we check crc status and it was running as expected and with kubeconfig even cluster is accessible.

Thanks @mschindl to provide me access to that host and looks like it is hanging during generate token, request is sent to api server and then oauth endpoints which is still using 443 instead what user provide 9443 and this request goes to users pihole setup and hang because there is no response, even curl <IP_ADDRESS>:443 hangs.
After putting some more info logs this is what happen when it hangs
INFO Adding crc-admin and crc-developer contexts to kubeconfig...
INFO Writing kubeconfig
INFO Getting auth ca
INFO Getting host info
INFO Dialing to api.crc.testing:6443
INFO Dialing to oauth-openshift.apps-crc.testing:443
<--- hangs --->

@mschindl can you again try new version of crc on that environment with same setting and let us know if that still hang on adding context part?

Looks good now. Many thanks.

Closing this now

Fixed with version 2.28.0+e1f42d


Missing pull request template and i18n labels

Describe the situation
LocalSend is a nice multi language supported open source app that I enjoy while using it.
i18n PRs are usually created by the localsend users. It would be nice to provide a pull request template and an i18n issue/pr label to the community.
Pull request templates

devspace/awesome-github-templates
VantaInc/sdlc-templates

You said PR template's are not needed right now. That's ok. https://github.com/localsend/localsend/pull/1475#issuecomment-2221761049
What about adding an i18n or translation to labels.
For example you can filter the translations PRs easily

Thanks, I've added translation to labels


Dijkstra Shortest Path

Implementation added, added to P1709, & reviewed in SG19.
Open questions/issues

pass BFS in instead of Queue? (Andrew); Kevin is thinking about it
add example to P1709

While I've added an implementation for dijkstra shortest paths and shortest distances, Andrew has expanded the shortest paths algorithms in P1709. This is continuing.


Add Simplified Chinese Translation

Not completed... Some of the vocabularies in Chinese can't match the original meaning. Maybe some one can complete it.

Thank you, my friend, I will add it upon next release. What is your name, so I could add it to the list of contributors on the front page?

Just use 'Dreista' instead of my name.
Thanks for your nice theme :-)


Add Swift 4 package manifest

Since Swift 4.2 old PackageDescription v3 is deprecated for removal. As a result, for all dependent packages we see this warning:
warning: PackageDescription API v3 is deprecated and will be removed in the future; used by package(s): SwiftyJSON

This PR adds a modern version of Package.swift manifest, which will only be used for Swift ≥4.0.
No source code is changed/restructured.

One question: should we add swiftLanguageVersions: [.v4, .v4_2] to this file?

swiftLanguageVersions isn't needed here, because the file has swift-tools-version specified as 4.0, so the compiler will use Swift 4 by default according to the docs.
AFAIU adding swiftLanguageVersions: [.v4, .v4_2] would make this incompatible with SwiftPM 4.0, since the format was changed in 4.2


Starts catching up blocks then looses connection to Bitcoind rpc port

Just downloaded version "lnd-linux-amd64-v0.4-beta.tar.gz" from the releases page and tried to make it run using my bitcoind full node. Once I unlock the wallet lnd starts catching up blocks and then somehow looses connection to bitcoind rpc port and stops.
lnd --bitcoin.active --bitcoin.mainnet --debuglevel=debug --bitcoin.node=bitcoind --bitcoind.rpcuser=<...> --bitcoind.rpcpass=<...> --bitcoind.zmqpath=tcp://<IP_ADDRESS>:29000 --externalip=xx.xx.xx.xx
2018-03-16 09:01:32.502 [WRN] LTND: open /home/bitcoind/.lnd/lnd.conf: no such file or directory
2018-03-16 09:01:32.503 [INF] LTND: Version 0.4.0-alpha
2018-03-16 09:01:32.503 [INF] LTND: Active chain: Bitcoin (network=mainnet)
2018-03-16 09:01:32.503 [INF] CHDB: Checking for schema update: latest_version=0, db_version=0
2018-03-16 09:01:32.544 [INF] RPCS: password RPC server listening on <IP_ADDRESS>:10009
2018-03-16 09:01:32.545 [INF] RPCS: password gRPC proxy started at <IP_ADDRESS>:8080
2018-03-16 09:01:32.545 [INF] LTND: Waiting for wallet encryption password. Use `lncli create` to create wallet, or `lncli unlock` to unlock already created wallet.
2018-03-16 09:01:52.709 [INF] LNWL: Opened wallet
2018-03-16 09:01:52.984 [INF] LTND: Primary chain is set to: bitcoin
2018-03-16 09:01:52.985 [INF] LTND: Initializing bitcoind backed fee estimator
2018-03-16 09:01:53.818 [INF] LNWL: Opened wallet
2018-03-16 09:01:53.822 [INF] LNWL: Started listening for blocks via ZMQ on tcp://<IP_ADDRESS>:29000
2018-03-16 09:01:54.632 [INF] LNWL: The wallet has been unlocked without a time limit
2018-03-16 09:01:54.632 [INF] LTND: LightningWallet opened
2018-03-16 09:01:54.670 [INF] LNWL: Started rescan from block<PHONE_NUMBER>0ebe897270ca5f6d539d8afb4ea4f4e757761a34ca82e17207d886 (height 20000) for 0 addresses
2018-03-16 09:01:54.709 [INF] HSWC: Restoring in-memory circuit state from disk
2018-03-16 09:01:54.709 [INF] HSWC: Payment circuits loaded: num_pending=0, num_open=0
2018-03-16 09:01:54.743 [INF] RPCS: RPC server listening on <IP_ADDRESS>:10009
2018-03-16 09:01:54.744 [INF] LTND: Waiting for chain backend to finish sync, start_height=513693
2018-03-16 09:01:54.745 [INF] RPCS: gRPC proxy started at <IP_ADDRESS>:8080
2018-03-16 09:01:54.908 [INF] LNWL: Starting rescan from block<PHONE_NUMBER>0ebe897270ca5f6d539d8afb4ea4f4e757761a34ca82e17207d886
2018-03-16 09:02:03.084 [INF] LNWL: Catching up block hashes to height 30000, this might take a while
2018-03-16 09:02:17.094 [ERR] LNWL: Failed to update address manager sync state for height 30000: Post http://localhost:8332: dial tcp [::1]:8332: connect: connection refused
2018-03-16 09:02:17.094 [INF] LNWL: Done catching up block hashes
2018-03-16 09:02:17.094 [ERR] LNWL: Failed to process consensus server notification (name: `rescanprogress`, detail: `Post http://localhost:8332: dial tcp [::1]:8332: connect: connection refused`)
2018-03-16 09:02:17.094 [INF] LNWL: Rescanned through block 00000000de1250dc2df5cf4d877e055f338d6ed1ab504d5b71c097cdccd00e13 (height 30000)
2018-03-16 09:02:17.125 [INF] LNWL: Rescan finished at 38327 (000000000c841a070905c4a7bb837dfbd4c09329979162e2b8b978606e5204be)
2018-03-16 09:02:17.125 [ERR] LNWL: rescan failed: Post http://localhost:8332: dial tcp [::1]:8332: connect: connection refused
2018-03-16 09:02:17.125 [INF] LNWL: Catching up block hashes to height 38327, this might take a while
2018-03-16 09:02:17.155 [ERR] LNWL: Failed to update address manager sync state for height 38327: Post http://localhost:8332: dial tcp [::1]:8332: connect: connection refused
2018-03-16 09:02:17.155 [INF] LNWL: Done catching up block hashes
2018-03-16 09:02:17.155 [ERR] LNWL: Failed to process consensus server notification (name: `rescanprogress`, detail: `Post http://localhost:8332: dial tcp [::1]:8332: connect: connection refused`)
2018-03-16 09:02:17.155 [INF] LNWL: Finished rescan for 0 addresses (synced to block 000000000c841a070905c4a7bb837dfbd4c09329979162e2b8b978606e5204be, height 38327)
Post http://localhost:8332: dial tcp [::1]:8332: connect: connection refused

Bitcoind is version:
bitcoin-cli getnetworkinfo
{
"version": 160000,
 "subversion": "/Satoshi:0.16.0/",
 "protocolversion": 70015,

If your bitcoind node listening for RPC on the standard port? It looks like it's unable to connect at all.

yes... Bitcoind is listening on port 8332.
LND managed to catch up the first 30k or so blocks with restarting it and bitcoind a number of times.

Did you restart the bitcoind instance? From the error message it's unable to connect. I'd also check to ensure that zmq is active on the node.

Yes... stopped and restarted bitcoind multiple times. Each time after LND stops being able to connect...
For info... here's my bitcoin.conf file:
# [core]
# Maintain a full transaction index, used by the getrawtransaction rpc call.
txindex=1
# Limit number of connections to 24
maxconnections=24

# [rpc]
# Accept command line and JSON-RPC commands.
server=1
# Bind to given address to listen for JSON-RPC connections. This option is ignored unless -rpcallowip is also passed. Port is optional and overrides -rpcport. Use [host]:port notation for IPv6. This option can be specified multiple times. (default: <IP_ADDRESS> and ::1 i.e., localhost, or if -rpcallowip has been specified, <IP_ADDRESS> and :: i.e., all addresses)
rpcbind=<IP_ADDRESS>
# Username for JSON-RPC connections
rpcuser=<...>
# Password for JSON-RPC connections
rpcpassword=<...>
# Allow JSON-RPC connections from specified source. Valid for <ip> are a single IP (e.g. <IP_ADDRESS>), a network/netmask (e.g. <IP_ADDRESS>/<IP_ADDRESS>) or a network/CIDR (e.g. <IP_ADDRESS>/24). This option can be specified multiple times.
rpcallowip=<IP_ADDRESS>
zmqpubrawblock=tcp://<IP_ADDRESS>:29000
zmqpubrawtx=tcp://<IP_ADDRESS>:29000

Just tried again after restarting bitcoind... lnd managed to catch up a bit further to block 90k-ish this time...
Could it be something load related? For example bitcoind doing a bit of work to get the data together for lnd initial sync and maybe timing out on a response?

Config looks alright. Do the bitcoind logs say any interesting?

Not really... during my last attempt I was tailing the bitcoind debug.log and this is the only info I got during the time of my last lnd run:
2018-03-16 06:33:59 P2P peers available. Skipped DNS seeding.
2018-03-16 06:33:59 dnsseed thread exit
2018-03-16 06:34:01 connect() to <IP_ADDRESS>:8333 failed after select(): Connection refused (111)
2018-03-16 06:34:02 connect() to <IP_ADDRESS>:8333 failed after select(): Connection refused (111)
2018-03-16 06:34:02 New outbound peer connected: version: 70015, blocks=513743, peer=10
2018-03-16 06:34:03 New outbound peer connected: version: 70015, blocks=513743, peer=11
2018-03-16 06:34:10 New outbound peer connected: version: 70015, blocks=513743, peer=14
2018-03-16 06:34:10 New outbound peer connected: version: 70015, blocks=513743, peer=15
2018-03-16 06:34:11 connect() to <IP_ADDRESS>:8333 failed after select(): Connection refused (111)
2018-03-16 06:34:18 New outbound peer connected: version: 70015, blocks=508513, peer=16

Maybe I need to up log level ?

Looks like maybe the bitcoind node is not done syncing?

I added debug=rpc to the bitcoin.conf file and restarted bitcoind
During the time and after lnd lost connection to bitcoind these were the only lines in the bitcoind debug log.
Interestingly socket send error Broken pipe (32)  got reported about 20 seconds after lnd reported to have lost the connection to RPC.
2018-03-16 09:32:21 ThreadRPCServer method=getblockhash
2018-03-16 09:32:21 ThreadRPCServer method=getblockheader
2018-03-16 09:32:22 ThreadRPCServer method=getblockchaininfo
2018-03-16 09:32:23 ThreadRPCServer method=getblockchaininfo
2018-03-16 09:32:24 ThreadRPCServer method=getblockchaininfo
...
2018-03-16 09:32:41 ThreadRPCServer method=getblockchaininfo
2018-03-16 09:32:42 ThreadRPCServer method=getblockchaininfo
2018-03-16 09:32:42 socket send error Broken pipe (32)
2018-03-16 09:32:43 ThreadRPCServer method=getblockchaininfo

No... bitcoind is fully synced... It's been running for a couple of months and has been able to keep up without any issues... It's hosted on a dedi in an OVH datacentre  in France :)

Is this a local or remote btcd? It seems that we don't have robust reconnection logic as we do for btcd. They answer may lie in just increasing the default read timeout when reading off the socket, and also detecting connection breaks and then auto reconnect.

I've tried a few more times after starting bitcoind with the following argument -timeout=5000 which increases timeout to 5s... not sure though what this timeout actually refers to :)
Anyway, after doing so, lnd seemed to get further with initial catching up. However after catching up to about block 390k it is now again consistently loosing connection to bitcoind without apparent progress...
Is there an option with lnd to do the intial catch of blocks in smaller increments?

I have same problem
lnd + bitcoind
First time launching. Fresh version of lnd + bitcoind v0.16.0
https://github.com/lightningnetwork/lnd/issues/640#issuecomment-397193556


Backporting [SPARK-16494] Upgrade breeze version to 0.12

What changes were proposed in this pull request?
This pull request follows the pull request https://github.com/apache/spark/pull/14150 and updates the breeze version to 0.12. We are interested in it as it allows us to modify convergence criteria in LBFGS.
How was this patch tested?
MLLib-specific unit tests pass.

Looks like #22 just achieed the purpose of this request. I'm closing it.


ToCode Solution: תרגול ביטויים רגולריים

Test 2 is failing with NameError: global name 're' is not defined as the re was not imported there. Please submit the fixed version.

01: No need to write if search is not None ... it is enough to write if search ...
03: Works, but in the real world always use the csv module to read csv files.
👍


Followers

I'm trying to use the snippet
for follower in tweepy.Cursor(api.followers).items():     follower.follow()
When I run the file .py  get this
Traceback (most recent call last):
File "tw.py", line 54, in
follower.follow()
File "/usr/lib/python3.5/site-packages/tweepy/models.py", line 175, in follow
self._api.create_friendship(user_id=self.id)
File "/usr/lib/python3.5/site-packages/tweepy/binder.py", line 245, in _call
return method.execute()
File "/usr/lib/python3.5/site-packages/tweepy/binder.py", line 229, in execute
raise TweepError(error_msg, resp, api_code=api_error_code)
tweepy.error.TweepError: [{'code': 160, 'message': "You've already requested to follow RonaldoArias_65."}]
Any idea about how to solve this ?

Let me understand
What are you doing with follower.follow() ?
here not understand too
for follower in tweepy.Cursor(api.followers).items():
Tell me what you want to get to see if you have another alternative to help you.
sorry my poor english. My first language is portuguese.

You have to catch that exception.
try:
    follower.follow()
except tweepy.error.TweepError:
    pass

Thank you I Will do ir así soon as possible
On Jan 9, 2017 9:01 AM, "wodim"<EMAIL_ADDRESS>wrote:

You have to catch that exception.
try:
follower.follow()
except tweepy.error.TweepError:
pass
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tweepy/tweepy/issues/828#issuecomment-271305762, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AGvNtCww3yD5MG0r9bNiXcGRmjMhfdR8ks5rQkupgaJpZM4LXt1X
.

As the error returned by Twitter says, this simply means you've already requested to follow that user.
This is not an issue with Tweepy.
GitHub issues for this repository should be used to report issues with this library.
They are not a medium for requesting help with Python.


travis ci builds time out

The gps tests hang forever with travis. See https://travis-ci.org/kevinburke/dep/jobs/470109609 for an example. On my local machine they take 48 seconds so this seems like an anomaly and not something that will be solved by bumping the timeout further.
I think Travis CI is having a problem with a Mercurial build? And then this is causing everything to block.
See for example:
goroutine 256 [syscall, 19 minutes]:
syscall.Syscall6(0xf7, 0x1, 0x1f3c, 0xc4204231e0, 0x1000004, 0x0, 0x0, 0xc4202fa770, 0x2b960df718a0, 0x0)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/syscall/asm_linux_amd64.s:44 +0x5
os.(*Process).blockUntilWaitable(0xc42033d800, 0x0, 0x0, 0x3)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/os/wait_waitid.go:31 +0xc0
os.(*Process).wait(0xc42033d800, 0xc42047ac20, 0xc42033d800, 0xc4201d3b00)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/os/exec_unix.go:22 +0x6f
os.(*Process).Wait(0xc42033d800, 0xc42047abb0, 0x438f8a, 0xc42047aba0)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/os/exec.go:123 +0x39
os/exec.(*Cmd).Wait(0xc42047ab00, 0x0, 0x0)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/os/exec/exec.go:461 +0xea
os/exec.(*Cmd).Run(0xc42047ab00, 0x68, 0x2)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/os/exec/exec.go:305 +0x87
os/exec.(*Cmd).CombinedOutput(0xc42047ab00, 0x2, 0xc420423658, 0x2, 0x2, 0xc42047ab00)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/os/exec/exec.go:521 +0x283
github.com/golang/dep/vendor/github.com/Masterminds/vcs.base.run(0xc42033cf60, 0x2c, 0xc4200388c0, 0x4a, 0xc4200ae640, 0xc129f5, 0x2, 0xc420423658, 0x2, 0x2, ...)
	/home/travis/gopath/src/github.com/golang/dep/vendor/github.com/Masterminds/vcs/repo.go:219 +0x93
github.com/golang/dep/vendor/github.com/Masterminds/vcs.(*HgRepo).Ping(0xc420254870, 0x10)
	/home/travis/gopath/src/github.com/golang/dep/vendor/github.com/Masterminds/vcs/hg.go:303 +0x157
github.com/golang/dep/gps.(*baseVCSSource).existsUpstream(0xc4202fa6e0, 0x117efa0, 0xc42046a5a0, 0x2b960de4f000)
	/home/travis/gopath/src/github.com/golang/dep/gps/vcs_source.go:35 +0x4f
github.com/golang/dep/gps.(*sourceGateway).sourceExistsUpstream.func1(0x117efa0, 0xc42046a5a0, 0x117ece0, 0xc420258000)
	/home/travis/gopath/src/github.com/golang/dep/gps/source.go:593 +0x96
github.com/golang/dep/gps.(*supervisor).do(0xc42027ad80, 0x117ed20, 0xc4200a8050, 0xc129f5, 0x2, 0x4, 0xc4204238a0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/golang/dep/gps/source_manager.go:716 +0xfc
github.com/golang/dep/gps.(*sourceGateway).sourceExistsUpstream(0xc42046a550, 0x117ed20, 0xc4200a8050, 0x2b960f1805f8, 0x0, 0xc42008c400)
	/home/travis/gopath/src/github.com/golang/dep/gps/source.go:592 +0x1f0
github.com/golang/dep/gps.(*sourceGateway).require(0xc42046a550, 0x117ed20, 0xc4200a8050, 0x1, 0x50, 0xbd8840)
	/home/travis/gopath/src/github.com/golang/dep/gps/source.go:650 +0x249
github.com/golang/dep/gps.newSourceGateway(0x117ed20, 0xc4200a8050, 0x1183ae0, 0xc4202fa6e0, 0xc42027ad80, 0xc4204d5960, 0x15, 0x1182340, 0xc42046a500, 0x0, ...)
	/home/travis/gopath/src/github.com/golang/dep/gps/source.go:296 +0x250
github.com/golang/dep/gps.(*sourceCoordinator).getSourceGatewayFor(0xc4200e4080, 0x117ed20, 0xc4200a8050, 0xc24de0, 0x23, 0xc24de0, 0x23, 0x0, 0x0, 0x0)
	/home/travis/gopath/src/github.com/golang/dep/gps/source.go:231 +0xef7
github.com/golang/dep/gps.TestGetSources.func1.1(0xc4202062d0)
	/home/travis/gopath/src/github.com/golang/dep/gps/manager_test.go:472 +0x110
testing.tRunner(0xc4202062d0, 0xc4202416e0)
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/testing/testing.go:777 +0x16e
created by testing.(*T).Run
	/home/travis/.gimme/versions/go1.10.7.linux.amd64/src/testing/testing.go:824 +0x565

Possibly related to https://github.com/Masterminds/vcs/issues/78.

Ahh hahaha it's a fun one.
hg -v --debug identify<EMAIL_ADDRESS>running ssh<EMAIL_ADDRESS>'hg -R mattfarina/testhgrepo serve --stdio'
sending hello command
sending between command
The authenticity of host 'bitbucket.org (<IP_ADDRESS>)' can't be established.
RSA key fingerprint is 97:8c:1b:f2:6f:14:6b:5c:3b:ec:aa:46:46:74:7c:40.
Are you sure you want to continue connecting (yes/no)?

I think the Go command just hangs at that point indefinitely.

Okay, narrowed down further... if you issue git ls-remote using the git protocol to a Mercurial repository on Bitbucket the command just hangs forever. Confirmed this in the stack trace as well.
git ls-remote git://bitbucket.org/mattfarina/testhgrepo

I don't think this will ever work unless Bitbucket changes their configuration. Should we detect this pair and return an error if so?


Can't use 'mco plugin package' when Puppet is installed via Gems

mco plugin package fails when Puppet is installed using Gems and Ruby Environments, because /opt/puppetlabs is hard coded in aiomodulepackage_packager.rb .
Patch coming very shortly.

Thank you!


Use of template engines with POST routes

At the moment, you can use template engines with GET routes, but not with POST routes.

What about
/**
 * Map the route for HTTP POST requests
 *
 * @param path   the path
 * @param route  The route
 * @param engine the template engine
 */
public static void post(String path, TemplateViewRoute route, TemplateEngine engine) {
    getInstance().post(path, route, engine);
}

That being said, I recommend creating a rendering-util and using the non-template-engine route.
post("/path", (req, res) -> Util.render("templatePath", model));


Cannot download from tv4play.se nor update get_flash_videos

get_flash_videos "http://www.tv4play.se/program/unga-föräldrar?video_id=3503452"
Using method 'tv4play' for http://www.tv4play.se/program/unga-föräldrar?video_id=3503452
Downloading http://www.tv4play.se/program/unga-föräldrar?video_id=3503452
Error:
mismatched tag at line 6, column 2, byte 146 at /usr/lib/perl5/XML/Parser.pm line 187.
(from FlashVideo::Site::Tv4play::/usr/share/perl5/FlashVideo/Site/Tv4play.pm::15)
Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.
Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).
Check for updates by running: /usr/bin/get_flash_videos --update
If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.
sudo /usr/bin/get_flash_videos --update
Unable to retrieve version data: 404 Not Found

This download worked for me. Are you using the latest on git?
$ get_flash_videos-1.25 'http://www.tv4play.se/program/unga-föräldrar?video_id=3503452'
Using method 'tv4play' plugin version 0.03 for http://www.tv4play.se/program/unga-föräldrar?video_id=3503452
Downloading http://www.tv4play.se/program/unga-föräldrar?video_id=3503452
Downloading segments
12% [==========                                                                       ]^

@flyingzebras, if the latest git version is working for you, please close this issue.

@pcwalden Give me a few days.

@pcwalden As I also pointed out in this issue:

sudo /usr/bin/get_flash_videos --update
Unable to retrieve version data: 404 Not Found

Any ideas why I cannot update the package get-flash-videos this way?

@pcwalden As I also pointed out in this issue:

sudo /usr/bin/get_flash_videos --update
Unable to retrieve version data: 404 Not Found

Any ideas why I cannot update the package get-flash-videos this way?

https://github.com/monsieurvideo/get-flash-videos/issues/204

@flyingzebras

sudo /usr/bin/get_flash_videos --update
Unable to retrieve version data: 404 Not Found

Is this a bug?

As @njtaylor explains in #204, the --update feature is no longer viable and needs to be removed. Also the documentation needs to be updated accordingly. Since we are all volunteering our work on get_flash_videos, someone needs to volunteer to do these things. If you would like to help improve this site's wiki or documentation, please give it a go.
You can download the last release from here.
Alternatively you can  use git to download the latest code and build your own.
Please close this issue as your original concerns have been directly resolved.

@pcwalden tv4play.se require login to watch their Flash videos, do get_flash_videos login automatically? With the latest git version I get this:
get_flash_videos 'http://www.tv4play.se/program/unga-föräldrar?video_id=3503452'
Using method 'tv4play' for http://www.tv4play.se/program/unga-föräldrar?video_id=3503452
Downloading http://www.tv4play.se/program/unga-föräldrar?video_id=3503452
Error:
mismatched tag at line 6, column 2, byte 146 at /usr/lib/perl5/XML/Parser.pm line 187.
(from FlashVideo::Site::Tv4play::/usr/share/perl5/FlashVideo/Site/Tv4play.pm::15)
Couldn't extract Flash movie URL. This site may need specific support adding,
or fixing.
Please confirm the site is using Flash video and if you have Flash available
check that the URL really works(!).
Check for updates by running: /usr/bin/get_flash_videos --update
If the latest version does not support this please open a bug (or
contribute a patch!) at http://code.google.com/p/get-flash-videos/
make sure you include the output with --debug enabled.
Couldn't download any videos.

@flyingzebras I believe you are still using the old version. It should say that you are using version 3 of the tv4play plugin. There is no support for logging in to the site so only non-premium videos are downloadable right now.

@karjonas

There is no support for logging in to the site so only non-premium videos are downloadable right now.

Yes, that would be an enhancement. However, I would point out that get_flash_videos does have the infrastructure for users to define site login/passwords. See man netrc, for how to configure ~/.netrc. The Pbs.pm plugin uses that mechanism to log into the pbs.org site and access higher definition video. However, I agree it is a significant amount of work to figure it out for a specific site.


Usability suggestion for canvas delete and bbox methods + after and destroy functions

One of the first difficulties I had when using this crate was trying to figure out how to destroy a widget.  Somehow using a tuple to represent an arbitrary number of widgets (including a solitary one) to be deleted was not near the top of my list of things to try.  It seems to me that instead of forcing the HomoTuple construct on the user, it might be better to present an interface that allows the user to supply arguments that are a bit more intuitive.  What I have done in the case of the functions/methods listed in the title is change the argument for the TagOrId, Widgets, Scripts only to require Into<Obj>.  I think this change will not effect any existing application code, but will allow the user to specify just a single tag, widget or script command if they don't require a collection of items.  As a bonus a Vec (which is what first comes to mind for me when trying to represent an arbitrary number of items) will also be accepted if a collection is required.
I have included a list of the differences in the attached file (the change shown for 'tcl/src/obj.rs' can be ignored) if you care to consider my suggestion.
-- Todd
diffs.txt

Thanks for your suggestion to improve ergonomics. I will accept it in the next version.
When I began to write version 0.1.0, I consider it as an experimental project and introduced several experimental features. One of them is  NonZeroLen which ensures provided tcl objects are not empty at compile time. That's why HomoTuple is involved. However it is more confusing than Into<Obj> way, as you said.


Corrected minor typo.

Hi! Just a minor typo in docs/updates.md.
avaialable -> available

Thanks!


Compiled binaries for rpi (armv6hf)

I want to use juicy-gcode in a project running on an rpi 3b. However the currently provided release binaries are only 64 bit. Would it be possible to also provide armv6hf binaries? I dont have any knowledge on Haskell and Stack and therefore I am not sure if this is possible.

I use appveyor to build binaries and they do not support this platform, I also do not own an rpi, so I can't promise it. I think you should try to build the project yourself, it should not be hard. Just install stack and try to build the project:
curl -sSL https://get.haskellstack.org/ | sh
stack build
I can try to help if you run into problems

Okay thanks! I alerady tried it, but I ran into memory problems while compiling. But if I find some time I will try to compile it with the rpi 4.


1.1.7 Log messages have "Invalid Date" as time string

Issue description
The log messages from ts-node-dev 1.1.7 log the time as the text Invalid Date. Example:
[INFO] Invalid Date ts-node-dev ver. 1.1.7 (using ts-node ver. 9.0.0, typescript ver. 3.9.5)

Should be fixed.


Firefox graphical lag after delay from moving SVG nodes

See https://github.com/phetsims/color-vision/issues/42
Canvas seems to fix the lag, but overall seems to have worse performance. Will re-check in Scenery 0.2.

Looks like this was fixed.


Spawned Monster isn't highlighted

Version: 0.8.8b
Scenario: The Fall of House Lynch
How to reproduce:

Activate Mythos phase until "Clock Strikes 10"

Expected Behaviour

Appearing Zombies should be highlighted ("blinking").
(Especially since Spawn "Timer1Zombie3A" and ""Timer1Zombie3B" are both configured as "Highlight")

Blinking is not a feature of highlight.  There are if the camera is on 'unused' the position information on a spawn will not be used (this is done when a monster spawns somewhere unknown, like near an investigator).  If it is on 'highlight' it will display a marker or monster image on the board at the set location (for MoM it will always be a monster image).
If you want an additional blinking feature, please explain how you would like this to work.

Thanks for the clarification!
How do you achieve the "Blinking" (the growning and shrinking two circles) with Event "Investigators" and Event "Prologue3B"?
I have trouble finding the spawned zombie on the map, so I would love to have the "blinking circles" around the monster token, just like it is done for the starting position for the investigators or the explore token, that leads to the laboratory and the source of the screaming.

Any event can do that, but spawns can't.  I could add some extra animation on the spawn monster icons to make them more obvious.  It should jump the camera though so that the monster is always in the centre.

In order to come up with a user story for the enhancement I played around with the scenario editor and with manual editing the quest.ini. As it turns out the feature I am looking for is already implemented.
When I add highlight=true to [SpawnTimer1Zombie3A] and [SpawnTimer1Zombie3B] the zombie that appears at 10 o'clock is highlighted ("blinking" with the two circles).
I edited the quest.ini manually. Can this also be configured using the scenario editor?

If not, my feature request (enhancement) would be "Please make this flag available in the scenario editor".
If it can be configured, please tell me how and then this issue can be closed. (Although adding it for those spawning zombies in "The Fall of House Lynch" would be nice).

That behaviour isn't intentional.  I'll see if I can make a better way to animate the monster image.


Use CREATE_ALWAYS instead of CREATE_NEW

CREATE_ALWAYS is better than CREATE_NEW for dir locking IMHO, because lockfile.lfs may be not deleted in some cases.

Coverage increased (+0.1%) to 80.244% when pulling 1f298b12cda03fbc2a6c06ae1f9e7d98b6d5624a on cloudwu:patch-1 into 1dfb8c41e8a7e689959baeaf2961437db9615f74 on keplerproject:master.

Coverage increased (+0.1%) to 80.244% when pulling 1f298b12cda03fbc2a6c06ae1f9e7d98b6d5624a on cloudwu:patch-1 into 1dfb8c41e8a7e689959baeaf2961437db9615f74 on keplerproject:master.

@cloudwu I'm not too familiar with the Windows API, but from what I'm reading here my understanding is that the use of CREATE_NEW is deliberate, in order to fail in case a lockfile from another concurrent execution already exists. If we used CREATE_ALWAYS here, then two concurrent executions would be able to acquire the lock.
I'm closing this for now, but feel free to reopen if my understanding is not correct.

The exclusive here is guaranteed by GENERIC_WRITE rather than the existence of the file "lockfile.lfs" .  windows doesn't allow two or more concurrent execution open the file with  GENERIC_WRITE  at the same time.
It's easier to fail to delete the file "lockfile.lfs" in windows, although we set FILE_FLAG_DELETE_ON_CLOSE.  I found many times my app can't delete the file "lockfile.lfs" in windows after exit , so I think we should change CREATE_NEW to CREATE_ALWAYS (or OPEN_ALWAYS) . The lock can still work whether we delete "lockfile.lfs" last time.

@cloudwu Thank you for the clarification! I fixed the conflict and merged your commit manually!


<EMAIL_ADDRESS>Protocol error (Target.createTarget): Target closed

Puppeteer version: 5.2.1
Platform / OS version: Centos7
Node.js version: v12.18.2
@jeresig @envoked @benatkin @slaskis @neerajdotname
After successfully installing<EMAIL_ADDRESS>the project can also be started normally, but Chromium cannot be opened, the error message is as follows
(node:3216) UnhandledPromiseRejectionWarning: Error: Protocol error (Target.createTarget): Target closed.

code show as below:
const browser = config.initPuppeteer.browser
const context = await browser.createIncognitoBrowserContext()
const page = await context.newPage()

The above code can run normally in<EMAIL_ADDRESS>you want to run on<EMAIL_ADDRESS>the code needs to be changed to the following code
const browser = config.initPuppeteer.browser
const page = await browser.newPage()

I want to know why this is the createIncognitoBrowserContext method will throw such an error after the puppeteer version is upgraded

I was able to reproduce on debian, node 10, and tried both v5.3.0 and v5.2.1.
I used the example code from the puppeteer docs:
(async () => {
  const browser = await puppeteer.launch();
  // Create a new incognito browser context.
  const context = await browser.createIncognitoBrowserContext();
  // Create a new page in a pristine context.
  const page = await context.newPage();
  // Do stuff
  await page.goto('https://example.com');
})();

Here was the full error:
(node:593) UnhandledPromiseRejectionWarning: Error: Protocol error (Target.createTarget): Target closed.
    at Promise (/root/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:71:63)
    at new Promise (<anonymous>)
    at Connection.send (/root/node_modules/puppeteer/lib/cjs/puppeteer/common/Connection.js:70:16)
    at Browser._createPageInContext (/root/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:221:53)
    at BrowserContext.newPage (/root/node_modules/puppeteer/lib/cjs/puppeteer/common/Browser.js:499:30)
    at /root/test.js:19:31
    at process._tickCallback (internal/process/next_tick.js:68:7)

Seems like the method and parameters were passed in correctly in Connection.js:
Method: Target.createTarget
Params: { url: 'about:blank', browserContextId: '15F8684F4F0D6A476DB23A6F70256DD5' }


Fake data CI integration

Just a quick question as to whether or not it's good practice to store an anonymized snapshot generated with DbToolsBundle, on a private GitHub repo, and use it for devs or unit testing a GitHb actions pipeline for example, instead of using fake data (using Foundry for example)?

I have no strong opinion on this. But, I would say that if you do that,

you have to be sure about your anonymization configuration (no sensitive data should remain)
you should probably be concerned about the size of your backup. If it's too big, is probably not a good idea

I think it could be a good idea if your backup represents only a small part of your snapshot: enough to have real good data to develop and to perform functional tests, but no too much to keep it small.

Ok I will test this in a la. Thanks


Is uint16 supported?

I do have uint16 integer data. Is this type supported as well?
Thanks!

Not as such. Pull requests invited!


suncord: init at 0-unstable-2024-07-23

Description of changes
Closes #324344

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

As from verticalSync/Suncord@90d984adca89ea7c98874d3d5ccfefd669476d29, Suncord was EOL'd.
Closing pull request


Flip Effect Card

Flip Effect Card using HTML and CSS

Please add the GSSOC tag and Assign me the issue.
Thank You.

assign me in the issue

assign me in the issue

Make your own issue...otherwise wait for us to make new issues


Bug with encoding special characters

I have problems with some french special characters in the html content like 'é' rendered with a '頻' or 'à' rendered with a ''࠻...
Html is encoded in utf-8.
This problem does not occur all the time but only with some words or maybe some strings of characters. I don't understand why…
Have you any idea ?
Thanx.

Please try the latest version again.

The latest version is here.
v0.999.4 - http://bibi.epub.link/my/name/is/bibi-0.999.4.zip


Is there a safe way to remove the single whitelist claim requirement?

Hi Liarco & Team:
I'm very hesitant to make changes to the SC, but we would like to remove the requirement that a whitelisted user can only make 1 transaction.  Here is the original and then my suggested edits.  Any feedback would be immensely appreciated.  Also would the 'bytes32[] calldata _merkleProof' be removed at the top?  I don't think so, and it should just be whitelistClaimed functions.  It also doesn't seem like there are any changes necessary in other places of the SC.
ORIGINAL
  function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
    // Verify whitelist requirements
    require(whitelistMintEnabled, 'The whitelist sale is not enabled!');
    require(!whitelistClaimed[_msgSender()], 'Address already claimed!');
    bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');
    whitelistClaimed[_msgSender()] = true;
    _safeMint(_msgSender(), _mintAmount);
  }

Also at the top exists:    mapping(address => bool) public whitelistClaimed;
SUGGESTED CHANGE
 function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof) public payable mintCompliance(_mintAmount) mintPriceCompliance(_mintAmount) {
    // Verify whitelist requirements
    require(whitelistMintEnabled, 'The whitelist sale is not enabled!');

    bytes32 leaf = keccak256(abi.encodePacked(_msgSender()));
    require(MerkleProof.verify(_merkleProof, merkleRoot, leaf), 'Invalid proof!');

    _safeMint(_msgSender(), _mintAmount);
  }

Is it also safe to remove this at the top:    mapping(address => bool) public whitelistClaimed;

Hi @joven1555, please open this as a discussion and add a reference to this issue since this is not a valid bug report.


Add browserify.add option

This accepts either a string or an array of files. See https://github.com/substack/node-browserify#baddfile-opts
Don't merge just yet, still testing this with my project!

Cool! Out of curiosity, what's the difference between add() and the entries option?


how can we use this in exsisting project ?

Boilerplates are for generating new applications. Are you using the Ignite CLI ? (https://github.com/infinitered/ignite)

yes, already created project using this..
now How  can I run this on expo?

to run locally just type yarn start. To publish to Expo.io you can download their XDE that allows you to publish to their site. https://www.github.com/expo/xde/releases

Did that work? Can I close this issue?


Investigate Rules Engine BB Test Failures

Investigate/address failures.  From last night's blackbox test run:

08:04:22 support-rulesengine
08:04:22
08:04:22 ❏ rules
08:04:22 ↳ Create a rule
08:04:22   POST http://edgex-support-rulesengine:48075/api/v1/rule [errored]
08:04:22      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:22   2. Status code is 200
08:04:22   3. Content-Type is present
08:04:22   4. Response body is correct
08:04:22
08:04:22 ↳ Create a rule
08:04:23   POST http://edgex-support-rulesengine:48075/api/v1/rule [errored]
08:04:23      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23   6. Status code is 200
08:04:23   7. Response time is less than 5000ms
08:04:23   8. Content-Type is present
08:04:23   9. Response body is correct
08:04:23
08:04:23 ↳ List all rule
08:04:23   GET http://edgex-support-rulesengine:48075/api/v1/rule [errored]
08:04:23      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23  11⠄ JSONError in test-script
08:04:23
08:04:23 ↳ Delete rule by name
08:04:23   DELETE http://edgex-support-rulesengine:48075/api/v1/rule/name/motortoofastsignal [errored]
08:04:23      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23  13. Status code is 200
08:04:23  14. Response time is less than 800ms
08:04:23  15. Content-Type is present
08:04:23  16. Response body is correct
08:04:23
08:04:23 ┌─────────────────────────┬──────────┬──────────┐
08:04:23 │                         │ executed │   failed │
08:04:23 ├─────────────────────────┼──────────┼──────────┤
08:04:23 │              iterations │        1 │        0 │
08:04:23 ├─────────────────────────┼──────────┼──────────┤
08:04:23 │                requests │        4 │        4 │
08:04:23 ├─────────────────────────┼──────────┼──────────┤
08:04:23 │            test-scripts │        8 │        1 │
08:04:23 ├─────────────────────────┼──────────┼──────────┤
08:04:23 │      prerequest-scripts │        5 │        0 │
08:04:23 ├─────────────────────────┼──────────┼──────────┤
08:04:23 │              assertions │       11 │       11 │
08:04:23 ├─────────────────────────┴──────────┴──────────┤
08:04:23 │ total run duration: 375ms                     │
08:04:23 ├───────────────────────────────────────────────┤
08:04:23 │ total data received: 0B (approx)              │
08:04:23 └───────────────────────────────────────────────┘
08:04:23
08:04:23    #  failure         detail
08:04:23
08:04:23  01.  Error
08:04:23                       getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23                       at request
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  02.  AssertionError  Status code is 200
08:04:23                       expected { Object (id, _details, ...) } to have property 'code'
08:04:23                       at assertion:0 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  03.  AssertionError  Content-Type is present
08:04:23                       expected response to have header with key 'Content-Type'
08:04:23                       at assertion:1 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  04.  AssertionError  Response body is correct
08:04:23                       object tested must be an array, a map, an object, a set, a string, or a weakset, but undefined given
08:04:23                       at assertion:2 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  05.  Error
08:04:23                       getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23                       at request
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  06.  AssertionError  Status code is 200
08:04:23                       expected { Object (id, _details, ...) } to have property 'code'
08:04:23                       at assertion:0 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  07.  AssertionError  Response time is less than 5000ms
08:04:23                       expected undefined to be a number or a date
08:04:23                       at assertion:1 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  08.  AssertionError  Content-Type is present
08:04:23                       expected response to have header with key 'Content-Type'
08:04:23                       at assertion:2 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  09.  AssertionError  Response body is correct
08:04:23                       object tested must be an array, a map, an object, a set, a string, or a weakset, but undefined given
08:04:23                       at assertion:3 in test-script
08:04:23                       inside "rules / Create a rule"
08:04:23
08:04:23  10.  Error
08:04:23                       getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23                       at request
08:04:23                       inside "rules / List all rule"
08:04:23
08:04:23  11.  JSONError
08:04:23                       Unexpected token u in JSON at position 0
08:04:23                       at test-script
08:04:23                       inside "rules / List all rule"
08:04:23
08:04:23  12.  Error
08:04:23                       getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:23                       at request
08:04:23                       inside "rules / Delete rule by name"
08:04:23
08:04:23  13.  AssertionError  Status code is 200
08:04:23                       expected { Object (id, _details, ...) } to have property 'code'
08:04:23                       at assertion:0 in test-script
08:04:23                       inside "rules / Delete rule by name"
08:04:23
08:04:23  14.  AssertionError  Response time is less than 800ms
08:04:23                       expected undefined to be a number or a date
08:04:23                       at assertion:1 in test-script
08:04:23                       inside "rules / Delete rule by name"
08:04:23
08:04:23  15.  AssertionError  Content-Type is present
08:04:23                       expected response to have header with key 'Content-Type'
08:04:23                       at assertion:2 in test-script
08:04:23                       inside "rules / Delete rule by name"
08:04:23
08:04:23  16.  AssertionError  Response body is correct
08:04:23                       object tested must be an array, a map, an object, a set, a string, or a weakset, but undefined given
08:04:23                       at assertion:3 in test-script
08:04:23                       inside "rules / Delete rule by name"
08:04:24 The SECURITY_IS_ON variable is not set. Defaulting to a blank string.
08:04:26 newman
08:04:26
08:04:26 support-rulesengine
08:04:26
08:04:26 ❏ rules_error_5xx
08:04:26 ↳ Fail to create a rule
08:04:26   POST http://edgex-support-rulesengine:48075/api/v1/rule [errored]
08:04:26      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:26   2. Status code is 503
08:04:26   3. Response time is less than 800ms
08:04:26   4. Content-Type is present
08:04:26   5.   Error
08:04:26                      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:26                      at request
08:04:26                      inside "rules_error_5xx / Fail to create a rule"
08:04:26
08:04:26  2.  AssertionError  Status code is 503
08:04:26                      expected { Object (id, _details, ...) } to have property 'code'
08:04:26                      at assertion:0 in test-script
08:04:26                      inside "rules_error_5xx / Fail to create a rule"
08:04:26
08:04:26  3.  AssertionError  Response time is less than 800ms
08:04:26                      expected undefined to be a number or a date
08:04:26                      at assertion:1 in test-script
08:04:26                      inside "rules_error_5xx / Fail to create a rule"
08:04:26
08:04:26  4.  AssertionError  Content-Type is present
08:04:26                      expected response to have header with key 'Content-Type'
08:04:26                      at assertion:2 in test-script
08:04:26                      inside "rules_error_5xx / Fail to create a rule"
08:04:26
08:04:26  5.  AssertionError  Content-Type is text/plain
08:04:26                      object tested must be an array, a map, an object, a set, a string, or a weakset, but undefined given
08:04:26                      at assertion:3 in test-script
08:04:26                      inside "rules_error_5xx / Fail to create a rule"
08:04:27 The SECURITY_IS_ON variable is not set. Defaulting to a blank string.
08:04:30 newman
08:04:30
08:04:30 support-rulesengine
08:04:30
08:04:30 ❏ ping
08:04:30 ↳ Test service providing an indication that the service is available.
08:04:30   GET http://edgex-support-rulesengine:48075/api/v1/ping [errored]
08:04:30      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:30   2. Status code is 200
08:04:30   3. Response time is less than 800ms
08:04:30   4. Content-Type is present
08:04:30   5. Response body is correct
08:04:30
08:04:30 ┌─────────────────────────┬──────────┬──────────┐
08:04:30 │                         │ executed │   failed │
08:04:30 ├─────────────────────────┼──────────┼──────────┤
08:04:30 │              iterations │        1 │        0 │
08:04:30 ├─────────────────────────┼──────────┼──────────┤
08:04:30 │                requests │        1 │        1 │
08:04:30 ├─────────────────────────┼──────────┼──────────┤
08:04:30 │            test-scripts │        2 │        0 │
08:04:30 ├─────────────────────────┼──────────┼──────────┤
08:04:30 │      prerequest-scripts │        1 │        0 │
08:04:30 ├─────────────────────────┼──────────┼──────────┤
08:04:30 │              assertions │        4 │        4 │
08:04:30 ├─────────────────────────┴──────────┴──────────┤
08:04:30 │ total run duration: 175ms                     │
08:04:30 ├───────────────────────────────────────────────┤
08:04:30 │ total data received: 0B (approx)              │
08:04:30 └───────────────────────────────────────────────┘
08:04:30
08:04:30   #  failure         detail
08:04:30
08:04:30  1.  Error
08:04:30                      getaddrinfo ENOTFOUND edgex-support-rulesengine edgex-support-rulesengine:48075
08:04:30                      at request
08:04:30                      inside "ping / Test service providing an indication that the service is available."
08:04:30
08:04:30  2.  AssertionError  Status code is 200
08:04:30                      expected { Object (id, _details, ...) } to have property 'code'
08:04:30                      at assertion:0 in test-script
08:04:30                      inside "ping / Test service providing an indication that the service is available."
08:04:30
08:04:30  3.  AssertionError  Response time is less than 800ms
08:04:30                      expected undefined to be a number or a date
08:04:30                      at assertion:1 in test-script
08:04:30                      inside "ping / Test service providing an indication that the service is available."
08:04:30
08:04:30  4.  AssertionError  Content-Type is present
08:04:30                      expected response to have header with key 'Content-Type'
08:04:30                      at assertion:2 in test-script
08:04:30                      inside "ping / Test service providing an indication that the service is available."
08:04:30
08:04:30  5.  AssertionError  Response body is correct
08:04:30                      object tested must be an array, a map, an object, a set, a string, or a weakset, but undefined given
08:04:30                      at assertion:3 in test-script
08:04:30                      inside "ping / Test service providing an indication that the service is available."
08:04:30 Info:Rulesengine Test Completed.

The rules-engines container didn't start while running the related test cases.
The rules-engines log contains the below error.

[2019-11-04 12:06:48.672] boot - 6 ERROR [main] --- ZeroMQEventSubscriber: Unable to get a ZMQ subscriber.  Error:  org.zeromq.ZMQException: edgex-app-service-configurable-rules: Name does not resolve : errno 49
[2019-11-04 12:06:48.715] boot - 6  INFO [main] --- ZeroMQEventSubscriber: Watching for new exported Event messages...
[2019-11-04 12:06:48.757] boot - 6 ERROR [main] --- ZeroMQEventSubscriber: Unable to receive messages via ZMQ: socket is null
[2019-11-04 12:06:48.773] boot - 6 ERROR [main] --- ZeroMQEventSubscriber: Shutting off Event message watch due to error!

Full error log rulesengines.log

May be related.

https://github.com/edgexfoundry/blackbox-testing/pull/321
https://github.com/edgexfoundry/blackbox-testing/pull/320

It looks like the issue with configuration. The errors seem to be stemming from the Docker container not be able to route requests to the container  edgex-app-service-configurable-rules which does not exist the container name probably should be edgex-app-service-configurable.
https://github.com/edgexfoundry/support-rulesengine/blob/35f17d8e59789244a7d634909f958bd3b73e8e81/docker-files/application.properties#L42

It looks like the issue with configuration.

@lenny-intel introduced these changes inhttps://github.com/edgexfoundry/support-rulesengine/pull/59; can @lenny-intel review/fix?

^^ It appears that change may depend on the following PR which isn't merged yet
https://github.com/edgexfoundry/developer-scripts/pull/170/files

Yes, I will need to add those same changes to the BB tests compose file.


Issue with types since version 7.0.1

Description
When installing graphql-request version 7.0.1 to version 7.1.0 we are getting a typescript compilation error with the following message:
Cannot find module 'graphql-request' or its corresponding type declarations.
  There are types at 'node_modules/graphql-request/build/entrypoints/main.d.ts', but this result could not be resolved under your current 'moduleResolution' setting. Consider updating to 'node16', 'nodenext', or 'bundler'.

1 import { GraphQLClient as GraphQLRequestClient } from "graphql-request";

Reproduction Steps/Repo Link
Update to 7.0.1 in the package.json
Run npm install
Run npm run typescript:check

Your setup likely does not support ESM or package exports. You can find some more context here for package exports: https://github.com/jasonkuhrt/graphql-request/discussions/863


[WIP] Add revision validation on top of v1beta1 types

cc @dgerd

WIP until: https://github.com/mattmoor/serving/pull/1


Add new method to get device by nickname

Currently to retrieve a specific device, the user needs to know the index of the Device in the device list. This requires either to print devices first using pb.devices or to retrieve all devices and use a loop.
As the pushbullet.py package retrieves all devices on initial connection, it is easier to provide a helper method for the end user.

InvalidKeyError seemed like the best use case for when no devices are returned.
Also, not submitted a new feature before, so appreciate if this isn't something you want to include.

Very useful! Thanks!


Add ADC Tutorial into MkDocs

Coverage remained the same at 77.673% when pulling 20ca9e79ed4bcae95907ba0cb0a7db11e911fa9d on brentjsimon:MkDocs into 5ab1d1064a339cb0a6fb420814c33a74f1392759 on kammce:master.

Give a title with some meaning. Resolves is not helpful. That should be in the description of the commit.

Closing this PR. We don't take from others documentation. We must use and write our own.


add error handler for new mssError error in dash v2.6.8

Title says it all

Failing because it needs #248


"Fântâna Mare", "Cotu Băii", "Praxia" and "Spătărești" villages are listed in the drop-down menu.

Description:
The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions:
The website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Step 1
Write in the search bar "Fântâna Mare".

Expected results
The location is listed in the drop-down menu as "Sat Fântâna Mare SUCEAVA (Fântâna Mare)".

Step 2
Write in the search bar "Cotu Băii".

Expected results
The location is listed in the drop-down menu as "Sat Cotu Băii SUCEAVA (Fântâna Mare)".

Step 3
Write in the search bar "Praxia".

Expected results
The location is listed in the drop-down menu as "Sat Praxia SUCEAVA (Fântâna Mare)".

Step 4
Write in the search bar "Spătărești".

Expected results
The location is listed in the drop-down menu as "Sat Spătărești SUCEAVA (Fântâna Mare)".


How do i stop DEBUG messages in Console while running bluepill

I have xcode 9.2 for which the existing bluepill release was not working, so i cloned xcode-9.2 branch and build that code so i got bluepill exec in Debug. When i run it i am getting DEBUG logs also in the console output , how can i restrict that to display only INFO messages.

The DEBUG logs are a compile-time option that in theory should be turned off when you compile it outside of Xcode (using the scripts/bluepill.sh shell script). Can you try compiling it that way? Otherwise, look for enableDebugOutput and manually turn it off in the code.

Thank you, i had not run xcodebuild with release configuration. I had figured that out and ran the xcodebuild using release configuration.
Thank you for your help.


linux-yocto: qcom-armv8a: enable NT36672E panel and PWM on QCM6490

Enable Novatek NT36672E panel and PWM for backlight on QCM6940.

@TanguduSrihitha @adhudase
[INFO]: the following symbols were not found in the active configuration:
- CONFIG_DRM_PANEL_NOVATEK_NT36672E
Please submit patches adding the panel driver


Update readme

Added new plugin.

Hello @DavidBernal, conflict, could you fix it please?

@neoziro Done.

Thanks!


MS5611 sensor library

Library for MS5611 sensor, used in GY-63 module,

Description

Library that allows to read MS5611 sensor data via I2C.

Motivation and Context

There was no library available for this sensor

How Has This Been Tested?

I used ESP32 DEV Kit v1 with GY-63 module having MS5611 sensor
I run reading data for 2h with debugger attached

Screenshots

Types of changes

[ ] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[ ] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (work on Unit Tests, has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: rkalwak sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

What is the next step? I haven't worked with github flow before

@rkalwak just waiting for a last pass from @Ellerbach 😉

@rkalwak thanks a lot for your contribution!


Unix ODBC Driver

To support more BI platform and tools, the unix ODBC driver version is required to be enabled on the Linux/Unix based application and platform which consume Kylin through ODBC protocol

When will be supported?  @lukehan


feat(cluster connect): create service registry connection

rhoas cluster connect should create a serviceregistry connection along with KafkaConnection.
Closes #
Verification Steps

Run rhoas kafka use --name <name of kafka instance>.
Run rhoas service-registry use --id <id of registry instance>.
Running the cluster connect command should create connections from context.

./rhoas cluster connect

Running the cluster connect command with ignore-context flag should prompt for values.

./rhoas cluster connect --ignore-context

### Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [ ] New feature (non-breaking change which adds functionality)
- [X] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] Documentation change
- [ ] Other (please specify)

### Checklist

- [ ] Documentation added for the feature
- [ ] CI and all relevant tests are passing
- [ ] Code Review completed
- [ ] Verified independently by reviewer

Rebase needed. Left some comments for discussion.
Good progress overall

To simplify reviews lets create PR agaist this branch PRs from now so we can see how this evolves and do not overload feature branch with comments

To simplify reviews lets create PR agaist this branch PRs from now so we can see how this evolves and do not overload feature branch with comments

Okay, will do

@rkpattnaik780 ping me once you would like to work on context mode - we can discuss some approaches/backwards compatibility etc.

Original commits:
pick 0806eca7 feat(cluster connect): create service registry connection
pick 384a451a fix: add method to watch service registry status
pick 88c74e1e refactor(cluster): move methods to respective packages
pick 9eab1ee2 fix: resolve merge conflicts
pick 865a4987 feat: add explicit mode
pick 4215487a docs: fix erroneous message for src


dependencies should be setup more flexible

I suggest to specify the dependencies here
https://github.com/SPARQL-Anything/PySPARQL-Anything/blob/main/pyproject.toml#L34
more relaxed, in order to use your library more easy in other projects.
See also -> caret notification: https://python-poetry.org/docs/dependency-specification/#caret-requirements

Hi Sebastian,
Thank you for your suggestion! We had encountered the same problem while preparing a Colab demo for PySPARQL.
When it comes to determining the range of the dependency to specify, do you have any specific methods in mind?
Or must it be a trial and error process?

Most of the python packages adhere to semantic versioning so it should be save to use ^X where X is the latest major version.

Maybe lets discuss this on the demo and poster session :-)


Use WinGet Releaser for automated releases to WinGet

The documentation in https://github.com/diskuv/dkml-installer-opam/blob/main/installer/winget/README.md is quite complex and requires a lot of maintenance. https://github.com/vedantmgoyal2009/winget-releaser is a GitHub workflow that will automatically create pull requests to winget-pkgs.
See vim's PR for example: https://github.com/microsoft/winget-pkgs/pull/88554

I hadn't monitored this repository and did not notice your suggestion. Thanks! I'll have a look at it if the release cadence increases.


Error on install: unable to parse import map JSON

I have deno 1.10.3 installed and working properly with other modules. I'm trying to install Lume, so I run the standard installation command:
deno run -A https://deno.land/x/lume/install.js

After deno finishes downloading the files, I get this error:
error: Unable to parse import map JSON

I've tried re-installing deno.
I've installed other packages that use import_map.json with no problems.
Being new to deno, I'm not sure how to troubleshoot from here.

The last stable version of Deno is 1.10.3. Are you using an unstable version?
In Deno 1.10.3 it works fine:

My mistake. 1.10.4 was a typo.
Yes, I am using Deno 1.10.3 :)

My mistake. 1.10.4 was a typo.
Yes, I am using Deno 1.10.3 :)

Can i have more info? operating system, a screenshot or something?

Totally! Here's a video.
I'm on Windows 10 and just upgrade Deno earlier today. It may not be an issue with Lume at all, but I thought I would check after exhausting my other troubleshooting.
https://user-images.githubusercontent.com/43307367/120843443-b70cb780-c533-11eb-9ed8-9efb97b39b2d.mp4

Wow, thanks!
I didn't test the installation process on Windows. Let me try

I guess it’s related to join() and we should use posix.join() instead.

Yes, thanks @valtlai It was that.
@bradeneast Can you try this?
deno run -A https://raw.githubusercontent.com/lumeland/lume/master/install.js

That worked. I'm glad it wasn't a waste of your time.
Thanks very much!

Thanks for reporting.
I'm going to release a new version now, then you can run "lume upgrade".


rebar ct doesn't use app.config appropriately

In rebar_ct.erl, make_cmd/3 creates a command line containing "-config app.config -ct_config test.config".
Since this change:
https://github.com/rebar/rebar/commit/9cf7cf7cb06e0f2546b3cd37be0a9f8566312fc4#diff-8fa99bb3b871b413798c098ae723a998R195
...this no longer works as expected: ct_run converts -config into -ct_config; this means that there doesn't appear to be a way to provide an app config to the tests.

Closing as #411 has since been merged


Is command line working on Windows?

I have installed cpx using npm i cpx -D but when I try to run it I got message 'cpx' is not recognized as an internal or external command

Yes. I'm a Windows user.
npm does not install the packages into the location which is in PATH env variable if you didn't specify --global option. You can use the packages in npm-scripts or with long name such as ./node_modules/.bin/cpx.

I have realised that later, thanks @mysticatea


How to prevent break when sass error ?

I have use gulp-watch-sass but when i typing error in scss and build gulp is gulp task auto finish :( !!
http://prntscr.com/h0ulgz
i try use plumber plugin but cannot resume task
http://prntscr.com/h0um2d
It cannot resume when error
Sorry, i'm not good english ! :(
Can you help me ?

Weird, I've been using it with plumbersuccessfully. Could you post your actual code (instead of images), plus the versions of Node, NPM and Gulp you're using? So that I can try to replicate locally.

I have found a way to run continuously
http://prntscr.com/h0ykya
I changed sass.logError to function and content console.log(error)
Thank you !! :)


Problem trying to display MultiPolygon as an overlay

multipolygon.geojson.zip
In the code below the line if let geo = geometries?[0] as? MultiPolygon { is giving me the following error:
Generic parameter 'T' count not be inferred in case to 'MultiPolygon<_>'
Xcode 8.3 prompts me to change MultiPolygon to MultiPolygon<Polygon> but execution never makes it past this 'if' statement when I update it.
Any ideas? I'm relatively new to Swift.
Thank you!
func addOverlay() {
    if let geoJSONURL = Bundle.main.url(forResource: "multipolygon", withExtension: "geojson") {
        do {
            let geometries = try Geometry.fromGeoJSON(geoJSONURL)
            if let geo = geometries?[0] as? MultiPolygon {
                if let shapesCollection = geo.mapShape() as? MKShapesCollection {
                    let shapes = shapesCollection.shapes
                    for shape in shapes {
                        if let polygon = shape as? MKPolygon {
                            mapView.add(polygon)
                        }
                    }
                }
            }
        } catch {
            print("Unable to load geojson data")
        }
    }
}

Hi @joeuelk,
We ddi some changes not so long ago to add support for features, and I didn't realise that it need more changes to make it clear what Geometry.fromGeoJSON actually returns.
It will return an array of features, that may contain geometries inside it.
please try the following:
...
if let geoJSONURL = Bundle.main.url(forResource: "multipolygon", withExtension: "geojson") {
        do {
                let features = try Geometry.fromGeoJSON(geoJSONURL)
                if let geo = features?.first?.geometries?.first as? MultiPolygon<Polygon> {
...

Thanks much for the quick response. I think that did it!
Now I'm on to figuring how how to make the overlay actually appear on the map.

No problems!
You'll need an overlay renderer for that. You add the overlay to the map and then provide a renderer for it, via the delegate method
func mapView(_ mapView: MKMapView, rendererFor overlay: MKOverlay) -> MKOverlayRenderer


[Global Procedure Request] - codeunit 7312 "Create Pick" - local procedure to global procedure

Dear Support,
Could You please modify the CreateNewWhseDoc from local procedure to global proceedure in codeunit 7312 "Create Pick"?
<<<<< Original >>>>>

 local procedure CreateNewWhseDoc(OldNo: Code[20]; OldSourceNo: Code[20]; OldLocationCode: Code[10]; var FirstWhseDocNo: Code[20]; var LastWhseDocNo: Code[20]; var NoOfSourceDoc: Integer; var NoOfLines: Integer; var WhseDocCreated: Boolean)

<<<<< Modified >>>>>

procedure CreateNewWhseDoc(OldNo: Code[20]; OldSourceNo: Code[20]; OldLocationCode: Code[10]; var FirstWhseDocNo: Code[20]; var LastWhseDocNo: Code[20]; var NoOfSourceDoc: Integer; var NoOfLines: Integer; var WhseDocCreated: Boolean)

Additional context
After an upgrade, we have to reuse this from a custom procedure, and we can not call it due to it is a local procedure.
Internal work item: AB#551201

Any updates on this?

Already implemented for #27624 . To be released in the next major (26).


Numbers missing from sliders

Just realized today that the numbers on the sliders somehow got grayed out, not sure if it was from the theme update.

Isn't that big of a deal, maybe we just remove them altogether since the number on top of the slider already indicates what you need to know?

Agreed, enhancement is more appropriate here :). It took me a while to notice too. I don't think it is a very critical issue.

Fixed with #54.


[libbson, mongo-c-driver] Convert to vcpkg.json.

Fixes source writes rather than using DISABLE_PARALLEL_CONFIGURE
Fixes to use modern vcpkg helpers.
Fixes to install to the correct include path rather than moving the resulting includes after the fact.
Remove do-nothing renames.
Fixes to make static cmake configs find the correct bits.

wish merge to master asap


[Bug]: Initializing VersionText.cfg and ProgressText.cgf due to regional settings

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[ ] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
In Denmark the regional setting for decimal seperator is comma (,) instead of point (.). This breaks the defailt values float values for Scale and LineSpacing in VersionText.cfg and VersionText.cfg.
When changing the decimal seperator to point, the start screens loads without exceptions.
E.g. in Dependencies/MelonStartScreen/UI/UI_Theme.cs
[TomlPrecedingComment("Scale of the Text")]
internal float Scale = 1f;

[12:13:16.656] [MelonStartScreen] Initializing...
[12:13:16.697] [MelonStartScreen] Using Start Screen Theme: "Default"
[12:13:16.729] Error while Loading Preferences from C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\UserData\MelonStartScreen\Themes\Default\ProgressText.cfg: Tomlet.Exceptions.TomlMissingNewlineException: Expecting a newline character at the end of a statement on line 9, but found an unexpected ','
   at Tomlet.TomlParser.Parse(String input) in /_/Tomlet/TomlParser.cs:line 91
   at Tomlet.TomlParser.ParseFile(String filePath) in /_/Tomlet/TomlParser.cs:line 29
   at MelonLoader.Preferences.IO.File.Load() in D:\a\MelonLoader\MelonLoader\MelonLoader\Preferences\IO\File.cs:line 84
   at MelonLoader.MelonPreferences.LoadFileAndRefreshCategories(File file, Boolean printmsg) in D:\a\MelonLoader\MelonLoader\MelonLoader\Preferences\MelonPreferences.cs:line 313
[12:13:16.730] Defaulting C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\UserData\MelonStartScreen\Themes\Default\ProgressText.cfg to Fallback Functionality to further avoid File Corruption...
[12:13:16.736] Error while Loading Preferences from C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\UserData\MelonStartScreen\Themes\Default\VersionText.cfg: Tomlet.Exceptions.TomlMissingNewlineException: Expecting a newline character at the end of a statement on line 14, but found an unexpected ','
   at Tomlet.TomlParser.Parse(String input) in /_/Tomlet/TomlParser.cs:line 91
   at Tomlet.TomlParser.ParseFile(String filePath) in /_/Tomlet/TomlParser.cs:line 29
   at MelonLoader.Preferences.IO.File.Load() in D:\a\MelonLoader\MelonLoader\MelonLoader\Preferences\IO\File.cs:line 84
   at MelonLoader.MelonPreferences.LoadFileAndRefreshCategories(File file, Boolean printmsg) in D:\a\MelonLoader\MelonLoader\MelonLoader\Preferences\MelonPreferences.cs:line 313
[12:13:16.736] Defaulting C:\Program Files (x86)\Steam\steamapps\common\BloonsTD6\UserData\MelonStartScreen\Themes\Default\VersionText.cfg to Fallback Functionality to further avoid File Corruption...

Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log

Aleks

[VersionText]
Is_ALPHA_PreRelease = true
# UnityEngine.FontStyle of the Text  ( "Normal" | "Bold" | "Italic" | "BoldAndItalic" )
Style = "Bold"
# Is this Rich Text  ( true | false )
RichText = true
# Size of the Text
TextSize = 24
# Scale of the Text
Scale = 1.0
# Font of the Text
Font = "Arial"
# Scale of Line Spacing of the Text
LineSpacing = 1.0
# RGBA Color of the Text
TextColor = [ 255,0, 255,0, 255,0, 255,0, ]
# Text to be Displayed
Text = "<loaderName/> v<loaderVersion/> Open-Beta"
# Toggles the Element  ( true | false )
Enabled = true
# Position of the Element
Position = [ 0, 16, ]
# Size of the Element
Size = [ 0, 0, ]
# Anchor of the Text relative to Itself  ( "None" | "UpperLeft" | "UpperCenter" | "UpperRight" | "MiddleLeft" | "MiddleCenter" | "MiddleRight" | "LowerLeft" | "LowerCenter" | "LowerRight" )
Anchor = "MiddleCenter"
# Anchor of the Text relative to the Screen  ( "None" | "UpperLeft" | "UpperCenter" | "UpperRight" | "MiddleLeft" | "MiddleCenter" | "MiddleRight" | "LowerLeft" | "LowerCenter" | "LowerRight" )
ScreenAnchor = "MiddleCenter"

I believe this is fixed in 0.6.1


so much memory leak by leakcany

I have realised that repair of memory is very important work, in the repair of memory as well as to make the code more simple and other except UserEvent are trying to repair


DataFrame.transform operates per-element when transform function is type-annotated

DataFrame.transform is behaving differently than its pandas equivalent when its return type is annotated. Consider the example below.
>>> import databricks.koalas as ks
>>> import numpy as np
>>> import pandas as pd
>>>
>>> pdf = pd.DataFrame([[1, 2, 3, 4], [2, 3, 4, 5]], columns=("a", "b", "c", "d"))
>>> kdf = ks.DataFrame([[1, 2, 3, 4], [2, 3, 4, 5]], columns=("a", "b", "c", "d"))
>>>
>>> def normalize(v):
...     return v / sum(v)
...
>>> pdf.transform(normalize)
          a    b         c         d
0  0.333333  0.4  0.428571  0.444444
1  0.666667  0.6  0.571429  0.555556
>>> kdf.transform(normalize)
          a    b         c         d
0  0.333333  0.4  0.428571  0.444444
1  0.666667  0.6  0.571429  0.555556
>>>
>>> def typed_normalize(v) -> ks.Series[np.float64]:
...     return v / sum(v)
...
>>> pdf.transform(typed_normalize)
          a    b         c         d
0  0.333333  0.4  0.428571  0.444444
1  0.666667  0.6  0.571429  0.555556
>>> kdf.transform(typed_normalize)
     a    b    c    d
0  1.0  1.0  1.0  1.0
1  1.0  1.0  1.0  1.0

Koalas version: 0.24.0
Numpy version: 1.18.0
Pandas version: 0.25.3

I believe expecting global aggregation within the function doesn't work in Koalas:
>>> def typed_normalize(v) -> ks.Series[np.float64]:
...     return v / sum(v)

because v will be multiple Series's as the segments of a whole Series v. I think the example above worked because it executed the shortcut path where it just uses pandas API (when the schema inference is required).
I think this limitation has to be clarified in the documentation at this moment.

Ah I see, yes clarifying in the documentation would be great. Thanks! I can confirm the non-shortcut path without type annotations does not work.
>>> kdf = ks.DataFrame(np.ones((2000, 1))
>>> 1 == sum(kdf.transform(normalize).to_numpy())
array([False])

Would it be possible to pass a koalas Series instead of a pandas Series to the transform function? Conceptually if we have a reference to the whole Series, then we can perform global aggregation on it?

Valid point. Problem is there are many missing APIs in Koalas at this moment.
My intention was that we should expose pandas APIs as are so people can work around via transform or apply, for some APIs Koalas currently does not support.

If we think about this case only, I think it can make sense to pass Koalas series but if we think about other APIs like groupby.apply(), it's difficult to pass Koalas series as is.
Probably we should revisit about this later. For now, I am sure you can work around via just looping Series in the Frame.

Thanks for the explanation Hyukjin, I understand the reasoning better now. Looking forward to a revisit in the future, I think it could be a very user friendly feature!