chore: use biomejs instead of eslint + prettier

PR includes:

Biomejs installation with default configuration
Fixes of existing files with found errors
Disabling pre-commit hook

I decided to go with default linting configuration that Biomejs provides. I find it comprehensive, as it covers common JS, TS and React cases.
On other hand I imported format rules from prettier, because biomejs has quite different format rules and I didn't want to change code drastically. Overall format rules is a matter of taste.
Follow-up PR will include removal of prettier and eslint tools.

:tada: This PR is included in version 1.1.4 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


[TVMC] Allow optional arguments to be passed to importers

This PR adds the ability to pass optional arguments to importers within TVMC. For example, onnx importers have a "freeze_params" argument that is useful for supporting certain models.
This change is aimed at making TVMC more useful when called from python, but doesn't impact the command line experience.

@leandron @jwfromm @mdw-octoml
Could you take a look at this PR?


refactor: metrics exporter, add logging, v1 grpc support

Add v1 api support, configurable by arg.
Add proper logging, using tracing.
Restructure code.
Remove rpc folder and submodule, as rpc can be taken from control-plane submodule itself.

Signed-off-by: Abhinandan Purkait<EMAIL_ADDRESS>

bors try

bors merge


[terra-form-radio-field] Fixed redundant labeling announcement issue

Summary
Previously, when navigating between the two radio buttons, the screen reader would read the name of the radio button and then the label every time after the name of the radio button. With this fix, the issue has been resolved, and the screen reader now reads the label only the first time when we move focus to the radio group.
What was changed:
Fixed redundant labeling announcement issue.
Why it was changed:
Testing

This change was tested using:

[ ] WDIO
[ ] Jest
[ ] Visual testing (please attach a screenshot or recording)
[ ] Other (please describe below)
[ ] No tests are needed

Reviews
In addition to engineering reviews, this PR needs:

[ ] UX review
[ ] Accessibility review
[ ] Functional review

Additional Details

This PR resolves:
UXPLATFORM-10217

Thank you for contributing to Terra.
@cerner/terra

+1, accessibility review for Terra form Radio field component.


console.log in several places

I seem to be seeing several debug logs. Not sure if they are supposed to be there - I would presume not.
Running 0.9.6 using the direct

Hi @alexgurr. I'll build in an option to suppress console.log messages in the next minor version release.


Same result for different index...

Because of wrong condition method temporary return same result for index 0 and 1

Nope -- that's not how it works. See the line right above: if name.length > 1


Migrate pallet-nicks to pallet attribute macro.

Part of #7882.
Converts the Nicks pallet to the new pallet attribute macro introduced in #6877.
Following the upgrade guidelines here: https://crates.parity.io/frame_support/attr.pallet.html#upgrade-guidelines.
⚠ Breaking Change ⚠
From https://crates.parity.io/frame_support/attr.pallet.html#checking-upgrade-guidelines

storages now use PalletInfo for module_prefix instead of the one given to decl_storage: Thus any use of this pallet in construct_runtime! should be careful to update name in order not to break storage or to upgrade storage (moreover for instantiable pallet). If pallet is published, make sure to warn about this breaking change.

So users of the Nicks pallet must be careful about the name they used in construct_runtime!. Hence the runtime-migration label, which might not be needed depending on the configuration of the Nicks pallet.

bot merge


Unable to build

I was unable to build the project using cargo build from master branch:
$ cargo build
...
   Compiling mdbook-d2 v0.2.1 (/home/dompegam/ws/mdbook-d2)
error[E0277]: the trait bound `Value: From<toml::map::Map<std::string::String, toml::value::Value>>` is not satisfied
  --> src/backend.rs:69:34
   |
69 |         let value: toml::Value = ctx.config.get_preprocessor("d2").unwrap().clone().into();
   |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---- required by a bound introduced by this call
   |                                  |
   |                                  the trait `From<toml::map::Map<std::string::String, toml::value::Value>>` is not implemented for `Value`
   |
   = help: the following other types implement trait `From<T>`:
             <Value as From<&'a str>>
             <Value as From<BTreeMap<S, V>>>
             <Value as From<HashMap<S, V>>>
             <Value as From<Vec<V>>>
             <Value as From<bool>>
             <Value as From<f32>>
             <Value as From<f64>>
             <Value as From<i32>>
           and 7 others
   = note: required for `toml::map::Map<std::string::String, toml::value::Value>` to implement `Into<Value>`

For more information about this error, try `rustc --explain E0277`.
error: could not compile `mdbook-d2` due to previous error

Based on some googling it seems that it seems from a change in the toml crate. I downgrade it to 0.5.10 in Cargo.toml and was able to build fine. However my rust-foo is not good enough yet to figure out a way to solve it.

Ah yep. That's due to upstream mdbook bumping the toml dependency and then reverting it again after I updated this library...
I'll need to re-release to fix. Should be able to do that by tomorrow


License?

Hello,
Our company is interested in setting up a private instance of houndci. We noticed though that this repository didn't mention a license whereas the houndci/hound repository did. Have you considered adding an open source license for this project, or was it an intentional omission?
Thank you!

Just an omission. The license for this repo should be the same as houndci/hound.


Modal custom props

Summary
Custom props are now added to the modal, not the portal component.
Resolves: https://github.com/cerner/terra-core/issues/625
Thanks for contributing to Terra.
@cerner/terra

@benbcai @dkasper-was-taken You two have been looking at getting the datepicker working inside of the modal. Do you need the ability to add custom props on the portal component?

@Matt-Butler No, I don't have any need to add custom props to the portal component.


ubuntu won't launch after first use

I've been trying to get it work for a little while now. It will work fine the first time I boot it but when I try to launch it again I get the error below. I have tried xfce, unity, and kde and as far as I know its the same error on every one of them.

chronos@localhost / $ sudo startunity
Entering /mnt/stateful_partition/crouton/chroots/precise...
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-61-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Jan 6 22:10:17 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashtree=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=5dbeabc47ff66a2119a6ea1d4e0d51618a5813b3 salt=5f14cea1890a61628725a31558d6ae63b10f55d7dba1988f6924212daf59ad8c" noinitrd vt.global_cursor_default=0 kern_guid=84722435-30e5-b749-af34-ea11ee60b6a9 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:01PM
xorg-server 2:1.11.4-0ubuntu10.17 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Jan 15 18:27:08 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
ddxSigGiveUp: Closing log
Server terminated with error (1). Closing log file.
^C/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: No such file or directory
/usr/bin/xinit: unexpected signal 2
Unmounting /mnt/stateful_partition/crouton/chroots/precise...

I've downloaded the latest crouton build and am currently downloading that to see if that fixes the issue

The issue was that I had an old version of crouton. For people having the same issue, update your crouton and it should work

I updated my crouton and it still did the same thing

chronos@localhost / $ sudo startxfce4
Entering /mnt/stateful_partition/crouton/chroots/precise...
/usr/bin/startxfce4: Starting X server
_XSERVTransmkdir: Owner of /tmp/.X11-unix should be set to root
X.Org X Server 1.11.3
Release Date: 2011-12-16
X Protocol Version 11, Revision 0
Build Operating System: Linux 2.6.42-61-generic x86_64 Ubuntu
Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Jan 6 22:10:17 PST 2016 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashtree=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=5dbeabc47ff66a2119a6ea1d4e0d51618a5813b3 salt=5f14cea1890a61628725a31558d6ae63b10f55d7dba1988f6924212daf59ad8c" noinitrd vt.global_cursor_default=0 kern_guid=84722435-30e5-b749-af34-ea11ee60b6a9 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
Build Date: 12 February 2015  02:49:01PM
xorg-server 2:1.11.4-0ubuntu10.17 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.30.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Fri Jan 15 21:19:34 2016
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
Fatal server error:
no screens found
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
ddxSigGiveUp: Closing log
Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: No such file or directory
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/precise...

@wgustlin,
Fatal server error:
no screens found

So what did /tmp/Xorg.crouton.1.log say?
Regards.

