Detecting when a user is deactivated mid session

I'm trying to understand how to use the OIDC-Client.js to read the iframe in my client but cannot find any examples of how this can be done. Basically, I'm after a mechanism where I can detect a user has been deactivated whilst still viewing a page. We have the silent refresh but that only works after 1 hour of the token expiring.
Anyone got an example of how I can implement this?

Your OpenID Provider (OP) will have to implement session management, which consists of making a page to be used in an iframe as specified and exposing the url in your discovery document.
https://openid.net/specs/openid-connect-session-1_0.html#Introduction
This library will by default create an iframe to monitor the session if it is present. You will need to register a listener to the userUnloaded event to be able to catch logouts/unloads at the OP though.
https://github.com/IdentityModel/oidc-client-js/wiki#events

HI Victor,
I'm aware of the session manager in the oidc-client.js but I'm new to using
javascript and how this method works. I have silent refresh working but
cannot find any documentation on how to implement the session management.

If you have an example that would be great.
On Thu, Oct 17, 2019 at 11:09 AM Victor<EMAIL_ADDRESS>wrote:

Your OpenID Provider (OP) will have to implement session management, which
consists of making a page to be used in an iframe as specified and exposing
the url in your discovery document.
https://openid.net/specs/openid-connect-session-1_0.html#Introduction
This library will by default create an iframe to monitor the session if it
is present. You will need to register a listener to the userUnloaded
event to be able to catch logouts/unloads at the OP though.
https://github.com/IdentityModel/oidc-client-js/wiki#events
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/IdentityModel/oidc-client-js/issues/959?email_source=notifications&email_token=AJ3JNQY2RXL655P5P4DFMMTQPA2WZA5CNFSM4I4SW3WKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBPSBQY#issuecomment-543105219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ3JNQ6AMEJ7RBBAOBWNZ73QPA2WZANCNFSM4I4SW3WA
.

All set on this issue -- can we close?


Limited support for stand-alone clients on Linux

MPh 0.8.0, released today, adds support for Linux. That support is slightly limited in that it does not fully work out of the box. In order to start a stand-alone client (as opposed to running the Comsol session in client-server mode), it requires the user take an extra step and configure the search path for shared libraries as described in the documentation.
This is fine, but not ideal. For one thing, it's not just pip install and be done with it. And for another, it prevents users from easily selecting a specific Comsol version as the computation back-end, which is sometimes useful when reproducing earlier simulation results. So ideally, the manual configuration would not be necessary, but instead be done from Python code.
To perhaps track progress on this, or discuss a possible solution, here are some additional details. MPh now follows the  instructions exactly as given in Comsol's Programming Manual (specifically, on pages 23 and 916) for running Java applications from the Eclipse IDE. That is, it sets up the environment in that same way before "initializing" the "stand-alone" client. (As opposed to a client-server connection, which works anyway, without any additional configuration.)
However, that alone does not do it. While all appears to be in working order as far as the Java Virtual Machine is concerned, in that it is aware of the locations of the external (native) libraries, these libraries themselves, which are dynamically loaded, have trouble finding each other, leading to a java.lang.UnsatisfiedLinkError. Which is odd: One would think that these child processes inherit the environment set up in the parent process.
To showcase all of this, I have added a script named test_Linux to the sandbox folder.

So as it turns out, this is a fundamental issue with Unix-like operating systems — Linux same as macOS. I don't think it will ever be resolved in the way I was hoping. I may actually scrap the entire discovery mechanism (which let's the user select the Comsol version) as the dynamic linking only works as intended on Windows. I don't want an API where features are platform-dependent.
The problem starts with the fact that relying on LD_LIBRARY_PATH is bad and was originally meant as a handy tool for developers, not a means to deploying applications to end users. And yet many software companies do just that, to have their executables find their very own shared libraries, even though there are better ways to accomplish the same thing.
Comsol is just one example of many. Where on Windows the Comsol executable is a binary file (comsol.exe), on Linux and macOS it's a shell script that sets, exactly, LD_LIBRARY_PATH, only to then start the actual application. This is a common work-around if you don't include custom search paths in the binaries at build time.
The problem is exacerbated by the fact that the system function that loads external shared libraries on Linux (dlopen) only ever checks LD_LIBRARY_PATH once when a process starts, but then never looks back. So the loader won't notice any changes by the time Python is running, changing it has no effect on the current process.
This explains why the script test_Linux fails to run. Unless, of course, we export LD_LIBRARY_PATH in the shell before starting it, or, alternatively, run it as a subprocess after setting os.environ['LD_LIBRARY_PATH'] in a Python wrapper. Neither one of which is an out-of-the-box solution.
Commonly suggested work-arounds are re-starting the Python interpreter via os.execv() (which… just no) or trying to preload any and all .so files up front via ctypes.CDLL() (which fails here because they are all interdependent).
Microsoft, for once, got this right. On Windows, the library loader does heed live changes to the search path, which is just PATH in that case.

MPh 0.9.0, released today, provides the new convenience function mph.start() which works around the issue described here. On Windows, it starts a stand-alone client. On Linux and macOS it uses client–server mode to create the local session. More details in the documentation chapter "Limitations".


[Qt] 6.3.1

closes #25251
includes #25051

For me qtinterfaceframework:arm64-osx failed with

qtinterfaceframework is cascade in osx CI for some reason so I don't know whats happening. You might be running into a similar issue as qtwayland. Without configure logs not really able to tell about that.

(also waiting for a tool update to fix b cache)

@JonLiu1993: Forgot to add reviewed label ?


Flaxbeard rocket launcher doesn't obey mobGriefing gamerule - 0.27.5

It appears the rocket launcher will destroy blocks regardless of whether explosions are enabled or not?

Is this the same with TNT?

Actually, yes.  Maybe mobGriefing doesn't cover explosions.
Is there an option to disable rocket launcher block damage?  If not, can it be added?

That kinda turns this bug report into a feature request :P

A bit, yes.  Just a bit.

Makes to easier to do though, IMO, since figuring out the game rules and stuff is something I don't know about.

Yes. Screw gamerules :D

Commit 677 fixed this. Annoying that it wasn't auto-closed.

@xbony2 You said "Fixes #221" rather than "Fixes #211".

dang it


add custom iterator benchmark

Codecov Report

Merging #5 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #5   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          94     93    -1
=====================================
- Hits           94     93    -1

Impacted Files
Coverage Δ

include/easy_iterator.h
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Make the AI independent of the side we play on

I have suggested to use a "change_reference" method in the tracker to reversed the position of the object according to a constant in the config. This will allowed the AI to assume our team is always on the positive x half of the field and simplify the test of tactic.

One probleme is to sync the UI-Debug with the reversing of the field and the target sent to the AI when testing. We could add this to the shared config.

[COMMUNICATION]
referee_udp_address = <IP_ADDRESS>
referee_port=10023
vision_udp_address = <IP_ADDRESS>
vision_port=10227
>>>Added
[FIELD]
reversed={False,True}

#374


[Purchase Request] Art Basel in Miami Beach checkbox still relevant?

@briansw We show this checkbox on the purchase request form, but afaik that fair is already over, so should we remove it again?

The checkbox should show up for any work that's part of a fair, not just Miami Beach.

I was specifically referring to the future tense being used in that copy, while this fair is already closed.
However, this brings up an interesting point, because for e.g. this work no checkbox shows up, whereas I understand from you that you would have expected a checkbox with the copy: “I will attend Miami Project 2016” ?

That's something we should take care of across the board. We keep inquiries open for about 2 weeks after the fair closes and those checkboxes persist for that window. We could make it say "attended" in those instances. I'm not sure what the checkbox does in volt though. If you'd like to remove it instead of change tense, it would be best to check with @stasya and Morgan.

@briansw thanks for looping me in; yes, if we are able to switch to "attended" on works between the end date of the fairs and the end of the 2 week period, that would be great; and just to confirm, the box is removed altogether 2 weeks after the fair ends?

@stasya that's right.

@alloy include the work link

@1aurabrown This is the work I used https://m-staging.artsy.net/artwork/damien-hirst-norleucine-2, but weirdly enough it now seems to say "contact for price".
Also, this fair did actually close on the 4th, so I should have been able to see that checkbox yesterday.


@slidy/svelte: direction

The problem
There should be an option to set a direction as boolean prop rtl as some languages have right-to-left direction. Sure, user can traverse the array of items in different direction itself, still, it is a good enhancement to implement.
The implementation
There are two options. I think, it should be implemented using new CSS Logical Properties, as it would use less code instead of just meddling with items order,

Since v3.4.9 @slidy/core automated calculate direction from rendered children flow 🤓
In template just needed css rules, like: flex-flow: row-reverse, direction: rtl or html attribute on  target node dir="rtl"... that's it🤷🏻♂

What do you mean for direction ?

I mean direction property.

I mean direction property.

Ok, and what...?

Direction control is implemented, no need for this issue anymore.


Cannot reproduce llama2-7b MMLU score

Hello! Thank you for this repo!
I am evaluating the model meta-llama/Llama-2-7b-hf on MMLU dataset.
The command is python -m eval.mmlu.run_eval --ntrain 5 --data_dir data/eval/mmlu --save_dir results/mmlu/llama2-7B-5shot --model_name_or_path meta-llama/Llama-2-7b-hf --tokenizer_name_or_path meta-llama/Llama-2-7b-hf --eval_batch_size 8.
But I got the result is 0.259
While I change eval_batch_size to 1, the result is 0.459, which is the exact value reported by llama2 paper.
I'm wondering what's going on?
Thank you!

Hi @harryhan618 , this is because a left padding issue in the transformers library. See the discussions here.
This PR hasn't been merged to the main branch of transformers, but we have updated our requirements.txt to use our own fork with the fix. I think your issue can be fixed after you reinstall the latest requirements.txt.

LOL, it's wired that when batch size = 1 will get the expect evaluation result.
Thank you for your reply!


[FEATURE] integrated filters in product list

Tasks:

[x] done
[ ] got feedback

Informations:

Q
A

Bug fix?
no

New feature?
yes

Tests pass?
none

Fixed tickets
none

Doc
none

ack


feat(RingTheory/IsTensorProduct): cancel pushout square on the left

Given a commutative diagram of rings
  R  →  S  →  T
  ↓     ↓     ↓
  R' →  S' →  T'

where the left-hand square is a pushout and the big rectangle is a pushout, we show that then also the
right-hand square is a pushout.

maintainer merge

Thanks!
bors merge

Thanks for the reviews!


regtest: delete wallet lockfiles before startup

Same adaptions as in https://github.com/joinmarket-webui/joinmarket-webui-docker/pull/39
Future changes to the joinmarket-webui-docker repo should get rid of much of the duplicated code.
This is a work-in-progress as of yet, so we'd still need to maintain both a bit longer.
Also:

