fix(cdk/tree): CdkTreeNodeToggle focuses node when toggling it

Fix focus behavior of CdkTreeNodeToggle. When toggling the expanded or collapsed state of a node, focus that node. Fix issue where end user cannot tab into tree component when collaping the parent of the active node.
Before this commit is applied, there is a bug where end user cannot tab into the tree.
Reproduction steps

Active a tree node
(focus state renders)
Using mouse, collapse parent of node from step 1.
(tree node collapses)
Press Tab, then shift + tab
(item before tree is focused. Can tab into the tree)

With this commit applied, above issue is no longer expected to reproduce.
This commit message is only for reviewers of this PR and can be deleted when landing this change in main.

cc @andrewseguin @BobobUnicorn. I don't seem to have a way to request a review from you

Closing in favor of #27631


Plex's SSL certificates aren't recognized for local hosts after websockets migration

Home Assistant release with the issue: 0.101.3
Last working Home Assistant release: 0.99.3 (0.100.x and 0.101.{0-2} untested)
Operating environment : Ubuntu 18.04, manual installation
Integration: Plex
Description of problem:
The SSL verification of Plex-issued certificates fails with the new websockets implementation (#28158). Logs get filled with the traceback that follows since the hostname speficied in the config doesn't match the certificate's wildcard.
Problem-relevant configuration.yaml entries:
plex:
  host: MY_LOCAL.PLEX_HOSTNAME.HERE
  token: 20_CHAR_TOKEN_HERE
  ssl: true
  verify_ssl: false

Traceback:
2019-11-06 15:23:07 ERROR (MainThread) [homeassistant.core] Error doing job: Exception in callback None()
Traceback (most recent call last):
  File "/usr/lib/python3.6/asyncio/events.py", line 145, in _run
    self._callback(*self._args)
  File "/usr/lib/python3.6/asyncio/selector_events.py", line 721, in _read_ready
    self._protocol.data_received(data)
  File "/usr/lib/python3.6/asyncio/sslproto.py", line 505, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/usr/lib/python3.6/asyncio/sslproto.py", line 201, in feed_ssldata
    self._sslobj.do_handshake()
  File "/usr/lib/python3.6/ssl.py", line 694, in do_handshake
    match_hostname(self.getpeercert(), self.server_hostname)
  File "/usr/local/lib/python3.6/dist-packages/idna_ssl.py", line 16, in patched_match_hostname
    return real_match_hostname(cert, hostname)
  File "/usr/lib/python3.6/ssl.py", line 331, in match_hostname
    % (hostname, dnsnames[0]))
ssl.CertificateError: hostname 'MY_LOCAL.PLEX_HOSTNAME.HERE' doesn't match '*.32_CHAR_UUID_HERE.plex.direct'

Additional information:
I haven't dived into the new implementation accurately enough yet, but being the author of #8341 and #21432 I am not finding SSL verification-related clues in the new code. I'd rather not rely on the *.plex.direct DNS binding, which #28564 reports as working since it matches the Plex-issued wildcard certificate.

@nmaggioni can you make sure the saved config entry (<config_dir>/.storage/core.config_entries) matches your YAML config? As of today, once that is created it will load from there on future restarts.

@jjlawren Thanks for checking in.
As I've upgraded from 0.99.3 straight to 0.101.3, plex.conf was still present; removing it had no effect, and the config entry matches what I'd be expecting:
{
    "connection_class":"local_poll",
    "data":{
        "server":"MY_SERVER_NAME_HERE",
        "server_config":{
            "token":"20_CHAR_TOKEN_HERE",
            "url":"https://MY_LOCAL.PLEX_HOSTNAME.HERE:32400",
            "verify_ssl":false
        },
        "server_id":"40_CHAR_UUID_HERE"
    },
    "domain":"plex",
    "entry_id":"07a02aabb6054c9d9ecc3ed1bb143b65",
    "options":{
        "media_player":{
            "show_all_controls":false,
            "use_episode_art":false
        }
    },
    "source":"import",
    "system_options":{
        "disable_new_entities":false
    },
    "title":"MY_SERVER_NAME_HERE",
    "version":1
}

On the config side everything seems correct, to me it looks like it's just the certificate validation that it's not being skipped.

Ah, I see the issue. The existing connections still obey that flag but it's not considered when creating the separate websocket connection. I'll take a look.


Add explicit @Inject to ResultModule

This this is bound in a multibinder in AlgebraJacksonModule which currently breaks if requireAtInjectOnConstructors is set on the guice binder.
@szabowexler @jhaber

What about just updating AlgebraJacksonModule to do:
    Multibinder.newSetBinder(binder(), Module.class)
        .addBinding()
        .toInstance(new ResultModule());

It seems like we should just never be asking Guice to instantiate this class


Add support for arrays in class prop

A small convenience feature to make it easier to dynamically add CSS classes.
Example:
const LAYOUT_CLASS = 'layout-flex-column';
const isMobile = window.matchMedia('(max-width: 640px)').matches;

Will be rendered as:
On desktop:

On mobile:

Adds: 37B to core

Coverage remained the same at 100.0% when pulling 872fbeb4480247f6619e68f78e18247f746aa1c5 on safrankamate:master into 078e316c66812bb59d6fb80f74fa7039006eb371 on developit:master.

That's awesome, thanks for the PR! We actually had something similar in Preact a few versions back, but later removed it as most of our users weren't using it. This was especially true for users coming from React who relied on classnames or a similar library. Given our strict size constraints, we were happy to use the saved bytes for other features.
That said you can easily extend Preact in your project to allow passing arrays for class/className. This can be done via our option hooks, see https://marvinh.dev/blog/preact-options/ . It would probably look something like this:
import { options } from "preact";

options.vnode = vnode => {
  const { className } = vnode.props;
  if (className && Array.isArray(className)) {
    vnode.props.className = className.filter(Boolean).join(' ');
  }
};

// Somewhere else

// renders:

Thanks for the quick and thorough response! The option hooks feature looks really useful, I'll definitely check them out. I also appreciate the principled attitude to size limits :) Cheers!


Support running the tests on Safari Technology Preview

Fix #1710

Current coverage is 100% (diff: 100%)

Merging #1729 into master will not change coverage

@@           master   #1729   diff @@
=====================================
  Files           1       1
  Lines        3981    3981
  Methods         0       0
  Messages        0       0
  Branches      700     700
=====================================
  Hits         3981    3981
  Misses          0       0
  Partials        0       0

Powered by Codecov. Last update 4b0f65e...d7714b2


Please allow users to choose wich date system  they want.

Dates are written with the US system MM/DD/YYYY.
Europe uses DD/MM/YYYY, and sometimes YYYY/MM/DD.
With the US date system it feels like using the imperial system : it still numbers but they make no sense...
Please allow users to change how dates are displayed in the app.

Hi,
The app should show the date in the local's device format. If it somehow fails to convert the format it falls back to platform default. Could you tell me where the date is in the wrong format?

Aha, this repo is for the android variant of the mobile app only. If the date format in the android app is incorrectly shown please let me know in what part of the mobile app you're seeing the wrong format. If this is an issue regarding the addy.io web-app please use that repo instead.

Ah okay thanks! I will take a look!

Hi @skal-dB,
I have just confirmed but the whole locale conversion works just fine on my end.
What language/region do you have your device set to? What Android version are you running?


添加JustList: {JustList name}

JustList URL: https://github.com/nature6016/csexjustsilt/blob/main/csexjustlist.ts
JustList 名称: goodjustlist
JustList 提交者的网站或主页:https://app.bitcsex.com

Sorry, your issue will be closed as you did not submit your information in the correct format.


Client received cleanup after each receive call

/lib/Client.php onData just keeps pushing payloads to the received array without ever cleaning it.
If the Wrench client is run in a loop, the array just keeps growing.
I don't see any reason to keep the previous received messages and calculating the diff on each receive() call.

Test fails because it expects the message to be at index '2', but the response array is reset and should expect the response to be at '0' .
From:
            # test fix for issue #43             $responses = $instance->receive();             $this->assertTrue(is_array($responses));             $this->assertCount(1, $responses);             $this->assertInstanceOf(Payload::class, $responses[0]);
Should be:
            # test fix for issue #43             $responses = $instance->receive();             $this->assertTrue(is_array($responses));             $this->assertCount(1, $responses);             $this->assertInstanceOf(Payload::class, $responses[0]);


Typo in Routing example

The explanation for Route ID #4 in the routing example ends with "The state of the routes in IDs 4 and 5 are still Active for Subnet2, because the route table that the user-defined routes in IDs 4 and 5 are in, isn't associated to Subnet2. A virtual network peering was created to meet requirement 1." I believe this should be "The state of the routes in IDs 4 and 5 are still Active for Subnet2, because the route table that the user-defined routes in IDs 6 and 7 are in, isn't associated to Subnet2. A virtual network peering was created to meet requirement 1."
Can you kindly help confirm? Thank you in advance!

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

ID: 38bd69ac-a1b5-a401-184d-37b55188a7c4
Version Independent ID: ef976d45-36eb-8a32-4b29-ae03412165d2
Content: Azure virtual network traffic routing
Content Source: articles/virtual-network/virtual-networks-udr-overview.md
Service: virtual-network
GitHub Login: @malopMSFT
Microsoft Alias: malop;kumud

@maryannlim Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.
@malopMSFT @KumudD This is fixed in #30668 but I do not have permissions to change this article.

#sign-off


select which files to download

Is there something that we can choose which files needed to be downloaded in a torrent?
if not,why? ,I extremely need this feature

You can make any API call in the spec manually by using the Client class directly.
$transmission = new Transmission\Transmission();
// Make the call manually
$response = $transmission->getClient->call('torrent-add', array(
    'filename' => $filename,
    'files-unwanted' => array(0, 1, 3)
));
// Load the torrent object
$torrent = $transmission->add($filename);


MNT: Update package version

cc maintainer(s): @johanneskoester, @bgruening, @daler, @jdblischak
This is an automated PR generated by conda-forge-cran-maintainer.R
Notes:

The feedstock was rerendered with conda-smithy (if there is no conda-smithy commit, then the feedstock was already up-to-date)

The recipe was updated to the most recent version on CRAN

I'm not sure why the AppVeyor build says it is still pending. The builds for both 3.3.2 and 3.4.1 completed successfully:
3.3.2: https://ci.appveyor.com/project/conda-forge/r-agricolae-feedstock/build/1.0.7/job/9n8pnhea3ausv8h7#L797
3.4.1: https://ci.appveyor.com/project/conda-forge/r-agricolae-feedstock/build/1.0.7/job/b6yem3ta5982p6na#L681

Mh, true wired. But we can merge, this is good! :)
Thanks!


Unable to Drag and Drop into Custom Categories

Addon Version
v0.1.8
World of Warcraft Version
Classic Era (And SoD/Hardcore)
Describe the bug
No stacktrace errors.
When creating a custom category, the Drag and Drop feature does not seem to work

Steps to reproduce
Create a new category
Attempt to add an item

You need to drag, hold, and drop. It can't just be pick up and drop -- this is a known issue and it will be resolved in a later update.


app doesn't not start

[raijin@ishtar][~http/wordexpress/express_test/WordExpress]%npm run startdev

<EMAIL_ADDRESS>startdev /srv/http/wordexpress/express_test/WordExpress
better-npm-run startdev

running better-npm-run in /srv/http/wordexpress/express_test/WordExpress
Executing script: startdev
to be executed: babel-node --debug ./dev.js
(node:7517) DeprecationWarning: node --debug is deprecated. Please use node --inspect instead.
Debugger listening on <IP_ADDRESS>:5858
[15:01:08] [write-file-webpack-plugin] options { exitOnErrors: true,
force: false,
log: true,
test: null,
useHashIndex: true }
App is now running on http://localhost:3000
/srv/http/wordexpress/express_test/WordExpress/node_modules/webpack/lib/Chunk.js:41
throw new Error("Chunk.entry was removed. Use hasRuntime()");
^
Error: Chunk.entry was removed. Use hasRuntime()
at Chunk.get entry [as entry] (/srv/http/wordexpress/express_test/WordExpress/node_modules/webpack/lib/Chunk.js:41:9)
at /srv/http/wordexpress/express_test/WordExpress/node_modules/extract-text-webpack-plugin/index.js:201:13
at Array.filter (native)
at Compilation. (/srv/http/wordexpress/express_test/WordExpress/node_modules/extract-text-webpack-plugin/index.js:200:37)
at Compilation.applyPlugins0 (/srv/http/wordexpress/express_test/WordExpress/node_modules/tapable/lib/Tapable.js:68:14)
at Compilation.seal (/srv/http/wordexpress/express_test/WordExpress/node_modules/webpack/lib/Compilation.js:567:8)
at /srv/http/wordexpress/express_test/WordExpress/node_modules/webpack/lib/Compiler.js:493:16
at /srv/http/wordexpress/express_test/WordExpress/node_modules/tapable/lib/Tapable.js:225:11
at _addModuleChain (/srv/http/wordexpress/express_test/WordExpress/node_modules/webpack/lib/Compilation.js:481:11)
at processModuleDependencies.err (/srv/http/wordexpress/express_test/WordExpress/node_modules/webpack/lib/Compilation.js:452:13)
at _combinedTickCallback (internal/process/next_tick.js:73:7)
at process._tickDomainCallback (internal/process/next_tick.js:128:9)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>startdev: better-npm-run startdev
npm ERR! Exit status 1
npm ERR!

I had the same issue, in package.json edit "extract-text-webpack-plugin": "^2.0.0-rc.3" and then run npm install again...

See #38


jaxlib-bin: use correct cuda releases

Description of changes
See https://github.com/NixOS/nixpkgs/issues/282184
jaxlib-bin installs prebuilt binaries that depend on specific CUDA version. The current binaries are built against CUDA 12.2, and by default cudaPackagesGoogle (the cudaPackages that jaxlib-bin refers to) is of version 11.8 on master.
This PR updated the srcs so that it fetches the correct binary based the cudaVersion of cudaPacakgesGoogle.  At this moment for jaxlib 0.4.23, only CUDA 11.8 and 12.2 are supported.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Btw @breakds I forgot to mention earlier: we'll need to update commit messages to follow nixpkgs commit conventions.

Btw @breakds I forgot to mention earlier: we'll need to update commit messages to follow nixpkgs commit conventions.

Ah I see, sorry about that. Seems that @SomeoneSerge has already updated the title. Thanks!

Ah I see, sorry about that. Seems that @SomeoneSerge has already updated the title. Thanks!

I updated the PR title, but you still need to update the commit messages (or we can squash)

I see. I squashed the commit that fixes the trailing whitespace into the previous one now. Anything else need to be fixed? I tried to follow the commit conventions but I am still not sure I grasp full of it.
Thanks!

@breakds,
"address comments" in nixpkgs' git log would lack context; when the message is too generic you can prefix it with the package name, e.g. jaxlib-bin: do this and that. This would suggest the scope, but not explain what the "comments" were. Can you describe what the functional change was or what underlying issue it has addressed? Also cf. https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#commit-conventions
(I could squash-merge with a new message now, but I think it's better if you work out the whole thing)

@breakds,
"address comments" in nixpkgs' git log would lack context; when the message is too generic you can prefix it with the package name, e.g. jaxlib-bin: do this and that. This would suggest the scope, but not explain what the "comments" were. Can you describe what the functional change was or what underlying issue it has addressed? Also cf. https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#commit-conventions
(I could squash-merge with a new message now, but I think it's better if you work out the whole thing)

Thanks for the detailed explanation! I got it now. The second commit is updated now. Can you take another look? Thanks!

@ofborg build python311Packages.jaxlib-bin  python311Packages.jaxlib-bin.passthru.tests

Hmm, I'm on the struggle bus reviewing this due to
(bitbop) ubuntu@bitbop:~/nixpkgs$ NIX_PATH=.. nix-shell -p python3Packages.jax -p python3Packages.jaxlib-bin
these 6 derivations will be built:
  /nix/store/adk502vlk7wfzhxabzv87zn6m609hvyp-cudatoolkit-11.8.0.drv
  /nix/store/drnf81adqpqpnkvnx6xd7yq4x9nnhnx2-cudatoolkit-11.8.0-merged.drv
  /nix/store/qyf7lfwja0393a7j0svijw4kf7cxd0j4-bazel-build-jaxlib-0.4.23.drv
  /nix/store/fv485s8vijqqc0nri0c82ld9j59mhff8-python3.11-jaxlib-0.4.23.drv
  /nix/store/l7l4ixbq2wka45rf5rrfxhvzx42kg39x-python3.11-jaxlib-0.4.23.drv
  /nix/store/vqhd3adcfrhx3y16w0d05y1lakkf5m6v-python3.11-jax-0.4.23.drv
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
building '/nix/store/adk502vlk7wfzhxabzv87zn6m609hvyp-cudatoolkit-11.8.0.drv'...
Sourcing auto-add-opengl-runpath-hook
Using autoAddOpenGLRunpathPhase
Sourcing mark-for-cudatoolkit-root-hook
Running phase: qtPreHook
Running phase: unpackPhase
Creating directory pkg
/nix/store/pnjyl1yrlw63vypaypnp948gir430fk6-cuda_11.8.0_520.61.05_linux.run: line 226: /dev/tty: No such device or address
/nix/store/pnjyl1yrlw63vypaypnp948gir430fk6-cuda_11.8.0_520.61.05_linux.run: line 226: /dev/tty: No such device or address
Terminated
error: writing to file: No space left on device

But I have plenty of disk space... Seems like something is wrong with cudaPackages_11_8.cudatoolkit?
(bitbop) ubuntu@bitbop:~/nixpkgs$ NIX_PATH=.. nix-shell -p cudaPackages_11_8.cudatoolkit
this derivation will be built:
  /nix/store/adk502vlk7wfzhxabzv87zn6m609hvyp-cudatoolkit-11.8.0.drv
warning: Ignoring setting 'auto-allocate-uids' because experimental feature 'auto-allocate-uids' is not enabled
warning: Ignoring setting 'impure-env' because experimental feature 'configurable-impure-env' is not enabled
building '/nix/store/adk502vlk7wfzhxabzv87zn6m609hvyp-cudatoolkit-11.8.0.drv'...
Sourcing auto-add-opengl-runpath-hook
Using autoAddOpenGLRunpathPhase
Sourcing mark-for-cudatoolkit-root-hook
Running phase: qtPreHook
Running phase: unpackPhase
Creating directory pkg
/nix/store/pnjyl1yrlw63vypaypnp948gir430fk6-cuda_11.8.0_520.61.05_linux.run: line 226: /dev/tty: No such device or address
/nix/store/pnjyl1yrlw63vypaypnp948gir430fk6-cuda_11.8.0_520.61.05_linux.run: line 226: /dev/tty: No such device or address
Terminated
error: writing to file: No space left on device

@breakds I went ahead and pushed commits with commit message conventions that align with the guide. Hope that's ok? If so, I think we're ready to merge.
I've confirmed that jaxlib-bin identifies CUDA devices successfully with these changes.

@breakds I went ahead and pushed commits with commit message conventions that align with the guide. Hope that's ok? If so, I think we're ready to merge.
I've confirmed that jaxlib-bin identifies CUDA devices successfully with these changes.

Thanks a lot @samuela!


Bicep deploy - put a clickable link to the deployment in the output after deployment start

Bicep deploy feature enhancement:
Put a clickable link to the deployment in the output as soon as deployment starts
Related to https://github.com/Azure/bicep/issues/1862

Depends on and blocked by: https://github.com/Azure/bicep/pull/6538
@ucheNkadiCode

@bhsubra What's the update on this?

This was fixed via https://github.com/Azure/bicep/pull/6654. I'll go ahead and close this issue. Thanks!


[BUG] Special price do NOT works

Expected Behaviour
As in previous versions, it should be possible to set a special status with a special price that overrides the price of the menu item

Actual behaviour
Currently it is not possible to set a special status for the price of menu items (which was possible in older versions such as 3.04-beta.24.4 for sure)
Reproduce steps

Create a new menu item by setting all the basic options (price, category, location etc) and save it

Set a special status with a new price (e.g. £ 18 and always valid)

Immediately after pressing the Save button, the selected fields are deselected, cancelling all entered values and deactivating the special status

Version
v.3.0.4-beta.26

Fixed!

Fixed!


rawWaveAddSPI doc help

Hi,
regarding the online example of MCP3008, I don't understand some parts of the following:
rawWaveAddSPI(&rawSPI, offset, SPI_SS, buf, 2, BX, B0, B0);
In particular:

2: what are 2 bits to transfer?

from the MCP3008 datasheet, I see 3 bytes needs to be transmitted, while the buffer here keeps only 2 bytes

Indeed the example for bbSPIXfer moves 3 bytes.
Perhaps 1) and 2) are closely related.
Thanks!

I'm afraid you are on your own with this one.  I don't have the time to get back up to speed with how these functions work to be able to offer any advice.


[proposal]Koordlet  frequent  restarts when CPI PSI monitoring is enabled due to high memory usage

What is your proposal:
When the psi cpi function is enabled, the koordlet container uses memory to maintain around 240mb, which is prone to trigger the 256mb limit and cause oom and pod restart problems, as shown in the figure below.

Why is this needed:
To improve the stability of the koodlet and reduce the overhead of metric collection
Is there a suggested solution, if so, please add it:
Maybe can use Golang's memory profiling tools and increase the frequency of garbage collection.

/area koordlet

Enable CPI PSI, and test in one node cluster
 ~ kubectl get node -o wide
NAME       STATUS   ROLES           AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
maao-dev   Ready    control-plane   11d   v1.24.2   <IP_ADDRESS>   <none>        Ubuntu 20.04.4 LTS   5.15.0-60-generic   containerd://1.6.18
 ~ kubectl get po -A | wc -l
104
~ kubectl get po -n koordinator-system koordlet-vq6bg -o yaml | grep CPI
    - -feature-gates=BECPUEvict=true,BEMemoryEvict=true,CgroupReconcile=true,Accelerators=true,PSICollector=true,CPICollector=true

The container used about 260MB memory, but go_memstats_alloc_bytes is always below 50MB. It seems that most of the memory is used by sqlite3 (cgo). As per this, reducing GOGC does not reduce memory usage much.
When set metric-expire-seconds=900(default 1800), container memory usage drops to around 160MB.

Does the modification of metric-expire-seconds affect other modules which use metric_cache? In addition, does sqlite3 have memory leaks?  There seem to be related issue reports.

Thank you for your reply. For now, the memory usage statistics of Golang after enabling the feature are not large, and the oom issue may be related to the memory usage of cgo's SQLite3. Although there are few oom situations in other components of Koordlet, replacing the database with TSDB is indeed under consideration, and with the use of TSDB in the future, the memory issue in this issue could be resolved.The issue link for the previous metric_cache refactoring plan is here：https://github.com/koordinator-sh/koordinator/issues/586

Enable CPI PSI, and test in one node cluster
 ~ kubectl get node -o wide
NAME       STATUS   ROLES           AGE   VERSION   INTERNAL-IP   EXTERNAL-IP   OS-IMAGE             KERNEL-VERSION      CONTAINER-RUNTIME
maao-dev   Ready    control-plane   11d   v1.24.2   <IP_ADDRESS>   <none>        Ubuntu 20.04.4 LTS   5.15.0-60-generic   containerd://1.6.18
 ~ kubectl get po -A | wc -l
104
~ kubectl get po -n koordinator-system koordlet-vq6bg -o yaml | grep CPI
    - -feature-gates=BECPUEvict=true,BEMemoryEvict=true,CgroupReconcile=true,Accelerators=true,PSICollector=true,CPICollector=true

The container used about 260MB memory, but go_memstats_alloc_bytes is always below 50MB. It seems that most of the memory is used by sqlite3 (cgo). As per this, reducing GOGC does not reduce memory usage much.
When set metric-expire-seconds=900(default 1800), container memory usage drops to around 160MB.
Does the modification of metric-expire-seconds affect other modules which use metric_cache? In addition, does sqlite3 have memory leaks? There seem to be related issue reports.

@maaoBit Thanks for your contribution for testing possible memory leak in CPI and PSI collectors! The opnion about sqlite3 is quite useful and we will pay more attention on it such as replace it with TSDB.
However, when this problem first occurred, I was wondering if it is an accessible and reasonable memory usage lift which simply caused by new collector. So I did some observations to see if set a higher memory limit can solve the OOM problem. The fact is that over a long period of time(3-4 days), the memory usage remains stable for a few hours, then starts to increase, and so on. This really shocks me.

Could you give it a longer observe to see if the same phenomenon happens? I hope the way I did my evaluation is wrong and there is no other problems in the source code that leads to memory leak.

OK, I'll keep watching for a few days.


Rename AsBaseAudioContext -> BaseAudioContext

and rename the struct to ConcreteBaseAudioContext. This makes user
facing code a bit nicer, you will no longer need to import an item that
is not part of the spec.
See discussion at https://github.com/orottier/web-audio-api-rs/pull/99

Just repeating my comment from #99 here, so it's more simple to follow:

However, I would go for ConcreteBaseAudioContextInner, so we have:

trait BaseAudioContext (which retrieve)
ConcreteBaseAudioContext (which holds)
ConcreteBaseAudioContextInner
(not sure of my keyword relationships but you see the idea :)

Not very important, but I think it could help understand the relations between the abstractions when you are not completely used to the code.
Except that detail, looks very good I think!

Good point, I have renamed it


python312Packages.hcs-utils: refactor

Fix build (https://hydra.nixos.org/build/271830497)
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 341815 run on x86_64-linux 1

4 packages built:

python311Packages.hcs-utils
python311Packages.hcs-utils.dist
python312Packages.hcs-utils
python312Packages.hcs-utils.dist


Upgrade SDK Build Tools for react-native 0.56.0

Making it compatible with react-native 0.56.0
Still can use
ext {
buildToolsVersion = "23.0.1"
minSdkVersion = 16
compileSdkVersion = 23
targetSdkVersion = 23
supportLibVersion = "23.0.1"
}
if you are using older tools.

@msand Would you mind merging/releasing this to unblock upgrading to react-native 56?

Workaround:
subprojects { subproject ->
    afterEvaluate {
        if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
            android {
                compileSdkVersion rootProject.ext.compileSdkVersion
                buildToolsVersion rootProject.ext.buildToolsVersion
            }
        }
    }
}

Workaround, put it in build.gradle:
subprojects { subproject ->
    afterEvaluate {
        if ((subproject.plugins.hasPlugin('android') || subproject.plugins.hasPlugin('android-library'))) {
            android {
                compileSdkVersion rootProject.ext.compileSdkVersion
                buildToolsVersion rootProject.ext.buildToolsVersion
            }
        }
    }
}

@msand friendly ping ☺

Looking into this today

v6.5.0 published @LinusU @RodolfoSilva @GertjanReynaert @rghorbani


Added my name in the list

removed package-lock file
and Capitalized my bio

@umaresso Again theres package.json. Please make a subbranch and do this there.
@Panquesito7 @emmalearnscode @umaresso Please close this.

@umaresso Again theres package.json. Please make a subbranch and do this there.
@Panquesito7 @emmalearnscode @umaresso Please close this.

It doesn't need closing, the package-lock just needs restoring

i'm really sorry , i don't know about reverting

i will make a new issue then :(

i'm really sorry , i don't know about reverting

You can use github desktop

i will make a new issue then :(

pull request*


[Feature Request] - Dupes-in-hangar prevention

store the entityID in players.json
Cross-check that when it goes to save and overwrite entityID if it's the same one
[13:50] Kontu: >.> The saved blueprint in hangar has the entityID in it we know this already 'cause of gridbackup on load..so that simple crosscheck should handle those kinds of dupes at least right?
They could still wait for a save, !fixship, then save and crash it but at least it cuts out a bunch of dupes if the server is crashlooping or something
[14:22] Casimir: well, i dont even have to store it
[14:22] Casimir: just keep a running list of all hangar saves and clear them when the server saves
[14:23] Casimir: when a server starts, it checks that list and if it has any, remove them
[14:23] Casimir: Thats what I used to do
All this is intended to do is prevent things like autohangar from saving a duplicate copy of the same entityID. I know it won't stop all dupe situations, but this would cover the majority of "accidental dupes" we see from server crashes unrelated to QH

+1000000 Would love to see this added


Cookies enabled problem

I wanted to test one webpage which used this method to identify whether cookies are enabled:
function cookiesEnabled() {
	var c = document.cookie;
	var name = "__test_cookie__";
	document.cookie = name;
	var result = (document.cookie.indexOf(name) !== -1);
	document.cookie = c;
	return result;
}

PhantomJS returned false (not enabled).
The probem is in
document.cookie = "__test_cookie__";

it is not key value pair (for example a=b) so next document.cookie returns null. Maybe this is against some standard, but browsers allow this...

It seems, that according to this RFC - http://www.ietf.org/rfc/rfc2965.txt te value in key-value pair is optional...

Can be tested with HTML page as simple as:
<html>
	<head>
		<title>Phantom JS cookies test</title>
	</head>

	<body>
		<script>
			function cookiesEnabled() {
				var c = document.cookie;
				var name = "__test_cookie__";
				document.cookie = name;
				var result = (document.cookie.indexOf(name) !== -1);
				document.cookie = c;
				return result;
			}
		</script>
	</body>
</html>

I am experiencing this issue as well; anyone have a work-around?


fitBounds breaks when bounds 'nw' === 'se'

let's say the bounds for fitBounds is:
{     "nw": {         "lat": 33.76845,         "lng": -84.3883053     },     "se": {         "lat": 33.76845,         "lng": -84.3883053     } }
fitBounds will return
{     "zoom": 0,     "center": {         "lat": 33.76844999999999,         "lng": 95.61169469999999     } }

Your ideas how to solve? Allow to pass some default zoom, or just throw?

right now, I'm just catching this case and passing default zoom.
{center: {... whichever one works for a center since they are the same}, zoom: 13}
}

I got similar issues with onChange callback, the correct longitude is -121.8863286, but center return<PHONE_NUMBER>0000005.
{center: {lat: 37.33820819999998, lng:<PHONE_NUMBER>0000005}, zoom: 16, bounds: {nw: {lat: 37.34186755251527, lng: -121.89283227465205}, se: {lat: 37.33454866918679, lng: -121.87982892534785}},  marginBounds: {nw: {lat: 37.34186755251527, lng: -121.89283227465205}, se: {lat: 37.33454866918679, lng: -121.87982892534785}}, size: {width: 606, height: 429}} 39

Your ideas how to solve? Allow to pass some default zoom, or just throw?

I understand this method to return the highest zoom level with full bounding box still displayable. So if nw === se, then return center  = nw and zoom =40 (or whatever the highest is)
The programmer can put a Math.min(val, customMaxValue) around it if (s)he wants.

Has anyone had this happen with more than one geopoint? It seems almost impossible that those values would match exactly if you are fitting the bounds to multiple points. I have only seen it happen when fitBounds is called once. I think the solution to do a check on equal ( @henrymoews ) and return that value with the default zoom is the best scenario.

@ginman86 We had this problem when we displayed many POIs that were requested from a server. We were always requesting a certain amount of points around a given map center.
In some cases there was a huge number of POIs at the very same geo point, e.g. in a mall or skyscraper (obviously, the points were clustered; the data was retrieved from an external service so out of our control).
To get the best map view, we were getting the most north, east, west, and south point and created two new points nw and se.
To get rid of the error discussed here, we then checked if those two points were identically.

@henrymoews can you show a snippet of how you solve this? I'm getting the same issue for one geopoint.

@magicalbanana
Sure. In the end we had a function that got the nw and se as a param and we made sure those to points weren't identically by adding / substracting a tiny number. Here's the complete function:
`/**
*

@param mapSize
@param bounds {{nw: {lat: number, lng: number}, se: {lat: number, lng: number}}}
@returns {{center: {lat: number, lng: number}, zoom: number}}
*/
export function getMapCenterAndZoomByBounds(mapSize, bounds){

// the fitBounds method cannot handle bounds that have the same nw and se values so let's modify them a bit
const boundsToUse = bounds;
if(bounds.nw.lat === bounds.se.lat){
boundsToUse.se.lat += 0.0000001;
}
if(bounds.nw.lng === bounds.se.lng){
boundsToUse.se.lng += 0.0000001;
}
const centerAndZoom = fitBounds(boundsToUse, mapSize);
// Just a fallback; there is no zoom if the coords given as NW and SE weren't actually NW and SE
if(!centerAndZoom.zoom){
centerAndZoom.zoom = 17;
}
return {
center: centerAndZoom.center,
zoom: Math.min(centerAndZoom.zoom, MAX_DEFAULT_ZOOM) - 1,
};
}`


Adding Pose to the clothed SMPL-X Model

How do I add pose to the clothed SMPL-X model?
I tried to do this the following way, but did not succeed.
I see that that the inferer.make_rotation_images() function calls the load_smplx() function, in which the SMPLX model along with its mesh vertices (in the variable smpl_output.vertices are obtained.
The SMPLX model has the following variable attributes
vertices <class 'torch.Tensor'>, torch.Size([1, 10475, 3])
joints <class 'torch.Tensor'>, torch.Size([1, 127, 3])
full_pose <class 'NoneType'>,
global_orient <class 'torch.Tensor'>, torch.Size([1, 3])
transl <class 'NoneType'>,
betas <class 'torch.Tensor'>, torch.Size([1, 10])
body_pose <class 'torch.Tensor'>, torch.Size([1, 63])
left_hand_pose <class 'torch.Tensor'>, torch.Size([1, 45])
right_hand_pose <class 'torch.Tensor'>, torch.Size([1, 45])
expression <class 'torch.nn.parameter.Parameter'>, torch.Size([1, 10])
jaw_pose <class 'torch.Tensor'>, torch.Size([1, 3])

I tried assigning values to body_pose, left_hand_pose, and right_hand_pose. However, this does not modify smpl_output.vertices, and consequently, the generated output images are not modified.

I see that pose information from a different person can be transferred to a clothed avatar as shown in Fig.4 in the paper. I just wanted to know how to do it in this repo.

Figured out one way to do it:
load_smplx() gets an object instance of SMPLXOutput class in the smpl_output variable. The inference of mesh vertices from the pose/shape parameters happens inside the forward function of the class, and hence, modifying pose/shape parameters once the object has been returned will not modify the vertices attribute.
To the body_models.py file from the smplx package (path should be something like /path_to_env/lib/python3.7/site-packages/smplx/body_models.py), I added the logic to set body_pose, left_hand_pose, right_hand_pose by reading these values from an external file.
I added these lines before the line full_pose = torch.cat([global_orient, ... , right_hand_pose], dim=1) in the forward function.


Peer can't send version info to bazaar

moving here from optdyn/hub#4554
First of all I need to say that this happens rare and to several peers only (as I noticed it happens only to Lars's peers which have public IP). Previously it happened to other peers (see comments in hub issue), but after some period of time (2-3 weeks passed) those peers are recovered and now able to send versions (for example this peer was having that issue and now is ok: https://bazaar.subutai.io/peers/5606). On other peer we couldn't figure out the cause, and reimported management, and it also worked after that.
So, at the moment only this peer having this issue:

In bazaar it shows old version because peer didn't send version info. In Subutai Console peer is up to date:

In peer karaf logs we see that it fails to send version info because of timeout, but other requests works ok(like heartbeat):
2018-07-10 06:41:07,001 | ERROR | pool-42-thread-9 | HubRestClient                    | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | Error executing request to Hub: java.net.SocketTimeoutException: SocketTimeoutException invoking https://masterbazaar.subutai.io:444/rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/version-info: Read timed out
2018-07-10 06:43:08,053 | ERROR | pool-42-thread-4 | HubRestClient                    | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | Error executing request to Hub: java.net.SocketTimeoutException: SocketTimeoutException invoking https://masterbazaar.subutai.io:444/rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/version-info: Read timed out

2018-07-10 06:42:50,928 | INFO  | pool-43-thread-1 | HeartbeatProcessor               | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | Sending heartbeat to HUB: interval=60, force=false, fastModeLeft=-812
2018-07-10 06:42:50,928 | INFO  | pool-43-thread-1 | HeartbeatProcessor               | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | Heartbeat - START
2018-07-10 06:42:50,928 | INFO  | pool-43-thread-1 | HubRestClient                    | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | POST /rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/heartbeat/6378442
2018-07-10 06:42:51,264 | DEBUG | 948776017-229809 | AuthorizationInterceptor         | 3 - io.subutai.core.blueprint.auth - 7.0.5.SNAPSHOT | Granting access to Method: public javax.ws.rs.core.Response io.subutai.core.executor.rest.RestServiceImpl.check(java.lang.String) for RolePrincipal[Resource-Management|Read].
2018-07-10 06:42:51,737 | INFO  | pool-43-thread-1 | HubRestClient                    | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | response.status: 200 - OK
2018-07-10 06:42:51,740 | INFO  | pool-43-thread-1 | HeartbeatProcessor               | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | stateLinks: []
2018-07-10 06:42:51,740 | INFO  | pool-43-thread-1 | HeartbeatProcessor               | 223 - io.subutai.core.hubmanager.impl - 7.0.5.SNAPSHOT | Heartbeat - END

attaching karaf.logs just in case: karaflogs2018-07-10 12_51_09.txt
Version info request is not reaching Bazaar application, it's reaching bazaar Nginx, but it shows that zero data is sent (see zero after 408 in Nginx logs below):
<IP_ADDRESS> - - [10/Jul/2018:06:49:10 +0000] "POST /rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/version-info HTTP/1.1" 408 0 "-" "Apache CXF 3.1.0"
<IP_ADDRESS> - - [10/Jul/2018:06:50:10 +0000] "POST /rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/version-info HTTP/1.1" 408 0 "-" "Apache CXF 3.1.0"
<IP_ADDRESS> - - [10/Jul/2018:06:52:11 +0000] "POST /rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/version-info HTTP/1.1" 408 0 "-" "Apache CXF 3.1.0"

At the same time if I send request to that endpoint from RH CLI or from inside management container CLI of that peer, request is reaching bazaar application and handled by it:

So, request fails only when it's sent from inside Subutai Console application itself.

I debugged the Console on the specified peer https://masterbazaar.subutai.io/peers/2993#
First besides the error mentioned above I also got :

javax.ws.rs.ProcessingException: java.net.SocketException: SocketException invoking https://masterbazaar.subutai.io:444/rest/v1/peers/7EB3E3974A9F27B97F1DC99A93B5AF2973CAB446/version-info: Unexpected end of file from server

from Console side the body was not empty and request was properly sent to Bazaar:

I serialized the body to a file
post
and tried from inside of the peer's management container and got this:

So this is definitely not a Console issue, but can be related to peer network or Bazaar side
@samsonbek @lbthomsen

One thing that is important to stress - on "master" I have five peers all managed in exactly the same way with ansible.  All these five have public IP and they are for all intends and purposes identical - same os, same software installed, installed around the same time, all running on public IP's etc. etc.

You should all have access to the peer if needed - eu2.s.optdyn.com

@Dilshat Could you please also do the same operations on one of the other 4 servers, just to validate that your approach is expected to work?

I repeated the experiment on master-peer-us-2 (<IP_ADDRESS>) and it returned correct error since fingeprint is missing in the request:
master-peer-us-2:~# curl --request POST --data-binary "@post" https://masterbazaar.subutai.io:444/rest/v1/peers/74F1854507B4D774F3EDA30F998477024A661A2E/version-info
Cannot get the fingerprint from the requestmaster-peer-us-2:~#

you can see the difference comparing it with the response above
@niclash

Bazaar handles all peers the same way, so if it works for other peer, it must work for this peer too. Unless this peer is not some specific issues.

This is certainky something with networkilg on Bzr side, probably nginx or other stuff

Recently this issue has not appeared

faced this issue on https://bazaar.subutai.io/peers/7195#

some conversations on Slack:

It is network issue in MH
To investigate this issue I wanted to install some net tools but could not, installation always hung and failed  on every peer where this issue was.
  Connection failed [IP: <IP_ADDRESS> 80]
Get:2 http://cdn-fastly.deb.debian.org/debian stretch/main amd64 tcpdump amd64 4.9.2-1~deb9u1 [415 kB]
Fetched 415 kB in 6min 2s (1144 B/s)
E: Failed to fetch http://cdn-fastly.deb.debian.org/debian/pool/main/libp/libpcap/libpcap0.8_1.8.1-3_amd64.deb  Connection failed [IP: <IP_ADDRESS> 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

So it was something wrong with network.
I noticed that MH eth0 MTU is 1500
106: eth0@if107: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 00:16:3e:ed:d2:97 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/24 brd <IP_ADDRESS> scope global eth0
       valid_lft forever preferred_lft forever
    inet6 fe80::216:3eff:feed:d297/64 scope link
       valid_lft forever preferred_lft forever
root@management:/# nano /etc/network/interfaces

and compared with other working fine peer, it differed. In working fine peers the MTU value was 1450
So, I changed on 3 peers MH eth0 MTU value to 1450 and restarted network
Than it worked, these 3 peers version info in Bazaar got right version.
I don't know how and when it got 1500 MTU, maybe it was for a long time.
So it should be changed perhaps on next updates?!

fixed


Refactor/pubsub refactor

@luixo Should we close this now?

Yep.
I guess I may reuse uWebsocket later, but let's close this for now.


Fix the handling of incoming SETTINGS_INITIAL_WINDOW_SIZE.

From my understanding of the code and the HTTP/2 spec, we shouldn't try to reclaim dec from the available flow, but rather only take away any excess if it would exceed the new window_size.
This fixes a deadlock we observed: if we manage to send out a a new stream's HEADERS frame just before receiving a SETTINGS frame from the server that decreases the initial window size, available would be dropped down to zero and never requeued, causing us to never send DATA and then eventually time out. This is probably easy enough to write a test for but I don't have the time for it at the moment.

Thanks for all the fixes 👍 I'm just doing a drive by comment and hoping that @seanmonstar or others can do a review.
Any chance for a test or thoughts on how to repro / add a test?

I added some comments and a test that hangs without this change.


installApp not working

Current build throws an exception when using the the installApp option:
$ ./gradlew installApp
FAILURE: Build failed with an exception.

What went wrong:
Task 'installApp' not found in root project 'cql-all'. Some candidates are: 'install'.

Try:
Run gradlew tasks to get a list of available tasks. Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

Get more help at https://help.gradle.org

BUILD FAILED in 1s

In the most recent versions of gradle, installApp was deprecated.  Please use installDist instead:
$ ./gradlew installDist

I apologize for the confusion.  We'll update the README to reflect this.


Support providers to define capabilities of consumable configurations

Expected Behavior
Configuration.getOutgoing().capability(Object notation) accepts providers and evaluates them late. Similar to how late attribute evaluation is supported (#18936).
For example, use cases like this are supported:
// early (e.g. in plugin)
configurations.create("somethingConsumable") {
  canBeResolved = false
  canBeConsumed = true
  ... // define attributes etc.
  outgoing.capability(provider { project.getGroup() + ":" + project.getName() + "-something:" + project.version })
}

// later (e.g. in build.gradle)
group = "org.example"
version = "1.1"

Concretely, I need this in a plugin:
https://github.com/gradlex-org/java-module-dependencies/blob/1f2dabe245a98e332d11e48436447828b0cf2da6/src/main/java/org/gradlex/javamodule/dependencies/JavaModuleVersionsPlugin.java#L64
Current Behavior (optional)
No response
Context
In previous Gradle versions, ConfigurationInternal.beforeLocking { } could be used as a place to configure Configuration details such as capabilities late (#19131). This method has been removed in Gradle 8.3 (#25126).

Thank you for your interest in Gradle!
This feature request is in the backlog of the relevant team and is prioritised by them.


City Report for country

Write an SQL query and Java function to return such information:
"All the cities in a country organised by largest population to smallest"
The function should accept such arguments:
Country
The query should return such information:
Name
Country
District
Population

As a user, I want to generate a report on all cities in the country specified by me, organized by their population in descending order so that I can quickly view the cities population distribution.


Module is incompatible with foundry v12

The play button does not appear in the file explorer.

Find information about this module here: https://github.com/MiahNelah/audio-preview

Ask the community for support:
- FoundryVTT Discord's #modules-troubleshooting channel: https://discord.gg/foundryvtt
- FoundryVTT Reddit: https://www.reddit.com/r/FoundryVTT

== Technical Details:
Detected by libWrapper.
Package ID= audio-preview
Error= Can't wrap 'FilePicker.prototype._onPick', target does not exist or could not be found.

    at new 🎁constructor (libWrapper-wrapper.js:111:11)
    at libWrapper-api.js:82:18
    at de (libWrapper-api.js:155:9)
    at 🎁register [as register] (libWrapper-api.js:525:14)
    at Object.fn (audio-preview.js:123:16)
    at #call (foundry.js:608:20)
    at Hooks.callAll (foundry.js:565:17)
    at Game.initialize (foundry.js:8885:11)
    at 🎁call_wrapped [as call_wrapped] (libWrapper-wrapper.js:507:22)
    at 🎁libWrapperInit (libWrapper-api.js:805:11)
🎁constructor @ libWrapper-wrapper.js:111
(анонимный) @ libWrapper-api.js:82
de @ libWrapper-api.js:155
🎁register @ libWrapper-api.js:525
(анонимный) @ audio-preview.js:123
#call @ foundry.js:608
callAll @ foundry.js:565
initialize @ foundry.js:8885
🎁call_wrapped @ libWrapper-wrapper.js:507
🎁libWrapperInit @ libWrapper-api.js:805
await in 🎁libWrapperInit (асинхронно)
🎁Game.prototype.initialize#0 @ libWrapper-wrapper.js:187
window.addEventListener.once @ foundry.js:95263
foundry.js:7621 Foundry VTT | Loaded localization file modules/audio-preview/module/languages/en.json
foundry.js:71330  Audio Preview: Error detected in module. It is likely this module has not been updated for FVTT Version 12 Stable.  I rushed it a bit, but everything looks fine. Please open a new issue if you get some problems with it.


Firing the gun in regtest

I am wondering what would it require to add regtest RPC backend support in gun. I want to be able to create regtest betting transaction and test out various betting scenarios. Can be useful for automated integration testing too.
Is it possible right now? If not what needs to be done to bet on local regtest?

I don't think it's possible without some re-architecting. In mu gun branch on bdk I rely on the following functionality: https://github.com/LLFourn/bdk/blob/5108b75b44032f0461bf737cdc78b76023d7433e/src/blockchain/esplora/ureq.rs#L505
This tells gun if a tx has been confirmed, or if it is has been double spent and if so by what tx. We use this to tell if a bet has been cancelled or not. I don't think bitcoin rpc keeps track of this information.
It's possible this could be relaxed though. Bitcoin rpc can tell you if an output exists or not. It can't tell you why an output no longer exists but this is not as crucial.
Before including other blockchains other than esplora I'd focus on upstreaming the rest of the stuff from that branch to bdk before figuring out what to do from there. I think I want to make the main focus on improving the esplora support with partial sync and then after that branching out into other blockchain backends.


[FIX] patch command

Artifacts available for download:

Artifact Name
Download Link

clang.versions
https://github.com/seqan/actions/actions/runs/12015346909/artifacts/2234409921

gcc.versions
https://github.com/seqan/actions/actions/runs/12015346909/artifacts/2234406669

intel.versions
https://github.com/seqan/actions/actions/runs/12015346909/artifacts/2234406447


Support darwin arm64

I am trying to install minikube on an m1 mac and use the vmware driver option noted here: https://minikube.sigs.k8s.io/docs/drivers/vmware/
As noted in https://github.com/kubernetes/minikube/issues/12858, the following issue comes up after following the minikube instructions:
minikube start --driver=vmware

😄  minikube v1.25.1 on Darwin 12.0.1 (arm64)
✨  Using the vmware driver based on user configuration

❌  Exiting due to DRV_UNSUPPORTED_OS: The driver 'vmware' is not supported on darwin/arm64

Per the minikube instructions, I installed the vmware driver via brew install docker-machine-driver-vmware.

Not sure if there are other considerations beyond updating goreleaser and the homebrew tap.

The main issue is that the x86 driver uses boot2docker, and that project was discontinued. I'm trying to figure something out, but have been able to put time into it lately.

I made a (mostly dysfunctional) boot2docker image here, if needed for testing (based on debian bullseye):
https://github.com/afbjorklund/boot2docker-debian/releases

@afbjorklund Tried using yours, but am still getting errors with it.
Error in driver during machine creation: Machine didn't return an IP after 120 seconds
This virtual machine cannot be powered on because it requires the X86 machine architecture

That sounds like a weird error, did you pick the right iso file ?


Change build to default() in App.

Recently, there AppBuilder was removed. I tried to make this change in here.

For some reason I didn't get notifications for this repo so I missed your PR, sorry. The change is done now anyways so I'll close this.


not working with xampp

i installed 3wifi on xampp on windows but i got many errors and warnings:
Notice: Undefined index: uselocation in C:\xampp\htdocs\3wifi\index.php on line 148
Notice: Undefined index: lat in C:\xampp\htdocs\3wifi\index.php on line 150
Notice: Undefined index: lon in C:\xampp\htdocs\3wifi\index.php on line 151
Notice: Undefined index: rad in C:\xampp\htdocs\3wifi\index.php on line 152
Notice: Undefined index: lat in C:\xampp\htdocs\3wifi\index.php on line 154
Notice: Undefined index: lon in C:\xampp\htdocs\3wifi\index.php on line 155
Notice: Undefined index: rad in C:\xampp\htdocs\3wifi\index.php on line 156
Notice: Undefined index: theme in C:\xampp\htdocs\3wifi\index.php on line 183
Notice: Undefined variable: l10n in C:\xampp\htdocs\3wifi\index.php on line 210
Warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\3wifi\index.php on line 90
what should i do to fix it please

No idea. Ask in 3WiFi or Router Scan Telegram chat.


Does IoTDB support User Defined Function?

I am currently working on a benchmark of time series database systems for analytical (complex) queries. These queries are algorithms that cannot (easily) be implemented in SQL language so they require a third-party programming language such as C, C++, Python, Java, etc.
Does IoTDB support such a feature of a third-party programming language for User Defined Functions?

Hi @AbdelouahabKhelifati, thanks for your interest in our project!
IoTDB supports User-defined Function (only in Java language), you can try it on the rel/0.12 branch and the master branch.

https://iotdb.apache.org/UserGuide/V0.12.x/UDF/UDF-User-Defined-Function.html
https://iotdb.apache.org/UserGuide/Master/Advanced-Features/UDF-User-Defined-Function.html

In the master branch, IoTDB has better support for analytical (complex) queries, you can see:

https://iotdb.apache.org/UserGuide/Master/IoTDB-SQL-Language/DML-Data-Manipulation-Language.html#arithmetic-query
https://iotdb.apache.org/UserGuide/Master/IoTDB-SQL-Language/DML-Data-Manipulation-Language.html#time-series-generating-functions
https://iotdb.apache.org/UserGuide/Master/IoTDB-SQL-Language/DML-Data-Manipulation-Language.html#nested-expressions


Deprecate vnorm

Fixes https://github.com/dask/dask/issues/2606
At this point, users can get the same functionality from dask.array.linalg's norm. Since the latter matches a name from NumPy and vnorm does not, it makes more sense to deprecate vnorm and direct users to norm.

Thoughts on this? Should we note this in the docs somehow? Should we issue a warning from the chunk reduction version? Anything else?

No thoughts from me

Think I have addressed your concerns, @jcrist. Please let me know if this is ok.


ubuntu 编译错误 (compile error)

in the latest version :
/usr/bin/ld: /usr/local/lib/libleveldb.a(db_impl.cc.o):
relocation R_X86_64_PC32 against symbol `_ZN7leveldb10EnvWrapper8ScheduleEPFvPvES1_'
can not be used when making ein gemeinsames Objekt;
 recompile with -fPIC

in the old version 1.3.2:
/usr/bin/ld: /usr/local/lib/libyaml-cpp.a(emitterstate.cpp.o):
relocation R_X86_64_PC32 against symbol `_ZTVN4YAML13SettingChangeImEE'
can not be used when making ein gemeinsames Objekt;
 recompile with -fPIC

For libyaml-cpp.a I tested both "on" and "off"  accroding to

yaml-cpp defaults to building a static library, but you may build a shared library by specifying -DYAML_BUILD_SHARED_LIBS=ON

, but both failed ( link ).
I have seen this issue but not find the solution.

I cannot see your repro steps from the given information.
The error message shows you are linking a shared library against libraries built for static linking.


FEATURE REQUEST: Leave label as a placeholder when text is empty

The Material Design spec seems open to interpretation about when to float the label:

When the user engages with the text input field, the floating inline labels move to float above the field.

I could see "engages" meaning clicking on the text field, or typing something into it. This is the only place I can find in the spec that indicates when to float the text. Google's official libraries seem split on the subject as well. Polymer's paper-input does it on text input, but Material Design Lite and Angular Material do it on focus.
Personally, I think it makes more sense to do it on text input. A normal input with a placeholder will show the placeholder up until you start typing, then it disappears. In the case of a floating input it would float instead of disappearing. Having it disappear before you start typing seems inconsistent with standard placeholders.

P.S. introducing these code changes made the bug in #3245 much easier to notice. While they don't technically depend on each other, merging this PR and not the bugfix could raise some issues. The reason I made two separate PRs is because if this one isn't accepted the padding bug could still be fixed.

Hey there 👋
We are happy to see, that you have created a pull request to fix a problem or add a feature or did something else.
Unfortunately does your PR include compiled files. Please do not edit materialize.css, materialize.js or any .html file directly! Those files are automatically generated. You should edit the source files in the locations below instead. Also make sure to check out our CONTRIBUTING GUIDE!
/materialize/sass/
/materialize/js/
/materialize/jade/page-contents/

We won't look into this, unless you modify your PR, so that it matches with our CONTRIBUTING guidelines.


pixi in rollup dosen't work after build

it's say  No name was provided for external module 'url' in options.globals – guessing 'url'
No name was provided for external module 'path' in options.globals – guessing 'require$$1'
Dose pixi run in browser need url or path ?
i install them  it's not work either

Are you using rollup-plugin-node-builtins? url and path are Node APIs that PIXI uses and which are provided as Browserify's built-ins.

no ,  i just use rollup-plugin-node-resolve to  us the lib  , should i use rollup-plugin-node-builtins?

no , i just use rollup-plugin-node-resolve to use the lib , should i use rollup-plugin-node-builtins?

this'is  my devdependence:
"autoprefixer": "^6.5.3",
"ava": "^0.17.0",
"babel-cli": "^6.24.0",
"babel-eslint": "^7.1.1",
"babel-plugin-object-assign": "^1.2.1",
"babel-plugin-transform-runtime": "^6.15.0",
"babel-preset-es2015": "^6.18.0",
"browser-env": "^2.0.16",
"compare-versions": "^3.0.0",
"cross-env": "^3.1.4",
"css-loader": "^0.26.1",
"eslint": "^3.11.1",
"eslint-config-standard": "^6.2.1",
"eslint-friendly-formatter": "^2.0.6",
"eslint-loader": "^1.6.1",
"eslint-plugin-flow-vars": "^0.5.0",
"eslint-plugin-html": "^1.7.0",
"eslint-plugin-promise": "^3.4.0",
"eslint-plugin-standard": "^2.0.1",
"extend": "^3.0.0",
"ghooks": "^1.3.2",
"gzip-size": "^3.0.0",
"less": "^2.7.1",
"less-loader": "^2.2.3",
"mkdirp": "^0.5.1",
"nyc": "^10.0.0",
"postcss-loader": "^1.2.0",
"postcss-px2rem": "^0.3.0",
"rimraf": "^2.5.4",
"rollup": "^0.41.6",
"rollup-loader": "^0.0.2",
"rollup-plugin-buble": "^0.14.0",
"rollup-plugin-commonjs": "^7.0.0",
"rollup-plugin-less": "^0.1.1",
"rollup-plugin-node-resolve": "^2.0.0",
"rollup-plugin-replace": "^1.1.1",
"rollup-plugin-uglify": "^1.0.1",
"rollup-plugin-vue": "^2.2.10",
"standard": "^8.6.0",
"style-loader": "^0.13.1",
"uglify-js": "^2.7.5",
"webpack": "^1.13.3",
"webpack-dev-server": "^1.16.2",
"webpack-merge": "^1.0.2",
"webpack-notifier": "^1.4.1"

Not positive. Give it a shot.

i write a demo    https://github.com/luzhuang/pixirollup.git    look at  the dist/component.js

.config/.rollup.config.js  is my rollup file

.config/rollup.config.js is my rollup file

Have you tried the plugin that @bigtimebuddy recommended?

v5 uses rollup, so this should be good now :)


Cleanup unused ProxyServer/Corto code

This issue is imported from pivotal - Originaly created at Oct 7, 2019 by bstrooband
The now unused code in the Proxyserver and/or Corto must be removed.

@thijskh I was trying to find out which unused Corto code could be cleaned up. While doing this I saw that Corto still relies on the xml2array code for AM.

There is however a note in place which states
library/EngineBlock/Attributes/Manipulator/ServiceRegistry.php:49
// Note that this can be removed when all references to the old format have been removed from
// the attribute manipulations.

Do you know if this old format is still being used on production? It seems that when eval is executed$responseObj is the new format while $response is the old format. (bstrooband - Nov 6, 2019)

I can check this next week (Thijs Kinkhorst - Nov 6, 2019)

That would be great, thanks! (bstrooband - Nov 6, 2019)

We made good progress to clean this up but there's one instance left with an agreed deadline with the SP for 1 May 2020. Since we already had to persuade this SP to change things on their side I want to now not spend more of our goodwill with them to change the existing code to something else - which is work and has risk of breakage - when we know there's a fixed end date. So keep this story and implement it after 1 May, is my pragmatic wish. (Thijs Kinkhorst - Nov 12, 2019)

Thanks for the heads up. I'll have a quick look at what still could be removed to prevent unnecessary work because of dead code and will open a PR if that's possible. But will wait with the xm2array logic as suggested. (bstrooband - Nov 12, 2019)

I've looked if some work could be done now but it seems better to wait with the cleanup altogether to prevent unnecessary effort at the moment.
I'll remove this issue from the current sprint. (bstrooband - Nov 13, 2019)


EtherThief does not detect anything on TokenSaleChallenge.sol

Description
When trying EtherThief module on TokenSaleChallenge.sol presented on this article, nothing is detected even if I set --solver-timeout to a huge value
How to Reproduce

Create a local TokenSaleChallenge.sol
Running

docker run -v $(pwd):/tmp mythril/myth analyze /tmp/vulnerable_contracts/TokenSaleChallenge.sol --solc-json /tmp/solc.json -m EtherThief

Expected behavior
EtherThief should detect an issue but it states:
"The analysis was completed successfully. No issues were detected."
Environment

Mythril version: output from  myth --version or pip show mythril
Mythril version v0.23.12 (docker image)

Solidity compiler and version: solc --version
The one in docker image

Python version: python -V
The one in docker image

OS and Version: [e.g. Mac OS High Sierra]
The one in docker image

Hi, can you point out what solver timeout you have used? 100 seconds (which is 100000 milliseconds) works for me. The solver timeout is in milliseconds.

You are right, I tried a solver-timeout of 10, 100, 1000 and 10000 but stopped there.
With solver-timeout set to 100 seconds, the Unprotected Ether Withdrawal is indeed detected, thanks!
Could you explain to me how can I correctly choose solver-timeout for my own testing ?
I read that it is not ideal to mess with this value: https://github.com/ConsenSys/mythril/pull/777

Usually, the default value of 25 seconds (i.e. 25000) works (it works on my PC for this example). In some cases for large and deep contracts (or slow PC), try increasing it to 100 seconds. Anything more is usually pointless since it might take forever to run.


Analytics Rules "Excessive number of failed connections from a single source" have Blank IP Address Log and Inconsistent Descriptions

Describe the bug
Why your Log one of them is not showing IP? And inconsistent Alert Description number. it showing 5k but there is no indicator of 5k failure.
To Reproduce
Steps to reproduce the behavior:

Go to Sentinel
Click on alert "Excessive number of failed connections from" but not showing the IP. Alert is from Analytics Rules "Excessive number of failed connections from a single source (ASIM Network Session schema)"
Read The description Correctly and Click the log.
See error

Expected behavior
It must have IP Address. We need truly information!
Screenshots

Another Issue. this is hard to investigate

Hi @jeffrywu28,

We have reproduced this issue from our end and able to see the IP address in alter title-

Regarding the Alter description, the value is showing 5k failure is threshould value, which is default set while creating the analytic rule, and this value is fetch to incident description once it gets generated.
So, while creating the Analytic rule you can Modify the threshold to change the sensitivity of the rule: the higher the threshold, the less sensitive is the rule and less incidents will be generated-

In above screenshot, we have kept the- threshold = 100 and created the rule.
So, when the incident gets generated the Alter description will be-
The client at address ( 192. . . . ) generated more than 100 failures over a 5 minutes time window, which may indicate malicious activity.
You can also get more detailed info about incident, by using new tab feature-

Please let us know your feedback on this.
Thanks!

Hi @jeffrywu28, We are waiting for your response on above comment. Thanks!

Hi @jeffrywu28, Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 25-03-2024 date, we will be closing this issue.
Thanks!

Hi @jeffrywu28, since we have not received a response in the last 5 days, we are closing your issue as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.


Bugfix: use sandbox in ifrme on archive pages

when visiting an /index.html of a site using js trackers and ads,
the iframe should be used like  described here
e.g. <iframe src="demo_iframe_sandbox.htm" sandbox></iframe>

I think this will break a lot of the content being iframed, as lots of content uses plugin features like media/embed/etc. Why not just keep your
browser-level adblocker on and let it do the blocking?

I think this will break a lot of the content being iframed, as lots of content uses plugin features like media/embed/etc. Why not just keep your
browser-level adblocker on and let it do the blocking?


Slides disappear to the left when moving backwards using loop and centered mode.

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Swiper Version: Both 4.0.1 and 4.0.2

Platform/Target and Browser Versions: Chrome on Windows

Demonstration of behavior:

What you did
I created a swiper instance using the following code:
Javascript
var carousel = new Swiper('.swiper-container', {
        direction: 'horizontal',
        centeredSlides: true,
        slidesPerView: 3,
        spaceBetween: 5,
        navigation: {
            nextEl: '.button-next',
            prevEl: '.button-prev'
        },
        slidesOffsetBefore: 400,
        loop: true
    });

HTML

Skainos
Project

Belfast

                        Test text.

                    See Project

                        <button class="fa fa-chevron-left button-prev"></button>
                        <button class="fa fa-chevron-right button-next"></button>

Skainos
Project

Belfast

                        Test text.

                    See Project

                        <button class="fa fa-chevron-left button-prev"></button>
                        <button class="fa fa-chevron-right button-next"></button>

Skainos
Project

Belfast

                        Test Text

                    See Project

                        <button class="fa fa-chevron-left button-prev"></button>
                        <button class="fa fa-chevron-right button-next"></button>

Expected Behavior
I expect that the slides should loop both forward and backwards without issue.
Actual Behavior
Slides loop forward (to the right) without any issue, however when moving backwards (to the left), the slides disappear once I hit the first slide, then reappear again.

Strangely enough if I use breakpoints for smaller screen sizes the issue doesn't occur on these screen sizes:
breakpoints: {
            991: { //sm-max
                slidesPerView: 1,
                slidesOffsetBefore: 1,
                spaceBetween: 10
            },
            1199: { //md-max
                slidesPerView: 2,
                slidesOffsetBefore: 200,
                spaceBetween: 10
            }
        }

have you tried to add the "loopAdditionalSlides" option?
loopAdditionalSlides: 2

Same issue here.
https://codepen.io/anon/pen/vdxKVW
Adding "loopAdditionalSlides" and/or "loopedSlides" doesn't seem to make any difference.

Any idea on which piece of code is responsible for this issue?
I could spend some time working on it if somebody would point me in the right direction ;)

If you comment out "centeredSlides: true", then the issue doesn't happen.

Still happening on 4.3.3, though it is slightly better.


Updated mfrc522 sample

Description

updated nuget dependencies
switched to nuget references for "Card" etc instead of direct project references

Motivation and Context

I couldn't use the Mfrc522 package without conflicting package / dll versions. I believe this might have had to do with direct project references maybe?

How Has This Been Tested?

Tested the sample app with my MFRC522 breakout board on ESP32, which worked fine

Screenshots
Types of changes

[x] Improvement (non-breaking change that improves a feature, code or algorithm)
[ ] Bug fix (non-breaking change which fixes an issue with code or algorithm)
[ ] New feature (non-breaking change which adds functionality to code)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Config and build (change in the configuration and build system, has no impact on code or features)
[x] Dependencies (update dependencies and changes associated, has no impact on code or features)
[ ] Unit Tests (add new Unit Test(s) or improved existing one(s), has no impact on code or features)
[ ] Documentation (changes or updates in the documentation, has no impact on code or features)

Checklist:

[x] My code follows the code style of this project (only if there are changes in source code).
[ ] My changes require an update to the documentation (there are changes that require the docs website to be updated).
[ ] I have updated the documentation accordingly (the changes require an update on the docs in this repo).
[x] I have read the CONTRIBUTING document.
[x] I have tested everything locally and all new and existing tests passed (only if there are changes in source code).
[ ] I have added new tests to cover my changes.

And @josesimoes please merge without the CI because it's just the sample!

The update dependency action has been nuts for the last few days. It's now fixed and tonight's nightly build will bring everything up to date again.

And @josesimoes please merge without the CI because it's just the sample!

It's not only the sample though. I had to change project references to nuget refernces in the actual Mfrc522 projectmwhich ends up as a nuget package. Previously that one bundled the dlls with the nuget, now it uses nuget references.
Therefore I assume a CI and a new package is required.

Too late! Just merged it. 😅
And yes, that would require a new release.

(so... the PR title is not enterally accurate 😝 )

Too late! Just merged it. 😅
And yes, that would require a new release.

I was on my Smartphone, not fast enough with typing 🙈

(so... the PR title is not enterally accurate 😝 ) now it is

Ups my bad! Sorry 🙈
Will there be a release tonight because of updated dependencies anyway?
Btw. Which timezone ? 😅


fix(rebuild): on v1 the nr of rebuilds per nexus is fixed

Signed-off-by: Tiago Castro<EMAIL_ADDRESS>

bors merge


Day of the week

Lovely plugin and nice tutorial, could you please add a =day of the week= format that prints
Mon
Tue
...

Just found it in one of the links in the tutorial, %a and %A.


Binary download link is broken

Avnish Tomar (Bug 66072):
`incorrect download link, 404 not found
https://jmeter.apache.org/[preferred]/jmeter/binaries/apache-jmeter-5.4.3.zip
Severity: normal
OS: Mac OS X 10.1

This happens, when you access https://jmeter.apache.org/download_jmeter instead of the correct URL https://jmeter.apache.org/download_jmeter.cgi
It seems, that bing has an old link as the first search result for jmeter and download. I will try to introduce a redirect with an .htaccess rule.

Nice, the commit message with a "try to fix" was interpreted, as if it had been fixed :) Wasn't the case six days ago, but is now.


feat: migrate service to V2

closes #43
Signed-off-by: Marc-philippe Fuller<EMAIL_ADDRESS>

If your build fails due to your commit message not passing the build checks, please review the guidelines here: https://github.com/edgexfoundry/app-rfid-llrp-inventory/blob/main/.github/Contributing.md
PR Checklist
Please check if your PR fulfills the following requirements:

[x] I am not introducing a breaking change (if you are, flag in conventional commit message with BREAKING CHANGE: describing the break)
[x] I am not introducing a new dependency (add notes below if you are)
[x] I have added unit tests for the new feature or bug fix (if not, why?)
[ ] I have fully tested (add details below) this the new feature or bug fix (if not, why?) Dependent on LLRP device service
[ ] I have opened a PR for the related docs change (if not, why?) Not applicable for V2 migration

Testing Instructions
TBD
New Dependency Instructions (If applicable)
N/A

@farshidtz , the snap is still failing to build. Can you please provide your expertise here to resolve the issue? Thanks!

@lenny-intel I already provided a fix but it was not fully incorporated. The version is still not extracted and a version: "replace-me" has been added for some reason.

recheck

recheck

@farshidtz  could you issue a recheck command. I had made changes to the readme and tests were passing before.

recheck

@lenny-intel @marcpfuller Are we still planning to address this?
https://github.com/edgexfoundry/app-rfid-llrp-inventory/blob/2f4ea3c6137ff523b703c1b23c70899e2e4dc4cd/internal/llrp/device_service.go#L53-L56
It is still present in Marc's branch

@lenny-intel @marcpfuller Are we still planning to address this?

@ajcasagrande , Yes, left that out for now. Need  to better understand why using the Core Command service was an issue for the initial implementation. All device service command endpoint are accessible via the Core Command service endpoints. I  am thinking that refactoring should be a separate PR.

@ajcasagrande The Canonical team plans to do a follow up PR for the snaps on both the LLRP App and Device services. I would like @marcpfuller to concentrate on wrapping up the V2 migrate, not refactoring the snap code.
@farshidtz , @siggiskulason please see @ajcasagrande 's comments on the snap code for when you do the snap PR. THX!

The Web-UI urls all need to be updated. I have fixed it here:
https://github.com/marcpfuller/app-rfid-llrp-inventory/pull/2

configuration.toml is missing core-data client:
  [Clients.core-data]
  Protocol = "http"
  Host = "localhost"
  Port = 59880

configuration.toml is missing core-data client:
  [Clients.core-data]
  Protocol = "http"
  Host = "localhost"
  Port = 59880

Where is the client used by the service?
We now use the Core Metadata client in the sdk for version check, so Core Data no longer needed for that.

General comment, please avoid force-pushing  while still in review unless there is a good reason.

Where is the client used by the service? We now use the Core Metadata client in the sdk for version check, so Core Data no longer needed for that.

Right Here:
	if _, err := app.service.EventClient().Add(ctx, requests.NewAddEventRequest(edgeXEvent)); err != nil {
		errs = append(errs, errors.Wrap(err, "unable to push inventory event(s) to core-data"))
	}

which calls:
	// EventClient returns the Event client. Note if Core Data is not specified in the Clients configuration,
	// this will return nil.
	EventClient() interfaces.EventClient

leading to a panic
"location\":\"LLRP-8C-8C-8C_2\"}" msg="Sending Inventory Event."
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x18 pc=0x9f515b]

goroutine 133 [running]:
edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app.(*InventoryApp).pushEventsToCoreData(0xc000389180, 0xc25f58, 0xc00040fc20, 0xc0005195c0, 0x1, 0x1, 0x0, 0x0)
        /opt/intel/projects/rfid-llrp-inventory-service/internal/inventory/app/controller.go:337 +0x3db
edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app.(*InventoryApp).taskLoop.func2(0xc0005126f0, 0xc000389180, 0xc000514f00, 0xc25f58, 0xc00033c700)
        /opt/intel/projects/rfid-llrp-inventory-service/internal/inventory/app/controller.go:191 +0x12e
created by edgexfoundry/app-rfid-llrp-inventory/internal/inventory/app.(*InventoryApp).taskLoop
        /opt/intel/projects/rfid-llrp-inventory-service/internal/inventory/app/controller.go:187 +0x437
make: *** [Makefile:56: run] Error 2

Right Here:

Doh!! :-)

There is something strange going on with your branch. It shows as 20 commits ahead, 10 commits behind main. It also shows code that I added in PR #47 as new code from this PR for some reason. It also shows there are conflicts on this branch, which is strange, as it did not before.
I think somewhere along the road something got squashed in your branch and lost its history against the main repo. I even observed this effect when I tried to create my PR against your branch.

The Web-UI urls all need to be updated. I have fixed it here:

thanks add changes to my branch

recheck

recheck


Updated the homepage links

Updated the homepage links
Changes

Updated the links on the homepage

Testing

gulp build and hover each link, cross reference the slugs with DFJR-1093

Review

@anselmbradford
@sebworks
@KimberlyMunoz

Checklist

[ ] Changes are limited to a single goal (no scope creep)
[ ] Code can be automatically merged (no conflicts)
[ ] Code follows the standards laid out in the front end playbook
[ ] Passes all existing automated tests
[ ] New functions include new tests
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged
[ ] Visually tested in supported browsers and devices
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)

Oh, what coincidental timing! Quick, while you're in here -- Tanya just noticed that "Latest Updates" needs to be "Latest updates" -- can you do that as part of this PR?

@schaferjh done

:+1:

:+1:


What unit does distance use?

I'm using OpenRouteService with the JS API to get navigation data between two points and I want to use the distance value (in summary) to show the total distance of the route. I'm assuming that it's in meters, but I just wanted to make sure.

This depends on the input of the units parameter but defaults to meters.
Please also look at the parameters in the official API docs:
https://openrouteservice.org/dev/#/api-docs/v2/directions/{profile}/json/post
or the isochrones example of the JS package:
https://github.com/GIScience/openrouteservice-js


Huawei mate 60 pro released, will the framework adapt to the latest HarmonyOS NEXT?

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
none
Proposal
none。

Huawei mate 60 pro released, Qualcomm announced the start of support for HarmonyOS, will the framework adapt to the latest HarmonyOS NEXT?

no, unnecessary.

@sawwas HarmonyOS isn't one of Flutter's supported platforms. If there are any issues with Android apps (native apps or apps built with Flutter), you should report them to the HarmonyOS developers for better support. Closing the issue.


Polymorphism in static lib

The attached simple example has two classes, parent in static library and child in application
Unfortunately CEREAL_REGISTER_POLYMORPHIC_RELATION(Parent, Child) does not trigger registration for child class, and using CEREAL_FORCE_DYNAMIC_INIT/CEREAL_REGISTER_DYNAMIC_INIT as explained here did not help, it always ends with error:
Trying to save an unregistered polymorphic type (class Child). Make sure your type is registered with CEREAL_REGISTER_TYPE and that the archive you are using was included (and registered with CEREAL_REGISTER_ARCHIVE) prior to calling CEREAL_REGISTER_TYPE. If your type is already registered and you still see this error, you may need to use CEREAL_REGISTER_DYNAMIC_INIT.
The only way to get child class type registered is to include its header in the parent, which would not work in real life scenario
See attached example using version 1.3.0:
Polymorphism.zip

Surprisingly, including archives/json.hpp in child class source fixed serialization, but only with static library, not dynamic one!

In "Foo.h", including the Archive type before the CEREAL_REGISTER_TYPE macro seems to work for me:
#pragma once

#include "cereal/archives/json.hpp" // <-- before parent.h
#include "Parent.h"


Fixed typos in Configure Azure AD SSO for applications

ommited -> omitted
copiable->copyable

@devlead : Thanks for your contribution to the Azure documentation! The author, @asmalser-msft, has been notified to review your proposed change.

#sign-off


Redirect user to intended route after forced login

Feature
Why is this feature being added?

Current experience:

Navigate to www.operationcode.org/scholarships, without being logged in
Click on the 'Read More' button for a scholarship, which links to the Scholarship Application Page for that scholarship
Since the Application Page for scholarships is an 'Authenticated Route' requiring a user to be logged on, the user is redirected to the Login Page
After logging in, the user is redirected to the Profile page, not the Scholarship Application Page they were attempting to navigate to

Let's provides a better user-experience than this.  Redirecting the user to the Profile page every time is an unnecessary context switch for a user.
What should your feature do?
In situations like this (where we redirect a user to the Login page when they're trying to access an Authenticated route), after they log on, let's redirect the user to the page they were originally trying to reach.

@jjhampton Is there a reason there isn't a link in the nav to scholarships? I get who the target audience is, but wouldn't it make sense to have the info public with some kind of disclaimer?


Publishing a report from a folder is uploading the entire folder recursively

Hi,
We've started using the extension in our organization and noticed our Azure DevOps Server DB started to grow rapidly.
After investigating we've noticed that after the publish markdown report task completed the pipeline was still running and uploading the content of the folder as attachments to our DB.
The solution for now is publishing a report in a separate folder obviously but it also might be an easy fix if anyone wants to try.

I'm sorry for my late reply.
Yes. It is currently intentional.
Because this extension can publish multiple markdown files and images, it uploads all files in the directory specified by contentPath.


Scrum s303 save export results

Ticket(s)
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Description
We created a download results button. This will allow the user to take their calculator results to someone else or print for future use.
html2canvas
jspdf
These two work together to be able to download the component we made. jspdf creates the pdf and html2canvas keeps the styling like the page.
There is no ticket, because it was deleted during the sprint
Screenshots
Include relevant screenshots.
Before

After

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings in the console
[x] There are no new linting errors/problems in my code
[x] I have filled this PR out fully, and cleaned up any extraneous items so that it is clear and easy to understand

@e-papanicolas fixed the comments. The download is a little tough because it prints whatever is on the screen, which means it has to be a certain width to print appropriately. So I added an automatic close for screen sizes under 901. The pdf is on the screen long enough for it to be saved and then closes.
Open to other ideas if you can think of them.


ownCloud: operation is taking longer than expected

I am unable to open any file mounted on my ownCloud server: it always presents a popup saying "The operation is taking langer than expected". This includes generating thumbnails when using the Files app in grid mode.
I have verified that other users of the server are able to use webDAV successfully. It appears to submit a PROPFIND successfully, getting a 207 back. I am happy to run local debugging if instructed.
Here are relevant server logs:
<IP_ADDRESS> - neale [18/Sep/2017:15:56:11 +0000] "PROPFIND /remote.php/webdav HTTP/1.0" 207 1157 "-" "Mozilla/5.0 (X11; CrOS x86_64 9592.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.114 Safari/537.36"
<IP_ADDRESS> - neale [18/Sep/2017:15:56:11 +0000] "PROPFIND /remote.php/webdav/Art/ir-pyramid.svg HTTP/1.0" 207 1138 "-" "Mozilla/5.0 (X11; CrOS x86_64 9592.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.114 Safari/537.36"
<IP_ADDRESS> - neale [18/Sep/2017:15:56:12 +0000] "PROPFIND /remote.php/webdav/Art/ir-pyramid.svg HTTP/1.0" 207 1138 "-" "Mozilla/5.0 (X11; CrOS x86_64 9592.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.114 Safari/537.36"
<IP_ADDRESS> - neale [18/Sep/2017:15:56:12 +0000] "PROPFIND /remote.php/webdav/Art/ir-pyramid.svg HTTP/1.0" 207 1138 "-" "Mozilla/5.0 (X11; CrOS x86_64 9592.94.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.114 Safari/537.36"

I have just found your page about console logging the background page. It appears to be referencing an undefined variable:
background.js:620 resume - start
10:09:40.921 background.js:133 rootPath: /remote.php/webdav
10:09:40.923 background.js:668 onGetMetadataRequested: thumbnail=false
10:09:40.924 background.js:669 {entryPath: "/Art/ir-pyramid.svg", fileSystemId: "webdavfs://neale/http://cfl-owncloud/remote.php/webdav", isDirectory: false, mimeType: true, modificationTime: false, …}
10:09:40.926 background.js:1103 getMetadataCache: Created. webdavfs://neale/http://cfl-owncloud/remote.php/webdav
10:09:40.970 background.js:679 {metadata: {…}}
10:09:40.971 _generated_background_page.html:1 IsDirectory specified, but not requested.
10:09:40.971 _generated_background_page.html:1 Name specified, but not requested.
10:09:40.971 _generated_background_page.html:1 Size specified, but not requested.
10:09:40.971 _generated_background_page.html:1 Last modification time specified, but not requested.
10:09:40.973 background.js:668 onGetMetadataRequested: thumbnail=false
10:09:40.974 background.js:669 {entryPath: "/Art/ir-pyramid.svg", fileSystemId: "webdavfs://neale/http://cfl-owncloud/remote.php/webdav", isDirectory: true, mimeType: false, modificationTime: false, …}
10:09:41.012 background.js:679 {metadata: {…}}
10:09:41.012 _generated_background_page.html:1 Name specified, but not requested.
10:09:41.012 _generated_background_page.html:1 Last modification time specified, but not requested.
10:09:41.012 _generated_background_page.html:1 MIME type specified, but not requested.
10:09:41.015 background.js:695 onOpenFileRequested
10:09:41.017 background.js:696 {filePath: "/Art/ir-pyramid.svg", fileSystemId: "webdavfs://neale/http://cfl-owncloud/remote.php/webdav", mode: "READ", requestId: 234}
10:09:41.021 background.js:668 onGetMetadataRequested: thumbnail=false
10:09:41.023 background.js:669 {entryPath: "/Art/ir-pyramid.svg", fileSystemId: "webdavfs://neale/http://cfl-owncloud/remote.php/webdav", isDirectory: false, mimeType: false, modificationTime: true, …}
10:09:41.068 background.js:679 {metadata: {…}}
10:09:41.071 _generated_background_page.html:1 IsDirectory specified, but not requested.
10:09:41.071 _generated_background_page.html:1 Name specified, but not requested.
10:09:41.071 _generated_background_page.html:1 MIME type specified, but not requested.
10:09:41.072 background.js:706 onReadFileRequested - start
10:09:41.073 background.js:707 {fileSystemId: "webdavfs://neale/http://cfl-owncloud/remote.php/webdav", length: 113311, offset: 0, openRequestId: 234, requestId: 236}
10:09:41.074 _generated_background_page.html:1 Error in event handler for fileSystemProvider.onReadFileRequested: ReferenceError: metadataCache is not defined
    at WebDavFS.onReadFileRequested (chrome-extension://hmckflbfniicjijmdoffagjkpnjgbieh/background.js:710:35)
    at WebDavFS.<anonymous> (chrome-extension://hmckflbfniicjijmdoffagjkpnjgbieh/background.js:1048:22)
    at WebDavFS.<anonymous> (chrome-extension://hmckflbfniicjijmdoffagjkpnjgbieh/background.js:1013:17)

I am having the same problem. I will attach a screen shot, but they appear to be the same errors.

I should also point out that this is only for reading files from the webdav, writing files seems to work no problem (so far).

Same problem here, whenever I open Webdav to access my ownCloud server I get the message that it is taking too long to complete. All is true to open folders, copy files to local drive or even upload.


Bad JQ expressions fail too sliently

After our 0.4.2 batching performance improvement we now have an issue where JQ expressions that fail to find a key on 1 of N resources upsets the entire boat.  We also don't bubble up the error well or even at all.
We should take a refactor pass at this so we fail early and fail fast giving good feedback to the user about why a JQ expression failed to return data during a batch expression.

Optionally it was suggested that we add a flag for putting the tool into this mode.


Add logic for distro detection to qmake files

As discussed in #19, the qmake (.pro) files need to branch based on distro for some things such as install target (CentOS and OpenSUSE use /usr/lib64 and Ubuntu uses /usr/lib/x86_64-linux-gnu).
We should put this shared logic in a separate file and include it in .pro files through an include() statement.

Should be done by any Linux systems developer or administrator

@AgentRX - so what is the next step? Should the issue still be left open?

@prvijay, it's not actual at now


Feat: Add User details and booked events to the profile page.

Describe the feature
User will be able to see their profile and their booked events to the profile page.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I have starred the repository
[X] I'm a gssoc-24-extd contributor
[X] I want to work on this issue

Go for it ⚡ @haseebzaki-07


pushing back the latest changes to the main-main Repo

@kennyledet due to you seemed be to away for sometime, I had requested contributors to keep pushing to my Repo. Since you are back, its time to push these changes where it belongs.

Also added you as a Collaborator on the repo. You deserve it :) 👍

thank you !
Its my pleasure to serve to the community and ensure we are reactive.

Of course! Thank you for accepting :)


Change threshold to greater than or equal to

What this PR does / why we need it: The StatusCheckFailed_System is a binary value so we must check for when the metric equals one
Fix autorecovery threshold for cloudwatch alarms

/assign @simonswine

/assign @dippynark
A bit more background: how have you discovered this?.
The UI shows it somehow like that: StatusCheckFailed_System > 1 for 2 datapoints within 2 minutes
I might have understood it. The sum of 2 datapoints needs to be > 1

@simonswine these blog posts https://aws.amazon.com/blogs/aws/new-auto-recovery-for-amazon-ec2/ and https://aws.amazon.com/blogs/aws/ec2-instance-status-metrics/
Not sure where you are seeing that but it may be grouping them above certain periods. The metric we are setting up is using the minimum so it'd give different results


Update .openpublishing.redirection.json

Docs Build status updates of commit 7cafdb8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.redirection.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


LinalgRefactor - matrix block sum

incomplete.

rebase

@OXPHOS please rebase :)

@vigsterkr ready

@OXPHOS this is complete now, right? if so i'll merge

@vigsterkr yes please go ahead


Add video recording

https://github.com/compute-toys/compute.toys/assets/8731857/9c9fb22a-affa-4454-a6e5-ea38383aa328

I guess to be extra safe, you could stop the recording manually if the user navigates to another page/shader.