fix(query-core): use performance instead of Date.now to initialize mutationId

Previously the MutationCache.#mutationId was initialized with Date.now(). When using dynamicIo with Next it was throwing:
Error: Route "/" used `Date.now()` instead of using `performance` or without explicitly calling `await connection()` beforehand. See more info here: https://nextjs.org/docs/messages/next-prerender-current-time

The error is fixed by using performance.timeOrigin + performance.now() instead.
I have updated the next and react dependencies on the Next 15 integration and example from RC to stable. However, the dynamicIo is still an experimental feature and requires the canary dependency, so this not tested. I can confirm that the error was thrown locally by react-next-15 integration when enabling dynamicIo, and this change fixes it.
Closes https://github.com/TanStack/query/issues/8277

Any update on this?

we have a second PR open that solves the issue in a different way, so we have to decide which one is going to make it.


Provide zsh instead of bash as the default shell in std.utils() for macOS

Currently, both Linux and macOS use bash for their default shell. On macOS systems, the default should be zsh.

Initial implementation worked to swap in zsh, but it took tens of seconds to start. closing.


Renaming an in-use 9p directory breaks directory for all

Environment
Windows build number: `Microsoft Windows [Version 10.0.19041.804]`
Your Distribution version: OpenSUSE Leap 15.2 and Ubuntu 20.04
Whether the issue is on WSL 2 and/or WSL 1: WSL2 -- `Linux version 4.19.128-microsoft-standard (oe-user@oe-host) (gcc version 8.2.0 (GCC)) #1 SMP Tue Jun 23 12:58:10 UTC 2020`

Steps to reproduce

Start two sessions.  I'll call them terminal 1 and terminal 2.
In terminal 1:
sauer@GRODD:~$ mkdir /mnt/c/Windows/Temp/bugdir
sauer@GRODD:~$ cd /mnt/c/Windows/Temp/bugdir
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ mkdir oldname

In terminal 2:
sauer@GRODD:~$ cd /mnt/c/Windows/Temp/bugdir/oldname/
sauer@GRODD:/mnt/c/Windows/Temp/bugdir/oldname$ touch file
sauer@GRODD:/mnt/c/Windows/Temp/bugdir/oldname$ ls -la
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10  2021 .
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:09 ..
-rw-r--r-- 1 sauer sauer    0 Mar 10  2021 file

Back in terminal 1:
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ mv oldname newname
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ ls -alR
.:
ls: ..: Permission denied
ls: cannot access 'newname': No such file or directory
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 .
d-wx-wx-wx 1 sauer sauer 4096 Mar 10 13:09 ..
d????????? ? ?     ?        ?            ? newname
ls: cannot open directory './newname': No such file or directory

In terminal 2:
sauer@GRODD:/mnt/c/Windows/Temp/bugdir/oldname$ ls -la
ls: cannot open directory '.': No such file or directory

At this point, nothing can access the directory formerly known as oldname until the process whose CWD was there changes it's CWD or exits.
Still in terminal 2:
sauer@GRODD:/mnt/c/Windows/Temp/bugdir/oldname$ cd ..
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ ls -laR
.:
ls: ..: Permission denied
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 .
d-wx-wx-wx 1 sauer sauer 4096 Mar 10 13:09 ..
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 newname

./newname:
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 .
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 ..
-rw-r--r-- 1 sauer sauer    0 Mar 10 13:11 file
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ cd newname/ && ls -la
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 .
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 ..
-rw-r--r-- 1 sauer sauer    0 Mar 10 13:11 file

And in terminal 1:
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ ls -alR
.:
ls: ..: Permission denied
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 .
d-wx-wx-wx 1 sauer sauer 4096 Mar 10 13:09 ..
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 newname

./newname:
total 0
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 .
drwxr-xr-x 1 sauer sauer 4096 Mar 10 13:11 ..
-rw-r--r-- 1 sauer sauer    0 Mar 10 13:11 file

I don't think the strace is very helpful, but here it is:
https://gist.github.com/dannysauer/608f307352e7112cc2d3183256efad57
I changed to newname in terminal 2, renamed newname to anothername in terminal 1 and then ran strace ls -la in terminal 2.

WSL logs:
Expected behavior

I'd expect terminal 2 to continue being able to operate in the directory as if nothing had happened.  Performing the same steps on a native filesystem in the container (in $HOME, for example) does not result in the same breakage.  In that situation, the current directory name doesn't update in the prompt, but that's because POSIX filesystems are supposed to not screw up open filehandles on moves like that; terminal 2 should simply not be aware that the directory name changed if the directory inode didn't change.  That's what happens on a native filesystem, but not what happens in 9p.
Actual behavior

