Missing include for rom/uart.h (IDFGH-11947)

Without this include it fails to compile with this error:
esp/esp-idf-v5.2/components/esp_rom/include/esp32/rom/uart.h:262:32: error: implicit declaration of function 'UART_STATUS_REG' [-Werror=implicit-function-declaration]
  262 |         status = READ_PERI_REG(UART_STATUS_REG(uart_no));

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

sha=c5251861dfa4e207398db3d22a84fd56d4e6f96b


Epic: Safekeepers simulation follow-ups

Motivation
https://github.com/neondatabase/neon/pull/5804 should get merged soon. It has the first revision of simulation testing. This epic will contain possible ideas and follow-ups for it.
Implementation ideas
### Tasks
- [ ] try to reuse existing safekeeper parts more
- [ ] try to make `walproposer_sim` simpler
- [ ] run perf to find bottlenecks and speed up testing
- [ ] reproduce and fix voting bug (https://gist.github.com/petuhovskiy/2230a8ec749cbee26d15640f1233c3e4)

Other related tasks and Epics

https://github.com/neondatabase/neon/issues/547

Post #5804 review, I think we need to (roughly in the order of priority):

Fix commit_lsn assertion. Easy fix would be to track it per safekeeper and ensure it doesn't go down. But ideally, we should reconstruct from logs (or just assert at every step like in TLA+) committed WAL at any node and ensure that records from it don't dissapear/change.
Definitely need 2 walproposers (maybe 3), can also run a bit with 5 sks for fun.
Need some tweaking of options. It is important to have everything derived from consts and seed, but reasonable fraction of schedules should be able to commit at least something, and this should be easily observable (currently can grep debug log for commit_lsn; entries and compare them). It should be also easy to see all params in single place because relationship between them is very important (i.e. network delay vs injected events interval).
things from your list, especially repro/fix voting bug :)

Would be nice to run simulation tests with a real disk on a real filesystem.

[ ] First step is to create a temp directory for each test and use normal PhysicalStorage
[ ] Second step is to enable real-life fsync testing

Can be done by making a filesystem inside a binary file
Nesting another filesystem in this filesystem
And then calling https://linux.die.net/man/8/fsfreeze to prevent writes from buffer to the original filesystem


Update guaranteed-scheduling-critical-addon-pods.md

cleanup old stuff
try again after https://github.com/kubernetes/website/pull/16967 was closed

/assign @cody-clark

@sftim
Hm, I'd like to commit your suggestion - but I do not find it anymore. Seems like it's not a good idea to click on "resolve discussion"? Can you help, please?

Hi @sftim could please be the technical reviewer on this PR. Leave an LGTM if this is technically accurate.

/approve


Quest 2 Controller models offset from reality [v16.0.0]

Description
When in SteamVR, touching the controllers together presents an obvious offset from where the controllers actually are and where the models are shown. If the rings are touching, then they will clip eachother in the SteamVR view.
I intend to follow up on this issue by providing screenshots/recordings of what I am attempting to explain.
General Troubleshooting

[X] I carefully followed the instructions in the README and successfully completed the setup wizard
[X] I read the ALVR Wikis here and here

Environement
Hardware
Note: for Linux, an upload to the hw-probe database is preferred: hw-probe -all -upload
CPU: Ryzen 5 3600
GPU: Radeon RX 480
Audio: Realtek HD
Installation
ALVR Version: 16.0.0
SteamVR Version: 1.20.4
Install Type:

[X] Packaged (exe, deb, rpm, etc)

OS Name and Version (winver on Windows or grep PRETTY_NAME /etc/os-release on most Linux distributions):
Windows 11 Pro Build 22000.466

This should be fixed in nightly version of ALVR, and v17

Unfortunately, after upgrading to v17 this issue still persists.

I recorded a video that hopefully demonstrates in a somewhat understandable way what I'm trying to describe. https://youtu.be/HjRVliTd0sg

The fix is a change in the default settings. Have you tried resetting the settings, this can be done by deleting session.json in ALVR's installation folder.

That worked. Thanks.


Fix for webCompatibilityMode

maybe ref for: https://github.com/DoctorMcKay/node-steam-user/issues/488

:+1: Looks good, thanks


Add restore command

$ genji restore -h
NAME:
   genji restore - Restore a database or a table from a file created by genji dump

USAGE:
   genji restore dumpFile dbPath

DESCRIPTION:
  The restore command can restore a database or a table from a text file.

  $ genji restore dump.sql my.db

OPTIONS:
   --help, -h                show help (default: false)

I think it should take more flags for specifying the table and the engine to use:
$ genji restore -h
NAME:
   genji restore - Restore a database or a table from a file created by genji dump

USAGE:
   genji restore [options] dumpFile dbPath

DESCRIPTION:
  The restore command can restore a database or a table from a text file.

  $ genji restore dump.sql my.db

OPTIONS:
   --engine, -e            name of the engine to use, options are 'bolt' or 'badger'. Default to 'bolt'
   --table, -t             name of the table to restore. Default to all tables
   --help, -h              show help (default: false)

I think the --table option is not usefull in this case. Restoring a table from a "dump" file seems weird. In my point of view, it will be more simplest and usefull in a .restore command.
What is the expected behavior if the dbPath exists? Should the file be overwritten? return an error?

I think the --table option is not usefull in this case

Agreed

What is the expected behavior if the dbPath exists? Should the file be overwritten? Return an error? It currently returns error: table already exists for the CREATE query.

I think this is good enough, we can leave it like that


Can't fit wires into toolbelts

Description
A toolbelt should be an engineer's bread and butter.
Right now it has room to fit all most tools.
Except t-ray and atmos scanners, and wires.
Reproduction
Grab a default filled toolbelt and try to add any of the 3 mentioned items.

I agree with the scanners, because they are tools, but wires are not tools but materials.

can
https://github.com/space-wizards/space-station-14/assets/124214523/bf694b63-7cde-415a-aaaf-a644c63d7613


Module not found errors of index.js and foreign.js

I've attempted to predominantly mimic the example you link, but am at a total loss after several hours as to why it is trying to require files with these names in the first place.
From what I understand this is going wrong internally within webpack when it's attempting to "require" the files resulting from compilation. My suspicion is that because the purescript compiler for 0.12 outputs compiled files to a separate "output" folder, which then isn't resolving.
If I find the solution I'll add it here, and you can lose the issue, but at least a closed issue might help the next person who loses their mind like me :dancer:
Here's a few examples:
ERROR in ./bower_components/purescript-prelude/src/Data/Ord.purs
Module not found: Error: Can't resolve '../Data.Ordering/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/Ord.purs 6:20-56
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/Ord/Unsafe.purs
Module not found: Error: Can't resolve '../Data.Ordering/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data/Ord'
 @ ./bower_components/purescript-prelude/src/Data/Ord/Unsafe.purs 4:20-56
 @ ./bower_components/purescript-prelude/src/Data/Ord.purs
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Prelude.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src'
 @ ./bower_components/purescript-prelude/src/Prelude.purs 24:16-48
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/Field.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/Field.purs 6:16-48
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/CommutativeRing.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/CommutativeRing.purs 3:16-48
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/Ord.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/Ord.purs 7:16-48
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/DivisionRing.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/DivisionRing.purs 4:16-48
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/EuclideanRing.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/EuclideanRing.purs 8:16-48
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/Function.purs
Module not found: Error: Can't resolve '../Data.Ring/index.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data'
 @ ./bower_components/purescript-prelude/src/Data/Function.purs 6:16-48
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Data/Ord/Unsafe.purs
Module not found: Error: Can't resolve './foreign.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Data/Ord'
 @ ./bower_components/purescript-prelude/src/Data/Ord/Unsafe.purs 3:15-38
 @ ./bower_components/purescript-prelude/src/Data/Ord.purs
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

ERROR in ./bower_components/purescript-prelude/src/Record/Unsafe.purs
Module not found: Error: Can't resolve './foreign.js' in '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-prelude/src/Record'
 @ ./bower_components/purescript-prelude/src/Record/Unsafe.purs 3:15-38
 @ ./bower_components/purescript-prelude/src/Data/Eq.purs
 @ ./bower_components/purescript-prelude/src/Prelude.purs
 @ ./src/App.purs
 @ multi (webpack)-dev-server/client?http://localhost:4008 webpack/hot/dev-server ./src/App.purs

https://github.com/AlexaDeWit/MySelfcareClient
For context, that's the repository where I've begun setting up the build chain before I get started on the application.

Thanks so much for digging into this. I believe the issue is due to a change in the JS output in PS 0.12 compared to 0.11.
PS 0.11
var Control_Bind = require("../Control.Bind");

var $foreign = require("./foreign");

PS 0.12
var Control_Bind = require("../Control.Bind/index.js");

var $foreign = require("./foreign.js");

We would need to update the following regular expressions to fix this I think.
https://github.com/ethul/purs-loader/blob/2b017f9a225668f160ffca88b9b6efe01133a460/src/to-javascript.js#L72-L74

