ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[5,19,180,160,4]

Specs:
Linux-Ubuntu 16.04
Nvidia GEForce 940 MX
2 GB graphics card
Using tensorflow-gpu to run a project in python and have imported niftynet, simpleITK
Following is the error:
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[5,19,180,160,4]
[[Node: MSNet_WT32_1/block1_1/bn_0/moments/SquaredDifference = SquaredDifference[T=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:GPU:0"](_arg_Placeholder_9_0_0/_5365, MSNet_WT32_1/block1_1/bn_0/moments/StopGradient)]]
[[Node: Reshape_19/_5367 = _Recvclient_terminated=false, recv_device="/job:localhost/replica:0/task:0/device:CPU:0", send_device="/job:localhost/replica:0/task:0/device:GPU:0", send_device_incarnation=1, tensor_name="edge_1584_Reshape_19", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Following is the code of test.py
test.txt

2GB seems to be not enough for training. It is recommended to use a GPU with memory > 6GB.


Selected Item not highlighted on the list

Hi
I am using this component. It works great. I have an issue highlighting the selected item on the list. When you select an item using your mouse or up /down arrow, the selected item is highlighted when you open the list again but when you select the item by typing complete text and enter key always first item in the list is highlighted when you open the list again.
Could  you please help to resolve the issue?

Hi @shanmugam-siva, to have the behavior you'd like it needs a little time to code a solution.
The main problem is that when you filter the list (by typing something) filteredOptions array contains less (or equals) values than the full options array. Since the highlighted index refers to the filtered array, you need to find the index of the selected option in the original options array, in order to set the new highlighted value after hitting Enter.
If you like to propose a PR I'll be glad to help you and review it for you! :)

Thanks. I am trying to create new pull request with changes on my local branch but I don't have sufficient permission.

Just create a new branch from my master branch:
git checkout -b <topic-branch-name>

or use the GitHub desktop application:


JBRULES-3122: ClassLoader.getResources() returns null - fixed

I've added a simple test case which checks the getResources() call in PackageClassLoader, and supplied the fix also. ClassLoader.getResources() cannot return a null value, according to the spec.

Applied to both master and 5.3.x branches. Thanks for the test and patch.


Add favicon to the website

Current Behavior
No favicon
Desired Behavior
Add favicon
Screenshots / Mockups

Assign it to me @thekavikumar


cmake: enusure shields can be placed in other BOARD_ROOTs

Fixes: #28462
This commit allows shields to be defined in other BOARD_ROOTs, either
using -DBOARD_ROOT=<path> or a Zephyr moduled defined BOARD_ROOT.
Signed-off-by: Torsten Rasmussen<EMAIL_ADDRESS>

@lund-prevas I cannot add you as reviewer, but please leave a comment whether this fixes the issue you see.

@lund-prevas I cannot add you as reviewer, but please leave a comment whether this fixes the issue you see.

Works like expected.
Tried build with shield in my own boards/shields folder and board in zephyr/boards or in my own boards folder and it works in both setups.
It would be great if it also is visible in the print out from build process.
For DTS it is clear what is taken in:
-- Found BOARD.dts: C:/Projects/iiot/sensor/manifest/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840.dts
-- Found devicetree overlay: C:/Projects/iiot/sensor/manifest/boards/shields/fxos8700/boards/nrf52840dongle_nrf52840.overlay
-- Found devicetree overlay: C:/Projects/iiot/sensor/manifest/boards/shields/fxos8700/fxos8700_magn.overlay
-- Generated zephyr.dts: C:/Projects/iiot/sensor/build/zephyr/zephyr.dts
But for Kconfig atleast the SHIELD defconfig is missing in the print out
Parsing C:/Projects/iiot/sensor/manifest/Kconfig
Loaded configuration 'C:/Projects/iiot/sensor/manifest/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840_defconfig'
Merged configuration 'C:/Projects/iiot/sensor/manifest/prj.conf'
Configuration saved to 'C:/Projects/iiot/sensor/build/zephyr/.config'

But for Kconfig atleast the SHIELD defconfig is missing in the print out

Correct, and that's because it is not CMake that decides the _defconfig to take into Kconfig for shields.
That is done with a glob expression inside Kconfig, which is also why shield defconfig must be safeguarded like:
https://github.com/zephyrproject-rtos/zephyr/blob/8a8d38e05489c4bc82f3b9ec4b5c2a7a9c53a9d3/boards/shields/mikroe_eth_click/Kconfig.defconfig#L4
whereas the board defconfig is passed from CMake to kconfig.lib.

@lund-prevas also notice, the the <board>_defconfig in your example nrf52840dongle_nrf52840_defconfig is a Kconfig fragment, and not the Kconfig.defconfig file  from board folder (which is not printed).
You can place Kconfig fragments in a shield too, with the name <shield-name>.conf, and it will be printed, like:
Loaded configuration '/projects/github/ncs/zephyr/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840_defconfig'
Merged configuration '/projects/github/ncs/zephyr/samples/hello_world/prj.conf'
Merged configuration '/projects/github/ncs/zephyr/boards/shields/adafruit_2_8_tft_touch_v2/adafruit_2_8_tft_touch_v2.conf'
Configuration saved to '/projects/github/ncs/zephyr/build/zephyr/.config'

and of course need to follow the conf file format, like:
CONFIG_<setting>=<value>

as example:
# enable console
CONFIG_CONSOLE=y
CONFIG_UART_CONSOLE=y

@carlescufi  @tejlmand  this is breaking doc builds in master
ninja: Entering directory `doc/_build'
[0/5] Running gen_devicetree_rest.py /home/nashif/Work/zephyrproject/zephyr/doc/_build/rst/doc/reference/devicetree
[2/5] Running gen_kconfig_rest.py /home/nashif/Work/zephyrproject/zephyr/doc/_build/rst/doc/reference/kconfig/
FAILED: CMakeFiles/kconfig
cd /home/nashif/Work/zephyrproject/zephyr/doc && /usr/bin/cmake -E make_directory /home/nashif/Work/zephyrproject/zephyr/doc/_build/rst/doc/reference/kconfig && /usr/bin/cmake -E env PYTHONPATH=/home/nashif/Work/zephyrproject/zephyr/scripts/kconfig: ZEPHYR_BASE=/home/nashif/Work/zephyrproject/zephyr srctree=/home/nashif/Work/zephyrproject/zephyr "BOARD_DIR=boards/*/*" "ARCH=*" ARCH_DIR=arch SOC_DIR=soc KCONFIG_BINARY_DIR=/home/nashif/Work/zephyrproject/zephyr/doc/_build/Kconfig KCONFIG_WARN_UNDEF=y KCONFIG_TURBO_MODE=1 KCONFIG_DOC_MODE=1 /usr/bin/python3.8 scripts/gen_kconfig_rest.py /home/nashif/Work/zephyrproject/zephyr/doc/_build/rst/doc/reference/kconfig/ --separate-all-index --keep-module-paths --modules Architecture,arch,/home/nashif/Work/zephyrproject/zephyr/arch Driver,drivers,/home/nashif/Work/zephyrproject/zephyr/drivers Kernel,kernel,/home/nashif/Work/zephyrproject/zephyr/kernel Library,lib,/home/nashif/Work/zephyrproject/zephyr/lib Subsystem,subsys,/home/nashif/Work/zephyrproject/zephyr/subsys "External Module,modules,/home/nashif/Work/zephyrproject/zephyr/modules"
scripts/gen_kconfig_rest.py: Kconfig.zephyr:23: '/home/nashif/Work/zephyrproject/zephyr/doc/_build/Kconfig/Kconfig.shield.defconfig' not found (in 'source "$(KCONFIG_BINARY_DIR)/Kconfig.shield.defconfig"'). Check that environment variables are set correctly (e.g. $srctree, which is set to '/home/nashif/Work/zephyrproject/zephyr'). Also note that unset environment variables expand to the empty string.
[3/5] Copying files to /home/nashif/Work/zephyrproject/zephyr/doc/_build/rst
ninja: build stopped: subcommand failed.


Show the different environments on the architecture diagram

Problem:
On the first session we have created the high level architecture using diagram as code, but we want to deploy this application in multiple environments to reproduce a real case scenario where we run automated tests on the CI/CD pipelines.
Change the diagram so we can show the different environments, with the following rules:

We have 3 environments (test, acceptance and production) with the prefixes tst, acc and prd
The CI pipeline should run automated tests in test environment
The CD pipeline should:

Deploy to acceptance
Run automated tests in acceptance
Deploy to production
Run smoke tests in production

The Azure Container Registry (ACR) is shared between environments

Created a new pull request. Currently , diagram only changes based on test and prod environment.


libgrss: pname + version

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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.

Result of nixpkgs-review pr 132868 at b924d35a run on x86_64-linux 1

1 package failed to build:

gnome.gnome-documents

15 packages built successfully:

dropbox-cli
gnome-photos (gnome.gnome-photos)
gnome.file-roller
gnome.gnome-books
gnome.gnome-boxes
gnome.gnome-control-center (gnome.gnome_control_center)
gnome.gnome-terminal (gnome.gnome_terminal)
gnome.gnome-user-share
gnome.nautilus
gnome.nautilus-python
tracker-miners (gnome.tracker-miners)
kgx
libgrss
pantheon.extra-elementary-contracts
phosh

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.


Filter rework

Added component to toggle the visual filtering of the variant viz track based on user's filter selection.  The user is provided a dropdown list of all available filters on the left panel.  They are also provided a toggle switch to toggle the variants inside the variant-viz track that pass the selected filters.
Fixed bug in custom filters where variants passing custom filters but not default filters would not show up under Reviewed when a significance was assigned.
This PR is a prototype, and address functionality over styling and label wording. Let me know how you think the filter dropdown and toggle components should be labeled, or if you have any styling suggestions!

quarantest build successful. Demo link at
http://fe1c4de9.quarantest.iobio.io

I did some rigorous testing, and tried to break the visual filter component in any way I could.
Ideas to try when testing: flag variants, add custom filter, edit custom filter, flag variant that passes custom filter, select multiple filters, remove all filters, switch between genes.  Let me know if you are able to find any behavior that is undesirable. Test on demo data and when launched from mosaic.
Note: when testing on clin with demo data, I discovered a bug that exists on clin production.  Some of the time, clin is unable to correctly identify pathogenic variants in clinvar.  When this happens, there is undesirable behavior when assigning variants a significance.  Attatched are two screenshots, the first one showing how the bug mentioned above, and the second showing the expected behavior.  I will closely monitor this issue to see if it persists, and coordinate with the appropriate people if it remains a problem.

quarantest build successful. Demo link at
http://b566ac9b.quarantest.iobio.io

quarantest build successful. Demo link at
http://5fbdd46f.quarantest.iobio.io

quarantest build successful. Demo link at
http://50935eaa.quarantest.iobio.io

quarantest build successful. Demo link at
http://f4ee9be2.quarantest.iobio.io

quarantest build successful. Demo link at
http://f107bd20.quarantest.iobio.io

quarantest build successful. Demo link at
http://eed3c0c1.quarantest.iobio.io

quarantest build successful. Demo link at
http://c097681f.quarantest.iobio.io

quarantest build successful. Demo link at
http://d71b3a11.quarantest.iobio.io

quarantest build successful. Demo link at
http://0f417098.quarantest.iobio.io

quarantest build successful. Demo link at
http://1a03df64.quarantest.iobio.io

quarantest build successful. Demo link at
http://39ddb384.quarantest.iobio.io

quarantest build successful. Demo link at
http://cc649273.quarantest.iobio.io

quarantest build successful. Demo link at
http://3368b1f3.quarantest.iobio.io

quarantest build successful. Demo link at
http://b31b1835.quarantest.iobio.io

quarantest build successful. Demo link at
http://ff10c209.quarantest.iobio.io

quarantest build successful. Demo link at
http://4cf233b1.quarantest.iobio.io

quarantest build successful. Demo link at
http://1fc1aa13.quarantest.iobio.io

quarantest build successful. Demo link at
http://7e266196.quarantest.iobio.io

quarantest build successful. Demo link at
http://70a21291.quarantest.iobio.io

quarantest build successful. Demo link at
http://643a6437.quarantest.iobio.io


Microsoft.AspNetCore.Mvc.Internal.ActionSelector.SelectBestActions method should add the RouteContext parameter

From @cnxiaoby on May 31, 2017 10:24
SelectBestActions 没有当前的 RouteContext 辅助信息，怎么 Returns the set of best matching actions ？？
Copied from original issue: dotnet/core#668

@cnxiaoby I don't understand your question. Are the special symbols in another non-English language? If yes, can you please translate the text to English?

From @cnxiaoby on May 31, 2017 10:33
I think that in the future version, you should add the RouteContext parameter to the SelectBestActions virtual method. When some guy override the SelectBestActions method, some information in RouteContext will help us do some business logic judgments.

If you need the route data it's available through the IRoutingFeature in `HttpContext.Features.
Is there something else you need?

@rynowak else I need HttpRequest data, how can I get its? I still think that SelectBestActions with the RouteContext parameter is Context logical

Oh I see, it's SelectBestActions - yeah we need to change this.

We're out of time to do a breaking change for 2.0.0, so for 2.1.0 we could add a new method that has more parameters w/ the right data.

@rynowak, I've moved this to the 2.2.0-preview1 milestone assuming it's not a breaking change. If it is, can you please update the milestone as necessary. Thanks!

Seems related: https://github.com/aspnet/Mvc/issues/6413

The type is in the internal namespace and we might make it real internal in the future. I don't think making it easier for overriding in user scenarios is super pertinent. The recommended solution here should be to copy the code in to your app at which point you may pass whatever parameters that you need do.

See previous comment.


Reported client info not being logged with metrics

It seems that client info isn't being reported for requests for me.  I have the following config on a Linux host, running v1.3.3:
[service]
    log_level = 'error'
    log_path = '/etc/controld/controld.log'
    cache_enable = true
    cache_size = 1000
    cache_serve_stale = true
    max_concurrent_requests = 256
    discover_mdns = false
    discover_arp = true
    discover_dhcp = false
    discover_ptr = true
    discover_hosts = false
    client_id_preference = 'host'

[listener]
  [listener.0]
    ip = '<IP_ADDRESS>'
    port = 53

    [listener.0.policy]
      name = 'General Overrides'
      rules = [
        {'internalfqdn' = ['upstream.1']},
        {'*.internalfqdn' = ['upstream.1']},
        {        'captive.apple.com' = []},
        {        'aircanadawifi.com' = []},
        {        'gogoinflight.com' = []},
        {        'southwestwifi.com' = []},
        {        'singaporeair-krisworld.com' = []},
        {        'airborne.gogoinflight.com' = []},
        {        'aainflight.com' = []},
        {        'aa.viasat.com' = []},
        {        'deltawifi.com' = []},
        {        'wifi.delta.com' = []},
        {        'unitedwifi.com' = []},
        {        'shop.ba.com' = []},
        {        'alaskawifi.com' = []},
        {        'flyfi.com' = []},
        {        'wifi.airasia.com' = []},
        {        'wifi.sncf' = []},
        {        'wifi.tgv-lyria.com' = []},
        {        'freewlan.sbb.ch' = []},
        {        'register.onboard.eurostar.com' = []},
        {        'thalysnet.com' = []},
        {        'iceportal.de' = []},
        {        'vvm.mstore.msg.t-mobile.com' = []},
        {        'wifi.inflightinternet.com' = []},
        {        'captive.inflightinternet.com' = []},
        {        'airbornesecure.inflightinternet.com' = []},
        {        'ip.videotron.ca' = []},
        {        'wifi.united.com' = []}
      ]

[network]
  [network.0]
    name = 'All Clients'
    cidrs = ['<IP_ADDRESS>/0']

[upstream]
  [upstream.0]
    type = 'doq'
    bootstrap_ip = '<IP_ADDRESS>'
    endpoint = 'myendpoint.dns.controld.com'
    name = 'Control D - HomeDNS'
    timeout = 5000
    send_client_info = true
  [upstream.1]
    type = 'legacy'
    endpoint = '123.456.789.000'
    name = 'Internal DNS'
    timeout = 5000
    ip_stack = 'v4'
    send_client_info = false

Sending a request to the host running ctrld for a public FQDN resolves it correctly, and running ctrld clients list afterwards, I do see the requesting client in there with its hostname and MAC address, listed as discovered via ARP and PTR record:
$ ctrld clients list
+-----------------+-----------+-------------------+------------+
|       IP        | Hostname  |        Mac        | Discovered |
+-----------------+-----------+-------------------+------------+
| 123.456.789.001 | queryhost | 01:23:45:67:89:0a | arp,ptr    |
+-----------------+-----------+-------------------+------------+

However, when I look at the statistics panel in the Control D web UI, while I do see the request showing up under the device I have configured, the UI says that it has 0 clients.
Setting the log level to debug isn't really any more illuminating:
{"level":"info","time":"2023-12-19T13:12:34-08:00.504","message":"[8fbad4] QUERY: 123.456.789.001:51535 (queryhost) -> listener.0: A cdn.syndication.twimg.com"}
{"level":"debug","time":"2023-12-19T13:12:34-08:00.505","message":"[8fbad4] no explicit policy matched, using default routing -> [upstream.0]"}
{"level":"debug","time":"2023-12-19T13:12:34-08:00.505","message":"[8fbad4] including client info with the request"}
{"level":"debug","time":"2023-12-19T13:12:34-08:00.505","message":"[8fbad4] sending query to upstream.0: Control D - HomeDNS"}
{"level":"debug","time":"2023-12-19T13:12:34-08:00.538","message":"[8fbad4] add cached response"}
{"level":"info","time":"2023-12-19T13:12:34-08:00.538","message":"[8fbad4] REPLY: upstream.0 -> 123.456.789.001:51535 (queryhost): NOERROR"}
{"level":"debug","time":"2023-12-19T13:12:34-08:00.539","message":"[8fbad4] received response of 207 bytes in 34.133416ms"}
{"level":"debug","time":"2023-12-19T13:13:22-08:00.770","message":"start checking DNS loop"}
{"level":"debug","time":"2023-12-19T13:13:22-08:00.770","message":"skipping external: upstream.0"}
{"level":"debug","time":"2023-12-19T13:13:22-08:00.771","message":"end checking DNS loop"}

Am I doing something wrong here?

This is expected, as you're using DOQ which is not an HTTP based protocol, and therefore has no HTTP headers via which this data is relayed. Client info can only be sent if you use DOH (or DOH3).
We probably should add that to the docs.

Ah, yep, after switching to DOH3, I'm seeing client info in the web UI now.  Good to know.
Thanks!

Docs updated to make this more known.

Would it also be possible to change the logging in situations like this (maybe add a warning or something)?  I had this line showing up, which made me think the client data was being sent with the request when I was sending requests via DOQ:
{"level":"debug","time":"2023-12-19T13:12:34-08:00.505","message":"[8fbad4] including client info with the request"}

Yes we will make that message be more appropriate in the next version.


Swiftpm support

We should add swift package manager support.

Completely agree on this one. Too bad so many useful libraries are so sluggish to support SPM.

what about #9 ?!?;)


chore: fix issue with yarn license-check

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Fixes an issue with yarn license-check which currently doesn't work.

What is the current behavior? (You can also link to an open issue here)

Usage Error: Couldn't find a script named "sofie-licensecheck".

https://github.com/nrkno/sofie-mos-connection/actions/runs/5805609295/job/15736985452

What is the new behavior (if this is a feature change)?

Package<EMAIL_ADDRESS>is licensed under "BlueOak-1.0.0" which is not permitted by the --onlyAllow flag. Exiting.

https://github.com/nrkno/sofie-mos-connection/actions/runs/5806016310/job/15738093109
Which is a better error. After merge of https://github.com/nrkno/sofie-code-standard-preset/pull/20 this PR should be updated.

Other information:

Codecov Report
Patch coverage has no change and project coverage change: +0.05% :tada:

Comparison is base (7db6fe7) 77.72% compared to head (1d0529b) 77.78%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #75      +/-   ##
==========================================
+ Coverage   77.72%   77.78%   +0.05%
==========================================
  Files          63       63
  Lines        3340     3340
  Branches      766      766
==========================================
+ Hits         2596     2598       +2
+ Misses        664      662       -2
  Partials       80       80

see 1 file with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Enahncement: Jenkins anchore plugin should have customizable polling interval for engine retries

Is this a request for help?:
Yes
Is this a BUG REPORT or a FEATURE REQUEST? (choose one):
FEATURE REQUEST

Version of Anchore Engine and Anchore CLI if applicable:
anchore-container-scanner-1.0.23
What happened:
While scanning large images using Jenkins anchore-container-scanner-plugin, the polling interval of 1 sec for every engine retries is too small. This will cause too many requests when the image is large.
What did you expect to happen:
Polling interval for engine retries should be made configurable. So the polling interval can be increased based on the usage/image size.

Any relevant log output from /var/log/anchore:
NIL
What docker images are you using:
NIL
How to reproduce the issue:
NIL
Anything else we need to know:

Hi @brahankv , thanks for filing this issue. Could you provide a little more detail about the issue you are having?

Could you confirm this is the retry from the jenkins plugin to the policy engine in anchore engine, or some other retry?
What is the effect this is having? Failing or slower builds? Higher traffic on your anchore engine instance?

Having some extra context will help us triage this.

Could you confirm this is the retry from the jenkins plugin to the policy engine in anchore engine, or some other retry?
Yes the retry from jenkins plugin to anchore policy engine to check the status of the scan.
http:///v1/images//check?tag=&detail=true

What is the effect this is having? Failing or slower builds? Higher traffic on your anchore engine instance?
In our case, image policy evaluation/analysis takes more than 5 minutes. So it does not required to check status every second. We have seen random timeout and failure in the jenkins job.

https://github.com/jenkinsci/anchore-container-scanner-plugin/compare/master...brahankv:master

@brahankv Thanks for the feedback, and for the PR! We'll review the PR and get back to you with some feedback.

Oh actually, I see now that the link you provided is comparing your branch with master. Could you open a PR for that for us to review?


Tofino installs two versions of "yargs"

One is in app/package.json, the other is in the top level package.json

For some reason webpack objects to yargs so we have to ship it in the application which is why it appears in app/package.json. The version there though is unusable by the build system which uses it so that is why we have a second copy.

I've had to deal with these problems myself as well while trying to fix this: https://github.com/mozilla/tofino/pull/1378#issuecomment-252608770 It's bizarre, webpack isn't happy at all with yargs.
I ended up at least updating the latest version and adding a test to make sure things like these don't really get too out of hand.

FWIW, I've tried to track this problem down. Here's what I found.
Essentially, we have duplicated yargs between the top-level package.json devDependencies and app/package.json dependencies. Simply relying on a single yargs in the top-level package.json dependencies doesn't work.

There’s two things happening: yargs is using the require-main-filename package, which has a “test.js” file that uses its own dev dependencies. Webpack sees that test.js file and complains about the local package dependencies not being available (those being tap and chai)

One can fix those problems by referencing our empty-module.js in the webpack configuration files like we did with dtrace, but I’ve run into a second problem:

yargs uses a “rebase” function inside its source which is defined after module exports, and that seems to make webpack very sad since we bundle stuff in eval functions in development builds, and that function is for some reason unavailable in that case (probably related to the fact that it’s defined after the module exports).

I gave up on trying to fix things when i found this out. I’m not sure if fixing this latter problem makes yargs webpack-happy.


Sphere of Hexagons

Would be cool to have an option for an full sphere of hexagons (with the pentagon taken into account) automatically, with an API to access in an standardized way each of the hexagons on the sphere, and perhaps ways to move and customize individual hexagons of the sphere during runtime.

Good idea for main feature of next release.

Dear @HKunogi , please take a look at #20.


Allow activities to be read off stream and processed as strings

Useful in situations where parsing of activities is not desired when the stream is processed. For example, pushing activities into a message queue for asynchronous parsing and processing.

:+1:

Thanks for this! And for pulling it in. I have exactly this use case of needing to offload the unmarshalled/raw payload to message queue for async parsing and processing.
Wondering a bit about how best to make use of this. Given that the fluent builder stuff for PowerTrackStreamBuilder doesnt seem to have any way to set the FeedProcessor or the ActivityUnmarshaller used by the FeedProcessor, I suppose I'll need to impl my own GnipFacade with an overriden createPowertrackStream method.
Maybe there is some opportunity to refactor PowertrackStreamBuilder to allow setting FeedProcessor: PowertrackStreamBuilder.withFeedProcessor()?

The way we're integrating StringFeedProcessor and StringUnmarshaller is by creating an instance of PowertrackStreamBuilder and overriding buildStream().
final PowertrackStreamBuilder streamBuilder = new PowertrackStreamBuilder() {
    @Override
    protected GnipStream buildStream() {
        final String streamName = String.format("powertrack-%s-%s", this.account, this.type);

        @SuppressWarnings("unchecked")
        final StringFeedProcessor processor = new StringFeedProcessor(
                streamName,
                executorService,
                observer);

        final GnipStream stream = gnip.createStream(this.account, type,
                this.observer, this.executorService, new StringUnmarshaller(),
                processor);

        processor.setStream(stream);
        return stream;
    }
 };

Our observer writes each activity to message queue as a String.


Multiroot "shows results from all folders" smoke test timeout

 1) VSCode Smoke Tests (Electron)
       Multiroot
         "before all" hook for "shows results from all folders":
     Error: Timeout of 120000ms exceeded. For async tests and hooks, ensure "done()" is called; if returning a Promise, ensure it resolves. (/__w/1/s/test/smoke/out/main.js)
      at listOnTimeout (node:internal/timers:559:17)
      at processTimers (node:internal/timers:502:7)

https://dev.azure.com/monacotools/Monaco/_build/results?buildId=156114&view=logs&j=963754b8-394e-5caf-de5d-2790b068caec&t=79e950e2-ae58-5fea-a241-0229f56d23a3&l=68

[2022-02-15T20:31:18.796Z] getElements .monaco-workbench .statusbar-item[id="status.host"]
[2022-02-15T20:31:37.051Z] stopTracing checkWindowReady_instance_12
[2022-02-15T20:33:16.056Z] exitApplication

/duplicate https://github.com/microsoft/vscode/issues/140571


Alter location items passing - log 0.4 support

Before log 0.4 location info (file, module) had 'static lifetime.
Now the lifetime is not required to be static, so these items are
now converted to owned values (String) when passed to async drain.

I don't really understand this PR. Doesn't this require some sort of change to the main slog repo?
Also, Git patch dependencies are forbidden on crates.io 😦


doc: update readme & add QR code

Purpose of the PR

update：readme

Main Changes

add QR code & email

Verifying these changes

This change is a trivial rework / code cleanup without any test coverage.
Does this PR potentially affect the following parts?

[x] Nope
[ ] Dependencies (add/update license info)
[ ] Modify configurations
[ ] The public API
[ ] Other affects (typed here)

Documentation Status

[ ] Doc - TODO
[ ] Doc - Done
[x] Doc - NO Need

And it's better to use English in pic

consider edit/ps the pic (cut + add + override) it later

And it's better to use English in pic
consider edit/ps the pic (cut + add + override) it later

Sure, I'll get it done！

hi @imbajin ，What do you think of the new pic？

Hi, @msgui , humble suggestion, I think WeChat is better :D

Hi~ @Radeity  ,Is the new pic what you expected? -> #255

Hi~ @Radeity ,Is the new pic what you expected? -> #255

Yes, thanks for you modification.


unable to browse Docker Windows Containers with transparent network

Connectivity Issue using transparent networks
I am trying to build a POC using an ASP.Net app using MSSQL. However, Because of poor performance over NAT I have tried using transparent networks to see if it resolves the issue.
I have used the code below to create the new transparent network
docker network create -d transparent --subnet=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> tnet
and then using it in my compose file as shown below:

However, when I try to connect to either:

The IIS instance using the stats OR
The MSSQL instance using local SQL Server Management Studio

But none of them work. I have also tried adding the subnet which I created as a part of the transparent network to my local inbound firewall rules but it does not seem to make any difference.
Can anybody help me out with this?
I am using Docker version 17.09.0-ce, build afdb6d4 if that helps.

Hi, @vazkarvishal , this does not seem to be a Docker Docs issue. If it is, can you provide the page that is giving you trouble?

This seems more like an question for Docker Forums: https://forums.docker.com/
Otherwise, maybe file it here? https://github.com/Microsoft/mssql-docker
Does this issue resemble yours? https://github.com/Microsoft/mssql-docker/issues/78
Another reference: https://docs.microsoft.com/en-us/virtualization/windowscontainers/manage-containers/container-networking

If this is indeed a Docker Docs issue, feel free to reopen with the problematic page. Thanks.


This is probably the German version of
A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

There is no error code
Expected Behavior
Start distro
Actual Behavior
Distro does not start.
> wsl --list --verbose
  NAME      STATE           VERSION
* Debian    Stopped         2

The folder AppData\Local\Packages\TheDebianProject.DebianGNULinux_76v4gfsz19hv4 exists, but \\wsl$ in the Windows Explorer is an empty folder.
I have found a number of issues regarding this or similar problems, but none of the reported solutions work for me. E.g., I have tried wsl --shutdown and wsl --terminate without success. Some of those issues were marked as duplicates of #5194, but WSL with Debian has worked here fine for quite some time.
Diagnostic Logs
wsl.etl.zip

Just to get it out of the way, could you try running wsl --update and see if that helps first?

Thanks, I should have mentioned that I already tried that:
> wsl.exe --update
Es wird nach Updates gesucht...
Keine Updates verfügbar.
Kernel-Version: <IP_ADDRESS>

That's "Looking for updates..." and "No updates available"

Addendum: In the last days before I couldn't start the distro anymore, I at least twice noticed a small glitch: When I executed dch (a shortcut for debchange from the Debian devscripts package that opens an editor) in an VS Code terminal, it would not open the editor specified in my configuration file. I assumed dch couldn't find or read the configuration file. I then terminated the distro with wsl --terminate and started it again. That cured the problem with dch, until the restart failed.

I just installed Ubuntu as an additional distribution. Ubuntu runs fine. So the underlying WSL machinery should not to be the problem. What might have gone wrong in Debian that causes this network (?) problem?
> wsl --list --verbose
  NAME      STATE           VERSION
* Debian    Stopped         2
  Ubuntu    Running         2

I tried to start the distro in Windows Terminal 1.11.34710.0 and (for the first time) got an error code:
Ein Verbindungsversuch ist fehlgeschlagen, da die Gegenstelle nach einer bestimmten Zeitspanne nicht richtig reagiert hat, oder die hergestellte Verbindung war fehlerhaft, da der verbundene Host nicht reagiert hat.

[Verarbeitung des Prozesses mit Code<PHONE_NUMBER> beendet]

So my problem might be at least similar to the one discussed in #5092.


0.7.1 with clang_completer: linter events not shown any more

I upgraded from 0.6.5 to 0.7.1, and now I don't see compile warnings or errors any more.
I'm running atom 1.4.0 with linter 1.11.3 and autocomplete-plus 2.25.0.
The dev console in youcompleteme v0.6.5 showed two types of YCM requests:
[YCM-REQUEST] POST atom_completions
[YCM-REQUEST] POST event_notification
But in youcompleteme v0.7.1 there are only completion requests shown in the dev console, I guess that's why I don't get any linter visualizations of compile warnings.
I switched back to 0.6.5 for now, which works pretty fine for me (thanks for all the good work!)

since 0.7 you have to use your own installation of the original ycmd(set the path in settings) instead of my fork.

Yeah, I figured that out already and used 0.7.1 with ycmd from https://github.com/Valloric/ycmd.git,
and I did also set the path to that version.
But with that setup I only get completions, but no errors/warnings.
BTW, compiling C++ if that matters.
Do you expect there to be only one YCM-REQUEST type both used for both completions and event notifications?

Have you saved the file to your disk?
It seems linter doesn't work with unsaved file for me.

I've activated "lint as you type" and didn't save the last few keystrokes, but there definitely was a version stored on disk just missing these few keystrokes.
I'll try again with saving before linting. I'll first set up a test environment for 0.7.1, and try to create a minimal example.
Thanks!

Hmm, I now did a separate fresh install of atom 1.4.0 with you-complete-me 0.7.1 and tried it on some toy code instead of my large project, and there I do get compile errors/warnings visualized by the linter package, and I do see  YCM requests of type
[YCM-REQUEST] POST event_notification
in the dev console. So everything fine then on a fresh install...
Could the problem that I observed when going from 0.6.5 to 0.7.1 be caused by some leftover stuff in some kind of state saved by atom? Not sure where to look at... but would be great if I could avoid to re-install atom completely in my production environment.
Thanks!

Opened the large project that didn't work in the updated installation now in the fresh installation, and it works. So I think we can consider this closed.
Thanks!


fix(stream): flush initial snapshot_read buffer

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
Fix for arrangement backfill is done separately here: https://github.com/risingwavelabs/risingwave/pull/10400.
Sqlsmith found a bug where the same row is read twice in snapshot. That's because initial buffer is not flushed.
Similar bug to https://github.com/risingwavelabs/risingwave/pull/11625

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[ ] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

When reviewing this PR, I found several issues with the new DataChunkBuilder design. Would you please first take a look? Sorry for being late. 🥺
https://github.com/risingwavelabs/risingwave/pull/11117#pullrequestreview-1606174529

When reviewing this PR, I found several issues with the new DataChunkBuilder design. Would you please first take a look? Sorry for being late. 🥺
#11117 (review)

Addressed the review comments, thanks for the feedback.

No need to cherry-pick as it's not actually "fixing" anything.


[SPARK-34932][SQL] deprecate GROUP BY ... GROUPING SETS (...) and promote GROUP BY GROUPING SETS (...)

What changes were proposed in this pull request?

GROUP BY ... GROUPING SETS (...) is a weird SQL syntax we copied from Hive. It's not in the SQL standard or any other mainstream databases. This syntax requires users to repeat the expressions inside GROUPING SETS (...) after GROUP BY, and has a weird null semantic if GROUP BY contains extra expressions than GROUPING SETS (...).
This PR deprecates this syntax:

Do not promote it in the document and only mention it as a Hive compatible sytax.
Simplify the code to only keep it for Hive compatibility.

Why are the changes needed?

Deprecate a weird grammar.
Does this PR introduce any user-facing change?

No breaking change, but it removes a check to simplify the code: GROUP BY a GROUPING SETS(a, b) fails before and forces users to also put b after GROUP BY. Now this works just as GROUP BY GROUPING SETS(a, b).
How was this patch tested?

existing tests

cc @AngersZhuuuu @maropu

Test build #136804 has started for PR 32022 at commit dd878ab.

Test build #136804 has finished for PR 32022 at commit dd878ab.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136804/

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41387/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41387/

Nice Idea! I want to do like this for a long time. Without this we can make code more simpler.

Test build #136810 has started for PR 32022 at commit c276331.

There are many testing SQL in SQLQueryTestSuite like this, should we rewrite it?

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41393/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41393/

Test build #136810 has finished for PR 32022 at commit c276331.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41393/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136810/

There are many testing SQL in SQLQueryTestSuite like this, should we rewrite it?

It's better to rewrite them to avoid warning messages. Can you help with it later? Thanks!

There are many testing SQL in SQLQueryTestSuite like this, should we rewrite it?

It's better to rewrite them to avoid warning messages. Can you help with it later? Thanks!

OK, Hope this can be merged soon then we can refactor other pr's code.

Test build #136845 has started for PR 32022 at commit 3130e08.

Kubernetes integration test unable to build dist.
exiting with code: 1
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41422/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41422/

Test build #136845 has finished for PR 32022 at commit 3130e08.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136845/

Test build #136905 has started for PR 32022 at commit c1de96f.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41482/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41482/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41482/

Test build #136908 has started for PR 32022 at commit 88e1c11.

Test build #136905 has finished for PR 32022 at commit c1de96f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41485/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41485/

Test build #136908 has finished for PR 32022 at commit 88e1c11.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136905/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41485/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136908/

Test build #136911 has started for PR 32022 at commit 170f692.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41488/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/41488/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/41488/

Test build #136911 has finished for PR 32022 at commit 170f692.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/136911/

Thanks! Merged to master.


Unknown message format

When a moderator ban an user, I get this message :
21 Jun 20:15:27 [WARNING]  [plugAPI]  UNKNOWN MESSAGE FORMAT
 {
    "a": "modBan",
    "p": {
        "m": "As2piK",
        "mi": 4282601,
        "t": "MC_盧moo",
        "d": "f"
    },
    "s": "as2pik-2"
}

Unknown Message Format is when we don't log or handle one of plug's events. Those can be ignored. Unless someone wants me to add a notification in the console for bans.

In the wiki, modBan is an event, so you can't remove the "unknown message format" for this ?

https://github.com/plugCubed/plugAPI/blob/master/src/client.js#L877
I can add it to the list of events plugAPI does not need to handle or log when I get the time.

Would a console.log('Function Deprecated') help in this case ?


Incorrect precision when applying low level reconstruction decoder

Hello,
When launching the reconstruction script, I received the following error message from the vd_pipe decoder regarding incorrect precision.
Traceback (most recent call last):   File "/export/raid1/home/kneel027/fMRI-reconstruction-NSD/src/Reconstructions.py", line 370, in <module>     blurry_recons = vd_pipe.vae.decode(ae_preds.to(device).half()/0.18215).sample / 2 + 0.5   File "/export/raid1/home/kneel027/miniconda3/envs/mindeye/lib/python3.10/site-packages/diffusers/utils/accelerate_utils.py", line 46, in wrapper     return method(self, *args, **kwargs)   File "/export/raid1/home/kneel027/miniconda3/envs/mindeye/lib/python3.10/site-packages/diffusers/models/autoencoder_kl.py", line 154, in decode     decoded = self._decode(z).sample   File "/export/raid1/home/kneel027/miniconda3/envs/mindeye/lib/python3.10/site-packages/diffusers/models/autoencoder_kl.py", line 124, in _decode     z = self.post_quant_conv(z)   File "/export/raid1/home/kneel027/miniconda3/envs/mindeye/lib/python3.10/site-packages/torch/nn/modules/module.py", line 1501, in _call_impl     return forward_call(*args, **kwargs)   File "/export/raid1/home/kneel027/miniconda3/envs/mindeye/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 463, in forward     return self._conv_forward(input, self.weight, self.bias)   File "/export/raid1/home/kneel027/miniconda3/envs/mindeye/lib/python3.10/site-packages/torch/nn/modules/conv.py", line 459, in _conv_forward     return F.conv2d(input, weight, bias, self.stride, RuntimeError: Input type (c10::Half) and bias type (float) should be the same
I fixed it in my local version by removing the .half() call on line 370, but a deeper look may be warranted if there was a reason for it's placement.

This is now fixed, thanks for pointing this out!


Not working on Xamarin.Forms version <IP_ADDRESS>2894

This doesn't seem to be working on Xamarin.Forms version <IP_ADDRESS>2894 targeting the iOS 12.2 SDK.

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

ID: 094f80f2-7fc1-d4cb-c20f-f6044c108b32
Version Independent ID: 889aa099-7eb5-d60d-be27-ced081fa8fe8
Content: NavigationPage Bar Separator on iOS - Xamarin
Content Source: docs/xamarin-forms/platform/ios/navigation-bar-separator.md
Product: xamarin
Technology: xamarin-forms
GitHub Login: @davidbritch
Microsoft Alias: dabritch

Hi @haydenhancock
I just tried this with Xamarin.Forms v<IP_ADDRESS>5677 and v<IP_ADDRESS>2894, with the iOS 12.2 SDK, and it worked fine in both cases (no navigation bar separator above the SearchBar).


Add tiled rosdep

Please add the following dependency to the rosdep database.
Package name:
tiled
Package Upstream Source:
https://github.com/mapeditor/tiled
Purpose of using this:
Used as a tile editor
Distro packaging links:
Links to Distribution Packages

Debian: https://packages.debian.org/

https://packages.debian.org/bookworm/tiled

Ubuntu: https://packages.ubuntu.com/

https://packages.ubuntu.com/focal/tiled

Fedora: https://packages.fedoraproject.org/

https://packages.fedoraproject.org/pkgs/tiled/tiled/

ROSDISTRO NAME
The source is here:
http://sourcecode_url
Checks

[x] All packages have a declared license in the package.xml
[x] This repository has a LICENSE file
[x] This package is expected to build on the submitted rosdistro

@Vuwij friendly ping, are you still planning to take this forward?


feat: aggregated view for invoices and orders

Jira: B2B-1488
Jira: B2B-1487
What/Why?

Aggregated view for Invoices
Aggregated view for Orders

Rollout/Rollback
undo pr
Testing
https://github.com/user-attachments/assets/ce517fca-62a9-4b27-a00f-8258d140e4af

The ticket involved in this PR has been updated and moved to other tickets.
Due to requirements and design changes, this PR will be closed


Support for Flutter 2.0

We are trying to use the tflite_flutter package and for the image processor, we would need tflite_flutter_helper.
But when we try to add this dependency in the flutter project, it depends on an older tflite_flutter version.
The latest tflite_flutter version is 0.6.0 and the helper package depends on 0.5.0.
Can the helper package be updated to depend on the latest tflite_flutter version?
If it would be updated then what would the ETA?

I will publish the update in the next few hours.

It's now 2 days ago... How is the current status and the current ETA?

Sorry for the delay. Actually, the work got blocked due to https://github.com/dart-lang/sdk/issues/45771. I have switched to windows now. Null-safe versions of both tflite_flutter and tflite_flutter_helper will be published by tomorrow.

The null-safe libraries are now published., please use tflite_flutter: ^0.8.0 and tflite_flutter_helper:  ^0.2.0.


Dapr is incompatible with redis 7 in cluster mode

Expected Behavior

I expect dapr to connect to the latest version of redis.
Actual Behavior

When I connect to a redis instance deployed to kubernetes, I get the following error:
time="2022-07-25T14:55:59.411020038Z" level=fatal msg="process component statestore error: redis store: error connecting to redis at state-store-redis-cluster:6379: got 4 elements in cluster info address, expected 2 or 3" app_id=subscriber instance=subscriber-deployment-68b65fd66b-tp6tc scope=dapr.runtime type=log ver=1.7.2

Steps to Reproduce the Problem

deploy redis in cluster mode: https://github.com/bitnami/charts/tree/master/bitnami/redis-cluster#tldr
configure dapr to connect to it

It seems we should use github.com/go-redis/redis/v9 to support redis 7: https://github.com/go-redis/redis/issues/2085#issuecomment-1181357149
As you can see in the log message I am currently using dapr 1.7.2, but it seems the bug is also in the current master: https://github.com/dapr/components-contrib/blob/master/go.mod#L65
Release Note

RELEASE NOTE:

Thanks, would you like to create a PR that updates go.mod to the v9 version?

I just hat a short look on that, and it seems it is more complicated than just updating the dependency:

If you are using Redis 6, install go-redis/v8
If you are using Redis 7, install go-redis/v9
(https://github.com/go-redis/redis#installation)

Probably, it would make sense to have the redis version configurable in the component specification and then use go-redis/redis/v8 or go-redis/redis/v9 depending on what is selected there.

Thanks, would you like to create a PR that updates go.mod to the v9 version?

I'm sorry, but I currently don't have the time to do this and using redis 6 for the time being is also not an issue for us.


Test case for read a resource

As a developer
I need ...
So that ...
Details & Assumptions:
when user picks one product from the list to view, I call READ to read that one product by id
Acceptance Criteria:
Given [some initial state]
When [some event]
Then [some measurable outcome]

Close reason: read resources issue already have related test case issue


dtype hierarchy / is_dtype

Splitting this out from here: https://github.com/data-apis/dataframe-api/pull/187#discussion_r1245461277
I'd like to have a way for users to write something like
if ser.dtype.kind in "if"

without having to do
if isinstance(
    column.dtype,
    (
        namespace.Int64,
        namespace.Int32,
        namespace.Int16,
        ...,
        namespace.Float32,
    )
)

I think it's pretty important to be able to check whether a column is of integer dtype, without to check through all the classes
How do we want to do this? Do we want something like https://data-apis.org/array-api/latest/API_specification/generated/array_api.isdtype.html#array_api.isdtype , so users can do is_dtype(column.dtype, 'integral')?

from the last call:
we don't want an explicit type hierarchy (e.g. Float sublcassing Numeric), but we do want a conceptual hierarchy, which would allow users to do something like "keep all numeric columns"
following the array api with is_type seems reasonable here


Exception when just using Col

I am getting this exception when I am just using the Col component.
I am using react 15.2.0-rc.1
warning.js?8a56:44 Warning: Unknown prop md on <div> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
I think the fix would be to list out all the proptypes on line 68 in lib/Col.js
var attributes = _objectWithoutProperties(props, ['className'].concat(Object.keys(propTypes)));

Thank you so much for reporting this. I'll update to explicitly list out props. I believe other components are affected by this as well.

@eddywashere awesome! Looking forward to the update.

@ericraio based on first pass through docs/tests with React 15.2.1, this should be fixed with 1.6.0 https://github.com/reactstrap/reactstrap/pull/52


Oauth config yaml

Please take a look at this reworking of the security content and let me know what you think. I think for an overview topic this was way overloaded. Feel free to throw back at me for further reworking, or pull in other folks.

@alberts I'd appreciate your eyes on this one as well.

@pyronicide Ready for merge to master.


misc improvements

deps: bump deps
shims/linux: perform dlopen exactly once
build: make cosmos relocatable
main: declare ImGui backend names
build: autodetect cosmocc in path
build: optimize binary
build: support building with makefile

i have some ideas on macos support:
since cross compiling and linking with cocoa is very annoying [^1], we could consider building the sokol_app dylib at runtime, provided that we already need cc to dlopen libraries.
to start, we can include a (partially) preprocessed source file of sokol_app in the binary, and copy the compiling logic from dlopen_helper.
[^1]: normally needs a copy of osx sdk packaged with osxcross. also the sdk doesn't really work well on arbitrary platforms. due to how objective-c works, it's theoretically possible to only link depend on objc_* symbols and get the job done, but it's a pain in the ass and we'd like to leave that to the compiler.


Document setup with new UI

Created Setup page in wiki. https://github.com/VariXx/varibot-twitch-js/wiki/Setup


support before and after request hook. closed #17

@sandro @wrunk

Coverage decreased (-1.6%) to 88.01% when pulling 1a90ef2e2c8cc66661591b04b3baf6d8fc4e0483 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

$ go run _example/hooks_dump/dump.go
POST /post HTTP/1.1
Host: httpbin.org
User-Agent: go-request/0.7.0
Content-Length: 7
Accept: */*
Accept-Encoding: gzip, deflate
Connection: keep-alive
Content-Type: application/json; charset=utf-8

[1,2,3]

HTTP/1.1 200 OK
Content-Length: 413
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Connection: keep-alive
Content-Type: application/json
Date: Sun, 11 Dec 2016 13:48:19 GMT
Server: nginx

{
  "args": {},
  "data": "[1,2,3]",
  "files": {},
  "form": {},
  "headers": {
    "Accept": "*/*",
    "Accept-Encoding": "gzip, deflate",
    "Content-Length": "7",
    "Content-Type": "application/json; charset=utf-8",
    "Host": "httpbin.org",
    "User-Agent": "go-request/0.7.0"
  },
  "json": [
    1,
    2,
    3
  ],
  "origin": "<IP_ADDRESS>",
  "url": "https://httpbin.org/post"
}

Coverage decreased (-1.6%) to 88.01% when pulling 9a7a7a2bc759158daf0fbb3120405d10b515d244 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling 9a7a7a2bc759158daf0fbb3120405d10b515d244 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling 9a7a7a2bc759158daf0fbb3120405d10b515d244 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling f766e68f786e9ace1e086b3cb789b0e94d3ab1d6 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling f766e68f786e9ace1e086b3cb789b0e94d3ab1d6 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling f766e68f786e9ace1e086b3cb789b0e94d3ab1d6 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling f766e68f786e9ace1e086b3cb789b0e94d3ab1d6 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage decreased (-1.6%) to 88.01% when pulling f766e68f786e9ace1e086b3cb789b0e94d3ab1d6 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage increased (+0.01%) to 89.639% when pulling 6a29ab91729d5b13ebcca1047dc9de3569fabdb4 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.

Coverage increased (+0.01%) to 89.639% when pulling 6a29ab91729d5b13ebcca1047dc9de3569fabdb4 on hook into 95c60e30037d16172079fa8aac5d8ee35724bdac on develop.


Allow to customize the Authentication prefix

Rationale:
Despite it's much more commont to use Bearer as prefix in the Authentication header, some systems may use other prefixes.
An example is the default configuration of Django JWT package (this is our case, as we are doing a microservice that will be integrated with an existing platform based in this package).
Description:
Provide a param in the middleware to specify the authentication header prefix with a default value as Bearer (so it keeps the backward compatibility).

Hi, yep thought about it, certainly need to add. It is in my todo for 1.0 ) but PR are warmly welcome 😃

Closed in #77

Released in v0.0.3. Thanks for contribution.


Guthub release hangs on startup

Github release is haging on startup Related https://github.com/quarkusio/quarkus/issues/25947
but local build is working fine

its working now...


Artifacts package

Artifacts are very much their own thing, and take up a lot of space in the agent module without actually being used in it anywhere at all.
This PR takes all of the artifact gear out of the agent module, and puts it in its own (internal) module called artifact. It also renames some of the types and funcs within to remove stuttering.

i'm gonna close this - the conflicts have grown too powerful in the time since i opened it. i'd still like to get it done at some point tho


Added C++ Core Guidelines link to C26415

The rule was already specified in the description, so I added a link to the documentation.

@JordanMaples : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Shorten tests and vectorize patches_method

Summary
This PR improves the speed of many tests, but especially those linked to functions of spatialstats.py and fit.py that require a lot of processing during either optimization or sampling.
The patches_method is reworked and can now be performed by convolution. This dramatically increases the computing speed compares to the sample size drawn. However, if the convolution is performed on an entire raster, it can still be slower than random patch sampling.
Two points are left to a later PR: improving the speed of terrain.py functions by convolution, which will naturally improve the speed of related tests and examples. And improving the speed of test_coreg.py, which will be better after the advances planned for the module in the next weeks/months.
@adehecq: Will be interesting to discuss where to put some functions listed further below, that probably better fit in geoutils.
As a change summary, this PR:

Makes the data from load_ref_and_diff function available to the test classes of test_spatialstats.py, then calls the variables using e.g. self.ref to avoid duplicated loading in every function;
Subsamples 10,000 points of the raster in test_nd_binning to reduce computing time;
Saves and reads intermediate files during TestBinning, TestVariogram and TestNeffEstimation of test_spatialstats.py to avoid duplicating long processing steps;
Re-orders TestBinning at the beginning of test_spatialstats.py for point 3 to work correctly;
Adds a functionality in xdem.spatialstats.interp_nd_binning to recognize pd.Interval columns that are (unescapably) converted to string when saving to csv, to support pd.Dataframe initated from files read on disk (now done in point 3);
Improve the function xdem.spatialstats._choose_cdist_equidistant_sampling_parameters to respect the pairwise samples and to allow small samples sizes while avoiding skgstat errors (minimum is 10);
Improves tests for xdem.spatialstats._choose_cdist_equidistant_sampling_parameters to test the new functions;
Constrains the xdem.spatialstats.sample_empirical_variogram calls with subsample=10 to reduce computing time;
Constrains the number_effective_samples calls that depend on neff_hugonnet_approx with subsample=10 to reduce computing time;
Fixes a small mistake in computing maxlag in xdem.spatialstats.sample_empirical_variogram;
Adds the option of passing a niter argument to scipy.optimize.basinhopping in xdem.fit.robust_sumsin_fit;
Constrains the test_fit.py functions using basinhopping to niter<25, depending on the test case (need to converge to the test function);
Shortens the computing time of code lines for documentation in docs/source/code and adjusts the line changes in the docs;
Introduces a wrapper for Raster objects for the patches_method;
Homogenizes the old patches method with loop/cadrants into a _patches_loop_cadrants function;
Adds a _patches_convolution method based on convolution.

Additionally, this PR adds some functions that might be good to move to geoutils:

The conversion from Raster or ndarray input + an exclusion/inclusion mask as Vector, np.ndarray or gpd.GeoDataFrame into a 1D np.ndarray of included terrain or a 2D np.ndarray with NaNs on included terrain is now consistently performed by the function _preprocess_values_with_mask_to_array (then used in infer_... functions and patches_method, for now).
A convolution function wrapper that calls either _scipy_convolution or _numba_convolution. Scipy has methods that are quite efficient for large arrays with any kernel size, while numba is very fast for small kernel sizes (source: https://laurentperrinet.github.io/sciblog/posts/2017-09-20-the-fastest-2d-convolution-in-the-world.html). Strangely, the numba convolution currently fails with a Segmentation Fault, impossible to trace the error...
A mean_filter_nan function that adapts a NaN arrays to compute the mean and count of valid samples by convolution.

After a lot of searching, there were actually two separate issues combined into one that made our tests fail:
https://github.com/GlacioHack/geoutils/issues/293 and https://github.com/GlacioHack/geoutils/issues/294.
To fix them in this PR:

First issue: rasterio is forced to <= 1.2.10,
Second issue: the apply function of the Coreg class now returns a np.ma.masked_array to copy(new_array=).

Additionally, this PR adds some functions that might be good to move to geoutils:
* The conversion from `Raster` or `ndarray` input + an exclusion/inclusion mask as `Vector`, `np.ndarray` or `gpd.GeoDataFrame` into a 1D `np.ndarray` of included terrain or a 2D `np.ndarray` with NaNs on included terrain is now consistently performed by the function `_preprocess_values_with_mask_to_array` (then used in `infer_...` functions and `patches_method`, for now).

* A `convolution` function wrapper that calls either `_scipy_convolution` or `_numba_convolution`. Scipy has methods that are quite efficient for large arrays with any kernel size, while numba is very fast for small kernel sizes (source: https://laurentperrinet.github.io/sciblog/posts/2017-09-20-the-fastest-2d-convolution-in-the-world.html). Strangely, the `numba` convolution currently fails with a Segmentation Fault, impossible to trace the error...

* A `mean_filter_nan` function that adapts a NaN arrays to compute the mean and count of valid samples by convolution.

We should indeed transfer all the convolution functionalities to geoutils in the long term I think (when the numba convolution works!). Maybe just raise an issue for the time being?
The first functionality is useful, but I'm not sure exactly where it would fit. It's essentially handling many different cases.


Get-LdapConnection.md Documentation Suggestion

In the file Get-LdapConnection.md, I'd suggest providing a bit more detail about how to generate a credential that'll work with a standard LDAP bind.
I finally found Example 7 at https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.security/get-credential?view=powershell-6 that got me on the right track to assembling the credentials I needed. Specifically, I now have code that looks like:
$LDAPuser="uid=myldapusername,ou=applications,dc=example,dc=com"
$LDAPpass= ConvertTo-SecureString -String "myldappassword" -AsPlainText -Force
$LDAPcredential= New-Object -TypeName SYSTEM.Management.Automation.PSCredential -ArgumentList $LDAPuser, $LDAPpass
$LDAPconnection = Get-LDAPConnection -Server ldap.example.com -Port 636 -Credential $LDAPcredential

It works well, just took me a while to figure that out! (And thanks for a useful cmdlet!)

Thanks for the kind words!
The only thing that's really unusual about the Credential parameter is that it usually requires a full distinguished name rather than a simple common name, and that's already called out in the documentation. To be on the safe side, though, I've added a line in the documentation to provide a reference back to the documentation on the Get-Credential cmdlet (which includes the example you referenced above).


Unmonitor broken custom images

Two Marketplace images we use as base images have been deprecated recently. Specifically, the 2012-R2-Datacenter and win10-22h2-ent SKUs are not currently available. Need to unmonitor the custom images using these — windows.81.amd64, windows.10.amd64.client, and all similar ones.

Release Note Category

[x] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
We are temporarily not updating the custom images used in all Windows 8.1 and most Windows 10 client queues. The problem affects all queues with names starting with "windows.81.amd64" e.g., windows.81.amd64.svc as well as all starting with "windows.10.amd64.client" except those starting with "windows.10.amd64.clientrs5" e.g., windows.10.amd64.client.open.rt is affected but windows.10.amd64.clientrs5.open.rt is not.
These images will get progressively more stale until we either stop using them altogether or set up extended support for the base images we require.

Fix in !40865 not yet rolled out

done though #3293 fix means only windows.81.amd64 remains unmonitored


ImportError: No module named 'reader'

I'm currently running Jupyter notebook using tensorflow-notebook . When I try import imageflow, I get the following:
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-5-f680d40931f4> in <module>()
----> 1 from imageflow import *

/opt/conda/lib/python3.5/site-packages/imageflow/__init__.py in <module>()
     27
     28 from imageflow import *
---> 29 from reader import read_and_decode
     30
     31 __author__ = 'HANEL'

ImportError: No module named 'reader'

Might-be-relevant-software versions:
Python - 3.5.2
Jupyter - 4.1.1
numpy - 1.10.4
Pillow - 3.2.0
tensorflow - 0.9.0
imageflow - 0.0.2
EDIT: Looks like it's a problem with Jupyter notebook, as everything works fine from the command line, so I'll close this.

Dear @ballardt
I just see this, did your problem solved? and if yes, how?
Thanks.

I was getting this error when I tried to import ImageFlow from within Jupyter Notebook. It doesn't occur when I do so in a .py file and run the file from the command line with python example.py. I would guess that it's a problem with Jupyter Notebook.

I got the same error on both Windows 10 and CentOS 7 (console, Jupyter and Visual Studio Code). My software versions are:
Python 3.5.2 (Anaconda 4.2)
Jupyter 5.1 (Anaconda 4.2)
Visual Studio Code 1.8 + Python extension 0.56
Tensorflow 0.12.1
ImageFlow 0.2
Could you help? Thanks.

Hi @nguyen14ck, thanks for reaching out.
As @ballardt stated, this has to be because of Jupyter, more exactly because in the code I use normal Session rather than InteractiveSession.
I will add support for Jupyter by adding InteractiveSession. Also, contributions are welcomed.


model_name's without corresponding Tokenizer's do not work (such as gpt4)

It appears that the current code-path tries to find a valid Tokenizer for a given model name, and that this Tokenizer is only used to check whether the user's input is shorter than the context window.
This causes the framework to not work for models that do not have a public Tokenizer.
Most evident is the example of "gpt4". However, more relevant, this prevents users from trying their own custom, private, models that are hosted behind some unknown OpenAI-compatible server somewhere that has not published any information about their models, such as their associated tokenizers.
A better approach would be to simply prompt the OpenAI server with the full input, however long it may be, and then listen for an error. OpenAI-compatible servers typically respond with errors along the lines of "your input exceeds the context window by X tokens, please reformat it and try again".

gpt-4 and other huggingface models should work with our current implementation.


Kernel restart issue

I'm running brach IPython-3.x. When I restart the kernel in Jupyterhub, I frequently get a failure. Am I doing something wrong or is this an issue? I get this message:
"The kernel has died, and the automatic restart has failed. It is possible the kernel cannot be restarted. If you are not able to restart the kernel, you will still be able to save the notebook, but running code will no longer work until the notebook is reopened."
Here is the error in the log:
16/06/15 12:52:05 INFO Client: Application report for application_1465935646593_0014 (state: ACCEPTED)
16/06/15 12:52:06 INFO Client: Application report for application_1465935646593_0014 (state: ACCEPTED)
[W 2016-06-15 12:52:07.726 jim kernelmanager:130] Timeout waiting for kernel_info_reply: 1495b014-a6bd-4b2d-8923-7c2af0cff7fe
[E 2016-06-15 12:52:07.726 jim handlers:90] Exception restarting kernel
Traceback (most recent call last):
File "/opt/Anaconda3/lib/python3.5/site-packages/notebook/services/kernels/handlers.py", line 88, in post
yield gen.maybe_future(km.restart_kernel(kernel_id))
File "/opt/Anaconda3/lib/python3.5/site-packages/tornado/gen.py", line 1008, in run
value = future.result()
File "/opt/Anaconda3/lib/python3.5/site-packages/tornado/concurrent.py", line 232, in result
raise_exc_info(self._exc_info)
File "", line 3, in raise_exc_info
tornado.gen.TimeoutError: Timeout waiting for restart

Do you have version numbers? (Spark? Scala? Java? IPython)
The latest build is for 1.3.1, didn't maintain it for some time (busy busy). But I'll try to reproduce it.
Also, if you found a fork that has supported spark 1.4+ plz let me know

Hi. Thanks for the reply. Here's what we are using:
Spark - 1.6.1
Hadoop 2.7.1
Scala - 2.10.4
IPython - 4.2.0
I made no changes when I built branch , including the pom Spark or Hadoop versions. It seems that if it fails and I wait long enough before doing the "try restarting now", it usually will restart. So, I'm wondering if I am restarting while it is in the process of initializing a spark context or something. This may be purely user error or misunderstanding. Thanks for the help.

oooooooh I remember not including 1.6.x in my dependency list (which means I'm using deprecated API).
This probably take some time to fix, would you mind taking a look of forked projects at the moment?


How to set default value for DATETIME type

I have tried to use
type: "DATETIME"
defaultsTo: new Date(), but it failed.
Is there an elegant way to set default value?

Here is the error:
If you need to calculate a value for the attribute before creating a record, try wrapping your
`create` logic in a helper (see http://sailsjs.com/docs/concepts/helpers) or using a lifecycle
hook (see https://sailsjs.com/documentation/concepts/models-and-orm/lifecycle-callbacks#callbacks-on-create).

Are there any new ways to set the current datetime as default value?
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
In the `ATTRIB_NAME` attribute of model `MODEL_NAME`:
The `defaultsTo` property can no longer be specified as a function in Sails 1.0.  If you
need to calculate a value for the attribute before creating a record, try wrapping your
`create` logic in a helper (see http://sailsjs.com/docs/concepts/helpers)
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-

Are there any new ways to set the current datetime as default value?
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
In the `ATTRIB_NAME` attribute of model `MODEL_NAME`:
The `defaultsTo` property can no longer be specified as a function in Sails 1.0.  If you
need to calculate a value for the attribute before creating a record, try wrapping your
`create` logic in a helper (see http://sailsjs.com/docs/concepts/helpers)
-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-


[Discussion]: Reduce Boilerplate in API

Content
Currently, each API module implements basic CRUD operations. This may lead to different method names or behavior. It also adds significant unnecessary boilerplate to the application.

Potential Solutions
Inheritance-Like Approach:
Potentially, each service can inherit from an abstract class which implements the shared functionality
Composition Approach
An additional service can be instantiated that provides the basic shared functionality


swscroll: pull in changes from showScroller_Q3

... added with https://github.com/espruino/Espruino/commit/a0e2d9231df709849f81abf572a742b0fceab85b

Thanks!

I seem to have missed something with this. When I have swscroll installed check boxes aren't toggled properly. I will try to fix it at some point.


Setup automatic daily retrieval of required information from R001 interface

Is your feature request related to a problem? Please describe.
As a user, I want the shipping information for my warehouse from GCSS-MC.
Describe the solution you'd like
Django-Celery-Beat scheduled task to load all required information from R001 GCSS interface on an at-least daily basis and store in database.
Describe alternatives you've considered
N/A
Additional context
N/A

via #299


Added {"> "} in Files and Links, and removed unwanted styles

This PR is regarding the issue #111
This PR request is regarding addition of  {"> "} before Files and Links, and removing unwanted styling.
This has been resolved by me, Kindly accept my PR. For further changes, do let me know.
Screenshot:

Hi @itsme-shivamkumar , please have a look at its deploy preview https://deploy-preview-116--extraspace-cloud.netlify.app/. The background that you set is not there. please have a look and do the changes

Yess, lemme see this and do the required changes. I'll inform after fixing

Hi @srivastavaritik , I have done the changes and the background image is now visible, I actually forgot to change the index.html where I had applied the background color, sorry for the inconvenience, Kindly review the changes and lemme know if any further changes are required. Thank You


Mobilenet-V3 "large" and "small" models not working when using TFLite frontend with Armnn

To reproduce this error, install CK and then run the following commands
$ ck pull repo --url=https://github.com/arm-software/armnn-mlperf
$ ck install package --tags=dataset,imagenet,preprocessed,using-pillow,side.224,crop.875 \
--dep_add_tags.dataset-source=val,min,non-resized --dep_add_tags.python=v3
$ ck benchmark program:image-classification-armnn-tflite --speed --repetitions=1 \
--dep_add_tags.weights=model,tflite,mobilenet-v3,v3-small_224_1.0_uint8 \
--dep_add_tags.library=armnn,tflite,rel.20.05 \
--dep_add_tags.images=side.224,preprocessed,using-pillow

The following error is seen:
Loading graph...
terminate called after throwing an instance of 'armnn::ParseException'
  what():  Buffer #155 has 0 bytes. For tensor: [1,112,112,16] expecting: 200704 bytes and 200704 elements.  at function CreateConstTensor [/home/lahiru/CK-TOOLS/lib-armnn-20.05-gcc-8.3.0-neon-onnx-rel.20.05-tf-tflite-linux-32/src/src/armnnTfLiteParser/TfLiteParser.cpp:3099]
./tmp-6Knwst.sh: line 33: 16558 Aborted                 ./classification

  (post processing via CK (/home/lahiru/CK/ck-mlperf/script/image-classification, postprocess)

This error is produced for the MobileNet-V3 Imagenet Checkpoints (without the minimalistic checkpoints).

Hi @slahiruk
Thanks for reporting this. The reason for that error is that HardSwish is not supported in our TfLiteParser. I added a patch in our master branch to add the functionality. You can either wait until that patch gets submitted and update to master or apply the patch to your local branch.
Let me know if you've got any further questions
Jan

Thanks Jan! This works with the dev variation of CK-ArmNN:
$ ck benchmark program:image-classification-armnn-tflite --speed --repetitions=1 \
--dep_add_tags.weights=model,tflite,mobilenet-v3,v3-small_224_1.0_uint8 \
--dep_add_tags.images=side.224,preprocessed,using-pillow \
--dep_add_tags.library=armnn,tflite,dev
...
--------------------------------
Process results in predictions
---------------------------------------
ILSVRC2012_val_00000001.JPEG - (65) n01751748 sea snake
0.13 - (62) n01744401 rock python, rock snake, Python sebae
0.09 - (65) n01751748 sea snake
0.08 - (41) n01685808 whiptail, whiptail lizard
0.06 - (44) n01689811 alligator lizard
0.06 - (50) n01698640 American alligator, Alligator mississipi...
---------------------------------------

Summary:
-------------------------------
Graph loaded in 0.050195s
All images loaded in 0.009579s
All images classified in 1.369122s
Average classification time: 1.369122s
Accuracy top 1: 0.0 (0 of 1)
Accuracy top 5: 1.0 (1 of 1)
--------------------------------
...

Great :) good to hear!
I'll close this ticket. Just reopen it if you've got any further questions


Add godep requirement to getting started section in readme

We actually don't use godep in the agent project! We used to, but now we just add the vendor path to the $GOPATH. We'll probably switch to using the built in go vendor stuff eventually: https://docs.google.com/document/d/1Bz5-UB7g2uPBdOx-rw5t9MxJwkfpx90cqG9AFL0JAYo/edit?pli=1

Oh, that's super weird. Stuff wouldn't build unless I run the godep get command. shrug

Perhaps try this:
brew install direnv
cp .envrc-sample .envrc
direnv allow

Aha. Many thanks :)


[Feature]flutter_video_compress uses a deprecated version of the Android embedding

Description
While building under Flutter v2.10.*, there's a warning below, please take care, thanks in advance!
The plugin `flutter_video_compress` uses a deprecated version of the Android embedding.
To avoid unexpected runtime failures, or future build failures, try to see if this plugin supports the Android V2 embedding.
Otherwise, consider removing it since a future release of Flutter will remove these deprecated APIs.
If you are plugin author, take a look at the docs for migrating the plugin to the V2 embedding:
https://flutter.dev/go/android-plugin-migration.

Platform
Android
Code Example (if has)
flutter build apk

Expected solution
Improvement.

The problem persists. @rurico @michael-towify


VoIP push support

Hi.
I'm wondering if this service can be used also to send VoIP push? To my understanding the difference is just type of certificate from Apple (VoIP) and device token.
I've used this for normal APNS push using the generated .p8 certificate, I'm not sure if I can get a VoIP certificate as .p8 tho. Only seen .p12/.pem and those didn't work.
Anyone has any insight on VoIP push?

please tell @kmyllyvi  which is other provider u found
?

Hi sorry for not following up @pewh - Maybe it's still current for some ppl: been using apnagent https://www.npmjs.com/package/apnagent for VoIP push using .p12 cert. Hope that works for you as well @pushkar803

thank you man


LineChart error on empty data

I am dynamically setting the data labels, datasets, and legend, but was experiencing some errors when the data was empty such as the LinearGradient in AbstractChart.js line 192 can't read property length of undefined. I was able to fix this by writing some inline if statements to check for nulls in the AbstractChart.js and the LineChart.js of my dist. If this is something that would be good to merge into the project let me know.

Here are the conditional statements I wrote to fix this issue
https://github.com/indiespirit/react-native-chart-kit/pull/667


Add draft style guide

Adding here for comments, before going through the code and actually implementing this.

My other concern would be guidance on unicode usage.

Unicode right now doesn't have a complete set of subscripts and superscripts, and stuff like \prime\prime and \pprime worry me a bit.
Even usage of \bb, \bf etc can cause problems, due to bugs in other stuff (https://github.com/jupyterlab/jupyterlab/issues/9524)
certain monospace fonts don't have great math support

My other concern would be guidance on unicode usage.

Agree that should definitely be added to the guide.

Unicode right now doesn't have a complete set of subscripts and superscripts, and stuff like \prime\prime and \pprime worry me a bit.

Yea, for this reason I'd say discourage broad use. So I like that we're doing Ω_r, Ω_b, Ω_m etc... I would actually consider getting rid of the _ though, I don't think its any less clear without.

Even usage of \bb, \bf etc can cause problems, due to bugs in other stuff (https://github.com/jupyterlab/jupyterlab/issues/9524)

Yea, I'm not married to 𝕡 type stuff although I do like it alot. Would be good to standardize the naming a bit, eg 𝕡, bg, ih, etc... should be one style.

certain monospace fonts don't have great math support

I'd say we recommend Julia Mono and in the guide say that if it doesn't look good in Julia Mono don't use it, but if it does fair game.


Qinwen/mlperf 4 merge eval

Add multi-host eval
reference to
./xpk/v5p-32_eval.sh
remove image_id	id	caption (first line) in dataset/coco/val2014_30k.tsv to avoid dummy read.

@suexu1025 did you verify that this will also work when running training with eval_at_checkpoint set to True?

@suexu1025 did you verify that this will also work when running training with eval_at_checkpoint set to True?

Yes, just fixed the issue and verified.


Remove build_host_protoc.bat

It is no longer needed after protobuf cmake update - when we are not doing cross compilation, Windows can directly use the binary built with build_windows.bat.

@caffe2bot retest this please.


Sharing the details of experiments on NoveltyTHOR

Hi,
Thanks for your amazing work. I want to know whether you can share the data for NoveltyTHOR and code for experiments on this dataset. More accurately, the models tested in Table 2, including testing the model pre-trained on PROCTHOR-10K, the model with objaverse, and the model with the holodeck. Thanks a lot.
Best,
Zhaowei

Hi @zhaowei-wang-nlp / @YueYANG1996 , yes we can definitely share this but it may be a few weeks as I'm working on finishing a NeurIPS submission before I'm at ICRA'24 in mid-May. Please ping again if you don't hear by end of May.

@Lucaweihs @YueYANG1996 Any update on this?

@Lucaweihs Hi Luca, any update?

@Lucaweihs Hi, is the code release？

Hi @Lucaweihs @YueYANG1996 , any update on this issue?


Too many open files, crash when serving static files.

When running a stress test against the example hello world app I got it to crash when trying to hit /index.html
wrk -d 20 -t 4 -c 1015 http://<IP_ADDRESS>:4000/index.html
Params: =index.html
accept: Too many open files (Errno)
0x10defddc5: *CallStack::new:CallStack at ??
0x10df00a6e: *raise<Errno>:NoReturn at ??
0x10dfbb065: *Amber::Server#start:Nil at ??
0x10defbfa2: __crystal_main at ??
0x10df24bdb: main at ??

I'm thinking it could be an open file descriptor issue or something else, but I'll look into see if its a crystal-lang bug or something that we can tackle.
Possibly related - https://github.com/crystal-lang/crystal/issues/780

I may have been running into 10.11's ulimit limit of only 256 open file descriptors.
https://blog.dekstroza.io/ulimit-shenanigans-on-osx-el-capitan/

Yeah thats definitely it. With that error. You have to change your ulimit.
On Jun 11, 2017 1:58 AM, "John Bolliger"<EMAIL_ADDRESS>wrote:

I may have been running into 10.11's ulimit limit of only 256 open file
descriptors.
https://blog.dekstroza.io/ulimit-shenanigans-on-osx-el-capitan/
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Amber-Crystal/amber/issues/108#issuecomment-307613002,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHmpE9qCKLu_D0dFzo0JYKqgjMHefPUks5sC54qgaJpZM4N2Uq_
.

Is this still a valid issue. It looks like is more a server config issue. LMK

It's invalid. wrk ran with 1015 of HTTP connections to keep open with each thread and with 4 threads.
So I suppose that 4K connections may be established sometimes. You need approx. limit of 8K+ of descriptor (4K connections and 4K static files).
https://stackoverflow.com/questions/880557/socket-accept-too-many-open-files

closing this issue.


Use conversion to sets to check uniqueItems (performance improvement)

This pull requests addresses https://github.com/for-GET/jesse/issues/115
The current implementation of the check for uniqueItems condition in a JSON array seems to be inefficient, with an implementation that has approximately O(n^2) complexity on the number of elements in the array.
This proposal is to change the implementation in order to use a conversion to a set of the list in order to eliminate duplicates efficiently. In order to do this, the format for JSON objects within the array is normalized to Erlang maps.
Implementation of normalization and is_equal is moved to jesse_lib.

There was an issue with the macro and OTP releases 20 and lower.  I hope it is fixed now.

Some issues with CI. Seems latest version of proper requires at least OTP-20. I think the options are:

Use older version of proper
Create a separate rebar.config profile and make CI to only run proper on OTP >= 20
Drop support for OTP-19 (need confirmation from @andreineculau for that)

I think the easiest thing is to use Proper version 1.2.0 for OTP >= 20 and 1.4.0 otherwise.  I am going to assume that you mean to crete "rebar.OTPXX.config" files for each release as there are now rebar3.OTPXX files and use links for those releases that are the same, right?  i am going to go ahead and try to change the Makefile in that direction.

Merged. Thank you for your contribution and patience =)


Is it possible to get original data in the sample Sfcc LWC app, .i.e my site data( eg: funi ), i have all the details like organizationid, client id and so on ,but when i use my details also the app is always showing dummy data of clothes, in the sample app of LWC, how can i get my original data

Hey @saivenkatesh48 ,
This sounds like a sample app configuration issue. Can you privately send me the configuration information you are using (as it contains potentially sensitive information), as well as a place to review the running application?
Cheers,
Josh

where can i share you the config info privately,i am unable to see
, but i want my details andone more thing is when click on any category like Men or etc, then error is comming as Authorization Token has expired undefined

@saivenkatesh48 you can shoot me an email ( jbegleiter AT salesforce DOT com ), and the authorization token issue was fixed in latest master of sample app (released Thursday last week).

can i send the api.js file which contain my details,i am just mention all the items in this js file.
i have downloaded the sample app yesterday only, but still getting the same issue,

@saivenkatesh48 if you have the most recent sample app I think this is likely a configuration issue, as well. Feel free to send over the api.js file.

sure, thanks.

i have shared the email, please go through it and help me to solve the issue,i am just configuring product detail url, or can i need to call login url before shopper product api?

The process what i did is:
1.download the sample app with recent release.
2.yarn install  all node modules in the app.
3.yarn install node module in @sffc-bff,@Sfcc-core,Storefront-lwc
4.copy api.example .js  file and renameit to app.js
5.In app.js i have given my credentail details
6.after that run the command in terminal like yarn build, yarn start:dev
these are the steps i did, did i miss any let me know.

one more important question for me is
can i run this sample as Mobile app, i have read in the it follows PWA(Progress web app) for iOS, can i run the same app in android also or can i only able to run in Ios?

The sample app is responsive but it is a web app. You could run it in a webview and that should work, but I haven't tried it, and the JS engine may not fully support the features (no guarantees).
I have found some issues in your configuration and am investigating the correct values for you.

thanks,can you please investigate and let me know.

one more question, what is the way, if i want to develop mobile app using the Commerce SDK,
my requirement is , i need mobile app which uses this SDK.

@saivenkatesh48 to implement this for mobile we recommend introducing an "experience layer" that utilizes the SDK (in the case of the sample app it uses a BFF), as opposed to using the SDK directly in the client.

HI, even after using newly generateed shortcode i am getting this issue, i have sent mail to you regarding this.
storefront-lwc: Authorization Token has expired Response {
storefront-lwc:   size: 0,
storefront-lwc:   timeout: 0,
storefront-lwc:   [Symbol(Body internals)]: {
storefront-lwc:     body: Minipass {
storefront-lwc:       _events: [Object: null prototype],
storefront-lwc:       _eventsCount: 5,
storefront-lwc:       _maxListeners: undefined,
storefront-lwc:       pipes: [Yallist],
storefront-lwc:       buffer: [Yallist],
storefront-lwc:       writable: true,
storefront-lwc:       readable: true,
storefront-lwc:       [Symbol(kCapture)]: false,
storefront-lwc:       [Symbol(flowing)]: false,
storefront-lwc:       [Symbol(paused)]: false,
storefront-lwc:       [Symbol(objectMode)]: false,
storefront-lwc:       [Symbol(encoding)]: null,
storefront-lwc:       [Symbol(decoder)]: null,
storefront-lwc:       [Symbol(EOF)]: false,
storefront-lwc:       [Symbol(emittedEnd)]: false,
storefront-lwc:       [Symbol(emittingEnd)]: false,
storefront-lwc:       [Symbol(closed)]: false,
storefront-lwc:       [Symbol(bufferLength)]: 956,
storefront-lwc:       [Symbol(destroyed)]: false
storefront-lwc:     },
storefront-lwc:     disturbed: false,
storefront-lwc:     error: null
storefront-lwc:   },
storefront-lwc:   [Symbol(Response internals)]: {
storefront-lwc:     url: 'https://z61e3rz8.api.commercecloud.salesforce.com/customer/shopper-customers/v1/organizations/f_ecom_bdgc_bdgc_s05/customers/actions/login?clientId=5d5667fb-1401-43f0-8277-9df51aaf6ea8&siteId=funimation-us',
storefront-lwc:     status: 530,
storefront-lwc:     statusText: undefined,
storefront-lwc:     headers: Headers { [Symbol(map)]: [Object: null prototype] },
storefront-lwc:     counter: 0,
storefront-lwc:     trailer: Promise {  }
storefront-lwc:   }
storefront-lwc: }
storefront-lwc: Error in requestWithTokenRefresh() ResponseError: 530 undefined
storefront-lwc:     at Object. (D:\sfcc_demoapp\sfcc-sample\sfcc-sample\node_modules\commerce-sdk\dist\helpers.js:36:13)
storefront-lwc:     at Generator.next ()
storefront-lwc:     at fulfilled (D:\sfcc_demoapp\sfcc-sample\sfcc-sample\node_modules\tslib\tslib.js:110:62)
storefront-lwc:     at processTicksAndRejections (internal/process/task_queues.js:97:5) {
storefront-lwc:   response: Response {
storefront-lwc:     size: 0,
storefront-lwc:     timeout: 0,
storefront-lwc:     [Symbol(Body internals)]: { body: [Minipass], disturbed: false, error: null },
storefront-lwc:     [Symbol(Response internals)]: {
storefront-lwc:       url: 'https://z61e3rz8.api.commercecloud.salesforce.com/customer/shopper-customers/v1/organizations/f_ecom_bdgc_bdgc_s05/customers/actions/login?clientId=5d5667fb-1401-43f0-8277-9df51aaf6ea8&siteId=funimation-us',
storefront-lwc:       status: 530,
storefront-lwc:       statusText: undefined,
storefront-lwc:       headers: [Headers],
storefront-lwc:       counter: 0,
storefront-lwc:       trailer: [Promise]
storefront-lwc:     }
storefront-lwc:   }

Hi Jose,Even i run yarn start:dev command also, i am getting the above mentioned issue.

Taking this to an offline thread.


[FEATURE 💡] Snackbar notifications

Description

Add snackbar notifications instead of this dialog box after adding an item to cart

Screenshots

Additional information
Make sure to read the CONTRIBUTING and SETUP docs before proceeding
Happy contributing. 💐
Star my other Repositories here

@shoaib-31 Sure, assigning you. But make 2 seperate PR's. as you are already assigned to another issue

@warmachine028 Take a look, is this okay?
video.webm


Fixing a minor bug in Recovery Services (Backup)

Undoing an incorrect removal of property.

Can one of the admins verify this patch?

Automation for azure-sdk-for-js

@sergey-shandar you get a free one 😄


When switching between Canada and USA in the dropdown, the number one is appended every time

When you switch from CA to US or from US to CA, it adds a 1 every time instead of just staying the same.
Please consider fixing this issue, thank you!

Is there any update on this issue? TIA

I just did a pull request to solve this issue

Have been fixed in 4.73.0 (sorry for the messy versioning. still learning semver), thanks to @villamil PR


Add pointing re-analysis.

This PR adds the jupyter notebook in which the HEROES pointing was reanalysed as well as Keynote and PDF versions of slides summarising the results of the analysis.

ping @ayshih