Forman doesn't show errors and logs of Procfile commands

My Procfile.https look like this:
web: thin start --ssl --ssl-key-file server.key --ssl-cert-file server.crt --port 3000 redis: redis-server worker: bundle exec rake resque:work QUEUE='*' scheduler: bundle exec rake resque:scheduler guard: guard -P livereload
and I just find out that running the first command - web using forman start -f Procfile.https
doesn't show the errors of this command, but when I run this line alone in terminal, I can see the exact errors.
Does foreman hide the errors, or maybe he doesn't even get those errors from his child commands

Am I clear enough? does anybody know what I'm talking about?

The output from thin is probably buffered, see https://stackoverflow.com/questions/29998728/what-stdout-sync-true-means
Drop this early in your app somewhere:
$stdout.sync = true
$stderr.sync = true

Drop this early in your app somewhere:
$stdout.sync = true
$stderr.sync = true

I'm having trouble with this.  I've been using foreman for years and all of my older apps have $stdout.sync = true in it - usually at the bottom of development.rb.  Fast forward to today with Rails 6.1, Ruby 2.7, and foreman 0.87.2, nothing seems to work.  development.rb and even as early as in config.ru - which I would guess is the earliest place you can put any code in a Rack app, like Rails.


Standardize Doxygen parameter formatting for systems O-Z

🦟 Bug fix
Follow up to https://github.com/gazebosim/gz-sim/pull/2183
Fixes the rest of the alphabet.
Summary
See #2183
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[x] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@osrf-jenkins run tests please

@mabelzhang could you fix the compiler warnings on BuoyancyEngine.hh?

Got distracted. Let's see the new CI...

CI is good. (The warnings are the same as those in other PRs.)

It would be great if we can backport this to gz-sim7


cannot read json file bug

I open C-REAL and it prompts for me to type in the JSON file's name (the name is "default.json" btw). After I type the name of the file and press enter, it says it cannot read it and the exe closes itself. At one point it did actually work.

This is the config file's code
{ 	"token": "TOKEN", 	"permissions": [ 		"A Gundam#9386" 	], 	"bomb_messages": { 		"random": 10, 		"fixed": [ 			"TEST", 	]}, 	"bot_permission": "2147483647", 	"after": [ 		["aCat", "TSAR BOMBA"], 		["aChannel", "TSAR BOMBA", "TSAR BOMBA"], 		["sn", "TSAR BOMBA"], 		["si", "https://i.insider.com/5452857ceab8ea170963f75c?width=700"] 	] }

fixed it


Update php

Build php

Blocked till @libgd 2.3.4 is released with https://github.com/libgd/libgd/commit/f4bc1f5c26925548662946ed7cfa473c190a104a

:beers: @BrewTestBot has triggered a merge.


Add wiki url

Could the api return the wiki url when requesting a ship ?

Sounds good to me, will be added soon

Property wikiUrl has been added to the api response


Get students for video