It appears that there's some caching happening somewhere.  The filename rename happens immediately; when I run stat . in terminal 1, the ctime and mtime both update as soon as the mv runs, indicating that the name actually is immediately updated in the parent directory's data (this is backed up by ls getting the new directory's name properly as well).  When I exit the directory in terminal 2, allowing (I guess) the rename to actually complete from 9p's perspective, no time changes are recorded in either the parent or the renamed child.  The inode also does not apparently change at any point, but ls -i also shows a question mark for the inode of the moved directory.
Interestingly, I can cd into the directory in terminal 1 after the rename while it's broken.  But once inside, cd doesn't work.
sauer@GRODD:/mnt/c/Windows/Temp/bugdir$ cd anothername
sauer@GRODD:/mnt/c/Windows/Temp/bugdir/anothername$ ls -a
ls: cannot open directory '.': No such file or directory

At that point, the directory still isn't usable until both processes have left the directory.  So, entering the broken directory in terminal 1 after the rename and then exiting only in terminal 2 leaves the directory in an unusable state until terminal 1 also leaves.  I found that particularly intriguing.
Behavior is consistent across both Linux environments I checked, indicating that the issue is not guest-OS specific.

Was able to reproduce; thanks.

I'm not sure if "completed" is accurate. :)


Dashboard: Filter by name and request volume

Add ability to UI to filter by circuit name and request volume.
For example, when 100 circuits are showing, filter out all with < 1rps.

Closing this out due to inactivity.  If someone would like to take ownership of the dashboard roadmap, please re-open.


Remove console logs on test pages

Issue Description
Context paragraphs were removed and console logs were added when switching over to webdriver io tests. They are all logged upon entering the site, making them unhelpful and they are just clogging up the console.
Issue Type

[ ] New Feature
[ ] Enhancement
[ ] Bug
[x] Other

I'm thinking we could probably just add the context to be with the link to the page, instead of trying to put it on the actual test page.


Howto Override Preview Component

Is your feature request related to a problem?
I try to override Preview component without success
Describe the solution you'd like
I'd like add an thumbnail of the first image of the blog posts
Describe alternatives you've considered
No response
Additional Context
No response

Thanks for the feedback.
This plugin does not have an override mechanism like Starlight. It's something I'm still considering for the future based on feedback but definitely not something short term. There are also a few considerations before implementing it, e.g. if a lot of plugins are implementing an override mechanism for their own components, it may hint that maybe it could be addressed at a higher level than just the plugin level.
A potential workaround could be to use the same approach as the one used in this example.


To save the model trained by ourselves

Saving the customized model
I wonder how to save the model trained by the datasets ourselves, since it is more convenient for us to further utilize and/or improve model.

Hi @XUYIRS - You can do this using model.trainer.save_checkpoint(), which is covered in https://deepforest.readthedocs.io/en/latest/getting_started.html?highlight=save#saving-and-loading-models. Take a look and let me know if you have any questions.


Anime Base broken

Source information
Anime Base 13.18
Source language
German
Steps to reproduce
Install
Open
~The table,~ its broken
Expected behavior
No broken
Actual behavior
Error
Aniyomi version
App version: <IP_ADDRESS> (standard, 589054b, 118, 2024-01-13T20:47Z) Android version: 13 (SDK 33; build RMX3241_11_F.08) Android build ID: RMX3241_11_F.08 Device brand: realme Device manufacturer: realme Device name: RE513CL1 (RMX3241EEA) Device model: RMX3241 WebView: Android System WebView 120.0.6099.194
Android version
Android 13
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Pls don't just say it's broken and make everyone figure out what the actual problem is... Just a reminder for the future 🔮 😉
Anime-Base works in webview, but has currently the following issues:

opening the Anime-Base popular catalog it shows http error 404, same goes for the catalog search
catalog newest tab results with no results
each episode is listed twice (sub+dub each) =>combined would be better (like Aniwave)
Anime Library throw an error NullPointerException: null


Add IonQ cost to Azure Quantum samples

@KittyYeungQ
Teleportation sample is exclude since it's not compatible with IonQ.
Also update certain sample inputs as follows:

grover: --n-qubits 4 doesn't run on Honeywell, change to 3 (too many qubits, 7 in total)
hidden-shift: --n-qubits avoid confusion in regards to which input is used in the cost estimate, simulator (4) or AQ (3), make both 3

Thanks @cgranade, these are good points.

The idea is to add rough order of magnitude estimates so the user knows what they are getting into when running the sample. This has been a popular request. But it is true that it is susceptible to price changes. @KittyYeungQ
The plan is to add Honeywell costs very shortly as soon as I have collected data on it.

Since Honeywell discontinued H0, this PR will not be updated with pay-as-you-go cost estimates for Honeywell.


making "no matching distribution found" error nicer (Python 2 versus 3)

If a user is in a Python 3 environment (perhaps because it's the default on their machine) and does pip install econ-ark, they get the error:

No matching distribution found for econ-ark

That's because, right now, HARK only works with Python 2.7. Until we solve #102 and migrate to Python 3, we have to support users whose environments assume we already support Python 3. What can we do to make this clearer and less confusing for the user?
Am opening this issue & assigning it to myself; I'll ask my colleagues in the Python packaging space whether there's something we could do here to provide a better error message.

I think we can close this now with #168.


npm run e2e and getting this error

I'm submitting a ...

[x ] bug report
I just got fresh copy and trying to npm run e2e and getting this error - i know it was reported perviously but it seems it has regressed
[11:42:33] E/launcher - Error: TSError: ⨯ Unable to compile TypeScript
i know this has previously been addressed with adding this to tsconfig.json
"files": [ "src/main.ts", "typings/browser.d.ts", "node_modules/zone.js/dist/zone.js.d.ts" ]
but having no luck with it! Does anybody have a solution?

Make sure you get the latest commits for tsconfig:

I'm encountering the same error myself, even with the latest commits.  The initial errors for me are with definition files underneath node_modules/angular/{common,compiler}/esm/src.
Crash-coursing my definition-file knowledge so I hopefully can be more useful than this.

Same issue here... fresh clone. Fresh install of typings as global (basically following the readme) and afterwards a npm install.
Extract of error messages
E/launcher - Error: TSError: ⨯ Unable to compile TypeScript
<EMAIL_ADDRESS>(7,5): Duplicate identifier 'readonly'. (2300)
<EMAIL_ADDRESS>(7,14): '=' expected. (1005)
<EMAIL_ADDRESS>(7,14): Cannot find name 'first'. (2304)
<EMAIL_ADDRESS>(7,19): ';' expected. (1005)

There are a lot more.
Typings version installed globally 1.0.4... only way to make the e2e tests working again was to reset the changes in the repo when using 0.8.1 and then a npm run clean:install
Any help would be appreciated.

Like TobiasKrogh, I get a mile of "Duplicate identifier" messages. But mine come from the node typings and result in an error:
pings/globals/node/index.d.ts (2147,18): Class 'Domain' incorrectly implements interface 'NodeJS.Domain'.   Types of property 'addListener' are incompatible.     Type '(event: string, listener: Function) => EventEmitter' is not assignable to type '{ (event: string, listener: Function): this; (event: string, listener: Function): this; (event: s...'.       Type 'EventEmitter' is not assignable to type 'this'. (2420)     at getOutput (/Volumes/Fantomas/angular2-webpack/node_modules/ts-node/src/ts-node.ts:210:13)     at Object.loader (/Volumes/Fantomas/angular2-webpack/node_modules/ts-node/src/ts-node.ts:225:23)     at Module.load (module.js:356:32)     at Function.Module._load (module.js:311:12)     at Module.require (module.js:366:17)     at require (module.js:385:17)     at /Volumes/Fantomas/angular2-webpack/node_modules/protractor/node_modules/jasmine/lib/jasmine.js:56:5     at Array.forEach (native)     at Jasmine.loadSpecs (/Volumes/Fantomas/angular2-webpack/node_modules/protractor/node_modules/jasmine/lib/jasmine.js:55:18)     at Jasmine.execute (/Volumes/Fantomas/angular2-webpack/node_modules/protractor/node_modules/jasmine/lib/jasmine.js:111:8) [launcher] Process exited with error code 100

I got this to work, kind of.
Replace:
filesGlob: [...] and exclude: [...]
with
"files": [ "src/main.ts", "typings/browser.d.ts", "node_modules/zone.js/dist/zone.js.d.ts", "./src/custom-typings.d.ts", "./typings/index.d.ts" ],
(Typescript will throw an error if you have filesGlob or exclude with files).
The problem is that all the tests are failing now.

I was able to get this working by renaming filesGlob to files and commenting out exclude, as pointed out above.
In order to get tests passing the app had to be running by first using npm run start. After that you can do  npm run e2e and all tests pass.
I needed to fully automate this for CI by calling a single npm script. Updating my npm e2e script to this solved it:
"e2e": "(webdriver-manager start &) && sleep 2 && (npm run start . &) && npm run protractor"

Only remaining issue is how to shut down selenium and webpack-dev-server after tests run. I an getting address in use for both when running the tests more than once. They still end up running but it looks ugly in the console.
Any ideas?

Above solution seems to work, but main.ts has moved to main.component.ts and typings/browser.d.ts needs to be removed from the list as it seems to no longer be included.
So it looks like this now:
"files": [ "src/main.component.ts", "node_modules/zone.js/dist/zone.js.d.ts", "./src/custom-typings.d.ts", "./typings/index.d.ts" ],

Another thing to note is that the Aurelia Skeleton app has a working "gulp e2e" script. It stands up the server, runs the tests, and dismisses without errors.
It may be worth looking at how it is done in order to make this work well with CI systems.

Are there some workarounds for
  "exclude": [
    "./node_modules",
    "./typings/main.d.ts",
    "./typings/main"
  ],
  "filesGlob": [
    "./src/app/**/*.ts",
    "./src/platform/**/*.ts",
    "!./node_modules/**",
    "./src/custom-typings.d.ts",
    "./typings/index.d.ts"
  ],

in tsconfig?

@Andrey-Pavlov There is solution thumbed up 19 days ago with diff... worked for me, essentially I had to do this
{
  "compilerOptions": {
    "target": "es5",
    "module": "commonjs",
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "sourceMap": true,
    "noEmitHelpers": true
  },
  "files": [
    "src/main.ts",
    "node_modules/zone.js/dist/zone.js.d.ts",
    "./src/custom-typings.d.ts",
    "./typings/index.d.ts"
  ],
  // "exclude": [
  //   "./node_modules",
  //   "./typings/main.d.ts",
  //   "./typings/main"
  // ],
  // "filesGlob": [
  //   "./src/app/**/*.ts",
  //   "./src/platform/**/*.ts",
  //   "!./node_modules/**",
  //   "./src/custom-typings.d.ts",
  //   "./typings/index.d.ts"
  // ],
  "awesomeTypescriptLoaderOptions": {
    "resolveGlobs": true,
    "forkChecker": true
  },
  "compileOnSave": false,
  "buildOnSave": false,
  "atom": { "rewriteTsconfig": false }
}

Looks like typscript compiler doesn't seem to mind json having comments in it :)


Fix issues in docker_tools.py

Description
Fixes two issues with the docker_tools.py utility script:

The argument --image was ignored.
Fixes a typo in the "Add new props" docs (the option is defined as packages, not package)

Where has this been tested?

Platform(s): MacOS
Python version(s): Python 3.8
Unreal Engine version(s): -

This change is

Hi, thanks for those corrections. I'm gonna merge it.


Scheduler keeps scheduling same files over although file has been moved to ES and truncate to 0

Have shared logs with Qiyang.
If a rule is scheduled to move a file to S3 filesystem and the file size is truncated to 0, the same file gets scheduled again to be copied over. This should not happen. and showstopper for our ADAS.

Hi @aurorahunter . We have fixed this issue on release 1.3.2 and trunk. You can test it in your environment. :)

Issue closed. Free free to re-open it if there is any problem.


Error: TypeError: Cannot read properties of undefined (reading 'matchesErrorCode')

Hi,
everything was fine recently, but now for the first time in a long time, i have a problem with this plugin that i can't handle. Every day, around 4:40 AM I get these error messages.

[3/21/2022, 4:40:17 AM] [Jablotron] Error: TypeError: Cannot read properties of undefined (reading 'matchesErrorCode')
at /homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:32:29
at IncomingMessage. (/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:68:21)
at IncomingMessage.emit (node:events:532:35)
at endReadableNT (node:internal/streams/readable:1346:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[3/21/2022, 4:40:17 AM] [Jablotron] Unable to parse JSON data: {"http-code":200,"errors":[{"code":"METHOD.NOT-SUPPORTED","message":"Unknown method.","debug":"Unknown method."}]}

[3/22/2022, 4:40:19 AM] [Jablotron] Error: TypeError: Cannot read properties of undefined (reading 'matchesErrorCode')
at /homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:32:29
at IncomingMessage. (/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:68:21)
at IncomingMessage.emit (node:events:532:35)
at endReadableNT (node:internal/streams/readable:1346:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[3/22/2022, 4:40:19 AM] [Jablotron] Unable to parse JSON data: {"http-code":200,"errors":[{"code":"METHOD.NOT-SUPPORTED","message":"Unknown method.","debug":"Unknown method."}]}

I run Docker on Synology 918+. Everything is the latest version available.
HomeBridge 4.42.0 (latest)
homebridge-jablotron v2.5.3
Node.js v16.14.0
Npm v8.3.1
Can you help me with that, please?

Hello,
first of all, I want to thank you for a quick reply. Unfortunately, now it's even worse than before the "repair". 😒 Now there are error messages in the log almost every minute. In fact, the same thing keeps happening.
Error 1:

[3/26/2022, 11:52:25 AM] [Jablotron] Unable to parse JSON data: {"status":false,"error_status":"not_logged_in","checksum":"4e0a5f2250e13b14583a900483a182ab","server_id":"2685983-1648291945","client_id":null}

Error 2:

[3/26/2022, 11:53:25 AM] [Jablotron] Error: TypeError: Cannot read properties of undefined (reading 'matchesErrorCode')
at /homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:32:29
at IncomingMessage. (/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:68:21)
at IncomingMessage.emit (node:events:532:35)
at endReadableNT (node:internal/streams/readable:1346:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)

Of course, now the jablotron in my homekit doesn't work and shows a few days old status. I checked the login, password and PIN, which I have specially created for this plugin, several times, but everything works (I log in on the website and in the application, the PIN on the keyboard is also OK).
So I tried the last "user thing" - return to version 2.5.3, immediately after installation the current status appeared and I can control the security of our house again.

I finally logged some errors too:
[3/30/2022, 4:40:20 AM] [Jablotron] Error: Method not supported by Jablotron
    at /homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:33:31
    at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:68:21)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
[3/30/2022, 4:40:20 AM] [Jablotron] Error: Method not supported by Jablotron
    at /homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:33:31
    at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:68:21)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
[3/30/2022, 5:08:39 AM] [Homebridge UI] Starting terminal session
[3/30/2022, 5:09:25 AM] [Homebridge UI] Terminal session ended.
[3/30/2022, 6:05:01 AM] [Jablotron] Error: SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at IncomingMessage.<anonymous> (/homebridge/node_modules/homebridge-jablotron/lib/jablotron-client.js:68:42)
    at IncomingMessage.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21)
[3/30/2022, 6:05:01 AM] [Jablotron] Unable to parse JSON data:
<title>502 Bad Gateway</title>

502 Bad Gateway

nginx

Did you ever upgrade to the latest version?


ZEVA - Implement Loading Icon for "Save" and "Recommended" Actions in MYR

Describe the task
When an analyst is reviewing a Model Year Report (MYR) in the ZEV Reporting system and clicks on either the "Save" or "Recommend" button, the page should display a loading icon until the save (or recommend) action is completed. This will prevent the analyst from clicking the same button or the other button in quick succession, thereby avoiding the creation of further incorrect data.
Purpose
The purpose of this task is to implementing a loading icon during the save or recommend action. preventing rapid triggering of multiple actions and reducing the risk of generating incorrect data entries.
Acceptance Criteria

[ ] When an analyst clicks on the "Save" or Recommended button, a loading icon should be displayed until the action is completed.
[ ] During the loading period, the buttons (both "Save" and "Recommend") should be disabled to prevent further clicks.

Development Checklist
(1) Make it so that when an analyst clicks "save" or "recommend", set the loading state to "true", and set it back to "false" after the request to the backend completes.
Additional context

Hey team! Please add your planning poker estimate with Zenhub @emi-hi @JulianForeman @tim738745

Tested


Trying to create contact and account at the same time

Trying to do something like this:
var contact = new Contact { Email =<EMAIL_ADDRESS>                                               FirstName = "Joe",
                                               LastName = "Schmoe",
                                               Account = new Account { AccountName = "Company 123",
                                                                                Type = "End Users",
                                                                                Status = "Active"
                                                                                }
                                              };

var options = new SDataPayloadOptions { Include = "Accounts" };
var results = _client.PostAsync(contact, null, options).Result;

However, when I run this code, the server returns this error:
object references an unsaved transient instance - save the transient instance before flushing or set cascade action for the property to something that would make it autosave.

This is a server-side limitation, not a client issue. In general, it's better to create parent-child entities from the parent's perspective. In other words, create the account with a nested contact.
The following works for me:
var account = new Account
    {
        AccountName = "Company 123",
        Type = "End Users",
        Status = "Active",
        Contacts = new List<Contact>
            {
                new Contact
                    {
                        Email =<EMAIL_ADDRESS>                        FirstName = "Joe",
                        LastName = "Schmoe"
                    }
            }
    };