adapt to use the same command style (e.g. [ ! ... ] instead of ! [ ] for conditions, etc.)
move docker-entrypoint.sh to root directory (instead of polluting jm /src dir)

After these changes are merged, the setup  must be rebuilt with npm run regtest:rebuild!

Should I move this out of draft state?

@dnlggr Ready for review!


Overcoming the fear of being open

How to navigate being nervous about working openly / sharing very rough first draft ideas
It will always feel personal, but it's not personal
Debating merit of ideas, not people
Remembering the end goal (shared objective, not being right)
Balance / trade-offs with speed of delivery / meeting deadlines
Leading to better outcomes

h/t @ALRubinger for the convo that sparked the idea

Rizel has a great post about this from the OSS side - https://blackgirlbytes.dev/conquering-the-fear-of-contributing-to-open-source


I got what(): buffer::end_of_buffer

I'm using object storage with 3 OSD and 3 MON.
I implement client to create a IOContext for every pool to handle write and get. But seem it got this error in interval time of 2 to 4 minutes.

terminate called after throwing an instance of 'ceph::buffer::end_of_buffer'

Anyone got the same error ?

Hello, I'm automatically closing all issues filed prior to 2018 that have not been commented on recently. If this issue is still relevant to you please reopen the issue and restart the discussion. Thank you for your understanding.


Deleting a ressource : Dependencies exist for these objects

Hello, I want to delete a resource. The problem :

How to fix this?
Thanks for your help

The admin user has a filter that is referencing the resource. You have to delete or change that filter.

Thank you for your reply
I tried to find where to change or remove the filter. It seems to me that I do not know where to look. Would you let me know how?

The last screenshot is the correct one. But maybe you have other exports in the drop-down (besides Defaut).
If there is no other calender with the filter try looking under options/notification.

Well, I tried many things: export csv / deleting a backup other than default / Options / notification => no result

you can also try to find the line in data.xml under the preference entry. There should be resource ref somewhere. Try deleting that line, but make a backup of data.xml before.

With your help and patience, I will get there!
I did not find data under preference in the program, but in the folder data> data.xml
Is this the next line that I have to delete?
<Dynatt: training>
             <Dynatt: training> # FFFF33 </ dynatt: training>
             <Dynatt: text> 0 1 DUMA GC1 </ dynatt: text>
          </ Dynatt: training>
          <Rapla: permission access = "allocate_conflicts" />
       </ Rapla: resource>
       "Last-changed =" "created-at =" 2017-06-07T15: 17: 48.0286Z "<prefix: resource id =" rfb21faa-b033-44d2-b76d-5c43adb00ffb " "2017-06-12T06: 15: 58.0985Z" last-changed-by = "ud0f00cd-aba2-4ab6-bdc3-9107f65b5494">

If I do, rapla will not start anymore

search for the text rfb21faa-b033-44d2-b76d-5c43adb00ffb in data.xml (that is the id of the resource)

I found the ID in two places:
dynatt:formations
dynatt:formations#ffff33</dynatt:formations>
dynatt:texte0 1 DUMA GC1</dynatt:texte>
</dynatt:formations>
<rapla:permission access="allocate_conflicts"/>
</rapla:resource>
<rapla:resource id="rfb21faa-b033-44d2-b76d-5c43adb00ffb" owner="ud0f00cd-aba2-4ab6-bdc3-9107f65b5494" created-at="2017-06-07T15:17:48.0286Z" last-changed="2017-06-12T06:15:58.0985Z" last-changed-by="ud0f00cd-aba2-4ab6-bdc3-9107f65b5494">
</rapla:appointment>
<rapla:allocate idref="rfb21faa-b033-44d2-b76d-5c43adb00ffb"/>
<rapla:permission group="category[key='read-events-from-others']" access="read"/>
If I delete one or both of them, Rapla don't run
What's next?

Sorry it was the wrong id. it's the id from the resource before. I could not see because the text above 1 DUMA GC1 is missing. Search for the id attribute above the name DUMA GC1. That's the id of the resource you want.  Look for the second reference of that id.

here it is:
</rapla:resource>
<rapla:resource id="r9564d65-85a9-4b47-8870-2e9c3bb0b56e" owner="ud0f00cd-aba2-4ab6-bdc3-9107f65b5494" created-at="2017-06-07T15:14:25.0183Z" last-changed="2017-06-13T16:58:29.0660Z" last-changed-by="ud0f00cd-aba2-4ab6-bdc3-9107f65b5494">
     <dynatt:formations>            <dynatt:formations>#ffff33</dynatt:formations>             <dynatt:texte>0 1 DUMA GC1</dynatt:texte>          </dynatt:formations>          <rapla:permission access="allocate_conflicts"/>       </rapla:resource>       <rapla:resource id="rfb21faa-b033-44d2-b76d-5c43adb00ffb" owner="ud0f00cd-aba2-4ab6-bdc3-9107f65b5494" created-at="2017-06-07T15:17:48.0286Z" last-changed="2017-06-12T06:15:58.0985Z" last-changed-by="ud0f00cd-aba2-4ab6-bdc3-9107f65b5494">

same as above search for r9564d65-85a9-4b47-8870-2e9c3bb0b56e
and remove the referencing tag

Executed
thank you very much


Newer version of istanbul

Can you update the version of istanbul (0.4.x vs 0.3.x) or is there a reason to keep the old one?

this ticket should be closed?

sure - is this repo being maintained because this pull request has been sitting there for over 3 months

I switched from peer dependencies back when it was unclear what "deprecated" really meant. Now that npm 3 has been out for a while and it is clear how peer dependencies work maybe it would be best to switch to peer dependencies again and just use * as a version. This module pretty much just calls CLIs anyway, and then versions can be left up to the users.

Unfortunately we're stuck with npm 2 because our target environment is node on AWS lambda.

@knpwrs would it be too much effort to maintain two streams, i.e. one as is now and one for newer Istanbul/Node.js/NPM?

I think just going back to peer dependencies would be best. It'll still work with npm2, and npm3 users know what they have to do. I'll also set this up with greenkeeper.

Published version 3.0.0 which includes Mocha 3 and and the merged version of Istanbul, both as peer dependencies.


Add routes for problem count and submission clearing

Also, can you please add a paragraph into the commit message to explain why these routes are added? (A brief sentence or two about how these facilitates the development of graphical problem viewer would suffice.) Thanks!

Updated


getstorybook shouldn't use yarn if there's no yarn.lock

Bug(?)
Using latest @storybook/cli running getstorybook installs alpha version of storybook versus latest stable version.
Steps to reproduce
npm i -g @storybook/cli
getstorybook

The installed version of Storybook dependencies are alpha versions. Considering the versions are alpha, it seems unexpected that the most recent version of getstorybook would install them rather than the latest stable release.
Affected platforms
I'm on OSX (10.13.3)

In addition, and I'm not sure if it is related, by I am getting the following error when installing Storybook (using getstorybook -f) and running npm run storybook:
module.js:559
    throw err;
    ^

Error: Cannot find module './Mime'
    at Function.Module._resolveFilename (module.js:557:15)
    at Function.Module._load (module.js:484:25)
    at Module.require (module.js:606:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/Users/someguy/code/someproject/node_modules/mime/index.js:3:12)
    at Module._compile (module.js:662:30)
    at Object.Module._extensions..js (module.js:673:10)
    at Module.load (module.js:575:32)
    at tryModuleLoad (module.js:515:12)
    at Function.Module._load (module.js:507:3)

Weird, for me it installs the stable versions. What does this command output for you?
readlink /usr/local/bin/getstorybook

I get nothing running that but which getstorybook returns:
/Users/dana/.nvm/versions/node/v9.6.0/bin/getstorybook

Installing npm i -g<EMAIL_ADDRESS>fixes the problem. Seems an issue with v3.4.0?

Can you please check it on 3.4.1? Which framework are you using BTW?

This is very easy to reproduce:
# Use latest node:
nvm install v9.11.1

# Create a blank React project:
npm i -g create-react-app
npx create-react-app app
cd app

# Install and setup Storybook
npm i -g @storybook/cli
npx getstorybook
npm run storybook

Result:
> start-storybook -p 9009 -s public

info @storybook/react v4.0.0-alpha.3
info
info => Loading static files from: /Users/dana/code/spikes/storybook-test/app/public .
info => Loading custom addons config.
info => Using default webpack setup based on "create-react-app".
 10% building modules 2/2 modules 0 activeℹ ｢wdm｣: wait until bundle finished:
(node:29657) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(node:29657) DeprecationWarning: Tapable.apply is deprecated. Call apply on the plugin directly instead
webpack built 836a08be01957ead78dd in 4009ms
✖ ｢wdm｣: Hash: 836a08be01957ead78dd
Version: webpack 4.6.0
Time: 4009ms
Built at: 2018-04-17 22:29:12
                       Asset      Size   Chunks                    Chunk Names
    static/manager.bundle.js  3.17 MiB  manager  [emitted]  [big]  manager
    static/preview.bundle.js  1.89 MiB  preview  [emitted]  [big]  preview
static/manager.bundle.js.map  3.25 MiB  manager  [emitted]         manager
static/preview.bundle.js.map  1.86 MiB  preview  [emitted]         preview
                  index.html     1 KiB           [emitted]
                 iframe.html     1 KiB           [emitted]
Entrypoint manager [big] = static/manager.bundle.js static/manager.bundle.js.map
Entrypoint preview [big] = static/preview.bundle.js static/preview.bundle.js.map
[./.storybook/addons.js] 85 bytes {manager} [built]
[./.storybook/config.js] 135 bytes {preview} [built]
<EMAIL_ADDRESS>38 bytes {manager} [built]
<EMAIL_ADDRESS>38 bytes {manager} [built]
<EMAIL_ADDRESS>423 bytes {manager} [built]
<EMAIL_ADDRESS>3.27 KiB {manager} [built]
<EMAIL_ADDRESS>(webpack)/buildin/module.js 497 bytes {preview} {manager} [built]
[0] multi ./.storybook/addons.js<EMAIL_ADDRESS><EMAIL_ADDRESS>52 bytes {manager} [built]
[1] multi<EMAIL_ADDRESS><EMAIL_ADDRESS>./node_modules/webpack-hot-middleware/client.js?reload=true ./.storybook/config.js 64 bytes {preview} [built]
<EMAIL_ADDRESS>105 bytes {preview} [built]
<EMAIL_ADDRESS>113 bytes {preview} {manager} [built]
[./node_modules/core-js/fn/array/iterator.js] 107 bytes {preview} {manager} [built]
[./node_modules/global/window.js] 232 bytes {preview} {manager} [built]
[./node_modules/strip-ansi/index.js] 161 bytes {preview} [built]
[./node_modules/webpack-hot-middleware/client.js?reload=true] 7.33 KiB {preview} [built]
    + 1084 hidden modules