I think updating those REs to the following does the trick.
  const requireRE = /require\(['"]\.\.\/([\w\.]+)(?:\/index\.js)?['"]\)/g;

  const foreignRE = /require\(['"]\.\/foreign(?:\.js)?['"]\)/g;

I changed it in-place, the new result is that I hang here.
yarn run v1.5.1
warning package.json: License should be a valid SPDX license expression
$ webpack-dev-server --progress --inline --hot
 10% building modules 1/1 modules 0 activeℹ ｢wds｣: Project is running at http://localhost:4008/
ℹ ｢wds｣: webpack output is served from /
ℹ ｢wds｣: Content not from webpack is served from .
 10% building modules 8/9 modules 1 active …rkspace/my-selfcare-client/src/App.purs(node:30974) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
 20% building modules 84/167 modules 83 active …escript-nullable/src/Data/Nullable.pursglob error { Error: EMFILE: too many open files, scandir '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-web-html/src/Web/HTML/Event/BeforeUnloadEvent'
  errno: -24,
  code: 'EMFILE',
  syscall: 'scandir',
  path: '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-web-html/src/Web/HTML/Event/BeforeUnloadEvent' }
 20% building modules 84/170 modules 86 active …nts/purescript-web-dom/src/Web/DOM.pursglob error { Error: EMFILE: too many open files, scandir '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-aff/src'
  errno: -24,
  code: 'EMFILE',
  syscall: 'scandir',
  path: '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-aff/src' }
glob error { Error: EMFILE: too many open files, scandir '/home/alexa/Workspace/my-selfcare-client/bower_components'
  errno: -24,
  code: 'EMFILE',
  syscall: 'scandir',
  path: '/home/alexa/Workspace/my-selfcare-client/bower_components' }
glob error { Error: EMFILE: too many open files, scandir '/home/alexa/Workspace/my-selfcare-client/src'
  errno: -24,
  code: 'EMFILE',
  syscall: 'scandir',
  path: '/home/alexa/Workspace/my-selfcare-client/src' }
 20% building modules 87/170 modules 83 active …nts/purescript-web-dom/src/Web/DOM.pursglob error { Error: EMFILE: too many open files, scandir '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-arrays/src/Data/Array/NonEmpty'
  errno: -24,
  code: 'EMFILE',
  syscall: 'scandir',
  path: '/home/alexa/Workspace/my-selfcare-client/bower_components/purescript-arrays/src/Data/Array/NonEmpty' }
 23% building modules 112/212 modules 100 active …html/src/Web/HTML/HTMLOListElement.purs

Which version of node are you using? I tried the RE change on a small project and it seemed to work okay.

Maybe something from this thread could help find the issue?
https://stackoverflow.com/questions/8965606/node-and-error-emfile-too-many-open-files

v8.11.1
is my current version.
Perhaps the size of the project here is the issue, as I have halogen and purescript-css in my output directory?

Or it may just be my webpack config. I'll try and look at it in a bit.

Thanks for taking a look. It might be worth to try graceful-fs.
On Sat, Jun 9, 2018 at 15:33 Alexa DeWit<EMAIL_ADDRESS>wrote:

Or it may just be my webpack config. I'll try and look at it in a bit.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ethul/purs-loader/issues/111#issuecomment-395993274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVYy_0cqtwkG_NKzLKsTdEpFzeV1KFSks5t7CMJgaJpZM4UhCM6
.

I am guessing the issue is when the module mapping is created and all the PureScript files are read.
https://github.com/ethul/purs-loader/blob/2b017f9a225668f160ffca88b9b6efe01133a460/src/purs-module-map.js#L64-L74
Maybe there is a better approach here.

I've changed the config to something more similar to your example one, and the issue persists I'm afraid.

are you able to replicate the issue if you clone my project for instance? (it's not big)

I gave your repository a try. Running yarn webpack seems to work okay for me.

Deeply strange...
This is what I end up with:
ModuleNotFoundError: Module not found: Error: Can't resolve '../Button/index.js' in '/home/alexa/Workspace/my-selfcare-client/src'
    at factory.create (/home/alexa/Workspace/my-selfcare-client/node_modules/webpack/lib/Compilation.js:535:10)
    at factory (/home/alexa/Workspace/my-selfcare-client/node_modules/webpack/lib/NormalModuleFactory.js:397:22)
    at resolver (/home/alexa/Workspace/my-selfcare-client/node_modules/webpack/lib/NormalModuleFactory.js:130:21)
    at asyncLib.parallel (/home/alexa/Workspace/my-selfcare-client/node_modules/webpack/lib/NormalModuleFactory.js:224:22)
    at /home/alexa/Workspace/my-selfcare-client/node_modules/neo-async/async.js:2817:7
    at /home/alexa/Workspace/my-selfcare-client/node_modules/neo-async/async.js:6783:13
    at normalResolver.resolve (/home/alexa/Workspace/my-selfcare-client/node_modules/webpack/lib/NormalModuleFactory.js:214:25)
    at doResolve (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:181:12)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn0 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:15:1)
    at resolver.doResolve (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:37:5)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn0 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:15:1)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn0 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:12:1)
    at resolver.doResolve (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn42 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:393:1)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn0 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:12:1)
    at resolver.doResolve (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/DescriptionFilePlugin.js:42:38)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn1 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:24:1)
    at hook.callAsync (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/Resolver.js:232:5)
    at _fn0 (eval at create (/home/alexa/Workspace/my-selfcare-client/node_modules/tapable/lib/HookCodeFactory.js:24:12), <anonymous>:15:1)
    at fs.stat (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/DirectoryExistsPlugin.js:22:13)
    at process.nextTick (/home/alexa/Workspace/my-selfcare-client/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:73:15)
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)
resolve '../Button/index.js' in '/home/alexa/Workspace/my-selfcare-client/src'
  using description file: /home/alexa/Workspace/my-selfcare-client/package.json (relative path: ./src)
    Field 'browser' doesn't contain a valid alias configuration
    using description file: /home/alexa/Workspace/my-selfcare-client/package.json (relative path: ./Button/index.js)
      no extension
        Field 'browser' doesn't contain a valid alias configuration
        /home/alexa/Workspace/my-selfcare-client/Button/index.js doesn't exist
      .purs
        Field 'browser' doesn't contain a valid alias configuration
        /home/alexa/Workspace/my-selfcare-client/Button/index.js.purs doesn't exist
      .js
        Field 'browser' doesn't contain a valid alias configuration
        /home/alexa/Workspace/my-selfcare-client/Button/index.js.js doesn't exist
      as directory
        /home/alexa/Workspace/my-selfcare-client/Button/index.js doesn't exist
error An unexpected error occurred: "Command failed.
Exit code: 1
Command: sh
Arguments: -c DEBUG=purs-loader* DEBUG_DEPTH=100 webpack --progress --bail
Directory: /home/alexa/Workspace/my-selfcare-client
Output:
".

Pulp however has no difficulty producing both blob and browserify-style outputs.

Is this blocking all purescript 0.12.0 projects or a specific case? Just ran into it while updating one of our projects.

Thanks for the PR. I've merged it while we work on this issue.

Thanks for the update to this issue. Just to confirm, what version of PureScript is being used? If you cloned the purescript-webpack-example, then it might be 0.11.

Looking at node_modules/purescript/package.json, the version is 0.12.1. Is that a potential issue?

Thanks for confirming. This is definitely an issue. The problem is that the loader is not handling the relative import in Data/HashMap.js. I will open this in a new issue for tracking. Thanks again!

Closing because I believe the original issue in this post has been resolve. Moving further discussion to #115.


Patch auto issue assign

Fixes  a problem with the PR #66  🔐
Are you a part of GSSOC' 21 ❓

[x] Yes ✔
[ ] No ✖

Describe the changes you've made 🏆
Automatic issue assignment failed a workflow run as version of slash-assign-action couldn't be found. So, had to update the version of slash-assign-action from version v1 to version v0.0.3.
Type of change 🖇
Please delete options that are not relevant.

[x] Bug fixing (non-breaking change which fixes an issue)

Checklist: 📋

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] New and existing unit tests pass locally with my changes.
[ ] Any dependent changes have been merged and published in downstream modules.

Screenshots (if required) 📷
Add screenshots of the changes you have made.

Original
Updated

original screenshot
updated screenshot

Hello, actually in the code for the PR #66 that I made, the version of the slash-assign-action was causing a workflow error, which I just discovered.
Hence, I've updated the same from:
uses: JasonEtco/slash-assign-action@v1
to:
uses<EMAIL_ADDRESS>to fix the same.
Sorry for the inconvenience 😓

Also, please don't add any GSSOC related tag to this PR, as it only fixes a bug in my previously counted PR. 😅


Specify requirements on Docker images

As a user,
I want to know the requirements on the Docker images Poseidon can operate on,
in order to avoid failures due to missing commands.
Currently, file copying inside the container is done using tar --extract --absolute-names --verbose --file=/dev/stdin. However, in Alpine containers, for example, the tar command does not know the --absolute-names option.
There might be other places in the code where implicit assumptions on the functionality available inside the Docker container are made. Those should be specified.

We need the following commands:

mkfifo
tar
sleep
cat
rm

... and others


Feature: compact null arrays

This feature will compact arrays, removing null/undefined entries.
I needed this feature because I have a form that dynamically creates and deletes inputs.  Form input names are automatically generated.  Each index has several items under it.  A user can go on a clicking rampage adding multiple forms then delete all but a few.  This results in gaps, sometimes substantial.  Rather than iterate through every input looking to see if it needs to be renumbered it seemed more wise to just remove them after the fact (less DOM searching, slightly faster in my environment).
Example:
<input name="foo[0][bar]">
<input name="foo[0][baz]">
<input name="foo[4][bar]">
<input name="foo[4][baz]">

would generate {foo: [[bar,baz],undefined,undefined,undefined,[bar,baz]]} with useIntKeysAsArrayIndex set to true.
skipFalsyValuesForFields is not as elegant of a solution as an object containing 1..N elements to cover the spread of inputs created would need to be created.
skipFalsyValuesForTypes and a custom type is not a viable solution as I would need foo[N] with the type not foo[N][bar].

I think you want to use useIntKeysAsArrayIndex but at the same time you want to ignore the actual index for an incremental index?
With the example input:
$(form).serializeJSON({useIntKeysAsArrayIndex: true});
//=> {foo: [{bar: "x", baz: "y"}, undefined, undefined, undefined, {bar: "a", baz: "b"}]}

$(form).serializeJSON({useIntKeysAsArrayIndex: true, compactArrays: true});
//=> {foo: [{bar: "x", baz: "y"}, {bar: "a", baz: "b"}]}

Unfortunately this seems too specific. I try to keep the plugin as simple as possible, avoiding solutions that are too specific for a given problem like this one.
However, it should be easy for you to work around that limitation. In cases like this, the best solution is to post-process the result. Instead of depending on a plugin option, you can modify the array after it was generated:
let vals = $(form).serializeJSON({useIntKeysAsArrayIndex: true});
vals.foo = vals.foo.filter(e => e); // compact array, remove undefined values
vals //=> {foo: [{bar: "x", baz: "y"}, {bar: "a", baz: "b"}]}

