Can I stream download cross-domain pdf files?

Attach (recommended) or Link to PDF file here:
Configuration:

Web browser and its version:
Operating system and its version:
PDF.js version:
Is a browser extension:

Steps to reproduce the problem:
1.
2.
What is the expected behavior? (add screenshot)
What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

It should be possible; refer to https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-xhr.

However, it can't be Streaming download, it only sends one request


Feature Request: Admin can see followers by user

Would be nice to see which users have which followers, basically /wp-admin/users.php?page=activitypub-followers-list only seems to show the followers of the logged in admin user and not the other users on the site.

you can check their follower endpoints!?!

@pfefferle are you referring to https://domain.com/author/username/ ? It's not showing there (I assume there needs to be some code on that page to display things from the plugin?)
Alternatively if I view the profile from a Mastodon instance, I can see the total number of followers but also get "Followers from other servers are not displayed." and I am offered to "Browse more on the original profile" which doesn't show it per above.

I mean this site: https://notiz.blog/wp-api/activitypub/1.0/users/1/followers?page=1

Going to /wp-api/activitypub/1.0/users/1/followers?page=1 on my site is a 404.
I'm running Wordpress Version 6.3, ActivityPub 0.17.0, PHP 8.2.1

Oh sorry, I use a custom API prefix. Should be /wp-json/activitypub/1.0/users/1/followers?page=1 on your side. change the user-id to see the followers of the other blog users.

Thanks @pfefferle , that works. I still think it would be nice to have it via the admin panel, but this certainly does the trick.

btw. if you add &context=full you get the full profile of the follower

That didn't work... ""No route was found matching the URL and request method.""
/wp-json/activitypub/1.0/users/2/followers&context=full

/wp-json/activitypub/1.0/users/1/followers?page=1&context=full


Problems with text alignment on ls output.

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: WIN 10-18298.1000
Hyper.app version: 2.1.0 canary
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/andrzejnovak/c1d11d15884a3ebfc4cd04a9e2efd0a0
Relevant information from devtools (CMD+ALT+I on macOS, CTRL+SHIFT+I elsewhere):
The issue is reproducible in vanilla Hyper.app: reproducible

Issue
''
Problems with text alignment on ls output.

Bump, still a problem for me.

can you give the ci build a try and report if you are still facing it

@LabhanshAgrawal Well actually, this made it worse. Previously this would happen only in the default opened tab, but following tabs didn't have the issue. In the canary-4 linked above the alignment is problematic even in the subsequently opened tabs

can you post the details again, like current os version, config and screenshot
as these might've changed since you opened this issue.

Here goes. I did a clean install just to be sure, cleaning the config.js apart from
        shell: 'C:\\Windows\\System32\\wsl.exe',
        shellArgs: ['~'],

OS Name	Microsoft Windows 10 Pro
Version	10.0.18363 Build 18363
Hyper 3.1.0-canary.4

It seems to play particularly poorly with fullscreen and when the filename lengths vary a lot. Though it does work at some odd window sizes, here's one also for reference of desired behaviour

Hmm that's strange, It's working for me properly at all sizes.
Can you check https://github.com/xtermjs/xterm.js once and see if the demo works properly for you.

@LabhanshAgrawal Could you tell me what to look for? I haven't worked with npm before, but following the demo, I can get it to open in browser, but it's not interactive.

did you do a 'npm install' at first?
You may want to change demo/server.js line 47 to use wsl instead of cmd
just replace 'cmd.exe' with 'C:\\Windows\\System32\\wsl.exe' and add '~' to the empty args array at the end.
Then run npm run start
and then you should be able to use the terminal in the browser (localhost 3000)
test it with different values for rows and cols (try also with the size at which it's not working in hyper)

@LabhanshAgrawal can you clarify whether this was the demo you meant? https://xtermjs.org/ I am bit confused about how that helps actually

@andrzejnovak No, I meant the demo from the xterm git repo. You need to clone it to local and then follow the steps I mentioned in previous reply.

Ok, the web page doesn't seem to work for me.
Running npm install results in a bunch of error messages

npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
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>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.)
npm WARN rm not removing /home/anovak/aligntest/xterm.js/node_modules/.bin/rimraf as it wasn't installed by /home/anovak/aligntest/xterm.js/node_modules/rimraf
npm WARN rm not removing /home/anovak/aligntest/xterm.js/node_modules/.bin/semver as it wasn't installed by /home/anovak/aligntest/xterm.js/node_modules/semver
npm WARN rm not removing /home/anovak/aligntest/xterm.js/node_modules/.bin/json5 as it wasn't installed by /home/anovak/aligntest/xterm.js/node_modules/json5

<EMAIL_ADDRESS>install /home/anovak/aligntest/xterm.js/node_modules/puppeteer
node install.js

Downloading Chromium r686378 - 114 Mb [====================] 100% 0.0s
Chromium downloaded to /home/anovak/aligntest/xterm.js/node_modules/puppeteer/.local-chromium/linux-686378

<EMAIL_ADDRESS>install /home/anovak/aligntest/xterm.js/node_modules/node-pty
node scripts/install.js

make: Entering directory '/home/anovak/aligntest/xterm.js/node_modules/node-pty/build'
CXX(target) Release/obj.target/pty/src/unix/pty.o
SOLINK_MODULE(target) Release/obj.target/pty.node
COPY Release/pty.node
make: Leaving directory '/home/anovak/aligntest/xterm.js/node_modules/node-pty/build'

<EMAIL_ADDRESS>postinstall /home/anovak/aligntest/xterm.js/node_modules/node-pty
node scripts/post-install.js

<EMAIL_ADDRESS>prepare /home/anovak/aligntest/xterm.js
npm run setup

<EMAIL_ADDRESS>presetup /home/anovak/aligntest/xterm.js
node ./bin/install-addons.js

pulling addon dependencies...
Skipped xterm-addon-attach
Skipped xterm-addon-fit
Skipped xterm-addon-search
Skipped xterm-addon-serialize
Skipped xterm-addon-unicode11
Skipped xterm-addon-web-links
Skipped xterm-addon-webgl

<EMAIL_ADDRESS>setup /home/anovak/aligntest/xterm.js
npm run build

<EMAIL_ADDRESS>build /home/anovak/aligntest/xterm.js
tsc -b ./tsconfig.all.json

../node_modules/xterm/typings/xterm.d.ts:16:15 - error TS2300: Duplicate identifier 'FontWeight'.
16   export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
~~~~~~~~~~
typings/xterm.d.ts:16:15
16   export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
~~~~~~~~~~
'FontWeight' was also declared here.
../node_modules/xterm/typings/xterm.d.ts:21:15 - error TS2300: Duplicate identifier 'LogLevel'.
21   export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'off';
~~~~~~~~
typings/xterm.d.ts:21:15
21   export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'off';
~~~~~~~~
'LogLevel' was also declared here.
../node_modules/xterm/typings/xterm.d.ts:26:15 - error TS2300: Duplicate identifier 'RendererType'.
26   export type RendererType = 'dom' | 'canvas';
~~~~~~~~~~~~
typings/xterm.d.ts:26:15
26   export type RendererType = 'dom' | 'canvas';
~~~~~~~~~~~~
'RendererType' was also declared here.
../node_modules/xterm/typings/xterm.d.ts:547:16 - error TS2300: Duplicate identifier 'Terminal'.
547   export class Terminal implements IDisposable {
~~~~~~~~
typings/xterm.d.ts:555:16
555   export class Terminal implements IDisposable {
~~~~~~~~
'Terminal' was also declared here.
typings/xterm.d.ts:16:15 - error TS2300: Duplicate identifier 'FontWeight'.
16   export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
~~~~~~~~~~
../node_modules/xterm/typings/xterm.d.ts:16:15
16   export type FontWeight = 'normal' | 'bold' | '100' | '200' | '300' | '400' | '500' | '600' | '700' | '800' | '900';
~~~~~~~~~~
'FontWeight' was also declared here.
typings/xterm.d.ts:21:15 - error TS2300: Duplicate identifier 'LogLevel'.
21   export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'off';
~~~~~~~~
../node_modules/xterm/typings/xterm.d.ts:21:15
21   export type LogLevel = 'debug' | 'info' | 'warn' | 'error' | 'off';
~~~~~~~~
'LogLevel' was also declared here.
typings/xterm.d.ts:26:15 - error TS2300: Duplicate identifier 'RendererType'.
26   export type RendererType = 'dom' | 'canvas';
~~~~~~~~~~~~
../node_modules/xterm/typings/xterm.d.ts:26:15
26   export type RendererType = 'dom' | 'canvas';
~~~~~~~~~~~~
'RendererType' was also declared here.
typings/xterm.d.ts:555:16 - error TS2300: Duplicate identifier 'Terminal'.
555   export class Terminal implements IDisposable {
~~~~~~~~
../node_modules/xterm/typings/xterm.d.ts:547:16
547   export class Terminal implements IDisposable {
~~~~~~~~
'Terminal' was also declared here.
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
error TS2688: Cannot find type definition file for '../../../out-test/api/TestUtils'.
Found 12 errors.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: tsc -b ./tsconfig.all.json
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>setup script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>prepare script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/anovak/.npm/_logs/2020-04-27T10_41_56_085Z-debug.log

As does running npm run starts afterwards:

><EMAIL_ADDRESS>start /home/anovak/aligntest/xterm.js
> node demo/start
App listening to http://<IP_ADDRESS>:3000
Hash: 6633074c1b3c560381f9
Version: webpack 4.43.0
Time: 3972ms
Built at: 04/27/2020 12:43:02 PM
Asset      Size  Chunks             Chunk Names
client-bundle.js  60.5 KiB    main  [emitted]  main
Entrypoint main = client-bundle.js
[./demo/client.ts] 13.6 KiB {main} [built] [8 errors]
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-attach/out/AttachAddon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 12:22-77
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-fit/out/FitAddon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 13:19-68
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-search/out/SearchAddon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 14:22-77
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-serialize/out/SerializeAddon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 15:25-86
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-unicode11/out/Unicode11Addon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 18:25-86
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-web-links/out/WebLinksAddon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 16:24-84
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../addons/xterm-addon-webgl/out/WebglAddon' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 17:21-74
ERROR in ./demo/client.ts
Module not found: Error: Can't resolve '../out/browser/public/Terminal' in '/home/anovak/aligntest/xterm.js/demo'
@ ./demo/client.ts 11:19-60
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(11,26)
TS2307: Cannot find module '../out/browser/public/Terminal'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(12,29)
TS2307: Cannot find module '../addons/xterm-addon-attach/out/AttachAddon'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(13,26)
TS2307: Cannot find module '../addons/xterm-addon-fit/out/FitAddon'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(14,45)
TS2307: Cannot find module '../addons/xterm-addon-search/out/SearchAddon'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(15,32)
TS2307: Cannot find module '../addons/xterm-addon-serialize/out/SerializeAddon'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(16,31)
TS2307: Cannot find module '../addons/xterm-addon-web-links/out/WebLinksAddon'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(17,28)
TS2307: Cannot find module '../addons/xterm-addon-webgl/out/WebglAddon'.
ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts
./demo/client.ts
[tsl] ERROR in /home/anovak/aligntest/xterm.js/demo/client.ts(18,32)
TS2307: Cannot find module '../addons/xterm-addon-unicode11/out/Unicode11Addon'.

Also following the instructions here https://github.com/xtermjs/xterm.js/wiki/Contributing after getting the correct yarn (https://github.com/yarnpkg/yarn/issues/2821) results in the same/similar error messages and results.

did you run npm install from the root of the repo i.e. /home/anovak/aligntest/xterm.js
from some errors it seems like it's running from some child folder
npm start failed because npm install failed
i guess you should be able to simply run the below commands and it should work
cd /home/anovak/aligntest/xterm.js
git clean -xdf
npm install -g npm
npm install
npm start

Thanks for the detailed instructions. But actually it seems to lead to the same errors messages as above.

@LabhanshAgrawal If it helps it seems to be a rendered issue. I tried a bunch of prompts and the default windows wsl.exe and bash.exe have the same problem, so it's quite possibly not caused by hyper. The problem doesn't appear for the "new" windows terminal.


Arch specific cache

Change the structure on quay.io to support arch specific caches.

I don't seem to find a "rename" repository button on quay. I'd avoid to disrupt (again) the repository public URLs, and would just go by creating the images for the specific arches which are not amd64 (our default), e.g.:

https://quay.io/repository/costoolkit/build-green-cache
https://quay.io/repository/costoolkit/build-green-arm64-cache
https://quay.io/repository/costoolkit/releases-green
https://quay.io/repository/costoolkit/releases-green-arm64

Repositories have been created and write access has been granted to the robot account tied to Github actions


Travis 2.x broken

Probably due to https://github.com/FriendsOfCake/travis/blob/master/before_script.sh#L16
it cannot find anything anymore
So
  matrix:
    - DB=mysql CAKE_VERSION=2.6
    - DB=mysql CAKE_VERSION=2.7

does not work anymore. We currently don't have 2.x coverage anymore.
Example: https://travis-ci.org/dereuromark/cakephp-shim/builds/57485886

The tagging is not the problem, actually. I spent most of Friday with @jtyost2 trying to troubleshoot this and we spent a lot of time pursing that same line of thinking, but it turns out the issue is actually Github rate limiting.
++latest_ref
+++curl --silent https://raw.github.com/cakephp/cakephp/master/lib/Cake/VERSION.txt
++MASTER=
+++grep -Ei '^2.6.3\.'
+++tail -1
+++echo ''
++MASTER=
++'[' -n '' ']'
+++curl --silent https://api.github.com/repos/cakephp/cakephp/git/refs/heads
++BRANCH='{
  "message": "API rate limit exceeded for <IP_ADDRESS>. (But here'\''s the good news: Authenticated requests get a higher rate limit. Check out the documentation for more details.)",
  "documentation_url": "https://developer.github.com/v3/#rate-limiting"
}'

See this build for an example that has set -x for before_script.sh turned on: https://travis-ci.org/loadsys/CakePHP-Stateless-Auth/builds/58268566
I'm pretty sure the solution is to just make sure a Github token is set in your travis build first, which as I'm sure you know can be done using an encrypted Travis environment variable. The before_script.sh would have to be updated to provide the token during the curl commands too, which complicates things a bit.

For the time being, I've adjusted our .travis.yml file:

Include a limited-access github auth token as an encrypted env var. (ref)
env:
    global:
        - secure: "abcdef"  # Generated using,
          # `travis encrypt 'GITHUB_TOKEN=your_read_only_public_repos_only_token_here'`

Include a sed command to inject the token into the curl requests. (ref)
install:
    - git clone -b master https://github.com/FriendsOfCake/travis.git --depth 1 ../travis
    - 'sed -i'''' ''s|curl |curl -H "Authorization: token \$GITHUB_TOKEN" |g'' ../travis/before_script.sh'

Resulting build: https://travis-ci.org/loadsys/CakePHP-Stateless-Auth/builds/58278071

Do we have a less workaround solution for this yet for 2.x?

One option might be to clone the entire cakephp/cakephp repo earlier in the process and search for the tags/branches locally in git instead of via curl calls to Github's API...


Install cucumber error

Hello
I installed cucumber with this command:
npm install --save-dev cypress-cucumber-preprocessor
but I get an error:
1939 verbose node v14.17.6
1940 verbose npm  v6.14.15
1941 error code ENOENT
1942 error syscall rename
1943 error path C:\git\intlandCyTest\node_modules.staging\cypress-cucumber-preprocessor-4490c3b2\node_modules\debug
1944 error dest C:\git\intlandCyTest\node_modules.staging\debug-e4269b55
1945 error errno -4058
1946 error enoent ENOENT: no such file or directory, rename 'C:\git\intlandCyTest\node_modules.staging\cypress-cucumber-preprocessor-4490c3b2\node_modules\debug' -> 'C:\git\intlandCyTest\node_modules.staging\debug-e4269b55'
1947 error enoent This is related to npm not being able to find a file.
1948 verbose exit [ -4058, true ]
so do not finish the complete installation, therefore I can not use cucumber preprocessor
<EMAIL_ADDRESS>node: v14.17.6
thanks is advance

This isn't an issue specifically with this package and if you google eg. "npm install error syscall rename" you will find lots of proposed solutions.


cassandra: write optimisations

This change is

Reviewed 9 of 9 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

CONTRIBUTING.md, line 113 at r1 (raw file):

BG_CACHE = memory
DATABASE = biggraphite
STORAGE_DIR = /tmp

It should be also BG_STORAGE_DIR I ran into this issue when switching bg_cache to disk.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

CONTRIBUTING.md, line 113 at r1 (raw file):
Previously, erebe (Erèbe - Romain Gerard) wrote…
It should be also BG_STORAGE_DIR I ran into this issue when switching bg_cache to disk.

BG_CACHE is memory is, so we don't really care

Comments from Reviewable


Refactor for maintenance

Make discombobulate have a TTL equal to %dmg done in hours
Reduce duplicate code with slash_commands and commands
Move message logic to bot manager
Make LUA scripts return more info in general and react on it

Closes #6
Closes #2

The timeout to discombobulate is shared. This doesn't sound like you want to do.


Fix #492 - Add image filters (#694)

Moved over from #694 and contains @timmoy's work.

I finished this PR up with a few small changes. @timmoy thank you very much for your contribution! You have added a really neat feature to Thimble that a lot of people will be excited to see. Also thanks to @flukeout for design fixes.


[CI][Hardware][Intel GPU] add Intel GPU(XPU) ci pipeline

#3814 add XPU ci in test-template.j2 which is outdated and not be triggered.

@jikunshang Thanks for adding the CI A quick question: IIRC, we will use the 8xMax 1100 machine for the CI/CD (basically the machine we used to use for our dev). If that's true,

Would this be enough for the tests? Could the queue be exploded as we have many PRs everyday?
Which machine can we use for our development?

Yes, it's 8xMax 1100 machine. I noticed that each xpu ci run will take less than 5 mins, I think it's OK. We can add more agent to speed up if necessary.
You can use the node we provide earlier for development which is same machine for CI.

@jikunshang

We can add more agent to speed up if necessary.

Do you mean you can provide more GPU machine for CI if needed?

You can use the node we provide earlier for development which is same machine for CI.

I believe we shouldn't use the same machine for CI and dev (at least they shouldn't share the same GPUs) because that can cause unexpected failures in CI.

We can add more agent to speed up if necessary.

Do you mean you can provide more GPU machine for CI if needed?

Sorry, we don't have more GPU machine available currently, I mean we can add more CI agents and one agent binding to one gpu device.

You can use the node we provide earlier for development which is same machine for CI.

I believe we shouldn't use the same machine for CI and dev (at least they shouldn't share the same GPUs) because that can cause unexpected failures in CI.

yes you are right, I think we can use device 4-7 as ci test cards and device 0-3 for development.
you can specify target device by export ONEAPI_DEVICE_SELECTOR=level_zero:0-3
cc @zhouyuan


Need help in understanding INFO messages and what is going on in training.

I do not see if the model is training, not sure if it is training. The below error repeats again and again incrementing the restart_count.
  restart_count=1
  master_addr=<IP_ADDRESS>
  master_port=29500
  group_rank=0
  group_world_size=1
  local_ranks=[0, 1]
  role_ranks=[0, 1]
  global_ranks=[0, 1]
  role_world_sizes=[2, 2]
  global_world_sizes=[2, 2]

INFO:torch.distributed.elastic.agent.server.api:[default] Starting worker group
INFO:torch.distributed.elastic.multiprocessing:Setting worker0 reply file to: /tmp/torchelastic_ogp4uw52/none_yo_441uk/attempt_1/0/error.json
INFO:torch.distributed.elastic.multiprocessing:Setting worker1 reply file to: /tmp/torchelastic_ogp4uw52/none_yo_441uk/attempt_1/1/error.json

Describe the bug
Training the model and I could not understand if the model is training, but I am getting these INFO messages. Is there something that shows up when training a model?
Reproduction

What command or script did you run?

Did you make any modifications on the code or config? Did you understand what you have modified?
I don't think the messages are related to this.I modified the files that are referred the config file, edited the paths of the data_root and other related directories.

What dataset did you use?
Custom dataset in COCO model labels

Environment
!python mmdet/utils/collect_env.py

sys.platform: linux
Python: 3.8.10 (default, Sep 28 2021, 16:10:42) [GCC 9.3.0]
CUDA available: True
GPU 0,1: RTX A4000
CUDA_HOME: /usr
NVCC: Build cuda_11.1.TC455_06.29190527_0
GCC: gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
PyTorch: 1.9.0+cu111
PyTorch compiling details: PyTorch built with:
  - GCC 7.3
  - C++ Version: 201402
  - Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
  - Intel(R) MKL-DNN v2.1.2 (Git Hash 98be7e8afa711dc9b66c8ff3504129cb82013cdb)
  - OpenMP 201511 (a.k.a. OpenMP 4.5)
  - NNPACK is enabled
  - CPU capability usage: AVX2
  - CUDA Runtime 11.1
  - NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
  - CuDNN 8.0.5
  - Magma 2.5.2
  - Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.1, CUDNN_VERSION=8.0.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.9.0, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.10.0+cu111
OpenCV: 4.5.3
MMCV: 1.3.11
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1
MMDetection: 2.14.0+900f7bd

There was something wrong when you started distributed training.
If the process starts successfully, the config will be shown in the command window.


Validator fails unexpressively when $ref appears in invalid location

Using lint-openapi version 0.13.3
When a ref appears as a direct child of either the paths element or a given path in the paths element (two illegal positions) rather than failing with a useful error message, it exits with:

[Error] There was a problem with a validator.
Cannot read property '$ref' of undefined

Minimal reproduction pair here:
derp.yaml
---
openapi: 3.0.0
info:
  version: 0.0.1
  title: derp
  contact:
    name: yeah
    email<EMAIL_ADDRESS>
paths:
  /derp:
    post:
      $ref: yarp.yaml#/derp-post

yarp.yaml
---
derp-post:
  operationId: derp
  summary: derp
  requestBody:
    description: derp
    content:
      application/json:
        schema:
          type: object
  responses:
    '200':
      description: derp

It would be more helpful if it failed with a message reflecting that the location was illegal, though I understand these edge cases are really hard to catch. :smiley:

@tbenda-SEL I agree, the validator should be able to catch that as an error, report in, and continue with validation. I'll look into it, thanks for reporting


Firmware

any plans on adding the firmware to the  repo?
I love the design I'd love even more to build one sector C.
Thanks a lot!

The helix/rev3_4rows default layout in qmk serves as a good starting point. here's my base layer as a reference
LAYOUT(
      KC_ESC,         KC_Q,    KC_W,    KC_E,    KC_R,    KC_T,                      KC_Y,    KC_U,    KC_I,    KC_O,    KC_P,    KC_BSPC,
      LSFT_T(KC_TAB), KC_A,    KC_S,    KC_D,    KC_F,    KC_G,                      KC_H,    KC_J,    KC_K,    KC_L,    KC_SCLN, KC_QUOT,
      KC_LCTL,        KC_Z,    KC_X,    KC_C,    KC_V,    KC_B,                      KC_N,    KC_M,    KC_COMM, KC_DOT,  KC_SLSH, KC_ENT ,
      _______,        _______, KC_LGUI, KC_LALT, MO(1),   MO(2),  KC_SPC,  KC_SPC,   KC_RALT, MO(4),   MO(3),   _______, _______, _______
),

note that the bottom row's two outer keys will not be mapped to any physical key on the keyboard. also, the blank key third from the right is a physical key on the sector c, but i just left it blank as i don't know what to put on there yet


Accessing nested properties (with ".") from bound objects

How can this be done?

Implemented in https://github.com/cfg4j/cfg4j/pull/178


feat(proxy) return upstream response on failure

This allows callers of proxy:connect_upstream() the ability to parse the HTTP status and headers from the response (if desired) even when there's an HTTP-level failure.
Note that response status code check is only a Kong/lua-resty-websocket feature at the moment, so properly testing this code path is only possible if using Kong/lua-resty-websocket. I wanted to err on the side of having a test, so I updated the submodule to point there. That said, this is a really minor change, so if it's undesirable to test against Kong's resty-websocket fork instead of upstream OpenResty, then I think it would be fine to simply remove the test case and revert the submodule back to openresty/lua-resty-websocket.

Hmm, CI is failing because it seems to be loading up OpenResty's bundled WS library instead of our submoduled one?


kv::Abort should print filename, line and function name in the message

Should be optional with some macro.
It may be better to replace kv::Abort with qFatal everywhere because of the better interface:
qFatal() << "Error" << value;

Actually, by default qFatal doesn't have such interface, so it should be added.


[Question] Should we attempt to fix something little Spotify derped for Linux installations along the way on Debian?

See https://community.spotify.com/t5/Desktop-Linux/The-app-crashes-on-Debian-due-to-HW-acceleration/td-p/5049188
Although Spotify does work properly on all other Linux installations, it returns this error specifically on Debian, which might confuse an end-user who might not think of running Spotify from Terminal.
busra@dolunay:~/spicetify-bloom$ spotify
[1104/134732.855556:FATAL:gpu_data_manager_impl_private.cc(447)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap

The solution, as suggested in the Spotify Community post I appended on this post, is to append --no-zygote flag on Spotify's launcher entry, which is usually located at /usr/local/share/applications/spotify.desktop. Keep in mind, this is Debian-specific and doesn't affect Ubuntu AFAIK. So we have the option to ignore Snap installations -- Debian doesn't provide proper support for it anyway.
Should we really implement this (hacky) fix on the installation script? All it takes us to do is a simple command on that .desktop file anyway;
sed -i '/^Exec=/ s/spotify/spotify --no-zygote/'

what if we create a whole new script specially created for Debian and include the script and description in readme?

what if we create a whole new script specially created for Debian and include the script and description in readme?

Would also work, I just didn't want to hassle with multiple scripts as what we're doing is practically the same on all distros.

we can include it on a collapsed list which says (special script for Debian users) so normal users won't get confused in my point of view because this is going to be a extra functionality for specific set of users who uses Debian

we can include it on a collapsed list which says (special script for Debian users) so normal users won't get confused in my point of view because this is going to be an extra functionality for specific set of users who uses Debian

Oh now that's a good solution. I'm already working on it! :P

PR merged. Issue closed.


Add GCP cluster support to OSD provision script

MGDSTRM-8938
Update the osd-provision.sh script to allow GCP clusters to be provisioned. The script contains sample commands on how to create a GCP cluster. A GCP service account is required. The script will default to --cloud-provider aws,  so it shouldn't break any existing CI.

Have you seen this error before? I wonder if it's something to do with my account. The server JSON that the script generates does have the expected "compute": 3
{
  "kind": "Error",
  "id": "400",
  "href": "/api/clusters_mgmt/v1/errors/400",
  "code": "CLUSTERS-MGMT-400",
  "reason": "required total number of '48' nodes: '24' master nodes, '12' infra nodes and '12' compute nodes, exceeds the available quota of '24'",
  "operation_id": "d9fe9430-7d15-4cdf-8dca-f043ecc75190"
}

I haven't, and I didn't come across it when testing. It seems to be quota related, so maybe the quota is exhausted in that account? I'm really not 100% sure.

I verified too, this works!

@MikeEdgar @rareddy would you be able to merge this if you are happy with it? I don't have merge rights in this repo.


Optimize identity permutation polynomials

Implement the optimization in section 8 of https://eprint.iacr.org/2019/953.pdf that allows direct computation of the identity permutation polynomials via QNRs rather than committing to them.

Closing as this is already implemented


[enhanced-parts] dart_style support

No me formatting patterns needed.
Configurable part directives should be formatted just like conditional imports,
And imports, exports and parts should be formatted the same no matter which file they're in.


Tag Dictionary

Is your feature request related to a problem? Please describe.
Count of each tag used.
Describe the solution you'd like
We can have a model storing the count of each tag used so that we can use it for future features like filtering blogs by tags etc.

@diyajaiswal11 If you think this issue is fine, then I can start working on it.

Is your feature request related to a problem? Please describe.
Count of each tag used.
Describe the solution you'd like
We can have a model storing the count of each tag used so that we can use it for future features like filtering blogs by tags etc.

Sure @SubhradeepSS , go ahead.


Did you test the hmmr model on the val set or the test set of 3DPW?

Hi @akanazawa @jasonyzhang, it seems that you assign the val split as the actual test set in prepare_dataset.sh. It's very puzzling.

Hi,
That's just a set of scripts, so in practice we make it for both test & val. It's set to default to val there because we always test on the val set first!
Best,
Angjoo

Thanks! By the way, it seems that 'downtown_cafe_01' does not exist in the 3DPW dataset.


Add Resource Module

Fixes: https://github.com/mint-lang/mint/issues/92

@gdotdesign That sounds good, I will look into the error handling.
Do you think it should return a promise only when an asset is loaded?
Or also return a promise when an asset is pre-loaded?

I think they should return somethings like Promise(Resource.Error, Void) for all requests (load and pre-load) as well, where Resource.Error is an enum of possible errors.

When preloading resources, there does seem to be a way to catch errors, so far only the onload event works, when a resource is loaded.
For example, let's say you provide a invalid as value to preload, the console gets a warning:
<link rel=preload> must have a valid as value
But onerror never fires, and onload also never fires.
So maybe there could be a bool type: loaded = true | false.
But what would be the timeout of the loaded, since it would never fire if recourse was not loaded?
30-60 seconds seems reasonable.

I think 30 seconds should be fine.


Error: repository not enabled for code scanning

Hi,
I am trying to run Pyre on a private repo.
But I get this error: Error: repository not enabled for code scanning
I tried to enable code scanning, but it is not that easy:

Is Run github/codeql-action/upload-sarif@v2 really mandatory to check the python code style?

Hi @Karim-53
you can fork this repo and remove the Sarif specific steps from https://github.com/facebook/pyre-action/blob/main/action.yml
    - name: Run Pyre
      run: |
        cd "$REPO_DIR" || exit 1
        pyre --noninteractive --output=sarif check > sarif.json
      shell: bash
      env:
        REPO_DIR: ${{inputs.repo-directory}}

    - name: Saving results in SARIF
      if: always()
      uses: actions/upload-artifact@v2
      with:
        name: SARIF Results
        path: ${{inputs.repo-directory}}/sarif.json
        if-no-files-found: ignore

    - name: Upload SARIF Results
      if: always()
      uses: github/codeql-action/upload-sarif@v2
      with:
        sarif_file: ${{inputs.repo-directory}}/sarif.json

And configure a different pyre / pysa reporting format or just output the sarif.json to the console.


registration request fails - URL not found

Hi,
After installing the latest MOCK SAS , I receive the following response when I sends the registration requests https://XXXX:5000/v2.0/registration:
Response data: 404 Not FoundNot FoundThe requested URL was not found on the server.  If you entered the URL manually please check your spelling and try again.
The Mock SAS server URL is set correctly in the CBRS_MOCK_SAS_V_2_0\cbrsPython-master\Configuration\conf.
Actually, I copied the conf file from previous Mock SAS version , which worked fine, to the new Mock SAS version were I received the failure above.
I would appreciate fast response.

A couple of possibilities:

url should include "v1.1", not "v2.0"
possibly an issue with certificates between CBSD and Test Harness?
Firewall or other issue on server?

When using v1.1 version, connection to the Mock SAS fails .
The certificates were taken from the github.
firewall is off.
The same server is able to connect and work properly with previous Mock SAS version.

I assume this has been resolved and can be closed?


chore: parametrize DOCKER_SOCK in Makefile

I use Podman in rootless mode, so DOCKER_SOCK is /run/user/1000/podman/podman.sock.
(I have not been able to build these targets tho, which is required to build a local container, goreleaser+Makefile has given me a headache, giving up for now, we might want to use goreleaser build --rm-dist --single-target --snapshot --debug in the make build)

(I have not been able to build these targets tho, which is required to build a local container, goreleaser+Makefile has given me a headache, giving up for now, we might want to use goreleaser build --rm-dist --single-target --snapshot --debug in the make build)

It would be nice to unify how we build locally and for the releases. Ultimately it is a developer experience concern. As far as I observe, most of the contributors don't bother to install goreleaser (or any additional tooling) if they're working on something. We need to find the right balance and don't make it harder than necessary to contribute.
We have created https://github.com/parca-dev/cross-builder, and we should have moved builder-related mechanisms to that repo and built a pipeline to release these builder images automatically. We haven't had time to dedicate to it. Feel free to take the initiative if you've free spins ;)


HTTP: ok() returns unserialized message

{
"headers": {
"Content-Type": "application/json"
},
"status": 204
}

Think about removing the behavior and add noContent helper.


Update ML code to Latest Version

The ML code for this project is all in seperate repo acannistra/robosat.pink.
Since January 2020, several important updates have been made to this code, but most were provisionally-tested. A smattering of those updates includes:

The ability to select a particular subset of imagery tiles for prediction
The ability to generate tif tiles from prediction
The buffering of tiles in prediction to remove tile-edge artifacts from NN convolutions.

The purpose of this PR is to update the submodule record within this repository to reflect the most recent version of robosat.pink (https://github.com/acannistra/robosat.pink/commit/1416ed1d739dc34974e9023bbd2611654aac2c4a).
I think this is safe to merge.

In order to complete this PR we need to update some experimentation code in master. We'll pull master in elsewhere to do that.

That should do it.


Add explicit --save_state_filename to offline node options.

This allows to serialize the state also when no bagfile is given, e.g.
when the offline node is used to run an optimization and/or trimming
configuration on a pbstream. Or simply when one wants to use a custom
name directly. This doesn't break compatibility with the previous CLI.

@wally-the-cartographer merge

Merge requested by authorized user pifon2a. Merge queue now has a length of 2.


#2037 removing unused packages

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Do a quick check before the merge.
PR type

[ ] Bugfix
[ ] Feature
[x] Refactoring

What's new?

[x] PR closes #2037
[x] removed all the unused packages

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried respect high code quality standards
[x] I've didn't break any original functionality
[ ] I've posted screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases

Had issue bounty label ?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI, a screenshot is best to understand changes for others.

@prachi00 check why tests has failed https://github.com/kodadot/nft-gallery/runs/4914110706?check_suite_focus=true

@yangwao tests are fixed, good to go now.

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 167.63 USD/KSM ~ 0.597 $KSM
🧗 EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU
🔗 0x717cc80f27a16993e25ab7e7a2267094ca342302d2f7db07cd83dbb3433da1d8
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 157.66 USD/KSM ~ 0.634 $KSM
🧗 EzGc4s9PgCPx1YnF3fqzhLzVHpHMTL4LWPScwpDrR8JKgSU
🔗 0x02c4c6c7923456b5c7831105f926b27563bc1d3fbfa15dd540a9b60369dfdda2
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Distinctionary pattern for Units using RatioUnit or ProductUnit is redundant

AreaUnit is defined to be a Product unit with multiplier and multiplicand both being a DistanceUnit. But having a multiplicand and a multiplier already gets you into the ProductUnit Class. It would be sufficient to say an AreaUnit is a UnitOfMeasure with the multiplier and multiplicand as above. In addition, it should have a hasStandardUnit link to gist:_square_meter.

Here is an example of what will be inferred to be a RatioUnit:

@uscholdm To review this issue and report back to the group at next meeting.

DECISION: leave it as is is.  Strictly this is redundant, but it does make it a bit clearer.


CMake modernization

Modernize and improve Ginkgo's CMake settings. This is part of a series of changes to improve our CMake installation and ensure full compatibility with xSDK.

Slightly reorganize the main CMakeLists.txt,
Ensure 4 space alignment are used everywhere,
Prefer the specific Ginkgo_SOURCE_DIR and related variables as much as possible,
Use target_include_directories instead of the global include_directories,
Use target_compile_features instead of the global settings,
Move the header installation to the ginkgo_install function,
Use target_sources instead of the source variable,
Use target_compile_options instead of tweaking the CMAKE_<LANG>_FLAGS,
Use target_compile_definitions instead of the global add_definitions.

Closes #109.
Requirements:

[x] Merge #214
[x] Merge #216
[x] Rebase, check new changes and retest this MR

This MR is on top of #216. To get a clean view of the changes, look at the latest commit only.

This can now be reviewed.

On the CI system in a docker container (CMake version 3.11.1), I get the exact same result. I guess we can drop these lines in both the main CMakeLists.txt and comment in the install_test/CMakeList.txt


Button demo - iconLeft and iconRight on  not working

Hey @miljan-aleksic !
I can not find the error currently but on the demo page the default <vk-button> is displaying the iconLeft and iconRight icons correctly. In the <vk-button-link> the icons don't show up.
This is the error message Vue dev tools gives me on the local dev build:
vue.js:1023 [Vue warn]: Error when evaluating expression "iconClass(iconLeft)": TypeError: scope.iconClass is not a function (found in component: <vk-button-link>)

My best guess is the fact that <vk-button-link> inherits from <vk-button> and since the scope is different. But I have no clue for a pull request :disappointed:
Regards Sebastian

Hi there,
set the icons as the Buttons slot, you will have more control over how to render them. I am anyway considering to remove them..
<vk-button>Button <i class="uk-icon uk-icon-flag"></i></vk-button>


K3S Cluster 1.22.5 cannot be managed or imported to rancher 2.5.11 I/o timeout

Rancher Server Setup

Rancher version: rancherd version v2.5.11 (HEAD) go version go1.16.4
Installation option (Docker install/Helm Chart):  curl -sfL https://get.rancher.io | sh -

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE2

Proxy/Cert Details: Self-signed

Information about the Cluster

Kubernetes version: k3s v1.22.5+k3s1
Cluster Type (Local/Downstream):
Custom k3s (8 x Raspberry pi 4 4GB) 1 x Master,  7 x Workers

NAME           STATUS   ROLES                  AGE   VERSION
kubeworker01   Ready                     26d   v1.22.5+k3s1
kubeworker03   Ready                     26d   v1.22.5+k3s1
kubeworker04   Ready                     23d   v1.22.5+k3s1
kubeworker07   Ready                     23d   v1.22.5+k3s1
kubeworker05   Ready                     23d   v1.22.5+k3s1
kubemaster01   Ready    control-plane,master   26d   v1.22.5+k3s1
kubeworker06   Ready                     23d   v1.22.5+k3s1
kubeworker02   Ready                     26d   v1.22.5+k3s1
Describe the bug

Rancher cannot longer import the cluster. It was working but of the blue I started getting these messages
Cluster health check failed: Failed to communicate with API server during namespace check: Get "https://<IP_ADDRESS>:443/api/v1/namespaces/kube-system?timeout=45s": write tcp <IP_ADDRESS>:443-><IP_ADDRESS>:4514: i/o timeout and then I couldn't get it to manage the cluster anymore.
To Reproduce
I have deleted the cluster from ranchers reinstalled rancher, tried a docker version 2.6.3 and nothing.
I configured to correctly the API to run the ARM image version of the rancher agent
Result
The state of the pod is in crash loopbackoff
Pod logs
INFO: Environment: CATTLE_ADDRESS=<IP_ADDRESS> CATTLE_CA_CHECKSUM=82d83d7a97030f965aaf9bd590782a2e2d4faaa91ff9aa625dca7756df742271 CATTLE_CLUSTER=true CATTLE_CLUSTER_REGISTRY= CATTLE_FEATURES= CATTLE_INTERNAL_ADDRESS= CATTLE_IS_RKE=false CATTLE_K8S_MANAGED=true CATTLE_NODE_NAME=cattle-cluster-agent-899575bd-6gtlq CATTLE_SERVER=https://<IP_ADDRESS>:8443
INFO: Using resolv.conf: search cattle-system.svc.cluster.local svc.cluster.local cluster.local nameserver <IP_ADDRESS> options ndots:5
INFO: https://<IP_ADDRESS>:8443/ping is accessible
INFO: Value from https://<IP_ADDRESS>:8443/v3/settings/cacerts is an x509 certificate
time="2022-01-18T07:02:13Z" level=info msg="Listening on /tmp/log.sock"
time="2022-01-18T07:02:13Z" level=info msg="Rancher agent version v2.5.11 is starting"
time="2022-01-18T07:02:13Z" level=info msg="Connecting to wss://<IP_ADDRESS>:8443/v3/connect/register with token ddqdfg6r66l9gfq92t8zs99q6khpnlqvtz9z467plst44gjnpggsd2"
time="2022-01-18T07:02:13Z" level=info msg="Connecting to proxy" url="wss://<IP_ADDRESS>:8443/v3/connect/register"
time="2022-01-18T07:02:13Z" level=info msg="Starting user controllers"
time="2022-01-18T07:02:13Z" level=fatal msg="the server could not find the requested resource"
Expected Result
For the Pod to be running correctly and the API available for Rancher

Same issue

I have this issue as well.

Was anyone able to fix this issue?
I'm watching closely if a new version 2.5.12, to see this will fix this issue.
Best regards,

Doesn't look like 2.5.12 supports k3s v1.23 or v1.22 yet.
Doesn't look like v1.21 is technically in the downstream cluster support matrix but it does seem to work.
Does 2.6.3 support v1.23/v1.22 yet? I only see v1.21 in that matrix, but I'm not sure if that gets updated with every release.

The highest version of K8s that will be supported in Rancher 2.5.x is 1.20.x.
Rancher 2.6 has full support for 1.21, and experimental support for 1.22.

Hello,
The weird thing is that it was working before with no problem and then it stopped working.
I just fix this by using Rancher version 2.6.3 as advised and it worked right away.
Thank you for pointing the version issue. I tried to understand the matrix but honestly it wasn't that clear to me.
Best regards,
CD

???


Add Options to display DataFrame Index

Thanks for the great package!
Currently, spyre doesn't render DataFrame index by default. Is it reasonable to add an option to switch the behaviour?

https://github.com/adamhajari/spyre/blob/master/spyre/server.py#L117

Also, there is a bug when a DataFrame has a named Index. Pls see the below image which has unnecessary row.
from spyre import server

import numpy as np
import pandas as pd

idx = pd.Index(list('ABCDE'), name='index')
df = pd.DataFrame(np.random.randn(5, 5), index=idx)

class Example(server.App):

    tabs = ['example']
    outputs = [{"output_type" : "table",
                "output_id" : "table_id",
                "tab" : "example",
                "on_page_load" : True }]

    def getData(self, params):
        return df

app = Example()
app.launch(port=9093)

Sorry, I found the latter bug is caused by pandas.DataFrame.to_html() side. I've issued pydata/pandas#10344.
What I would like to ask you in this issue is whether adding an option to draw Index is reasonable because Index can contain meaningful information such as datetime.

@sinhrks couldn't you just call the .reset_index() method on the dataframe?

Possible as a workaround, but DataFrame.index often contain important information. I think it is better to always display index if there is no switching option.

@sinhrks i've addressed this issue here and here
to include the index column in your tables put:
server.include_df_index = True
at the top of your app after you import the server class.
Example here


Add support for Plugin Dimmer

Is your feature request related to a problem? Please describe:
Unsupported Lutron device.
Describe the solution you'd like:
Please add support for this device.
Describe alternatives you've considered:
None. As far as I am concerned this device is supported natively with the normal Lutron/Homekit integration, but the logs ask this be reported.
Additional context:
[06/11/2022, 14:56:07] [Lutron] Failed to process device: Error: Failed to wire new device Living Room Flood Lamp: Skipping: Device type PlugInDimmer not recognized. Please file a ticket and tell me about it

As with #84, closing as it's no longer applicable.


⚠ Processors has degraded performance

In b5bf9d9, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 46 ms

Resolved: Processors performance has improved in 162d07b.


ts/Extendible class w/ writer_ptr

Base class for Nexthop Thread safe DB.
Added some documentation(WIP)
Extracted read_ptr and write_ptr to manage access of thread shared pointers.

I have to base this to make the docs work. I'm going to switch to the master branch.


Includes an option to customize the button bottom spacing.

With this option it is possible to add a bottom inset to the button. It may be useful in cases which the cell contentView has a clear background and is larger than the actual view visible to the user.

hi @diogowbrito. This is not symmetrical. What does bottom spacing mean without top spacing.


please

Does it support Chinese

I am trying to understand how the language is loaded and may submit a PR in simplified Chinese after understanding it.

@jiaweigang Check the locales/deDE.lua file, i have done it there already. You can copy the content from the locales/deDE.lua and fillout the right side in the chinese localiazation file, thank you.


Iox #408 add struct with options to subscriber

Pre-Review Checklist for the PR Author

[x] Branch follows the naming format (iox-#123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit messages are signed (git commit -s)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[x] All checks have passed
[x] Assign PR to reviewer

Notes for Reviewer
This is a follow up to #441 and  and based on the branch from that PR. It adds a SubscriberOptions struct to configure historyRequest and queueCapacity. Documentation and examples will be updated in the next PR.
Please wait with review until #441 is merged.
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

Post-review Checklist for the Eclipse Committer

[ ] All checkboxes in the PR checklist are checked or crossed out
[ ] Merge

References

Partly closes #408

@ithier could you have a look at the DDS adjustments?


Enhancement: Also run phpstan against tests

This PR

[x] also runs phpstan against tests
[x] fixes issues reported via static analysis

❗ Blocks #807.
💁♂ Probably best reviewed commit by commit.

Thank you, @svpernova09!


DMs: download data to extra_file_path

https://github.com/Helmholtz-UFZ/galaxy-tools/blob/9552050f4813668422ddbf8da97d2a1c5f5f2966/data_managers/data_manager_virsorter/data_manager/virsorter_datamanager.xml#L56
This is the genomad zenodo record. The one for virsorter2 is https://zenodo.org/records/4269607

Thanks @wm75


Choppy audio

I have Alexa installed and working on my Raspberry Pi 3, but the audio is choppy. I have set up PA to run in system wide mode, installed sox and also VLC, but it's still choppy. Is there anything else I can try (this happens on both the HDMI and 3.5 audio out)?

in /etc/opt/Alexapi/config.yaml
i change :
playback_handler: "vlc"

to :
playback_handler: "sox"

worked for me 😄

I tried that but when I set it to sox there is no audio.

I tried a fresh install of Raspbian with Pixel buy with the same result. Before I install VLC, the audio is very bad to the point there is audio only every five seconds or so. once I install VLC, the audio is much improved, but it still occasionally skips/stutters .
Also I once again did as JamesZEMOURI suggested and changed vlc to sox, but when I do that there is no audio at all.

I believe I'm having the same issue you're having. I've changed over to sox and I'm getting no audio at all so I opened it up in debug and I'm getting a "missing filename" sox error.
2017-04-20 17:57:52 DEBUG: Setting up playback handler: SoxHandler 2017-04-20 17:57:52 INFO: Checking Internet Connection ... 2017-04-20 17:57:52 DEBUG: Starting new HTTPS connection (1): api.amazon.com 2017-04-20 17:57:53 DEBUG: https://api.amazon.com:443 "GET /auth/o2/token HTTP/1.1" 404 29 2017-04-20 17:57:53 INFO: Connection OK 2017-04-20 17:57:53 INFO: AVS token: Requesting a new one 2017-04-20 17:57:53 DEBUG: Starting new HTTPS connection (1): api.amazon.com 2017-04-20 17:57:53 DEBUG: https://api.amazon.com:443 "POST /auth/o2/token HTTP/1.1"<PHONE_NUMBER>-04-20 17:57:53 INFO: AVS token: Obtained successfully 2017-04-20 17:57:53 DEBUG: Stopping audio play 2017-04-20 17:57:53 DEBUG: Stopped play. No SoX process to stop 2017-04-20 17:57:53 DEBUG: Playing audio: /opt/AlexaPi/src/resources/hello.mp3 2017-04-20 17:57:53 DEBUG: Started play. sox -q /opt/AlexaPi/src/resources/hello.mp3 -t pulse vol -6 dB pad 0 0 2017-04-20 17:57:53 DEBUG: Error attempting play. sox FAIL sox: missing filename

Yes, I get the same error "Error attempting play. sox FAIL sox: missing filename'

Erm. Ok, I'm probably going to get this wrong. But do you actually have sox installed?

DEBUG: Error attempting play. sox FAIL sox: missing filename

If I remember correctly, I got this when  I was using a wrong output_device ... looking at the code ... do you guys have a space characted in your output_device? There might be a bug in the code.
Try tweaking the setting and get back here with your setting. Thanks.

I was chatting at the AlexaPi/Lobby on gitter and had some great help from @Romain_LE_BARS_twitter. Were were unable to get sox to work, but he had me use v1.4 of AlexaPi instead of the newest one, and with VLC as the handler, the choppy, stuttering, skipping audio is gone.
Not sure if that helps, but anyone else with choppy audio could try v1.4
`cd /opt/AlexaPi/
sudo git checkout v1.4'

I'll give that a go when I get home tonight I guess, haha. Thanks!

Well, I went back to 1.4 and I'm still getting choppy audio using VLC :/. I'll keep playing around with it to see what I can get.

I guess sox still doesn't work for you on v1.4 (it didn't for me)?

Sox works for me after installing through pip install sox (make sure you use a version older than the current one 1.2.8). But the problem is: It gets stuck for a several minutes after playback
Started play. sox -q /tmp/AlexaPi-runtime-ptdqM3/KnowledgePrompt.4afac634-2959-4211-8cc4-6cacfae32026_200714149.mp3 -t alsa default vol -6 dB pad 0 0

How do you install an earlier version of sox?

Sox works for me after installing through pip install sox (make sure you use a version older than the current one 1.2.8). But the problem is: It gets stuck for a several minutes after playback

This doesn't make sense at all. AlexaPi doesn't use the sox python wrapper and the sox binary is not contained in the release package.

Sorry my bad. I got mixed up, I assumed soxhandler would be using the wrapper. Anyways for people having the problem with no file error, just do apt-get install sox.
But the playback getting stuck error still persists.

Anyways for people having the problem with no file error, just do apt-get install sox

Tried that, but problem still there.
playback_handler: "sox"
This gives no sound at all, but
playback_handler: "vlc"
This gives sound and on v1.4 AlexaPi it's smooth playback, but on current/newest AlexaPi it's verey choppy for me.

I've solved this problem.
In your config:
  playback_handler: "sox"
  output: "pulseaudio"
  output_device: "default"

(it's not pulse but pulseaudio, I found it in sox's documentation)
And do:
sudo apt-get install libsox-fmt-pulse
It's working for me!

I tried the config you suggested EmerickH, but I still get an error when trying to use sox. It works for the most part using vlc instead, just the occasional audio choppiness.

@flyboy320 can you copy/paste the log?
Emerick

@EmerickH  here you go
2017-06-01 14:27:29 INFO: AVS token: Requesting a new one
2017-06-01 14:27:29 DEBUG: Starting new HTTPS connection (1): api.amazon.com
2017-06-01 14:27:30 DEBUG: https://api.amazon.com:443 "POST /auth/o2/token HTTP/1.1" 200 978
2017-06-01 14:27:30 INFO: AVS token: Obtained successfully
2017-06-01 14:27:30 DEBUG: Stopping audio play
2017-06-01 14:27:30 DEBUG: Stopped play. No SoX process to stop
2017-06-01 14:27:30 DEBUG: Playing audio: /opt/AlexaPi/src/resources/hello.mp3
2017-06-01 14:27:30 DEBUG: Started play. sox -q /opt/AlexaPi/src/resources/hello.mp3 -t pulseaudio default vol -6 dB pad 0 0
2017-06-01 14:27:30 DEBUG: Error attempting play. sox FAIL formats: no handler for given file type `pulseaudio'

@flyboy320 are you shure to have pulse?
sudo apt-get update
sudo apt-get install pulseaudio libsox-fmt-pulse

Emerick

@flyboy320 without reply I think it's solved
This issue has bee reported a lot of time so I group them all here: https://github.com/alexa-pi/AlexaPi/issues/242


Add typescript interface definition

This PR satisfies https://github.com/cornerstonejs/dicomParser/issues/124 by adding the index.d.ts definition file to the project root. This is all that's required for Typescript projects to pick up the definitions.
I've copied the definitions from the file suggested in https://github.com/cornerstonejs/dicomParser/issues/124, as well as added the definitions to the parseDicom options.
Let me know if you have any questions/comments/concerns. Thank you for your work on this amazing library.

Coverage remained the same at 52.759% when pulling 788f8eaaa0142b4c77be91961c1339e976b642d2 on sedenardi:dev-typescript into e51fa368bb9c7f82145420d4ecc9e95a50535ec5 on cornerstonejs:master.

Sorry for the last minute addition, noticed I hadn't brought the Element definition into the branch when I made the PR.

I am surprised by this in class Element:
length?: number;
I would I thought this would be:
length: number;

Another thing, where is parser:

https://github.com/cornerstonejs/dicomParser/blob/master/src/dataSet.js#L25

I am surprised by this in class Element:
length?: number;
I would I thought this would be:
length: number;
Same goes for dataOffset I do not believe it can be undefined

These were oversights on my part. You're right, in both readDicomElementExplicit and readDicomElementImplicit the length and dataOffset are always set.

Another thing, where is parser

I've added the optional parser member to the Element interface.
I've also added annotations to the DataSet data typed methods to show their return type and which VRs they're applicable to.

If @malaterre, is happy, it has my greenlight for merge

@dannyrb This look like a pretty good stard. But the OP did not really describe the scope of this PR. For example a lof of the exported symbols are not describe in this PR:

https://github.com/cornerstonejs/dicomParser/blob/374ad3d20a92bd2a7ec56d90dfce2fb2815fee13/src/index.js

Maybe this will be done at a later stage, but it would be nice to know the plan.

@malaterre @dannyrb Thanks for the feedback guys. You're right that I didn't really define the scope of what I'd initially work on, mostly because copying (and modifying) the definitions from https://github.com/cornerstonejs/dicomParser/issues/124 satisfied my own project's needs.
Instead, I've completed the definitions for all the exported symbols. I haven't added annotations to them right now, but that could be done at a later date (mostly by copy/pasting the JSDoc).
Let me know if you guys see anything else that's off.

I'll pull the lever, and if anything else jumps out we can address it.

Thanks @dannyrb. I'll be happy to address any issues that arise from TS definitions in the future.

@sedenardi thank you for this -- any plans on making this more generally available via DefinitelyTyped?

@adamwdennis Not sure what you mean by more generally available? I believe the DefinitelyTyped folks prefer the type definitions to only be in one place, the package or the DefinitelyTyped repo, and of those two options I think they prefer the package itself.
From

If you are the library author and your package is written in TypeScript, bundle the autogenerated declaration files in your package instead of publishing to Definitely Typed.

From

When a package bundles its own types, types should be removed from Definitely Typed to avoid confusion.

Hi @dannyrb, it doesn't look like CI automatically cut a new npm release. There's no huge rush, I just wanted to make sure nothing additional was needed on my end.


Vendoring libnetwork

Vendoring libnetwork commit: 8fb0a8bc9e3166216ca3da2d0bb15332f6685745
- Fixes breakage in k/v store handling logic in experimental
- Adds back all the fixes that went in 1.7.1 to master
- Change VXLAN port in overlay driver to IANA assigned port
Fixes #14372
Signed-off-by: Jana Radhakrishnan<EMAIL_ADDRESS>

@mrjana Janky is failing https://jenkins.dockerproject.org/job/Docker-PRs/10814/console

@thaJeztah Yeah, failing the same on lot's of jobs (like for #13694 http://jenkins.dockerproject.org/job/Docker-PRs/10815/console )

@vdemeester ah, thanks. I saw http/transport so thought it could be related, but if not, I'll try to restart the builds and see if they complete succesfully.

I applied this patch and found it worked at first.
But when I tried to restart the docker daemon it always fails with the following error message:
INFO[0476] GET /v1.20/containers/449d2fd995224278e6b34c51a2afac22b1d5af958084d62d42848b443abe6450/json
INFO[0476] DELETE /v1.20/containers/449d2fd995224278e6b34c51a2afac22b1d5af958084d62d42848b443abe6450?v=1
2015/07/06 19:00:44 [DEBUG] serf: messageUserEventType: jl <IP_ADDRESS> 44b2c8d73ec3d9258eca4122da1202d83a4baa9a8b612706080a7c973c46cc3f da69838e75480b74f99831a213b170d6f68d0d58c886609f45705aecb09f80d8
2015/07/06 19:00:44 [DEBUG] serf: messageUserEventType: jl <IP_ADDRESS> 44b2c8d73ec3d9258eca4122da1202d83a4baa9a8b612706080a7c973c46cc3f da69838e75480b74f99831a213b170d6f68d0d58c886609f45705aecb09f80d8
2015/07/06 19:00:44 [DEBUG] serf: messageUserEventType: jl <IP_ADDRESS> 44b2c8d73ec3d9258eca4122da1202d83a4baa9a8b612706080a7c973c46cc3f da69838e75480b74f99831a213b170d6f68d0d58c886609f45705aecb09f80d8
2015/07/06 19:00:44 [DEBUG] serf: messageUserEventType: jl <IP_ADDRESS> 44b2c8d73ec3d9258eca4122da1202d83a4baa9a8b612706080a7c973c46cc3f da69838e75480b74f99831a213b170d6f68d0d58c886609f45705aecb09f80d8
2015/07/06 19:00:46 [DEBUG] memberlist: Initiating push/pull sync with: <IP_ADDRESS>:7946
INFO[0481] Processing signal 'terminated'
Waiting for /var/run/docker.sock
WARN[0000] Running experimental build
INFO[0000] Listening for HTTP on unix (/var/run/docker.sock)
INFO[0000] [graphdriver] using prior storage driver "aufs"
INFO[0000] Option DefaultDriver: overlay
INFO[0000] Option DefaultNetwork: multihost
INFO[0000] Option OptionKVProvider: consul
INFO[0000] Option OptionKVProviderURL: localhost:8500
WARN[0000] Running modprobe bridge nf_nat br_netfilter failed with message: modprobe: WARNING: Module br_netfilter not found.
, error: exit status 1
INFO[0000] Firewalld running: false
FATA[0000] Error starting daemon: Error initializing network controller: error obtaining controller instance: failed to initialize vxlan id manager: failed to initialize bit sequence handler: failed to deserialize head: cannot deserialize byte sequence of lenght 26 ([65 65 65 67 65 65 65 65 65 65 65 65 65 65 81 65 65 65 65 65 65 65 65 65 88 34])

@mrjana Also tests failing with panic :/

@LK4D4 it seems to be DockerSuite.TestApiImagesDelete and it's failing on other PR (or even on my laptop & server.. :cry:)

@vdemeester Is it like race or consistent?

@LK4D4 well, it's pretty consistent on my server & laptop, it like an infinite loop or something, and it's also doing this on DockerSuite.TestApiImagesHistory for example.

@mountkin I saw the same issue after I pushed the PR. Working on fixing it

For the failing builds, see https://github.com/docker/docker/pull/14409 (thanks, @vdemeester)

c6dc6bc looks like its working well for me

LGTM

+1 Builds from this branch are working well for me in manual testing.

LGTM


{Freeway-bug}[PowerToys - Color Picker]: Incorrect focus order observed for navigating using keyboard under 'Color formats' region.

Microsoft PowerToys version
0.68.1
Installation method
GitHub
Running as admin
None
Area(s) with issue?
ColorPicker
Steps to reproduce
Test Environment:
OS: Windows 11 Version Dev (25300.1000)
App version: 0.68.1
App name: Power Toys
Repro Steps:

Open PowerToys application from Windows start.
Now navigate to Power toys Color picker on navigation pane and activate it.
Navigate inside the rows present under 'Color Format' group.
Now press tab key to navigate inside the row controls and verify if focus indicator is visible properly when focus navigates to row control or not.

User Impact:
If the keyboard focus order for navigation on rows is not correct and logical, keyboard dependent users will face difficulty and get disoriented while navigating inside the application.
Guideline Reference:
https://www.w3.org/WAI/WCAG21/Understanding/focus-order.html
https://user-images.githubusercontent.com/87321414/224923308-e45f1470-809c-4f4b-94d1-28b72a222084.mp4

✔ Expected Behavior
Incorrect focus order and method of navigation on rows using tab key was observed. The inner controls of the row were accessible using tab key where as the row/ list items were also navigable using tab key. Also the order was incorrect as focus navigated to Toggle switch> More options> Row controls.
❌ Actual Behavior
The rows should be accessible using up/ down arrow keys whereas the row controls such as toggle switch and more options should be accessible left/ right arrow keys. Also the focus order should be as follows: Complete Row control> Toggle Switch> More Options button.
Other Software
No response

Issue is fixed on latest testing environment on V 0.70 and focus is moving correctly on the rows.


Make error in clusterchecks cmd clear when feature is disabled

What does this PR do?
When clusterchecks are disabled, the endpoints return a 404 error.
The error code does not bubble down from utils.DoGet, so cluster-agent clusterchecks returned a unhelpful error.
Two changes in this PR:

makes the endpoint send a "Cluster-checks are not enabled" body, that will bubble up the logs
when cluster_checks.enabled is false, do not even attempt to query the endpoint for the clusterchecks and flare commands, just print "Cluster-checks are not enabled" and exit

Motivation
What inspired you to submit this pull request?
Additional Notes
Anything else we should know when reviewing?

Codecov Report

Merging #2976 into master will increase coverage by 0.55%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2976      +/-   ##
==========================================
+ Coverage   56.43%   56.98%   +0.55%
==========================================
  Files         488      497       +9
  Lines       34557    35382     +825
==========================================
+ Hits        19502    20163     +661
- Misses      13893    14037     +144
- Partials     1162     1182      +20

Impacted Files
Coverage Δ

pkg/flare/cluster_checks.go
0% <0%> (ø)
:arrow_up:

pkg/clusteragent/clusterchecks/handler.go
68.7% <0%> (-2.3%)
:arrow_down:

pkg/trace/event/processor.go
90.54% <0%> (-0.99%)
:arrow_down:

pkg/secrets/secrets.go
63.1% <0%> (ø)
:arrow_up:

pkg/trace/agent/processed_trace.go
0% <0%> (ø)
:arrow_up:

pkg/trace/quantile/weighted.go
100% <0%> (ø)

pkg/trace/agent/sublayers.go
89.47% <0%> (ø)

pkg/trace/agent/stats_payload.go
0% <0%> (ø)

pkg/trace/agent/statsraw.go
98.55% <0%> (ø)

pkg/trace/agent/tags.go
73.22% <0%> (ø)

... and 6 more


Partition all functions with tensorflow convention even if private

This patch has a temporary fix to not throw away private functions in DeadFunctionElimination if they only appear as attributes of graph ops. This can be removed as soon as we move partitioning to the deabstraction pass.

Resolves SR-8550.

@swift-ci please test tensorflow

Awesome. Thanks for fixing this! The next step to unblock dataset higher order function APIs is https://bugs.swift.org/browse/SR-8487.


On the profile page and endorsement page, if a user is member, show the donation button for the PAC

This will basically be an auth-gated button. So it shouldnt show up until we fetch the user info and we see the user is a member.

@travisbloom-cb I think we can use the same design that we had originally mocked up for this: https://www.figma.com/file/lwvEDeWUmOOmMXUr8C0x3u/State-Pages?type=design&node-id=246-62897&mode=design&t=RCo8U5PiqSXnE5Pm-4

link coming shortly


Gamification

Theme mode:
Common color pickup: forest, skin tones, animal, ...

Color mixing: color theory

Classic game mode
https://www.realtimecolors.com/game

OKLab


Cannot build application locally on MacOS (spawnSync zip ENOENT)

Describe the bug
I cannot build the application locally due to an error: ⨯ spawnSync zip ENOENT  failedTask=build stackTrace=Error: spawnSync zip ENOENT.
Steps to reproduce

Be on Mac
Run npm run build
now this happens

Expected behavior
It should work.
Environment

OS: MacOS Sonoma 14.4
Camunda Modeler Version: [e.g. 2.0.0]
Execution Platform: [e.g. Camunda 7, Camunda 8]
Installed plug-ins: [...]

Additional context
Discovered by @jwulf

Additional context:
jwulf@Joshs-MacBook-Pro camunda-modeler % which zip
/usr/bin/zip

This seems to be related to https://github.com/electron-userland/electron-builder/issues/6821

OK this is actually easier than I thought. In the ZIP step, we use a wrong directory name:

Notice that we use /dist/mac while only /dist/mac-arm64 exists.

@barmac As we're on it, shall we start to create different distributions for ARM vs. intel?

You're reading my mind.

With updated file name, it builds correctly on Mac. I will now try out building for both ARM and x86.

I was able to build for ARM64 and I gotta tell you the Modeler opens super quickly. It's a major improvement. Expect a PR today.


Lookup for kubernetes value not working

Hey,
I am trying to use kustomization_overlay to patch some helm charts I am pulling from a repo. The helm chart contains a lookup for one of the values in our kubernetes cluster. However, this lookup never seems to work. The lookup line from the chart is as follows:
data:
  {{- $key := lookup "v1" "Secret" .Release.Namespace "gradle-build-cache-builtin-secret" | dig "data" "build.cache.builtin.secret" "" | b64dec }}
  build.cache.builtin.secret: '{{ $key | default (randAlphaNum 16) | b64enc }}'

The value always defaults to the random number. Does anyone know why this might be? This chart works as expected when we are not using this provider.
We have tried changing the .Release.Namespace in the chart to match the namespace in our cluster (to make sure we weren't setting the namespace improperly) but it still fails.
We also made sure that this helm chart was being run by setting it to some test value and we saw that appear in our plan.
Thanks!

I don't use helm, the support for helm was contributed and I accepted it. But I won't be able to assist with issues around it.

AFAIK kustomize uses helm template and it doesn't have access to your k8s cluster.

Thanks for the insight @olfway. I assume with that, we can close this issue. I don't think any sort of dynamic lookups helm might be doing would work with the integration kustomize has.


Windows CI: Fix test-unit for daemon

Signed-off-by: John Howard<EMAIL_ADDRESS>Anyone who's looked closely at the windowsTP4 output will notice a bunch of errors for test-unit which are currently ignored. Starting to fix them up. This is for daemon.  Local unit testing on Windows below:
c:/go/bin/go.exe test -v -tags daemon [E:/go/src/github.com/docker/docker/daemon]
=== RUN   TestDaemonConfigurationMerge
--- PASS: TestDaemonConfigurationMerge (0.00s)
=== RUN   TestDaemonConfigurationNotFound
--- PASS: TestDaemonConfigurationNotFound (0.00s)
=== RUN   TestDaemonBrokenConfiguration
--- PASS: TestDaemonBrokenConfiguration (0.00s)
=== RUN   TestParseClusterAdvertiseSettings
--- PASS: TestParseClusterAdvertiseSettings (0.00s)
=== RUN   TestFindConfigurationConflicts
--- PASS: TestFindConfigurationConflicts (0.00s)
=== RUN   TestFindConfigurationConflictsWithNamedOptions
--- PASS: TestFindConfigurationConflictsWithNamedOptions (0.00s)
=== RUN   TestDaemonConfigurationMergeConflicts
--- PASS: TestDaemonConfigurationMergeConflicts (0.00s)
=== RUN   TestDaemonConfigurationMergeConflictsWithInnerStructs
--- PASS: TestDaemonConfigurationMergeConflictsWithInnerStructs (0.00s)
=== RUN   TestFindConfigurationConflictsWithUnknownKeys
--- PASS: TestFindConfigurationConflictsWithUnknownKeys (0.00s)
=== RUN   TestFindConfigurationConflictsWithMergedValues
--- PASS: TestFindConfigurationConflictsWithMergedValues (0.00s)
=== RUN   TestGetContainer
--- PASS: TestGetContainer (0.00s)
=== RUN   TestValidContainerNames
--- PASS: TestValidContainerNames (0.00s)
=== RUN   TestContainerInitDNS
--- PASS: TestContainerInitDNS (0.01s)
=== RUN   TestMerge
--- PASS: TestMerge (0.00s)
=== RUN   TestDaemonReloadLabels
--- PASS: TestDaemonReloadLabels (0.00s)
=== RUN   TestDaemonDiscoveryReload
--- PASS: TestDaemonDiscoveryReload (0.00s)
=== RUN   TestDaemonDiscoveryReloadFromEmptyDiscovery
--- PASS: TestDaemonDiscoveryReloadFromEmptyDiscovery (0.00s)
=== RUN   TestContainerDoubleDelete
--- PASS: TestContainerDoubleDelete (0.00s)
=== RUN   TestDiscoveryOpts
--- PASS: TestDiscoveryOpts (0.00s)
=== RUN   TestModifiedDiscoverySettings
--- PASS: TestModifiedDiscoverySettings (0.00s)
=== RUN   TestLogContainerEventCopyLabels
--- PASS: TestLogContainerEventCopyLabels (0.00s)
=== RUN   TestLogContainerEventWithAttributes
--- PASS: TestLogContainerEventWithAttributes (0.00s)
=== RUN   TestMigrateLegacySqliteLinks
--- PASS: TestMigrateLegacySqliteLinks (0.10s)
=== RUN   TestParseVolumesFrom
--- PASS: TestParseVolumesFrom (0.00s)
PASS
ok  	github.com/docker/docker/daemon	0.218s
Success: process exited with code 0.

02:33:26 # github.com/docker/docker/daemon
02:33:26 daemon/daemon_unix_test.go:11: container redeclared as imported package name
02:33:26 	previous declaration at daemon/daemon_unix_test.go:10
02:33:26 daemon/daemon_unix_test.go:91: undefined: "github.com/docker/engine-api/types/container".Container
02:33:26 daemon/daemon_unix_test.go:92: undefined: containertypes in containertypes.HostConfig

@cpuguy83 Ugh. Yeah, figured I'd break something on Linux. Will fix...

@cpuguy83 Fixed that bit - waiting for Jenkins runs to finish.

LGTM

LGTM 🐙


Server response is 404

Using

Kong 1.1.x (as DB-Less)
docker-compose 1.24.0

Problem
I get a 404 from kong-certbot when I try to get a certificate.
Invalid response from http://domain/.well-known/acme-challenge/rxvaWacypC-621kBKc-b0W4nRPgdlhuv21ZUQY30jjE [ip]: 404

But http://domain/.well-known/acme-challenge return ACME client standalone challenge solver.

Config files
My kong.yml:
# Kong Cerbot Agent
- name: Kong-Cerbot-Agent
  url: http://kong-certbot-agent
  routes:
  - name: Certbot
    hosts:
    - domain
    paths:
    - /.well-known/acme-challenge
    regex_priority: 0
    preserve_host: false
    strip_path: false
    protocols:
    - http
    methods:
    - GET

My docker-compose.yml kong-certbot-agent:
  # Kong Certbot (Let's Encrypt)
  kong-certbot-agent:
    image: "phpdockerio/kong-certbot-agent"
    user: "${KONG_USER:-root}"
    container_name: kong-certbot
    # command: ./certbot-agent certs:update http://kong:8001 contact@domain ${LIST_ALL_DOMAIN}
    command: [ "./certbot-agent", "certs:update", "http://kong:8001", "contact@domain", "${LIST_ALL_DOMAIN}", "--test-cert" ]
    volumes:
      - ~/kong-certbot-agent/letsencrypt:/etc/letsencrypt
      - ~/kong-certbot-agent/log:/var/log/letsencrypt

I just tried with the current version and the challenge seems to work fine. Have you a) run it again and b) ensure you're proxying correctly not just /well-known/acme-challenge but also /well-known/acme-challenge/*?
Also I have to ask... have you edited your config above with dummy domains before putting it here?

The problem was changing /well-known/acme-challenge to /well-known/acme-challenge/*  :man_facepalming:
And I also change my domain for domain in my configs

Great stuff.
That been said I think this might be a change in kong 1.1, in 1.0 and earlier you certainly don't need the wildcard, I'll investigate and amend docs accordingly.
Thanks for the report.


Array equality

Problem
Array equality isn't implemented in the ssa refactor's acir gen. Currently binary ops only support numerics, and not arrays.
Happy Case
The following program should compile (taken from array_neq test):
// Simple example of checking where two arrays are different
fn main(a: [Field; 32], b: [Field; 32]) {
     assert(a != b);
}

Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

Also affects integration test 7

Test named generics affected.

Test named 8_integration affected.

Affects test named global_consts

7_function

Also affects integration test 6

struct_inputs

I'd be in favor of replacing the array equality a1 == a2 in each of these tests with
fn array_eq<T, N>(a1: [T; N], a2: [T; N], elem_eq: fn(T, T) -> bool) -> bool {
    let mut result = true;
    for i in 0 .. a1.len() {
        result &= elem_eq(a1[i], a2[i]);
    }
    result
}

Supporting == for all [T] regardless of T as we have now is a type soundness issue anyway.

Affects test named keccak256

Affects sha256


hetman hat and cossack uniform

About the PR
Adds hetman hat and cossacks jumpsuit from the time of Zaporozhian sich. I take inspiration to make this from ukrainian film Пропала грамота (the Lost Letter).
Media

[x ] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Changelog
:cl: Tunguso4ka

add: cossacks jumpsuit and hat

ill tell mappers they can put this clothes in their map

why delete?


Update to <IP_ADDRESS>

Hello @hvr
could you please consider merging this and publishing this version on hackage?
It would ease the migration of our project to ghc 8.10.4
It might make sense to merge https://github.com/haskell-hvr/base-noprelude/pull/12 first and rebase this PR on top of that..

@hvr is there anything I can do to get this merged?

Hello @hvr
would you be willing to transfer the maintaintership of this package to me?
I'm jhrcek on hackage..

Closing this as we (Holmusk) decided to fork this library and are now maitaining that fork instead:
https://github.com/Holmusk/base-noprelude


[Ignore] Demonstration of Hexagonal Architecture in Java using Quotes Engine by<EMAIL_ADDRESS>

Ignore this PR, instead refer #7404

Demonstrates hexagonal architecture in Java with a quotes engine

More details available in README

Submitter: Tapan Avasthi

Note: This PR will be closed just after its creation as per the instructions sent.

Ignore this PR, instead refer #7404


Unescape the backend strings for IOU

Details

Fixed Issues

$ https://github.com/Expensify/App/issues/6159
Tests | QA Steps

Open staging.new.expensify.com
Login with existing account
Tap + button
Select Split Bills
Select contact with double-quote in the name
Tap Request
Open the chat with that IOU request and observe their name.

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Gentle Bump @puneetlath .

@puneetlath Awaiting your review...

@parasharrajat we have a merge hold right now, so won't be able to merge until next week or a little longer, but I'll review soon!

Maybe you can add the hold label on the issue @puneetlath. Thanks.

Removed Company Offsite HOLD, feel free to merge @puneetlath

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @puneetlath in version: 1.1.15-18 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @roryabraham in version: 1.1.16-10 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[Feature Request] Add vacuum API to DeltaLog in delta-standalone module.

Feature request
In response to this issue https://github.com/delta-io/delta/issues/1456 we should add a vacuum API to the DeltaLog class.
This would enable users to clean up old and un-referenced parquet files using delta-standalone.

HI @horizonzy - can you please update the issue to indicate that this is for delta-standalone?

addressed.

@scottsand-db Hello, could you help to push it.


Community space in the main page

Preview
https://near.social/#/bo.near/widget/gigs-board.pages.Feed?nearDevGovGigsContractAccountId=devgovgigs.near
Problem
Currently, there is no way on the Gigs Board homepage for people to discover specific communities.

Solution
Add a dedicated "Featured Communities" section on the homepage.

For this MVP, we will add at least 4 communities.
Acceptance Criteria

Add a Featured Communities section at the top of the homepage

Title: Feature Communities
4 Cards, each one containing the main image, title, and description.
Each card links to the corresponding community page
Hover: Shadow

Out of scope:
Can add the View All in a separate story (once we create the All Communities page)
Reference:
Figma design

Everything regarding the community space is fixed. I'm also going to fix: https://github.com/near/devgigsboard-widgets/issues/61 in this PR


For the whole LES, the demand for heat and the different forms of supply need to be shown per time-step

A chart similar to gas and electricity would be nice. A stack of production combined with a line for demand would be very useful here:

The main categories would be:

Demand (total demand)
Production:

Heat network (excess heat)
Heat network (dispatchable)
Decentral production

The decentral production would include all technologies in the households. If possible it would be nice to differentiate between those as well.

I have some questions. How would somebody be able to view these charts? Just by clicking on and end-point? Or is this not connected to an end-point at all and does this need to be in a different chart?

I'll wait for @ChaelKruip to clarify, but at the moment I don't think there is enough data available to the front-end to be able to make this chart possible. The network calculation is going to have to do more book-keeping to properly record exactly which producers were running when, and how much energy was output.
I'd like to know the answers to @grdw's questions too

Or is this not connected to an end-point at all and does this need to be on a different page?

Yes. Just like with the gas 'tab', I'd like to have a tab with heat demand/production overview for the whole LES.

The network calculation is going to have to do more book-keeping to properly record exactly which producers were running when, and how much energy was output.

I think we would like to have access to the following curves:

total space heating demand (adding all scaled profiles for space heating)
total hot water demand (adding all scaled profiles for space heating)
the net load of the buffers (can be positive or negative)
the production of heat by decentralised technologies (heat pumps, combi boilers etc.)
the production of heat by the must-run part of the heat network
the production of heat by the dispatchable part of the heat network
the deficit of heat (if buffers + production does not match demand)

I present to you probably the ugliest mock-up chart ever:

I hope a few things are clear from it though:

Demand = positive load and stacked
Supply = negative load and also stacked
The mismatch between supply and demand is drawn as a production deficit
Buffers can have positive and negative loads depending on the moment
We show this in a weekly time-frame

I'll work on getting this data out of the network calculation. I'll aim to expose it via a Rails action which responds with JSON something like:
{
    "demand": {
      "hot_water": [1, 2, 3, ..., 672],
      "space_heating": [1, 2, 3, ..., 672]
    }
    "supply": {
      "must_run": [1, 2, 3, ..., 672],
      "dispatchable": [1, 2, 3, ..., 672],
      "decentral": [1, 2, 3, ..., 672]
    }
    // positive = charging, negative = discharging
    "buffer_load": [1, 2, -3, -4, ..., 672]
}

I think that covers all the bases...

I think that covers all the bases...

Sounds good!
Thinking about it a bit more, I think it would be great if we could show the sources of the heat network separately if possible:

central heat network (must-run)
central heat network (dipatchable)
heat network (geothermal)
heat network (gas CHP)
heat network (biogas CHP)
heat network (biomass CHP)

Thinking about it a bit more, I think it would be great if we could show the sources of the heat network separately if possible:

In which case, instead of must_run and dispatchable "supply" series', we can separate out each technology.
{
    "demand": {
      "hot_water": [1, 2, 3, ..., 672],
      "space_heating": [1, 2, 3, ..., 672]
    }
    "supply": {
      // we can show which are must-run and which are dispatchable using the
      // the legend, labels, and chart colours
      "heat_source_1": [1, 2, 3, ..., 672],
      "heat_source_2": [1, 2, 3, ..., 672],
      "heat_source_3": [1, 2, 3, ..., 672],

      // local = from endpoints, aka "decentral"
      "local": [1, 2, 3, ..., 672]
    }
    // positive = charging, negative = discharging
    "buffer_load": [1, 2, -3, -4, ..., 672]
}

Closing as this chart has been merged. Some improvements are listed in https://github.com/quintel/etmoses/issues/1161


Latest version not working under 3.0.1 Swift

STEPS
DL Latest build (10/26).
Click Example.

Dialog box opens, immediately tries to convert to 3.x
Run the convert, end up with errors attached.

It seems if the current version is not compatible with 3.0.

Unless I'm doing something wrong here. Is there another build I'm not seeing?  OR there is a default setting in my version of Xcode that mangles the install.

you can autoconvert version from pod 0.1.1 to get it run.
Pod needs to be updated to get an swift 3 compatible version when doing a pod install.

+1

+1

Try this.
pod 'ENSwiftSideMenu', :git => 'https://github.com/evnaz/ENSwiftSideMenu.git', :branch => 'master'


Cannot install on Windows

Fresh install of Python 3.5.4 (32-bit), no other interpreter versions are installed on my computer, still I cannot install ntlk in any way that is listed on the official webpage.
When I'm trying to use nltk-3.2.5.win32.exe I'm getting the error 'Python version -32 required, which was not found in the registry.' even though there is a 32-bit version that is listed in the PATH variable.
C:\Users\User>pip install ntlk
Collecting ntlk
  Could not find a version that satisfies the requirement ntlk (from versions: )
No matching distribution found for ntlk

C:\Users\User>python -m pip install ntlk
Collecting ntlk
  Could not find a version that satisfies the requirement ntlk (from versions: )
No matching distribution found for ntlk

C:\Users\User>py -m pip install ntlk
Collecting ntlk
  Could not find a version that satisfies the requirement ntlk (from versions: )
No matching distribution found for ntlk

C:\Users\User>python
Python 3.5.4 (v3.5.4:3f56838, Aug  8 2017, 02:07:06) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> print (struct.calcsize("P") * 8)
32
>>> import platform
>>> platform.architecture()
('32bit', 'WindowsPE')
>>>

Please use pip or conda to install on Windows. Maybe this'll help: https://gist.github.com/alvations/0ed8641d7d2e1941b9f9

Thanks @alvations


Client exception classes should be global, not per session

https://github.com/boto/botocore/issues/2238 still reproducible in 1.24.27.
>>> from botocore.session import Session
>>> s1, s2 = Session(), Session()
>>> c1, c2 = s1.create_client('s3'), s2.create_client('s3')
>>> c1.exceptions.NoSuchKey == c2.exceptions.NoSuchKey
False

This wastes memory and maybe surprising to users. For example, in
try:
    c1.get_object()
except c2.exceptions.NoSuchKey:
    do_stuff()

do_stuff is not invoked if c1.get_object() raises NoSuchKey. This may be exotic code if the client method invocation is close to the except clause, but less exotic if they are further apart, in different functions.
I think these exception types ought to be interned.

Hi @hannes-ucsc,
Thanks for writing. I'll reopen the original issue for tracking and check in on it.


MasterPage deployment without "Moderation"

Correct a bug when I want to deploy a masterpage and "Moderation" feature is not activate.

Thanks a lot for this contribution!
Before we can accept your changes we would need to ask you to sign a collaboration agreement. Can you please fill in the sections highlighted in yellow, sign it and send a scanned version to<EMAIL_ADDRESS>This agreement only needs to be signed once, so for all your future pull requests you're fine. Sorry for the extra hassle, but it is a new requirement from our legal department.

Merged this one. Thanks Matthieu.

Given you've created the PR against our master branch it's not flagged as merged, but it it. Will close manually now.


Using --belts or -b causes crashes and the graph's rates are misaligned

--belts issue:

Input (this does the same thing with cli.py and api.py):
python api.py 225 15 --belts 60 120
Output:Traceback (most recent call last):
  File "/home/user/Satisfactory-Splitter-Calculator/api.py", line 60, in <module>
    main()
  File "/home/user/Satisfactory-Splitter-Calculator/api.py", line 43, in main
    cn.smart_ratio(*args.into, mk=args.mk, alt_belts=args.belts))
  File "/home/user/Satisfactory-Splitter-Calculator/conveyor_nodes.py", line 391, in smart_ratio
    _smart_ratio(list(targets), 0, best_splits, 0)
  File "/home/user/Satisfactory-Splitter-Calculator/conveyor_nodes.py", line 357, in _smart_ratio
    for belt in belts:

-b issue

Input:
python cli.py 225 15 -b 2
Output:  Traceback (most recent call last):
  File "/home/pranay/Satisfactory-Splitter-Calculator/cli.py", line 269, in <module>
    main_cli()
  File "/home/pranay/Satisfactory-Splitter-Calculator/cli.py", line 244, in main_cli
    main(*args.into, name=args.to_file, **foo)
  File "/home/pranay/Satisfactory-Splitter-Calculator/cli.py", line 137, in main
    cn.smart_ratio(*num, mk=mk, alt_belts=belts))
  File "/home/pranay/Satisfactory-Splitter-Calculator/conveyor_nodes.py", line 340, in smart_ratio
    belts = alt_belts.sort() if alt_belts else [60, 120, 270, 480, 780][:mk]
TypeError: slice indices must be integers or None or have an __index__ method

Graph issue

Input:
python cli.py 225 15
Output

--belts
So, I'm pretty sure I noticed that a little after my the last push when using it myself. I then fixed it and forgot to push it to GitHub... So it should be fixed now.
-b
That was from the argument parser creating a list of a single int instead of just giving the int. I thought I corrected that somewhere before, but I guess it was in one of the other files' parser and I didn't check for that elsewhere.
Graph
I don't actually see anything wrong with the provided output, besides not being the easiest thing to follow (which I can't do much about).
The two outputs are 225 and 15 with a total input of 240, so that seems fine. The smart splitter is taking out a full 60 and sends the remaining elsewhere. The normal splitters and mergers seem to be correct.
The only things I can see that may be off issue are 1) difficulty noticing that the splitter getting 180 is going has three outputs, and 2) the second merger has 4 inputs which isn't possible in-game.
(1) I can't do much about, maybe consider trying different line types or line engines, or something besides Graphviz. (2) Something I'm considering but I need to make sure it groups nodes together that are somewhat near to each other or it will become an even bigger mess.


Meta statements: preserve order and allow changing order by drag & drop

As with other statements and props, the order (1., 2., 3...) matters in meta statements in Detail (and data model). Therefore:

Do not order alphabetically but add new ones at the end.
Add drag&drop button  and allow moving meta props to a different place in the order.

Linked to #612

@adammertel : how this is progressing? This one is really important.

This should be implemented, the new changes to the data model allowed this
. But It's not drag and drop so far (move up and down buttons).
On Sun, 9 Jan 2022, 11:39 David Zbíral, @.***> wrote:

@adammertel https://github.com/adammertel : how this is progressing?
This one is really important.
—
Reply to this email directly, view it on GitHub
https://github.com/DISSINET/InkVisitor/issues/607#issuecomment-1008272349,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADCVMRKEZ3SFDHBOKXMWNLLUVFQXZANCNFSM5IMND2XA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>

@adammertel : we need drag & drop, definitely. Move up/down is not practical at all.