I think this can be closed now, yes?
[--- Commented from Asana.com
#commenter Zach Latta
---[aa]

I'm just going to close this.
[--- Commented from Asana.com
#commenter Zach Latta
---[aa]


V0.2.9

fixed bugs with refactored search code
fixed rendering of example notebooks in docs
fixed issue with labeling bonds as cross-boundary/not

Codecov Report

Merging #110 (13e514b) into master (d3018df) will increase coverage by 0.85%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #110      +/-   ##
==========================================
+ Coverage   90.05%   90.90%   +0.85%
==========================================
  Files           7        7
  Lines         362      396      +34
==========================================
+ Hits          326      360      +34
  Misses         36       36

Impacted Files
Coverage Δ

src/ExampleHelpers.jl
91.22% <100.00%> (+0.15%)
:arrow_up:

src/replace.jl
94.82% <100.00%> (+1.21%)
:arrow_up:

Continue to review full report at Codecov.

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


TRY: defer CPUMaterializeUpperBoundTileSizePass.

VMVX already defers it and LLVM CPU seems to compile with it deferred but it's not clear if this is required for performance.

🤷
who knows what all these numbers mean - nothing? something? 🤷 🤷 🤷 🤷 🤷 🤷 🤷 🤷 🤷 🤷


Reg\Events - Internal User can  view transfers

Description:
As an internal user, I want to see a grid of all transfers that have been reported by internal users
Acceptance Criteria:
Given I am on the main BCIERS dashboard
I have a Transfer tile (replacing the Registration tile; Internal users no longer have a registration tile)
Figma
Given that I click the link "Transfers", or the Transfer tile
Then I am brought to the transfers grid
Figma
The statuses for the grid are

to be transferred (if the effective date has not occurred yet)
transferred (if the effective date has occurred)

Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Definition of Ready (Note: If any of these points are not applicable, mark N/A)

[ ] User story is included
[ ] User role and type are identified
[ ] Acceptance criteria are included
[ ] Wireframes are included (if required)
[ ] Design / Solution is accepted by Product Owner
[ ] Dependencies are identified (technical, business, regulatory/policy)
[ ] Story has been estimated (under 13 pts)

·Definition of Done (Note: If any of these points are not applicable, mark N/A)

[ ] Acceptance criteria are tested by the CI pipeline
[ ] UI meets accessibility requirements
[ ] Configuration changes are documented, documentation and designs are updated
[ ] Passes code peer-review
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Ticket is ready to be merged to main branch
[ ] Can be demoed in Sprint Review
[ ] Bugs or future work cards are identified and created
[ ] Reviewed and approved by Product Owner

Notes:
Dependencies

Blocked by
Blocking

@patriciarussellCAS @Sepehr-Sobhani here is the refined ticket for the the internal users Transfer grid

@andrea-williams

Refinement Notes:

@andrea-williams to provide Dev Checklist

Until https://github.com/orgs/bcgov/projects/123/views/16?pane=issue&itemId=85282961&issue=bcgov|cas-registration|2427 is complete, this can only be tested by those with a cas_analyst role

Tested in dev. The grid is visible.


Wrong Belgium flag icon in Circle Flag set

Hi!
This flag is wrong for Belgium:
<Icon icon="circle-flags:be"  />

https://icon-sets.iconify.design/circle-flags/be/
However, the original set shows the right flag:
https://hatscripts.github.io/circle-flags/gallery (Search for "BE" or "Belgium")
Thanks!

Thanks for reporting.
Yes, that's a Belorussian flag. Must be a bug somewhere in import script.

Fixed.
Issue was caused by file flags/language/be.svg in icon set repository, which is a symbolic link pointing to flags/by.svg and it overrode import for flags/be.svg.


TLSv1.3 unexpected InfoCallback after handshake completed

Our Delphi SSL library uses info_callback to check handshake status, in particlar to detect renegotiaton for older TLS protocols.
With TLSv1.3, once the initial handshake is complete,  there is a second ICB SSL_handshake_start event, which logging shows precedes a New Session Ticket packet.  This ICB breaks our code, because we closed the connection to stop renegotiaton.   Fixed by ignoring it for TLSv1.3, but should it be called atall?
11:36:25:844 04326370 Start Ssl ReadBIO
11:36:25:856 04326370 ICB> SSL_handshake_start: where=00000010, state=before SSL initialization
11:36:25:864 04326370 ICB> SSL_CB_HANDSHAKE_START
lots cut
11:36:26:256 04326370 ICB> SSL_handshake_done: where=00000020, state=SSL negotiation finished successfully
11:36:26:264 04326370 ICB> SSL_CB_HANDSHAKE_DONE, Error ok
11:36:26:274 04326370 SslHandshakeDone(0) Error=916. Secure connection with TLSv1.3, cipher TLS_AES_256_GCM_SHA384, 256 secret bits (256 total), session reused=False
more cut
11:36:26:345 ProtoMsg: TLS 1.3, State: SSL negotiation finished successfully, Recv, DataLen: 1, Data= 16
!!! unexpected ICB follows
11:36:26:356 04326370 ICB> SSL_handshake_start: where=00000010, state=SSL negotiation finished successfully
11:36:26:362 ProtoMsg: TLS 1.3 Handshake: New Session Ticket, State: SSLv3/TLS read server session ticket, Recv, DataLen: 274, Data=xx
11:36:26:372 ProtoMsg: None, State: SSL negotiation finished successfully, Recv, DataLen: 5, Data= 17030319EA
11:36:26:396 ProtoMsg: TLS 1.3, State: SSL negotiation finished successfully, Recv, DataLen: 1, Data= 17
Angus

I think this is correct behaviour. This is effectively the start of a new exchange of handshake messages (well one message to be precise). The original handshake has completed and the NewSessionTicket message is specified in the spec with a record type of "handshake" so it seems reasonable to me that its arrival should be signalled through an SSL_CB_HANDSHAKE_START event.

If so, should there also be a balancing SSL_CB_HANDSHAKE_DONE event?
Perhaps this should be a new  SSL_CB_POST_HANDSHAKE_START event?  Makes it more backward compatible?
Angus

If so, should there also be a balancing SSL_CB_HANDSHAKE_DONE event?

Probably, yes.

Perhaps this should be a new SSL_CB_POST_HANDSHAKE_START event? Makes it more backward compatible?

Yes, that could work.


Static tooltip blurs text

When you have a constantly showing tooltip, like on the site, if you have a hover tooltip above a static tooltip then the static tooltip blurs.
Example gif
Using Chrome Version 47.0.2526.106 m

Couldn't reproduce here.

Using Chrome Version 48.0.2564.103 (64-bit)

It happens not only with static tooltips.

Gave it a quick check, and found that when the hovered tooltip shows, the static tooltips also got re-painted at the same time. It should not have been touched in any way.

Thats probably the reason why the static tooltip gets blurred.


docs/docs/HOWTO-lb.md

What does this PR do?
Add resource(s) | Remove resource(s) | Add info | Improve repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[ ] Read our contributing guidelines.
[ ] Search for duplicates.
[ ] Include author(s) and platform where appropriate.
[ ] Put lists in alphabetical order, correct spacing.
[ ] Add needed indications (PDF, access notes, under construction).
[ ] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

Luxemburgisch???? Why?


ArchLinux用docker跑小秘书安装wechaty-puppet-wechat过程中失败，npm ERR! GotError [RequestError]: socket hang up

操作系统是ArchLinux，内核版本:5.14.14-arch1-1(64-位)
虚拟终端用的是konsole

docker version
Client:
 Version:           20.10.10
 API version:       1.41
 Go version:        go1.17.2
 Git commit:        b485636f4b
 Built:             Tue Oct 26 03:44:01 2021
 OS/Arch:           linux/amd64
 Context:           default
 Experimental:      true
Server:
Engine:
Version:          20.10.10
API version:      1.41 (minimum version 1.12)
Go version:       go1.17.2
Git commit:       e2f740de44
Built:            Tue Oct 26 03:43:48 2021
OS/Arch:          linux/amd64
Experimental:     false
containerd:
Version:          v1.5.7
GitCommit:        8686ededfc90076914c5238eb96c883ea093a8ba.m
runc:
Version:          1.0.2
GitCommit:        v1.0.2-0-g52b36a2d
docker-init:
Version:          0.19.0
GitCommit:        de40ad0

时间:2021年10月27日 12:42:17 PM
现象：安装wechaty-puppet-wechat过程中失败，npm ERR! GotError RequestError: socket hang up

虚拟终端日志：
```bash
[ht@arch ~]$ date
Wed Oct 27 12:42:17 PM CST 2021
[ht@arch ~]$ sudo docker run -d -e AIBOTK_KEY="b603d509ba8ba9cac6c441088f4bee7ed942f383" -e
AIBOTK_SECRET="2b93799e9920bda45e986fb7b29e880ad8cd3d7c" --name=wechatBot aibotk⁄wechat-assistant
[sudo] ht 的密码：
docker: invalid reference format.
See 'docker run --help'.
[ht@arch ~]$ sudo docker run -d -e AIBOTK_KEY="b603d509ba8ba9cac6c441088f4bee7ed942f383" -e
AIBOTK_SECRET="2b93799e9920bda45e986fb7b29e880ad8cd3d7c" --name=wechatBot aibotk/wechat-assistant
docker: Error response from daemon: Conflict. The container name "/wechatBot" is already in use by container
"00afc0fd99502e3acb9065b95c60bba073892458526e0f7eece90519edd5bfb6". You have to remove (or rename) that container to be able to
reuse that name.
See 'docker run --help'.
[ht@arch ~]$ sudo docker ps -a
CONTAINER ID   IMAGE                     COMMAND                  CREATED        STATUS                      PORTS     NAMES
00afc0fd9950   aibotk/wechat-assistant   "/wechaty/bin/entryp…"   22 hours ago   Exited (137) 20 hours ago             wechatBot
[ht@arch ~]$ sudo docker rm 00afc0fd9950
00afc0fd9950
[ht@arch ~]$ sudo docker run -d -e AIBOTK_KEY="b603d509ba8ba9cac6c441088f4bee7ed942f383" -e
AIBOTK_SECRET="2b93799e9920bda45e986fb7b29e880ad8cd3d7c" --name=wechatBot aibotk/wechat-assistant
3b666050b1f47865464c55bcefc51b04f48f33bb25cfde57cf24168fcad3a5d8
[ht@arch ~]$ sudo docker ps
CONTAINER ID   IMAGE                     COMMAND                  CREATED         STATUS         PORTS     NAMES
3b666050b1f4   aibotk/wechat-assistant   "/wechaty/bin/entryp…"   4 seconds ago   Up 3 seconds             wechatBot
[ht@arch ~]$ sudo docker logs -f --tail=200 3b666050b1f4

\ \      / /__  | |   __ | | _   _
\ \ /\ / / _ / _| ' \ / ` | __| | | |
\ V  V /  / (| | | | (| | || || |
_/_/ _|_|| ||_,|_|_, |
|__/

        https://www.chatie.io

/ |  _ __  _ __   ___  | |() __   __ _
| |   / _ | '_ | '_ \ / _ / | | | ' \ / _` |
| || () | | | | | | |  / (| || | | | | (| |
__/|| ||| ||_|_|_||| ||_, |
|_/

/ | |   __ | || __ )  ___ | | ___
| |   | '_ \ / ` | __|  _ \ / _ | _/ |
| || | | | (| | || |) | () | |__
_|| ||_,|_|/ ___/ _|/
WECHATY Environment Variables: 1
WECHATY_DOCKER=1
Starting Docker Container for Wechaty v0.77.3 with Node.js v16.11.1 ...

<EMAIL_ADDRESS>start
node index.js

使用环境变量中的 aibotkKey
使用环境变量中的 aibotkSecret
12:43:10 INFO PuppetManager<EMAIL_ADDRESS>please wait ...
npm: npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm: npm WARN
npm:  deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm: npm WARN deprecated
npm<EMAIL_ADDRESS>this library is no longer supported
npm: npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm: npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/formula'
npm: npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/pinpoint'
npm: npm
npm: WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm: npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm: npm WARN deprecated
npm<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is
known to be problematic.  See https://v8.dev/blog/math-random for details.
npm: npm WARN deprecated
npm<EMAIL_ADDRESS>Switch to 'npm install joi'
npm: npm WARN
npm: deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm: npm WARN deprecated<EMAIL_ADDRESS>TSLint is deprecated, please move to ESLint:
https://github.com/blakeembrey/tslint-config-standard/issues/61
npm: npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive
updates.
npm: npm WARN deprecated
npm<EMAIL_ADDRESS>standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-plugin-standard
package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here:
https://github.com/standard/standard/issues/1316
npm: npm WARN deprecated
npm<EMAIL_ADDRESS>TSLint has been deprecated in favor of ESLint. Please see https://github.com/palantir/tslint/issues/4534 for
more information.
npm: npm WARN
npm: deprecated<EMAIL_ADDRESS>This is a stub types definition. dotenv provides its own type definitions, so you do not need
this installed.
npm: npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm: npm
npm:  notice
npm notice New minor version of npm available! 8.0.0 -> 8.1.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.1
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
npm: npm ERR!
npm:  code 1
npm ERR! path /bot/node_modules/wechaty/node_modules/node-jq
npm: npm
npm: ERR! command failed
npm ERR! command sh -c npm run install-binary
npm ERR! ><EMAIL_ADDRESS>install-binary
npm ERR! > node scripts/install-binary.js
npm ERR!
npm ERR! Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
npm ERR! GotError RequestError: socket hang up
npm ERR!     at ClientRequest. (/bot/node_modules/wechaty/node_modules/got/index.js:182:22)
npm ERR!     at Object.onceWrapper (node:events:510:26)
npm ERR!     at ClientRequest.emit (node:events:390:28)
npm ERR!     at TLSSocket.socketOnEnd (node:_http_client:471:9)
npm ERR!     at TLSSocket.emit (node:events:402:35)
npm
npm: ERR!     at endReadableNT (node:internal/streams/readable:1343:12)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   code: 'ECONNRESET',
npm ERR!   host: 'github.com',
npm ERR!
npm:    hostname: 'github.com',
npm ERR!   method: 'GET',
npm ERR!   path: '/stedolan/jq/releases/download/jq-1.6/jq-linux64',
npm ERR!   protocol: 'https:',
npm ERR!   url: 'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64'
npm ERR! }
npm:
npm: npm ERR! A complete log of this run can be found in:
npm ERR!     /bot/.npm/_logs/2021-10-27T05_03_23_650Z-debug.log
Error: Command failed: npm install<EMAIL_ADDRESS>--no-save
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/formula'
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>TSLint is deprecated, please move to ESLint:
https://github.com/blakeembrey/tslint-config-standard/issues/61
npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated<EMAIL_ADDRESS>standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-
plugin-standard package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here:
https://github.com/standard/standard/issues/1316
npm WARN deprecated<EMAIL_ADDRESS>TSLint has been deprecated in favor of ESLint. Please see
https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. dotenv provides its own type definitions, so you do not
need this installed.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm notice
npm notice New minor version of npm available! 8.0.0 -> 8.1.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.1
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
npm ERR! code 1
npm ERR! path /bot/node_modules/wechaty/node_modules/node-jq
npm ERR! command failed
npm ERR! command sh -c npm run install-binary
npm ERR! ><EMAIL_ADDRESS>install-binary
npm ERR! > node scripts/install-binary.js
npm ERR!
npm ERR! Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
npm ERR! GotError RequestError: socket hang up
npm ERR!     at ClientRequest. (/bot/node_modules/wechaty/node_modules/got/index.js:182:22)
npm ERR!     at Object.onceWrapper (node:events:510:26)
npm ERR!     at ClientRequest.emit (node:events:390:28)
npm ERR!     at TLSSocket.socketOnEnd (node:_http_client:471:9)
npm ERR!     at TLSSocket.emit (node:events:402:35)
npm ERR!     at endReadableNT (node:internal/streams/readable:1343:12)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   code: 'ECONNRESET',
npm ERR!   host: 'github.com',
npm ERR!   hostname: 'github.com',
npm ERR!   method: 'GET',
npm ERR!   path: '/stedolan/jq/releases/download/jq-1.6/jq-linux64',
npm ERR!   protocol: 'https:',
npm ERR!   url: 'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64'
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR!     /bot/.npm/_logs/2021-10-27T05_03_23_650Z-debug.log
at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:390:28)
at ChildProcess.emit (node:domain:475:12)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {

killed: false,
code: 1,
signal: null,
cmd: 'npm install<EMAIL_ADDRESS>--no-save'
}
13:03:23 ERR Wechaty start() exception: Command failed: npm install<EMAIL_ADDRESS>--no-save
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/formula'
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>TSLint is deprecated, please move to ESLint:
https://github.com/blakeembrey/tslint-config-standard/issues/61
npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated<EMAIL_ADDRESS>standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-
plugin-standard package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here:
https://github.com/standard/standard/issues/1316
npm WARN deprecated<EMAIL_ADDRESS>TSLint has been deprecated in favor of ESLint. Please see
https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. dotenv provides its own type definitions, so you do not
need this installed.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm notice
npm notice New minor version of npm available! 8.0.0 -> 8.1.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.1
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
npm ERR! code 1
npm ERR! path /bot/node_modules/wechaty/node_modules/node-jq
npm ERR! command failed
npm ERR! command sh -c npm run install-binary
npm ERR! ><EMAIL_ADDRESS>install-binary
npm ERR! > node scripts/install-binary.js
npm ERR!
npm ERR! Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
npm ERR! GotError RequestError: socket hang up
npm ERR!     at ClientRequest. (/bot/node_modules/wechaty/node_modules/got/index.js:182:22)
npm ERR!     at Object.onceWrapper (node:events:510:26)
npm ERR!     at ClientRequest.emit (node:events:390:28)
npm ERR!     at TLSSocket.socketOnEnd (node:_http_client:471:9)
npm ERR!     at TLSSocket.emit (node:events:402:35)
npm ERR!     at endReadableNT (node:internal/streams/readable:1343:12)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   code: 'ECONNRESET',
npm ERR!   host: 'github.com',
npm ERR!   hostname: 'github.com',
npm ERR!   method: 'GET',
npm ERR!   path: '/stedolan/jq/releases/download/jq-1.6/jq-linux64',
npm ERR!   protocol: 'https:',
npm ERR!   url: 'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64'
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR!     /bot/.npm/_logs/2021-10-27T05_03_23_650Z-debug.log
错误 Error: Command failed: npm install<EMAIL_ADDRESS>--no-save
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/formula'
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/pinpoint'
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>TSLint is deprecated, please move to ESLint:
https://github.com/blakeembrey/tslint-config-standard/issues/61
npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated<EMAIL_ADDRESS>standard 16.0.0 and eslint-config-standard 16.0.0 no longer require the eslint-
plugin-standard package. You can remove it from your dependencies with 'npm rm eslint-plugin-standard'. More info here:
https://github.com/standard/standard/issues/1316
npm WARN deprecated<EMAIL_ADDRESS>TSLint has been deprecated in favor of ESLint. Please see
https://github.com/palantir/tslint/issues/4534 for more information.
npm WARN deprecated<EMAIL_ADDRESS>This is a stub types definition. dotenv provides its own type definitions, so you do not
need this installed.
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain
circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm notice
npm notice New minor version of npm available! 8.0.0 -> 8.1.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.1
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
npm ERR! code 1
npm ERR! path /bot/node_modules/wechaty/node_modules/node-jq
npm ERR! command failed
npm ERR! command sh -c npm run install-binary
npm ERR! ><EMAIL_ADDRESS>install-binary
npm ERR! > node scripts/install-binary.js
npm ERR!
npm ERR! Downloading jq from https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64
npm ERR! GotError RequestError: socket hang up
npm ERR!     at ClientRequest. (/bot/node_modules/wechaty/node_modules/got/index.js:182:22)
npm ERR!     at Object.onceWrapper (node:events:510:26)
npm ERR!     at ClientRequest.emit (node:events:390:28)
npm ERR!     at TLSSocket.socketOnEnd (node:_http_client:471:9)
npm ERR!     at TLSSocket.emit (node:events:402:35)
npm ERR!     at endReadableNT (node:internal/streams/readable:1343:12)
npm ERR!     at processTicksAndRejections (node:internal/process/task_queues:83:21) {
npm ERR!   code: 'ECONNRESET',
npm ERR!   host: 'github.com',
npm ERR!   hostname: 'github.com',
npm ERR!   method: 'GET',
npm ERR!   path: '/stedolan/jq/releases/download/jq-1.6/jq-linux64',
npm ERR!   protocol: 'https:',
npm ERR!   url: 'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64'
npm ERR! }
npm ERR! A complete log of this run can be found in:
npm ERR!     /bot/.npm/_logs/2021-10-27T05_03_23_650Z-debug.log
at ChildProcess.exithandler (node:child_process:397:12)
at ChildProcess.emit (node:events:390:28)
at ChildProcess.emit (node:domain:475:12)
at maybeClose (node:internal/child_process:1064:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) {

killed: false,
code: 1,
signal: null,
cmd: 'npm install<EMAIL_ADDRESS>--no-save'
}
13:03:23 WARN Wechaty stop() puppet.stop() exception: Cannot read properties of undefined (reading 'stop')
接口https://api-bot.aibotk.com/open/v1/api/wechat/qrerror请求失败 undefined
推送错误成功<EMAIL_ADDRESS>url@0.2.1:https://github.com/lydell/resolve-
url#deprecatednpmWARNdeprecatedurix@0.1.0:Pleaseseehttps://github.com/lydell/urix#deprecatednpmWARNdeprecatedhar-
validator@5.1.5:thislibraryisnolongersupportednpmWARNdeprecated@hapi/topo@3.1.6:Thisversionhasbeendeprecatedandisnolongersupported
ormaintainednpmWARNdeprecated@hapi/formula@1.2.0:Movedto'npminstall@sideway/formula'npmWARNdeprecated@hapi/pinpoint@1.0.2:Movedto'
npminstall@sideway/pinpoint'npmWARNdeprecated@hapi/hoek@8.5.1:ThisversionhasbeendeprecatedandisnolongersupportedormaintainednpmWAR
Ndeprecated@hapi/address@2.1.4:Movedto'npminstall@sideway/address'npmWARNdeprecateduuid@3.4.0:Pleaseupgradetoversion7orhigher.Olde
rversionsmayuseMath.random()incertaincircumstances,whichisknowntobeproblematic.Seehttps://v8.dev/blog/math-
randomfordetails.npmWARNdeprecated@hapi/joi@16.1.8:Switchto'npminstalljoi'npmWARNdeprecatedrequest@2.88.2:requesthasbeendeprecated
,seehttps://github.com/request/request/issues/3142npmWARNdeprecatedtslint-config-
standard@9.0.0:TSLintisdeprecated,pleasemovetoESLint:https://github.com/blakeembrey/tslint-config-
standard/issues/61npmWARNdeprecatedbabel-eslint@10.1.0:babel-eslintisnow@babel/eslint-
parser.Thispackagewillnolongerreceiveupdates.npmWARNdeprecatedeslint-plugin-standard@5.0.0:standard16.0.0andeslint-config-
standard16.0.0nolongerrequiretheeslint-plugin-standardpackage.Youcanremoveitfromyourdependencieswith'npmrmeslint-plugin-
standard'.Moreinfohere:https://github.com/standard/standard/issues/1316npmWARNdeprecatedtslint@6.1.3:TSLinthasbeendeprecatedinfavo
rofESLint.Pleaseseehttps://github.com/palantir/tslint/issues/4534formoreinformation.npmWARNdeprecated@types/dotenv@8.2.0:Thisisast
ubtypesdefinition.dotenvprovidesitsowntypedefinitions,soyoudonotneedthisinstalled.npmWARNdeprecateduuid@3.3.2:Pleaseupgradetoversi
on7orhigher.OlderversionsmayuseMath.random()incertaincircumstances,whichisknowntobeproblematic.Seehttps://v8.dev/blog/math-
randomfordetails.npmnoticenpmnoticeNewminorversionofnpmavailable!8.0.0-

<EMAIL_ADDRESS>
npmnoticenpmERR!code1npmERR!path/bot/node_modules/wechaty/node_modules/node-jqnpmERR!commandfailednpmERR!commandsh-
cnpmruninstall-binarynpmERR!>node-jq@1.12.0install-binarynpmERR!>nodescripts/install-binary.jsnpmERR!npmERR!
Downloadingjqfromhttps://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64npmERR!GotError
atObject.onceWrapper(node:events:510:26)npmERR!atClientRequest.emit(node:events:390:28)npmERR!atTLSSocket.socketOnEnd
(node:_http_client:471:9)npmERR!atTLSSocket.emit(node:events:402:35)npmERR!atendReadableNT
(node:internal/streams/readable:1343:12)npmERR!atprocessTicksAndRejections(node:internal/process/task_queues:83:21){npmERR!
code:'ECONNRESET',npmERR!host:'github.com',npmERR!hostname:'github.com',npmERR!method:'GET',npmERR!
path:'/stedolan/jq/releases/download/jq-1.6/jq-linux64',npmERR!protocol:'https:',npmERR!
url:'https://github.com/stedolan/jq/releases/download/jq-1.6/jq-linux64'npmERR!}npmERR!
Acompletelogofthisruncanbefoundin:npmERR!/bot/.npm/_logs/2021-10-27T05_03_23_650Z-debug.log
npm notice
npm notice New minor version of npm available! 8.0.0 -> 8.1.1
npm notice Changelog: https://github.com/npm/cli/releases/tag/v8.1.1
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice

\ \      / /__  | |   __ | | _   _
\ \ /\ / / _ / _| ' \ / ` | __| | | |
\ V  V /  / (| | | | (| | || || |
_/_/ _|_|| ||_,|_|_, |
|__/

        https://www.chatie.io

| | () |   / _ \
|  | \ / / | | | | | |
| | >  <| | |  | || |
|___//__|_|  _/
[ht@arch ~]$
</details>

拉一下最新的docker 版本3.6.2已经解决问题


image/png: panic reader.go

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.8 linux/amd64

What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/valentin/Documents/2017/03/21/goDLL"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build002149362=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
PKG_CONFIG="pkg-config"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"

What did you do?
image.Decode(r2)  where r2 is reading a PNG image that looks ok to me.
See attached source.
(texture1, r1 are there just to demonstrate the happy path).
See self-contained code at  https://play.golang.org/p/gkXmcSjbwq
What did you expect to see?
At best, no error at all.
Otherwise, image.Decode should return an error with some nice message.
What did you see instead?
2017/03/28 13:58:41 Texture 1
2017/03/28 13:58:41 size = 737
2017/03/28 13:58:41 format = jpeg
2017/03/28 13:58:41 err = <nil>
2017/03/28 13:58:41
2017/03/28 13:58:41 Texture 2
2017/03/28 13:58:41 size = 1031
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x4a9d68]

goroutine 1 [running]:
image/png.(*decoder).readImagePass(0xc42002d800, 0x7f75cf6f4088, 0xc420018230, 0x0, 0xc420018200, 0x0, 0x0, 0xc420092000, 0xc42002d878)
	/usr/local/go/src/image/png/reader.go:615 +0x1028
image/png.(*decoder).decode(0xc42002d800, 0x0, 0x0, 0x0, 0x0)
	/usr/local/go/src/image/png/reader.go:365 +0x621
image/png.(*decoder).parseIDAT(0xc42002d800, 0x3c0, 0x4e6d5e, 0x4)
	/usr/local/go/src/image/png/reader.go:827 +0x36
image/png.(*decoder).parseChunk(0xc42002d800, 0x0, 0x0)
	/usr/local/go/src/image/png/reader.go:887 +0x45a
image/png.Decode(0x7f75cf6f4030, 0xc420014240, 0xc420014240, 0x7f75cf6f4030, 0xc420014240, 0x8)
	/usr/local/go/src/image/png/reader.go:946 +0x161
image.Decode(0x54f140, 0xc420016510, 0x407, 0xc420070900, 0x407, 0x480, 0x0, 0x0)
	/usr/local/go/src/image/format.go:84 +0xfc
main.main()
	/home/valentin/Documents/2017/03/28/tecrash/read.go:27 +0x677
exit status 2

issue_19738_panics.zip

Texture 2 may or may not contain some corrupt bytes.

It looks ok on my desktop and on GitHub.
And the real problem is in the png decoder panicking  (I would be ok with just an error properly returned).

Does this fail on tip?  It may be a duplicate of https://github.com/golang/go/issues/19553

@dgryski, good hunch. It doesn't panic anymore on tip 73912a1
$ go version && go run main.go && echo success
go version devel +73912a1 Mon Mar 27 18:41:30 2017 -0600 darwin/amd64
2017/03/28 09:30:29 Texture 1
2017/03/28 09:30:29 size = 737
2017/03/28 09:30:29 format = jpeg
2017/03/28 09:30:29 err = <nil>
2017/03/28 09:30:29
2017/03/28 09:30:29 Texture 2
2017/03/28 09:30:29 size = 1031
2017/03/28 09:30:29 format = png
2017/03/28 09:30:29 err = <nil>
success

@Deleplace please get the latest from the master branch.

Can't reproduce on the latest. Please reopen if it persists.

Thanks! I had performed a quick search for "png decode" in issues, but for some reason I had not seen #19553. It looks the same, I will try on tip.

Not reproduced on recent 4b50c81 . Great!


Unable to compile scipy 1.4

I am unable to compile scipy 1.4 on Ubuntu 18.04 LTS with python3.6 and I tried both with python3.6 -m pip install . and python3.6 setup.py install,
I want to point out that I have installed pybind11 as recently as today and that still does not resolve the issue. Where am I going wrong ? This has never happened before.
`creating /tmp/tmpespaluwr/tmp
creating /tmp/tmpespaluwr/tmp/tmpespaluwr
compile options: '-I/usr/include/python3.6m -c'
extra options: '-std=c++14 -fvisibility=hidden'
x86_64-linux-gnu-g++: /tmp/tmpespaluwr/main.c
C compiler: x86_64-linux-gnu-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
creating /tmp/tmpnxdut7p6/tmp
creating /tmp/tmpnxdut7p6/tmp/tmpnxdut7p6
compile options: '-I/usr/include/python3.6m -c'
x86_64-linux-gnu-g++: /tmp/tmpnxdut7p6/main.c
building 'scipy.fft._pocketfft.pypocketfft' extension
compiling C++ sources
C compiler: x86_64-linux-gnu-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC
compile options: '-DPOCKETFFT_PTHREADS -I/root/.local/include/python3.6m -I/usr/local/include/python3.6 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c'
extra options: '-std=c++14 -fvisibility=hidden'
x86_64-linux-gnu-g++: scipy/fft/_pocketfft/pypocketfft.cxx
scipy/fft/_pocketfft/pypocketfft.cxx:15:10: fatal error: pybind11/pybind11.h: No such file or directory
#include <pybind11/pybind11.h>
^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Running from scipy source directory.
/usr/local/lib/python3.6/dist-packages/numpy/distutils/system_info.py:782: UserWarning: Specified path /usr/local/include/python3.6m is invalid.
return self.get_paths(self.section, key)
error: Command "x86_64-linux-gnu-g++ -pthread -DNDEBUG -g -fwrapv -O2 -Wall -g -fstack-protector-strong -Wformat -Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -DPOCKETFFT_PTHREADS -I/root/.local/include/python3.6m -I/usr/local/include/python3.6 -I/usr/local/lib/python3.6/dist-packages/numpy/core/include -I/usr/include/python3.6m -c scipy/fft/_pocketfft/pypocketfft.cxx -o build/temp.linux-x86_64-3.6/scipy/fft/_pocketfft/pypocketfft.o -MMD -MF build/temp.linux-x86_64-3.6/scipy/fft/_pocketfft/pypocketfft.o.d -std=c++14 -fvisibility=hidden" failed with exit status 1 `

Are you sure that you have pybind11 installed? Confusingly there is a pybind package out there that isn't the right one.

@andyfaff I never had to install pybind11 before and I never had a problem installing scipy before. My last successful install was scipy 1.3 but with 1.4 I am facing this issue. I went here https://pypi.org/project/pybind11/#files and downloaded that gz file and installed it using pip.

pybind11 is a new dependency for building scipy. From that error message it looks like it's not being picked up during the build. Do you have pybind11 in the same Python venv/environment as you're building scipy in?

@andyfaff Yes it is all in the same environment. I do not have venv. I am just putting all my egg files under /usr/local/lib/python3.6/dist-packages. Now I am running this on Ubuntu 18.04 LTS and I never installed pybind11 before today. I am unaware of any other installation.

So when I run python3.6 -m site | grep pybind11 this is the only result I get
'/usr/local/lib/python3.6/dist-packages/pybind11-2.4.3-py3.6.egg',

-I/root/.local/include/python3.6m

Is it possible you installed to your home directory and then run the build as root? You will probably find that pybind11 isn't installed is any of these places:
ls /root/.local/include/python3.6m | grep pybind11
ls /usr/include/python3.6m | grep pybind11

But what about your home directory?
ls ~/.local/include/python3.6m | grep pybind11

@peterbell10
I have a directory libPython under my home directory(/home/winash12) in which I unzipped the pybind11 file and then I did a pip install.
All of the greps you mention return null.

Could you figure out where the headers did get installed?

@peterbell10 You got that right.
Right now the header files are not getting installed when I do pip install pybindd11

just stating the obvious but do you need to write pip3 instead?

@ilayn I do it as python3.6 -m pip install .

OK. Could you not do python3.6 -m pip install pybind11 --user ?

@ilayn I am confused as to how to install pybind11.
According to this doc - https://buildmedia.readthedocs.org/media/pdf/pybind11/master/pybind11.pdf
I need to run cmake but that does not seem to work either. I think I will close this issue and raise an error on the pybind11 site.

Same issue here. Tring to build a jupyterlab docker image with scientist packages for ARM64. python package of scipy are not available for ARM and compilation fails.

@camelator the original issue here was about Ubuntu, better not to mix a question about ARM64 into it. Right now there are no ARM64 wheels, however conda-forge has SciPy aarch64 and many other PyData packages - I recommend using Miniforge installer + conda packages.

@rgommers many thanks for for really fast answer,
and sorry for my bad french english.
Please, I don't understand, how can it be a Ubuntu issue if I am trying to compile scipy by myself?
Do you have any links related to this issue?
Maybe I can use another linux image?
many thanks for your answer

I mean the original bug here said I am unable to compile scipy 1.4 on Ubuntu 18.04 LTS . You have a different issue.
Here is an ARM64 installer: https://github.com/conda-forge/miniforge. And a Docker image at https://github.com/conda-forge/docker-images/pull/129 if you need it. Then you can simply conda install scipy.


Azure Arc enabled data services for EKS : logon script does not end

https://azurearcjumpstart.io/azure_arc_jumpstart/azure_arc_data/eks/eks_mssql_mi/
I am trying to setup Amazon Elastic Kubernetes Service and SQL Managed Instance using Terraform through the referenced jump start tutorial (azure_arc\azure_arc_data_jumpstart\eks\mssql_mi\terraform)
I could successfully provision the environment through Terraform scripts running on Ubuntu. When i login to Windows Server Client instance for the first time, the logon script runs for ever. After waiting hours together it doesnt finish. Please find the screen shot below

Hi @dineshkvp - thanks for bringing this to our attention.
Could you please share two artifacts:

Logs from bootstrapper pod: kubectl logs bootstrapper-4cgxr -n arc: example
Run describe command against pod for events kubectl describe pod bootstrapper-4cgxr -n arc

@mdrakiburrahman  I use the latest version cloned yesterday. Please find below the details you asked for

@dineshkvp I performed the EKS deployment now and was not able to reproduce the issue.
It seems your environment is going into a loop at this line after the Data Controller ARM deployment is done - but the deployment may have failed for some reason (e.g. permissions).
Could you go into the "Deployments" tab and check the status of the dataController deployment?

You can drill in deeper by clicking the name above:

If you see any errors in your view of the above, please share the details here for us to help.

@mdrakiburrahman  thanks for the input. I get the below error for data controller deployment.
{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"Forbidden","message":"secrets "controller-login-secret" is forbidden: User "581ce62d-cf79-475e-92a1-4d9794bb2353" cannot get resource "secrets" in API group "" in the namespace "arc""}]}
The service principal is having contributor rights. What additional permissions should i grant

Hi @dineshkvp,
Could you please attempt the following:

Assign the Service Principal Monitoring Metrics Publisher on the Azure Subscription instructions here, in addition to keeping Contributor
Clean up your existing Terraform deployment and attempt a net new deployment with this permission
If you find the script reaches the same step after deploying the bootstrapper pod, please run kubectl describe secret controller-login-secret -n arc - and let us know if you see the secret.

Additionally, in your Azure Subscription, have you had success in deploying a scenario on an Azure K8s Cluster (e.g. AKS, Microk8s) with the existing Service Principal? Or is EKS the first scenario you are trying?

@mdrakiburrahman  Even after granting the service principal mentioned permission script reaches the same state. When i run
kubectl describe secret controller-login-secret -n arc
i get the below error. I have not tried deploying Azure K8s Cluster with this service principal, and EKS is the first scenario i am trying

@dineshkvp - there's a very similar error to what you're facing listed in the Arc Troubleshooting guide here:
Error: list: failed to list: secrets is forbidden: User "myuser" cannot list resource "secrets" in API group "" at the cluster scope.

The user connecting the cluster to Azure Arc should have cluster-admin role assigned to them on the cluster.

This seems related AWS IAM Role that was used to set up the EKS cluster, which is used to obtain the kubeconfig from EKS in the scenario via AWS IAM auth. The fact that you're not able to see the secret (and the secret may not have been created in the first place) implies that the role that generated the kubeconfig may not have cluster-admin - as the above docs state is a pre-req for Arc.
Are you running your scenario in an AWS account that is limited to not allows users have cluster-admin privileges for example? Tagging @likamrat for any AWS specifics.

@dineshkvp as this behavior is not related to the AWS environment permissions where EKS resides, as opposed to settings on Jumpstart and/or Azure side, I am closing this issue. Feel free to reopen if you need additional assistance.

@mdrakiburrahman Do you mean it is because of a permission issue with respect to my Azure service principal


Enable byte-compile for faster startup

This PR should fix the issue 127
I've been using this byte-compiled for a long time now without any issues.
Results on my machine (See the load times):
Without byte-compile:

With byte-compile:

Why is no-byte-compile even set in the first place? Also I think you should be able to remove the whole variable rather than set it to nil.

@jtbx I have no idea, my guess it was for some debugging. I could remove the variable, but maybe keeping it prevents other people to accidentally add it? But whatever the maintainers prefer.


[BugFix] fix priority of partition refresh

Fixes #28067
Case:

Set the refresh interval very small, less than the actual refresh time of one table partition
So the periodical task will generate a lot of task runs, then get pended at the queue
As a result, the MV will never get refreshed

Cause:

The PartitionBasedMvRefresh will submit task to refresh other partitions, whose priority is same as periodical task
So the refresh procedure will always execute the MVRefresh task, instead of the PartitionRefresh task. Which also mean, it will always refresh the first batch of partitions

Solution:

Make the PartitionRefresh task have higher priority than MVRefresh task

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[ ] 2.4

[FE PR Coverage Check]
:heart_eyes: pass : 13 / 14 (92.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[674]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
6
6
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 19 / 28 (67.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[674]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
4
8
50.00%
[260, 264, 265, 267]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
8
12
66.67%
[648, 651, 652, 653]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/system/information/TaskRunsSystemTable.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 19 / 28 (67.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[674]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
4
8
50.00%
[260, 264, 265, 267]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
8
12
66.67%
[648, 651, 652, 653]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/system/information/TaskRunsSystemTable.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 19 / 28 (67.86%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[674]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
4
8
50.00%
[260, 264, 265, 267]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
8
12
66.67%
[648, 651, 652, 653]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/system/information/TaskRunsSystemTable.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 19 / 29 (65.52%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
0
1
00.00%
[674]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
4
8
50.00%
[260, 264, 265, 267]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
8
13
61.54%
[651, 654, 655, 660, 661]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/system/information/TaskRunsSystemTable.java
1
1
100.00%
[]

@Mergifyio rebase

[FE PR Coverage Check]
:disappointed: fail : 23 / 29 (79.31%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
8
13
61.54%
[651, 654, 655, 660, 661]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
7
8
87.50%
[260]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/system/information/TaskRunsSystemTable.java
1
1
100.00%
[]

[FE PR Coverage Check]
:heart_eyes: pass : 35 / 39 (89.74%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/scheduler/TaskRunManager.java
8
11
72.73%
[234, 242, 244]

:large_blue_circle:
com/starrocks/scheduler/persist/TaskRunStatus.java
7
8
87.50%
[260]

:large_blue_circle:
com/starrocks/scheduler/PartitionBasedMvRefreshProcessor.java
3
3
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskRunBuilder.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/service/FrontendServiceImpl.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/scheduler/TaskManager.java
13
13
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/system/information/TaskRunsSystemTable.java
1
1
100.00%
[]

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


Move content from readme to index

The readme now serves as an introduction to the repo. If other people want to contribute towards the development and maintenance of this project, we can add instructions here on how to do it. If you want to make changes to the content of the website, update index.md from now on.

looks fine


New trait for type conversions and operators with supervised types

Add a description or explanation to the PR pls


Important [BUG] Testimonial view isn't responsive

before

But at 768px it is perfect. I resolved this issue and I want to contribute this bug. Please assign me this @akshathar-navada
After

Thanks again GSSoC'23

Yes sure , go ahead @Git21221 . We will soon review and merge it!!


PostgreSql Auto-Complete

Hi,
There is a problem with auto-complete of table names containing upper case letters in the name.
Writing select * from t44b30d98 works well, but
select * from "T44B30D98" cant find anything.

Probably duplicate of #1232

Hi,
its not duplicate, I have tried your version 4.0 with repaired #1232 which works just fine, but auto-complete not

Well, then I just can't reproduce that. Auto-complete works with any case:

Please provide more details.

Hi,
I have created table "TESTUSER" which works well.
If I create table
create table t9e7d504c as (select * from "TESTUSER")
then autocomplete works just fine:

the same name, but with uppercase
T9E7D504C

another example
autocomplete with T03

After adding the table I have refreshed list of tables in navigator.
To make sure I have disconnected, but same behavior.
All of these examples tested in Open database object work well, thanks for repair.

Yep, it is a bug in completion proposals filtering (and it is not PostgreSQL-specific).
Thanks for details.


Add missing label to service for ServiceMonitor

Currently the ServiceMonitor fails to capture the prometheus metrics exposed by the collector when deploying in standalone mode due to the absence of the label component: standalone-collector.
Current ServiceMonitor selector (version 0.5.6)
  selector:
    matchLabels:
      app.kubernetes.io/instance: opentelemetry-collector
      app.kubernetes.io/name: opentelemetry-collector
      component: standalone-collector

service labels:
  labels:
    app.kubernetes.io/instance: opentelemetry-collector
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: opentelemetry-collector
    app.kubernetes.io/version: 0.22.0
    helm.sh/chart: opentelemetry-collector-0.5.6

This PR adds the missing label to the service so that the metrics can be properly scraped by prom operator

@zhilingc please bump the chart version

@zhilingc please bump the chart version

Done


Fix tests on HHVM, PHP 5.3, 7.3 and 7.4

The reason for the other changes is that now that we've pinned the HHVM version, we don't want it to fail anymore. The reason for the change to install is that travis already enforces no interaction in composer by means of setting an environment variable, so it's not recommended to pass --no-interaction, since it's already set.

You can squash the commits on merge in the UI btw.

Oh, and the reason for adding travis_retry is that if composer fails due to a network issue, travis cam retry it, so there's no false build failure.

Ping @clue. :)

Oh, and the reason for adding travis_retry is that if composer fails due to a network issue, travis can retry it, so there's no false build failure.

I understand the motivation for this change, but I'm leaning towards "if it ain't broke don't fix it".
CI systems fail occasionally (they depend on network conditions that are outside of their control), so an occasional restart is perfectly acceptable to me. I have yet to see this affect composer in an unreasonable way, most of the temporary build failures are actually because the underlying operating system setup fails.

You can squash the commits on merge in the UI btw.

That's correct. But it also creates a new squashed commit that is independent of your PR branch, leaving this as a stale branch. I'd rather have a consistent history by merging all feature branches :+1:

Now one commit.


Proper git file path not detected in git worktrees

Commands like GitHub: Blame and GitHub: Open Remote URL in Browser default back to the absolute path of your directory instead of relative to the git root in the worktree.
This can be reproduced with the following script:
#!/usr/bin/env bash
tempDir=$(mktemp -d)
git worktree add -b new-branch "$tempDir"
subl "$tempDir"

... then, once Sublime comes up, run GitHub: Blame, for example, and the GitHub URL opened up will have the absolute path in your file system, which will (most likely) not exist in GitHub

I'm experiencing this as well, though I don't quite know why it happens. It doesn't happen all the time, or for all repos.

What I discovered is that for me the bug happens only when my project path is using a symlink.
For example if I have my code at ~/code/my-project and I also have a symlink ~/my-symlink => ~/code/my-project
Then the bug happens only when I use the symlink to open the project in Sublime Text, not when I use the "real" path.


Testing - Do I need an issue assigned to be able to pull request?

This is just a test - trying to figure out how to do a pull request of Tinu's code.... Is it linked to an existing open issue like in the video? Let's see....  Tinu disregard this.

ugh not why.
"
There isn’t anything to compare.
You’ll need to use two different branch names to get a valid comparison.
Check out some of these sample comparisons."

Not sure what I'm doing


support for other KMP targets

i am using kmp and i have the following modules: androidMain, iosMain, jvmMain, commonMain and in the sonar report only appear the jvm tests in fact not even the androidMain one i have the same configuration of the documentation and i am running the koverXmlReport task, is there any failure or don't have support for those targets?

Hi,
unfortunately, there is currently no support for native targets, as well as android tests running on the device.
Duplicates #293 and #96

Closed as duplicate


Profile Picture Not Visible

Describe the bug
On the dashboard, the user profile picture does not load.
To Reproduce
Steps to reproduce the behavior:

Login with your credentials.
Go to the home page.
Check the navbar at the top right corner.
The user profile picture will not load.

Expected behavior
Profile picture or a placeholder should be visible.

This issue has been resolved.
Here is the pull request.

This issue has been resolved.
Here is the pull request.


Use pytest-xvfb instead of manually running xvfb.

Codecov Report

Merging #55 into master will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #55      +/-   ##
=========================================
+ Coverage   97.22%   97.3%   +0.07%
=========================================
  Files          21      21
  Lines        1298    1298
  Branches      152     152
=========================================
+ Hits         1262    1263       +1
+ Misses         32      31       -1
  Partials        4       4

Impacted Files
Coverage Δ

pepper_music_player/ui/screenshot_testlib.py
93.87% <0%> (-2.05%)
:arrow_down:

pepper_music_player/player/playlist.py
97.4% <0%> (ø)
:arrow_up:

pepper_music_player/pubsub.py
100% <0%> (ø)
:arrow_up:

pepper_music_player/player/player.py
98.1% <0%> (+0.75%)
:arrow_up:

Continue to review full report at Codecov.

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


OCPBUGS-30530: fix govul with protobuf

What type of PR is this?
/kind bug
/kind cleanup

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Release note:
none

/cc @Karthik-K-N

/lgtm


remove bad scaling on delete

Counter part to https://github.com/KittyCAD/engine/pull/2297/files

I ran the playw tests locall since this is targeting a engine release we want to do at the same time.


[Phabricator diff] Change condition for provided path for arcanist to prevent not finding the binary.

Right now if I set up Path for my arcanist binary in Phabricator DIFF part of this plugin it uses the explicit way to call it.
/anyrootfolder/whatever/waytoarc/arcanist/bin/arc patch --someflag
This is huge problem, because if you take for instance macbook machine, it has no /opt folder at all and it is tricky to setup this path (well not tricky at all, I just believe there should be no opt folder on macOS, but creating the folder requires admin rights and it's a bit dangerous...)
I inserted another condition to prevent the behaviour when the path is not available...

 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.Dominik Bucher seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Hmm what am I missing? I am pretty sure I signed the Contributor Licence agreement... The link says the same... Something's broken?


[FLINK-35282] Upgrade pyarrow and beam

What is the purpose of the change
This pull request upgrades pyarrow and beam to resolve https://nvd.nist.gov/vuln/detail/CVE-2023-47248
Brief change log
(for example:)

Upgrade beam and pyarrow
Update docs accordingly

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): yes
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Overall LGTM. Thanks @antovespoli can we verify that there are no diffs in our "hot-swapped" classes?
https://github.com/apache/flink/tree/master/flink-python/src/main/java/org/apache/beam

Could we squash the commits please?


There is a error in your code

Line 36 in generator.py file.
origin
 _ = fc(_, self.start_dim_x * self.start_dim_y  * self.start_dim_ch,
should be
 _ = fc(input, self.start_dim_x * self.start_dim_y  * self.start_dim_ch,

Thanks for pointing this out. I fixed it and pushed the code.


pip install soundscrape fails on Windows 11?

PS C:\Users\x> pip install soundscrape
Collecting soundscrape
  Using cached soundscrape-0.31.0-py3-none-any.whl (16 kB)
Collecting args>=0.1.0
  Using cached args-0.1.0.tar.gz (3.0 kB)
  Preparing metadata (setup.py) ... done
Collecting clint>=0.3.2
  Using cached clint-0.5.1.tar.gz (29 kB)
  Preparing metadata (setup.py) ... done
Collecting demjson>=2.2.2
  Using cached demjson-2.2.4.tar.gz (131 kB)
  Preparing metadata (setup.py) ... error
  error: subprocess-exited-with-error

  × python setup.py egg_info did not run successfully.
  │ exit code: 1
  ╰─> [1 lines of output]
      error in demjson setup command: use_2to3 is invalid.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Same thing happens on Fedora Linux 38 (both as system install and in a virtual env)

Same for me

Same

same


#3350 - restore the ability to empty a multi select

This restores the ability to empty a multi select, and works whether or not the user selects the "None" option.  It also works when the user completely empties the field of all options.
The change to Relationships.php is necessary to rid the $content array of [ n => null ] values, which trigger an SQL error.

Fix for the styleci issue a335a42


Fix data races in tests closes #599, closes #598

Signed-off-by: Petu Eusebiu<EMAIL_ADDRESS>
What type of PR is this?

Which issue does this PR fix:
What does this PR do / Why do we need it:
If an issue # is not available please add repro steps and logs showing the issue:
Testing done on this change:

Automation added to e2e:

Will this break upgrades or downgrades?
Does this PR introduce any user-facing change?:

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

rebase pls


change z-index on pick up cards

At the moment when dragging the card from your hand to the table the z-index remains the same and cards can move underneath other cards, this is not intuitive behavior and should be changed to a temporarily high number.

also maybe udpate the entire table on release of card so that z-index don't increment to infinity (z-indexs alway remain in the range of 1- amount of cards)


Rotation of Array by K element

Aim

To add code for rotation of Array by K element

Details

The given input array will be rotated by count k.

Programming language

[ ] C
[ ] C++
[ ] Java
[x] Python

I want to add C++ solution of this??

I would like to add the java solution.

I would like to add the java solution.

Go Ahead @kumarshobhit

I would like to add C solution for this problem under LGM-SOC-21. Thank you.


The Invoice number generated for the invoice is showing incorrect client id and invoice number

Describe the bug
When adding new invoice number the client number shown in the invoice number is incorrect, also the sequence of invoice number is incorrect. The clinet id should be 060 , also invoice number should be 000002
The issue occured in production environment
Refer screenshot

The invoic no is not incremented

Tested on UAT environment

Invoice listing before adding new invoice

Added new invoice

The invoice no did not incremented

Hi @pankaj-ag  can you update the correct Invoice number in the database of production environment
Incorrect Invoice number   IN0950010000030522
Correct Invoice number     IN0950010000020522

The invoice in the portal is updated with correct invoice number

The issue is resolved as new invoice is number is avilable as per sequence

New invoice generated

New invoice number generated


[LiveMetricsExporter] Add Filtering Support part 4 - Apply the Filters and Aggregates the result

PR following up on #41523.
Code for the 3rd and 4th bullet points:

Apply the Filters and Projections.
Aggregates the result and add them to the Post request to be sent.

API change check
API changes are not detected in this pull request.


Question on Class Loss

Why does all the implementations seem to come with a class loss in addition to the loss associated with the method? I don't understand the reasoning for this. Any help with this issue is appreciated!

It is just for evaluation purposes, the linear layer receives features that are detached. See previous discussion: https://github.com/vturrisi/solo-learn/issues/230


Enable the script to load in DoneJS SSR

Adding this check for script && script.parentNode allows foundation-sites to work with DoneJS's Server Side Rendering.
This fixes an issue where the limited DOM used by done-ssr would prevent the script from running and would fail with the following error:
Error evaluating file:/Users/marshall/Sites/gh-test/public/node_modules/foundation-sites/dist/foundation.js
Cannot read property 'parentNode' of undefined
    at file:/Users/marshall/Sites/gh-test/public/node_modules/foundation-sites/dist/foundation.js:855:13

I don't think I can make a test for this.

I watched the tests pass (why wouldn't they, it's just a variable check?) and then the phantom install failed.

@marshallswain I've had the same problem with my tests. Travis CI has a hiccup now and again.

@kball You wanna weigh in on this PR and nudge Travis to rebuild if you think it's a good change?

This seems fine; I don't know if it will generally help other server-side rendering frameworks, or even if it is sufficient for DoneJS (there may be other assumptions in other parts of the chain) but it's not going to break anything in the client-side environment, so I see no harm in merging.


Mono: Input.Connect() doesn't exist

Godot version:
3.1 Beta1 (probably every version)
OS/device including version:
Windows 10
Issue description:
If you try to call Input.Connect() anywhere it says Input does not have a Connect definition.

Steps to reproduce:

Try adding a joystick connect to any script using this line:

Input.Connect("joy_connection_changed", this, nameof(MyMethod));

Shouldn't compile and auto-completion won't work.

This should exist though because there is a joystick connection signal http://docs.godotengine.org/en/latest/classes/class_input.html#signals

Can you check if #26071 does what you need? In the end I went with Singleton instead of Instance for the property name, as the latter was conflicting with ClassDB.Instance (although this method may be renamed in the future to ClassDB.Instantiate).
The type of the returned instance is Godot.Object.
This may change in 4.0 to something better, but for now this should be enough.

Works!


Added test for noskipws rule modifier with INT rule

Code review checklist

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Commit messages are meaningful (see this for details)
[x] Tests have been included and/or updated
[x] Docstrings have been included and/or updated, as appropriate
[x] Standalone docs have been updated accordingly
[x] Changelog(s) has/have been updated, as needed (see CHANGELOG.md, no need
to update for typo fixes and such).

Thanks @NevenaAl .
@goto40 This is test for the problem with INT rule word boundary which @NevenaAl found while trying to make a rule that use INT and noskipws at the same time.
I just pushed a fix to the branch https://github.com/textX/textX/tree/fix/int-match-no-word-boundary
Please check if it works with your grammar. This might be a potential BIC although it is a clear bug as it was inconsistent with FLOAT.

I just pushed a fix to the branch https://github.com/textX/textX/tree/fix/int-match-no-word-boundary

Looks good to me.


Add Organization and Contact details in the Idp metadata

Need to add organization details (like name, displayname, url, lang) and Contact Details (given_name,email_address for technical and Support both) in the Idp Metadata response

I'd like to give this a try. Can you point me to roughly where this would be?

@sccalabr
We need to add below Organization and Contact information in the IDP Metadata
These organizations and Contact Property need to add in the IdentityProvider struct, and by using these values we need to add these values to generated XML for Idp Metadata
Sample
<EntityDescriptor ...>
    <IDPSSODescriptor ...>
         ...
    </IDPSSODescriptor>

    <Organization>
        <OrganizationName>Example</md:OrganizationName>
        <OrganizationDisplayName>Example Inc</md:OrganizationDisplayName>
	<OrganizationURL>https://example.com</md:OrganizationURL>
    </Organization>

    <ContactPerson contactType="technical">
        <GivenName>John Doe</GivenName>
        <SurName>support</SurName>
<EMAIL_ADDRESS>    </ContactPerson>

    <ContactPerson contactType="support">
        <GivenName>John Doe</md:GivenName>
        <SurName>support</md:SurName>
        <EmailAddress>johndoe@example.com</md:EmailAddress>
    </ContactPerson>

</EntityDescriptor>

Generate Metadata Example
https://github.com/LoginRadius/go-saml/blob/fa9f285de74b0771b4253e81e5a233641655e945/examples/metadata.go#L9-L34

@sccalabr
And LoginRadius is also giving swags to people who will be contributing, so please make sure to read our blog and submit your info to get free goodies.
https://www.loginradius.com/engineering/page/hacktoberfest2020

I have some comments on my pr https://github.com/LoginRadius/go-saml/pull/16/commits/c9f85d40d2092947d7b4a4cb29d3c784a03a62e9. I am not sure how to go about testing this. How do I get it running locally? Does the schema overall look ok?

@sccalabr for testing you can install go-saml package in your project, and take reference from the example to test the metadata output.
Thanks

@sccalabr we have closed and commented in your PR https://github.com/LoginRadius/go-saml/pull/16
Thanks for your contributions

This has been addressed in #27. Please take a look and let me know your thoughts.

@anujc4
LoginRadius is also giving swags to people who will be contributing, so please make sure to read our blog and submit your info to get free goodies.
https://www.loginradius.com/engineering/page/hacktoberfest2020


chore(deps): upgrade dev dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dev-dependencies-k8s-26-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 4024

Questions ?
Please refer to the Backport tool documentation


Content Suggestion: TEST

Link to Content: https://bitcoin-only.com
Briefly Describe Content: Test - Bitcoin Only Resources
Suggested Section: Test - META

WORKS!


[bug] The noisy simulator in the dummy mode will have wrong output

Issue 1
When auto_mapping is available, this will produce NO result because the results.append will be skipped.
auto_mapping is checked if it is assigned. This part of the code can be checked globally for both OriginIR_Simulator and OriginIR_NoisySimulator, instead of writing repetitive codes in both classes. As OriginIR_NoisySimulator is inherited from OriginIR_Simulator, a "check_topology" function can be written in OriginIR_Simulator class and reuse in OriginIR_NoisySimulator class.
Issue 2
OriginIR_Simulator has qubit_num attribute, however, this variable is not updated until simulate() is called. This variable will be used in OriginIR_NoisySimulator._make_simulator to initialize the self.simulator (NoisySimulator). I suspect this variable is not correctly updated in dummy mode so that qubit_num=0 is passed into NoisySimulator.

Solved


Mod Loader Restart

What is your question?
What's the point of mods restarting the game when they're enabled or disabled ?

From what I know of, mods can now load their own assets to customize a title screen or main menu.

SOME MODS do it, not every single one.


[9.4.x] ISPN-11405 Always use thread pool to handle async xsite requests

https://issues.redhat.com/browse/ISPN-11404

First commit from this PR: https://github.com/infinispan/infinispan/pull/7977

Merged, thanks Pedro!


Problem with uniform ellipsoid space charge calculator

Repeatedly tracking with orbit.core.spacecharge.SpaceChargeCalcUnifEllipse leads to linearly increasing runtime.
import time
import random

from orbit.core import orbit_mpi
from orbit.core.bunch import Bunch
from orbit.core.spacecharge import SpaceChargeCalcUnifEllipse

# Create bunch
bunch = Bunch()
bunch.mass(0.939294)
bunch.charge(-1.0)
bunch.getSyncParticle().kinEnergy(1.3)

for _ in range(1000):
    x = random.uniform(-0.001, 0.001)
    y = random.uniform(-0.001, 0.001)
    z = random.uniform(-0.001, 0.001)
    xp = random.uniform(-0.001, 0.001)
    yp = random.uniform(-0.001, 0.001)
    de = random.uniform(-0.001, 0.001)
    bunch.addParticle(x, xp, y, yp, z, de)

# Create uniform ellipsoid space charge calculator
n_ellipsoids = 1
sc_calc = SpaceChargeCalcUnifEllipse(n_ellipsoids)

# Track and print runtime
init_runtime = 0.0

for trial in range(1_000_000):
    t0 = time.time()

    bunch_out = Bunch()
    bunch.copyBunchTo(bunch_out)
    sc_calc.trackBunch(bunch_out, 0.01)

    runtime = time.time() - t0
    if trial == 0:
        init_runtime = runtime

    print(
        "trial={:07.0f} init_runtime={:0.5e} runtime={:0.5e} frac={}".format(
            trial,
            init_runtime,
            runtime,
            runtime / init_runtime,
        )
    )

Output:
output.txt

Fixed on @shishlo branch: https://github.com/shishlo/PyORBIT3/commit/bb94cb60f1b48f30dd6efe14ed810accb283c188


Update recommendations-reference.md

Updating authentication recommendation assessment description for Defender for APIs

#sign-off

@dcurwin

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#please-close


Revert "deps: bump libp2p (#2127)"

This reverts commit 82fbba833efbaca4dc3bbb9b73827d32223274db.
The update breaks the event system. It likely happened after this https://github.com/libp2p/go-libp2p/pull/1574, but we don't need to debug it right now, as simple revert fixes this

We would catch this if we put more attention into the Swamp tests

Codecov Report

Merging #2136 (f4aada8) into main (71fc46d) will decrease coverage by 0.11%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2136      +/-   ##
==========================================
- Coverage   55.52%   55.42%   -0.11%
==========================================
  Files         212      212
  Lines       13558    13558
==========================================
- Hits         7528     7514      -14
- Misses       5268     5283      +15
+ Partials      762      761       -1

see 3 files with indirect coverage changes


use postgres 9.6 in CI

There are some under the hood performance improvements that we might benefit from in our CI.
https://www.postgresql.org/about/featurematrix/#performance
Travis images don't have postgres 10, though we can manually install it but it's way too much work for no benefit imo, I did it here https://github.com/CCI-MOC/hil/compare/master...naved001:use-postgres-10
All the manual setup causes it to be slower than the already available postgres 9.X. You can see the travis builds for that here https://travis-ci.org/naved001/hil/builds/386740666

Hm, The running time is actually a bit slower... the last run:
https://travis-ci.org/CCI-MOC/hil/builds/386365104
Vs. yours:
https://travis-ci.org/CCI-MOC/hil/builds/386810705?utm_source=github_status&utm_medium=notification
Not terribly surprising; they're probably not tuning for running in a VM with durabilty features turned off, so I'd expect it to be a crapshoot from one release to the next.

(I also don't know what we can expect from Travis re: consistency of performance -- we're probably sharing the machine with other runs, so it may be slower just because it's the middle of the day instead of late at night).

Well, then we might as well close this then and come to back upgrading postgres in the future.
Btw, do you think you could port your dummy_verify fixture to work with tests/unit/ext/auth/database.py They take around 40 seconds to run. I blindly used the fixture you wrote and that made no difference. Do you think it's worth looking into it? (it might require more thought)

my bad, I am actually noticing a difference of ~10 seconds on my machines;


Protein fit null 0.0.3

Submission Checklist

[x] Created a new directory in the submissions directory containing the YDS input file and optionally a force field .offxml file
[ ] Triggered the benchmark workflow with a PR comment of the form /run-benchmark path/to/submission
[ ] Waited for the workflow to finish and a comment with Job status: success to be posted
[ ] Reviewed the results committed by the workflow
[ ] Published the corresponding Zenodo entry and retrieved the DOI
[ ] Added the Zenodo DOI to the table in the main README
[ ] Ready to merge!

/run-benchmark submissions/2024-12-03-Null-0.0.3/input.yaml


cmine does not work properly

Hi!
After successfully running getpapers I tried cmine test and cmine test2. On both occasions I had blank output. I then ran norma to no avail. Whe I run cmine test2 I get a verbose output ending with:
WARN  org.xmlcml.ami2.plugins.ResultsAnalysis  - Null pluginOption
35355 [main] WARN  org.xmlcml.ami2.plugins.ResultsAnalysis  - Null pluginOption
35356 [main] WARN  org.xmlcml.ami2.plugins.ResultsAnalysis  - Null pluginOption
35356 [main] WARN  org.xmlcml.ami2.plugins.ResultsAnalysis  - Null pluginOption
35357 [main] WARN  org.xmlcml.ami2.plugins.ResultsAnalysis  - Null pluginOption
How do I get an e2e success please?

We need more information, including what is in your project directory test. My immediate reaction is that test may not have any CTrees in it. It's probably a good idea to create a small test with, say, 5 CTrees.
I think we need to distribute a small regression test with norma.

The directory test has 17k+ numbered files named: PMCnnnnn
It also has the following HTML files:
andrew@andrew-Dimension-5000 ~ $ ls -ls test/*html
4 -rw-r--r-- 1 andrew andrew 941 May 10 01:43 test/commonest.dataTables.html
4 -rw-r--r-- 1 andrew andrew 941 May 10 01:43 test/count.dataTables.html
4 -rw-r--r-- 1 andrew andrew 941 May 10 01:43 test/entries.dataTables.html
4 -rw-r--r-- 1 andrew andrew 941 May 10 01:43 test/full.dataTables.html
and the following XML files:
-rw-r--r-- 1 andrew andrew       72 May 10 01:41 sequence.dnaprimer.count.xml
-rw-r--r-- 1 andrew andrew       70 May 10 01:41 sequence.dnaprimer.documents.xml
-rw-r--r-- 1 andrew andrew       64 May 10 01:41 sequence.dnaprimer.snippets.xml
-rw-r--r-- 1 andrew andrew       72 May 10 01:43 species.binomial.count.xml
-rw-r--r-- 1 andrew andrew       70 May 10 01:43 species.binomial.documents.xml
-rw-r--r-- 1 andrew andrew       64 May 10 01:43 species.binomial.snippets.xml
-rw-r--r-- 1 andrew andrew       72 May 10 01:43 species.genus.count.xml
-rw-r--r-- 1 andrew andrew       70 May 10 01:43 species.genus.documents.xml
-rw-r--r-- 1 andrew andrew       64 May 10 01:42 species.genus.snippets.xml
-rw-r--r-- 1 andrew andrew       72 May 10 01:40 word.frequencies.count.xml
-rw-r--r-- 1 andrew andrew       70 May 10 01:40 word.frequencies.documents.xml
-rw-r--r-- 1 andrew andrew       64 May 10 01:40 word.frequencies.snippets.xml
I will have to investigate how to use CTrees.
Many thanks,

Hi,
Looks like you had a successful run in general. You can see a simple table summary of the output in the html files. If you open full.dataTables.html in a browser you'll see what it looks like.
I'm excited that it worked on 17k papers at a time (I've never run it on anywhere near that many!).
A CTree is the name we've given to those folders inside test (in your case) which contain a paper (in this case fulltext.xml) and optionally the paper converted to the format we can mine (scholarly.html), some metadata, and finally the mined results (you can see them for each invididual paper in test/PPMC123nnn/results/)

thanks @simulsys - great stuff.
@tarrow I think you mean 1.7K not 17K, but even so...
well done

I did :) ; @simulsys can you let us know if you have any further problems in a new ticket. It looks like it is working as planned to me.


Remove OpenSSL as a dependency

OpenSSL is currently causing GitHub Actions failures for the tasks trying to create pre-built binaries for our releases. More generally, linking with OpenSSL is a pain and source of complexity in building and distributing Hipcheck, and Rustls is far enough along that I think we can feel comfortable transitioning to it.

I believe the specific solution here would be to move away from native-tls, which we use through ureq and also import directly.


adding support for palm, anthropic, llama2, cohere

Hi @karfly,
Noticed some requests for adding support for other LLM providers. I'm working on litellm (simple library to standardize LLM API Calls - https://github.com/BerriAI/litellm) and was wondering if we could be helpful.
Added support for PaLM, Anthropic, Llama2, and Cohere.
Would love to know if this helps.

@karfly any update on this ? Happy to add docs/testing if this initial commit looks good😊

Hi @krrishdholakia!
Thank you for a wonderful PR and sorry for a delay (I have a long vacation).
I'll test the code and give feedback

Hi @karfly, What was litellm missing to be useful to you? Any feedback here would be helpful.


fix(react-query, jotai, react): fix typo in jsdoc

Overview

PR Checklist

[x] I did below actions if need

I read the Contributing Guide
I added documents and tests.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 71.86%. Comparing base (fbb937b) to head (871ea4c).

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1364   +/-   ##
=======================================
  Coverage   71.86%   71.86%
=======================================
  Files          67       67
  Lines         583      583
  Branches      129      129
=======================================
  Hits          419      419
  Misses        151      151
  Partials       13       13

Components
Coverage Δ

@suspensive/react
100.00% <ø> (ø)

@suspensive/react-dom
100.00% <ø> (ø)

@suspensive/react-native
100.00% <ø> (ø)

@suspensive/react-query
72.86% <ø> (ø)

@suspensive/react-query-4
0.00% <ø> (ø)

@suspensive/react-query-5
0.00% <ø> (ø)

@suspensive/jotai
0.00% <ø> (ø)

@suspensive/codemods
41.97% <ø> (ø)

----
🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests
JS Bundle Analysis - Avoid shipping oversized bundles

Thanks 😍


Cell specific drive cell event times are identical across trials (assigned gid changes)

Came across this while analyzing spiking in simulation. For cell_specific drives simulated with multiple trials, it seems that the spike times are all identical, but the gid they are assigned to gets changed. Is this the intended behavior? It leads to stochasticity in the final simulation, but this was somewhat unexpected to me. Thoughts?
import hnn_core
from hnn_core import jones_2009_model, simulate_dipole
import numpy as np
net = jones_2009_model()

weights_ampa_p2 = {'L2_basket': 0.000003, 'L2_pyramidal': 1.438840,
                   'L5_basket': 0.008958, 'L5_pyramidal': 0.684013}
synaptic_delays_prox = {'L2_basket': 0.1, 'L2_pyramidal': 0.1,
                        'L5_basket': 1., 'L5_pyramidal': 1.}
# all NMDA weights are zero; omit weights_nmda (defaults to None)
net.add_evoked_drive(
    'prox1', mu=40, sigma=8.33, numspikes=1,
    weights_ampa=weights_ampa_p2, location='proximal',
    synaptic_delays=synaptic_delays_prox, seedcore=4)

dpl = simulate_dipole(net, tstop=100, dt=0.05, n_trials=2)

print('Artifical Cell Spike Times Match')
spike_times = [np.array(st) for st in net.cell_response.spike_times]
spike_types = [np.array(st) for st in net.cell_response.spike_types]
print(sorted(spike_times[0][spike_types[0] == 'prox1'])[:5])
print(sorted(spike_times[1][spike_types[1] == 'prox1'])[:5])

print('Model Cells Have Variable Times')
print(sorted(spike_times[0][spike_types[0] == 'L2_pyramidal'])[:5])
print(sorted(spike_times[1][spike_types[1] == 'L2_pyramidal'])[:5])

print('External Drives Seem Variable')
print(net.external_drives['prox1']['events'][0][:5])
print(net.external_drives['prox1']['events'][1][:5])

print('External Drives Match After Sorting')
print(sorted(net.external_drives['prox1']['events'][0])[:5])
print(sorted(net.external_drives['prox1']['events'][1])[:5])

Artifical Cell Spike Times Match
[20.616243397076424, 21.698725791281795, 22.07852744133209, 22.937801675688206, 22.98657972337079]
[20.616243397076424, 21.698725791281795, 22.07852744133209, 22.937801675688206, 22.98657972337079]
Model Cells Have Variable Times
[23.400000000099737, 24.000000000099703, 25.8000000000996, 27.20000000009952, 27.800000000099487]
[24.200000000099692, 24.40000000009968, 27.20000000009952, 27.6000000000995, 29.15000000009941]
External Drives Seem Variable
[[46.00405471280794], [52.94980360927816], [40.06469047595444], [22.937801675688206], [54.26991370416734]]
[[52.94980360927816], [40.06469047595444], [22.937801675688206], [54.26991370416734], [38.23979917262779]]
External Drives Match After Sorting
[[20.616243397076424], [21.698725791281795], [22.07852744133209], [22.937801675688206], [22.98657972337079]]
[[20.616243397076424], [21.698725791281795], [22.07852744133209], [22.937801675688206], [22.98657972337079]]

This is true for both backends, the sorting is necessary because the spike times may be appended differently depending on the backend.

Also better explain, this persists when num_spikes > 1. As in the same 10 spike times are assigned to different gids across trials.

Do model cells have variable timing after sorting them as well? Could it be that the discrepancy between model and drive cell spike times is due to the fact that, as you pointed out, drive cell spike times get sorted?

Good question. No after sorting their is still variability in the models cells. Also there is no discrepancy between cell_response and external_drives like we had discussed being a possibility. This happens right when the drives are instantiated so it is definitely a seeding issue.

I think the culprit is here:
https://github.com/jonescompneurolab/hnn-core/blob/7c48e69292a801d20b8ae070e9376284866e1c7e/hnn_core/drives.py#L249
Could we pass n_trials to _drive_cell_event_times and down to _create_gauss, _create _bursty_input etc. Then use the size arguments in numpy functions to get completely random uncorrelated values

I think a stopgap solution where we increment the seed by something other than trial_idx may be fine before we implement the "proper" solution

Probably something like you've proposed earlier? Have the increment itself be generated by an RNG

I was thinking seed = event_seed + trial_idx * n_cells so you avoid another seed ... we have already too many

@ntolley is this still an issue? Move issue to 0.4 milestone if so?


Why not Drawer Menu in Cupertino?

I want to convert the code below into Cupertino, IOS style. But I Can't Use Drawer Menu for IOS style. Why?
How can I use?
return Scaffold(
        key: _scaffoldKey,
        drawer: Drawer(),
        appBar: AppBar(
          leading: IconButton(
            onPressed: () {
              Navigator.pop(context);
            },
            icon: Icon(
              Icons.arrow_back_ios,
              color: MyColors.blue,
            ),
          ),
          centerTitle: true,
          title: Text('Test', style: MyTextStyles.appBarTitle(deviceType) ),
          actions: <Widget>[
            Builder(
              builder: (BuildContext context) => PlatformIconButton(
                onPressed: () {
                  Scaffold.of(context).openDrawer();
                },
                icon: Icon(
                  Icons.menu,
                )))])
        body: .........

Hi @aydin-faruk
Please take a look into Cupertino (iOS-style) widgets
This platform is not meant for assistance on personal code. Please see https://flutter.dev/community for resources and asking questions like this, you may also get some help if you post it on Stack Overflow. Closing, as this isn't an issue with Flutter itself,
if you disagree please write in the comments and I will reopen it
Thank you

Thank you


Discussion: Make onboarding easier with index.html in rotonde-client

Moving over the post-merge discussion from #116
@neauoire:

I was thinking about adding an index.html page to the client repo with on boarding instructions, what do you think?

@0x0ade:

I welcome a index.html page with on boarding instructions... but I'm wondering: Is it possible to modify the DatArchive created by DatArchive.fork(url)? If so, we could just create a "create portal" button

@webdesserts:

I already made something like this (doesn't modify the svg atm). Got caught up with work and never announced it: dat://af5ef11cdb370a641bf9a95854b74f42bf445e84969c05968f5385f7cde7487d/

I'll work on adding an svg upload today.

Published the git repository. I'll make modifications there for now. If y'all want to pull it into the Rotonde org, feel free to fork/re-publish etc. I did want to eventually combine this with louis' guide in some way.

Ok, the site now has a default svg to replace @neauoire's whenever you create the portal and also allows you to upload your own. One thought is that this could also be re-purposed to "update" someone's information later. Use DatArchive.selectArchive(), read in the portal.json, allow them to edit and then save back to the site. This would allow us to offload the bulk of the "settings" ui & logic to an exterior site.

ohh! You could skip DatArchive.selectArchive() if we do something like
Preferences

or even just use document.referrer

Added to Rotonde org!

Could we actually merge this with the client? And have this run as the index.html?

@neauoire Sure, I'd be up for workin' on that this weekend if y'all want me to.

I'm available too! If you migrate it on the main repo as a PR, I might tweak the design a bit :) I'll also put in the default icon.

@neauoire Mmmmk. Sounds good to me.

I've opened a PR here: #123

That's pretty much solid, closing.