ERROR in   TypeError: compilation.templatesPlugin is not a function

  - SetVarMainTemplatePlugin.js:17 SetVarMainTemplatePlugin.apply
    [app]/[react]/[html-webpack-plugin]/[webpack]/lib/SetVarMainTemplatePlugin.js:17:15

  - Tapable.js:71 Compilation.apply
    [app]/[tapable]/lib/Tapable.js:71:16

  - util.js:53 Compilation.deprecated [as apply]
    internal/util.js:53:15

  - LibraryTemplatePlugin.js:45 compiler.plugin
    [app]/[react]/[html-webpack-plugin]/[webpack]/lib/LibraryTemplatePlugin.js:45:18

  - Hook.js:35 SyncHook.lazyCompileHook [as _call]
    [app]/[tapable]/lib/Hook.js:35:21

  - Compiler.js:437 Compiler.newCompilation
    [app]/[core]/[webpack]/lib/Compiler.js:437:30

  - Compiler.js:474 hooks.beforeCompile.callAsync.err
    [app]/[core]/[webpack]/lib/Compiler.js:474:29

  - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync]
    [app]/[tapable]/lib/Hook.js:35:21

ERROR in   TypeError: compilation.templatesPlugin is not a function

  - SetVarMainTemplatePlugin.js:17 SetVarMainTemplatePlugin.apply
    [app]/[react]/[html-webpack-plugin]/[webpack]/lib/SetVarMainTemplatePlugin.js:17:15

  - Tapable.js:71 Compilation.apply
    [app]/[tapable]/lib/Tapable.js:71:16

  - util.js:53 Compilation.deprecated [as apply]
    internal/util.js:53:15

  - LibraryTemplatePlugin.js:45 compiler.plugin
    [app]/[react]/[html-webpack-plugin]/[webpack]/lib/LibraryTemplatePlugin.js:45:18

  - Hook.js:35 SyncHook.lazyCompileHook [as _call]
    [app]/[tapable]/lib/Hook.js:35:21

  - Compiler.js:437 Compiler.newCompilation
    [app]/[core]/[webpack]/lib/Compiler.js:437:30

  - Compiler.js:474 hooks.beforeCompile.callAsync.err
    [app]/[core]/[webpack]/lib/Compiler.js:474:29

  - Hook.js:35 AsyncSeriesHook.lazyCompileHook [as _callAsync]
    [app]/[tapable]/lib/Hook.js:35:21

ℹ ｢wdm｣: Failed to compile.```

Is there a chance that you have yarn on your machine? Which version is it?

I do but why would that matter?

getstorybook uses yarn if it's available. There is a way to opt out of it:
getstorybook --use-npm

Ok, thanks for the info. This is super unexpected and I would categorize this as a bug since it breaks any application where a developer does not use that flag. I expect that installing with npm and running it with npm that it would use npm. Maybe there is a way for storybook to do this more intelligently? Eg check if there is a yarn.lock instead of just a system available yarn?

Eg check if there is a yarn.lock instead of just a system available yarn?

Sounds like a good idea. Want to open a PR? The code to change would be this: https://github.com/storybooks/storybook/blob/master/lib/cli/lib/has_yarn.js

Can I give this a try? If @danawoodman doesn't mind of course.

Go for it!

Released as 4.0.0-alpha.4


fix  hard code and make/zh/docs/setup/release/version-skew-policy.md up-to-date

fix: https://github.com/kubernetes/website/issues/24462

/lgtm


Superseded by windows-sys?

Hi,
is this crate superseded by https://github.com/microsoft/windows-rs which is very actively maintained and comming from Microsoft themselfs?
@retep998 If this repo is really superseded, maybe this repo should have a note to ues the other one.

I considered updating the readme to reflect the status of this crate, but I haven't had the motivation to get around to doing so.


[contracts]: no seige when mines are attacked

resolved by https://github.com/BibliothecaDAO/eternum/commit/4223539bcdbeb01d9d3daf3ad1af2ed1ee540c5d


non iid data

Hi,
I want to change oort in a way that we using non iid data. I changed the sampler in yml file, but it had some errors. Plus, I'm gonna change using different data size for each client. Would you please explain how I can make a change in that?
Thanks

Hi, we provide "noniid" sampler in "plato/plato/samplers" that samples data following the Dirichlet distribution. You can use it by setting sampler: noniid andconcentration: 1 in .yml file. For assigning different data size, "sample_quantity_noniid" sampler is provided in "plato/plato/samplers".

Hi,
unfortunately, I could not find concentration: 1 in samplers. Would you please let me know where i can find and change it.
Thanks


Fix Checkbox disabled state

Problem
Previously the Checkbox component was not rendering its disabled state correctly. Also when the Checkbox component was displayed within a ChoiceGroup its explicitly set disabled state was being overwritten from within the ChoiceGroup.
Before

After

Pull Request Test Coverage Report for Build 3352

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 94.579%

Totals

Change from base Build 3351:
0.002%

Covered Lines:
6337

Relevant Lines:
6569

💛  - Coveralls


bundleRoot ignored on apple

What happened?
I have an internal test app that sets its' bundle root to src/tester/index.tsx. Despite adding this to the app.json, metro still asks for index.js. This seems to be because of this static method in ReactInstance.swift that is not taking bundleRoot (the property set by the manifest) into account:
    static func jsBundleURL() -> URL? {
        RCTBundleURLProvider.sharedSettings().jsBundleURL(forBundleRoot: "index") { nil }
    }

Affected Package
Internal
Version
Internal
Which platforms are you seeing this issue on?

[ ] Android
[X] iOS
[X] macOS
[ ] Windows

System Information
System:
  OS: macOS 14.1.2
  CPU: (12) arm64 Apple M2 Max
  Memory: 3.98 GB / 64.00 GB
  Shell:
    version: "5.9"
    path: /bin/zsh
Binaries:
  Node:
    version: 18.18.2
    path: ~/.asdf/installs/nodejs/18.18.2/bin/node
  Yarn:
    version: 1.22.19
    path: /usr/local/bin/yarn
  npm:
    version: 9.8.1
    path: ~/.asdf/plugins/nodejs/shims/npm
  Watchman:
    version: 2<IP_ADDRESS>
    path: /opt/homebrew/bin/watchman
Managers:
  CocoaPods:
    version: 1.14.3
    path: /opt/homebrew/bin/pod
SDKs:
  iOS SDK:
    Platforms:
      - DriverKit 23.2
      - iOS 17.2
      - macOS 14.2
      - tvOS 17.2
      - watchOS 10.2
  Android SDK: Not Found
IDEs:
  Android Studio: 2022.1 AI-221.6008.13.2211.9514443
  Xcode:
    version: 15.1/15C65
    path: /usr/bin/xcodebuild
Languages:
  Java:
    version: 11.0.19
    path: /usr/bin/javac
  Ruby:
    version: 2.7.6
    path: /Users/sanajmi/.asdf/shims/ruby
npmPackages:
  "@react-native-community/cli": Not Found
  react: Not Found
  react-native: Not Found
  react-native-macos: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: false
  newArchEnabled: false
iOS:
  hermesEnabled: false
  newArchEnabled: Not found

Steps to Reproduce
I don't have a min repro... I have an internal test app where the old one (not managed by RNTA) looked for src/tester/index and the new one doesn't.
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Wait this was meant for react-native-test-app. Closing for https://github.com/microsoft/react-native-test-app/issues/1726


Graphql support for events

There ought to be a way to easily query events that returns a graphql result. If it's simpler, the query itself could still be made using SQL syntax, but we would need to be able to map the response into something graphql compatible...
Thoughts?

I don't understand what the goal is. The result of the SQL query is JSON. The only difference from GraphQL is that GraphQL adds an extra {"data":..} around the query result.  The reason the queries use SQL rather than GraphQL in the first place is that the data model of the event log maps better to SQL (tables, rows, and columns) than it does to GraphQL (no way to traverse the graph, because we don't know what event fields refer to the same entity).


feat: Emit defs & refs for functions & methods

TODO:

[x] Add tests for methods, including inheritance, virtual methods etc.
[x] Add test for member function pointer
[x] Add tests for various kinds of operator overloads
[x] Add is_reference and is_implementation relationships
[x] Integration testing

Follow-ups:

References for explicit and implicit conversion functions: https://github.com/sourcegraph/scip-clang/issues/128
References for operator new/delete https://github.com/sourcegraph/scip-clang/issues/127
Definitions + references for constructors, with more tests https://github.com/sourcegraph/scip-clang/issues/126

I haven't added anything for template deduction guides, because AFAICT (I have not looked into it too deeply), you can't really reference one explicitly in code... They get examined by the compiler when doing CTAD, and that's about it...

Merging this now to unblock subsequent PR, happy to address any post-merge review comments later.


figure out if we need to filter event from containerd

refer to #484

@yanxuean Thanks for filing this.
Let's revisit this next release.


fix:essential-links-open-in-new-tab

Description of PR
Essential links open in a new tab.
Type of PR

[x] Bugfix

Relevant Issues
Fixes #896
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

@jeremyphilemon Kindly check and close.

duplicate #920


Changelog Sprint 27

Updates from Sprint 27
[skip ci]

@dclarizio @blomquisg @gmcculloug @gtanzillo @roliveri @chessbyte Please review the changelog and my comments.

@mfeifer I think make the changes I mentioned, and we can merge this.

@Fryguy clearly my githubfu is off.  How do we fix this?


Error on Titles With Spaces When the Title is in the Chapter Name

For example:
Koryuu nara Sude de Taosemasu kedo, Kore tte Joushiki janain desu ka -.- KORYUU NARA SUDE DE TAOSEMASU KEDO, KORE TTE JOUSHIKI JANAIN DESU KA Chapter 001.cbz

If the title of the series is in the chapter and that title has spaces I get this output:
2021-05-18 00:56:27,961 | MTT-4<PHONE_NUMBER>75608 | MangaTaggerLib.MangaTaggerLib | DEBUG - delimiter: koryuu nara sude de taosemasu kedo, kore tte joushiki janain desu kachapter
2021-05-18 00:56:27,962 | MTT-4<PHONE_NUMBER>75608 | MangaTaggerLib.MangaTaggerLib | DEBUG - delimiter_index: 76
2021-05-18 00:56:27,962 | MTT-4<PHONE_NUMBER>75608 | MangaTaggerLib.task_queue.QueueWorker | ERROR - substring not found
Traceback (most recent call last):
  File "/app/Manga-Tagger/MangaTaggerLib/task_queue.py", line 188, in process
    MangaTaggerLib.process_manga_chapter(path, uuid.uuid1())
  File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 65, in process_manga_chapter
    manga_details = filename_parser(filename, logging_info)
  File "/app/Manga-Tagger/MangaTaggerLib/MangaTaggerLib.py", line 147, in filename_parser
    i = chapter_title.index(delimiter) + delimiter_index
ValueError: substring not found
2021-05-18 00:56:27,963 | MTT-4<PHONE_NUMBER>75608 | MangaTaggerLib.task_queue.QueueWorker | WARNING - Manga Tagger is unfamiliar with this error. Please log an issue for investigation.

My guess is that it's because of this section:
        if 'chapter' in chapter_title:
            chapter_title = chapter_title.replace(' ', '')
            delimiter = f'{manga_title.lower()}chapter'
            delimiter_index = len(delimiter) + 1

The log shows it's using:
koryuu nara sude de taosemasu kedo, kore tte joushiki janain desu kachapter

as the delimiter, but the since spaces are being removed from the chapter title first it should probably be using this instead:
koryuunarasudedetaosemasukedo,korettejoushikijanaindesukachapter

The section you mentionned was made "obsolete" since I reworked how the chapter_title was parsed. I forgot to remove it.
Manga-Tagger should only care about the chapter number and completely ignore any chapter name, manga name that are after the -.- delimiter.
Thanks for reporting the issue.
The fix for this error should be live on the unstable tagged docker image/dev branch if you want to try it.

Once again thanks for the quick fix. The unstable Docker image fixed this and grabbed the proper metadata.


Optimization Using correct column name to go fast execute …

…path  in executing match expressions
The correct column name should be like CAST value.name(Nullable(Variant)) TO Nullable(String) since the predicate is cast(value['name'] as string) match 'xxx'
Proposed changes
Issue Number: close #xxx

run buildall

run buildall


Fix compilation problems on VC++6.0 and MinGW

This would fix #4.
VC++6.0 does not allow template friend class, so I use the shared_ptr_base class to be the parent of all shared_ptr<T>, and then shared_ptr<T> can access the pn member of a shared_ptr<U> with its constructor.
MinGW is not compatible with some normal gcc compilation options, so I replace them with the MinGW versions.

Thanks a lot for this contribution :)


More compartmentalized tuner defaults

Currently: buildTuner is an all-in-one function that accepts a dict of only primitives and builds a Tuner. Focus was on accepting args from a loaded json file.
Desired: With more complex use cases now common (e.g. curriculum training) need a way to conveniently load preferred settings as custom defaults and build a tuner in more customized, single-use scripts.
Tuners are now being used frequently like in the Ray documentation: https://docs.ray.io/en/latest/rllib/rllib-training.html#configuring-rllib-algorithms
Separate default-generating funcs:

[ ] trainable
[ ] param_space
[ ] tune_config
[ ] run_config

It's easier to write a tailored script, and seems to be the preferred workflow in Ray.


hub.docker.com password reset not working

BUG REPORT INFORMATION
When I type in my mail at https://hub.docker.com/reset-password/ I receive a mail with a link.
When I click the link that has the form:
https://hub.docker.com/account/password-reset-confirm/NDQzMjE2/49i-ee4c1576a50fd0b5cab7/
I am however instantly redirected to https://hub.docker.com/
My user name is localgod.

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

@localgod thanks for the report. We are working on a fix.

This is fixed now. @localgod let us know if it works and please close when verified. Thanks!

Worked... Thanks


colcon build error: libcudnn.so.8, not found (try using -rpath or -rpath-link)

I am trying to run this on AGX Xavier in docker container. After cloning three repo: isaac_ros_image_segmentation, isaac_ros_common, and Isaac_ros_dnn_inference, when I run colcon build, I get the following error.
/usr/bin/ld: warning: libcudnn.so.8, needed by /usr/lib/libopencv_dnn.so.4.5.0, not found (try using -rpath or -rpath-link) /usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>/usr/lib/libopencv_dnn.so.4.5.0: undefined reference to<EMAIL_ADDRESS>collect2: error: ld returned 1 exit status make[2]: *** [dnn_image_encoder] Error 1 make[1]: *** [CMakeFiles/dnn_image_encoder.dir/all] Error 2 make: *** [all] Error 2
I also tried git lfs pull. But that didn't work. I tried exporting the path of libcudnn.so.8 into the library path, but that is not working as well. What can be the problem here?

Also I am using the release-ea2.1 branch.

while running sudo ldconfig inside docker container, this files shows empty.
admin@agx:/usr/lib/aarch64-linux-gnu$ sudo ldconfig /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvparsers.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvonnxparser.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_adv_train.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_adv_infer.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_ops_infer.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_ops_train.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_ops_infer.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_cnn_infer.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_cnn_infer.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_cnn_train.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_adv_train.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_ops_train.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_adv_infer.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvonnxparser.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvparsers.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_cnn_infer.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_cnn_train.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_adv_infer.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_ops_train.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer_builder_resource.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvparsers.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_adv_train.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvonnxparser.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libcudnn_ops_infer.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/libnvinfer_plugin.so.8.2.1 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/aarch64-linux-gnu/tegra/libcudnn.so.8 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks_tracking.so.0.88 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks_sfm.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks_sfm.so.0.90 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks_tracking.so is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks_tracking.so.0.88.2 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks.so.1.6.0 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks_sfm.so.0.90.4 is empty, not checked. /sbin/ldconfig.real: File /usr/lib/libvisionworks.so.1.6 is empty, not checked.
This files are present in Host devices.

It looks like inside docker they are not properly mounting.

Have you updated your default runtime in /etc/docker/daemon.json to "nvidia"? That setting informs Docker daemon to mount a set of files from your host into the container.

Hi @hemalshahNV, sorry for late reply. Yes, we did that as well.

We're not able to reproduce the issue on our JP4.6 devices yet so our theory is that there is something different about your host. Could you try running nvidia-container-cli --v on the host to get which version of the NVIDIA Container runtime you are running? Also, could you post the LD_LIBRARY_PATH from inside the container too?


Make network work with multiple apps

The network layer currently hardcodes app config but a network can potentially apply to multiple apps in a multi-app project. This ticket is to update the module to work with multiple apps.
See 🔒 Slack thread

Done as part of vpc work


No sound played: Could not get response for the request LoadRequest

I've cast v1.4 on a Windows 7 PC and it's working perfectly. Now I'm trying v1.8 (also v1.4) on my Windows 10 laptop and I'm getting this:
PS C:\Program Files\Cast> .\Cast.exe -debug -text hello
Start inventory devices - first attempt
Wait time = 00:00:03
Google device count = 1
        Living Room display
End inventory devices - first attempt

*snip*
Casting "hello"

Streaming will begin at 9/04/2022 4:16:06 PM
StartWebServer 9/04/2022 4:16:03 PM
Start Listen 9/04/2022 4:16:03 PM
Casting to Living Room display C:\Users\home\AppData\Local\Temp\~cast~95374625cc944178a81f4d0c1f0a03cc.wav
Casting to METABOX-I7 C:\Users\home\AppData\Local\Temp\~cast~95374625cc944178a81f4d0c1f0a03cc.wav
Preparing to cast C:\Users\home\AppData\Local\Temp\~cast~d74864584b19406294a5b581da8da636.wav
********* Go: 04/09/2022 04:16:06.5462 PM
Preparing to play on speakers C:\Users\home\AppData\Local\Temp\~cast~95374625cc944178a81f4d0c1f0a03cc.wav
Duration: 00:00:01.2790000
System.TimeoutException: Could not get response for the request LoadRequest
   at SharpCast.Channel.SendRequest(String ns, Request request, String destinationId) in E:\Documents\VBNet\cast\SharpCast\Channel.cs:line 144
   at SharpCast.Player.Load(Uri contentUri, String contentType, MediaMetadata metadata, Boolean autoPlay, StreamType streamType) in E:\Documents\VBNet\cast\SharpCast\Player.cs:line 98
   at cast.modCasting.VB$StateMachine_5_CastAFile.MoveNext() in E:\Documents\VBNet\cast\cast\modCasting.vb:line 112
Duration: 00:00:01.2790000
Casting complete

I can find the generated WAV file. But what does following mean?
System.TimeoutException: Could not get response for the request LoadRequest
   at SharpCast.Channel.SendRequest(String ns, Request request, String destinationId) in E:\Documents\VBNet\cast\SharpCast\Channel.cs:line 144

I can't find that at all. Is something missing on this laptop?
Thanks for any help in advance.

looks like it is not connecting to your device to do the cast
can you try casting to a specific ip address and see if that works?
for example:
cast -ip <IP_ADDRESS> -text hello there

Iam having the same issue, getting the same result with ip

can you ping the target ip ok?

Ping works fine, i figured out a other way how to TTS on google home and that worked with same device.


IAM-318-COS-Integration

Integrating Identity Platform Login UI charm with COS components: Prometheus and Loki
cos integrations manual testing instructions:
These instructions presuppose that you have a juju cluster with working prometheus-k8s, and loki-k8s integrated with login UI. Login UI charm uses the default relation names.
Prometheus:
curl 'prometheus_url:9090/api/v1/query?query=http_requests_total&app=identity-platform-login-ui-operator&code=200&endpoint=/admin/health/alive' | yq
If you get a list of metrics, then it worked.
Loki
curl loki_url:3100/loki/api/v1/label/juju_unit/values
If your unit shows up in the results, it should be good.

@bencekov Could you check why the CI is failing? Does this PR depend on any other PR in identity-platform-login-ui?

@bencekov I think once you rebase your branch, the CI should pass.


Add additional OpenAPI documentation tools.

So far we have only Swagger and Redoc.
To add:
'RapiDoc'
'StopLight'
'Explorer'
'RapiPdf'
plus a page with links to any documentation

Resolved in #1136, with tools mentioned above now added, plus a bookmarks page for links to any OpenAPI documentation.


add json cli flag for act compat

This is experimental
@SanjulaGanepola no idea if the output is close enough to act, like in act some log lines are invalid json.

This is great! I am actively working on the change in the extension to support the job and step level status. I will update you once this is complete so we can do some testing with both act and runner.server.


Starting with copying user model

Hi waifung0207
I am trying starting (from admin module) with this perfect for me template. Actually i am copying User.php controller to use grocery_crud with a new table in the db, so doing that:
(File: E:\xampp\htdocs\ci_bootstrap_3\application\modules\admin\controllers\Progetti.php)
crud->generate_crud('progetti');
		//$crud->columns('role', 'email', 'first_name', 'last_name', 'active', 'created_at');

		$this->mViewData['crud_data'] = $this->crud->render();
		$this->render('crud');
	}

![cattura di schermata 2](https://cloud.githubusercontent.com/assets/3062441/9561615/e5a3fe00-4e4c-11e5-85cc-131ec68eb9a1.png)

View and delete are right. Invoking the edit (http://localhost/ci_bootstrap_3/admin/progetti/index/edit/8) rendere the right gcrud page

![cattura di schermata 3](https://cloud.githubusercontent.com/assets/3062441/9561629/a0ef3454-4e4d-11e5-85a9-24b85f5a6828.png)

Can this be a bug of the g_crud integration ?

Thanks for you efforts in this repo :-D (and for the answer)

P.S.
The same (as up) with admin_user (crontroller using gcrud and admin_users table) give a good normal crud for admin users.

Cheers

P.S.2
It can be a specific problem with my table ... i am trying with more simple tables and it seems it's ok.

The same (as up) with admin_user (crontroller using gcrud and admin_users table) give a good normal crud for admin users.
Cheers

Day 2
It seems a problem with ckeditor. When i disable it, the app go ok.

Sorry for my slow response, even you closed the issue I'm still concerning the problem you had encountered and hope I can help.
The "Edit" page looks properly for me (except those mis-positioning of CKEditor buttons), and please be reminded that if you set the MySQL field as "TEXT" datatype, Grocery CRUD will recognize that and show the field CKEditor automatically.
If you only require a simple input text field, you have two options:

set the field as "VARCHAR" in MySQL database
use Grocery CRUD's field_type() function and set the type to "string" manually

More info regarding the CKEditor settings - you can also change the text editor from this file: application/modules/admin/config/grocery_crud.php, where "grocery_crud_default_text_editor" decides which text editor to be used, and "grocery_crud_text_editor_type" decides whether to display the editor in "full" mode or "minimal" mode.
Hope I didn't misunderstand the issue, and thanks for your feedback :)

Yes, as you sad I am using the second solution, and have clear text whithout html's tags.


Are Heatmap renderings for android and ios lib the same or different?

I wish to ask for confirmation if the answer to the question in the post title is true or not. I have different result renderings of heatmaps in android and ios, though I use different libraries i am not sure if it could be the library itself or maybe ios rendering is different? Considering the  GMUWeightedLatLng has an intensity property which i am not sure what that is for unlike in android.
The one in Android is what I am replicating for ios.

Added info.
Used simple features lib for android to parse data
Used GeoSwift lib for ios. Simple features also has ios but its not in swift.
This is the data source
https://earthquake.usgs.gov/fdsnws/event/1/query?starttime=2022-09-23&format=geojson&minlatitude=4&maxlatitude=21&minlongitude=112&maxlongitude=132

still important!


update chef client and deps

Wanted to make sure we get knife-windows 1.7.0 and this also includes the just released chef client along with a few other goodies.

:shipit:


Panic while running units

INFO[0036] Switch 00:00:08:00:27:3f:ff:c3 connected
INFO[0036] Switch connected(svcProxy).
INFO[0036] Switch connected(policyAgent).
INFO[0036] Installing initial flow entries
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x10 pc=0x65a9ea]

goroutine 757 [running]:
panic(0xe28c60, 0xc82000e170)
        /usr/local/go/src/runtime/panic.go:481 +0x3e6
github.com/contiv/ofnet/ofctrl.(*Table).NewFlow(0x0, 0x1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofctrl/fgraphTable.go:61 +0x28a
github.com/contiv/ofnet.(*ServiceProxy).InitSNATTable(0xc82012ed70, 0xc820331407, 0x0, 0x0)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofnetSvcProxy.go:648 +0x30f
github.com/contiv/ofnet.(*VlanBridge).initFgraph(0xc82012ed20, 0x0, 0x0)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/vlanBridge.go:321 +0x30b
github.com/contiv/ofnet.(*VlanBridge).SwitchConnected(0xc82012ed20, 0xc8201c6f60)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/vlanBridge.go:83 +0x7e
github.com/contiv/ofnet.(*OfnetAgent).SwitchConnected(0xc820317c20, 0xc8201c6f60)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofnetAgent.go:246 +0x189
github.com/contiv/ofnet/ofctrl.(*OFSwitch).switchConnected(0xc8201c6f60)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofctrl/ofSwitch.go:100 +0x52
github.com/contiv/ofnet/ofctrl.NewSwitch(0xc820390280, 0xc820402210, 0x8, 0x8, 0x7f5592e70dc0, 0xc8202fbc20, 0x0)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofctrl/ofSwitch.go:73 +0x357
github.com/contiv/ofnet/ofctrl.(*Controller).handleConnection(0xc8206cc860, 0x7f5592e271a0, 0xc82048b4a0)
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofctrl/ofctrl.go:145 +0xa04
created by github.com/contiv/ofnet/ofctrl.(*Controller).Listen
        /opt/golang/src/github.com/contiv/netplugin/Godeps/_workspace/src/github.com/contiv/ofnet/ofctrl/ofctrl.go:91 +0x4c5
exit status 2
FAIL    github.com/contiv/netplugin/drivers     36.273s

This happened while running the units on my ansible fork; please reach out to me if you cannot find or reproduce the error, I can give you the branch with the VMs/ansible to create the environment.
I have not seen this before in several test runs, so I am not certain what is causing the error.

I tried with the top of the tree and see no issue. May be you're missing a godep update or something?

Nope, still using the same kit from master.
https://github.com/contiv/ofnet/blob/master/ofctrl/fgraphTable.go#L49-L64
flowDB is nil in this case. Now, I have no idea how it gets TO BE nil but it is here.
It looks like it's not getting initialized properly.

OH FWIW: I have not been able to reproduce this for a while. The only thing I did during that time that was truly odd was detach the network from the machine.

(physically)

it was not detached when I ran the tests. oof, sorry about all this spam.

@jojimt @erikh can we close this issue now ?

feel free to if you can't reproduce

Closing as we don't seem to be able to repro this.


Ability to define common env variable for all steps of a task

Approach 1
Have a global envs and mounts section applicable for all tasks
Example:
envs:
  - FOO=bar
  - HELLO=world

mounts:
  - /var:/foo

tasks:
  deploy:
  - image: 'emeraldsquad/sonar-scanner'
    commands:
    - ['sonar', 'scan']
  - image: 'golang'
    commands:
    - ['go', 'install']
  - image: 'mesosphere/aws-cli'
    commands:
    - ['aws', 'elasticbeanstalk update-application --application-name myapp']
    envs:
     - AWS_ACCESS_KEY_ID=`$AWS_KEY`
     - AWS_SECRET_ACCESS_KEY=`$AWS_SECRET`
     - AWS_DEFAULT_REGION=us-east1

Capturing in #146

Closed with reference to #148


connection contacts and company when adding new deals and companies

Hi, first of all, thank you for making this, really making life easier for all of us trying to use the API. I am trying to create new contacts, companies, and new deals using the python code, however, one problem I am running into is that I can not connect the contacts with the deals or companies, because the "Contact_ID" field is read-only and it is an integer, so I am wondering is there a possible way to connect them through code rather than going to bittrix24 and link them one by one.

Hello, I am not the developer of this API but I will try to help you.
What do you mean that contact_id is read-only? Do you have a screenshot with the error?

Hi thank you for the response, I got the conclusion that when creating a contact, the field ID is read-only according to the API documentation by the bitrix24 themselves. thus if I am trying to create a deal and a contact at the same time, it is impossible to link the contact to said deal.

and sorry I dont really have an error screenshot, just a bunch of deals created with no contacts assigned to them.

Ok then I will present you with a flow that may help you.
Suppose that from your application you create a negotiation and a contact at the same time. What you should do is the following:
1.- Create the contact: crm.contact.add, this method will respond to you with the created contact identifier. Save it in a variable (contact_p for example) in python.

Create the negotiation: crm.deal.add fill in the data you require and in CONTACT_ID assign it contact_p.

wow, that was such an eye-opener, I never thought of that !!! Thank you so much, if you don't mind, can I ask another question?

Yes

Thank you! it's about deals. So I was able to create a list of deals, but the amount field was empty.  So I think it is connected with crm.quote, but I tried linking them to each other but on bitrix page, the amount is still 0. So now I am confused, if not quote then what?

nvm I figured it out, its crm.deal.productrows.set !
Sorry about the trouble, thank you!

Ok. It was a pleasure to help you.


curl: (60) SSL certificate problem: self-signed certificate in certificate chain

Describe the bug
When I am trying to run following docker command
docker run -it
-e PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf
-e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/
-p 8080:8080
--name nominatim
mediagis/nominatim:4.4
I am facing some ssl certificate issue
To Reproduce
Steps to reproduce the behavior:

docker run -it
-e PBF_URL=https://download.geofabrik.de/europe/monaco-latest.osm.pbf
-e REPLICATION_URL=https://download.geofabrik.de/europe/monaco-updates/
-p 8080:8080
--name nominatim
mediagis/nominatim:4.4

error:
**curl: (60) SSL certificate problem: self-signed certificate in certificate chain
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.**
Screenshots & Logs

Desktop / Server (please complete the following information):

OS & Version: [e.g. Windows 11]
Docker Version: [e.g. 26.1.4]
Nominatim Version: [4.4]

Is there any way to bypass this like curl -k ? Please help us with the possible solution,

yes , we are using docker desktop


Update ChangeTracker.xml

Fix typo

@smitpatel @divega is the docs for EF auto-generated from source? If so, this change should probably be made on the source code and we should turn off edit for the EF Core APIs on docs.

Also this PR was targeting the wrong branch (live instead of masted) and changing the base brings a bunch of unwanted changes. So I'll be closing this PR, but it would be good to know the answer to my previous questions on whether we should accept contributions here or if they should go in another repo.

ApiDocs should be auto-generated from docs.
For EF6 https://github.com/aspnet/EntityFramework6
For EFCore https://github.com/aspnet/EntityFrameworkCore


WeChat support

Nexus 6P, Android 6.0.1
WeChat 6.3.15, Nevolution 1.0 beta 3 with Extension Pack
Turn on WeChat Tweaks, with all other tweaks turned off for WeChat.
Then I met two issues:

No sound / vibration for new messages though I have not turned them off. The notification for new messages (message content, instead of conversation prompt) hits me correctly.
When I receive messages from contact A, I launch WeChat, enter the conversation with A, then the notification for A doesn't disappear - I need to manually swipe to clear.

Same problem on CyanogenMod 13. Seems like it's not a single case.

Both are limitations with Nevolution itself (see limitations in Plug-in development guide for details). The first one is set to be fixed in the next version. But the second limitation has no perfect solution yet. At present, it is suggested to click the notification to open WeChat, thus workaround this limitation.

@oasisfeng I recall with the original WeChat notification, when WeChat is opened (WeChat in background) or the conversion is entered (WeChat in foreground), the notifications are cleared. Can Nevolution monitor how the notification is cleared? If WeChat attempts to clear it, it could also be cleared in the Nevolution one.
I'm not an Android developer, so this is just my thoughts :)
If it's not possible please skip me...

@EraserKing Unfortunately, that's not possible yet without root. Because Nevolution essentially cloned, evolved and re-posted the original notification. The ability to track the removal of original notification is not possible any more since it was already removed by Nevolution itself.
I'll continue to explore the possible solution for this limitation, possibly with root privilege.


Implement Content-Based Recommendation System

Please do the work in an issue called rec-sys-initial. For example rec-sys-jh.
For this issue, play around with various techniques to implement a content-based approach. As there is no easy way to split up the implementation, we each can play around with it.

Let's follow the Issue Driven Project Management Guidelines for naming branches.
The name of this branch should be: issue-068.


latest environment

Do we want the *-latest.yml env file to be an actual file or just a symlink to the most recent YAML (currently 2023a)?

If a symlink works on Windows as well, a symlink is probably better. Haven't tested it yet though.

Ah yes, Windows, of course. Sorry, my bad.

I'm closing this, the symlink doesn't really work on Windows. Also, we can use the neuro-conda-latest.yml for development and only create the versioned YAML files on release.


Failing deployment of JIB-built container from GCR to GCP kubernetes cluster

Hi there,
I have problem to successfully deploy a JIB-created container to kubernetes.
Have read for various days through numerous guides, issues, tutorials, manuals, etc. but could not find a solution.
Basically, the problem seems to focus on the following message (I removed the brackets starting at rpc):
rpc error: code = Unknown desc = Error response from daemon: Get https://gcr.io/v2/ultimate-domination/helloworld/manifests/latest: unknown: Unable to parse json key., rpc error: code = Unknown desc = Error: Status 405 trying to pull repository ultimate-domination/helloworld: "v1 Registry API is disabled. If you are not explicitly using the v1 Registry API, it is possible your v2 image could not be found. Verify that your image is available, or retry with dockerd --disable-legacy-registry. See https://cloud.google.com/container-registry/docs/support/deprecation-notices": ErrImagePull
The environment I use:

Google Cloud Platform test account
Registry is gcr.io (as you can see below)
Kubernetes cluster is in GCP, a "3 micro instances" environment
Deployment of e.g. nginx works

This is the "helloworld" I would like to deploy:
gradle.build >>>
plugins {
id 'java'
id 'com.google.cloud.tools.jib' version '0.9.6'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
jib {
from {
image = 'gcr.io/distroless/java@sha256:326325d44aba5d056774704f086906644264ea77a9b24f28c41ab404e37a8d99'
credHelper = 'gcr'
}
to {
image = 'gcr.io/ultimate-domination/' + rootProject.name.substring(rootProject.name.indexOf('.')+1)
credHelper = 'gcr'
}
container {
jvmFlags = ['-Xms512m']
mainClass = 'CMain'
}
}
tasks.build.dependsOn tasks.jib
<<<
CMain.java >>>
public class CMain {
public final static void main(String[] Args) {
while (true) {
try { Thread.sleep(1000); System.out.print('.'); }
catch (InterruptedException E) { E.printStackTrace(); }
}
}
}
<<<
Tried various things, including the recommendation in the JIB FAQ, secion "I am seeing ImagePullBackoff on my pods"
As I am on windows, I have available gcloud and kubectl command, but not docker. I heavily rely on using the browser UI of GCP.

CLOSE: issue was using "OCI" container layout, which does not seem compatible with k8n@GCP.
Maybe just add to documentation to avoid others searching and testing for days?


Update install.ps1 for faster Download

Upside: Way faster download since displaying the Bytes written so far takes powershell a long time, which can be annoying.
Downside: No longer displays Bytes Written (no progressbar)

Thanks for contribute :)


tslint is dropping tsconfig configuration when tslint.json is loaded

Bug Report
Since no-unused-vars was deprecated from tslint.json, we have followed the recommendations to put noUnusedLocals: false into tsconfig.json instead.
😀 That works fine if we do: tslint -p tsconfig.json
😢 But it breaks if we do: tslint -p tsconfig.json -c tslint.json
My guess is that the tslint config somehow discards the configuration from tsconfig.json
Possibly related: https://github.com/palantir/tslint/issues/3962 and https://github.com/palantir/tslint/issues/4100#issuecomment-418008669

TSLint version: 1.12.1
TypeScript version: 1.12.1 (tsc)
Running TSLint via: (pick one) CLI / Node.js API / VSCode / grunt-tslint / Atom / Visual Studio / etc

TypeScript code being linted
const foo = 'bar';
// never use foo

with tsconfig.json configuration:
{
  "target": "es2017",
  "$schema": "http://json.schemastore.org/tsconfig",
  "extends"<EMAIL_ADDRESS>  "compilerOptions": {
    "allowJs": true,
    "declaration": false,
    "noImplicitAny": false,
    "noUnusedLocals": false
  },
  "include": ["src", "test", "index.ts"],
  "exclude": ["node_modules/**", "packages/*/node_modules/**", "**/*.d.ts"]
}

and tslint.json configuration:
{
  "$schema": "http://json.schemastore.org/tslint",
  "extends"<EMAIL_ADDRESS>  "linterOptions": {
    "exclude": ["src/lib"]
  }
}

Sorry that isn't a minimal test case. We are using the loopback 4 framework.
Complete steps-to-reproduce can be found here: https://github.com/strongloop/loopback-next/issues/1954
Actual behavior
Despite the configuration in tsconfig.json, tslint produces errors like this:
ERROR: .../lb-4-lint-test/src/index.ts[17, 7]: 'foo' is declared but its value is never read.

Expected behavior
I would like tslint to pass!
Alternatively, I would like to know (preferably tslint would display a hint) how to adjust tslint.json to not destroy the tsconfig.json configuration.

I found a solution: https://github.com/strongloop/loopback-next/issues/1954#issuecomment-463919517
I needed an extra rule in tslint.json
    "no-unused": false,

to override the rule that was imported.


World Age Error

Just encountered an odd bug testing my package
	Reading Memory: Error During Test at /home/sea/src/julia/Metatheory/test/test_while_interpreter.jl:17
	  Test threw exception
	  Expression: 2 == rewrite(:((x, $(Mem(:x => 2)))), read_mem; order = :inner, m = #= /home/sea/src/julia/Metatheory/test/test_while_interpreter.jl:17 =# @__MODULE__())
	  MethodError: no method matching generated_callfunc(::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(Symbol("##reducing_expression#257"),), var"#_RGF_ModTag", var"#_RGF_ModTag", (0xa3a3c3bf, 0xb070e435, 0x08893b98, 0x9f9e31fb, 0xf15bd3ff)}, ::Symbol, ::Module)
	  The applicable method may be too new: running in world age 29639, while current world is 29642.
	  Closest candidates are:
	    generated_callfunc(::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{argnames, cache_tag, var"#_RGF_ModTag", id}, ::Any...) where {argnames, cache_tag, id} at none:0 (method too new to be called from this world context.)
	    generated_callfunc(::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{argnames, cache_tag, Metatheory.var"#_RGF_ModTag", id}, ::Any...) where {argnames, cache_tag, id} at none:0
	  Stacktrace:
	    [1] (::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(Symbol("##reducing_expression#257"),), var"#_RGF_ModTag", var"#_RGF_ModTag", (0xa3a3c3bf, 0xb070e435, 0x08893b98, 0x9f9e31fb, 0xf15bd3ff)})(::Symbol, ::Module)
	      @ RuntimeGeneratedFunctions ~/.julia/packages/RuntimeGeneratedFunctions/tJEmP/src/RuntimeGeneratedFunctions.jl:92
	    [2] (::Metatheory.var"#35#41"{Module})(x::Symbol)
	      @ Metatheory ~/src/julia/Metatheory/src/rewrite.jl:24
	    [3] normalize_nocycle(::Function, ::Symbol; callback::Metatheory.var"#34#40"{Int64})
	      @ Metatheory ~/src/julia/Metatheory/src/util.jl:119
	    [4] #36
	      @ ~/src/julia/Metatheory/src/rewrite.jl:25 [inlined]
	    [5] #df_walk!#6
	      @ ~/src/julia/Metatheory/src/util.jl:30 [inlined]
	    [6] #7
	      @ ~/src/julia/Metatheory/src/util.jl:38 [inlined]
	    [7] |>(x::Symbol, f::Metatheory.var"#7#8"{Vector{Symbol}, Bool, Metatheory.var"#36#42"{Metatheory.var"#35#41"{Module}, Metatheory.var"#34#40"{Int64}}, Tuple{}})
	      @ Base ./operators.jl:859
	    [8] _broadcast_getindex_evalf
	      @ ./broadcast.jl:648 [inlined]
	    [9] _broadcast_getindex
	      @ ./broadcast.jl:621 [inlined]
	   [10] getindex
	      @ ./broadcast.jl:575 [inlined]
	   [11] copy
	      @ ./broadcast.jl:922 [inlined]
	   [12] materialize(bc::Base.Broadcast.Broadcasted{Base.Broadcast.DefaultArrayStyle{1}, Nothing, typeof(|>), Tuple{Vector{Any}, Base.RefValue{Metatheory.var"#7#8"{Vector{Symbol}, Bool, Metatheory.var"#36#42"{Metatheory.var"#35#41"{Module}, Metatheory.var"#34#40"{Int64}}, Tuple{}}}}})
	      @ Base.Broadcast ./broadcast.jl:883
	   [13] df_walk!(::Function, ::Expr; skip::Vector{Symbol}, skip_call::Bool)
	      @ Metatheory ~/src/julia/Metatheory/src/util.jl:38
	   [14] #37
	      @ ~/src/julia/Metatheory/src/rewrite.jl:30 [inlined]
	   [15] (::Metatheory.var"#39#45"{Metatheory.var"#37#43", Metatheory.var"#36#42"{Metatheory.var"#35#41"{Module}, Metatheory.var"#34#40"{Int64}}})(x::Expr)
	      @ Metatheory ~/src/julia/Metatheory/src/rewrite.jl:37
	   [16] normalize_nocycle(::Function, ::Expr; callback::Metatheory.var"#24#26")
	      @ Metatheory ~/src/julia/Metatheory/src/util.jl:119
	   [17] normalize_nocycle(::Function, ::Expr)
	      @ Metatheory ~/src/julia/Metatheory/src/util.jl:117
	   [18] rewrite(ex::Expr, theory::Vector{Rule}; __source__::LineNumberNode, order::Symbol, m::Module, timeout::Int64)
	      @ Metatheory ~/src/julia/Metatheory/src/rewrite.jl:37
	   [19] macro expansion
	      @ ~/src/julia/Metatheory/test/test_while_interpreter.jl:17 [inlined]
	   [20] macro expansion
	      @ ~/src/julia-compiler/usr/share/julia/stdlib/v1.6/Test/src/Test.jl:1151 [inlined]
	   [21] top-level scope
	      @ ~/src/julia/Metatheory/test/test_while_interpreter.jl:17

How to reproduce:
Comment lines 7 and 8 in Metatheory.jl/test/runtests.jl
https://github.com/0x0f0f0f/Metatheory.jl/blob/a273d9ed6b7d88cadaa3d4f66299de3f3649d719/test/runtests.jl#L7-L8
uncomment last argument (cache module) in line 14 in Metatheory.jl/test/test_while_interpreter.jl
https://github.com/0x0f0f0f/Metatheory.jl/blob/a273d9ed6b7d88cadaa3d4f66299de3f3649d719/test/test_while_interpreter.jl#L14
Am I just initializing/using RGF in the wrong way? (here and also here)  I admit that I have done some weird hacks to achieve a behaviour that is partially close to dynamic scoped variable capturing (not technically closures but close to).

This is complex enough that a simpler reproducer will likely be necessary to narrow it down.

module Foo
using RuntimeGeneratedFunctions
const RGF = RuntimeGeneratedFunctions
RGF.init(@__MODULE__)
function genclosure(body, mod::Module)
    (mod != @__MODULE__) && !isdefined(mod, RGF._tagname) && RGF.init(mod)
    RuntimeGeneratedFunction(mod, mod, :(x -> $body))
end
function bar(n::Int; mod = @__MODULE__)
    f = genclosure(:(x * $n), mod)
    g = x -> 2 * f(x)
    g(3)
end
export bar
export genclosure

# also appears to error
macro baz()
    quote
        n -> bar(n, mod = $__module__)
    end
end
end

julia> using .Foo

# OK
julia> bar(3)
18

julia> bar(3, mod=@__MODULE__)
ERROR: MethodError: no method matching generated_callfunc(::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:x,), var"#_RGF_ModTag", var"#_RGF_ModTag", (0x346def3e, 0x769edc98, 0x33949a6f, 0xc294c197, 0xcea7fb6f)}, ::Int64)
The applicable method may be too new: running in world age 29602, while current world is 29605.
Closest candidates are:
  generated_callfunc(::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{argnames, cache_tag, var"#_RGF_ModTag", id}, ::Any...) where {argnames, cache_tag, id} at none:0 (method too new to be called from this world context.)
  generated_callfunc(::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{argnames, cache_tag, Main.Foo.var"#_RGF_ModTag", id}, ::Any...) where {argnames, cache_tag, id} at none:0
Stacktrace:
 [1] (::RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:x,), var"#_RGF_ModTag", var"#_RGF_ModTag", (0x346def3e, 0x769edc98, 0x33949a6f, 0xc294c197, 0xcea7fb6f)})(args::Int64)
   @ RuntimeGeneratedFunctions ~/.julia/packages/RuntimeGeneratedFunctions/tJEmP/src/RuntimeGeneratedFunctions.jl:92
 [2] (::Main.Foo.var"#3#4"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:x,), var"#_RGF_ModTag", var"#_RGF_ModTag", (0x346def3e, 0x769edc98, 0x33949a6f, 0xc294c197, 0xcea7fb6f)}})(x::Int64)
   @ Main.Foo ./REPL[1]:11
 [3] bar(n::Int64; mod::Module)
   @ Main.Foo ./REPL[1]:12
 [4] top-level scope
   @ REPL[4]:1

# Calling it again works
julia> bar(3, mod=@__MODULE__)
18

Yeah I don't think internal function definitions are allowed.

Im not sure I understood. Do you think there is a workaround?

I'm not sure. Make it a RuntimeGeneratedFunction?

Which function should be runtime generated? genclosure or bar?

All? I just don't think it's going to work out because generated functions need purity. But maybe you can fake it like that.

Thanks. It worked. It is hacky but really does the job:
module Foo
using RuntimeGeneratedFunctions
const RGF = RuntimeGeneratedFunctions
RGF.init(@__MODULE__)

function closure_gen(mod::Module)
    RuntimeGeneratedFunction((@__MODULE__), (@__MODULE__),
        :( body -> begin
            ($mod != @__MODULE__) && !isdefined($mod, RGF._tagname) && RGF.init($mod)
            RuntimeGeneratedFunction($mod, $mod, :(x -> $body))
        end
        ))
    end

function barr(n::Int; mod = @__MODULE__)
    f = (closure_gen(mod))(:(x * $n))
    g = x -> 2 * f(x)
    g(3)
end

export barr

end

Great!

Here's a generic version:
function closure_generator(mod::Module)
    RuntimeGeneratedFunction((@__MODULE__), (@__MODULE__),
    :( expr -> begin
        ($mod != @__MODULE__) && !isdefined($mod, RGF._tagname) && RGF.init($mod)
        RuntimeGeneratedFunction($mod, $mod, expr)
    end
    ))
end

The only problem is that in small reproducer it works as expected, in Metatheory.jl tests it still failed.
So, I had to add an Metatheory.init(mod::Module) function that calls closure_generator once. It feels quite hacky and I have a feeling that this could be greatly simplified.
Metatheory.init(mod) = closure_generator(mod)(:(x -> x))

Couldn't this behaviour be (sort of) integrated in the RGF package? My package tests (a lot, also about accessing values and dispatching methods in external modules in these "closures") are all passing after using this hack, the original issue was solved.

It probably could be, but I don't know if it needs to be.

Recall the closures example from GeneralizedGenerated.jl :
@gg function h(x, c)
    quote
        d = x + 10
        function g(x, y=c)
            x + y + d
        end
    end
end

h(1, 2)(1) # => 14

I managed to get the same behaviour. ITS REALLY UGLY THO, and I'm not sure if this would hold at all if mechanized. I think it's worth a try.
cgen = closure_generator

h = cgen(@__MODULE__)(:( (x, c) -> begin
   d = x + 10
   cgen(@__MODULE__)( :((x) -> x + $c + $d) ) # this doesnt convince me
   end
))

println(h(1,2)(1)) # => 14

Well... it's true you can get a certain kind of "closure" by creating an AST and interpolating the captures in there. Like any other use of RuntimeGeneratedFunction this will work in very particular circumstances where you don't need to create the AST more than a few times. But if you do this in a loop you'll quickly leak a lot of memory and may run into https://github.com/SciML/RuntimeGeneratedFunctions.jl/issues/13 or other problems.
To be honest, I feel like closure support within a RuntimeGeneratedFunction might be out of scope of this package as it requires the scope analysis pass of the compiler frontend. You can, however mix up normal closures and RGFs to bind slots of the RGF:
function foo(x)
    f = @RuntimeGeneratedFunction(:((y,z)->y+z^2))
    # bind `x` to the second slot of RGF `f`
    return y -> f(y,x)
end

When you're generating an AST, you've got control over whether that AST uses a closure as part of its implementation, so I think it may simply be best to avoid doing that if you want things to work smoothly with this package.

I am pretty sure OpaqueClosures can be used in generated functions, so perhaps that might be a better solution here?


UE Links are not working when 'Convert to Group Node'

Comfy recently added the possibility to convert multiple nodes into one. Ive been doing testing and it seems the the UE links are not working anymore when the new nodes are being created.
Has anyone experienced this issue as well ?
Is there a potential fix coming in soon ?

Yes, see #84. I'm travelling at the moment but making this work will be a priority. ETA late January.

Amazing Chris! Thank you so much. will test it now!


🐛 [Bug]: vue2引入图表组件时报错Error in mounted hook: "ReferenceError: cloneDeep is not defined"

Version
v3.17.0
Vue Version
2.6.7
Link to minimal reproduction

Step to reproduce
vue2引入图表组件时报错Error in mounted hook: "ReferenceError: cloneDeep is not defined"
What is expected
No response
What is actually happening
No response
What is your project name
喵仔
Any additional comments (optional)
No response

@opentiny/vue-chart-core/lib/index.js中有两处使用的cloneDeep方法，但是整体页面定义了cloneDeep$1和cloneDeep$2方法，放弃了cloneDeep导致报错cloneDeep is not defined，属于官方bug


Flash only by specifying .elf/.bin? (IDFGH-6515)

Is there a command with idf.py or any other that will allow me to flash my device by passing the .elf/.bin file to it? I don't want to rebuild the whole project and then flash.

What I'm trying to achieve is to build the project on a separate device and then transfer the build folder and flash it locally.

If you have the build directory, you can run the following (adjust port and baud rate as needed):
cd build
esptool.py --chip esp32 --port=/dev/ttyUSB0 --baud=921600 write_flash @flash_args

Here flash_args is a file inside build directory, containing addresses and names of files to flash. @ sign tells esptool to read arguments from that file.
For this you only need esptool installed, not the whole esp-idf. You can install esptool using pip.

We have also a related documentation page which might help: https://docs.espressif.com/projects/esptool/en/latest/esp32/esptool/flashing-firmware.html
Here is a page about how to install standalone esptool without ESP-IDF: https://docs.espressif.com/projects/esptool/en/latest/esp32/installation.html

esptool.py --chip esp32 --port=/dev/ttyUSB0 --baud=921600 write_flash @flash_args

Yepp this works fine. Thanks!


File provider at /config/traefik/ is no longer accessible

After updating my HASS instance and containers for the first time in months, suddenly multiple pieces are no longer functioning as intended. I've narrowed down some of the problems to Traefik's file provider not being used to pick up custom subdomains/redirects from files, previously at /config/traefik/ internally. It's not clear where they're meant to be by default, can you offer any suggestions for places to look or means to reset?
time="2022-06-21T17:45:49-05:00" level=info msg="Starting provider *file.Provider"
time="2022-06-21T17:45:49-05:00" level=error msg="Cannot start the provider *file.Provider: unable to read directory /config/traefik/: open /config/traefik/: no such file or directory"

Hi @SalmonSays,
Thanks for reporting this issue. Can you please check if you have a /traefik/ folder inside of your Home Assistant config directory containing a file with Traefik dynamic configuration as per the example?


yaml: Use variables to specify paths to domains

Use %{*_DIR} to make easier customization of the root folder
of supported components.

Tested by the build of Dom0, DomD, DomU, DomA and DomZ. All domains were built successfully.

Reviewed-by: Volodymyr Babchuk<EMAIL_ADDRESS>Thanks. I had to do this at the very beginning....

RB is added.
Tested.
Ready to be merged.


Bbox colours

Added unique colours for different objects that were detected. Note that bbox labels and show labels are made compulsory to accommodate the use of the labels to get the colour of each bbox. As such, minor changes are also made to group and tag to match these changes.

LGTM


Improve search functionality using debounce

Notes for Reviewers
This PR fixes #

Search functionality using debounce and improves the doc for debounce.js
Scaling issue for icon

Signed commits

[x] Yes, I signed my commits.

hey @sudhanshutech
Let's discuss this on Meshery Dev call. Please add this as an agenda item in the meeting minutes if you would. :)


CDSv2 fixes, and parity with v1alpha3

Fix incorrect cluster generation for CDS. Also add support for configuring LB policies, TLS settings using DestinationRules.
Set the H2 upgrade to use the downstream protocol for the moment.
Signed-off-by: Shriram Rajagopalan<EMAIL_ADDRESS>

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: costinm
Assign the PR to them by writing /assign @costinm in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rshriram: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
c1bccb74c81349a7cb29a168c61c66d76ff1fc91
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
c1bccb74c81349a7cb29a168c61c66d76ff1fc91
link
/test istio-pilot-e2e

prow/istio-pilot-e2e-v1alpha3.sh
c1bccb74c81349a7cb29a168c61c66d76ff1fc91
link
/test istio-pilot-e2e-v1alpha3

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Decouple dns cache

Decouple dns cache
Description
Refactor DNS and add Unit Test
Test Steps
All Unit Tests passes
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Hello Alfred, thanks for this great job you are doing.
There is one thing I do not understand: there are 2 versions of FreeRTOS_DNS.c: one in the root directory, and one in DNS/.
I assume you will remove the one in the root directory?
This I like in DNS/FreeRTOS_DNS.c:
#include "DNS/DNS_Cache.h"
#include "DNS/DNS_Parser.h"
#include "DNS/DNS_Networking.h"
#include "DNS/DNS_Callback.h"

You also include the sub directory DNS/, which saves me one -I option.
I hope that the applications does not have to change anything to the #include statements?
Thanks so far


Find a more robust way to handle the tar extraction of the downloaded files

The current way the repo files are extracted after they are downloaded is prone to errors. I've spent four hours today debugging https://github.com/paulrberg/create-eth-app/issues/135, thinking that the issue is related to Jest or GitHub Actions, whereas in fact that was caused by a bug in the getRefs function.  Read the comments I left in the issue for more details.
To-dos:

[ ] Find or build an external package that can handle the parsing of the GitHub ref used to download the repo files from codeload.github.com
[ ] Make the getRefs function less bloated

See Node.js package for extracting branch name from git ref.

The getRefs must definitely be overhauled such that ref is always the branch name itself, and it is not prefixed with refs/heads. Ditto for tags, remotes, etc.


Feat/move reducers to TS

Reducers have been updated to TypeScript.
We implemented simple typings to better understand what type of data we expect in each reducer. Additionally, we changed the previous reducer's switch case-based approach to a config-driven version.
Finally, we modified the methods to select the handler based on the previously established config-driven approach.

All disclaimer has been updated @InoMurko

Reopen if fixed.


Fix issues with building Content

Move Content to GeonBit.UI.Examples and delete xcopy command in the csproj file which is broken when compiled with a fresh repository clone
Move exe icon to GeonBit.UI.Examples
Add GeonBit.UI.DataTypes.dll alongside the Content.mgcb file in GeonBit.UI.Examples. This is a workaround for MonoGame issue #6509: https://github.com/MonoGame/MonoGame/issues/6509
Delete unnecessary content and icon files in GeonBit.UI.DataTypes project

Thanks @DireAussie


More module attributes

A couple of "builtin globals" (actually module attributes) are missing highlighting: __loader__, __spec__, __path__ and __cached__ (see https://docs.python.org/3/reference/import.html#import-related-module-attributes).

This has been fixed over at the fork vim-python/python-syntax.


Semux Unicode Folder Problem

I copied my semux folder and put a different name to it with unicode.

After i started the semux wallet in the new folder, it started to synchronize from the beginning but there was a database folder in it.
So i checked and see, it opened a new folder and create a new database in it.

Operation system: Windows 10 / 64bit Turkish

can you try adding "-Dfile.encoding=UTF-8" to your semux.bat and see if that works?  (I don't have windows)
Thanks for the report!


Is there any custom type cast defined for xtensor and xarray?

I tried this based on example 1, but it seems that there no type casters like pybind11's stl.h which will auto-cast std::vector and etc. to python types.
double _sum_of_sines(xt::xarray<double> &m)
{
  auto sines = xt::sin(m);
  return std::accumulate(sines.cbegin(), sines.cend(), 0.0);
}

double sum_of_sines(xt::pyarray<double> &m)
{
  return _sum_of_sines(m.cast<xt::xarray<double>>());
}

You don't need them actually. You can simply make _sum_of_sines tahe an argument of type xexpression<D> and it will work with any array expression including xarray, pyarray and others (expressions backed by file system operations, data base calls, or comouted on the fly like linspace).
You can read the blog post on polyglot scientific comouting with xtensor.

Writing your generic code with expressions as inputs will make it more generic and allow for exposing it to julia and R as well.

@SylvainCorlay  What do you mean take an argument of type xexpression<D>? But this won't compile...
template <typename D>
double _sum_of_sines(xt::xexpression<D> &m)
{
  auto sines = xt::sin(m);
  return std::accumulate(sines.cbegin(), sines.cend(), 0.0);
}

double sum_of_sines(xt::pyarray<double> &m)
{
  return _sum_of_sines(m);
}

And I just read how xmath.h implemented, I got this one works:
template <typename E>
double _sum_of_sines(E &&m)
{
  auto sines = xt::sin(m);
  return std::accumulate(sines.cbegin(), sines.cend(), 0.0);
}

double sum_of_sines(xt::pyarray<double> &m)
{
  return _sum_of_sines(m);
}

Hey @Roger-luo ,
I believe you're missing a derived_cast().
Like this:
template <typename D>
double _sum_of_sines(xt::xexpression<D> &m)
{
  auto& d_arr = m.derived_cast();
  auto sines = xt::sin(d_arr);
  return std::accumulate(sines.cbegin(), sines.cend(), 0.0);
}

You can check out the article here:
http://quantstack.net/c++/2017/05/30/polyglot-scientific-computing-with-xtensor.html
This is something that we will be adding to the narrative documentation soon.

@wolfv Oh, thanks, it works. So I guess both implementation would works. But I have to specify the type to be xexpression<pyarray<double>> while binding it to python according to the post.
@SylvainCorlay this is a really cool post. I'm developing a quantum many-body physics toolkit and I was trying to write something similar based on mshadow, just find your guys have already done. I'll continue my project with your package. Thanks a lot.

@SylvainCorlay  BTW, the example in the post does not compile. there is no need for xexpression in the binding part.
The original example won't compile, because previously pyarray is defined here
namespace py = pybind11;
using pyarray_type = xt::pyarray<double>;

the following is actually not correct.
template <class E1, class E2>
double xprocess(const xt::xexpression<E1>& e1,
                const xt::xexpression<E2>& e2)
{
    const E1& m1 = e1.derived_cast();
    const E2& m2 = e2.derived_cast();
    // Operate on m1 and m2 using the numpy-style xtensor API.
}

PYBIND11_PLUGIN(cppprocess)
{
    xt::import_numpy();
    py::module m("cppprocess", "cppprocess extension module");
    m.def("process", xprocess<xt::xexpression<pyarray_type>,
                              xt::xexpression<pyarray_type>>);
    return m.ptr();
}

I get this one works
template <class E1, class E2>
double xprocess(const xt::xexpression<E1> &e1,
                const xt::xexpression<E2> &e2)
{
  const E1 &m1 = e1.derived_cast();
  const E2 &m2 = e2.derived_cast();
  // Operate on m1 and m2 using the numpy-style xtensor API.
}

template <typename DType>
using pyarray = typename xt::pyarray<DType>;
PYBIND11_MODULE(_core, m)
{

  m.doc() = "qmtk c++ core";

  xt::import_numpy();
  m.def("sum_of_sines", xprocess<pyarray<double>, pyarray<double>>,
        "Sum the sines of the input values");
}

Note: the difference with the macros used are due to the post being quite old, and APIs of pybind11 having changed in the mean time.
We will include the tutorial in the documentation soon which will evolve with the code base and dependencies.


Feature Request: Add a Way to Edit Existing Prompt

I have an existing prompt that I would like to edit, but the current UI does not offer a way to edit existing prompts. It would be great to have a way to edit existing prompts so that users could adjust or customize them to their preferences.
Relevant Issue Details

Feature Name: Add a way to edit existing prompt
Description: Allow users to edit existing prompts
Use Case: Give users more control over their prompt customization

Hi @cquanu , I added some basic edit functionality. For the moment it basically copied the prompt with their parameter in the Prompt Design textbox, but it will not delete the old one when the user change parameters. I am not sure if it would be better to also remove the previous one as well, or is better like this, so that one can have both instances. What do you think?

I think that's fine. Maybe you can follow the OpenAI playground concept where there's an save and save as new button.


Error if initiator leaves

in a video conference if the initiator leaves (e.g if initiator reloads the page ) then all other users get following error.
Uncaught TypeError: Cannot read property 'iceConnectionState' of nullPeerInitiator.peer.oniceconnectionstatechange.peer.onsignalingstatechange @ RTCMultiConnection.js:2537

sometimes there is another error for maximum call stack exceeded - at peer.nativeClose() line

I am still not sure if this will cause further issues, but the problem seems to be in this function:
peer.oniceconnectionstatechange = peer.onsignalingstatechange = function() {...}
Simply wrapping a if(peer){...} around the function body seems to prevent the error without any observed consequences so far, but I have not tested this thoroughly. I think the possible reason for the error is that the current code does not take into account that the "peer" object can be removed by some external code when the remote peer is disconnected.


Vision: RGBD image segmentation

Idea: YOLO based image segmentation + centroid pixel depth lookup to find the ball.
question: given a depth/pointcloud point, how do we find a transformation to target?

[ ] Get YOLO setup on node
[ ] Train YOLO for golf ball...?

This is likely pretrained in ImageNet so we'll find out

[ ] Bounding box and centroid detection
[ ] 3D Deprojection
[ ] Ball center compensation
[ ] Return Camera_tf for ball

From Hackathon pen thing - realsense:
def target_acquisition(self):
    centroid, depth, depth_frame = self.get_centroid_and_depth()
    print(centroid, depth)

    if centroid != None:

        # deproject 2d points to 3d space
        intrinsics = depth_frame.profile.as_video_stream_profile().intrinsics
        point_pos = rs.rs2_deproject_pixel_to_point(intrinsics, [centroid[0], centroid[1]], depth)
        return point_pos
    else:
        return None

Migrating target acquisition to another ticket.


Change station and data source schemas to return only ids of species

Currently, both those objects return species with their full set of attributes, which makes their endpoints slow.

So for this, we would need to either update the existing or create a new Object which will only return the list of ID of species. So we can add a new SpeciesIDOnly class which extends the BaseModel containing only id parameter and reference that in DataSourceInDB's species's list

So for this, we would need to either update the existing or create a new Object which will only return the list of ID of species. So we can add a new SpeciesIDOnly class which extends the BaseModel containing only id parameter and reference that in DataSourceInDB's species's list

Let's try updating the existing schemas first. If we face a case that requires the current models' structures, we can include them later.

I was talking about the schemas, where we can add a new schema for Species containing only id