var options = new SDataPayloadOptions {Include = "Contacts"};
var results = client.PostAsync(account, null, options).Result;

Awesome, thank you!

I have been trying to follow the examples on this page.  Reading data works, but when I try to create a contact by itself, I receive the error "The Contact's Account is required."  I found this issue and then tried your code to create the account and contact at the same time.  I now receive the error "The remote server returned an error: (404) Not Found." (see attached image).

Any ideas what I am doing wrong?
Does any other documentation exist?  For example, where does your Account class code exist?  I just assumed what it should be and used this: `
[SDataPath("account")]
public class Account
{
[SDataProtocolProperty(SDataProtocolProperty.Key)]
public string Id { get; set; }
    public string AccountName { get; set; }
    public List<Contact> Contacts { get; set; }
    public string Status { get; set; }
    public string Type { get; set; }
}`

Thanks

@joeshmoe301 For your Account class, the SDataPath should be "accounts" (plural), not "account".

Thanks.  I added the 's' and got it to work.  Is there any documentation for this that I missed?  I'm assuming that I should have known to use "accounts" based on this link in the "Sample Calls" section, but is there any other code examples using DotNetSDataClient.

Not sure if there is any documentation for that specifically (I don't believe so). However, for any entity, you can see what it's SData path is by opening the entity in AA and looking at the SData tab. It will show what it's SData path is there in the Path Name field.

Thanks again for the help.

How can you add a contact and associate it with an already existing account?  I tried the below code, but I keep getting an error (just a generic 500 error).
`var client = new SDataClient("https://domain/sdata/slx/dynamic/-/")
{
UserName = "username",
Password = "password"
};
var contact = new Contact
{
    Account = new Account
    {
        AccountName = "accountName",
        Id = "accountId"
    },
    Address = new Address
    {
        Address1 = "1234 Address",
        City = "someCity",
        PostalCode = "12345",
        State = "ST"
    },
    FirstName = "John",
    LastName = "Doe"
};

var contactOptions = new SDataPayloadOptions { Include = "Address" };

try
{
    contact = client.Post(contact, null, contactOptions);
}
catch (Exception ex)
{
    var error = ex.Message;
}`

@joeshmoe301
The issue is that your POCO for Account has a collection of contacts. The DotNetSDataClient is serializing that as null and the SData server doesn't like that. Even setting that collection to new List() will fail because it will get serialized as []. where it should look like
"Contacts": { "$resources": [] }

A work around is to add this attribute to your Contacts collection in the Account POCO:
[SDataProtocolProperty(SDataProtocolProperty.DeleteMissing)]
public List<Contact> Contacts { get; set; }

You'll likely have to add that attribute to your AccountName property as well, otherwise you'll get a 500 back for that being empty. However, once adding that, it should work fine.
@NathanBaulch would it be possible for it to serialize Empty collections as either { "$resources": [] } or just default to Delete them since an empty array doesn't need to be included anyway? I can't think of any reason for empty arrays to be included in the serialized JSON.

(Deleted my previous response about using the DeleteMissing attribute. I think I was thinking of another library since in SData there's a $deleteMissing attribute for SData Sync that has other meanings)
There might be other ways, but sometimes when I am using POCOs I create an entity with just an Id property like this:
public class EntityResource
{
	[SDataProtocolProperty(SDataProtocolProperty.Key)]
	public string Id { get; set; }
}

and then I use that for updates for existing parent entities (in place of something like Account). That works great for associating data with existing entities, but doesn't work well for using the same entity for creating new records since you don't have the other properties.

The real issue here is that the POCO for Account has a collection of contacts. The DotNetSDataClient is serializing that as null and the SData server doesn't like that. Even setting that collection to new List() will fail because it will get serialized as []. where it should look like
"Contacts": { "$resources": [] }

When doing a POST with an existing parent or related entity, SData expects to only receive the $key and nothing else anyway. So, when the Contact class gets serialized, what you should be sending with the contact data is
"Account": { "$key":"AXXX00000001" }

and nothing more, but that is not the case, the library is serializing and sending everything.
@NathanBaulch ideally, when sending a POST, if a nested entity already contains a $key, it should strip out all else and leave just the $key. Is there a way to do this?

Thank you for the response.  I was able to get this to work using your suggestion for creating an account class with only the key.
Trying to figure out how to use this library has been difficult for me.  Is there any way I could have known how to implement this work around without someone else sharing this with me?  I have access to the schema (https://domain/sdata/slx/dynamic/-/$schema), but this doesn't seem to provide everything that I need (or maybe I just don't know how to read the schema well enough).  What is your opinion?  Do you have any suggestions on how to learn to use this library better?
Thank you again for your response.

There's no easy solution for this problem right now I'm afraid. I'll have to think a bit more about how we should handle parent references when inserting new entities via a typed model.
For now the workaround is to create a base class that only has the $key property as suggested and use that type for reference properties instead.
public class Contact
{
    public AccountBase Account { get; set; }
    public string FirstName { get; set; }
    public string LastName { get; set; }
}

public class AccountBase
{
    [SDataProtocolProperty]
    public string Key { get; set; }
}

[SDataPath("accounts")]
public class Account : AccountBase
{
    public string AccountName { get; set; }
    public string Type { get; set; }
    public string Status { get; set; }
}

@NathanBaulch I do it that way as well. The downside is that you can't use the same entity for reads since the feeds are deserialized as AccountBase instead of Account so you only end up with the ID only. This means the only way you can use POCOs and have it all work is to have a different set of POCOs for reads, which you can also use for creating all new data, and another set for creating new data for existing relationships.
Ideally, the SData server would see the nested entity has a $key and would ignore everything else, knowing that it references an existing entity. Either way, the thing that causes the issue is when your POCO has a nested List of entities, like List and the value is null. If the value would be set as "Contacts": { "$resources": [] } instead then the SData server doesn't fail on the request. I've tried initializing my lists to new List() but that doesn't solve it since it gets serialized to just "Contacts": [] instead of "Contacts": { "$resources": [] }. Is there a way to force an empty list to serialize to "Contacts": { "$resources": [] } rather than "Contacts": [] ?

Thanks @RyanFarley, both issues have been fixed in version <IP_ADDRESS>0. Empty resource collections are now serialized correctly and resources with $key specified have their properties excluded during POST operations (but not $service or $batch which also use the POST method). Let me know how you go with it.

Thanks.  I won't be able to try this till next week.

That's awesome @NathanBaulch. Thanks, I'll give it a try today

Sorry, I just now got around to testing the changes.  Worked fine.  Thank you.


Delays incorrectly printed on output to verilog

Missing '#' needs to be added to AST code generator templates that include ldelay and rdelay.
Bug produces verilog code that cannot be compiled and run.
        modified:   blockingsubstitution.txt
        modified:   nonblockingsubstitution.txt
        modified:   substitution.txt

For example,
{% if ldelay != '' %}{{ ldelay }} {% endif %}{{ left }} <= {% if rdelay != '' %}{{ rdelay }} {% endif %}{{ right }};
should change to
{% if ldelay != '' %}#{{ ldelay }} {% endif %}{{ left }} <= {% if rdelay != '' %}#{{ rdelay }} {% endif %}{{ right }};

Thanks! Let me check it.


404 page not found after installation by docker run commond

just setup the rancher server by docker run
docker run -d --restart=unless-stopped
-p 80:80 -p 443:443
--privileged
rancher/rancher:latest
after the commond run completely  , I think it looks fine , the container is running

but when I open the chrome with the https://ip , I got "404 page not found"

the docker version info show as below

please help know how to fix the 404 problem , thanks

What does curl -vLk https://<IP_ADDRESS> output of both the host itself and from the host you are testing (or from another Linux machine that is not the same machine)?
The name of the machine suggests you are also running k3s on it?

curl -vLk https://<IP_ADDRESS>

thank for your reply ,  I tried curl commond in the k3s server as below

and I also tried it in the k3s agent as below too

You can't run k3s on the node which uses port 80 and port 443 for ingress (traefik) and then run a Docker container using the same ports. Hitting the host on that port is reaching traefik from k3s, either use separate machines or use a different port (or disable traefik) but not sure what the use case for running them both on the same machine is.

You can't run k3s on the node which uses port 80 and port 443 for ingress (traefik) and then run a Docker container using the same ports. Hitting the host on that port is reaching traefik from k3s, either use separate machines or use a different port (or disable traefik) but not sure what the use case for running them both on the same machine is.

ok , but in my mind , I tired 8082 and 9443 before , but still 404 page not found issue , anyway , let me setup a new virtual machine to install docker and rancher server to try again , let me try firstly , may thanks


Jesse: Watch techedo.com

Jesse requests the watch of the watch_keyword techedo\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

techedo\.com has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


Update README.md

This doc might be unnecessary since it's written in rails official guide. ref: http://guides.rubyonrails.org/rails_on_rack.html#configuring-middleware-stack
Might be useful for some people though.

Thanks for your pull request, but I'll reject that because there is no specific reason to treat Ruby on Rails very well.
The people who don't know about how to use rack middlewares in Rails should not use this gem. It's so dengerous for beginners to use. For instance, your example may cause some exceptions from rack middlewares, but the beginners don't know how to rescue them (They probably know only rescue_from).

Totally makes sense :+1:


packagekit: fix build with Nix 2.8

Description of changes
https://github.com/PackageKit/PackageKit/compare/33b847c...30bb82d
nlohmann_json is propagated by nix https://github.com/NixOS/nixpkgs/commit/eeab10bd54e2f6a25c27059290e7e7f2b3fd1cf0 and we are requiring nix 2.8 now so I dropped related stuff.
I am not removing the nix = nixVersions.nix_2_8; pin because I expect breaking API changes happens on every nix release.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build packagekit


[Feature] Auto Suggestion

Description
I want to add an autosuggestion in the search button.
Now,
Until we hit enter button we didn't get any results.
As an user, they never know which subcategory is present and which is not present.
Solution adding autosuggestion which suggests even for little wrong search kind of youtube
If you search for "Javasvript" You still get a suggestion of Javascript.
Screenshots

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

Hello @CBID2 , Can you please verify as I have checked it and didn't found any same issue or PR

Hello @CBID2 , Can you please verify as I have checked it and didn't found any same issue or PR

Here it is search pull request

Thank You @CBID2 For letting me know about it.

It's not recommending  C and C sharp
I will wait once it merge, I will fix the rest.
Can I work on the same issue or shall I left it for now.

Leave it for now

Okay


Windows support  for aws-fsx-openzfs-csi-driver

Is your feature request related to a problem? Please describe.
The driver image details shows Linux as only supported OS. Hence the daemonset pod for fxs node wont run in windows based instances. We want to confirm if aws-fsx-openzfs-csi-driver is supported for windows based containers and if there are any workarounds for this
Describe the solution you'd like in detail
Windows support for this driver. Based on Amazon FSx for OpenZFS user-guide Amazon FSx for OpenZFS file systems are broadly accessible from Linux, Windows, and macOS compute instances and containers using the industry-standard NFS protocol (v3, v4.0, v4.1, v4.2). Hence we need this support in driver as well
Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.

/remove-lifecycle rotten

Hi, unfortunately the aws-fsx-openzfs-csi-driver is not supported for windows based containers and there are no current workarounds for this. Keeping this issue open to track demand for windows support.


Fix conflict in queue name in Sample project

There is a conflict in queue names when running all samples at once

Hello, apologies for the delay here. Could you rebase and update this PR, please ?

Since the queue creation / dead letter queue creation have been removed this does not seems to be needed anymore but
the  RabbitMQTrigger_Process_PoisonQueue  example is now a duplicate of RabbitMQTrigger_String so I pushed a commit to remove this one.

Makes sense. Thanks for the update.


Add get of the build report object

Located at Library/LastBuild.buildreport.

Create branch: issue-21-add-get-of-the-build-report-object from main.


Compatibility with xamarinios10 and monoandroid90?

Seems that Imaging.Library 1.1.1 is not compatible with xamarinios10 and monoandroid90
Could you do an update?

any update on this?

Hey @jd-alexander,
Unfortunately, I'm not planning any update for this. But it should be easy to support xamarinios10 and monodroid90.

if someone stumbles on this:

Just don't use the NuGet Package
instead, add the project (see source-directory of this repository) to your solution and compile it. Now just add a reference to it. Ready.

too sad that this isn't maintained anymore. I've tested it on an android device and unfortunatly it's way to slow (open a picture i took with the camera) and i never got a correct result (distorted, perspective not correctly recognized...) - ymwv of course

It's such a shame that this project is not maintained any more..
It could have been a real alternative to ScanBot's expensive SDK

I don't know much about the library but if there are other contributors willing, then this could be forked and maintained separately.


Can't revert Hey, wait! tile from active to inactive and vica-versa

Hey, thank you for you wonderful module! I noticed a small issue, I can't use Hand icon to change the tile's states. Neither from active to inactive, nor the other way around. I am on 5e, foundry v11 315
https://github.com/Couls/hey-wait/assets/124184162/5b7c75f9-a277-4804-b10d-76019eeb2c68

fixed in 0.7.7


[BUG] test_hash_agg_with_nan_keys failed with a DATAGEN_SEED=1702335559

Describe the bug
FAILED ../../src/main/python/hash_aggregate_test.py::test_hash_agg_with_nan_keys[[('a', RepeatSeq(Double)), ('b', Float), ('c', Long)]][DATAGEN_SEED=1702335559, INJECT_OOM, IGNORE_ORDER, APPROXIMATE_FLOAT] - AssertionError: GPU and CPU float values are different [17, 'sum_of_bees']

It was running against Spark 3.2.4.
I tried to reproduce this locally and I could not. The only explanation I have is that the GPU did the sum in a non-deterministic order and we some how ended up with a number that was larger than approximate float could handle.  The key (a) on line 17 was
-3.1261173254359074e-295 and the values were 1.7718319043726909e+25 vs 1.7756097975589866e+25.
Not sure what more to do except dig in a little deeper to see what might have caused the result by looking at the values used by the SUM.

When I ran this in a loop 100 times, I got it to fail just once:
[gw1] [100%] FAILED ../../src/main/python/hash_aggregate_test.py::test_hash_agg_with_nan_keys[[('a', RepeatSeq(Double)), ('b', Float), ('c', Long)]][DATAGEN_SEED=1702335559, INJECT_OOM, IGNORE_ORDER, APPROXIMATE_FLOAT]

cpu = 1.7718319043726909e+25, gpu = 1.7726637916678512e+25
path = [17, 'sum_of_bees']

-Row(a=-3.1261173254359074e-295, count_stars=21, count_parameterless=0, count_bees=20, sum_of_bees=1.7718319043726909e+25, max_seas=7098372324280358315, min_seas=-9170459960093196357, count_distinct_cees=20, average_seas=4.216639238479068e+17)
+Row(a=-3.1261173254359074e-295, count_stars=21, count_parameterless=0, count_bees=20, sum_of_bees=1.7726637916678512e+25, max_seas=7098372324280358315, min_seas=-9170459960093196357, count_distinct_cees=20, average_seas=4.216639238479067e+17)

Need to capture the contents of the b columns.

input.json
I captured the input data so that I could use it to experiment.

I read in the data with:
import org.apache.spark.sql.types._
val schema = StructType(StructField("a", DoubleType, true) :: StructField("b", FloatType, true) :: StructField("c", LongType, true) :: Nil)
val cdf=spark.read.schema(schema).json("/opt/data/jimb/debug-input.json")

Then
cdf.createOrReplaceTempView("input")
val sumCpu = spark.sql("select a, sum(b) as sum_of_bees from input group by a")

I ran this on cpu and gpu and compared the problematic row (with a=-3.1261173254359074e-295)

So my theory is that the non-deterministic ordering from the hash aggregate is what causes the results to vary on the GPU, and every once in a while it is enough of a difference to be outside the float approximate comparison.

@revans2 any thoughts on this?   Should we adjust the approximate_float threshold for this test, or do we need to investigate further?

@jbrennan333 that is my theory too. What I wanted to do was to take the input data for this particular key and see if we can figure out what the order would need to be to make this problem happen. I don't know how many values there are, but hopefully it is not so big that the possibilities make it impossible to do.
If we can prove that is what happened, then we really only have a few choices.

Pretend the problem does not exist
Say the problem does exist and try the help qualify it especially if this is only every going to be bad for very specific operators in very specific situations.
Fix the problem.

Option 1 feels horrible in general and we should not do it. 3 is great, but I don't know how to do that without slowing down the GPU SUM operation massively, and even then it would be to get the same answer as Spark if and only if the inputs are in the same order, which is not ever guaranteed by Spark. So then we are left with 2. Which means we should try and understand how big of a difference is possible for different situations. Document them and ideally update the tests so that we reduce the impact of making approximate_float less strict. Happily approximate_float can take parameters to control the comparison. The args are fed directly into https://docs.pytest.org/en/4.6.x/reference.html#pytest-approx

One thing I noticed, is that this particular test test_hash_agg_with_nan_keys doesn't really need to be failing for this issue.
It is run with two datagens, _grpkey_floats_with_nan_zero_grouping_keys and _grpkey_doubles_with_nan_zero_grouping_keys.
_grpkey_floats_with_nan_zero_grouping_keys = [
    ('a', RepeatSeqGen(FloatGen(nullable=(True, 10.0), special_cases=_nan_zero_float_special_cases), length=50)),
    ('b', IntegerGen(nullable=(True, 10.0))),
    ('c', LongGen())]

_grpkey_doubles_with_nan_zero_grouping_keys = [
    ('a', RepeatSeqGen(DoubleGen(nullable=(True, 10.0), special_cases=_nan_zero_double_special_cases), length=50)),
    ('b', FloatGen(nullable=(True, 10.0))),
    ('c', LongGen())]

The first uses an integer b column.  The second uses a float b column, and it is the summing of this column that is causing the differences.   This particular test is more about the keys in column a, so we could fix it by changing b to Integer in _grpkey_doubles_with_nan_zero_grouping_keys.
That datagen is used in one other test, test_count_distinct_with_nan_floats, but that test could use _grpkey_floats_with_nulls_and_nans.  In fact, it should because the one it is currently using does not have nans in the float column that it is counting.
There is definitely an issue with differences when summing floating point columns, but I think that is effectively the same issue as reported in #9822 for test_hash_reduction_sum.  I propose we address that issue there, and fix the problem with test_hash_agg_with_nan_keys and test_count_distinct_with_nan_floats by adjusting the datagens used.
I will add some additional findings in a separate comment.

I have been running some tests on the set of floating point values that I captured from the test input when run with the given seed value.   There are only 21 values.
+--------------+
|b             |
+--------------+
|348.6652      |
|null          |
|8.2052361E17  |
|-9.615448E24  |
|3.4028235E38  |
|8.3188725E21  |
|-1.86747077E11|
|2.2641698E-5  |
|1.8981274E-15 |
|-8.9130315E23 |
|8.241963E-4   |
|-3.4028235E38 |
|4.86208753E14 |
|2.825404E25   |
|9.7615254E-4  |
|3.074054E-20  |
|1.870257E-19  |
|-1.1672826E-14|
|-8.2195184E-17|
|5.5520855E20  |
|1.751082E-24  |
+--------------+

I uploaded a parquet file with these values:
sum-test-vals.parquet.gz
I made a sorted and reverse sorted version of this, and then ran sums on them on cpu and gpu. (SELECT sum(b) as sum from data)
These are the results:
SUM CPU: 1.7714274095956874e+25
SUM GPU: 1.7718874252274046e+25
SUM CPU/GPU APPROX EQ: False

SORTED SUM CPU: 1.7718319043726909e+25
SORTED SUM GPU: 1.7756097975589866e+25
SORTED SUM APPROC EQ: False

REVERSE SORTED SUM CPU: 1.7718319043726909e+25
REVERSE SORTED SUM GPU: 1.7718319043726909e+25
REVERSE SORTED APPROX EQ: True

I then did this with an accumulations (SELECT b, sum(b) over (rows between unbounded preceding and current row) as cumulative from data) to see if I could catch where the difference is introduced:
UNSORTED ACCUMULATIONS:
+----------------------+----------------------+----------------------+
|b                     |cpu_accum             |gpu_accum             |
+----------------------+----------------------+----------------------+
|348.6651916503906     |348.6651916503906     |348.6651916503906     |
|null                  |348.6651916503906     |348.6651916503906     |
|8.2052360892841984E17 |8.2052360892842022E17 |8.2052360892842022E17 |
|-9.615447782308683E24 |-9.615446961785074E24 |-9.615446961785074E24 |
|3.4028234663852886E38 |3.4028234663851923E38 |3.4028234663851923E38 |
|8.318872465393406E21  |3.4028234663851923E38 |3.4028234663851923E38 |
|-1.86747076608E11     |3.4028234663851923E38 |3.4028234663851923E38 |
|2.264169779664371E-5  |3.4028234663851923E38 |3.4028234663851923E38 |
|1.8981273546887127E-15|3.4028234663851923E38 |3.4028234663851923E38 |
|-8.913031508548466E23 |3.4028234663851832E38 |3.4028234663851832E38 |
|8.241963223554194E-4  |3.4028234663851832E38 |3.4028234663851832E38 |
|-3.4028234663852886E38|-1.0540321989765048E25|-1.0540321989765048E25|
|4.862087528448E14     |-1.0540321989278838E25|-1.0540321989278838E25|
|2.8254040876688576E25 |1.7713718887409737E25 |1.7713718887409737E25 |
|9.761525434441864E-4  |1.7713718887409737E25 |1.7718319043726909E25 |
|3.074053895370231E-20 |1.7713718887409737E25 |1.7718319043726909E25 |
|1.8702570451930148E-19|1.7713718887409737E25 |1.7718319043726909E25 |
|-1.16728263678729E-14 |1.7713718887409737E25 |1.7718319043726909E25 |
|-8.219518384649575E-17|1.7713718887409737E25 |1.7718319043726909E25 |
|5.552085471368388E20  |1.7714274095956874E25 |1.7718874252274046E25 |
|1.7510820801886195E-24|1.7714274095956874E25 |1.7718874252274046E25 |
+----------------------+----------------------+----------------------+

SORTED ACCUMULATIONS:
+----------------------+----------------------+----------------------+
|b                     |cpu_accum             |gpu_accum             |
+----------------------+----------------------+----------------------+
|null                  |null                  |null                  |
|-3.4028234663852886E38|-3.4028234663852886E38|-3.4028234663852886E38|
|-9.615447782308683E24 |-3.402823466385385E38 |-3.402823466385385E38 |
|-8.913031508548466E23 |-3.402823466385394E38 |-3.402823466385394E38 |
|-1.86747076608E11     |-3.402823466385394E38 |-3.402823466385394E38 |
|-1.16728263678729E-14 |-3.402823466385394E38 |-3.402823466385394E38 |
|-8.219518384649575E-17|-3.402823466385394E38 |-3.402823466385394E38 |
|1.7510820801886195E-24|-3.402823466385394E38 |-3.402823466385394E38 |
|3.074053895370231E-20 |-3.402823466385394E38 |-3.402823466385394E38 |
|1.8702570451930148E-19|-3.402823466385394E38 |-3.402823466385394E38 |
|1.8981273546887127E-15|-3.402823466385394E38 |-3.402823466385394E38 |
|2.264169779664371E-5  |-3.402823466385394E38 |-3.402823466385394E38 |
|8.241963223554194E-4  |-3.402823466385394E38 |-3.402823466385394E38 |
|9.761525434441864E-4  |-3.402823466385394E38 |-3.402823466385394E38 |
|348.6651916503906     |-3.402823466385394E38 |-3.402823466385394E38 |
|4.862087528448E14     |-3.402823466385394E38 |-3.402823466385394E38 |
|8.2052360892841984E17 |-3.402823466385394E38 |-3.402823466385394E38 |
|5.552085471368388E20  |-3.402823466385394E38 |-3.402823466385394E38 |
|8.318872465393406E21  |-3.402823466385394E38 |-3.402823466385394E38 |
|2.8254040876688576E25 |-3.4028234663851114E38|-3.4028234663851114E38|
|3.4028234663852886E38 |1.7718319043726909E25 |1.7718319043726909E25 |
+----------------------+----------------------+----------------------+
NOTE:  I don't understand why I get a different final result on GPU with
the accumulated values than I got from just doing the sum:
SORTED SUM GPU: 1.7756097975589866e+25

REVERSE SORTED ACCUMULATIONS:
+----------------------+---------------------+---------------------+
|b                     |cpu_accum            |gpu_accum            |
+----------------------+---------------------+---------------------+
|3.4028234663852886E38 |3.4028234663852886E38|3.4028234663852886E38|
|2.8254040876688576E25 |3.402823466385571E38 |3.402823466385571E38 |
|8.318872465393406E21  |3.402823466385571E38 |3.402823466385571E38 |
|5.552085471368388E20  |3.402823466385571E38 |3.402823466385571E38 |
|8.2052360892841984E17 |3.402823466385571E38 |3.402823466385571E38 |
|4.862087528448E14     |3.402823466385571E38 |3.402823466385571E38 |
|348.6651916503906     |3.402823466385571E38 |3.402823466385571E38 |
|9.761525434441864E-4  |3.402823466385571E38 |3.402823466385571E38 |
|8.241963223554194E-4  |3.402823466385571E38 |3.402823466385571E38 |
|2.264169779664371E-5  |3.402823466385571E38 |3.402823466385571E38 |
|1.8981273546887127E-15|3.402823466385571E38 |3.402823466385571E38 |
|1.8702570451930148E-19|3.402823466385571E38 |3.402823466385571E38 |
|3.074053895370231E-20 |3.402823466385571E38 |3.402823466385571E38 |
|1.7510820801886195E-24|3.402823466385571E38 |3.402823466385571E38 |
|-8.219518384649575E-17|3.402823466385571E38 |3.402823466385571E38 |
|-1.16728263678729E-14 |3.402823466385571E38 |3.402823466385571E38 |
|-1.86747076608E11     |3.402823466385571E38 |3.402823466385571E38 |
|-8.913031508548466E23 |3.402823466385562E38 |3.402823466385562E38 |
|-9.615447782308683E24 |3.4028234663854658E38|3.4028234663854658E38|
|-3.4028234663852886E38|1.7718319043726909E25|1.7718319043726909E25|
|null                  |1.7718319043726909E25|1.7718319043726909E25|
+----------------------+---------------------+---------------------+

This sequence from the unsorted accumulations is interesting:
|2.8254040876688576E25 |1.7713718887409737E25 |1.7713718887409737E25 |
|9.761525434441864E-4  |1.7713718887409737E25 |1.7718319043726909E25 |

I don't understand why the GPU gets a different value here.  I tried just summing the column 1.7713718887409737E25, 9.761525434441864E-4, but I can't repro the difference.  I get the same value on cpu and gpu with just these two values.


SAK-29206 - Spanish Translations update for Trunk. Transifex export End ...

...March 2015

Great. Looks good to me.


Ammx float

FPU standard: ~16-20fps@384x216
FPU asm+ammx: ~21-28fps@384x216
it is slighly slower than int rasterizer but here I have a few ideas on how to squeeze a bit more performance out of it.

Great!
I did not expected you implementing the float rasterizer for the Amiga :-)
What puzzles me right now is that it seems like the ammx is not bringing that much to the overall rendering performance, given your benchmarks. It would be interesting to refine the execution profiling to understand where the resources are actually wasted.
I merge your contribution to the main branch.

yeah I am also not really happy :( the problem is that there virtually no instructions helping with 32bit textures (most of the stuff is focused on 16 bit textures). there are also a few undocumented things which might help. there is support for dtx textures (which would require much change) http://www.apollo-core.com/knowledge.php?b=2&note=12671&z=5jIIXK and there is a LEA3D instruction which is also not documented. waiting until that is documented.
there is a small hint (which I verified with some quick benchmark) in their forum that the apollo core can schedule one floating point division per cycle allowing massive paralellism in fpu divisions. that is why I am going for fpu now.
In my hack branch I precalculated all possible (int) divisions. That brought quite some fps but well.


How Stylus in ".vue" file activate intelliSense

example:
input "di"
expect "display"

I'll turn it off for stylus region then. Seems https://github.com/d4rkr00t/language-stylus does have IntelliSense. I'll look into how to integrate that.

I have installed lang-stylus plugin. however the intellisense still not work in the ".vue" file. What else should   i do

That plugin only works for stylus files. I need to integrate its language server into vetur's language server to make the IntelliSense work. That'll take some time.

Stylus Intellisense has been merged into master branch.
Note stylus support is, sadly, very basic. The main hurdle is Stylus compiler itself, which is full of inconsistency and inadequacy.
I currently don't want to investigate more effort on Stylus. But contribution from Stylus users are always welcome.


Vector2 does not keep large values correctly

Godot version
v3.5.rc4.official [e047c5006]
System information
Mac OS
Issue description
When large numbers are used in a Vector2 the value is not stored correctly
Steps to reproduce
	var input =<PHONE_NUMBER>
	var output = Vector2(input, 0.0)

	assert(input == output.x)

Minimal reproduction project
No response

So I would like the values to be closer without using int if possible:
	var input =<PHONE_NUMBER>
	var output = Vector2(input, 0.0)

	prints(input, output.x, input - output.x)

Gives:
1665583811<PHONE_NUMBER> -61

61 points of error here? 🤔

The following has differing input, but results in the same output. I guess it's some truncation?
	var input =<PHONE_NUMBER>9
	var output = Vector2(input, 0.0)
	prints(input, output.x, input - output.x)

	input =<PHONE_NUMBER>0
	output = Vector2(input, 0.0)
	prints(input, output.x, input - output.x)

99999999999<PHONE_NUMBER>2 2047
99999999000<PHONE_NUMBER>2 1048

As mentioned by Zireael07, try instead this:
	var input =<PHONE_NUMBER>9
	var output = Vector2(input, 0.0)

	print(is_equal_approx(input, output.x)) # prints true

Link to documentation.

Vectors use 32-bit floats by default. If you want 64-bit floats (doubles), you need to compile a custom build with float=64 flag.

Well, 64-bit floats use twice as much memory and are also slower. But not sure if it's really a problem nowadays or just a legacy thing 🤔 A proper double support was added only recently AFAIK.

Hmm, maybe then we should open a proposal for a Vector2d() which would support the 64 bit version?

As mentioned by Zireael07, try instead this:

I should mention the use case here is more about floating point errors on the edge of a user space.

You can compile Godot with float=64 to get higher precision at the cost of performance and memory usage. This makes Vector2/3 use doubles instead of floats.

BTW Vector2i/Vector3i/Vector4i always use 32-bit integers... Meaning now there's the same problem for them as there was for their non-integer counterparts in 3.x: there's no way to make them be 64-bit. I wonder if it was overlooked or if it is intentional.

I'd say float=64 should make those use 64-bit integers as well, but in this case the float option name is misleading slightly_smiling_face

I think I agree, there's probably no need to make separate options for ints/reals. And yeah, then float would be misleading indeed.

Maybe the option should be renamed to precision=64 or precision=double (with the default being precision=single)? This may help avoid confusion with 32-bit/64-bit CPU architectures too.

I'd prefer 32/64, more verbose to me (but single/double would be fine too). If precision=64 is unclear then it's probably precision being not precise enough.:upside_down_face:
Of course these changes will introduce something like int_t as a counterpart to real_t and thus massive changes to the whole codebase but feels like it needs to be done.

real_t exists for a specific need for huge worlds where the distance to origin (floating point) reaches values where the precision errors are too problematic.
I don't think there's the same need for integers and so I think you're discussing a badly outlined proposal here. We don't need to support Vector2/3/4i of 64-bit int if there's no significant use case for it that warrants making the codebase significantly more complex and doing custom builds. There might be use cases for it, but they're likely not the same as the use cases for real_t, and may not be compelling enough to justify implementing it. Users can store 64-bit integers in Array, Dictionary, or PackedInt64Array already.

So there still seems to be a bug there:
Using the latest Unix timestamp as an x value in a Vector2 gives an incorrect value, even though the value should fit into an int32
	print(Vector2(1666666666, 0).x)

Results in<PHONE_NUMBER>. Is that a floating point or rounding error?

Using the latest Unix timestamp as an x value in a Vector2 gives an incorrect value.
The value should fit into an int32 (0x7FFFFFFF, or 2,147,483,647)

That's true for Vector2i, not for Vector2. In case of a Vector2 the integer you're assigning is converted to a 32/64 bit floating point number (depending on the build).

however:
print(Vector2(1666666666, 0).x)

Results in<PHONE_NUMBER>.

That's expected for 32-bit floats.
230 <<PHONE_NUMBER> < 231
so it rounds to a multiple of 230 - 23 = 128 (and<PHONE_NUMBER> % 128 = 42).

Is that a floating point or rounding error?

Kinda both. :smile:


Feature Request: Support com.atproto.sync.getRepo

1. Problem to solve

2. Proposal

3. More information

#500


fixes type bug, now tagging exactly n_top_genes

Due to type conversion, often 1999 genes gets tagged as 'highly_variable' even though n_top_genes is set to 2000.
Now, this minor change guarantees that exactly (!) n_top_genes get tagged.

You think this has to do with precision of the dispersion value? Couldn't it be that you just have exactly the same value as you have the same count distribution for 2 genes?

It's due to precision - and has also been reported multiple times for scvelo.

For instance, scvelo's pancreas example:
adata = scv.datasets.pancreas()
scv.pp.filter_and_normalize(adata, min_shared_counts=30)
sc.pp.highly_variable_genes(bdata, n_top_genes=2000)
adata.obs['highly_variable'].value_counts()

returns 1999. Having two genes with the very same count distributions exactly at the n_top_genes threshold, is theoretically possible, but practically as likely as lotterie jackpot.

I've seen this several times as well, but I'm surprised that float32 isn't already sufficient for keeping dispersion values apart... as you should get at least 5 decimal places of precision. I would have thought that's already sufficient to make this very unlikely.

Simply leaving this out, solves it and guarantees exactness. Imho, there's no reason to do this type conversion. It's, the threshold value, thus just a single value that gets converted to float32, which won't yield any considerable speedup.

any objections? Otherwise, we can move forward.


A way to mock router and store that are used in setup()

I'm using router and store inside setup().
setup () {
    const store = useStore()
    const router = useRouter()

	async function save () {
		...
		await store.dispatch('save')
		router.push({...})
}

Mocking the store this way doesn't seem to work, I'm getting the error:  TypeError: Cannot read property 'dispatch' of undefined
const actions = {
      save: jest.fn(() => {
        return Promise.resolve({ data: '' })
      })
    }

const $store = createStore({
            actions: actions
    })

const wrapper = shallowMount(Component, {
      global: {
        mocks: {
          $store
        }
      }
    })

Is there a way to mock the store and the router?

mocks is only used for things on this, such as this.$store and this.$router. It won't work for the composition API.
VTU won't be able to support mocking a specific module function (such as useStore from Vuex) - this is something you will need to use your test runner's mocking functionality for.
If you are using Jest you can do it like this:
const mockDispatch = jest.fn()

jest.mock('vuex', () => ({
  useStore: () => {
    return {
      dispatch: mockDispatch
    }
  }
}))

So we just mocked out the part of Vuex that we want to test. Then you could just do expect(mockDispatch).toHaveBeenCalledWith(......).
Example of mocking Vue router from my course on Vue 3 + VTU can be seen here https://github.com/lmiller1990/vuejs-composition-course/blob/edd06e88f8d869de162b6059eb843355a91082fb/src/NewPost.spec.ts#L8.

Thanks for your help!
Using global.provide also worked for mocking vuex store like in the example from your course:
	const store = createStore()
    const wrapper = mount(NewPost, {
      global: {
        provide: {
          store
        }
      }
    })

Probably because useStore from vuex uses inject.

Yep, that would work fine too. Basically when you do app.use(store) it is doing provide "under the hood". So you just replicated that here.
Technically this is not mocking the store - it's using a real store. Mocking the store is when you use an entirely fake one. I like to use a real one when I can, so that way if I delete an action or something like that, the test will fail. A lot of people prefer to mock their Vuex store - which ever makes you more confident.
I will close this one off for now, but I should update the example in docs to make it clear $mocks won't work with the composition API.


Fix .bss initialization

With the changes to the linker scripts in #546, the ELF segment containing the bss section is no longer of type PT_LOAD. This means it is not being processed by the Muen script and thus no longer initialized to zero. Explicitly set it to PT_LOAD in the linker script again to restore the original behavior. This was discovered when running Muen test unikernels on hardware, where memory is actually uninitialized and not zeroized as is done on most hypervisors.
Note that the same behavior goes for the common tender ELF loader, see https://github.com/Solo5/solo5/blob/7d5b70f5937abf1e18c2353ffb93d0581ec31a0f/tenders/common/elf.c#L249-L250, thus I believe the same issue is present and the same fix is necessary for the other bindings.

I'm sorry for that issue and I also agree that it should be fixed.
With Ocaml 5+ a PT_TLS section is now mandatory in the linker script with lld and I suppose that setting only .bss to PT_LOAD will report the same issue on the .tbss section, but setting .tbss as PT_LOAD too will remove the PT_TLS section that lld needs. @Kensan  I don't use muen, could it be possible to try an unikernel that have a __thread int variable or run tests/tls.c with a clang/lld suite?
With Xen the zeroization of .tbss and .bss is done by giving _edata (end address of loaded code+data) and _ebss (end address of zeroed area): https://github.com/Solo5/solo5/blob/0eb8cb8f57943e7872a94e19695911a1e0b8aef6/bindings/xen/boot.S#L42.
Re-reading the elf loader, it seems to add the memsize of every PT_LOAD section (and wipe bss section https://github.com/Solo5/solo5/blob/7d5b70f5937abf1e18c2353ffb93d0581ec31a0f/tenders/common/elf.c#L282 and below) but it doesn't seem to be any trouble here (memory is probably already zeroed).
I added phdr[ph_i].p_filesz == 0 ||  because if there is no __thread variable the .tdata section is empty (now it's at least 1 page do it's not needed anymore) and the following lines cause a failure.

With Ocaml 5+ a PT_TLS section is now mandatory in the linker script with lld and I suppose that setting only .bss to PT_LOAD will report the same issue on the .tbss section, but setting .tbss as PT_LOAD too will remove the PT_TLS section that lld needs. @Kensan I don't use muen, could it be possible to try an unikernel that have a __thread int variable or run tests/tls.c with a clang/lld suite?

I tried running test_tls but it failed with a pagefault in set_data, when trying to write to the _data thread variable. I think the environment (on Muen) is not setup correctly for this use case. What is the expected behavior for the .tdata and .tbss sections, i.e. how should they be set up prior to execution of the unikernel?

I see, thanks for the information.

Could it be possible to load PT_LOAD and PT_TLS in muen?

Yes. I will look into it. The TLS test can probably be made to run without changes to Solo5.

Thanks!

So it's normal that bss does not have PT_LOAD for virto/xen? (/cc @palainp, @Kensan). Otherwise, I can do a quick patch to extend this PR with PT_LOAD on these targets.

So it's normal that bss does not have PT_LOAD for virto/xen? (/cc @palainp, @Kensan). Otherwise, I can do a quick patch to extend this PR with PT_LOAD on these targets.

I did not change those linker scripts (and also stub) because from the discussion I got the impression that it is not necessary, due to the way they are loaded (Multiboot). From a consistency perspective it would probably be nicer, if the ELF files look the same. Plus, in my opinion it seems appropriate that the .bss segment would have type LOAD, but my knowledge of ELF is not all that deep.

Could it be possible to load PT_LOAD and PT_TLS in muen?

Yes. I will look into it. The TLS test can probably be made to run without changes to Solo5.

I could get the TLS test to pass with only minor changes on the Muen side. Thanks @palainp  for the discussion.

I'm also in favor of having coherent scripts when it isn't mandatory to put differences. So apply a similar change for the remaining scripts should be better to my opinion.
Thank you @Kensan for your time. Do you think we also need to update the elf reader in hvt and spt tenders in the same way you changes muen (whatever you've done)? I'm still a bit puzzled now loading bss but not tbss :)

Thank you @Kensan for your time. Do you think we also need to update the elf reader in hvt and spt tenders in the same way you changes muen (whatever you've done)? I'm still a bit puzzled now loading bss but not tbss :)

My understanding is, that tbss (along with tdata and the tcb) is allocated on the heap for each thread, thus there is no need to have the section processed by the ELF loader. For Muen I had to do minor adjustments to correctly process sections that have a filesize of 0 but a virtual size > 0.
Regarding the ELF loader of HVT/SPT tenders: what was the reason that the zero size check was added? Is it still required? https://github.com/Solo5/solo5/blob/b9b2888911c9f5bb63932712c96b875a0a630930/tenders/common/elf.c#L249

Yes you're right, blanking .tbss should be done done on thread creation. I was wondering this because (at common/elf.c:252 and after) the elf loader is doing some things with addresses, and with a non empty .tbss section didn't follow this code path we might have bitroted values.
Concerning filesz check, this was needed (but not anymore, I added an alignment into the linker scripts to force .tdata to be non empty https://github.com/Solo5/solo5/blob/b9b2888911c9f5bb63932712c96b875a0a630930/bindings/solo5_hvt.lds#L129 <- this also might be something we don't want?) because .tdata could be empty and still PT_LOADed, failling one assertion later, but I can't remember where :(


Code Sandbox issue template is not working

DependencyNotFoundError
Could not find dependency: '@emotion/react' relative to
<EMAIL_ADDRESS>

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
Error is shown.
Expected Behavior 🤔
Demo should work.
Steps to Reproduce 🕹

Steps:

Open https://material-ui.com/r/issue-template

Context 🔦
Well...
Your Environment 🌎

Tech
Version

Material-UI
next

Thanks for reporting. Will be solved with https://github.com/mui-org/material-ui/pull/23007


Information about dataloading

Hello,
I am trying to apply uORF to my own dataset, which currently consists only of multiview RGB images.
I noticed in the dataloading code there are many additional files to load aside from the images. It is not clear from the paper which inputs are necessary and what are not.
Could you elaborate on all the different files being loaded in the dataloading code? Like if they are necessary for training the model, if they are for evaluation or debugging, and if they are very useful or not for debugging. This will help me greatly with figuring out if I should generate the corresponding metadata with my custom dataset, or just not use it.
https://github.com/KovenYu/uORF/blob/main/data/multiscenes_dataset.py

Thanks for asking! For training you will need to generate (1) multi-view images of training scenes and (2) corresponding extrinsic matrix of each view. Our code currently assumes the same intrinsic parameters across all views for simplicity.
I will update it and write an instruction for training your own dataset in a couple of days!


Update README.md with more companies

Gilt, GoDaddy, Hulu, Nest, Sensus & Zappos added.

Awesome! Thanks a ton for contributing :)


Fix dask-expr import errors

This will currently raise attribute errors due to import errors/not fully-initialized dask-expr. Works fine if dask-expr is imported after dask.dataframe.
Depends on https://github.com/dask-contrib/dask-expr/pull/903
xref: https://github.com/coiled/benchmarks/pull/1419
import dask

dask.config.set({"dataframe.query-planning": True})

import dask_expr as dd
import dask.dataframe as dd

print(dd.read_parquet)
print(dd.Series)
print(dd.DataFrame)

[ ] Closes #xxxx
[ ] Tests added / passed
[ ] Passes pre-commit run --all-files

thx!


Catch HTTP exceptions and improve error notifications

Since you're in the App Store now, maybe a good idea to improve the error notification when the server returns a 500 or other non 200 HTTP-status code, like in #33 :)

The app does send a local notification when it encounters a server error. I can probably do better than just a serialization of the HTTP response tho.


feature: load config base on differente.

Did you check the docs?

[X] I have read all the lazy.nvim docs

Is your feature request related to a problem? Please describe.
.
Describe the solution you'd like
ft =
{cpp = { config = function() end},...}
{python = {config = true},...}
}

Describe alternatives you've considered
I'm using if else in config = function() but it seems the ft cannot load rightly.
Additional context
No response

This feature request makes no sense.
Whatever you're trying to do, you're doing it wrong.


Right stick does not work to look around

Please provide more information. The mod is only tested with quest and index controllers right now. For other controllers you might need to make your own binding.

I just bought Subnautica on sale on Steam today.  I think I followed all
instructions to download and install your Mod (thanks so much for doing
this!).  I launch the game via Steam VR and try to play on my Quest 2 using
the Quest 2 hand-held controllers.  The game loads fine and I can start
playing.  When I get to the first scene in the crashed life boat or
whatever it is the game tells me to use the right stick to look around.
The right stick does not do anything.  The left stick works fine, I can
move forward/back/right/left with it.  The other buttons like A, B, X, Y
also seem to work.  I can interact with the fabricator, pick up and use the
fire extinguisher, climb the ladder, jump into the water and swim around,
etc.  It is only the right stick that does not seem to work. By the way, I
can look around with my headset with no problem.  I can also physically
turn my whole body and turn around no problem.  It is just trying to use
the right stick to turn/look around that seems to not work.  And it seems
that if the only way to turn/look around is to actually physically move
then that is just not going to be a great experience.
I researched for a while and found lots of hits on the web about the right
stick not working under different circumstances, for Oculus/Quest in
general, for Steam VR, for Subnautica with the earlier VR Enhancements mod,
etc., etc.  Honestly, I can't filter out all the noise of all the different
posts in different forums, so I was wondering if you have some idea if it
is specific to your mod or not, or any suggestions for me.
What other details do you need to help figure it out?
Thanks for any help,
Tom
On Sat, Mar 11, 2023 at 3:54 PM Okabintaro @.***> wrote:

Please provide more information. The mod is only tested with quest and
index controllers right now. For other controllers you might need to make
your own binding.
—
Reply to this email directly, view it on GitHub
https://github.com/Okabintaro/SubmersedVR/issues/23#issuecomment-1465015655,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMTQMWBGOAWF5OEXEP5DP53W3TRBVANCNFSM6AAAAAAVXV4XEU
.
  Not sure what
finally did the trick but now the right stick is working well.  I am having
a great time!  Thanks for doing the mod!
On Sat, Mar 11, 2023 at 3:54 PM Okabintaro @.***> wrote:

Please provide more information. The mod is only tested with quest and
index controllers right now. For other controllers you might need to make
your own binding.
—
Reply to this email directly, view it on GitHub
https://github.com/Okabintaro/SubmersedVR/issues/23#issuecomment-1465015655,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMTQMWBGOAWF5OEXEP5DP53W3TRBVANCNFSM6AAAAAAVXV4XEU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Glad you got it working!

We have the same issue on a quest 2. We'll be looking into the controller bindings.

I have the same problem with the inability to view the stick of the main quest 2.
The game is Subnautica
VR - Quest 2
I play through Virtual Desktop
installed:
1 - BepInEx.Subnautica BepInEx 5.4.22
2 - Immersive Virtual Reality version 0.1.6 - 2023-05-10

Can you please post log files? Are all the other buttons work fine? Make sure to follow the install instructions carefully by copying the whole mod folder.
You might have to look into the steamvr bindings yourself and reset them to default or adjust them.

My issue is resolved. The mods were not loaded.
Pieter

From: Okabintaro @.>
Sent: Thursday, January 11, 2024 2:38:05 PM
To: Okabintaro/SubmersedVR @.>
Cc: Pieter Lenaerts @.>; Comment @.>
Subject: Re: [Okabintaro/SubmersedVR] Right stick does not work to look around (Issue #23)
Can you please post log files? Are all the other buttons work fine? Make sure to follow the install instructions carefully by copying the whole mod folder.
You might have to look into the steamvr bindings yourself and reset them to default or adjust them.
—
Reply to this email directly, view it on GitHubhttps://github.com/Okabintaro/SubmersedVR/issues/23#issuecomment-1887181147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADNFRLXL2K2REANPOR7R2J3YN7TL3AVCNFSM6AAAAAAVXV4XEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBXGE4DCMJUG4.
You are receiving this because you commented.Message ID: @.***>

Can you please post log files? Are all the other buttons work fine? Make sure to follow the install instructions carefully by copying the whole mod folder. You might have to look into the steamvr bindings yourself and reset them to default or adjust them.

Everything else works fine. No command containing "Look" works, I would not try to bind it to any button/stick. I install the mod not for the first time and not for the first time, everything is according to the instructions. Unfortunately, reconnecting the control buttons in the Steam does not do anything, as I have already said, any command containing the word "look" does not work at all. I found an interesting detail, the real game layout of the mod in the Steam appears only AFTER starting the game, before that, when I try to go into the controller settings in the Steam, I find something awkward - having nothing to do with the game, and the real commands themselves that can be assigned to control the game are not there. All this appears after starting the game, as if on top. But look doesn't work. How to upload magazines and which ones, I will be happy to do, hoping for help, the game and mod are just awesome, and I really want to achieve normal operation, especially it's a shame that most of them work, at least with a question like mine, not so many people on the network. The Steam game launch line says: "-vrmode -openvr".


Bluetooth: Controller: Extended and Periodic Advertising Link Layer Component Test Coverage

List of pending Extended and Periodic Advertising Link Layer Component Conformance Test Coverage:
Link Layer Component (TCRL 2021-1):

[x] LL/DDI/SCN/BV-23-C [Extended Scanning, Multiple Sets, Passive, Multiple PHYs (All Supported PHYs)]
hci_uart sample stalls during the test execution on reception of chain PDUs in a scenario where there are 6 advertising sets with chain PDUs being transmitted from the tester. Suspect that when generating HCI Advertising Reports from a list of received PDUs the controller waits for host rx buffers infinitely.
[x] LL/DDI/SCN/BV-25-C [Extended Scanning, Multiple Sets, Periodic Advertising Reception, Multiple PHYs (All Supported PHYs)]
Same as above, hci_uart stalls.
[x] LL/DDI/SCN/BV-34-C [Extended Scanning, Periodic Advertising Reception, Filter Policies]
Missing implementation to be able to synchronize to Periodic Advertising when filter policies are enabled in Extended Scanning.
[x] LL/DDI/SCN/BV-46-C [Extended Scanning, Periodic Advertising Reception – LE 2M PHY]
LL/DDI/SCN/BV-21-C which is similar test on 1M passed, hence suspect failure to be related to UART baud rate and generating out the report faster over UART. Using 1mbps buad rate passes the test.
[x] LL/DDI/SCN/BV-47-C [Extended Scanning, Periodic Advertising Reception – LE Coded PHY]
LL/DDI/SCN/BV-21-C which is similar test on 1M passed, hence suspect failure to be related to UART baud rate and generating out the report faster over UART
[x] LL/DDI/SCN/BV-62-C [Extended Scanning, Multiple Sets, Active, Multiple PHYs (All Supported PHYs), Core 5.1]
Suspect failure to be related to UART baud rate and generating out the report faster over UART, this test checks for SID in scan response
[x] LL/DDI/SCN/BV-64-C [Extended Scanning, Active – LE 1M PHY, Core 5.1]
this test checks for SID in scan response

Link Layer Component (TCRL 2021-2):

[x] LL/DDI/SCN/BV-75-C [Extended Scanning, Passive, Reporting TX Power – LE 1M PHY]
[x] LL/DDI/SCN/BV-76-C [Extended Scanning, Passive, Reporting TX Power – LE Coded PHY]
[x] LL/DDI/SCN/BV-79-C [Extended Scanning, Passive, Periodic Advertising Report, RSSI and TX_Power – LE 1M PHY]
[x] LL/DDI/SCN/BV-80-C [Extended Scanning, Passive, Periodic Advertising Report, RSSI and TX_Power – LE Coded PHY]
[x] LL/DDI/SCN/BV-81-C [Extended Scanning, Passive, Periodic Advertising Report, Data Status – LE 1M PHY]
[x] LL/DDI/SCN/BV-82-C [Extended Scanning, Passive, Periodic Advertising Report, Data Status – LE Coded PHY]
[x] LL/SEC/ADV/BV-23-C [Network Privacy - Undirected Connectable Advertising with Local IRK, no peer IRK, AUX_CONNECT_REQ]
[x] LL/SEC/ADV/BV-24-C [Network Privacy - Undirected Connectable Advertising with Local IRK and Peer IRK, AUX_CONNECT_REQ]
[x] LL/SEC/ADV/BV-25-C [Network Privacy - Directed Connectable Advertising with local IRK but without remote IRK, AUX_CONNECT_REQ]
[x] LL/SEC/ADV/BV-26-C [Device Privacy - Undirected Connectable Advertising with Local IRK and Peer IRK, Accept Identity Address, AUX_CONNECT_REQ]

2022.03.03 test failures:
EBQ 2021-2.8096:

[x] LL/DDI/ADV/BV-28-C [Extended Advertising, Overlapping Extended Advertising Events]
[x] LL/DDI/ADV/BV-29-C [Extended Advertising, Multiple Sets, Single PHY, LE 1M PHY]
[x] LL/DDI/ADV/BV-30-C [Extended Advertising, Multiple Sets, Single PHY, LE Coded PHY]

All the test cases listed in this issue now pass, new github issues will be created for any new failures that may be uncovered in future conformance test runs.


Move window dimensions to high-level state

User story
As a developer working on this project’s front-end views, I should be able to access window dimensions in lower level components so that I can dynamically compute layout length values
Notes
Just thinking since we plan to have automatically collapsing and expanded panels, we’ll likely need to derive width by calculating proportions of overall window size.

Doesn’t seem necessary any more—closing out for now.


examples/solid-ts can not working

🐛 Bug report
I'm new user for zag-js and solid-js. I copied the toggle.tsx code form https://github.com/chakra-ui/zag/blob/main/examples/solid-ts/src/pages/toggle.tsx ,but is is not working.
Only working as below:
import { normalizeProps, useMachine } from "@zag-js/solid"
import * as toggle from "@zag-js/toggle"
import { createMemo, createUniqueId } from "solid-js"

export default function Page() {
  const [state, send] = useMachine(toggle.machine({ id: createUniqueId(), label: "toggle italic" }))

  const api = createMemo(() => toggle.connect(state, send, normalizeProps))
+ const btnProps = api().buttonProps

  return (
    <div>
-     <button class="toggle" {...api().buttonProps}>
+     <button class="toggle" {...btnProps}>
        B
      </button>
      {api().isPressed ? 'Yes' : 'No'}
    </div>
  )
}

🌍 System information

Software
Version(s)

Zag Version
0.2.0

Browser
Edge Latest

Operating System
Windows

Solid Version
1.6.1

Hi @BeanWei,
I just tried this, and it works as expected.
Not sure what happened on your end that didn't make it work.
https://stackblitz.com/edit/solidjs-templates-y6xfgv?file=src/App.jsx


Make improvements to the code base

GitHub Issue (If applicable): #6, #8, #12, #14, #15, #16

PR Type
What kind of change does this PR introduce?

Bugfix
Feature
Build or CI related changes
Code style update (formatting)

What is the current behavior?

Bad linting implementation
Unnecessary dependencies
Health/Exp display is non-numeric
Health potions display percentage amounts
Builds to AWS
Pop-up for downloading app
Some poorly written code exists

What is the new behavior?

ESLint/Prettier configuration which checks code on commit
Dependencies are all relevant to this project
Health/Exp display is numeric
Health potions display exact amounts
Builds to GitHub Pages
No pop-up for downloading app
Less poorly written code exists
Documentation on design vision for game exists

PR Checklist
Please check if your PR fulfills the following requirements:

[x] Tested code with current upstream repo
[ ] Added new tests to the test suite for the feature
[ ] Tested the full test suite, and ensured that the feature does not break current build.
[x] Docs have been added/updated which fit (for bug fixes / features)
[x] Contains NO breaking changes
[x] Associated with an issue (GitHub or internal)
[x] Checked licensing of Frameworks/Libraries (if applicable)

Other information

Closes #6
Closes #8
Closes #12
Closes #14
Closes #15
Closes #16
Internal Issue (If applicable): #6, #8, #12, #14, #15, #16

This really should have been several PR's. Why wasn't it?
Also, I feel like some of this kind of stuff needs to be talked about between the entire group before we actually continue through with it. So, I don't think we can actually accept this until after the meeting.


Add RHBK configuration

Not sure what changed but on Openshift 4.15 the no-ssl-sso does not work because of error at the end of script:
+ oc rsh -n tools statefulset/keycloak bash -c '/opt/eap/bin/kcadm.sh update realms/master -s sslRequired=NONE --server http://no-ssl-sso:8080/auth --realm master --user admin --password admin --no-config'
Defaulted container "keycloak" out of: keycloak, extensions-init (init)
Logging into http://no-ssl-sso:8080/auth as user admin of realm master
HTTPS required [invalid_request]
command terminated with exit code 1


Flag 7 being completed with 8

I was working through the ctf and got stuck on flag 7 so moved on to flag 8 and noticed that completing that flag also marks flag 7 as completed.

Thank you for reporting this @bmt626 . What caused it was a mistake with the button logic.
if (settings.getBoolean("flagEightButtonColor", false)) {
            flagEightButtonColor = settings.getBoolean("flagEightButtonColor", true);
            flagSevenButton.getBackground().setColorFilter(Color.GREEN, PorterDuff.Mode.SRC_ATOP);
        }

Flag seven was being changed to green inside of the flag eight overview if statement. This is fixed with the latest build.


Add support for command JSON.ARRPOP

Add support for the JSON.ARRPOP command in DiceDB similar to the JSON.ARRPOP command in Redis. Please refer to the following commit in Redis to understand the implementation specifics - source.
Write unit and integration tests for the command referring to the tests written in the Redis codebase 7.2.5. For integration tests, you can refer to the tests folder. Note: they have used TCL for the test suite, and we need to port that to our way of writing integration tests using the relevant helper methods. Please refer to our tests directory.
For the command, benchmark the code and measure the time taken and memory allocs using benchmem and try to keep them to the bare minimum.

@jujiale since you've extensively helped support JSON features in DiceDB so far, would you like to take this issue up?

@jujiale since you've extensively helped support JSON features in DiceDB so far, would you like to take this issue up?
sure.please assgin to me. thanks.

@lucifercr07 @JyotinderSingh - created a PR for this issue. Please review. cc - @jujiale

@lucifercr07 @JyotinderSingh - created a PR for this issue. Please review. cc - @jujiale

thanks for your contribution. I will have a look.


Delayed business rules validation

I'd like to have a delayed business rules validation. In fact, if business rules failed i'd like to have only a notification/event without rejected error.
Your feeling ?

to have a normal event you have to handle it in the cmd handle section: https://github.com/adrai/node-cqrs-domain#command

Yes I know the normal way ;)
If you have business rules defined and a business rules fail on a command, the command is rejected without applying events and it's normal. But in my process I want applying business rules in async and only check if aggregate is valid or not. Even if it is not valid I want applying events.
Perhaps we could have an implementation  like that :

module.exports = require('cqrs-domain').defineBusinessRule({
  // optional, default is file name without extension
  name: 'nameEquality',

  // optional
  description: 'firstname should never be equal lastname',

  // optional, default is false
  async: true,

  // optional, default Infinity, all business rules will be sorted by this value
  priority: 1
}, function (){ });

module.exports = require('cqrs-domain').defineCommand({
  // optional, default is file name without extension
  name: 'enterNewPerson',

  // optional, default 0
  version: 1,

  // optional, default false
  asyncBusinessRules: true,

  // optional, if not defined it will use what is defined as default in aggregate or pass the whole command
  payload: 'payload'
}, function (data, aggregate) { });

domain.onBusinessRulesError(function (aggregate, callback) {
  bus.emit('businnessRulesError', aggregate.BusinesRulesError[0], function ack () {
    callback();
  });
});

right now the business rules can be async (no problem) but on error applying the events smells wrong... :-(

I understand, but it's like CQRS paradigm. You accept a delay between command and view-builders because in distributed environnement, data presented to the user is potentially obsolete.
With complex business rule sometimes you could apply it in background and notify after your user that something is wrong. You UI can be faster and more fluid. User can enter lot of data in one time ("power typed") and after he solve errors in invalidated aggregate.

Why not using sagas instead?


Tests failing due to ml-commons default setting

Related to https://github.com/opensearch-project/ml-commons/pull/688, our tests fail because the default value for this setting is true: "plugins.ml_commons.only_run_on_ml_node"
We will need to update it before running tests with:
PUT /_cluster/settings
{
  "persistent" : {
    "plugins.ml_commons.only_run_on_ml_node" : false
  }
}

Closing this issue as the tests are fixed.


do not execute automatic upgrades while running scripts

Is your feature request related to a problem? Please describe.
I have automatic upgrades for azure cli enabled ... up to now it happened 3 times to me that the upgrade started in the middle of a batch of commands which were saved as a script. after the upgrade the script did not resume and I had to run it again, and if there were random parts in the script I had to clean up the whole environment. This always happend while using WSL
Describe the solution you'd like
Implement a solution that the cli does not upgrade itself while executing a batch of commands (script)

Thank you for opening this issue, we will look into it.

The auto-upgrade happens when the current command exits successfully.
It cannot detect if you are executing a series of commands.
You can simply disable auto-upgrade.

 Use VS Code and the Azure CLI Extension and the Run Line in Terminal command, and it happened several times that in the middle of the commands the CLI started upgrading. Certainly it could disable it ...
env=$RANDOM
grp=az204-m02-foodpics-$env
loc=westeurope
acct=foodpics$env
container="food"
blob_name=shrimp-vindaloo.jpg
file_to_upload="./food-pics/shrimp-vindaloo.jpg"
destination_file="./downloaded/shrimp-vindaloo.jpg"
az group create -n $grp -l $loc
az storage account create -l $loc -n $acct -g $grp --sku Standard_LRS
key=$(az storage account keys list -n $acct --query "[0].value" -o tsv)
az storage container create -n $container --account-key $key --account-name $acct
az storage blob upload --container-name $container --file $file_to_upload --name $blob_name --account-key $key --account-name $acct
az storage blob list --container-name $container --output table --account-name $acct --account-key $key
az storage blob download --container-name $container --name $blob_name --file $destination_file --output table --account-key $key --account-name $acct
conStr=$(az storage account show-connection-string -n $acct -g $grp --query connectionString -o tsv)
update appsettings.json
sed -i "s/<BLOB_CONNECTION_STRING>/$key/g"  ./blob-console/appsettings.json
echo "storage connection string: " $conStr

I can't repro. Auto-upgrade does not change the stdout and exit code.
You need to investigate what happens when auto-upgrade is triggered in your machine.

Maybe I forgot to mention that I am executing agains WSL Ubuntu 20.x… Not as a script but piping it from an opened script using Azure CLI Tools VS Code Ext & run selected lines in terminal …. Happened to me 4 times … Could you provide a command I could execute to collect data if it happens again?
Pay attention to the output and the step it fails.


Added the view, controller, and model for Supplies

fixes #1, started #2

Derek Larson

disregard my pull request, i need to make a few changes first


setup so that codeclimate coverage report is visible on github build results

not sure what i have failed to configure correctly to get this, but it's not showing up yet.

appears to be working now ¯_(ツ)_/¯


certgraphapi: store ondisk location in PKIRegistryInfo

Required for https://github.com/openshift/origin/pull/28551

/assign @soltysh


Tests fail in IE11, IE10

Application code works in smoke tests, but the tests themselves are failing.

This no longer appears to be the case.


Error: Invalid Tower authentication credentials (HTTP 401)

ISSUE TYPE
Bug Report
COMPONENT NAME
Installer
SUMMARY
Tower-CLI Intermittent connectivity issues with Tower-HA.
ENVIRONMENT
Ansible version: 2.4.2
Ansible Tower HA version: 3.2.4
Operating System: RED HAT 7
STEPS TO REPRODUCE
Trying to trigger the Tower HA job templates resulting in intermittent connectivity issue
tower-cli organization list
EXPECTED RESULTS
List of organizations available in tower
ACTUAL RESULTS
Error: Invalid Tower authentication credentials (HTTP 401).

Same issue here after upping to the latest build.  I can't import my assets.json.


System Alerts

#498 #499 #500 #501 #502 #503 #504 #505 #506 #507 #508 #509 #510 #511 #512
Implemented a toastr system to provide feedback to the user when they perform certain actions.
Changelog:

Installed Redux Toastr
Fixed an issue where a credit transfer initiated by a government user crashes when editing
Added highlighting of newly added/updated row
URL is rewritten when loading the Credit Transaction List page (this is to solve an issue I had with the highlight function)

 System Alerts | Save a Draft Credit Transfer Proposal |5|

 System Alerts | Delete a Saved Draft of a Credit Transfer Proposal |1|

 System Alerts | Propose a Credit Transfer (Sign 1/2) |1|

 System Alerts | Accept a Credit Transfer Proposal (Sign 2/2) |1|

 System Alerts | Refuse a Credit Transfer Proposal |1|

 System Alerts | Rescind a Credit Transfer Proposal |1|

 System Alerts | Recommend Approval of a Credit Transfer Proposal |1|

 System Alerts | Not Recommend Approval of a Credit Transfer Proposal |1|

 System Alerts | Approve a Credit Transfer Proposal |1|

 System Alerts | Decline to Approve a Credit Transfer Proposal |1|

 System Alerts | Return PVR back to Gov't Analyst |1|

 System Alerts | Save a Draft PVR |1|

 System Alerts | Recommend Approval of a PVR |1|

 System Alerts | Decline to Approve a PVR |1|

 System Alerts | Approve a PVR |1|