[  4129.234] _XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
[  4129.236]
X.Org X Server 1.11.3
Release Date: 2011-12-16
[  4129.236] X Protocol Version 11, Revision 0
[  4129.236] Build Operating System: Linux 2.6.42-61-generic x86_64 Ubuntu
[  4129.236] Current Operating System: Linux localhost 3.10.18 #1 SMP Wed Jan 6 22:10:17 PST 2016 x86_64
[  4129.236] Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure oops=panic panic=-1 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 2506752 verity payload=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashtree=PARTUUID=84722435-30e5-b749-af34-ea11ee60b6a9/PARTNROFF=1 hashstart=2506752 alg=sha1 root_hexdigest=5dbeabc47ff66a2119a6ea1d4e0d51618a5813b3 salt=5f14cea1890a61628725a31558d6ae63b10f55d7dba1988f6924212daf59ad8c" noinitrd vt.global_cursor_default=0 kern_guid=84722435-30e5-b749-af34-ea11ee60b6a9 add_efi_memmap boot=local noresume noswap i915.modeset=1 tpm_tis.force=1 tpm_tis.interrupts=0 nmi_watchdog=panic,lapic
[  4129.237] Build Date: 12 February 2015  02:49:01PM
[  4129.237] xorg-server 2:1.11.4-0ubuntu10.17 (For technical support please see http://www.ubuntu.com/support)
[  4129.237] Current version of pixman: 0.30.2
[  4129.237] 	Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
[  4129.237] Markers: (--) probed, () from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[  4129.237] (++) Log file: "/tmp/Xorg.crouton.1.log", Time: Mon Jan 18 21:21:49 2016
[  4129.240] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[  4129.242] (==) No Layout section.  Using the first Screen section.
[  4129.242] (==) No screen section available. Using defaults.
[  4129.242] () |-->Screen "Default Screen Section" (0)
[  4129.242] () |   |-->Monitor ""
[  4129.243] (==) No device specified for screen "Default Screen Section".
Using the first device section listed.
[  4129.243] () |   |-->Device "Intel Graphics SNA+TearFree"
[  4129.243] (==) No monitor specified for screen "Default Screen Section".
Using a default monitor configuration.
[  4129.244] (==) Automatically adding devices
[  4129.244] (==) Automatically enabling devices
[  4129.246] (WW) The directory "/usr/share/fonts/X11/cyrillic" does not exist.
[  4129.246] 	Entry deleted from font path.
[  4129.246] (WW) The directory "/usr/share/fonts/X11/100dpi/" does not exist.
[  4129.246] 	Entry deleted from font path.
[  4129.246] (WW) The directory "/usr/share/fonts/X11/75dpi/" does not exist.
[  4129.246] 	Entry deleted from font path.
[  4129.247] (WW) The directory "/usr/share/fonts/X11/100dpi" does not exist.
[  4129.247] 	Entry deleted from font path.
[  4129.247] (WW) The directory "/usr/share/fonts/X11/75dpi" does not exist.
[  4129.247] 	Entry deleted from font path.
[  4129.247] (WW) The directory "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType" does not exist.
[  4129.247] 	Entry deleted from font path.
[  4129.247] (==) FontPath set to:
/usr/share/fonts/X11/misc,
/usr/share/fonts/X11/Type1,
built-ins
[  4129.247] (==) ModulePath set to "/usr/lib/x86_64-linux-gnu/xorg/extra-modules,/usr/lib/xorg/extra-modules,/usr/lib/xorg/modules"
[  4129.247] (II) The server relies on udev to provide the list of input devices.
If no devices become available, reconfigure udev or disable AutoAddDevices.
[  4129.247] (II) Loader magic: 0x7fb9c6412b00
[  4129.247] (II) Module ABI versions:
[  4129.247] 	X.Org ANSI C Emulation: 0.4
[  4129.247] 	X.Org Video Driver: 11.0
[  4129.247] 	X.Org XInput driver : 16.0
[  4129.247] 	X.Org Server Extension : 6.0
[  4129.247] (--) PCI:*(0:0:2:0) 8086:0f31:8086:0f31 rev 14, Mem @ 0xd0000000/4194304, 0xc0000000/268435456, I/O @ 0x00001000/8
[  4129.248] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[  4129.248] (II) LoadModule: "extmod"
[  4129.249] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
[  4129.251] (II) Module extmod: vendor="X.Org Foundation"
[  4129.251] 	compiled for 1.11.3, module version = 1.0.0
[  4129.251] 	Module class: X.Org Server Extension
[  4129.251] 	ABI class: X.Org Server Extension, version 6.0
[  4129.251] (II) Loading extension MIT-SCREEN-SAVER
[  4129.251] (II) Loading extension XFree86-VidModeExtension
[  4129.251] (II) Loading extension XFree86-DGA
[  4129.251] (II) Loading extension DPMS
[  4129.251] (II) Loading extension XVideo
[  4129.251] (II) Loading extension XVideo-MotionCompensation
[  4129.251] (II) Loading extension X-Resource
[  4129.251] (II) LoadModule: "dbe"
[  4129.251] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
[  4129.252] (II) Module dbe: vendor="X.Org Foundation"
[  4129.252] 	compiled for 1.11.3, module version = 1.0.0
[  4129.252] 	Module class: X.Org Server Extension
[  4129.252] 	ABI class: X.Org Server Extension, version 6.0
[  4129.252] (II) Loading extension DOUBLE-BUFFER
[  4129.252] (II) LoadModule: "glx"
[  4129.252] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[  4129.256] (II) Module glx: vendor="X.Org Foundation"
[  4129.256] 	compiled for 1.11.3, module version = 1.0.0
[  4129.256] 	ABI class: X.Org Server Extension, version 6.0
[  4129.256] (==) AIGLX enabled
[  4129.257] (II) Loading extension GLX
[  4129.257] (II) LoadModule: "record"
[  4129.257] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
[  4129.258] (II) Module record: vendor="X.Org Foundation"
[  4129.258] 	compiled for 1.11.3, module version = 1.13.0
[  4129.258] 	Module class: X.Org Server Extension
[  4129.258] 	ABI class: X.Org Server Extension, version 6.0
[  4129.258] (II) Loading extension RECORD
[  4129.258] (II) LoadModule: "dri"
[  4129.258] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
[  4129.262] (II) Module dri: vendor="X.Org Foundation"
[  4129.262] 	compiled for 1.11.3, module version = 1.0.0
[  4129.262] 	ABI class: X.Org Server Extension, version 6.0
[  4129.262] (II) Loading extension XFree86-DRI
[  4129.262] (II) LoadModule: "dri2"
[  4129.262] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
[  4129.263] (II) Module dri2: vendor="X.Org Foundation"
[  4129.263] 	compiled for 1.11.3, module version = 1.2.0
[  4129.263] 	ABI class: X.Org Server Extension, version 6.0
[  4129.263] (II) Loading extension DRI2
[  4129.263] (II) LoadModule: "intel"
[  4129.264] (WW) Warning, couldn't open module intel
[  4129.264] (II) UnloadModule: "intel"
[  4129.264] (II) Unloading intel
[  4129.264] (EE) Failed to load module "intel" (module does not exist, 0)
[  4129.264] (==) Matched intel as autoconfigured driver 0
[  4129.264] (==) Matched vesa as autoconfigured driver 1
[  4129.264] (==) Matched fbdev as autoconfigured driver 2
[  4129.264] (==) Assigned the driver to the xf86ConfigLayout
[  4129.264] (II) LoadModule: "intel"
[  4129.265] (WW) Warning, couldn't open module intel
[  4129.265] (II) UnloadModule: "intel"
[  4129.265] (II) Unloading intel
[  4129.265] (EE) Failed to load module "intel" (module does not exist, 0)
[  4129.265] (II) LoadModule: "vesa"
[  4129.266] (WW) Warning, couldn't open module vesa
[  4129.266] (II) UnloadModule: "vesa"
[  4129.266] (II) Unloading vesa
[  4129.266] (EE) Failed to load module "vesa" (module does not exist, 0)
[  4129.266] (II) LoadModule: "fbdev"
[  4129.266] (WW) Warning, couldn't open module fbdev
[  4129.266] (II) UnloadModule: "fbdev"
[  4129.266] (II) Unloading fbdev
[  4129.266] (EE) Failed to load module "fbdev" (module does not exist, 0)
[  4129.266] (EE) No drivers available.
[  4129.266]
Fatal server error:
[  4129.266] no screens found
[  4129.266]
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
[  4129.266] Please also check

I'm new to all this so that may not be the right thing.

As your log shown above, an intel driver might not be installed properly. If you've already started over re-installing, please see the messages remained in crosh within installation carefully. There might be something wrong with finishing processes of install...
Regards.

I had that problem all you have to do is update the chroot try this udo sh ~/Downloads/crouton -u -n precise


MatchSnapshot

I have the Matchsnapshot working, but it fails the test.

https://issues.redhat.com/projects/HACBS/issues/HACBS-2306?filter=allopenissues

A few other notes and suggestions:

Let's give the PR a title that better explains what it's about.
A link to the Jira, or just a mention of the Jira key in the PR description is a nice convention to follow.
And conversely, (if you didn't already), there's a field in JIRA called "Git Pull Request" where you can paste in a link to this PR so it's easier to find from Jira.

@seanconroy2021 what's with the name of the snapshot files? I see some extra quotes: features/__snapshots__/"track_bundle".snap

@lcarva trying to figure that out myself. When I run the acceptance tests, they output like features/snapshots/"track_bundle".snap .

@seanconroy2021 , I believe this is the Jira story for this change: https://issues.redhat.com/browse/HACBS-2256
Let's add a reference to it in the commit message as Simon suggested earlier.
(I'll pull it into the sprint and assign to you as well)

This should work, though I wonder if the change should go to acceptance/snaps/snaps.go instead and apply to any JSON-like snapshot?
We could merge this and refactor to that once the tests go green...

@seanconroy2021 are we done here, is this now ready for review?
@mbestavros @simonbaird @lcarva fancy having a look and reviewing?


Avoid OAK-D at all cost

It's been one year since OAK-D has come into existence. I must say that this is the worse SDK and product that I have ever bought when it comes to depth cameras. The API is too verbose and a joke. It has imu but it doesn't even have an official support for slam.  ZED is a lot better. Since I brought it, I never got to use it even as a webcam to monitor my puppy due to the subpar quality and lack of proper documentation. Everything relies entirely upon the third party contributors. Whatever we might ask, they redirect us to some third party providers and not the official support. for instance the slam. Very much disappointed.

Hello @Zumbalamambo , we are sorry that you feel this way about our cameras/library. First off, we provide full refund if you would like to return the device, please email us at<EMAIL_ADDRESS>Regarding verbose API - we try to be a platform with many different use-cases, that's why the API is so verbose, as at least someone found the any setting/configuration useful or required for his/her project. We are trying to abstract the API with the DepthAI-SDK, which is already released and actively being improved. If you have any suggestions, please feel free to open an Issue or share it on Discord. Regarding out-of-the-box SLAM - it's quite difficult to develop it (to run permanently) and requires a ton of engineering effort/cost - that's why we didn't take it on straight away. We are, however, currently working on on-device VIO, which could later be expended to SLAM as well.
Thoughts?
Thanks, Erik

@Luxonis-Brandon Wow! Great demonstrations!! 👏

I hate to pile on but I used several Oak-D's out of the box and I wondering why this issue isn't closed or updated?

@k3street
No particular reason - the above post was meant as that update. I'll close this issue now.


move repositories to organization account

All adf repositories should, be moved to an organization account. This change makes it easier to find adf related repositories.

[x] create organization account
[x] transfer angular-dashboard-framework repository
[x] transfer adf-structures-base
[x] transfer adf-widget-registry
[x] transfer generator-adf-widget
[x] transfer adf-widget-table
[x] transfer adf-widget-weather
[x] transfer adf-widget-version
[x] transfer adf-widget-randommsg
[x] transfer adf-widget-news
[x] transfer adf-widget-markdown
[x] transfer adf-widget-linklist
[x] transfer adf-widget-github
[x] transfer adf-widget-clock
[x] transfer adf-dynamic-example
[x] transfer adf-widget-iframe
[x] transfer ng-annotate-adf-plugin
[x] check travis
[x] check coveralls
[x] check versioneye
[ ] check bower
[x] check gitter
[ ] logo for the organization account

Account created: angular-dashboard-framework

travis has changed the repository name and is working as expected.

bower seems to work, but it uses the old urls for download (this works only because of github redirects every request to the old repositories). We have to check how we can change the repository urls.

The missing logo is handled in a separate issue: #165.


How to use USB web camera

Please tell me how to use USB web camera instead of RPI On board camera as well as how view the screen on mirror instead of local web server.
Thank you

To use the Pi Camera set piCamera to true and install the package picamera pip install "picamera[array]"

By default it's already using the USB camera connected to your raspberry pi.
I don't get what you are trying to say after that but I would recommend to try and test things up on your home computer before tweaking the config directly on the mirror screen.

I found this following issue during setup my palm.

For the second screenshots it seems it cannot find the key hsv_dec_blue from the config file. Did you change it by mistake maybe ?
For the first one it appears OpenCV failed on some function.
What's your Python and OpenCV version ?

I am using opencv2 and python 2.7
Sent from my iPhone

On 08-Mar-2017, at 10:40 PM, Raphael Monnerat<EMAIL_ADDRESS>wrote:
For the second screenshots it seems it cannot find the key hsv_dec_blue from the config file. Did you change it by mistake maybe ?
For the first one it appears OpenCV failed on some function.
What's your Python and OpenCV version ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I used Python 3 for this project and Open CV 2.7 if I remember correctly. Can you try with those version ?

Hello,
I am able to run the project but cannot use the picamera. It is not recognizing any hand gestures under many lighting changes. Also, I can select using a mouse. Do let me know where I am going wrong. Any help is appreciated. Thanks

I need more details on this @nitzjain.
Is there a video feedback ? Did you try with an USB webcam ?
You speak of lighting changes, if you get to this point you have to tweak the settings as specified in the README for different lighting/color environment.

Hello Raphael,
Thank you for getting back to me so soon.
To answer your questions:
-I am using a PiCamera, attached directly on my raspberry pi3.(I tested the
camera with a simple python code to capture an image)
-I am able to run the npm start and node server.js commands. I am able to
see the start screen in the browser.
Now I cannot use the Picamera for gesture control. I tried changing the
config.py code : useCameraBoard': False, to useCameraBoard': True, but to
no use.
I would appreciate any help to be able to use the picamera for gesture
control.
Thanks
Nitesh Jain

Did you install the picamera array module for python (see README) ?
Is there any error message displayed when you launch it ?

I checked everything again, still it doesn't work.
I have attached a screenshot of the installation.
There is no error when I run the web browser but for while running , I can
only use mouse pointer and not a gesture from picamera.
On Fri, Mar 31, 2017 at 7:53 AM, Raphael Monnerat<EMAIL_ADDRESS>wrote:

Did you install the picamera array module for python (see README) ?
Is there any error message displayed when you launch it ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Shinao/SmartMirror/issues/5#issuecomment-290642892,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AY8wCcS7agdD7uohhxe8JTxiBdOhijJrks5rrLDvgaJpZM4MPnn-
.

The web browser app has nothing to do with the hand recognition feature. It only get messages from the python app that do track it. What happens when you launch the python program ?
Can't see your screenshot in your message.

I hope you can view the screenshot now. After I run the command, I get "Server listening to port 3000" and I can see the magic mirror once I goto localhost:3000, but I cannot use the gesture feature.

You have to run the python server to get the hand gesture recognition
python test.py
What do you get from that command ?

Hello , my problem is my usb webcam works however it is too slow therefore cannot track my palm properly, is there anyway i could increase the cameras framerate per second?

You could manually decrease the resolution and framerate in config.py.
If you are running test.py on your raspberry pi it is normal that it is stuttering : this debug program is really ressources intensive and is only to be used to setup your environment on your main computer to avoid the suffering of doing it on your pi. When the setup is complete you only have to launch main.py.

thanks for the quick reply, what if i am using a usb webcam? config.py does not help me much in that case

Indeed. In anyway I would suggest to test on your main PC and run on the pi when the setup is complete.

Thanks again, i took your advice and kept receiving the following error (paramMinMaxPalm:13413): Gtk-WARNING **: cannot open display

I need more infos on your errors. On what machine do you test it ? Are you launching test.py or setup.py ?
Please launch test.py on your main PC to try to setup before doing anything on the pi.

on ubunto on a windows operating system , as well as I have tried it  on a mac terminal, I am launching test.py

I used Python 3 for this project and Open CV 2.7 if I remember correctly. Are you using those ?

Im using open cv 3.2.1, so my main question is how did you set up open CV on your PC for test.py?
as i keep recieving errors on that part

I did not use this version because it was to new at the time. The 2.7 has many tutorials to install it on Linux and Windows. Can't really give you a step by step, you should try a different version or check if someone got the same errors as you on the OpenCV support.

Hello so i got everything to work, thank you so much for your help my problem is the enviroment, is it better to have a darker enviroment or  better lighting?, and also what are the ideal hsv values ?

Depends on the color of your skin. Your hand should not blend too much with your environment. White skin with a darker background/light and the opposite for black skin is what you should go with. Though if you adjust the HSV values just right it shouldn't matter since I tried to ignore the lightning condition and focus on the hand shape.

thank you Raphael, so when i run test.py, after PALM is detected and
displayed several times, the server actually opens up , but does nothing
more for thumbs up..., however when i run main.py afterwards absolutely
nothing happens with the server, is there anything im missing?
On Tue, Apr 4, 2017 at 5:39 PM, Raphael Monnerat<EMAIL_ADDRESS>wrote:

Depends on the color of your skin. Your hand should not blend too much
with your environment. White skin with a darker background/light and the
opposite for black skin is what you should go with. Though if you adjust
the HSV values just right it shouldn't matter since I tried to ignore the
lightning condition and focus on the hand shape.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Shinao/SmartMirror/issues/5#issuecomment-291639961,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZlabxfVdfqAt1KhBr58-UBPAiVrAXQ7ks5rsriZgaJpZM4MPnn-
.

What do you mean the server : the browser ?
The only difference between main.py and test.py is that test.py will display a window where you can see your camera feedback with debug drawing on it. You then have to also run the nodejs server and launch your browser

Closed due to inactivity.


Updating service comparison

Fixes #10
Proposed Changes

The service comparison in the read me file is updated
Since WebApps is a part of App service user compute it has been moved to the correct place

##References

https://cloud.google.com/docs/compare/aws/
https://cloud.google.com/docs/compare/azure/
https://docs.microsoft.com/en-us/azure/architecture/aws-professional/services
https://www.alibabacloud.com/product?spm=a3c0i.7911826.1389108.97.1b5b14b3AWTd6J
https://www.digitalocean.com/products/

I went through the plugin repositories and updated the table with stars(*) @TRomesh . Just to note that the Table storage in the azure plugin  is on storage category  I think it should go under the database category  according to the azure documentation.


Related tickets are populated incorrectly

See
https://ghc.haskell.org/trac/ghc/ticket/8809#comment:40
and
https://gitlab.staging.haskell.org/ghc/ghc/issues/8809#note_103516

The problem here is that gitlab issue relationships are bidirectional (i.e., "A is related to B" implies "B is related to A"), while trac's related tickets are directed.
Hence, adding a related ticket reference to one ticket also adds it to the related ticket; and worse, deleting a relationship deletes it on both ends. So if we have two tickets, A and B, and both were originally marked as related to the other, and then someone deleted one relationship but not the other, we can either consider it deleted on both ends or neither, but we cannot accurately transfer the unidirectional situation. Worse yet, figuring out when it is appropriate to delete a relationship is tricky - we have to check that it's already been deleted on the other end, but in order to do that, we have to remember previously seen one-way relationships.
Thoughts?

Alright then. So I'll just take the lists of related tickets, diff them,
and execute suitable link creations and removals. Should be fairly
straightforward. (Famous last words, I know...)
On Thu, Dec 6, 2018, 12:28 Matthew Pickering<EMAIL_ADDRESS>wrote:

It's a bug in trac that the related ticket field is unidirectional. If
someone removes a related ticket link from one ticket then I think you
should assume it is correct to do so for the other ticket as well.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/bgamari/trac-to-remarkup/issues/15#issuecomment-444840856,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABXjx0m4gIgpA11ioHm2SpbehbDpOJneks5u2P9ngaJpZM4Y-4Xn
.

4ea8647 should create correct ticket links (unlinking yet to be implemented), but this doesn't actually work for some reason; the createTicketLink API call gives a 404 response, even though both the source and destination tickets exist. Everything seems to be correct as per the documentation, so I'm at a bit of a loss.


Fixed #33627 -- Improved nonexistent pk in ModelMultipleChoiceFieldTests.test_model_multiple_choice_field().

This test used the "magic constant" 100 as a primary key that was expected to be absent.
However in some situations this primary key did exist.
As a result an expected ValidationError was not raised.
Fixed by constructing and using a non-existent primary key.

This PR is our first contribution. We are very open to suggestions and improvements.
This PR was a group effort by Ordina Pythoneers, they would like to thank Ordina for the time to do this.
@wangremy
@marielleboot
@lennartschepers
@athleas
@PieterGcode
@SanderBeekhuis

@SanderBeekhuis Thanks :+1: Welcome aboard :boat:


Add retry and fetch latest update image when duplicates

closes #10

@Victoremepunto by the way, I don't have permission to manage this repo anymore.

@Victoremepunto by the way, I don't have permission to manage this repo anymore.

oh - I thought you remained as maintainer, being an OSS project - thanks for the review anyways :) !!


Docs update

The much-needed docs update. Requested by Gytis, offered by me. Marking as draft as probably many things will change throughout this PR's life. Feel free to ping and correct me :slightly_smiling_face:

README.md: fix typos and grammar, propose future names of library functions.
examples: add a few comments and remove redundant channel declaration.

I believe we should bring back the fully-featured example, but now inspired from everyone's dotfiles in the Readme. Should follow the latest changes to lib and provide an easy starting point for newcomers.
Ideas are welcome.

I think we should move the # Documentation as code part out of the README. Perhaps move it to docs/all-options.nix?


How to inform a client about disconnection of another client ?

In PermissionHandler, there is a hook onClientDisconnect, which is called whenever a client disconnects but I can't find a way to trigger event on other clients from there.
This question can also be restructured as 'Is it possible for server to trigger events (or rpcs) on client ?'

Hi @varunoberoi
deepstream is designed as a standalone server, but it's easy to create a client in the same process and connect it to localhost:<tcpPort>. (Your internal DNS will efficiently route the request without sending it out)
Something to be aware of though is that a user can connect more than once (e.g. on different browser windows or devices). onClientDisconnect fires every time a connection ends. To make sure that all connections for a given client are disconnected you'd need to keep count in isValidUser. Here's an (untested, sorry) example of what I mean:

var connectedUsers = {};
var ds = deepstream( 'localhost:6020' ).login({ username: 'server' });
var presence = ds.record.getRecord( 'presence' );

server.set( 'permissionHandler', {
    isValidUser: function( connectionData, authData, callback ) {
    	var username = authData.username;

    	if( connectedUsers[ username ] === undefined ) {
    		connectedUsers[ username ] = 0;
    	}
    	connectedUsers[ username ]++;
    	presence.set( username, true );
        callback( null, authData.username );
    },

    onClientDisconnect: function( username ){
    	connectedUsers[ username ]--;
    	if( connectedUsers[ username ] === 0 ) {
    		presence.set( username, false );
    	}
    }
});

Hi @WolframHempel
Thanks for the reply. I was thinking on the same lines, but was confused about whether to directly make entries in the database or use deepstream's client to do so. What do you think will be better ? And does the approach that you've mentioned works good even if multiple instances of server are running ?

@WolframHempel: Is isValidUser and onClientDisconnect guaranteed to be run on the same server for a specific client?

@ronag Should be yes, as a client only logs into an individual server with a persistent connection

@yasserf: If not already documented somewhere it should probably be mentioned that connections to a deepstream server should be sticky in a clustered setup.

We should have a tutorial on this on the website

@yasserf so that basically means I can store the amount of "tabs" the user has opened using an array? (No need for external storage)
Also, can you elaborate on how would one go to allow only one connection from the client?

@JCMais yes, you can store an array of all user connections if you decide to use the HTTP authentication server or if you write your own custom plugin. We don't group the same client id's together in our official plugins.
The comment by wolfram is pretty much how you can catch only allowing a single user to login, by storing his name in a map and when trying to login again denying if it he already exists.
const connectedUsers = {}
server.set( 'permissionHandler', {
    isValidUser: function( connectionData, authData, callback ) {
        var username = authData.username;

        if( connectedUsers[ username ] === undefined ) {
            connectedUsers[ username ] = true;
            callback( null, authData.username );
       } else {
            callback( 'User already logged in')
       }

    },

    onClientDisconnect: function( username ){
        delete connectedUsers[ username ]
    }
});

Closing this due to inactivity


Migration from openid_connect 1.1.8 to 2.3.0: where is the httpclient of OpenIDConnect::AccessToken?

Hello,
I'm migrating from openid_connect 1.1.8 to 2.3.0 and I used to get an authenticated httpclient this way:
access_token = OpenIDConnect::AccessToken.new(
      access_token: session[:access_token],
      client: client # OpenIDConnect::Client instance
)
access_token.httpclient

The httpclient is gone and I couldn't find any equivalent so far.
Could you tell me how to get or build this http client?
Tanks.

it's here.
https://github.com/nov/rack-oauth2/blob/70da234801c53a116c2d8e126bb09f237824af5a/lib/rack/oauth2/access_token.rb#L21C11-L25


Update procedure to release

Is your feature request related to a problem? Please describe.
the current way to release is based on update-version.sh script. It is not working completely given that now the main branch is protected.
Note also the "Publish executables" is currently not triggered automatically, see https://github.com/KaotoIO/kaoto-backend/issues/358
Describe the solution you'd like

documentation in contributing.md
updated script or provide another way to do it

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

/!\ the tag created by the script should not be used as the tag on the repository because the commit are others due to the merge of the Pull Request.
For instance, for 0.6.0, the commit https://github.com/KaotoIO/kaoto-backend/commit/f4adaf6a7d84abd684426cedc0c4a311c5f64e2a is missing from v0.6.0. The v0.6.0 is based on branched path than the main.
The tag shoudl have been provided on https://github.com/KaotoIO/kaoto-backend/commit/da1c87ba28086bd8319c3b758c299044548da23e but it is on https://github.com/KaotoIO/kaoto-backend/commit/7c183744a6080b2faeb45305e11837e23c30fde3
A visual to better understand the current state:

it is causing also troubles when generating the release notes as it is picking an older tag. (and ultimately would always take the same one if we always use this script)

What I did for latest release is to push main in my fork and then do a PR from my fork. Would that be enough?

no, it is leading to the problem I mentioned. The tag is created on a commit which will be different than the one merged by the Pull request. So the pushed tag is not part of the main branch history.

the tag should be on the 3c2f11945584559976d046c6bb413841a19250a9 commit, not the 404b42947bc23b559dd14d226f875fcc399db036

What is better, to unprotect the main branch or to have two stages for release? I am not sure myself :D

two stages for release.
it allows to have tests to be launched on a Pull request before creating the tag.
Also the update of other zip files should be provided in a different step to be also tested in a Pull Request before merging in main and ease review of pull request


Method throws error

Version ======> 0.14
Affected OS=======>ios
OS Version =======> 10.3.3
When I connect ipad test, the introduction of documents in the console print log can see a lot of ways, but calling one will throw an error. For example, I call 'DeviceInfo.getBrand ()' method, the program will throw the error 'Can not read property' brand 'of undefined'. I do not know what is the reason, please trouble you help me solve the problem.

Hello, how did you solve your problem please ?

I am so sorry, I did not reply to your message because of the celebration of the Spring Festival. This problem has not been solved, I need to test again after work.When Match 1.

I am so sorry, I did not reply to your message because of the celebration of the Spring Festival. That problem is because the operation lost one step.Thanks.


Get remaining trace types integrated

there's 19 chart types left to integrate
@bpostlethwaite @nicolaskruchten if we each take about 6 to integrate, then we'll have all of the current ones of the workspace done.
I'll take the finance ones, tables, and ternary.
@nicolaskruchten @bpostlethwaite which ones could you take?
Checklist:

[ ] error bars
[x] heatmap
[x] contour
[ ] ternary
[ ] 3d scatter
[ ] 3d line
[x] 3d surface
[ ] 3d mesh
[ ] animation
[x] timeseries
[x] candlestick
[x] ohlc
[ ] histogram
[x] box plot
[ ] table
[ ] 2d histogram heatmap
[x] choropleth
[x] atlas maps
[x] satellite maps

I'll grab 3d{scatter, line, mesh} now.

taking ternary next

I'm going to take on the 3d's @nicolaskruchten if it's ok with you. That will be another chart type to test with axes.

doing histogram creation and styling next

animations now

in chasing down #293 I went to get some advice from @jackparmer and the conclusion of that discussion was that it was probably a good idea to drop timeseries and animations from the list of "trace types" given that they aren't really trace types and they aren't well-defined in terms of round-tripping from the figure object to UI state and back. I'm very much in favour of this :)
Animations probably should live in its own panel under Create.

Basically all the commented-out ones here: https://github.com/plotly/react-plotly.js-editor/blob/master/src/components/fields/TraceSelector.js#L20

Animations probably should live in its own panel under Create.

That sounds good!

I'm going to close this and open an issue just for integrating 'tables' which is the only not yet supported chart type by the editor that is currently in the workspace.
(#335)


Ensure LUCI presubmit checks get scheduled and run against PR during cocoon rollout

Cocoon is now scheduled to auto build at 8:00am daily on workdays. This has caused some race condition when PRs are pushed around this time.
We need to ensure LUCI presubmit checks get scheduled and run regardless of cocoon deployment.
Related: https://github.com/flutter/flutter/issues/79458

We could create a /api/vacuum-pull-requests endpoint that looks for PRs without LUCI checks, and adds them.
When we remove human submits, we could have the automerge logic verify all checks were run against the PR.


Specify deposit workflow in ticket and technical specification

Why
While working on #199 we realized that if we want to properly secure Hydra Heads against rollbacks of incrementally committed funds, having full sequencing requirements + potentially long lockup times is going to be really bad. In presence of rollbacks/pessimistic settings, this is creating a Head that is not "very live" as it would need to be forced to close in case a requested to commit UTxO is spent otherwise before the incrementTx hits the chain.
More details here: https://github.com/cardano-scaling/hydra/issues/199#issuecomment-2263319327
What
We want to revisit the deposit workflow again which should not have these issues.
This issue will be about collecting the necessary design pieces before we head into implementation.

Created a slightly more detailed transaction trace including deposits and cancellations (naming is still not 100%):

Also explored how we could use PlutusV3 (CIP-69) multi-purpose scripts:
An analogous design to the initialization phase (PlutusV2) would be that the deposit is controlled by two validators:

μ_deposit: minting validator for a deposit token (DT)
ν_deposit: spending validator

Besides other things, μ_deposit needs to ensure that the minted token is paid to the ν_deposit script. Hence, it's parameterized by the script hash H(ν_deposit). With PlutusV3, we could re-use the same script without losing anything here. All transactions that involve spending from the deposit output would need to burn the DT anyways and need the script included.
However, if we want to re-use the script, the output address of the deposit (purple in the image), would be parameterized too. So it's not a fixed address to "discover" and observe deposits:

But, do we need uniqueness of deposit tokens? Maybe it's enough to have it as evidence that the minting policy ran. Which would lead to this design:

Updated the #199 feature How section with this protocol design:
Idea: Deposit anything to commit into a deposit output. Head participants then re-use the ReqSn off-chain consensus to request inclusion of UTxO (like incremental decommit). Deposits have an asymmetric deadline, such that users need to wait longer before they can reclaim than the head participants have time to ensure the deposit is not rolled back (double spent). Deposits are recording outputs like in the commitTx and claiming a deposit into the head via an incrementTx ensures the recorded UTxO matches (completely) with what was agreed off-chain. Participants only agree off-chain if they saw a matching deposit.
Outline of one deposit being claimed in an increment and one deposit being cancelled:
flowchart LR
  seed([seed])--> initTx
  initTx --> open0([open v0 η0])

  u1([u1]) --> depositTx1 --> deposit1(["deposit DL [u1]"])
  u2([u2]) --> depositTx2 --> deposit2(["deposit DL [u2]"])

  open0 -- Increment ξ3 --> incrementTx
  deposit1 -- Claim --> incrementTx
  incrementTx --> open1([open v1 η3])

  open1 -- Close ξ1 --> closeTx

  deposit2 -- Cancel --> cancelTx --> u3([u2])

Protocol transitions:

Situation: Head is open, $U_0$ locked, off-chain busy transacting

Deposit:

Anyone can create a deposit by posting a depositTx

we can enable this through hydra-node or through a library/tool.

The depositTx ensures through minting of a deposit token (DT) that anything to be committed $\phi$ is recorded correctly into the datum (isomorphic to $U_\alpha$)

this also ensures contract continuity for next steps
TBD: Needed? pub key outputs need signature anyways and script outputs could inspect depositTx to ensure the transition to L2 is "correct"? Could mean more coupling, but simpler protocol here.

All deposit outputs have the same address and the datum also contains target headid $\mathsf{cid}$ and a deadline $T_{DL}$

Cancel:

In case deposit was not picked up by a head, anyone can "undo" a commit using a cancelTx after the deadline has passed

most of the time, this is going to be the original user who wanted to deposit

Deadline should be long enough such that the head has enough time to wait for the deposit "to settle" and still absorb it into the head (synchrony assumption on Cardano).

Increment:

One or more Head participants (i.e. their hydra-node) observe pending deposits using the common deposit address

this should only happen after gaining enough confidence that the accompanying depositTx is not rolled back
need to check head id and deadline (should be configurable)

A node requests inclusion of a pending decommit by sending a ReqSn message with $U_\alpha$

Not needed as every participant would observe it on-chain and its up to the snapshot leader to include it anyways

The snapshot leader will request inclusion: $ReqSn(v, sn, txids, U_\alpha)$

Note that this submits a utxo set, not a transaction

All participants acknowledge by signing this snapshot $\eta = \mathsf{combine}(\bar{U})$ and $\eta_\alpha = \mathsf{combine}(U_\alpha))$
This yields a multi-signed certificate $\xi$ which can be used to post the incrementTx, which:

spends a deposit output, where the deposit validator ensures

recorded commits match $\eta_\alpha$
head id from datum matches (using the head state thread token)
deadline has not passed

evolves on-chain head state $(open, v, \eta)$ into updated head state $(open, v+1, \eta')$,

given a multi-signed certificate $\xi$ and snapshot number,
by verifying the signature using snapshot number, version and $\eta'$ from the head output, as well as $\eta_\alpha$ from the deposit output

Head participants observe incrementTx on L1 with added $U_\alpha$ and make it available in their L2 state

no delay because rollbacks are impossible here -> deposit can only be spent into the head before the deadline

Changed the naming of a commit to consist of two steps: deposit and claim (through an increment or deposit and recover (if not claimed).

Further simplification of the protocol by asking more from the scripts which are committed into a head: https://github.com/cardano-scaling/hydra/issues/199#issuecomment-2309746253
Resulting in the transaction trace:

Why?

Simpler deposit protocol
Off-chain checks need to be done anyways (discover eligible deposits)
More complicated check for scripts that allow being committed to a head (they would need to check the head id anyways though)

Drafted a quick example diagram of a script (a lottery) that is spent into a deposit:

It would need to check that its own (TxIn, TxOut) is exactly contained in the list of deposited UTxO ([Commit] in the diagram.


Is there some reason the MSI was removed between May'19 and Jul'19? We use it!

Summary
I last obtained a version of AtomSetup-x64.msi around May 24, 2019, based on the timestamp of the installer in my S3 bucket used for product installs. I recently went to update this and noticed the MSI no longer seems to exist. I searched older release assets and it seems to have been removed for every one I looked at going back months. We prefer this format - is there some reason this has been removed? Do you have a workaround for non-interactive installs?
Motivation
We create infrastructure in AWS using CloudFormation. When creating instances, we use the AWS-native cfn-init program within CloudFormation templates to configure instances, including Windows. We want to pre-install Atom on our Windows Bastion hosts, as CloudAdmins need to first get to a bastion before they can reach internal resources in our Production environment as we must conform to FedRAMP standards. The cfn-init method has a package installer that can install an MSI, which we're using to do this. If you're taking away the MSI, which is installed non-interactively, not sure how we can install the EXE as a replacement. First, it does not have the same native package format support, and next, I think the EXE may require interactive feedback.

As far as I can tell v1.18.0 was the last release to actually publish a .msi build to it. I'm not entirely sure where you have been getting .msi builds from past that point but they don't appear to be builds we are producing.
Are you able to use the .zip artifacts? Those are intended to simply be extracted and ran with no installation, however I believe  automated updates are disabled for that platform so you would need to be handling that elsewhere.

Because they were not the kind of installer anyone was expecting. It was
not an msi alternative to the setup but rather an msi that simply added the
regular setup exe to everybody's auto run.
https://github.com/atom/atom/issues/11087#issuecomment-365103649

Whatever it was, it worked via the CloudFormation cfn-init package:msi install method in a non-interactive way.
Not all of us are installing this manually on desktops. I need this installed non-interactively on a bastion currently running Win2012R2. These are in Auto-Scaling groups that destroy and re-create bastions daily. Users ideally need a recent copy which CAN be updated quickly by hand if they go to use them, so not sure if zip is a realistic alternative.
MSI is like an RPM or DEB - the standard way to install packages non-interactively on Windows. Is there some reason why it's too difficult to package in this manner? Seems like it should be trivial for someone who's worked with Windows software for any length of time.

Just following up here - chatted with the other maintainers and see that as mentioned above (1, 2), we last published the MSI in Atom 1.18.0 which shipped in June 2017 but not since then.  Additionally, we've already generally decided to not maintain additional installation packages beyond the current package formats we already provide.  And with the team's current priorities and resources, it's not something we would commit to maintaining.  So for these reasons we're going to close the issue - though we don't have more specific suggestions for non-intertactive installs beyond using the .zip file, it's possible folks in the community may have ideas.


The ngsw-worker.js file is loaded even if the pwa.enabled is set to false

When an app is created without a ngsw-worker.js file, the app will fail in production mode. This seems to be caused by the the import of ServiceWorkerModule.register('/ngsw-worker.js', {}), in the PwaModule. There is no check on the pwaenabled` flag when the sw is registered, which results in an error.
We could pass in the pwa.enabled flag to the SwRegistrationOptions which can be added to the register method. or simply ignore the ServiceWorkerModule completely.

seems to be a none-issue, as we do actually provide SwRegistrationOptions where we test agains the PWAModuleConfig settings.

closing as this is covered in documentation at https://sap.github.io/cloud-commerce-spartacus-storefront-docs/pwa-setup/


Component with translations example

Issue https://github.com/github/actionview-component/issues/49
Fails with this error:
RuntimeError:
       Cannot use t(".title") shortcut because path is not available

this is closed because it is solved ?

this is closed because it is solved ? @koenhandekyn

It's closed because it was moved to the actual action view component repo https://github.com/github/actionview-component/pull/74


fix discovery and registry example url

hello, there is something wrong on kube url, it is nacos

要加一个kubernetes的


Remove use of deprecated null_data_source

The use of null_data_source is now deprecated and locals should be used:  https://registry.terraform.io/providers/hashicorp/null/latest/docs/data-sources/data_source.  Using null_data_source results in the following warning:
Warning: Deprecated Resource

The null_data_source was historically used to construct intermediate values to
re-use elsewhere in configuration, the same can now be achieved using locals

https://github.com/cloudposse/terraform-aws-ec2-instance/pull/94

Closed via #94


guide to neovim users

[ ] tips for enabling LSP-based folding in neovim { -- folds
    "kevinhwang91/nvim-ufo",
    dependencies = "kevinhwang91/promise-async",
    init = function()
      vim.o.foldcolumn = "1" -- '0' is not bad
      vim.o.foldlevel = 99 -- Using ufo provider need a large value, feel free to decrease the value
      vim.o.foldlevelstart = 99
      vim.o.foldenable = true
    end,
    config = true,
  },
  { -- configure LPS servers
    "neovim/nvim-lspconfig",
    dependencies = "kevinhwang91/nvim-ufo", -- enable LSP-based folds
    config = function()
      require "plugins.configs.lspconfig"
      require "custom.configs.lspconfig"
    end,
  },

[ ] But I'm not sure how to get on the mason's list. typst-lsp is on that list.

You can add the LSP to Mason's list here: https://github.com/mason-org/mason-registry.

https://github.com/mason-org/mason-registry/pull/4983


Print stacks + gains/losses at the end of a game

Only gains are printed for shortening the message, the stacks can be view with pok show


PartialPump uses undefined Medium.saturationProperty

Reported by choeger on 22 Nov 2011 14:37 UTC
in Modelica/Fluid/Machines.mo on line 426 and 429 the function
Medium.saturationPressure

is used. From my PoV PartialPump inherits Medium through
extends Modelica.Fluid.Interfaces.PartialTwoPort

and
extends Modelica.Fluid.Interfaces.PartialLumpedVolume

in both cases the result is
Modelica.Media.Interfaces.PartialMedium

This package does not contain a such function.
Did I overlook a redeclaration somewhere or is this a bug?

Migrated-From: https://trac.modelica.org/Modelica/ticket/646

Comment by hubertus on 22 Nov 2011 15:20 UTC
I am quite sure that this is a bug. The constraining class is wrong. From the modellers point of view it is not clear whether one wants a pump with a simpler medium than one that has a saturationPressure function, or whether that should be a requirement to the medium. Interesting again that this has been undetected for years.

Modified by hubertus on 6 Sep 2012 15:48 UTC

Changelog removed by hubertus on 6 Sep 2012 15:48 UTC

Comment by hansolsson on 5 Dec 2012 15:33 UTC
Language group:
Investigated reason for being undetected (it is even documented):
The reason is that the use is in a conditionally disabled component; and there is no test-suite with condition coverage test for MSL.

Comment by hansolsson on 5 Dec 2012 16:23 UTC
Feedback needed:
Conclusion is to either change constraining type (to be more restrictive) or remove the call. Setting a parameter should not cause an unknown function to be called (even if documented in the model).

Comment by fcasella on 5 Dec 2012 18:14 UTC
The rationale for the pump model is that it normally only needs a basic fluid model to compute the fluid density, so the Medium package is constrained by Modelica.Media.Interfaces.PartialMedium. Only in particular cases one might be interested in computing the NPSH, which also needs to compute the saturation pressure of the fluid, which is only provided by medium models inheriting from Modelica.Media.Interfaces.TwoPhaseMedium.
Ideally, one would like to write something like the following conditional redeclare:
extends Modelica.Fluid.Interfaces.PartialTwoPort(redeclare Medium =
  Modelica.Media.Interfaces.TwoPhaseMedium if show_NPSHa)

but I guess this is not legal Modelica.
One option to solve the problem is to remove the computation of NPSH from the base model, and to write three models that extend Pump, ControlledPump, and PrescribedPump, which redeclare the medium to be constrained by TwoPhaseMedium and then add the extra equation - the only minor issue is that this code will be triplicated. Suggestions are welcome to obtain the same result without code duplication.

Comment by rfranke on 4 Jan 2013 08:41 UTC
A reasonable solution (and way forward) is to put the NPSH calls into a replaceable Monitoring sub-model of PartialPump. The default MonitoringBase model would do nothing. MonitoringNPSH does what it does today, but requires a more restrictive ThoPhaseMedium.
People might be interested in using this new interface to add more advanced monitoring to their pump models.

Comment by rfranke on 8 Jan 2013 07:16 UTC
SVN 6048aa15bc39601f874a3d0d742a280b33088bf0 introduces a replaceable sub-model PumpMonitoringBase and moves the NPSH equations into PumpMonitoringNPSH. This optional monitoring sub-model restricts the medium to a PartialTwoPhaseMedium.
An automatic adaptation of existing models requires to change the modification:
  show_NPSHa=true

with
  redeclare model Monitoring =
          Modelica.Fluid.Machines.BaseClasses.PumpMonitoring.PumpMonitoringNPSH

See AST_BatchPlant.BatchPlant_StandardWater and TestWaterPumpNPSH.
So far the old NPSH equations have just been commented out the the docu has not been updated yet.
See also #957.

Comment by rfranke on 18 Jan 2013 08:48 UTC
The docu has been updated in 1ccf082bb1eaadd8cd8b32e74ea04b613dd659a7. The remaining issue is treated in #957.


do i failed at some point ??

I'll be waiting step by step video on ur yotube then, kind difficult for me to follw TT


Clarification on replacement of Zones

First really appreciate the work that you all are doing for acra. Big thanks for that. I was also looking into a tool/platform which does something similar and really liked what I found in terms of capabilities of acra. One of the key capabilities of Acra that caught my attention was  using Zones that cryptographically compartmentalise access to data , which I understood as within the same application if we have two sets of users - User1 and User2  and there is a sensitive database column ; and for group User1 we dont want them to unmask a certain sensitive database column whereas for group User2 (they have special role) and only they should be able to unmask the sensitive data , this kind of thing was achieved via Zones.
If that is the case  and we know that after 0.94 release Zones have been deprecated and from what I have read so far ClientId is the thing that represents users/group of users as per this documentation https://docs.cossacklabs.com/acra/security-controls/client-id-sql-detection/
Is my understanding correct here ?
Thanks for your time.
Regards,
Kunal

We are glad to hear that you found Acra interesting and useful for you)
Your understanding is correct. Zones existed to compartmentalize data access cryptographically. They and ClientID were used to specify keys related to data. ClientID derived from the mutually authenticated connections, got from CLI flag --client_id, or specified in encryptor_config for transparent encryption.  But ZoneID should have been specified as SQL value preceding encrypted data in the SQL query or statically in encryptor_config. The first option was too complicated for applications and the second works similarly for ClientID. So, we removed it to simplify usage and understanding.
As you found , AcraEnterprise supports specifying ClientID during the db session as SQL statement for all next queries until changed to another. And it allows switching between owners of users in the same db connection. It is much easier for most of applications than connect with another credentials to the acra+database on every owner change or compile the correct SQL query to specify the proper ZoneID.
So yes, open source version of Acra supports switching between data owners by specifying different ClientID from TLS certificates, static CLI option, or static option in the encryptor_config. And AcraEnteprise provides one extra option to specify ClientID by SQL query.

We are glad to hear that you found Acra interesting and useful for you) Your understanding is correct. Zones existed to compartmentalize data access cryptographically. They and ClientID were used to specify keys related to data. ClientID derived from the mutually authenticated connections, got from CLI flag --client_id, or specified in encryptor_config for transparent encryption. But ZoneID should have been specified as SQL value preceding encrypted data in the SQL query or statically in encryptor_config. The first option was too complicated for applications and the second works similarly for ClientID. So, we removed it to simplify usage and understanding.
As you found , AcraEnterprise supports specifying ClientID during the db session as SQL statement for all next queries until changed to another. And it allows switching between owners of users in the same db connection. It is much easier for most of applications than connect with another credentials to the acra+database on every owner change or compile the correct SQL query to specify the proper ZoneID.
So yes, open source version of Acra supports switching between data owners by specifying different ClientID from TLS certificates, static CLI option, or static option in the encryptor_config. And AcraEnteprise provides one extra option to specify ClientID by SQL query.

Thanks a lot @Lagovas  for your prompt reply


jobs list takes forever

something is going nuts in the template, I can feel it

This is actually perhaps the get jobs overview - rather then doing a JOIN like it should, it's doing N queries.
https://github.com/paultag/moxie/blob/master/moxie/app.py#L50-L55
This is silly stuff

Solved by https://github.com/paultag/moxie/pull/72?

Totally solved, @paultag close this cat down.


change type from bool to list due to changes in django 4.1

see https://code.djangoproject.com/ticket/33896

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 3 (0.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 64.222%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

daiquiri/core/management/commands/daiquiri_path.py
0
1
0.0%

daiquiri/core/management/commands/rabbitcreate.py
0
1
0.0%

daiquiri/core/management/commands/sqlcreate.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4712

Relevant Lines:
7337

💛  - Coveralls


implement full text search for name/location boxes

So here is some change in this pull request:

Edit the full_text_search.py to implement two boxes search(one for name, the other for location)
Edit the old structure and added filter for location field.
Edited the search function inside the results.py.

Instead of sending a query_txt (string type), a query_list is sent into the search function in results.py.
query_list is a list contain [query_name, query_location]  and this is used in full_text_search.py because we are sending two query (query_name and query location), this is for distinguish between name and location queries.
if there is no location input, the query_list[1] will be ""(empty string).
and the query_name (query_list[0]) plays the role as the query_txt we have before (non-edit version: only contain the name part)
I also edit the unit test/test_fulltext_search and server_test/person_note_tests.py and tools/all_tests are passed.

Here is the new ui for searching:

Cool!
Just that one comment, and LGTM

maybe update new message for #189 ?


Add index for DOS 4 framework

Wait hang on - all the DOS briefs get added to a single index?

Wait hang on - all the DOS briefs get added to a single index?

Yes, that's what we want right?


Add demonstration of using GitHub Actions to execute Arduino CI

Set up GitHub Actions for this repository such that forks will have their own functioning CI automatically
Original text:

arduino_ci has two automated testing systems set up. We should add GitHub Actions. (I can work on this but just wanted to note it as an issue.)

I'm open to this, but I'm not clear on the problem being solved here.  We currently test 3 platforms on every PR or code push: windows, linux, and OSX.  What do GitHub actions add to this?

This isn't adding a new operating system, this is adding a new testing infrastructure. There are two values:
First, since arduino_ci is a testing framework, it should broadly demonstrate and use the various testing platforms out there. (Actually, I didn't realize that the existing two-part actions were testing three operating systems; I thought that they were demonstrating the two primary testing hosts.)
Second, the two existing testing actions require external setup. While you have gone to the trouble to set up the external systems for this GitHub repository, the rest of us (so far) haven't bothered to do so. The virtue of GitHub Actions is that they are built in to GitHub. By forking your repository I will get the GitHub Action configuration (if/when this PR is accepted). Then my fork will automatically run tests on every push to my repository. With that, even if I fail to run the test suite before doing a local commit (hand slap!), one will be run when I do a push. This is pushing best practices to the edge.

Understood, I think I made the more relevant comment on #200

Thought better of it, created #203

I think this is complete, but we can reopen if I'm misreading it


What is set by mise link is not observed when running mise use or mise doctor

Describe the bug
I'm running on M3 MacBook and I have an issue with installing<EMAIL_ADDRESS>via mise install.
So I've used installing it by nvm which worked fine.
And then I ran mise link<EMAIL_ADDRESS><node binary path returned by nvm which>.
and mise ls command shows it correctly:
$ mise ls
Tool    Version               Config Source              Requested
java    corretto-<IP_ADDRESS>.1
node    12.16.0 (symlink)     ~/airlab/repos/deck/.nvmrc 12.16.0
node    18.17.1
node    18.20.4 (symlink)
python  2.7.18
python  3.9.20
python  3.10.15
ruby    3.1.6

But I tried to use it by mise use<EMAIL_ADDRESS>then it removes the symlink and tries to reinstall the node version.
Also, mise doctor command shows it's still missing even if it's linked.
$ mise doctor
...
toolset:
<EMAIL_ADDRESS>(missing)
...

Because I can't run mise use command, switching node version via nvm in another place affects the version of node in this repo.
To Reproduce
$ nvm install<EMAIL_ADDRESS>$ nvm which
$ mise link --force<EMAIL_ADDRESS><node binary path returned by nvm which>
$ mise doctor
$ mise use<EMAIL_ADDRESS>
Expected behavior
mise doctor and mise use should observe what's set up by mise link.
mise doctor output
version: 2024.10.7 macos-arm64 (7d15bd5 2024-10-14)
activated: yes
shims_on_path: no

build_info:
  Target: aarch64-apple-darwin
  Features: DEFAULT, NATIVE_TLS, OPENSSL
  Built: Mon, 14 Oct 2024 22:19:06 +0000
  Rust Version: rustc 1.81.0 (eeb90cda1 2024-09-04)
  Profile: release

shell:
  /bin/zsh
  zsh 5.9 (x86_64-apple-darwin23.0)

dirs:
  data: ~/.local/share/mise
  config: ~/.config/mise
  cache: ~/Library/Caches/mise
  state: ~/.local/state/mise
  shims: ~/.local/share/mise/shims

config_files:
  ~/.config/mise/config.toml
  ~/airlab/Gemfile
  ~/airlab/repos/deck/.nvmrc

backends:
  cargo
  core
  go
  npm
  pipx
  spm
  ubi
  vfox

plugins:

toolset:
<EMAIL_ADDRESS>(missing)

env_vars:
  MISE_SHELL=zsh
  MISE_ACTIVATE_AGGRESSIVE=true

settings:
  activate_aggressive = true
  all_compile = false
  always_keep_download = false
  always_keep_install = false
  asdf_compat = false
  cache_prune_age = "30d"
  ci = false
  color = true
  debug = false
  disable_backends = []
  disable_default_registry = false
  disable_hints = []
  disable_tools = []
  experimental = false
  fetch_remote_versions_cache = "1h"
  fetch_remote_versions_timeout = "10s"
  go_default_packages_file = "~/.default-go-packages"
  go_download_mirror = "https://dl.google.com/go"
  go_repo = "https://github.com/golang/go"
  go_set_gopath = false
  go_set_goroot = true
  go_skip_checksum = false
  http_timeout = "30s"
  jobs = 4
  legacy_version_file = true
  legacy_version_file_disable_tools = []
  libgit2 = true
  log_level = "info"
  not_found_auto_install = true
  paranoid = false
  pin = false
  plugin_autoupdate_last_check_duration = "7d"
  python_default_packages_file = "~/.default-python-packages"
  quiet = false
  raw = false
  trace = false
  trusted_config_paths = []
  use_versions_host = true
  verbose = false
  yes = false

  [cargo]
  binstall = true

  [node]
  compile = false

  [pipx]
  uvx = false

  [python]
  default_packages_file = "~/.default-python-packages"
  pyenv_repo = "https://github.com/pyenv/pyenv.git"
  venv_auto_create = false
  venv_stdlib = false

  [ruby]
  default_packages_file = "~/.default-gems"
  ruby_build_repo = "https://github.com/rbenv/ruby-build.git"
  ruby_install = false
  ruby_install_repo = "https://github.com/postmodern/ruby-install.git"

  [status]
  missing_tools = "if_other_versions_installed"
  show_env = false
  show_tools = false
No warnings found
1 problem found:

1. new mise version 2024.10.8 available, currently on 2024.10.7

Additional context
N/A

seems to be working fine for me:
❯ mise ls node
Tool  Version  Config Source Requested

❯ mise link<EMAIL_ADDRESS>~/.nodes/18.0.0

❯ mise ls node
Tool  Version           Config Source Requested
node  18.0.0 (symlink)

❯ mise use<EMAIL_ADDRESS>mise /tmp/mise.toml tools<EMAIL_ADDRESS>
❯ mise ls node
Tool  Version           Config Source  Requested
node  18.0.0 (symlink)  /tmp/mise.toml 18.0.0

❯ mise ls node
Tool  Version           Config Source  Requested
node  18.0.0 (symlink)  /tmp/mise.toml 18.0.0

It never works for me....
after running mise link this is how the mise local shared dir looks like:

but if I run mise use<EMAIL_ADDRESS>it keeps downloading the node tar and compiles it and fails.
jinyong_lee@Jinyongs-MacBook-Pro:~/airlab/repos/deck jlee--exec-rerun-update$ mise use<EMAIL_ADDRESS>mise<EMAIL_ADDRESS>verifying node-v12.16.0.tar.gz                                                                     39.50 MiB/49.86 MiB (0s)

you need to set it to the directory containing the node version, not the node bin

see https://mise.jdx.dev/cli/link.html

You think I didn't try all different directories already? I spent a few hours on this (even tried to look at the code) and couldn't find the solution yet.
jinyong_lee@Jinyongs-MBP:~/airlab/repos/deck master$ nvm which
Found '/Users/jinyong_lee/airlab/repos/deck/.nvmrc' with version <12.16.0>
/Users/jinyong_lee/.nvm/versions/node/v12.16.0/bin/node
jinyong_lee@Jinyongs-MBP:~/airlab/repos/deck master$ mise link -f<EMAIL_ADDRESS>/Users/jinyong_lee/.nvm/versions/node/v12.16.0
jinyong_lee@Jinyongs-MBP:~/airlab/repos/deck master$ mise ls -m
Tool  Version            Config Source              Requested
node  12.16.0 (symlink)  ~/airlab/repos/deck/.nvmrc 12.16.0

I'm not sure, that looks correct to me. Perhaps the e2e test might elucidate why this isn't working for you.

here's this for what it's worth:
❯ mise link<EMAIL_ADDRESS>~/.nvm/versions/node/v20.18.1
❯ mise ls node
Tool  Version            Config Source Requested
node  20.18.1 (symlink)
❯ ll ~/.mise/installs/node/
lrwxrwxrwx - jdx  5 Dec 17:49 20 -> ./20.18.1
lrwxrwxrwx - jdx  5 Dec 17:49 20.18 -> ./20.18.1
lrwxrwxrwx - jdx  5 Dec 17:49 20.18.1 -> /home/jdx/.nvm/versions/node/v20.18.1
lrwxrwxrwx - jdx  5 Dec 17:49 latest -> ./20.18.1
lrwxrwxrwx - jdx  5 Dec 17:49 lts-iron -> ./20.18.1
❯ mise x<EMAIL_ADDRESS>-- node -v
v20.18.1
❯ mise x<EMAIL_ADDRESS>-- which node
/Users/jdx/.mise/installs/node/20.18.1/bin/node
❯ mise use<EMAIL_ADDRESS>mise ~/src/mise/mise.toml tools<EMAIL_ADDRESS>❯ mise x -- which node
/Users/jdx/.mise/installs/node/20.18.1/bin/node
❯ mise ls node
Tool  Version            Config Source        Requested
node  20.18.1 (symlink)  ~/src/mise/mise.toml 20.18.1


Adding a depth camera image publisher to ros-sharp

I'm attempting to add a depth camera image publisher to ros-sharp, but I'm having a bit of an issue.
I have a shader and material that turns the camera into a depth camera and renders the depth image. Here is an example for rendering the depth image with Unity.
public class DepthCamera : MonoBehaviour
{

    public Material mat;

    void Start()
    {
        GetComponent<Camera>().depthTextureMode = DepthTextureMode.Depth;
    }

    void OnRenderImage(RenderTexture source, RenderTexture destination)
    {
        Graphics.Blit(source, destination, mat);
    }
}

This works well, now I need to publish the image using ros-sharp. That is where I am having issues. I attempted to do this by updating the ImagePublisher class. Specifically I only updated the InitializeGameObject to apply my material to the 'source' RenderTexture (mat is the material and is an argument for the script).
private void InitializeGameObject()
{
    texture2D = new Texture2D(resolutionWidth, resolutionHeight, TextureFormat.RGB24, false);
    rect = new Rect(0, 0, resolutionWidth, resolutionHeight);
    RenderTexture source = new RenderTexture(resolutionWidth, resolutionHeight, 24);
    RenderTexture destination = new RenderTexture(resolutionWidth, resolutionHeight, 24);
    Graphics.Blit(source, destination, mat);
    ImageCamera.targetTexture = destination;
}

This still simply publishes the RGB images to ROS. There must be something fundamental I am not understanding here.

I guess the reason is that Monobehaviour.OnRenderImage() is called only after Camera.OnPostRender().
Have you tried modifying   ImagePublisher.UpdateMessage()? Esp. I'd suggest to try calling Graphics.Blit() instead of the call at DepthCamera.OnRenderImage().
Alternatively, you can call UpdateMessage() directly after Graphics.Blit() in your OnRenderImage()method.
I hope this helps! Please keep us informed on the progress you make.
Which shader and material are you using for your depth camera?

Thanks for the message Martin. Yes I completely agree with the OnRenderImage being called after OnPostRender. That's why it's easy to visualize but difficult to send.
A possible solution seems to be to chain these classes together (Unity camera -> DepthCamera -> ImagePublisher). As I wrote it, I think DepthCamera and ImagePublisher are both grabbing raw data from the unity camera. Not ideal.
UpdateMessage() is also called after OnPostRender(), correct?
I tried a different technique, where I changed the active render texture (RenderTexture.active = destination) so that readPixels() uses my material. That also didn't work (source).
Can you explain what you mean by:

Esp. I'd suggest to try calling Graphics.Blit() instead of the call at DepthCamera.OnRenderImage().

My Material is simply the default material with the following shader:
Shader "Custom/ZBuffer"
{
    SubShader
    {
        Tags { "RenderType"="Opaque" }

        Pass
        {
            CGPROGRAM
            #pragma vertex vert
            #pragma fragment frag
            #include "UnityCG.cginc"

            struct v2f
            {
                float4 pos : SV_POSITION;
                float4 screenuv : TEXCOORD1;
            };

            v2f vert (appdata_base v)
            {
                v2f o;
                o.pos = mul(UNITY_MATRIX_MVP, v.vertex);
                o.screenuv = ComputeScreenPos(o.pos);
                return o;
            }

            sampler2D _CameraDepthTexture;

            fixed4 frag (v2f i) : SV_Target
            {
                float2 uv = i.screenuv.xy / i.screenuv.w;
                float depth = 1 - Linear01Depth(SAMPLE_DEPTH_TEXTURE(_CameraDepthTexture, uv));
                return fixed4(depth, depth, depth, 1);
            }
            ENDCG
        }
    }
}

Also tried the following for the DepthCamera to try to change the output feed. Didn't work.
public class DepthCamera : MonoBehaviour
{

    public Material mat;

    void Start()
    {
        GetComponent<Camera>().depthTextureMode = DepthTextureMode.Depth;
        Graphics.Blit(GetComponent<Camera>().activeTexture, GetComponent<Camera>().activeTexture, mat);
    }
}

I had the same issue. Try publishing from LateUpdate. It should work

Hi, did you have any success with this ?

I had the same issue. Try publishing from LateUpdate. It should work

@DrWillway Could you please share the code on how you managed to simulate the depth camera and publish the depth images over ROS bridge? It would be really helpful for projects that requiring simulation of RGB-D cameras in Unity. Thank you so much.

Closed due to inactivity.


Flutter SDK only display UI in English running in iOS

Describe the bug
I'm trying to change the localization using Jumio but in iOS no matter which language I choose on system the Jumio interface is always displayed in english using flutter sdk.
To Reproduce
Steps to reproduce the behavior:

Download the example project
Change your system language to Spanish (I checked the output for Platform.localeName and is "es_ES" in my test)
Run the project on a real iOS device
Check that interface is always in English, even if I change for any supported language by the iOS SDK

Expected behavior
Jumio should at least change the interface language for the supported languages
Smartphone (please complete the following information):

Device: iPhone 12
OS: iOS 14.4
Flutter SDK Version

Hi @tcaravanabtg
we've opened a support ticket for this issue, will handle this there.

Localization has been fixed with version 3.8.0.


How the swarm learning works

I'm so sorry to bother you. Could you please tell me how the swarm learning works? Is all the swarm nodes network aggregate the model parameter as a ring? Just like the node A gives its parameter to the node B, then B gives the aggregated-parameter to the C, and C gives the final-aggregated-parameter to A. Or it worked by some other way? I would appreciate it if you could reply.

Additional info is also available on HPE's Swarm Learning website.

Thank you for your reply.


Issue running scrape on Mac

I seem to be getting the following issue but I am unsure why the argument passed is invalid?
Model Name:	MacBook Pro
Model Identifier:	Mac14,7
Model Number:	MNEJ3LL/A
Chip:	Apple M2
Total Number of Cores:	8 (4 performance and 4 efficiency)
Memory:	8 GB
System Firmware Version:	8419.80.7
OS Loader Version:	8419.80.7
System Version:	macOS 13.2.1 (22D68)
Kernel Version:	Darwin 22.3.0
Boot Volume:	Macintosh HD
Boot Mode:	Normal
See code:
def parse(self, response):
        # Check if the page is a log-in or authentication page
        if self.is_login_page(response):
            self.logger.info(f"Ignoring log-in page: {response.url}")
            return

        print("Extracting")
        # Extract data from the current page
        extracted_data = self.extract_data(response)

        print("Update Meta")
        # Insert the entire response into the database
        self.update_meta(response.url, extracted_data)

        print("Adding Url", response.url)
        self.visited_urls.add(response.url)
        yield extracted_data

        print("View Response", response)

        # Extracting links to other pages
        for link in response.css("a::attr(href)").getall():
            absolute_url = urljoin(response.url, link)
            if absolute_url.startswith("javascript:"):
                continue  # Ignore JavaScript links
            if absolute_url not in self.visited_urls:
                print("Run Req", absolute_url)
                self.visited_urls.add(absolute_url) # Avoid re-scrape now that we're running request for this link
                yield scrapy.Request(
                    url=absolute_url, callback=self.parse, errback=self.error_handler, meta={"playwright": True}
                )

See error below. I am unsure what to make of it besides a bad argument but where?
New Url {'domain': 'www.acnestudios.com', 'raw': 'https://www.acnestudios.com/ca/en/twill-trousers-dark-grey/BK0589-AA3', 'lastScrape': datetime.datetime(2024, 3, 16, 15, 25, 27, 347681)}
2024-03-16 15:25:30 [scrapy.core.engine] DEBUG: Crawled (200) <GET https://www.acnestudios.com/robots.txt> (referer: None)
2024-03-16 15:25:30 [scrapy-playwright] INFO: Launching browser chromium
2024-03-16 15:25:31 [scrapy-playwright] INFO: Browser chromium launched
2024-03-16 15:25:31 [scrapy-playwright] DEBUG: Browser context started: 'default' (persistent=False, remote=False)
2024-03-16 15:25:31 [scrapy-playwright] DEBUG: [Context=default] New page created, page count is 1 (1 for all contexts)
2024-03-16 15:25:31 [scrapy-playwright] DEBUG: [Context=default] Request: <GET https://www.acnestudios.com/ca/en/twill-trousers-dark-grey/BK0589-AA3> (resource type: document)
2024-03-16 15:25:31 [scrapy-playwright] WARNING: Closing page due to failed request: <GET https://www.acnestudios.com/ca/en/twill-trousers-dark-grey/BK0589-AA3> exc_type=<class 'playwright._impl._errors.Error'> exc_msg=net::ERR_INVALID_ARGUMENT at https://www.acnestudios.com/ca/en/twill-trousers-dark-grey/BK0589-AA3
Traceback (most recent call last):
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/scrapy_playwright/handler.py", line 340, in _download_request
    return await self._download_request_with_page(request, page, spider)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/scrapy_playwright/handler.py", line 369, in _download_request_with_page
    response, download = await self._get_response_and_download(request=request, page=page)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/scrapy_playwright/handler.py", line 461, in _get_response_and_download
    response = await page.goto(url=request.url, **page_goto_kwargs)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/playwright/async_api/_generated.py", line 8612, in goto
    await self._impl_obj.goto(
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/playwright/_impl/_page.py", line 500, in goto
    return await self._main_frame.goto(**locals_to_params(locals()))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/playwright/_impl/_frame.py", line 145, in goto
    await self._channel.send("goto", locals_to_params(locals()))
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 59, in send
    return await self._connection.wrap_api_call(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 509, in wrap_api_call
    return await cb()
           ^^^^^^^^^^
  File "/Users/user/Projects/tycoon-web-scraper/tycoon-web-crawler-python-base/scraper/lib/python3.11/site-packages/playwright/_impl/_connection.py", line 97, in inner_send
    result = next(iter(done)).result()
             ^^^^^^^^^^^^^^^^^^^^^^^^^
playwright._impl._errors.Error: net::ERR_INVALID_ARGUMENT at https://www.acnestudios.com/ca/en/twill-trousers-dark-grey/BK0589-AA3
2024-03-16 15:25:31 [TycoonSpider] ERROR: Error: net::ERR_INVALID_ARGUMENT at https://www.acnestudios.com/ca/en/twill-trousers-dark-grey/BK0589-AA3
2024-03-16 15:25:31 [scrapy.core.engine] INFO: Closing spider (finished)

When I print the types of those 3 arguements being passed into where that error occurs I get the following:
Request: <class 'scrapy.http.request.Request'>
Page: <class 'playwright.async_api._generated.Page'>
Spider:<class 'tycoon_crawler.spiders.tycoon_spider.TycoonSpider'>
Unsure why I get 2024-03-16 15:25:31 [scrapy-playwright] WARNING: Closing page due to failed request: ........ ERR_INVALID_ARGUMENT at https://www.acnestudios.com/ca/en/tw.....
because the declaration looks like so:
async def _download_request_with_page(
self, request: Request, page: Page, spider: Spider
) -> Response:

This is not an incorrect argument being passed between methods, the net::ERR_INVALID_ARGUMENT error comes from Chromium: search for "chromium net::ERR_INVALID_ARGUMENT" and you'll see many results.
I'm not 100% sure, but IIRC this might be related to SSL verification. I think I remember seeing it myself when working with proxies that needed an external certificate to verify HTTPS connections.

Closing due to inactivity.


ServiceClient creating fails for sandbox environment

Instantiating a ServiceClient for CampaignManagementService fails with sandbox environment, e.g.
from bingads import ServiceClient

if __name__ == '__main__':
    service = ServiceClient('CampaignManagementService',
            authorization_data=None,
            environment='sandbox')

fails with:
Traceback (most recent call last):
  File "bin/python", line 146, in <module>
    exec(compile(__file__f.read(), __file__, "exec"))
  File "/tmp/a.py", line 6, in <module>
    environment='sandbox')
  File "/x/etc/eggs/bingads-9.3.2-py2.7.egg/bingads/service_client.py", line 31, in __init__
    self._soap_client = Client(self.service_url)
  File "/x/etc/eggs/suds_jurko-0.6-py2.7.egg/suds/client.py", line 115, in __init__
    self.wsdl = reader.open(url)
  File "/x/etc/eggs/suds_jurko-0.6-py2.7.egg/suds/reader.py", line 150, in open
    d = self.fn(url, self.options)
  File "/x/etc/eggs/suds_jurko-0.6-py2.7.egg/suds/wsdl.py", line 160, in __init__
    self.set_wrapped()
  File "/x/etc/eggs/suds_jurko-0.6-py2.7.egg/suds/wsdl.py", line 266, in set_wrapped
    raise TypeNotFound(query.ref)
suds.TypeNotFound: Type not found: '(SetNegativeSitesToAdGroups2Request, https://bingads.microsoft.com/CampaignManagement/v9, )'

The example works (no exception raised) if you change sandbox to production

Thanks for reporting this issue with the Campaign Management sandbox service. We are investigating and will follow up.

The sandbox deployment configuration issue is now resolved, and I am now able to initialize a ServiceClient for the CampaignManagementService. Thanks for your patience.


Meaning of Round in PN Method

Hello and thanks for your great work.
I have a question for the details of the Pattern Noise method in the paper, what is the exact meaning of the Round parameter?
Does Round mean one epoch template replacement for the whole corpus at a certain rate; multiple rounds of Round means continuing replacement on the basis of each round.
It would be appreciate if you can help with it! ：)

Yes, you got it. It is exactly what you mean.


[receiver/awscontainerinsightreceiver] Add new container metrics

Description: Introduce new container level metrics. The new metrics are:
container_cpu_utilization_over_container_limit
container_memory_utilization_over_container_limit
container_memory_failures_total
container_processes
container_processes_threads
container_processes_file_descriptors

Testing:

Unit tests updated
Manually tested by pushing changes to a dev cluster and set up a pipeline to push the generated metrics to CloudWatch.
Snapshot of metrics in CW:

Documentation: Updated README.md

IIRC you said in standup that certain permissions are required to get these metrics? Is that right? If so, how should we document that? And have we confirmed there are no crashes or anything if the permissions are not there?

IIRC you said in standup that certain permissions are required to get these metrics? Is that right? If so, how should we document that? And have we confirmed there are no crashes or anything if the permissions are not there?

That is right, yes. Before launch, I think we need to update our public docs on what permissions are needed etc. We should also do the same when creating a user guide before we give this to anyone.
And right, nothing will crash when the permissions are missing - just that the values reported for the processes_* metrics will be wrong or 0s. Ive created a task in our backlog to drop these metrics when the right permissions arent available so we dont report false metrics and add a debug log in such cases.


Why does the emitter expect a std::fmt::Write instead of an std::io::Write?

It seems like it'd be useful to emit to an open file or socket, but it seems like fmt::Write is rather limited

Thanks. The emitter is designed for debug purpose in the first place. Yes, I think we should add support for io::Write.

Is there any interest in a PR for this? I see that there is a lot of outstanding PRs, so I wonder how active this repo is.


drivers: dma: siwx917: Add DMA driver

Addition of DMA driver for Si91x

Addition of  extra twister tests for verifying UDMA using Zephyr APIs. The chan_blen_transfer test case can be run along with these additional test cases.

Hello @smalae,
Could you configure git with your real name[1]:
git config --global user.name "Sai Santhosh Malae"
git config --global user.email<EMAIL_ADDRESS>
(You can use git commit --amend --reset-author to change the author of existing commits).
In addition, could you follow the Zephyr Pull Request[2] guidelines[3].
[1] https://docs.zephyrproject.org/latest/contribute/guidelines.html#git-setup
[2] https://docs.zephyrproject.org/latest/contribute/guidelines.html#pull-request-guidelines
[3] https://docs.zephyrproject.org/latest/contribute/guidelines.html#contribution-workflow

The introduction letter of your PR properly identify three steps to introduce this driver (driver by itself, DT configuration and tests). I suggest to split your commits to reflect these steps. Thus, the review you be more efficient.
Could you also enable your tests in CI (.github/workflows/build.yml and .github/workflows/upstream-build.yml)

Hello @smalae,
Could you configure git with your real name[1]:
git config --global user.name "Sai Santhosh Malae"
git config --global user.email<EMAIL_ADDRESS>
(You can use git commit --amend --reset-author to change the author of existing commits).
In addition, could you follow the Zephyr Pull Request[2] guidelines[3].
[1] https://docs.zephyrproject.org/latest/contribute/guidelines.html#git-setup [2] https://docs.zephyrproject.org/latest/contribute/guidelines.html#pull-request-guidelines [3] https://docs.zephyrproject.org/latest/contribute/guidelines.html#contribution-workflow

Sure @jerome-pouiller

Sure @jerome-pouiller. Will do the suggested changes.

The introduction letter of your PR properly identify three steps to introduce this driver (driver by itself, DT configuration and tests). I suggest to split your commits to reflect these steps. Thus, the review you be more efficient.
Could you also enable your tests in CI (.github/workflows/build.yml and .github/workflows/upstream-build.yml)

Sure, I will split into multiple commits

@smalae could you explain a bit what you mean by this part related to the new test case you're adding:

This test case does not need to be pushed upstream. It can only reside in Downstream.

Even though it doesn't need to be upstream and can reside downstream, is there a good reason to do that? If it's generic, i.e. can be applied to any DMA driver, then I think upstream is the right place for it. Keeping code purely downstream always comes with a maintenance overhead, so it's good to avoid that whenever possible.

@jhedberg agreed that it will cause the maintenance overhead. But this test case is almost similar to the existing test case with a few additional tests added (different data sizes and transfer lengths). I feel adding this test case upstream may not be necessary. Is it okay to remove this test case from the PR and retain it in my fork? Anyhow, the basic DMA test chan_blen_transfer can be run by CI. @jerome-pouiller, your thoughts?

But this test case is almost similar to the existing test case with a few additional tests added (different data sizes and transfer lengths). I feel adding this test case upstream may not be necessary.

I'm still a bit confused by what you mean with "not necessary". I don't think that's the metric we should use for making downstream/upstream decisions. "Is it useful/beneficial?" is a better one. If there's something that upstream tests don't cover and that "something" can be applied to any DMA controller (or most controllers), then proposing a change upstream would likely be well received as long as it's implemented in a reasonable way (e.g. does some refactoring if the alternative is to add lots of duplicated test code).

But this test case is almost similar to the existing test case with a few additional tests added (different data sizes and transfer lengths). I feel adding this test case upstream may not be necessary.

I'm still a bit confused by what you mean with "not necessary". I don't think that's the metric we should use for making downstream/upstream decisions. "Is it useful/beneficial?" is a better one. If there's something that upstream tests don't cover and that "something" can be applied to any DMA controller (or most controllers), then proposing a change upstream would likely be well received as long as it's implemented in a reasonable way (e.g. does some refactoring if the alternative is to add lots of duplicated test code).

Thank you for your feedback. I see your point about considering whether something is 'useful/beneficial' rather than just 'necessary.' However, in this case, my concern was more about the immediate scope and focus of the current implementation. While I agree that upstream changes can be beneficial when they address broader use cases, I believe that the proposed change may not fit well into the current scope without introducing unnecessary complexity or duplication. I'll revisit the idea with this in mind and ensure we stay aligned with the overall goals for simplicity and maintainability. For now, I am only going with the existing UDMA test case in Zephyr.