I hope this works for you. Thank you for providing a working pull request, that makes it easier to understand the problem you are trying to solve. To merge this code, we would need to agree on the need for adding this new option, add extensive unit tests and make sure the code is ES5 compliant (the plugin works with old versions of JavaScript too, I don't want to break that at this moment). For now, I hope you don't mind closing the PR.

I will close it, no problem.  To address the remainder of the points raised I have included the following book er I mean post.
I only used useIntKeysAsArrayIndex because that forces list vs key-value entities  ([] vs {}).  The use of integers in my current dumpster fire set of requirements is to properly group sub-elements together in a way that would result in list entities.  An alternative way of dealing with this would be to have a flag that just makes those items lists but preserving the grouping which seemed much more invasive to achieve.  Another would be to build the final JSON out of successive calls to find the elements of interest (eg $.each($('formGroup'), function () {...})) and then slap it all together but that seemed less elegant, although it does deal effectively with the indexing problem.
I did not want undefined items in the resulting entities.  It appears the API does not properly check if items, or their sub-elements are properly defined.  I do not control the APIs I am currently interfacing with, so I have to deal with it, warts and all.  I only offered this code because it may be helpful to others.
While your suggestion is basically the code I submitted (although mine will iterate the entire object to find arrays), and I could have that as a standalone function (which it was before making the fork).  I thought it would be better to have it as part of the module as I was going to have to copy/pasta it into a couple different projects and thought if anyone else was going to use it they too would have to copy/pasta similarly.
The desired JSON is something akin to the following.
Issues:
event, event..occurrences, and somethingElse items can be dynamically added and removed.  As a result index numbers can get out of order without great effort and care in managing them and possibly renumbering which has a greater impact on performance than my solution.  I did not test the json below for validity so it probably has some typos (the real data is more complex but this is sufficient to illustrate the problem I faced).
The API is picky about when [] and when {} can be used.  The API also dislikes undefined entities.
example form element
{
    "item": {
          "name":"some name",
          "title":"some title",
          "date":"some date"
    },
    "event": [
          "name":"event name",
          "type":"event type",
           "occurrences":[
                { "start":"some date","end":"some date","someOtherProperty":"bored yet?"},
                { "start":"some date","end":"some date","someOtherProperty":"I am"},
                { "start":"some date","end":"some date","someOtherProperty":":)"},
            ],
    ],
    "somethingElse":[
            {"field1":"data", "field2":"data", "field3":"data"},
            {"field1":"data", "field2":"data", "field3":"data"},
            {"field1":"data", "field2":"data", "field3":"data"}
    ]
}


open-remote-ssh stopped working: Error running command openremotessh.explorer

the ext run flawless for a long time and stopped working 2 days ago:
Error running command openremotessh.explorer.refresh: command 'openremotessh.explorer.refresh' not found. This is likely caused by the extension that contributes openremotessh.explorer.refresh.

codium 1.84.1 (2)
extension 0.0.45/0.0.44
debian: 12 - bookworm
I moved the .vscode-oss  out of the way and made an pristine install, same results.
tested with codium: 1.84.1 & 1.84.2
cli-ssh itself works as always.
any hints?

Do you see the extension actually running? Run Developer: Show Running Extensions


Publishing to Gitlab Pages vs. Github Pages

Is there a tool in place to publish to Gitlab Pages.
If not are there any thoughts on how to go about this process for gitlab.

Outdated, from a previous use of this repo.


ArgumentException: Attempted to get an ISceneData through an invalid or unloaded scene.

Hey João,
The bug I posted is now fixed and works fine. Thanks.
Another issue, I think. The code is super simple. I use 'new AdvancedSceneManager(addLoadedScenes: true);'
So, I have a Loader scene that is the first scene and the only scene with the only one Monobehaviour script.
    public class MonoBeh : MonoBehaviour
    {
        private void Awake()
        {
             ISceneManager sceneManager = new AdvancedSceneManager(true);
             ISceneLoader asyncSceneLoader = new SceneLoaderAsync(sceneManager);
        }
    }

Hello again @VirtualMaestro! Thanks for reporting another issue.
I believe this may be caused by calling new AdvancedSceneManager(true) on the first scene during Awake(). I assume (couldn't find a solid reference) that Awake() is executed before the scene finishes loading.
Here's what's being called:
public SceneDataStandard(Scene loadedScene)
{
    if (!loadedScene.IsValid() || !loadedScene.isLoaded)
    {
        throw new ArgumentException($"Cannot create a {nameof(SceneDataStandard)} with an invalid or not loaded scene: {loadedScene.name} ({loadedScene.handle})");
    }

    _loadSceneInfo = new LoadSceneInfoScene(loadedScene);
    _sceneReference = loadedScene;
    _asyncSceneOperation = default;
}

That means it's probably failing the loadedScene.isLoaded check, since it's a valid scene in the given context.
Possible workaround
Try moving that call to Start() instead to see if it works.
Solving the issue
This issue got me thinking: considering you cannot do this in Awake(), how can it prevent it?
One solution would be to identify that even though we're passing true to that argument, no scene is being added to the loaded scene list. Then it emits a log message saying you're probably doing this on Awake and should defer it to Start. That is, assuming that moving the construction of the AdvancedSceneManager to Start does fix the issue.
What do you think about this?

Yeah, you are right; it is because of the Awake phase, where the scene can be in the state of not fully loaded.
To add the proper message would definitely help. Thank you)

There is another issue.
Almost the same code, but the it works by the following scenario.

Loader scene is loaded;
Than it loads another scene (Main);
The Loader scene is unloading; - and at this step an issue and the scene can't be unloaded.

"Unable to get an ISceneData with the load scene info Scene with name/path 'Assets/Client/Scenes/Loader.unity'.
UnityEngine.Debug:LogWarning (object)
MyGameDevTools.SceneLoading.SceneDataUtilities:TryGetSceneDataByLoadSceneInfo (MyGameDevTools.SceneLoading.ILoadSceneInfo,System.Collections.Generic.ICollection`1<MyGameDevTools.SceneLoading.ISceneData>,MyGameDevTools.SceneLoading.ISceneData&) (at ./Library/PackageCache/com.mygamedevtools.scene-loader@38b9126553/Runtime/Utilities/SceneDataUtilities.cs:177)"
private static readonly ILoadSceneInfo LoaderSceneInfo = new LoadSceneInfoName("Assets/Client/Scenes/Loader.unity");
private static readonly ILoadSceneInfo MainSceneInfo = new LoadSceneInfoName("Assets/Client/Scenes/Main.unity");

private ISceneManager _sceneManager;
private ISceneLoader _asyncSceneLoader;

private void Start()
{
	_sceneManager = new AdvancedSceneManager(true);
	_asyncSceneLoader = new SceneLoaderAsync(_sceneManager);

	_asyncSceneLoader.Manager.SceneLoaded += _OnSceneLoaded;
	_asyncSceneLoader.LoadScene(MainSceneInfo, true);
}

private void _OnSceneLoaded(Scene scene)
{
	_asyncSceneLoader.UnloadScene(LoaderSceneInfo);	// FIXME: The scene can't be unloaded
}

I think I know what's going on with this new error.
You have defined your LoaderSceneInfo to be a LoadSceneInfoName with the scene's path. However, when creating the AdvancedSceneManager with addLoadedScenes: true, it internally links loaded scenes with LoadSceneInfoScene instead.
Then, when trying to unload using a different ILoadSceneInfo reference it fails to match.
I can offer a few suggestions to fix this:

Do a scene transition

Instead of loading the main scene and unloading the loader scene manually, you can transition from the loader to the main scene and let the scene manager handle the complexities. Since 3.x you can transition even if you only have one scene loaded. Simply call _asyncSceneLoader.TransitionToScene(MainSceneInfo) with no intermediate scene.

Unload via a LoadSceneInfoScene

After creating the scene manager, you can get the loader scene info via new LoadSceneInfoScene(_sceneManager.GetActiveScene())

It makes sense for a user's point of view to be able to unload a scene from its path, even though it was never loaded through that, and it works with the Unity Scene Manager as well. Maybe this is a feature that needs to be added as well.
Let me know if you are able to fix the issue with my suggestions.

Yes, the _asyncSceneLoader.TransitionToScene(MainSceneInfo) does the thing.
Thank you)

Here's a list of things that I consider relevant for mitigating this issue:

Improve the log message for creating an AdvancedSceneManager(addLoadedScenes: true) on Awake()
Add documentation regarding this restriction
Add a Troubleshooting section to the documentation
Investigate possibility to cross-reference ILoadSceneInfo to unload scenes

For example, to unload a scene that was linked through LoadSceneInfoScene with a LoadSceneInfoName

I'll be working on 1~3 right away and study a solution for 4.

I've created the issue #44 to reflect the 4th step of my list.


[Enhancement] Launch playground more smoothly.

a. add health check: start_period
b. remove resource limit
c. persist log file
d. add precheck for ports
e. add precheck for docker
f. fix the issue Trino unhealthy
g.replace /user/datastrato to /user/gravitino
h. fix the issue /user/datastrato not exists
i. fix the issue: "MYSQL_ROOT_PASSWORD" is empty warning
j. fix the 'version' warning message in console
k. add confirmation for resources requirements
l. change playground usage:
Usage: ./playground.sh [start | status | stop] [-y]

Fix in this PR: https://github.com/apache/gravitino-playground/pull/87


Typo

In the localization part, there's a typo in the closing XAML bracket.
Button.KeyAccelerators instead of Button.KeyboardAccelerators

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: c8e18e09-9873-66b8-65d1-36031d51198d
Version Independent ID: d8089561-12ca-fcf0-2dc8-3d678cc1f6f2
Content: Keyboard accelerators - UWP app developer
Content Source: windows-apps-src/design/input/keyboard-accelerators.md
Product: windows
GitHub Login: @Karl-Bridge-Microsoft
Microsoft Alias: kbridge

Thanks for finding this! Fixed.


Validation needed for delete and remove commands

Need to implement some sort of validation when any DELETE like command is run. Example:
$ pb delete
Please enter the name of the bot to confirm deletion

$ pb remove foo.aiml
Please re-enter the name of the file to confirm deletion

This will help curb accidental deletions.

Thank you for your advice! I'll handle it later.

Both remove and upload methods now prompt to re-enter file name when the file is missing.

Include validation to require user to re-enter name of the bot or the filename to confirm deletion as in djfdev's example above. This will help prevent accidental deletions.
example:
$ pb delete
Please enter the name of the bot to confirm deletion
$pb delete --botname foo
Please enter the name of the bot to confirm deletion

Le me confirm what exactly this request means...
If it means that pb-cli needs to validate (asking user to input name on tty) whenever user issues delete/remove method, user will be unable to embed "pb delete" into a shell script like ./pb-cli/test/test.sh has already done (see last part). Or, pb-cli need to employ --yes/-y swich to turn off the validations like "apt-get -y".
In addition, I think the validation could be simply asking something like "Are you sure: name? (y/n)" because one do not want to input the name twice.
Any opinions are welcomed.

Agreed -- a y/n prompt is acceptable (rather than the prompt to enter in botname or filename again) in order to implement a turn-off validation option for test scripts. Also, the prompt for "pb delete" should include the bot name "Are you sure you want to delete bot: ? (y/n)" in the case where it is specified in the chatbot.json file.

Resolved in latest release (1.0.0).


Where is the metadata editor source code and language definitions for ISO and other metadata?

This is more of a question to understand how geoportal works and can be edited than a bug. I've been trying to explore the available folders and files, and noticed that it seems only Dublin Core and INSPIRE and maybe ISO-19115-3 is defined locally in the geoportal-server-catalog. E.g. webapp/app/gxe/types only contains folders for 'dc', 'inspire2', and 'iso-19115-3'. This appears to be confirmed in webapp/app/context/metadata-editor.js, where the metadata formats for 'inspire', 'dc', and 'iso-19115-3' have requiredPath: "app/gxe/types/...", while all other formats have requiredPath: "esri/dijit/metadata/types/...". Looking at my browser's DevTools it indeed seems that while some files are loaded from the local app directory, most of the metadata editor and language files appear to be loaded from esri's official servers (see screenshot):

This is relevant for instance if I need to override some metadata editor behavior, such as #469 , which won't be possible if the files are loaded from the official esri servers.
Another example, I can't seem to find any nls language files for the metadata editor, even though they seem to successfully load the languages based on locale. Having these locally would be useful e.g. to override or customize the official translations.
If my understanding here is correct, is there a way to change so that metadata files and/or languages are hosted and retrieved from the local geoportal folder? Could you give an example of how to e.g. use the official iso-19115 metadata editor files and languages, but to customize and load it locally?

hi, as you see in the code, a large portion of the metadata profile definition is coming from the JS API itself. This way we don't have to ship them to everyone deploying geoportal server.
if you want to customize a profile then take a look at the gxe/types folder: https://github.com/Esri/geoportal-server-catalog/tree/master/metadata-editor/app/gxe/types. This folder includes inspire2 and other iso metadata profiles.

Thanks, that helps. But as you say, most of the metadata files are gathered from the ESRI JS API, and as far as I can tell the metadata-editor folder isn't really used anywhere in the source code/application. What would I have to change to make geoportal fetch from these locally defined metadata types instead of from the ESRI JS API? Would I have to copy one of the type folders from metadata-editor/app/gxe/types to webapp/app/gxe/types, and then point the corresponding metadata entry in metadata-editor.js to fetch from that folder rather than from the ESRI JS API by setting requiredPath: "app/gxe/types/...", as I described in my post?

that is correct. the metadata-editor app is a standalone web-based metadata editor, but it implements the same concepts and uses the same approach as the metadata editor included in Geoportal Server. You also nail one of the things needed to create your own type or modify an existing type.
I suggest reading the documentation on this topic available on the wiki: https://github.com/Esri/geoportal-server-catalog/wiki/Customize-Metadata-Profiles
If you have questions after that, please let me know


Print warning when comment_sort is set after fetch

Sync with praw/master after https://github.com/praw-dev/praw/pull/1775

This is how I prefer to pull changes from PRAW.

@LilSpazJoekp  Ah I see you want to preserve the commits from the original author.
But I see a minor issue in this.
If someone were to look back at the 4999b4e13c9423a9625a29dbca183a826b2e6935 commit.
The contents of this commit would be different for praw and asyncpraw which can lead to confusion.
For further ones, I will do a git rebase -i <first_commit_from_PR>  praw/master. It preserves the author names and the contents of the commit are not modified neither. Sound good to you?

I squashed the commits into one for this instance. My main goal is to preserve the author.


Return only static URLs for menu items

I want to merge this change because it closes #2767
Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[x] All visible strings are translated with proper context.
[x] All data-formatting is locale-aware (dates, numbers, and so on).
[x] Database queries are optimized and the number of queries is constant.
[x] The changes are tested.
[ ] The code is documented (docstrings, project documentation).

True, resolve_url resolver becomes redundant now, that we return just the url field.


Tooltips for new abilities in Talent Tree are rapidly changing (anniversary)

Thank you for this amazing mod!
In wow anniversary when i mouse over a new ability in the Talent tree (like shadow priest Mind Flay) the ability tooltip will constantly "jump" (change) between two tooltips, one that does not show the ability rank and the other that shows Rank 1/1.
Here is a screenshot showing the two tooltips side by side from the Talent tree.
This change happens multiple times per second, and stops happening if i disable this mod.
Thanks for looking into this issue.

Noted. I'm doing some overhauling on the addon so there won't be an update just yet.


Config - add support for environment variables

Hello,
I added the possibility to configure Golbat from environment variables. To achieve this goal, I used the library koanf. Also, I decided to use Unmarshal, this way the implementation of the new config didn't require updating all our usages.
The main challenge when implementing this PR was reading slices on environment variables. This required to write a custom envParser, since the default one was overwriting slice members with each others.

Does koanf have same behaviour for the scan rules - ie null if not present but true / false in the bool pointer?
If it does then it looks great

Does koanf have same behaviour for the scan rules - ie null if not present but true / false in the bool pointer? If it does then it looks great

Yes, I can confirm that the behavior is the same as on main, by default the slice and the boolean pointers are nil. I've tried with the config you provided #90.

Let’s go to market :-)

Let’s go to market :-)

Alright, thank you 😄


How to calculate squared euclidean distance?

Hello, I am in the process of developing a procedure for calculating the squared Euclidean distance using the CKKS scheme. The objective is to determine the distance between the encrypted point's coordinates and the plaintext point's coordinates. To achieve this, I have found the following function:
def l2_dist_sq_ctxt_ptxt(vec_1: PyCtxt, vec_2: PyPtxt, HE: Pyfhel):
dist_sq = ~(vec_1 - vec_2) ** 2
HE.relinKeyGen()  # relinearize after ctxt-ctxt mults
dist_sq = HE.cumul_add(dist_sq)
return dist_sq
When I invoke this function only once, the result is accurate. However, when I compute the distance repeatedly, the results become incorrect from the second calculation onward. Upon investigation, I discovered that I need to regenerate the Homomorphic Encryption (HE) object with the original parameters to consistently obtain correct results each time I call this function. While this workaround functions, I suspect I might be making a fundamental error in my approach. I would greatly appreciate any assistance in resolving this issue. Your help is highly valued.

I also tried to save the HE object to a pickle file, expecting that it would be faster than re-generate it every time. However, loading the binary pickle file fails with missing ckks parameters. I wonder if there is any method we can save the HE object to storage.

Hi, I think you can read [Demo_6_MultDepth.py].(https://github.com/ibarrond/Pyfhel/blob/master/examples/Demo_6_MultDepth.py)
Maybe it can solve your problem.

Hi, I think you can read [Demo_6_MultDepth.py].(https://github.com/ibarrond/Pyfhel/blob/master/examples/Demo_6_MultDepth.py) Maybe it can solve your problem.

Thank you for your reply! I fixed the problem by relinearization after the ciphertext multiplication.

Related to #132 , the calculation of the Squared Euclidean Distance is actually the same as that of the Hamming distance, except for the fact that inputs are not restricted to {0,1} values. You will find the code to run Hamming in Demo_8_HammingDist.py, feel free to use it for SED by just inputting vectors with bigger elements. Oh, and as hinted in the example pointed at by @Shakemilktea, you should always run relinearization after each multiplication!


Supporting .NET Core

@MarkEwer Since you're the only one using this library right now - would you be caused any difficulty by me moving it to .NET Standard so it can be used by .NET Framework and .NET Core? I don't think it will be a problem but thought I'd ask my user first.

That's a fantastic idea! I love it.On Nov 8, 2019 5:21 PM, Robert Koeninger<EMAIL_ADDRESS>wrote:@MarkEwer Since you're the only one using this library right now - would you be caused any difficulty by me moving it to .NET Standard so it can be used by .NET Framework and .NET Core? I don't think it will be a problem but thought I'd ask my user first.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Question I should have asked first was: Is the T-SQL parser .net framework only? And it is.
Maybe it can be forked and refactored to support .net standard but putting this on the back burner.

Lol. I could help you out with that if you can point me in the right direction.On Nov 9, 2019 2:52 AM, Robert Koeninger<EMAIL_ADDRESS>wrote:Question I should have asked first was: Is the T-SQL parser .net framework only? And it is.
Maybe it can be forked and refactored to support .net standard but putting this on the back burner.
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.

Looks like Microsoft may have moved the T-SQL parser into the assembly called DacFx.  I'll try to update the references to this assembly and see if all the unit tests still pass.
https://docs.microsoft.com/en-us/dotnet/api/microsoft.sqlserver.transactsql.scriptdom?view=sql-dacfx-140.3881.1

Good News! I did a quick experiment changing out the package reference from the scriptdom library to the DacFx package and all the unit tests still pass! I'll try moving to netstandard 2.0 for you soon.
https://www.nuget.org/packages/Microsoft.SqlServer.DACFx/

Yeah, I saw that and I didn't see DACFx have .net standard support. I'm currently experimenting with de-compiling and re-compiling the ScriptDom dll targeting .net standard with a different csproj.

With #8 merged, all dependencies now fit into .netstandard 2.0. I'm going to start working on making the library itself target .netstandard 2.0 and the demo target .net core.


feat(sbb-icon): reserve dimensions for default icons during loading

Codecov Report

Merging #1636 (e023ba3) into master (ab917b0) will decrease coverage by 2.20%.
The diff coverage is 50.41%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master    #1636      +/-   ##
==========================================
- Coverage   54.85%   52.65%   -2.20%
==========================================
  Files          49       79      +30
  Lines        1659     3572    +1913
  Branches      406      964     +558
==========================================
+ Hits          910     1881     +971
- Misses        671     1560     +889
- Partials       78      131      +53

Impacted Files
Coverage Δ

...mponents/sbb-accordion-item/sbb-accordion-item.tsx
0.00% <0.00%> (-37.21%)
:arrow_down:

src/components/sbb-icon/sbb-icon.tsx
91.52% <ø> (ø)

src/components/sbb-image/sbb-image.helper.tsx
62.06% <ø> (-2.45%)
:arrow_down:

src/components/sbb-image/sbb-image.tsx
69.09% <ø> (+6.12%)
:arrow_up:

...mponents/sbb-journey-header/sbb-journey-header.tsx
88.23% <ø> (+1.27%)
:arrow_up:

...onents/sbb-journey-summary/sbb-journey-summary.tsx
80.55% <ø> (ø)

src/components/sbb-link-list/sbb-link-list.tsx
84.00% <ø> (-4.24%)
:arrow_down:

src/components/sbb-link/sbb-link.tsx
60.41% <ø> (-31.02%)
:arrow_down:

src/components/sbb-logo/sbb-logo.tsx
0.00% <ø> (ø)

src/components/sbb-menu-action/sbb-menu-action.tsx
65.21% <ø> (ø)

... and 85 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


wrong mdgid for "Are you sure you want to %s this page?"

The msgid in django.po is "Are you sure you want to %%s this page?" but the real msgid should be "Are you sure you want to %s this page?" (only one "%").
The original msgid is from here : https://github.com/divio/django-cms/blob/support/3.0.x/cms/templates/admin/cms/page/tree/base.html#L57
And the msgid in django.po is here : https://github.com/divio/django-cms/blob/support/3.0.x/cms/locale/fr/LC_MESSAGES/django.po#L1256

Sorry for this answer 13 days after, but I really think there should not be two "s" (main reason is that the string is not translated ;-), only the "action word" is in french, but second is that in "https://github.com/divio/django-cms/blob/support/3.0.x/cms/templates/admin/cms/page/tree/base.html#L57", you use "trans", and trans does not support string replacement, it is blockstrans which can process it with his own syntax (not %s but {{something}} if something is defined)
Issue must be reopened.

Replacement of %s is  done on the javascript side (it happens to use the same syntax as python one, but it totally different implementation: https://github.com/divio/django-cms/blob/support/3.0.x/cms/static/cms/js/modules/cms.changelist.js#L179)
Anyway the syntax is confusing the trans templatetag

At this stage we can only solve this by manually changing the po files before compiling them
In the long run we should change the string format

@FinalAngel due to interaction with template parsing by gettext, could we move to some other placeholder instead of %s in https://github.com/divio/django-cms/blob/support/3.0.x/cms/templates/admin/cms/page/tree/base.html#L57 (and adapt https://github.com/divio/django-cms/blob/support/3.0.x/cms/static/cms/js/modules/cms.changelist.js#L179 accordingly)?

where would you suggest to move it @yakky ?

I mean: use a different character combination instead of "%s" and use something different so that gettext doesn't get confused

sure, no problem to change this, but wouldn't know what to use...

Basically we can use whatever character combination
Any specific convention is common in the js world?

Fixed by #3896.


Implement Python UDF

UDFs are also a great feature of Query Federation.
Per this example, it looks like it should be fairly straightforward to build a Python implementation using this existing code.

We would be really interested in this feature.

Thanks @tkram01 - would love to make this happen, but haven't had the time yet. Contributions always welcome. :)


CTooltip not dynamically updating

Hello,
I saw this thread where it was mentioned that the CTooltip directive is not updating dynamically:
https://github.com/coreui/coreui-vue/issues/112#issuecomment-663440632
I also observed this now in my application.
Will there be a fix for this soon?

@sarah-mueller please update @coreui/vue to 3.1.5

Thank you!


[Request for External] Codeunit 5940 ServContractManagement Function SetServLedgEntryAmounts

This Function is set to local even if the parameter is var and is changed within the function.
I am changing behaviour of CreateServiceLedgerEntry function from Codeunit 5940 ServContractmanagement, and it would be really nice that I can access all functions that are currently set to local but actually they are not dependent on Codeunit as all important parameters are sent in a call of functions.

Already made global


Is there any way to High sampling rate without no obstacles

I tried "duration(10000)", but this function only return 0 if timeout occurs.
Now, Ultrasonic transmitting frequency is not so high in case no obstacles, that's is about 32ms.

Is there any way to get high sampling rate?
I know that previous transmitted ultrasonic affects the next measurement.

Hello,
I'm very sorry to have kept you waiting so long.
Do you still have this problem now?

Hello,
I'm going to close this issue, feel free to re-open it if you have any other questions.
[Autocommentary]


looking for some command can show Available checkers and Currently enabled checkers

Hello,
is there some command can show Available checkers and Currently enabled checkers?
just like :SyntasticInfo of Syntastic.
thx~

There's nothing like that at the moment. You can see the available linters in the README or the online documentation.

I think this would be useful especially for debugging. When writing new linters I think it's very useful to be able to see what linters are currently enabled, to see if one is misconfigured, and therefore not enabled.


Development to staging

Codecov Report
Base: 57.85% // Head: 57.01% // Decreases project coverage by -0.84% :warning:

Coverage data is based on head (1a173be) compared to base (2409ac6).
Patch coverage: 35.29% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           staging      #29      +/-   ##
===========================================
- Coverage    57.85%   57.01%   -0.85%
===========================================
  Files           31       32       +1
  Lines          522      542      +20
  Branches       128      145      +17
===========================================
+ Hits           302      309       +7
- Misses         219      232      +13
  Partials         1        1

Impacted Files
Coverage Δ

src/components/inventory/EditInventoryForm.jsx
40.00% <ø> (ø)

src/components/inventory/EditedReport.jsx
0.00% <0.00%> (ø)

src/components/inventory/InventoryForm.jsx
82.50% <ø> (ø)

src/components/inventory/RejectButton.jsx
0.00% <0.00%> (ø)

src/components/inventory/RejectDeletionButton.jsx
12.50% <0.00%> (ø)

src/components/inventory/DeleteRequestView.jsx
11.11% <14.28%> (-3.18%)
:arrow_down:

src/components/inventory/EditRequestView.jsx
66.66% <66.66%> (ø)

src/components/inventory/InventoryReport.jsx
81.57% <71.42%> (-1.28%)
:arrow_down:

src/components/Footer.jsx
100.00% <100.00%> (ø)

src/components/inventory/DeletedInventoryItem.jsx
100.00% <0.00%> (+25.00%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How to create data.pt, vocab.pt, and label.pt for custom dataset?

❓ Questions and Help
I have follow your tutorial on how to using graph4nlp for text classification using the trec data. So i try to create custom dataset for my imdb sentiment analysis. I have create all the .txt files both train and test. After that i change the .yaml file, create the custom dataset using Text2LabelDataset, and run the same code. Everything is fine but in the process it take very long time and still not start the training process. Another things that i consider is there are three files that i am still not have in the ./data/imdb/processed/dependency_graph that is data.pt, vocab.pt, and label.pt. How i can get these three files?

Can you give the statistics such as sample amount, and mean token number in a sentence of your corpus?

For both train and test split.

I think you had better check whether StanfordCoreNLP runs successfully. For example, you can input "top" in your terminal and find the java process.


Scenarios to use DDSes aren't documented

Issue Category

Can't find an answer to a specific question

One of the first questions often field from partners working with FluidObjects is which DDS is appropriate for their scenario, what are the pros/cons merge strategies, how to use them... etc.
I see there are equivalent documentation issues opened for specific DDSes that I've noticed are not documented well but I think there's also a strong need for a high level "which DDS should I pick" scenario page with some of this information.

@tylerbutler , I believe one of your latest PRs did an overview of DDS and might be good way to resolve it.
@leeviana - if I step back, the question is similar to "what JS object I can use for my scenario?" And I think there is no way to write a doc like that :) I feel like we need all the primitives, grouped by types (i.e. one type - DDS), and maybe some samples / educational articles?

Yeah, that would be a good start, at least a place someone can go to for a list of primitives would be a good starting point for pointing people towards.

https://github.com/microsoft/FluidFramework/blob/main/docs/content/docs/advanced/dds-anatomy.md
https://github.com/microsoft/FluidFramework/blob/main/docs/content/docs/data-structures/overview.md
https://github.com/microsoft/FluidFramework/blob/main/docs/content/docs/concepts/dds.md
I even found "Picking the right data structure" title in last doc!
@tylerbutler , content looks broken at end of dds.ms.
Should we close this issue? We should continue to improve docs (thanks Tyler!), but this issue seems like addressed.

Yes this looks good to me! It's a little weird to me that there is an "introducing DDS" page in the "concepts" bucket (but not in the DDS bucket) here: https://fluidframework.com/docs/concepts/dds/ and then an "overview of DDSes" here: https://fluidframework.com/docs/data-structures/overview/
Maybe some restructuring or at least linking between the pages would be beneficial?

@tylerbutler - would appreciate if you can follow up here and we can resolve it


ECONNREFUSED and unable to switch on a LED

Hello, I tried to install this plugin and it seems very good. But unfortunately for me, it didn't work... Before installing this plugin, I had no issues and since I installed it, I receive warning every 15 seconds like this one:
[5/20/2020, 09:12:34] [RPi] warning: <IP_ADDRESS>: <IP_ADDRESS>:8888: cannot connect: ECONNREFUSED
l also encounter a problem to switch on a LED. I configure a device like this code:
    {
        "name": "RPi",
        "hosts": [
            {
                "host": "<IP_ADDRESS>",
                "devices": [
                    {
                        "device": "switch",
                        "name": "Lampe Salon",
                        "gpio": 17
                    }
                ]
            }
        ],
        "platform": "RPi"
    }

I see this device in my Home App, I can switch On or Off the button but it didn't work in real life, the LED remains off.
To test every new plugins, I install a new version of homebridge on a test Raspberry so I started with a clean distribution. The LED is still OK because when I connect it directly on the 5V, it works.
I attached the log of my homebridge.
homebridge.log.gz
Thank you for helping me,
Kevin

The problem comes from Pigpio that wouldn't start correctly when my raspberry restart


Unknown error 524 and no logs

Hey!
I tried the example from here: https://aya-rs.dev/book/start/hello-xdp/
When I run cargo xtask run -- -i enp1s0 nothing happens (there should be some info!() messages...
$ ip a show enp1s0
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 xdp/id:50 qdisc fq_codel state UP group default qlen 1000
    link/ether 52:54:00:16:3f:54 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global dynamic noprefixroute enp1s0
       valid_lft 3197sec preferred_lft 3197sec
    inet6 fe80::99c0:834f:c1be:47f5/64 scope link noprefixroute
       valid_lft forever preferred_lft forever

$ sudo bpftool prog show id 50
50: xdp  name xdp  tag c647997d837a969d  gpl
	loaded_at 2023-03-08T15:16:46+0100  uid 0
	xlated 1944B  jited 1100B  memlock 4096B  map_ids 25,24,23

When I look at the maps:
$ sudo bpftool map | rg -i aya
23: perf_event_array  name AYA_LOGS  flags 0x0
25: percpu_array  name AYA_LOG_BUF  flags 0x0

$ sudo bpftool map dump name AYA_LOGS
key:
00 00 00 00
value:
Unknown error 524
key:
01 00 00 00
value:
Unknown error 524
key:
02 00 00 00
value:
Unknown error 524
key:
03 00 00 00
value:
Unknown error 524
key:
04 00 00 00
value:
Unknown error 524
key:
05 00 00 00
value:
Unknown error 524
key:
06 00 00 00
value:
Unknown error 524
key:
07 00 00 00
value:
Unknown error 524
key:
08 00 00 00
value:
Unknown error 524
key:
09 00 00 00
value:
Unknown error 524
Found 0 elements

Same behavior with kernels 6.2.0-1-MANJARO (Manjaro) and 6.1.14-200.fc37.x86_64 (Fedora)
It worked before... but somehow not anymore...
Thanks!
Martin

I also ran this example program and it works without any problem: https://github.com/libbpf/libbpf-bootstrap/tree/master/examples/rust/xdp

Hey! :) I also tried a recent Kali Linux, but the problem persists... Any ideas?
Thanks!

Maybe you found out what was wrong since you posted but I wasted about an hour trying to figure out why I was getting "unknown error 524" in the logs map and no output from the userland program.
I don't know what error 524 in this case (Google tells me it's ENOTSUPP) but I eventually found out that I wasn't getting log messages because I needed to adjust RUST_LOG (try setting to debug).


Invalid key hash for Android.

Hi,
Where can I replace the key hash for Android?

I think this is what you are looking for. https://developers.facebook.com/docs/facebook-login/android#6--provide-the-development-and-release-key-hashes-for-your-app


[Azure Search] Add internal IP address to /search/diag

:warning: This work should only be done if the Geneva "role instance" identity property must be the machine's internal ip address on the network. If the role instance can be the machine's name, we can close this item. I will ask Geneva folks during their office hours.
Add the internal ip address to the /search/diag route. The IP address is the Geneva agent's "role instance" property in its identity. This will help us correlate logs back to the instance.
See this implementation.
Extension to https://github.com/nuget/nugetgallery/issues/6463

You can configure the monitoring agent to use a custom identity. Setting the roleinstance property to the MACHINENAME environment has the desired effect.


[zuul] Add telemetry-operator-multinode-autoscaling-tempest job

This is a first pass, creating a tempest job based on neutron-operator. This change runs the neutron tempest tests to establish that the environment is configured correctly for tempest tests.
Depends-On: https://github.com/openstack-k8s-operators/ci-framework/pull/1110
Depends-On: https://github.com/openstack-k8s-operators/ci-framework/pull/1116
Depends-On:  https://github.com/openstack-k8s-operators/openstack-operator/pull/644
Depends-On: https://github.com/openstack-k8s-operators/tcib/pull/132
Depends-On: https://github.com/openstack-k8s-operators/telemetry-operator/pull/301
Depends-On: https://review.opendev.org/c/openstack/releases/+/907406
Depends-On: https://review.rdoproject.org/r/c/rdoinfo/+/51721

recheck

recheck

recheck
I update the PR description to add a dependency

recheck

recheck

recheck
Failure was in deploying dataplane nodes

recheck
The dependant change has been fixed

recheck
The job failed because of an undefined var; I typoed the name of the var in the dependant patch.
The tempest molecule job has been re-enabled in ci_framework pr1065.

recheck
ci-framework change is passing molecule, meaning the image gets successfully built

recheck
merge conflict resolved

recheck

recheck
timeout waiting for edpm nodes to deploy

recheck

Recheck
Dependant patch was updated

I understand the need for a fix, but please try to work upstream to fix telemetry-tempest-plugin. The version can be updated but you need to do that in RDO, so that the packing propagates to the image we use.

That is my intention, I've been adding workarounds so I can focus on getting the tests to run.
I intend to clear all the workarounds before this merges.

check-rdo

There are a lot of workarounds, but I understand why they're there and I know there is work being done to eventually get rid of them. The configuration looks good to me.

This is blocked until the promotion job passes.
https://review.rdoproject.org/zuul/builds?pipeline=openstack-periodic-container-antelope-centos9&skip=0
At that point, a new container should be available with the expected changes.

Merge Failed.
This change or one of its cross-repo dependencies was unable to be automatically merged with the current state of its repository. Please rebase the change and upload a new patchset. Warning: Error merging github.com/openstack-k8s-operators/telemetry-operator for 284,03754e13c5cf5cfdb9f473ca9b0fb284e3c96ee1

The content provider job failed to run for https://github.com/openstack-k8s-operators/telemetry-operator/pull/301 .
It is running again now, so this status should clear up.
I won't recheck anything here, sicne I still expect them to fail until https://github.com/openstack-k8s-operators/tcib/pull/132 change propagates (details about)

The change from https://github.com/openstack-k8s-operators/tcib/pull/132 has propogated!
I don't expect this to pass yet as the dependant PR, which adds the autoscaling job, is not passing.
I am trying to resolve the issues with the autoscaling job #301 and will rebase this PR once the issues are resolved

Build failed (check pipeline).  Post recheck (without leading slash)
to rerun all jobs. Make sure the failure cause has been resolved before
you rerun jobs.
https://review.rdoproject.org/zuul/buildset/203091a3f54345119607403ea5c36b3e
:heavy_check_mark: openstack-k8s-operators-content-provider  SUCCESS in 1h 31m 58s
:heavy_check_mark: podified-multinode-edpm-deployment-crc  SUCCESS in 1h 07m 06s
:x: telemetry-operator-multinode-autoscaling-tempest  FAILURE in 59m 48s

This is a legitimate tempest failure.
I need to check whether it's a known issue or update the OpenStack configuration.

check-rdo

check-rdo

check-rdo

check-rdo


Bring back Download button in embedded view

Many instances where you may want to download some sample/shared code without editing, or having to go into the full editor.

What editor?


Failed to call httpbin v1 service in Mirroring example with mTLS enabled

Describe the bug
The traffic routing policy to send traffic to the httpbin v1 service in the Istio 0.8.0 Mirroring example (https://istio.io/docs/tasks/traffic-management/mirroring/) does not succeed with mTLS enabled.
Expected behavior
The call to the httpbin v1 service should succeed:
$ kubectl exec -it $SLEEP_POD -c sleep -- sh -c 'curl  http://httpbin:8080/headers' | python -m json.tool
{
    "Accept": "*/*",
    "Content-Length": "0",
    "Host": "httpbin:8080",
    "User-Agent": "curl/7.35.0",
    "X-B3-Sampled": "1",
    "X-B3-Spanid": "02d33345eb69bdce",
    "X-B3-Traceid": "02d33345eb69bdce",
    "X-Envoy-Expected-Rq-Timeout-Ms": "15000"
}

Steps to reproduce the bug

Install minikube
Install istio 0.8.0 with:

$ kubectl apply -f install/kubernetes/istio-demo-auth.yaml

Follow the Mirroring guide (https://istio.io/docs/tasks/traffic-management/mirroring/)
This will fail at step 1 “Creating default routing policy” as traffic is not properly routed to the httpbin v1 service:

$ kubectl exec -it $SLEEP_POD -c sleep -- sh -c 'curl -vvv http://httpbin:8080/headers'
* Hostname was NOT found in DNS cache
*   Trying <IP_ADDRESS>...
* Connected to httpbin (<IP_ADDRESS>) port 8080 (#0)
> GET /headers HTTP/1.1
> User-Agent: curl/7.35.0
> Host: httpbin:8080
> Accept: */*
>
< HTTP/1.1 503 Service Unavailable
< content-length: 57
< content-type: text/plain
< date: Mon, 16 Jul 2018 03:17:42 GMT
* Server envoy is not blacklisted
< server: envoy
<
* Connection #0 to host httpbin left intact
upstream connect error or disconnect/reset before headers

Version
$ istioctl version
Version: 0.8.0
GitRevision: 6f9f420f0c7119ff4fa6a1966a6f6d89b1b4db84
User: root@48d5ddfd72da
Hub: docker.io/istio
GolangVersion: go1.10.1
BuildStatus: Clean

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T22:29:25Z", GoVersion:"go1.10.3", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"11", GitVersion:"v1.11.0", GitCommit:"91e7b4fd31fcd3d5f436da26c980becec37ceefe", GitTreeState:"clean", BuildDate:"2018-06-27T20:08:34Z", GoVersion:"go1.10.2", Compiler:"gc", Platform:"linux/amd64"}

Is Istio Auth enabled or not?
Yes, using istio-demo-auth.yaml
Environment
Tried both minikube on macOS 10.13.6 and deploying Kubernetes to AWS with kops 1.9.1.

repro in latest release-1.0 branch, gke env.
same error is hit even before setting mirroring when mTLS is enabled.


Inconsistent left and top margins across pages

We should use the same left and top margins across our various pages.  Right now, moving between them feels weird, since things move around.
I think this is possibly happening due to the DNS Records table wanting more width?  We should figure out a solution for consistency.

We should probably move the margins out of individual pages, and put a common margin inside the shared layout route which also renders the header on all these pages

Adding the Admin page to the mix, which is different yet again:


[FLINK-18951][python][docs] Add documentation for Configurations in Python DataStream API.

What is the purpose of the change
Add documentation for Configurations in Python DataStream API.
Brief change log

Added a new page named dependency_management.md under dev/python/datastream

Verifying this change
This pull request added documentations for existing Python DataStream API, which has no need for test case coverage.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

Hi @HuangXingBo , highly appreciate for your suggestions, I have updated the PR, please have a look at it.

@HuangXingBo Thank you for your comments, I have updated the PR according to your suggestions, please have a look.

@shuiqiangchen Thanks a lot for the update. LGTM

@shuiqiangchen As StreamExecutionEnvironment#add_jars has been merged. Could you rebase the PR and add documentation on how to specify Java dependencies in Python DataStream jobs?

@dianfu Thank you for your reminding, I have added the java dependency management part for Python DataStream API docs.


Implement active_sessions data model

Description
Implement the active_sessions data model per the session replay TDD.

Add activeSessions to AccountModel with a new SessionDetails class to store details about each session
Mark idTokens with a TODO to remove later
Implement methods in AccountModel to manage activeSessions, and add unit tests in AccountModelTest
Define a database evolution to add the number column to the accounts table

This is for #6975.
Checklist
General
Read the full guidelines for PRs here

[x] Added the correct label: < feature | enhancement | bug | under-development | dependencies | infrastructure | ignore-for-release | database >
[x] Assigned to a specific person, civiform/developers, or a more specific round-robin list
[x] Added an additional reviewer from outside your organization as FYI (if the primary reviewer is in the same organization as you)
[x] Created unit and/or browser tests which fail without the change (if possible)

Database evolutions
Read the guidelines here

[x] Assigned two reviewers
[x] Guarded against already existing resources using IF NOT EXISTS and IF EXISTS
[x] Downs created to undo changes in Ups
[x] Data migrations aren't being done (please use a Durable Job if doing a data migration)

Could you update the session replay TDD link? The existing one was the one that was deleted.

Could you update the session replay TDD link? The existing one was the one that was deleted.

Good catch thanks! I updated it once but then that doc turned out to be problematic too 🤦  Fixed.


[ Bug ] Gold graph not showing in the post game

Hello,
i tried to past the link from site to OBS. But gold graph was not showed on the end game screen. Only damage and end screen. I tried to restart and everything but i cannot get the data on the screen. Is everything working on your side? I would love to have this on my end game screen.

This usually happens when data is being loaded from the local client as a fall back option to loading the game from the matchv5 API. The client contains less data, which is why gold and objectives might not show up.
Custom games are only available in matchv5 when created using tournament codes. The observer tool should automatically set the matchID and trigger loading of postgame stats. If this doesn't work, look up/set the matchID in the Game State module manually.

So, you're telling me that without tournament code i will not be able to load up gold and objectives in post?

I tried to copy game id and put it in the module manually. But it did not work. :/

Did you see any error codes in the console?
Note that only a subset of games are visible in matchv5, custom games are only available when created with a tournament code.


[YUNIKORN-2651]Update the unchecked error for make lint warnings

What is this PR for?
As title, fix error check message in lint.
What type of PR is it?

Bug Fix
Improvement

Todos

other lint error message.

What is the Jira issue?

YUNIKORN-2651

How should this be tested?
reomve --new-from-rev in Makefile
then run 'make lint'
Screenshots (if appropriate)
Questions:
N/A

@chia7712 thank you for your feedback. I modified them.

@rich7420 I feel you misunderstand the issue. The purpose of YUNIKORN-2651 is to handle the remaining unchecked error warned by lint. You can see the reports by make lint (you have to remove --new-from-rev). If there is no unchecked error warnings, please feel free to close this PR


possible to have a separate staging for translation?

Hey,
We are currently working on translating our hosted portal into French, Spanish and Russian. May I know if it is possible to have another staging to view the (ongoing) translated site, maybe on a separate branch? It's not always easy to have them to run the hosted portal locally.
Meanwhile Anton and my colleagues also wanted to post news and announcements on our hosted portal while the translations are ongoing.
Any advice is appreciated! Thanks a lot!

You can disable those languages in staging, then you will only see them in uat. Or you can disable them in prod only to still see then in staging.
from grscicoll
https://github.com/gbif/hp-grscicoll/blob/master/_config.yml#L97 exclude french and some other languages in prod
and then you can add a uat config that includes french in that domain
https://github.com/gbif/hp-grscicoll/blob/master/_config_uat.yml#L5

OH!!! Thank you so much Morten!!! that makes sense, I forgot that there is also uat!!

@MortenHofft Did I do it right?
config_uat.yml: https://github.com/gbif/hp-antarctic/blob/b76ceedf0479bce67d42955e7378f6ea0c4f8e98/_config_uat.yml#L3
The change does not seem to be reflected on uat: https://hp-antarctic.gbif-uat.org/


Fix code scanning alert - Exposure of private files

Tracking issue for:

[x] https://github.com/secureIO-GmbH/VulnerabilityHeatmap/security/code-scanning/2

Fixed, See related commit.


Link incorrectly garbage-colleged

When setting up my public server I ran into this issue because the firewall ports for the map server were not opened correctly (Documentation bug). Nemerle stated the below:
This looks like the client communication failed at some point , and then link is incorrectly 'garbage-collected/reaped' could be caused by the mapserver not receiving any data thus gameserver closing the link, and then client sending data on the closed-link's port

Debug   : Login successful
Debug   : Client requesting server list...
(6816|140737113765632) Client selected server 1!
Warning : Create_cookie still needs a good algorithm. 0x54d406f9
authserver: /home/crounce/project/Segs/Projects/CoX/Common/Servers/ClientManager.h:203: void ClientSessionStore<SESSION_CLASS>::remove_from_active_sessions(SESSION_CLASS*) [with SESSION_CLASS = GameSession]: Assertion false' failed. authserver: /home/crounce/project/Segs/Projects/CoX/Common/Servers/ClientManager.h:113: SESSION_CLASS& ClientSessionStore<SESSION_CLASS>::session_from_token(uint64_t) [with SESSION_CLASS = AuthSession; uint64_t = long unsigned int]: Assertion iter != m_token_to_session.end()' failed.
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffd9da0700 (LWP 6825)]
0x00007ffff6520277 in raise () from /lib64/libc.so.6

@cameron-justice, can you confirm that this is on v0.5.0 release?

I'm going to close this as I've been unable to reproduce and the submitter has not responded in over 30 days.


[error]'gbk' codec can't decode byte 0xa0 in position 3401: illegal multibyte sequence

Please support GBK encoding or use the 'ignore' attribute to ignore it。

what langauge / locale is your operating system set to?

anyone else having this problem refer to https://github.com/MaxLastBreath/TOTK-mods/issues/71 in the future :)


Google Cast - iOS 13 permission changes - need 4.4.4 binding project

Hi guys,
Google has released the new API (4.4.4) that support the permission change on IOS13
https://developers.google.com/cast/docs/ios_sender/ios13_changes
I wonder, do we have any plan to update our cast library to 4.4.4 anytime soon?
Thanks and best regards,
Dat Nguyen

Can we expect an update for compatibility with the Cast SDK 4.4.4? I am currently experiencing the issue where the cast button does not appear on iOS13 devices as described on the Google developers page:
"Action Required: Update to Cast SDK 4.4.4 or the cast button may not appear if the user does not grant location permission. Upgrading to Cast SDK 4.4.4 is necessary to ensure a reliable casting experience on iOS 13."

Guys, letting you know that Google Cast v4.4.5 has been pushed today! Hope this fixes the issue. Closing this now!


_posts/0000-01-02-Sunil-Kumar-Gupta.md

created a branch, created a file and made a commit, and opened a pull request

Done


Performance reproduction issue for diffusion models

Hi @atharvamete, thanks for the awesome work and well-structured code.
I'm unable to match the performance for diffusion policy shown in your Figure 2 (a), i.e., 75%. I use the train_base.yaml file and diffusion_policy as algorithm to train the policy with libero_90 task following the default configuration as given in your code.
I use skill_block_size: 32 and action_horizon: 16 while inferencing, as stated in Appendix B.3 (changing from 16 and 2 which was in the default diffusion_policy config).
Also, as I'm new to this, can you confirm if the skill_block_size and action_horizon don't matter during the training of a diffusion model?

Attaching a pic of the inference time and the final eval performance.
Can you also confirm if this is the normal evaluation time for inference with diffusion model? The quest evaluation took around 7 hrs.

Thanks.
This is an ongoing issue and is impacting all baselines (and even quest). The published results are from before we went a major refactor. I think the issue is mostly either with libero env implementation. I'll work on resolving this but not anytime soon. Apologies for that.

can you confirm if the skill_block_size and action_horizon don't matter during the training of a diffusion model?

The skill_block_size is the input action sequence length which matter during training for all models that take action chunk including diffusion policy. action_horizon matters during inference not training.
We should have named skill_block_size as action_chunk and action_horizon as execution_horizon. I might do this.
If you run parallel evals then it should take less time than that

@atharvamete Got it. Thanks for the detailed response.


ui: fix centering and small styling issues

ready to go

Closes https://github.com/inveniosoftware/invenio-app-rdm/issues/145


TransactionalBatch => 0 operations on 429 retries

Have 365 documents in a transaction, split across batches of 50 item updates each.
Client has following config:
var masterClient = new CosmosClient(masterDbNamespace, new DefaultAzureCredential(), new CosmosClientOptions()
{
Serializer = new CustomCosmosSerializer(jsonSerializerOptions),
ApplicationName = applicationName,
ConnectionMode = ConnectionMode.Direct,
RequestTimeout = TimeSpan.FromSeconds(120),
AllowBulkExecution = enableBulk,
MaxRetryAttemptsOnRateLimitedRequests = 2000,
MaxRetryWaitTimeOnRateLimitedRequests = TimeSpan.FromMinutes(50)
/EnableContentResponseOnWrite = !ignoreResponse/
});
For some reason, even with above parameters, we get a fast 'I give up' from the SDK throwing a 429.
It does not seem to honor the settings above though, which ends in deadletters on service bus, with the following error:
System.ArgumentException: The batch request did not have any operations to be executed
My assumption is that the lists are being reset after sending to cosmos server, but with a retry, we catch ourselves for situation explained above, the batch is empty;
`await _retryOnHeavyLoadPolicy.ExecuteAsync(async () =>
{
var resp = await transaction.ExecuteAsync(cancellationToken);
                if (!resp.IsSuccessStatusCode)
                {
                    if (resp.Any(x => x.StatusCode == System.Net.HttpStatusCode.TooManyRequests))
                    {
                        var tooManyRequestsExc = resp.First(x => x.StatusCode == System.Net.HttpStatusCode.TooManyRequests);
                        throw new CosmosException("Transactional batch: Too many requests", tooManyRequestsExc.StatusCode, 0, CorrelationId, 0d);
                    }
                    else if (resp.Any(x => x.StatusCode == System.Net.HttpStatusCode.RequestTimeout))
                    {
                        var requestTimeoutExc = resp.First(x => x.StatusCode == System.Net.HttpStatusCode.RequestTimeout);
                        throw new CosmosException("Transactional batch: Request timed out", requestTimeoutExc.StatusCode, 0, CorrelationId, 0d);
                    }
                    else if (resp.Any(x => x.StatusCode == System.Net.HttpStatusCode.ServiceUnavailable))
                    {
                        var serviceUnavailableExc = resp.First(x => x.StatusCode == System.Net.HttpStatusCode.ServiceUnavailable);
                        throw new CosmosException("Transactional batch: Service unavailable", serviceUnavailableExc.StatusCode, 0, CorrelationId, 0d);
                    }
                    else if (resp.Any(x => x.StatusCode == System.Net.HttpStatusCode.Conflict))
                    {
                        var conflictExc = resp.First(x => x.StatusCode == System.Net.HttpStatusCode.Conflict);
                        throw new CosmosException("Transactional batch: Operation conflict", conflictExc.StatusCode, 0, CorrelationId, 0d);
                    }
                    else if (resp.Any(x => x.StatusCode == System.Net.HttpStatusCode.PreconditionFailed))
                    {
                        var conflictExc = resp.First(x => x.StatusCode == System.Net.HttpStatusCode.PreconditionFailed);
                        throw new CosmosException("Transactional batch: Update conflict", conflictExc.StatusCode, 0, CorrelationId, 0d);
                    }
                    else
                    {
                        throw new InvalidOperationException($"Transactional batch: Could not commit transaction, status code: {resp.StatusCode}");
                    }
                }
            });`

The Polly policy:
'
return Policy
.Handle(x =>
x is CosmosException exception
&& (exception.StatusCode == HttpStatusCode.TooManyRequests))
.WaitAndRetryAsync(1000, retryAttempt => TimeSpan.FromSeconds(Math.Pow(retryAttempt, 0.5)));
'
Why is the SDK:

Not honoring these retry settings in case of 429
Why is the batch being emptied on such transient issue? I understand if some parts could be comitted to the db in case of server timeouts etc, but 429 is definitely a scenario where we can and should be sure not a part of the batch is committed

Using SDK 3.23.0

Can you provide the full exception to string which includes diagnostics?

I can't seem to get those diagnostics from the exception message itsself.
I do have a debug snapshot from AI that I could share with you?

The error with the batch (batch being empty) is probably due to your Polly policy retrying the call to transactionalBatch.ExecuteAsync instead of recreating the TransactionalBatch object on each retry.

To confirm the SDK is not retrying on the 429 and simply bubbling it to your Polly Handler, could you attach/share one of the exceptions (CosmosException) being handled by your Polly code? The ToString or Diagnostics of the CosmosException (429) would show if the SDK retried and how many times.
This information is crucial to be able to assist.

Hi @ealsur, sorry for not responding earlier.
It's really difficult to provide what you are asking for, seeing I can only provide the AI snapshot debug.
We've worked around now by recreating the transactional batch completely when it pops up in Polly, which is, to my humble opinion, still only possible on a 429 as this is the only one being catched by this policy, but I'm afraid I can't help anymore.
If you are convinced it's not an issue in the SDK, feel free to close it!

Just trying to help with the statement that the SDK is not retrying on 429. The only way would be to confirm with Diagnostics (you could I guess disabled/remove the Polly Retry temporarily, get one of the 429 exceptions and capture the ToString or Diagnostics to confirm).


Dynamic Room Environment

Is there an easy way to change the grid between different episodes?
I am looking to recreate some of the dynamic room environments, i.e where a shortcut opens up or a goal changes location after a certain number of timesteps or episodes.

Hi @bhairavmehta95. I made a commit just yesterday which makes this the default behavior: https://github.com/maximecb/gym-minigrid/commit/127eef302c4e52f0b976c10304a2b33390fbca78
Each time an episode ends, when you call the env.reset() method, this internally calls _genGrid(). The _genGrid() method should produce a new random grid for your environment.
For example, the Door-Key environment, the splitting wall and the position of the door change randomly: https://github.com/maximecb/gym-minigrid/blob/master/gym_minigrid/envs/simple_envs.py#L34

Great! Exactly what I was looking for


Win 10 GAM 5.09 install fails at "select the authorized scopes" - no response or error

The issue tracker is for reporting product deficiencies. "How do I?" questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager. When in doubt, start at the discussion forum and return here only when instructed to do so.
Please confirm the following:

I have upgraded to the latest GAM release from https://git.io/gamreleases and I still have this issue. Yes 5.09 msi
I am typing the command as described in the GAM Wiki at https://github.com/jay0lee/gam/wiki
yes
Full steps to reproduce the issue:
1.Install 5.09
2.follow all command prompts
3.at "select the authorized scopes by entering a number" - the cmd line stops responding

Expected outcome (what are you trying to do?):
Install 5.09 on Win 10
Actual outcome (what errors or bad behavior do you see instead?): cmd line stops responding
Can't get past this. Tried s and then 1 and then 2 and then 3 and so on. No change in screen

Select the authorized scopes by entering a number.
Append an 'r' to grant read-only access or an 'a' to grant action-only access.
[]  0) Classroom API - counts as 5 scopes
[]  1) Cloud Print API
[]  2) Data Transfer API (supports readonly)
[]  3) Directory API - Chrome OS Devices (supports readonly)
[]  4) Directory API - Customers (supports readonly)
[]  5) Directory API - Domains (supports readonly)
[]  6) Directory API - Groups (supports readonly)
[]  7) Directory API - Mobile Devices (supports readonly and action)
[]  8) Directory API - Organizational Units (supports readonly)
[]  9) Directory API - Resource Calendars (supports readonly)
[] 10) Directory API - Roles (supports readonly)
[] 11) Directory API - User Schemas (supports readonly)
[] 12) Directory API - User Security
[] 13) Directory API - Users (supports readonly)
[] 14) Group Settings API
[] 15) License Manager API
[] 16) Pub / Sub API
[] 17) Reports API - Audit Reports
[] 18) Reports API - Usage Reports
[] 19) Reseller API
[] 20) Site Verification API
[] 21) Vault Matters and Holds API (supports readonly)
[] 22) Cloud Storage (Vault Export - read only)
[] 23) User Profile (Email address - read only) [required]
 s)  Select all scopes
 u)  Unselect all scopes
 e)  Exit without changes
 c)  Continue to authorization

Please enter 0-23[r|a] or s|u|e|c:

Please read the hatnote once again: "The issue tracker is for reporting product deficiencies. 'How do I?' questions should be posted to the discussion forum at https://groups.google.com/group/google-apps-manager."

Use "c" to continue to the next step.


Feature/add corretto

Fixed #95

@dzmitryastrouski  I'm investigating issues with sapmachine 13 with chocolatey transport.
@tgadiev could you please review feature.


Add image piping

Hey @123andy,
I long wanted to be able to pipe uploaded images (or PDFs) to other places. So yesterday I finally got around to having a look at the issue, and thought: "Hey, based on Andy's Image Viewer, this should be fairly easy." Enter events and repeated instruments ....
Well, after spending significantly more hours than anticipated,  the "patch" became rather involved...
So, here it is. I think this would fit nicely into a v1.4.0 of the Image Viewer module. What do you think?
What does it do? See the revamped README for details, including screenshots.
In brief: It provides the @IMAGEPIPE that does what it suggests (PDFs, too), accross events and repeating forms (repeating events not really tested though), and accross form permission barriers (while having mechanisms in place that will stop any attempts to sneak out files dead in their tracks).
I did do some code cleanup and fixed a few "glitches" (like replacing the dummy exit with the meanwhile available exitAfterHook).

I'm going to trust this works and test it later :-)

Hmm. The pressure! So I went back and finally did test it with repeating events myself (I had it in production, but only with repeating forms). Indeed, there were bugs!
Since I made this PR, I now have a much better understanding of instance internals and have reworked the instance logic.
See #3 - please test only this and do not push 1.4.0 to the Repo! Thanks!


nvgRoundedRectEx for varying corner radii

Now each corner of the rounded rectangle can have it's own radius.

New commit based on all of @memononen's suggestions.

Things got pretty strange when I tried to amend my last commit, but it should look right after I merged in the conflict.

Merged, thank you for the improvement!


chore(deps): update common-dev-assets digest to 8014eff

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
5a62411 -> 8014eff

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: