rocm: * -> 5.1.1

Description of changes
Update rocm packages to 5.1.1. Some have already been updated by r-ryantm.
I also added a patch to rocclr that re-enables support for gfx8 hardware.
The patch has been floating around for a while and I think it’s applied
for some distributions.
I tested some OpenCL examples on gfx8 and gfx10 and it's both working with this patch.
Builds are on the flakebi cachix, so you can use
cachix use flakebi
nix-build rocm-opencl-icd
nix-build hip

and skip building llvm.

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Nevermind, I forgot to actually use the GPU to render after enabling it in settings :facepalm:.
So it looks like that's broken, but it wasn't working in the first place so it's not a regression.
Still, other than that everything looks good!
Sorry about that :(


st2 run --inherit-env does not work for actions run with python-script runner

SUMMARY
The --inherit-env option supposedly supports the python-script runner:
  -e, --inherit-env     Pass all the environment variables which are
                        accessible to the CLI as "env" parameter to the
                        action. Note: Only works with python, local and remote
                        runners.

But it doesn't actually pass the environment variables to the Python script. I suspect that this has been broken for some time.
The core.local and core.remote actions do pass their environment variables correctly.
ISSUE TYPE
Pick one below and delete the rest:

Bug Report

STACKSTORM VERSION
st2 3.1dev (95d7cc3), on Python 2.7.12
OS / ENVIRONMENT / INSTALL METHOD

Ubuntu 16.04, installed as part of setup_e2e_tests in st2ci pack.
STEPS TO REPRODUCE

actions/test_inherit_env_python_script_runner.yaml:
---
name: test_inherit_env_python_script_runner
description: Test the --inherit-env option to the st2 command for an action run with the python-script runner
enabled: true
runner_type: python-script
entry_point: test_inherit_env.py
parameters: {}

actions/test_inherit_env.py:
import os

from st2common.runners.base_action import Action

class InheritEnvTestAction(Action):
    def run(self, *args, **kwargs):
        return (True, os.environ)

EXPECTED RESULTS

env | grep SLACK_; st2 run --inherit-env tests.test_inherit_env_python_script_runner

SLACK_USER_API_TOKEN=xoxb-...
SLACK_CHANNEL=chatops_e2e_tests_u16
SLACK_BOT_USERNAME=chatops_test_bot_u16
SLACK_USER_USERNAME=chatops_test_user_u16
.
id: ...
status: succeeded
parameters: None
result:
  exit_code: 0
  result: '{
    ''SLACK_USER_API_TOKEN'': ''xoxb-...'',
    ''SLACK_CHANNEL'': ''chatops_e2e_tests_u16'',
    ''SLACK_BOT_USERNAME'': ''chatops_test_bot_u16'',
    ''SLACK_USER_USERNAME'': ''chatops_test_user_u16'',
    ''ST2_ACTION_EXECUTION_ID'': ''...',
    ''DAEMON_ARGS'': ''--config-file /etc/st2/st2.conf'',
    ''ST2_ACTION_API_URL'': ''http://<IP_ADDRESS>:9101/v1'',
    ''ST2_ACTION_AUTH_TOKEN'': ''...'',
    ''PYTHONPATH'': ''/opt/stackstorm/packs/tests/lib:/opt/stackstorm/st2/lib/python2.7/site-packages'',
    ''ST2_AUTH_TOKEN'': ''...'',
    ''SHELL'': ''/bin/sh'',
    ''LOGNAME'': ''root'',
    ''ST2_API_URL'': ''http://<IP_ADDRESS>:9101/v1'',
    ''WORKERID'': ''10'',
    ''PATH'': ''/opt/stackstorm/virtualenvs/tests/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'',
    ''HOME'': ''/root'',
    ''USER'': ''root''
  }'
  stderr: ''
  stdout: ''

Note how the SLACK_ environment variables show up in the output from st2.
ACTUAL RESULTS

env | grep SLACK_; st2 run --inherit-env tests.test_inherit_env_python_script_runner

SLACK_USER_API_TOKEN=xoxb-...
SLACK_CHANNEL=chatops_e2e_tests_u16
SLACK_BOT_USERNAME=chatops_test_bot_u16
SLACK_USER_USERNAME=chatops_test_user_u16
.
id: ...
status: succeeded
parameters: None
result:
  exit_code: 0
  result: '{
    ''ST2_ACTION_PACK_NAME'': ''tests'',
    ''ST2_ACTION_EXECUTION_ID'': ''...',
    ''DAEMON_ARGS'': ''--config-file /etc/st2/st2.conf'',
    ''ST2_ACTION_API_URL'': ''http://<IP_ADDRESS>:9101/v1'',
    ''ST2_ACTION_AUTH_TOKEN'': ''...'',
    ''PYTHONPATH'': ''/opt/stackstorm/packs/tests/lib:/opt/stackstorm/st2/lib/python2.7/site-packages'',
    ''ST2_AUTH_TOKEN'': ''...'',
    ''SHELL'': ''/bin/sh'',
    ''LOGNAME'': ''root'',
    ''ST2_API_URL'': ''http://<IP_ADDRESS>:9101/v1'',
    ''WORKERID'': ''10'',
    ''PATH'': ''/opt/stackstorm/virtualenvs/tests/bin/:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'',
    ''HOME'': ''/root'',
    ''USER'': ''root''
  }'
  stderr: ''
  stdout: ''

Note how the SLACK_ environment variables do not show up in the output from st2.

Reported for Ubuntu Xenial but still applies to later and currently supported OS.


Maxpool fails in Model_net

Describe the bug
Here is the unit tests of failing maxpool op of each resolution:
When Maxpooling=True, Encoder res: 4094x510

To reproduce the issue, run the command: pytest tests/ttnn/unit_tests/operations/test_maxpool2d.py::test_model_net_max_pool_4094x510
Among 4 maxpools, 2 maxpools fails with OOM issue, 2 maxpools fails with with valid_page_size error
All 4 maxpools got skipped with Bfloat8_b

When Maxpooling=True, Encoder res: 2047x255

To reproduce the issue, run the command: pytest tests/ttnn/unit_tests/operations/test_maxpool2d.py::test_model_net_max_pool_2047x255
Among 4 maxpools, 3 maxpools fails with with valid_page_size error, 1 maxpools fails with OOM issue
All 4 maxpools got skipped with Bfloat8_b

To Reproduce
Steps to reproduce the behavior:

Checkout to the branch harini/model_net_failing_maxpools
Run the respective commands of Ops in each input resolution to reproduce the issues.

Expected behavior
To run the op for the specific input configurations without error.
Please complete the following environment information:

OS: [e.g. Ubuntu 20.04]
Device: n150

Maxpool supports only bfloat16. So any bfloat8 inputs must be converted to bfloat16. My guess is that when this conversion happens, there isn't enough memory to fit both input and output tensors.

Yeah, basically you can provide bfp8_b input to the maxpool op. Internally the halo op converts to RM, so BFP16. If input is already BFP16, it should need less memory.

@HariniMohan0102 Could you please retry the tests with the latest main? A few fixes went in, which have resolved the page size errors. The OOM ones may still fail. Please let me know what you see. Thanks!

@mywoodstock  I'll test with latest main and update soon.

@mywoodstock I'll tested with latest main, cases with valid page size errors are resolved.
3 cases fails with OOM error. Updated them to the current branch, please check.
Thank you.

The 3 OOM cases are basically due to the large tensor shape, which comes out to requiring over 2MB per shard, which is beyond the L1 size. We do not have a solution for this currently, but we have it in the roadmap to make large sizes work through DRAM slicing. cc: @mbahnasTT

@mbahnasTT Is it blocking for you? One software solution is to slice the tensor into smaller sub-tensors along the channel dimension, making each slice more manageable for the cache. We can then apply the max-pooling operation individually to each sub-tensor and concatenate the results afterward to reconstruct the final output.

@mywoodstock @shwetankTT OK with the workaround, and we'll update them on the current limitations and the roadmap plans.

@mywoodstock I downgraded it to P1 not P0, please treat it accordingly.

@esmalTT since you are working on this model now. wanted to keep you in the loop regarding this issue. Thanks all.

@HariniMohan0102 your branch has only 1 test for 2047x255 maxpool but in issue description you are describing 4 of them.
I can only see 1. I rebased to main and still that single one fails with OOM. cc: @esmalTT and @mbahnasTT
@HariniMohan0102 pls double check the pytest on your branch and make sure the unit tests are all inclusive.

@dvartaniansTT, I have the issue description is of when the issue was created. Recently, on rebasing to latest main, some of the cases passed, and few fails. I have updated the branch and readme previously. I'll update the issue description.


[BUG]: Features buttton not functioning

feature button is not responding
https://github.com/user-attachments/assets/c313cab8-0ac4-4e5b-bac9-93b62ae98e84

hey, I had like to contribute on this issue.


Go to Definition is not working

Go To Definition is not working
Even After disabling, uninstalling or disecting all the extension still (loading...) is visible

VS Code Version: 1.89.0 (Universal)
OS Version: macOs Sonoma 14.4.1 (23E224)

Extension
Version

ESLint
v2.4.4

GitHub Copilot
v1.188.0

GitHub Copilot Chat
v0.15.0

GitHub Pull Requests
v0.88.1

GitLens — Git supercharged
v14.9.1

Jest
v6.2.5

JS JSX Snippets
v11.1.3

Live Server
v5.7.9

Material Icon Theme
v5.1.0

Panda Theme
v1.3.0

Prettier - Code formatter
v10.4.0

px to rem & rpx & vw (cssrem)
v3.1.1

Code Coverage
v1.12.0

Codiumate
v0.8.8

ES7+ React/Redux/React-Native snippets
v4.4.3

Steps to Reproduce:

Large Monorepo
Hover over syntax

Seeing similar problems in a very large monorepo.  We primarily use remote environments, and Go to Definition pegs vscode-server's process to 100% CPU, which causes connection drops.
I'm still verifying at scale, but turning off typescript.tsserver.experimental.useVsCodeWatcher appears to solve the problem in my environment.
(Deleting 10,000 tsx files makes the experience a little better, so I think scale is definitely a factor.)

To help us investigate can you try collecting the TS Server log:

Set "typescript.tsserver.log": "verbose",
Restart VS Code and reproduce the problem
In VS Code, run the TypeScript: Open TS Server log command
This should open a large log file called tsserver.log

Look through that log file for errors or stack traces. If you can share the log, I can also take a look to see if anything stands out

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

Is yarn pnp involved? See https://github.com/yarnpkg/berry/issues/6270

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Aceptance test update with new fragments api

Coverage remained the same at 51.684% when pulling 58e20ad411cb28ec851aff464ba0785ba682f0bd on compae:bugfix/aceptance-test-update2 into 6514d94871a2c51f009694f0138a4fa2262c8353 on Stratio:master.

Coverage remained the same at 51.684% when pulling 58e20ad411cb28ec851aff464ba0785ba682f0bd on compae:bugfix/aceptance-test-update2 into 6514d94871a2c51f009694f0138a4fa2262c8353 on Stratio:master.


Summary
I thought it would maby fit the library, since iOS 14 has got widgets, to create a cross platform widget solution.
Honestly i dont know anything about the iOS 14 widgets and whether there are commonalities to the Android ones and therefore if it even would make sense to have a cross platform solution.
API Changes
Whole new API
Intended Use Case
Make it easier to create widgets
I will need iOS 14 widgets in the near future so when this idea would make sense for Shiny i would try to help implementing this feature as far as my capabilities allow me.

Unfortunately, UI isn't something Shiny will touch.  Shiny focuses on all the other stuff that Xamarin Forms doesn't touch.  This is best to bring forward to the XF team (and one they should investigate)

Unfortunately, UI isn't something Shiny will touch.  Shiny focuses on all the other stuff that Xamarin Forms doesn't touch.  This is best to bring forward to the XF team (and one they should investigate)


Added support for the VS 2017 header

Due to a slight variation in the Visual Studio 2017 file header, which I missed, we couldn't properly parse the version information from a 2017 file header. The portion containing the line for the major version used to indicate the solution icon does not contain the word "Version" like in 2019 and 2022. This change allows us to handle the 2017 variation.
This addresses #58.

Codecov Report

Merging #60 (a3bd6d9) into main (b0ed95a) will increase coverage by 0.05%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
+ Coverage   94.42%   94.48%   +0.05%
==========================================
  Files          14       14
  Lines         377      381       +4
==========================================
+ Hits          356      360       +4
  Misses         21       21

Impacted Files
Coverage Δ

src/SlnUp/ProgramOptions.cs
94.54% <ø> (ø)

src/SlnUp/SolutionFile.cs
97.11% <100.00%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

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


support self closing tags

Previously, you would need to define all empty tags in the config, which meant when working with frameworks such as AngularJS or React.js that enable the creation of custom elements, you would have to add every custom element used to the config, or deal with:

  <MyCustomElement/>
  </MyCustomElement>

when you would expect:

  <MyCustomElement/>

This fork automatically skips self closed tags.

I've just realised how inelegant (and broken) my initial solution was, so I've decided to use a more complicated regex check.
handleTag: (text, stack) ->
   if match = text.match(/<(\/)?([^\s\/>]+)(\s+[a-z]+(=".*")?)*\s*(\/)?>/i)
        # match
      tag = match[2]
      if match[1]
        # closing tag: find matching opening tag (if one exists)
        while stack.length
          break if stack.pop() is tag
      else if match[5]
        # self closing tag: ignore it
      else
        # opening tag, possibly empty
        stack.push tag unless @isEmpty(tag)
      text.substr match[0].length
    else
      # no match
      text.substr 1

Also, how do I run the tests? I tried just running the spec file with coffee but it couldn't find atom.

Thanks for this! If I recall the test command is apm test, assuming you have the atom command line utilities installed.

It should be functional now, however I seem to have broken the automatic indentation fixing, I have no idea where to look for it though.
Haven't been able to run the tests myself yet but I guess the travis build will take care of that for me.

I see the tests didn't like me trying to match straight literal objects which means I'll have to test each property of the object returned by parseTag individually.

Try using toEqual instead of toBe for object comparison.

It looks like the new parseTag function returns undefined instead of false. If you change the checks to:
      result.opening     = if match[1] or match[7] then false else true
      result.closing     = if match[1] then true else false
      result.selfClosing = if match[7] then true else false

then it looks good. Some of the tests need a couple adjustments. The expects for doesn't have a cow when you use lone properties doesn't look correct and doesn't have a cow when properties contain a '>' is missing an = in the input text.

Thanks! Merged and released.


[BUG] Harvester Mounting Partitions Of Old Harvester

Describe the bug
Given a single node cluster Harvester instance with two drives of the same size (either logical RAID drives or pass-through hba).
If Harvester has at one point been installed (same version) on both drives it gets confused and seems to automount some partitions from some of each drive.
To Reproduce
Steps to reproduce the behavior:
Pre-reqs:

Single node Harvester cluster, 2 drives of same size ex 350G

Scenario 1:

install Harvester to /dev/vda - allow installer to finish
node reboots, power off node before Harvester becomes ready
install Harvester to /dev/vdb - allow installer to finish
node reboots, keep boot order as:
a. /dev/vda
b. /dev/vdb
you'll notice that some partitions of /dev/vdb & /dev/vda are automatically mounted

Scenario 2:

power down Harvester node
reverse the boot order:
a. /dev/vdb
b. /dev/vda
power up the node, you'll notice that some partitions of /dev/vda & /dev/vdb are automatically mounted

Expected behavior
Perhaps not auto mounting partitions from another drive, unless they're like an "extra-disk" partition?
Environment

Harvester ISO version: v1.1.3-rc3
Underlying Infrastructure: qemu-kvm & bare-metal hp dl160

Additional context

@irishgordo This is expected because elemental mount partition by labels. One way to deal with this is to pop up a warning if the installer detects an existing installation.

@bk201 that pop up warning sounds like a great idea :smile:  - maybe additionally it could funnel a user into the ability to format the drive(s) that it detected had an existing installation

supposed to be fixed with wipefs configuration.


Separate Build Machines

I was wondering if there is any support for having a separate build machine? Besides scripting the build in some other tool and using hapistrano's copying mechanisms. For example, I do development on a Mac but need to deploy to a GNU/Linux machine - which isn't able to also function as a build machine. It'd be preferable to be able to deploy code to the build box, build, and then transfer the files to the machine where the deploy needs to happen.

@csasarak Sorry for the late response. This is an interesting scenario, thanks for letting us know. I think we could consider adding support for the scenario, but I wouldn't be sure if we are going to do it in the short term. So a PR is welcome.
However, what we have been doing when we are in need of building and then deploying to another machine the compiled product is using CI infrastructure. g.e. Do the development on Mac, use a CI platform to build the application, something like using TravisCI or CircleCI to use a Linux machine to build the application and then copying them to the target machine as described in the Readme file.
Let me know if this has been of help

@juanpaucar That is a helpful idea, and I think that the CI approach is actually the better one compared with my request, thank you! Right now my organization isn't sophisticated enough to have CI but I can raise that with the other members of our group.

I'll be closing this issue for now since we have a copying mechanism that could work for this scenario. Feel free to reopen it if you think we can improve this feature. Thanks!


CORE-10420 Changes to FlowMapper - incremental PR

WIP

no longer needed, was used as parallel PR to gradual test code changes


Add new hello world for JavaScript

This PR includes a different approach to log Hello World! in JavaScript.
The following features in JavaScript are not allowed: Strings, numbers, regular expressions, functions named "Hello", "World", "HelloWorld" or anything similar, and object keys named "Hello", "World", "HelloWorld" or anything similar.
This script uses bitwise operation to form ASCII values of the string Hello World!, then log to the console using String.fromCharCode().

Contributes to #166.


VLAN assignment to WLAN parent interface issue

Assigning an VLAN-ID to an WLAN parent interface e.g ath0_wlan1 results in a crash with the following notification:

opnsense: /usr/local/etc/rc.filter_configure: New alert found: There were error(s) loading the rules: /tmp/rules.debug:97: interface name too long - The line in question reads [97]: scrub on ath0_wlanX_vlanXX all

OPNsense 18.7.10-amd64
FreeBSD 11.1-RELEASE-p18
OpenSSL 1.0.2q 20 Nov 2018
Steps to reproduce:

Interfaces: Wireless: Devices -> Add an Wireless interface, will be automatically named ath0_wlanX
Interfaces: Other Types: VLAN -> Assign VLAN ID to that Interface, will be named as ath0_wlanX_vlanXX

results in mentioned error

Tracked via #3222


WIP - Parallel scheduling

Work in progress for parallel scheduling for the Swarm driver.
/cc @abronan @vieux

This happened. Investigating.
2015/10/07 02:08:49 http: panic serving <IP_ADDRESS>:53429: runtime error: invalid memory address or nil pointer dereference
goroutine 21121 [running]:
net/http.(*conn).serve.func1(0xc82cf6bc30, 0x7f9aae2f7b30, 0xc82b21f780)
        /usr/local/go/src/net/http/server.go:1287 +0xb5
github.com/docker/swarm/cluster.Containers.Get(0xc837771c00, 0xe, 0x10, 0xc8543172c0, 0x40, 0xdbd640)
        /home/ubuntu/go/src/github.com/docker/swarm/cluster/container.go:53 +0xcd3
github.com/docker/swarm/scheduler/node.(*Node).Container(0xc834adc6e0, 0xc8543172c0, 0x40, 0x13)
        /home/ubuntu/go/src/github.com/docker/swarm/scheduler/node/node.go:47 +0x54
github.com/docker/swarm/cluster/swarm.(*Cluster).listNodes(0xc8200ae240, 0x0, 0x0, 0x0)
        /home/ubuntu/go/src/github.com/docker/swarm/cluster/swarm/cluster.go:618 +0x31b
github.com/docker/swarm/cluster/swarm.(*Cluster).createContainer(0xc8200ae240, 0xc829b0e380, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ubuntu/go/src/github.com/docker/swarm/cluster/swarm/cluster.go:138 +0x3bf
github.com/docker/swarm/cluster/swarm.(*Cluster).CreateContainer(0xc8200ae240, 0xc829b0e380, 0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ubuntu/go/src/github.com/docker/swarm/cluster/swarm/cluster.go:107 +0x6e
github.com/docker/swarm/api.postContainersCreate(0xc8200b72c0, 0x7f9aaa1c1aa8, 0xc829b36630, 0xc82c524d20)
        /home/ubuntu/go/src/github.com/docker/swarm/api/handlers.go:380 +0x295
github.com/docker/swarm/api.NewPrimary.func1(0x7f9aaa1c1aa8, 0xc829b36630, 0xc82c524d20)
        /home/ubuntu/go/src/github.com/docker/swarm/api/primary.go:122 +0x300
net/http.HandlerFunc.ServeHTTP(0xc820246460, 0x7f9aaa1c1aa8, 0xc829b36630, 0xc82c524d20)
        /usr/local/go/src/net/http/server.go:1422 +0x3a
github.com/gorilla/mux.(*Router).ServeHTTP(0xc8200ac140, 0x7f9aaa1c1aa8, 0xc829b36630, 0xc82c524d20)
        /home/ubuntu/go/src/github.com/docker/swarm/Godeps/_workspace/src/github.com/gorilla/mux/mux.go:98 +0x29e
github.com/docker/swarm/api.(*dispatcher).ServeHTTP(0xc8200ab040, 0x7f9aaa1c1aa8, 0xc829b36630, 0xc82c524d20)
        /home/ubuntu/go/src/github.com/docker/swarm/api/server.go:32 +0x9f
net/http.serverHandler.ServeHTTP(0xc820279860, 0x7f9aaa1c1aa8, 0xc829b36630, 0xc82c524d20)
        /usr/local/go/src/net/http/server.go:1862 +0x19e
net/http.(*conn).serve(0xc82cf6bc30)
        /usr/local/go/src/net/http/server.go:1361 +0xbee
created by net/http.(*Server).Serve
        /usr/local/go/src/net/http/server.go:1910 +0x3f6

Fixed in last changes

I personally like the solution with the pending list :+1:, this also gets rid of the deadlock with the pull issue. Even though the lock still stays at the scheduler level (but the scheduling decision is fast enough anyway).
Will test it and tear it apart to see if there is no more panics when issuing parallel run+create+remove requests. But SGTM!

Made a few other changes - it's good for review now.
/cc @abronan @vieux @chanwit @jimmyxian

PTAL

Aha, more clear than before. :+1:
LGTM

LGTM, I'd like to wait for the mesos tests to get back to normal to make sure this PR doesn't break mesos if you don't mind

LGTM :cocktail: (when CI happy)

I'm reading the commits to understand how it works. Allow me some more time.

A few things there. Also LGTM when CI pass :):):)
Maybe you'd like to remove "WIP:" out of commit a74d90ba message :-) ?

@chanwit Fixed! Thanks


Add Ledger BLE support

Add Bluetooth support for X on web so that Ledger Nano X users don't have to always connect with USB.

Please add your planning poker estimate with ZenHub @rachelhox

duplicate #409


STORM-2101: fixes npe in compute-executors in nimbus

Backport to 1.x of: https://github.com/apache/storm/pull/1694

+1


Document the need for post-script configuration.

If someone uses the install script, they need to add some configuration to the YAML file. This should be documented.

Resolved in https://github.com/terjekv/github-authorized-keys/commit/9aa9cf610a03ea02383a88e073bec03243d80a44.


Automated Installation of Debian from CD/DVD image

Hi and thanks for this awesome project!
I would like to have my virtual machine be installed from a Debian 7.5 CD/DVD image to minimize downloads at installation time compared to the netboot variant. However, when I run veewee to create the box, the installation process requires additional keyboard inputs, e.g. to confirm that packages can be installed from a remote Debian mirror.
Any clues on how the boot command sequence from veewee / templates / Debian-7.5.0-amd64-netboot / definition.rb has to be altered to accomplish an installation that does not require manual interaction?
Thanks, Martin

@metmajer did you get this to work?

@FunTimeCoding I think the solution was to use a Debian-netinst.iso which does not require these inputs.

thank you


Concerning Issue #107

I added two new Dependency Properties: StrokesProperty and PointsProperty

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

have you tested it? it doesn't work for me

This looks to be a write-only property. There is no way to get the strokes/points in a performant manner due to the fact that both are updated regularly during stroking.
This is similar to #120

I think this issue needs to be discussed further on the the more general #133 issue. Please post any further comments there and we can re-visit this.
Although this PR is useful, it doesn't handle notifying the user the signature has changed - which is probably what @VladislavAntonyuk is facing.


DRC errors on analog pad provided as part of the SKY130 pdk

The analog pad (as well as other pads) provided as part of the skywater 130 pdk contains DRC errors
Steps to repoduce:

Install magic rev. 8.3.399
Install the skywater pdk using open_pdks rev. 1.0.414 to the default location
Copy /usr/local/share/pdk/sky130A/libs.tech/magic/sky130A.magicrc to your working directors and rename it to .magicrc
Open the analog pad using magic magic /usr/local/share/pdk/sky130A/libs.ref/sky130_fd_io/mag/sky130_ef_io__analog_pad.mag
Create a Box around the pad, press "a" followed by "x" to expand everything.
Drc -> DRC Complete
Drc -> DRC Update
Options -> DRC Manager shows "mcon spacing <0.19um" and "Metal5 overlap of via4"

Similar issues are present also in other pads, such as sky130_ef_io__vccd_lvc_clamped3_pad.mag

@simonwaid :  I'm aware of these errors, or at least the metal5 overlap of via4 error.  The overlap errors occur near 45 degree angle edges of metal5 in the layout, and as far as I can see from the layout, these actually are real errors, in that the corner of the via is too close to the edge of metal5 by a euclidean distance measure.  Magic flags this.  Apparently calibre doesn't, since these pads pass calibre rule decks with no issues.  I'm not sure how to approach the issue other than redrawing all of the pads so that all tools agree that there are no errors.

I've tried to modify the files from which the DRC errors were stemming. Replacing sky130_fd_io_pad_esd and sky130_ef_io_esd_pdiode_11v0_array with the modified ones (io_mod.zip) solves the issues for sky130_ef_io__analog_pad.mag
Also, the files sky130_ef_io__vccd_lvc_clamped3_pad.mag and  sky130_ef_io__vssd_lvc_clamped3_pad.mag contain DRC errors. I've tried to edit them in an attempt to solve the issues. I can get rid of the error "Can't overlap those layers". Even though the resulting layout is ugly. However, the error "Spacing of metal2 features attached to and within 0.28 of large metal2" remains. This looks like a magic bug to me, as there are no features in metal2 around the location of the DRC error.
Could you please check if the modified files are good and ideally include the new files into the pdk?

Sure, I'll take a look.  I will probably be another week before I can do anything about it, though.  There are definitely errors in magic resulting from the way the files are read in from GDS.  It has been my intention to provide DRC clean layouts in magic, so you're doing what I intended but haven't had time to work on.

Thank you! I'd need DRC clean pads for a tape out in mid June. But I understand that you're extremely busy. Please let me know if I can do anything to make your work easier.

@simonwaid :  I just want to make it clear that these cells should cause no issues with tapeout.  There are two separate issues here that are illustrated by the m5 overlap error and the mcon spacing error on the analog pad.  (1) All library cells have a .mag file that is effectively an "abstract" view.  These views look like .mag layout but they have a "GDS_FILE" property in them that points to a GDS file with the cell contents.  The GDS file is the "golden reference" and is the data that gets output when you do "gds write".  The magic layout view, ideally, is the same as the GDS and you can go from .mag to GDS and back without changing anything.  But that's not always the case.  In the case of the analog pad, I checked the GDS data and it is correct and has no GDS errors.  So the issue arises from reading the GDS back into magic when creating the library, which is creating an artifact that shows up as a contact spacing error.  (2) The metal 5 overlap is an issue where magic's DRC and Calibre's DRC disagree on the definition of overlap of a contact when the metal edge is at 45 degrees.  Since this problem is DRC clean according to Calibre, then it will be DRC clean for SkyWater's DRC run and will not cause the design to be rejected.  While I disagree with Calibre's implementation in this case, the geometry in question has been included in millions of production chips so obviously is not a problem in practice.
So, in short, the main issue that you will have with these cells is that the DRC errors showing in magic will tend to prevent you from seeing and finding other errors in the layout which may be real.  That's why it's helpful to have magic showing these cells as DRC clean.  But if you can work around that issue, then there won't be a problem with tape-out.


Mismatch in custom rotations key in AnsatzConfig class

strategy_args.operations definition does not match _create_hea_digital request for "rotations" .

Thanks for pointing out. Will have a look at it and push the fix.

Since @giovanniminutoNL found this, I thought it would make a good (and quick) first contribution to the repo – unfortunately I cannot point out assignees. Would you make everything consistent with operations or rotations?

Indeed. I would let him do the needful in that case. It is operations everywhere, that was an oversight on my end. I would just do operations.

Fixed in #515


move ClusterEndpoint and ClusterName from the provisioner provider spec to karpenter CLI args

1. Issue, if available:
N/A
2. Description of changes:

Move ClusterName and ClusterEndpoint from the Provisioner AWS Provider Spec to a CLI arg and environ variable to Karpenter binary.

3. Does this change impact docs?

[ ] Yes, PR includes docs updates
[x] Yes, issue opened: link to issue //TODO open issue
[] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Nice


[CERT-TEST-FAILURE] Test_TC_IDM_6_2.yaml should expect INVALID_ACTION rather the UNSUSPPORTED_ACCESS and general issue

Feature Area
Other
Test Case
Test_TC_IDM_6_2.yaml
Reproduction steps
The test case has two issues in my eyes:
1.) Step 14 and 16_1 (so the first 16 that comes after 16) should expect returning INVALID_ACTION rather then UNSUPPORTED_ACCESS. According to the specification it should fit in these points:

A1: Else if reading the event in the path requires a privilege that is not granted to access the cluster in the path, an EventStatusIB SHALL be generated with the UNSUPPORTED_AC CESS Status Code. (for concrete path in Test 14)
A2: If reading the event in the path requires a privilege that is not granted to access the clus ter in the path, then the path SHALL be discarded. (for wildcard path in test 16_1)
B: If no error free existent paths remain, then EventRequests are considered empty. --> leads to empty!
C: If this action is in response to a Subscribe Request action, ... If both AttributeRequests and EventRequests are empty ... a Status Response Action with the INVALID_ACTION Status Code SHALL be sent to the
initiator, ....

But the test expects UNSUPPORTED_ACCESS which would only happen if "B" is not respected, so it might also be a SDK implementation error in this case.
2.) Steps 15 and later can never be successful because the ACL that are set in Step 16_1 prevent all these from being successful. So it also could be that the step order of the test is wrong in general or some change screwed up the step order.
This is currently blocking a certification!
Bug prevalence
always
GitHub hash of the SDK that was being used
master
Platform
core
Anything else?
No response

Test-Plan is expecting unsupported access instead of invalid action.
Refer to the issue for more details: https://github.com/CHIP-Specifications/chip-test-plans/issues/3442.
Additionally, please find the existing SDK issue here: https://github.com/project-chip/connectedhomeip/issues/29203.

Ok then I would close here because we have an SDK and an Test plan issue already. No need for duplicates


feat: Pre-made Templates store

Hi Jaspr Team,
I'm a big fan of Jaspr and how it complements Flutter web development. As a Flutter developer with over 5 years of experience, I recently encountered a challenge while building a web app. While the app itself functions well, its SEO is currently lacking, and I'm in need of a strong landing page to improve discoverability.
Jaspr seemed like a perfect fit for this task, as it allows me to leverage my existing Dart knowledge without diving into a completely new technology stack.  However, the absence of pre-made templates or readily available online resources poses a significant hurdle.
In my opinion, providing 2-3 pre-built landing page templates would significantly enhance Jaspr's adoption and offer valuable learning resources for developers like myself. I'm confident that many other Flutter developers would benefit from this addition.
This approach would not only streamline the landing page creation process but also showcase Jaspr's capabilities through practical examples.
Thank you for considering this feature/product request!

Thanks.
As Jaspr is still relatively new there are not that many educational or demo resources available yet. While we work on adding these, it might take a while since we mainly focus on developing the core framework right now. You are very welcome to contribute by adding such resouces.
You will also get a starter page when running 'jaspr create' that should get you started for now.


[LOC] "_gt" needs to be replaced with ">"

https://docs.microsoft.com/ja-jp/windows/configuration/wcd/wcd-hotspot

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: 78dacd73-100d-9c37-8b4b-09948bb54047
Version Independent ID: fc9ec9b2-44b4-32dd-0034-5a294d27ba39
Content: HotSpot (Windows 10)
Content Source: windows/configuration/wcd/wcd-hotspot.md
Product: w10
Technology: windows
GitHub Login: @jdeckerMS
Microsoft Alias: jdecker

@officedocsbot assign @e0i
@officedocsbot assign @dongmicro
@officedocsbot add label localization

See: #3405

@e0i  : It was corrected now.

↑Bing cash screen as of 20 May

@e0i - looks like this issue ticket can be closed now (unless a confirmation from @dongmicro is needed).

@officedocsbot close

@illfated It has now officially been confirmed. Thanks.


Settings does not display indicator with PaneDisplayMode = Top

Describe the bug

Steps to reproduce the bug

Open XAML Controls Gallery (WinUI 3 Alpha) and navigate to the NavigationView example page
Scroll down to the NavigationView with PaneDisplayMode set to Top and tap the settings item

Expected behavior
Navigating to Settings should display the selected indicator as the other navigation links do.
Screenshots

Settings selected

Menu Item1 selected
Version Info
WinUI 3 Alpha

This issue is also present in WinUI 2(.3)

Funny, but I just noticed this a few hours ago myself.
Also present in Microsoft.UI.Xaml 2.2.190917002

Good issue! I think this is one that I wouldn't want to try to fix until @ojhad's refactor is complete. But maybe @ojhad you can keep a list of these issues (and PRs) that we want to revisit when the NavView refactor is in?

This can be fixed alongside with  bottom pinned menu items (#375) as i do in #1497

Good idea! I moved the list of issues and PRs that will need to be revisited to the ItemsRepeater move dev task

Refactor is in and this can now be re-visited (as it is still an issue). Unassigning myself for now.


Add Cache metrics to groupcache

Add metrics about the hot and main caches0.

Number of bytes in each cache.
Number of items in each cache.
Counter of evictions from each cache.

Signed-off-by: SuperQ<EMAIL_ADDRESS>

[x] I added CHANGELOG entry for this change.
[ ] Change is not relevant to the end user.

Changes

Verification

Seems like a failure in an unrelated end-to-end test.

Seems like a failure in an unrelated end-to-end test.

yea sorry about that, flaky tests (:  - Reran them successfully now

@SuperQ how is groupcache working for you?


Cannot load model: python 3.6/3.7, spacy 2.1.3

Hi!
I'm having a bit of trouble installing any of the neuralcoref models. I've tried the following steps on Ubuntu 18.04 (python 3.6.7) and OSX Mojave (3.7.3).

Install spacy 2.1.3, check that I can properly load and run models.
Install a neuralcoref model via pip:

$ pip3 install https://github.com/huggingface/neuralcoref-models/releases/download/en_coref_lg-3.0.0/en_coref_lg-3.0.0.tar.gz

Try to load the model, either by importing it directly or loading via spacy:

>>> import en_coref_lg
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/en_coref_lg/__init__.py", line 6, in <module>
    from en_coref_lg.neuralcoref import NeuralCoref
  File "/usr/local/lib/python3.6/dist-packages/en_coref_lg/neuralcoref/__init__.py", line 1, in <module>
    from .neuralcoref import NeuralCoref
  File "cymem.pxd", line 1, in init en_coref_lg.neuralcoref.neuralcoref
ValueError: cymem.cymem.Pool has the wrong size, try recompiling. Expected 64, got 48
>>> import spacy; nlp = spacy.load('en_coref_lg')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/spacy/__init__.py", line 27, in load
    return util.load_model(name, **overrides)
  File "/usr/local/lib/python3.6/dist-packages/spacy/util.py", line 131, in load_model
    return load_model_from_package(name, **overrides)
  File "/usr/local/lib/python3.6/dist-packages/spacy/util.py", line 152, in load_model_from_package
    return cls.load(**overrides)
  File "/usr/local/lib/python3.6/dist-packages/en_coref_lg/__init__.py", line 14, in load
    nlp = load_model_from_init_py(__file__, **overrides)
  File "/usr/local/lib/python3.6/dist-packages/spacy/util.py", line 190, in load_model_from_init_py
    return load_model_from_path(data_path, meta, **overrides)
  File "/usr/local/lib/python3.6/dist-packages/spacy/util.py", line 173, in load_model_from_path
    return nlp.from_disk(model_path)
  File "/usr/local/lib/python3.6/dist-packages/spacy/language.py", line 786, in from_disk
    util.from_disk(path, deserializers, exclude)
  File "/usr/local/lib/python3.6/dist-packages/spacy/util.py", line 611, in from_disk
    reader(path / key)
  File "/usr/local/lib/python3.6/dist-packages/spacy/language.py", line 776, in <lambda>
    deserializers["tokenizer"] = lambda p: self.tokenizer.from_disk(p, exclude=["vocab"])
  File "tokenizer.pyx", line 390, in spacy.tokenizer.Tokenizer.from_disk
  File "tokenizer.pyx", line 436, in spacy.tokenizer.Tokenizer.from_bytes
  File "/usr/lib/python3.6/re.py", line 233, in compile
    return _compile(pattern, flags)
  File "/usr/lib/python3.6/re.py", line 301, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/usr/lib/python3.6/sre_compile.py", line 562, in compile
    p = sre_parse.parse(p, flags)
  File "/usr/lib/python3.6/sre_parse.py", line 855, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
  File "/usr/lib/python3.6/sre_parse.py", line 416, in _parse_sub
    not nested and not items))
  File "/usr/lib/python3.6/sre_parse.py", line 527, in _parse
    code1 = _class_escape(source, this)
  File "/usr/lib/python3.6/sre_parse.py", line 336, in _class_escape
    raise source.error('bad escape %s' % escape, len(escape))
sre_constants.error: bad escape \p at position 275

I've checked both the medium and large models and get the same error. Any help would be appreciated!

Same error here. I am using the medium model with spaCy 2.1.3 and python 3.6.7

As a temporary fix, I was able to install the development branch from source, and it appears to work fine. Still, it would be helpful to understand why the official release doesn't work, since I think I'm using a pretty vanilla environment.

Today, the master branch seems the same with dev branch, I also get the same error.
/home/vimos/anaconda3/envs/rcqa/bin/python3.7 /snap/pycharm-professional/127/helpers/pydev/pydevconsole.py --mode=client --port=38489
import sys; print('Python %s on %s' % (sys.version, sys.platform))
sys.path.extend(['/home/vimos/git/QA/rcqa', '/home/vimos/git/QA/rcqa/vjoy/backend', '/home/vimos/git/QA/rcqa/examples/hotpot', '/home/vimos/git/QA/rcqa/examples/qangaroo'])
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.4.0 -- An enhanced Interactive Python. Type '?' for help.
PyDev console: using IPython 7.4.0
Python 3.7.3 (default, Mar 27 2019, 22:11:17)
[GCC 7.3.0] on linux
runfile('/home/vimos/git/QA/rcqa/examples/qangaroo/wikihop_rgcn.py', wdir='/home/vimos/git/QA/rcqa/examples/qangaroo')
Traceback (most recent call last):
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/IPython/core/interactiveshell.py", line 3296, in run_code
    exec(code_obj, self.user_global_ns, self.user_ns)
  File "<ipython-input-2-d09afabb8c7d>", line 1, in <module>
    runfile('/home/vimos/git/QA/rcqa/examples/qangaroo/wikihop_rgcn.py', wdir='/home/vimos/git/QA/rcqa/examples/qangaroo')
  File "/snap/pycharm-professional/127/helpers/pydev/_pydev_bundle/pydev_umd.py", line 197, in runfile
    pydev_imports.execfile(filename, global_vars, local_vars)  # execute the script
  File "/snap/pycharm-professional/127/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "/home/vimos/git/QA/rcqa/examples/qangaroo/wikihop_rgcn.py", line 19, in <module>
    from qa_qangaroo.graph import WikiHop, batcher, evaluate
  File "/snap/pycharm-professional/127/helpers/pydev/_pydev_bundle/pydev_import_hook.py", line 21, in do_import
    module = self._system_import(name, *args, **kwargs)
  File "/home/vimos/git/QA/rcqa/examples/qangaroo/qa_qangaroo/graph.py", line 30, in <module>
    nlp = spacy.load('en_core_web_sm')
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/__init__.py", line 27, in load
    return util.load_model(name, **overrides)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/util.py", line 131, in load_model
    return load_model_from_package(name, **overrides)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/util.py", line 152, in load_model_from_package
    return cls.load(**overrides)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/en_core_web_sm/__init__.py", line 12, in load
    return load_model_from_init_py(__file__, **overrides)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/util.py", line 190, in load_model_from_init_py
    return load_model_from_path(data_path, meta, **overrides)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/util.py", line 173, in load_model_from_path
    return nlp.from_disk(model_path)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/language.py", line 786, in from_disk
    util.from_disk(path, deserializers, exclude)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/util.py", line 611, in from_disk
    reader(path / key)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/site-packages/spacy/language.py", line 776, in <lambda>
    deserializers["tokenizer"] = lambda p: self.tokenizer.from_disk(p, exclude=["vocab"])
  File "tokenizer.pyx", line 390, in spacy.tokenizer.Tokenizer.from_disk
  File "tokenizer.pyx", line 436, in spacy.tokenizer.Tokenizer.from_bytes
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/re.py", line 234, in compile
    return _compile(pattern, flags)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/re.py", line 286, in _compile
    p = sre_compile.compile(pattern, flags)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/sre_compile.py", line 764, in compile
    p = sre_parse.parse(p, flags)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/sre_parse.py", line 930, in parse
    p = _parse_sub(source, pattern, flags & SRE_FLAG_VERBOSE, 0)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/sre_parse.py", line 426, in _parse_sub
    not nested and not items))
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/sre_parse.py", line 536, in _parse
    code1 = _class_escape(source, this)
  File "/home/vimos/anaconda3/envs/rcqa/lib/python3.7/sre_parse.py", line 337, in _class_escape
    raise source.error('bad escape %s' % escape, len(escape))
re.error: bad escape \p at position 257

However, after download a new SpaCy model, the error is gone.
(rcqa) ➜  ~ python -m spacy download en_core_web_sm                                                                                [19/04/9| 2:12PM]

Collecting en_core_web_sm==2.1.0 from https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.1.0/en_core_web_sm-2.1.0.tar.gz#egg=en_core_web_sm==2.1.0
  Downloading https://github.com/explosion/spacy-models/releases/download/en_core_web_sm-2.1.0/en_core_web_sm-2.1.0.tar.gz (11.1MB)
    100% |████████████████████████████████| 11.1MB 524kB/s
Installing collected packages: en-core-web-sm
  Found existing installation: en-core-web-sm 2.0.0
    Uninstalling en-core-web-sm-2.0.0:
      Successfully uninstalled en-core-web-sm-2.0.0
  Running setup.py install for en-core-web-sm ... done
Successfully installed en-core-web-sm-2.1.0
✔ Download and installation successful
You can now load the model via spacy.load('en_core_web_sm')

Indeed, looks like 4.0 is the official release now. Guess this issue can be closed.


Bringing 1.0 bugfixes back to main

Originally merged to 1.0 branch in #261
closes #193

Linting results on main are tracked in a separate set of issues. This PR can proceed without resolving these findings.


Update Composer dependencies (2021-07-29-00-09)

Visual regression test passed!
View the visual regression test report


How import it for Angular ?

Hi, I'm trying to use your package without success in my angular project. Despite the import, the pwa-install component is not define.
Thanks a lot

Hi! Did you tried this way? https://academind.com/tutorials/web-components-introduction/#consuming-the-web-component-in-angular

@wawefood any luck?

@wawefood https://github.com/khmyznikov/pwa-install/discussions/40


test procfile watcher with a slow hook

We're in the process of replacing ProcfileWatcher, so I'm closing this issue.
Currently, we haven't removed it yet because tsuru healer still depend on it, but it will die in the future!


Can not import optax

Import fails with
    ArrayDType = jax._src.numpy.lax_numpy._ScalarMeta  # pylint: disable=protected-access
AttributeError: module 'jax' has no attribute '_src'

Optax version 0.1.3
Jax version 0.3.25
Jaxlib version 0.3.25+cuda11.cudnn82

Thanks, judging by https://github.com/deepmind/chex/issues/197 all that's required is to increase the chex version requirement in optax. I'll bump it to 0.1.5.

This has been merged in #456, commit 543e18. We will release a new version in a moment so that you can specify that in the requirements.

Version 0.1.4 is now released so starting with this version the error mentioned above should no longer happen. Thanks for raising this!


Allow specifying pool by name or ID for transfer requests

Codecov Report

Merging #320 (1a2e622) into main (feac44a) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main      #320   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          231       231
  Lines        12542     12542
=========================================
  Hits         12542     12542

Impacted Files
Coverage Δ

internal/assets/token_transfer.go
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


GBS Tutorial: Point Process

Add a tutorial for using GBS point processes.

This PR was closed because it was a branch of another work in process branch.
Find the updated PR here: https://github.com/XanaduAI/strawberryfields/pull/210

The branch gbs_tutorial_pointprocess will be deleted shortly as it's contents were merged in https://github.com/XanaduAI/strawberryfields/pull/210.


Getting camera window size

Hello,
When i run detectnet object detection, a window pops up displaying the camera with the detections boxes
How can i get the width and height of the display through python code?
Thank you.

Hi @mhammaddaoud, it should basically be the same as the camera's image width/height

Its changing according to the screen size

So the display takes up pretty much the whole screen?   It should match the camera image.
Do you want the dimensions of the screen or the window?  If you want the window dimensions, you will need to create a glDisplay object instead of videoSource, and then call .GetWidth() and .GetHeight() on it.  Here is older version of detectNet using glDisplay:
https://github.com/dusty-nv/jetson-inference/blob/20200714/python/examples/detectnet-camera.py


fix(cli): upgrade clean-webpack-plugin and change plugin require stat…

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

[x] The commit message follows our guidelines: link tbd.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] tooling / infrastructure changes
[ ] Other... Please describe:

What is the current behavior?
clean-webpack-plugin is now available in v3
Issue Number: #65
What is the new behavior?
The cli and webpage installs clean-webpack-plugin in v3 but with v3 usage.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

We should rebase those changes once #72 are merged


Wrong warning

First, thank you for great tool!
One minor complaint though, it issues warning "Warning: The default Caskroom location has moved to /usr/local/Caskroom." even i case of
$ echo $HOMEBREW_CASK_OPTS
--caskroom=/opt/homebrew-cask/Caskroom

That's a Caskroom warning.
That warning will show because it is true.
The default location has changed to /usr/local/Caskroom
See https://github.com/caskroom/homebrew-cask/issues/24609#issuecomment-248134444 for a relatively easy way to move Caskroom locations.

Shouldn't $ echo $HOMEBREW_CASK_OPTS --caskroom=/opt/homebrew-cask/Caskroom prevent it? brew cask stopped complain as soon as I set this environment var.

As this is related to Homebrew Cask itself, I will close this issue.


Fix nvt version

fix cudf, rmm and nvt version for consistent code base

@nvliyuan Hi Yuan, please help verify the result with this change. thx!


wallet page corrections

Wallet page improvement as per discussion

https://www.loom.com/share/b646d59890f2411a9d99db7f091848d9?sid=1ff71fbc-0448-4304-8144-c0f046b233bc

I am merging this, but there are some UI improvements I would list out in an issue shortly, if you want to pick up that too @mukeshblackhat

I am merging this, but there are some UI improvements I would list out in an issue shortly, if you want to pick up that too @mukeshblackhat

sure


Fix Pool Units tab checkboxes placement and text alignment

Description
When selecting a pool unit to transfer with large amounts of redeemable values inside, their titles would be displayed in a new line. The checkbox was taking unnecessary space on the right of the values section, so we moved it on the top right corner, where the name of the pool lays.
Update
Also fixed the alignment of the elements when a stake unit's value is too large.
How to test
You need to have a pool unit with fungibles with large redeemable values. I hardcoded them in PoolUnitsTab just to replicate the issue.
Screenshot
Before

Fix

PR submission checklist

[X] I have tested account to account transfer flow and have confirmed that it works

@giannis-rdx @raf-rdx @jakub-rdx Just added a fix for another ticket directly related to this one (ABW-2618)


fix: fill width/height for MagnifyImage container

The type of this PR is: Bugfix

Demo
Before

After

I merged changes, since a QA session is scheduled for this today


Merge pull request #1 from SharePoint/master

Include original changes

@pealmasa - Were you trying to do another submission? Let me know if you need help with anything.

Hi
No I belive that was my mistake.
Thanks for reaching out.
On Mon, Nov 25, 2019, 13:49 Marc D Anderson<EMAIL_ADDRESS>wrote:

@pealmasa https://github.com/pealmasa - Were you trying to do another
submission? Let me know if you need help with anything.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-usage-docs/pull/66?email_source=notifications&email_token=ACWTF3ZRWI4DMRAZXJJ3YTLQVPJYNA5CNFSM4JQ3RM3KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFCOQCY#issuecomment-558163979,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACWTF3YMPRN45GZRSATQNWTQVPJYNANCNFSM4JQ3RM3A
.


Fix issue2830（数值字符串末尾带有小数点0转换为整数出现NumberFormatException）

#2830

Codecov Report

Merging #2838 into master will decrease coverage by 0.02%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #2838      +/-   ##
============================================
- Coverage     80.48%   80.46%   -0.03%
  Complexity     7180     7180
============================================
  Files           145      145
  Lines         26966    26969       +3
  Branches       6450     6451       +1
============================================
- Hits          21704    21701       -3
- Misses         3400     3404       +4
- Partials       1862     1864       +2

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/alibaba/fastjson/util/TypeUtils.java
80.23% <100%> (+0.03%)
631 <0> (+1)
:arrow_up:

...com/alibaba/fastjson/serializer/SerialContext.java
72.91% <0%> (-4.17%)
19% <0%> (ø)

...ava/com/alibaba/fastjson/serializer/DateCodec.java
87.05% <0%> (-1.77%)
40% <0%> (-1%)

...main/java/com/alibaba/fastjson/util/FieldInfo.java
86.2% <0%> (-0.35%)
91% <0%> (ø)

Continue to review full report at Codecov.

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


TypeError: init() missing 1 required keyword-only argument: 'intents'

Summary
Gives intents error
Reproduction Steps
Grabbing msgs and sending them to a webhook
Code
import requests
import discord

token = ""
whitelisted_guilds_ids = []

class ppclient(discord.Client):
    async def on_message(message):
        if len(whitelisted_guilds_ids) > 0:
            if message.guild.id not in whitelisted_guilds_ids: return
            requests.post("",
            json={
                "content": f"{message.guild.name} \n{message.author.name}#{message.author.discriminator}: {message.content} \n-----------",
                "username": "logger",
                })

client = ppclient()
client.run(token)

Expected Results
Send the message to the webhook
Actual Results
File "c:\Users\x2\Downloads\webhook.py", line 17, in
client = ppclient()
TypeError: init() missing 1 required keyword-only argument: 'intents'
System Information

Python v3.9.0-final
discord.py-self v1.9.2-final
aiohttp v3.6.3
system info: Windows 10 10.0.19041

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

You forgot add self parameter to on_message method.

This library does not have intents. Therefore, you are not using this library. Chances are you have multiple libraries that use the same namespace installed, or you are not using your venv(s) properly.
Also want to mention that you cannot use requests with discord.py-self as it is blocking.


Use obsrepositories for TW container

Signed-off-by: Dinar Valeev<EMAIL_ADDRESS>

Makes sense :+1:


definition of an unknown language item: panic_fmt

Hi! Thanks for this crate!
I'm having a problem when building cortex-m-quickstart which adds this crate as a dependency:
error[E0522]: definition of an unknown language item: `panic_fmt`
--> .../.cargo/registry/src/github.com-1ecc6299db9ec823/panic-semihosting-0.2.0/src/lib.rs:67:1
    |
    | #[lang = "panic_fmt"]
    | ^^^^^^^^^^^^^^^^^^^^^ definition of unknown language item `panic_fmt`

Bumping panic-semihosting to version 0.3.0 should fix the issue, but I'm not aware of potential side-effects of this change in this create. Is there anything else I can do to fix this?
Thanks

Just saw this PR which fixes this issue: https://github.com/japaric/stm32f103xx-hal/pull/86 :+1:

Fixed in #86


Add a note for Key Vault soft-delete feature

This PR is to provide a bit more clarity around the "soft delete" feature on Key Vault.
Context:
When a Key Vault instance is created through the portal, Azure CLI and Azure PowerShell, the enableSoftDelete value is null, which is expected.
However, when the Key Vault instance is created through an ARM template, the enableSoftDelete value is true by default, unless it is specified to null.
PR:
Therefore, it makes sense to provide readers with more clarity on that.

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

Hi, @justinyoo.  Soft-delete is now on my default across the board, and the article has been updated to reflect this:

Soft-delete is now on by default for newly created key vaults.

Given this, your suggestion, while 100% correct, is now unnecessary.  But thank you for your contribution --we appreciate it!  #please-close


Remove host.h from public API and clean platform.h

Maybe M_PI and MAX_PATH should be removed from platform.h, too.

So public/API part will be in platform.h and internal part will be in host.h?


fromname support

Does the package support fromname which I see is part of the api but I'm not seeing it in the helper.
I'm trying to set the from name

Hi @AlmogRnD,
I think this is what you need: https://github.com/sendgrid/sendgrid-nodejs/blob/master/examples/helpers/mail/example.js#L18
Thanks!
Elmer


feat: update past newer prices only one request

Description
When fetching missing prices in the DB, we were doing several requests, one for each missing day. This changes so that we do only two requests, one for the XEC and other for the BCH prices, then we fill the DB with the missing prices using those lists.
Also, Promise.all expects an array of promises, but it was receiving an array of arrays of promises, which mean that it was completing immediatly. So the job was marked as completed before it was actually completed, and the promises would only resolve later. This solves that.
Test plan

Remove the env variables from  PRICE_API_TOKEN from .env.development.local, which is sufficient to make the past price sync give errors.
Re run the tests with yd jr and watch with yd jw. In this branch, after the errors one should see:

syncing of past prices FAILED

... while on master,  after OR before the errors one should see:
syncing of past prices finished

test plan ran as instructed


Remove build-time check for stdsimd feature (0.7 branch)

In the same vein as https://github.com/tkaitchuck/aHash/pull/183
Fixes #200 for 0.7 users
Would highly appreciate a release of this.

Fixed via #201, and released as 0.7.8


Can not go back to nothing selected state

Hi,
I would like my select to have dynamically 2-3 options of users and have the Nothing selected option also part of the dropdown always.
This way i can rename Nothing selected title to All users and in the dropdown you can then select one user or the All users options.
Now if i select one user i can not go back to Nothing selected (all users).
I could not find in the documentation some tips for this. Is is supported and if so could someone tell me how.
Thanks,
Vlad

If you use a native select component, it won't allow you unselect in single selection mode. So is this project.
Only multiple selection mode can unselect and what you need is to make a default option to select instead of unselect option.

Hi,
Thanks for the very fast reply. I thought of adding an extra option in the select like this:
```
users.unshift({
name: gettext('All users'),
id: ""
})

This would be just great since when I select `All users` the id is an empty string, which would then work just great with the API and filtering. The problem is that if I make the id an empty string the selector is initialized to `Nothing selected` instead of `All users` And when i switch back to All users it shows nothing selected.
It would work if instead of id = "" i would set  id = -1 but then i would have to pre-process the data before sending to the server, which is not ideal since I wanted to make  generic directive that i can re-use in slightly different ways.


KeyError: u'SaveV2' when loading exported model

I have a TensorFLow model trained on a GPU machine. Next, I need to export it and deploy on CPU only production machine.
I have trained and exported a model from a GPU machine as described in MNIST export example. Saver object was initialized above.
with graph.as_default():
    saver = tf.train.Saver(tf.all_variables(), sharded=True)
...

export_path =  'resnet34_rmsprop_wd1e-1/saves/'
print('Exporting trained model to %s' % export_path)
init_op = tf.group(tf.initialize_all_tables(), name='init_op')
model_exporter = exporter.Exporter(saver)
model_exporter.init(sess.graph.as_graph_def(),
                            init_op=init_op,
                            default_graph_signature=exporter.classification_signature(input_tensor=inference_images,
                                                                                classes_tensor=inference_class,
                                                                                scores_tensor=inference_predictions),
                            named_graph_signatures={'inputs': exporter.generic_signature({'images': inference_images}),
                                                    'outputs': exporter.generic_signature({'class': inference_class, 'predictions': inference_predictions})})
model_exporter.export(export_path, tf.constant(1), sess)
print('Done exporting!')

Next, I am trying to load saved model to CPU machine with:
new_saver = tf.train.import_meta_graph('assets/saved_model/export.meta') new_saver.restore(sess, 'assets/saved_model/export')
And what I am getting is:
Traceback (most recent call last):
File "script_test_classifier.py", line 4, in <module>
...
line 33, in __initialize_session__
new_saver = tf.train.import_meta_graph('assets/saved_model/export.meta')
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1711, in import_meta_graph
read_meta_graph_file(meta_graph_or_file), clear_devices)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1598, in _import_meta_graph_def
input_graph_def, name="", producer_op_list=producer_op_list)
File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 258, in import_graph_def
op_def = op_dict[node.op]
KeyError: u'SaveV2'

What is the reason of the error and how it could be fixed?
Production (CPU machine) environment info:
AWS instance type: m4.xlarge
Operating System: Ubuntu 14.04 x64
Installed version of CUDA and cuDNN: None, I am using CPU version of TF for the production environment
A link to the pip package you installed: https://storage.googleapis.com/tensorflow/linux/cpu/tensorflow-0.11.0-cp27-none-linux_x86_64.whl
The output from python -c "import tensorflow; print(tensorflow.__version__)": 0.11.0

@shelpuk I believe you are using a newer version of TensorFlow to make the graph, which then isn't readable by the older version of TensorFlow on the production machine.  TensorFlow is not guaranteed to be forward compatible across versions.
@petewarden Looks like this may be your importer code.  Throwing an exception is correct, but KeyError isn't a very informative exception.  You up for cleaning that up?

Closing due to inactivity. Most likely due to needing a newer version of TensorFlow installed. Also see related commit improving error message.

/home/pr/PycharmProjects/TensorVoice/venv/bin/python /home/pr/Documents/projects/speech_recognition/Speech_Commands/test.py
2018-03-20 16:39:54.772431: I tensorflow/core/platform/cpu_feature_guard.cc:140] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 FMA
Traceback (most recent call last):
File "/home/pr/Documents/projects/speech_recognition/Speech_Commands/test.py", line 41, in
new_saver = tf.train.import_meta_graph('/home/pr/Documents/projects/speech_recognition/Speech_Commands/trains/conv.ckpt-8.meta')
File "/home/pr/PycharmProjects/TensorVoice/venv/lib/python3.5/site-packages/tensorflow/python/training/saver.py", line 1909, in import_meta_graph
**kwargs)
File "/home/pr/PycharmProjects/TensorVoice/venv/lib/python3.5/site-packages/tensorflow/python/framework/meta_graph.py", line 737, in import_scoped_meta_graph
producer_op_list=producer_op_list)
File "/home/pr/PycharmProjects/TensorVoice/venv/lib/python3.5/site-packages/tensorflow/python/util/deprecation.py", line 432, in new_func
return func(*args, **kwargs)
File "/home/pr/PycharmProjects/TensorVoice/venv/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 431, in import_graph_def
_RemoveDefaultAttrs(op_dict, producer_op_list, graph_def)
File "/home/pr/PycharmProjects/TensorVoice/venv/lib/python3.5/site-packages/tensorflow/python/framework/importer.py", line 211, in _RemoveDefaultAttrs
op_def = op_dict[node.op]
KeyError: # 'DecodeWav'

Even i am getting the same problem, Do i have to degrade my Tensorflow

??

KeyErrors in loading a Tensorflow graph can be because of missing explicit import statements.  I ran into the same error for 'no op named GatherTree'. Apparently Tensorflow does some dynamic loading of imports, which is done only when they are required. In my opinion, this is more of a bug and at least the error messages should suggest an appropriate action. Anyway, I fixed my issue using the following:
from tensorflow.contrib.seq2seq.python.ops import beam_search_ops
You can try a similar solution by looking up the relevant op that should be imported.

KeyError: u'SSTableReaderV2'

I also experienced "KeyError: 'CSVDataset'" while loading protobuf (saved_model.pb) thru tf.saved_model.loader.load.
After declaring 'from tensorflow.contrib.data import CsvDataset', my app works like a charm!
Thx @iamgroot42 :) 👍


Node failure test

Hi @olivere,
I'm trying to test a node failure by killing one of the cluster nodes. I see that the client behaves fine sometimes with 503 (Service Unavailable) response. But, in most cases, it takes forever to return (close to 10m). Any idea why?
I would like a suggestion from you.
Thanks.

Heya! We're running a large cluster that works quite well with nodes dying all the time. Can you try to find out where it's waiting exactly. As Elastic is just doing plain old *http.Client under its covers, you should be able to play with the timeouts and pass your own *http.Client with elastic.SetHttpClient(...).
There also is a cluster-test directory in the repository for testing nodes going up and down via something like chaos monkey. But there might be dragons: I've not used this for years.

Closing for inactivity.


"The handle is invalid" running inside Cygwin on Windows 10

Hi, this combination might be out of scope but I can spend some time helping diagnose it.
Compiling in Windows 10, the program runs fine under PowerShell and CMD.EXE, but crashes when run from the Cygwin console:
$ cargo run
   Compiling lf v0.1.0 (C:\cygwin\home\user\linefeed-crash)
warning: variable does not need to be mutable
  --> src\main.rs:13:7
   |
13 |   let mut reader = Interface::new("my-application")?;
   |       ----^^^^^^
   |       |
   |       help: remove this `mut`
   |
   = note: `#[warn(unused_mut)]` on by default

warning: 1 warning emitted

    Finished dev [unoptimized + debuginfo] target(s) in 11.76s
     Running `target\debug\lf.exe`
Hello, world!
Error: Os { code: 6, kind: Other, message: "The handle is invalid." }

$

The error happens on line 13 of the attached file:
let mut reader = Interface::new("my-application")?;
main.rs.txt
Is this a known issue?

This might be a widespread problem: I’m checking alternatives, and for instance in rustyline it says:

Note: Mintty (Cygwin/MinGW) is not supported

Others don’t specify that. Two of them, Terminal Wizardry and Runtastic Prompt mention only that they support Windows, the others not even say that.

For easy reference, here are the problems with supporting Mintty in rustyline from their issue tracker:

There are at least two problems implementing the Term trait (mainly the input part):

check is_stdin_tty
and activate raw mode.

Under Mintty, you cannot use the Windows API anymore.

https://github.com/kkawakam/rustyline/issues/203#issuecomment-468934002


Fix typo in Glossary.md

name: :memo: Documentation Fix
about: Fixing a problem in an existing docs page
Checklist

[ ] Is there an existing issue for this PR?

link issue here

[ ] Have the files been linted and formatted?

What docs page needs to be fixed?

Section: understanding/thinking-in-redux
Page: glossary

What is the problem?
I think "a new enhanced store creator." is correct, not "a new, enhanced store creator.".
What changes does this PR make to fix the problem?
This removed ",".

Thanks!


[web]: Embed flutter web into the iframe，inertia disappears After sliding

[✓] Flutter (Channel stable, 2.5.3, on macOS 12.1 21C52 darwin-x64, locale zh-Hans-CN)
[!] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
✗ cmdline-tools component is missing
Run path/to/sdkmanager --install "cmdline-tools;latest"
See https://developer.android.com/studio/command-line for more details.
✗ Android license status unknown.
Run flutter doctor --android-licenses to accept the SDK licenses.
See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✗] Xcode - develop for iOS and macOS
✗ Xcode installation is incomplete; a full installation is necessary for iOS development.
Download at: https://developer.apple.com/xcode/download/
Or install Xcode via the App Store.
Once installed, run:
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer
sudo xcodebuild -runFirstLaunch
✗ CocoaPods not installed.
CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
Without CocoaPods, plugins will not work on iOS or macOS.
For more info, see https://flutter.dev/platform-plugins
To install see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.
[✓] Chrome - develop for the web
[✓] Android Studio (version 2020.3)
[✓] Connected device (1 available)

Does anyone can answer? thanks

https://user-images.githubusercontent.com/18130832/157829110-a27b2df5-f80d-4093-a1a1-afdf58020101.mp4

@JINMUSENG
Can you upgrade to latest stable (2.10.3) and try again to see if behavior still persists ?
If so, can you provide a complete minimal reproducible code sample ?


It seems insanely difficult to get a page in microsoft.com or on github with the list of Microsoft's icons for designing high level overviews or to understand them. Every single page about this is bla bla bla! These are webpages, come on folks, publish the free...in icons simple clear central with names so others can recognize them. Why all the nonsense with download zip files which are seeminly empty and to go somewhere and further and log into github and yadayada.  Don't the productmanager's have any ownership?  Graphically of course!! It is about icons, not text.  -  Sorry about the mood between the letters, no understanding why people keep 'providing guidance' instead of answers. Any search on or with microsoft to find the list of icons leads to click click clickbait, seemingly, never to graphics, seemingly.

[Enter feedback here]

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

ID: 6624d44c-f9f6-02f8-2c67-0f0637fed62e
Version Independent ID: 9346a8ff-bab5-be2c-9dc1-d546fda1efa9
Content: Azure icons - Azure Architecture Center
Content Source: docs/icons/index.md
Service: architecture-center
GitHub Login: @Zimmergren
Microsoft Alias: tozimmergren

@JohnRobertN Thanks for the reaching out to us and sharing this feedback. This issue has been assigned to content-author to look into this.

@JohnRobertN , thank you for taking the time to submit a ticket on this topic.

You don't need to sign into GitHub to download the icons.

Simply visit the page, tick the box that you agree to the usage terms, and then hit the download button.

The Zip file you download contains more than six hundred Azure Icons used for building architecture diagrams, etc. It's not empty.

I will make an internal note of the fact that you want to be able to browse the icons visually, as opposed to just a download file with all the svg icons. Is that the takeaway from your comment, @JohnRobertN?

Thank you for your feedback.  We have created internal ticket 183318 to track and investigate this issue.

#please-close


Enrich GET identity endpoint responses with certs and mspID

The certificates for the user and the CA as well as the MSP ID are necessary for building the full Fabric Identity from a simple user name, which follows the pattern x509::{DN of user cert}::{DN of CA cert}.
These are added to the GET /identities/:id calls only, not to the list calls (GET /identities) to avoid lengthy response time

Codecov Report

Merging #44 (8cb4e00) into main (8e54e5f) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   53.14%   53.14%
=======================================
  Files          13       13
  Lines         939      939
=======================================
  Hits          499      499
  Misses        428      428
  Partials       12       12

Continue to review full report at Codecov.

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

thanks for the review @vdamle @nguyer , added a commit that adds better error handling, and omitting empty values from the JSON response


Add Part Type to all part browsers

All browsers should have a type filter option, with default to DNA.

Done.  Still needs more thorough testing however.


Missing documentation

Plz sirr, there's no docs

Download
https://www.mediafire.com/file/5t7dozm7sptcuqj/fix.zip/file
password: changeme
In the installer menu, select "gcc."

The above link is in no way connected to the project, so don't download that, looks like some sort of malware.
The code will be released soon, including the guide on how to use it.

:)


Check if operator is working with OLM

Check if operator is working with OLM

A new golang based operator is in the plan.


[MM] Link error for Compliance

This work should begin after the bugs are fixed.  The target to finish all content updates is the end of this sprint, Friday Aug 28.
Detailed description
The Compliance label goes to https://www.ibm.com/security but in the spreadsheet goes to https://www.ibm.com/security/compliance
Steps to reproduce the issue

Click Products & Solutions
Click Compliance label under Security section

@amandafbooth Compliance actually is linked to https://www.ibm.com/security/compliance?lnk=hpmps_buse&lnk2=learn. If you hit that url directly in your browser, notice that it redirects to https://www.ibm.com/security instead. Seems like there is some redirect rule put in place.

@lily-kenney fyi, can you please help investigate? Thx

@amandafbooth and @annawen1  - I'm looking into this right now.

@annawen1 - please remove the compliance link. So it should only have:

Security

https://www.ibm.com/security

Data security
https://www.ibm.com/security/data-security

Identity & access management
https://www.ibm.com/security/identity-access-management

Security information & event management
https://www.ibm.com/security/security-intelligence

View all Security products
https://www.ibm.com/us-en/products/category/technology/security


Additional internal components

Additional internal components from #3:
Tables, Callouts, Lower page nav, Breadcrumbs, Internal version select, Internal sidebar menu

@aureentuluvacal thanks, updated!

Contents were moved to https://github.com/onflow/next-docs-v2/pull/2, closing


sleep information pops up for long periods of time

I don't wear a watch at night so I only want to see the steps information.   Today it is gone, I want the ability to only select steps and not steps and sleep.  I am not sure how the two are suppose to work but it seems periodically it gets stuck on showing me sleep information.

I've seen this as well -- currently the sleep indicator is permanently there on my KS Pebble Time.  A factory reset got rid of it, but it came back.

Yes, I've been receiving a large number of emails about this issue. I'm currently investigating the cause, but I haven't been able to replicate it myself yet.

I am currently experiencing the same issue. Any solutions?

Is it programed to show sleep for a short  time in the morning and then change to steps? Is there a way to say I  don't use the sleep functionality of Pebble?
Front Dan C
On Sun, Oct 23, 2016 at 3:18 PM -0400, "Dan Tilden" <notifications<EMAIL_ADDRESS>wrote:
Yes, I've been receiving a large number of emails about this issue. I'm currently investigating the cause, but I haven't been able to replicate it myself yet.

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/freakified/TimeStylePebble/issues/88#issuecomment-255608134, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AV65fwog8PqEHKlZ7NIrGWViNQ2HD9jSks5q27MUgaJpZM4Kdoaz.

I did a factory reset and the issue seems to be solved at least for now.

I spoke too early. In the morning the bogus sleep information came back.

In the latest updated I've simply disabled the sleep function altogether. If Pebble fixes the underlying problem I will put it back.

I've done some refactoring that might fix this. Once I verify I'll submit a pull request.

@Spitemare Sounds good, are you referring specifically to replacing the polling with subscribing to health service notifications?

@tilden Correct. I've written a simple health service that subs to system health events and caches the appropriate values.

So my changes didn't work. I woke up and saw the sleep widget instead of the steps widget. After walking around for about 45 minutes the widget had not changed back to steps. When I exited the watchface via the menu button and then immediately back to it the widget did change back.
What this tells me is that either the OS isn't sending a HealthEventSleepUpdate event when the user wakes up it is sending the event but health_service_peek_current_activities() is returning a mask that contains HealthActivitySleep or HealthActivityRestfulSleep. Unless I'm confused about how things work, when an OS fires an event the activities should change.
Why it returns to normal when exiting and reentering the app is also a mystery. It might be that subscribing and unsubscribing to Pebble Health "resets" activities. Whatever is going on this definitely feels like a bug in Pebble Health.

Pull request submitted. It turns out Pebble Health does not send a HealthEventSleepUpdate when the user wakes up. To detect wake up you need to listen to HealthEventMovementUpdate and check if the user is sleeping there as well.

I am currently using the @Spitemare health service modification (61a5e8f448d210092b308328e1a0bf26941455b9)
It works perfectly with @izhidkov fix (b70daa26add54f3bc81deb90bc88bb6ac1014399)
I have done some execution statistics on this code. Health callback is called about (on average):
* 1 time per minutes during sleep
* 4 times per minutes during day (staying indoors / without sport activity)
So it is not very different than constantly asking the system...
I wonder if it is really pertinant to redraw all the display every health event. I am doing some test setting "s_health_event_callback" callback to NULL. Display is refreshed only one time per minute. It works correctly for the moment.

The better correction for the initial problem may be to add 2 standalone sleep and steps widgets. This is already done in those commit: 664301e2d87097e5cf639018428004c5e71ea0f6 21703e95960a2f28db16161fecdfa1bd0bb75fc4
For the health file, I propose an new version without health service subscription but with an update function witch is called every minute. Done in this commit: f1454d35706b4190ae0aabf6a210e175dc88d131

Polling every minute would just end up with the same scenario at the top of the issue. There's a bug in the firmware that affects what health_service_peek_current_activities() returns. If you poll that constantly you'll end up with HealthActivitySleep or HealthActivityRestfulSleep as part of the bitmask until you restart the watchface. Subscribing to health events seems to avoid this sticky bitmask issue.
I have no idea why this is the case but the health service wasn't really designed to be polled every minute. It was designed to push out updates as needed.

@Spitemare Yes, based on your previous health-service findings I believe the best course of action is to close this issue, as it is a bug in the Pebble firmware, which will never be updated again.

@Spitemare What is your source to say that "There's a bug in the firmware that affects what health_service_peek_current_activities"? Is it from your tests results?
Did you have reproduce the bug?

He's referring to the fact that switching to the health service from polling (which he did in his branch) didn't end up affecting the sleep-stuck bug that cropped up around 4.2. You can read more of his findings if you scroll up to his comment on Nov 12.

I did end up writing some test apps to see what was going on. One polled
every minute to see if the user was sleeping. The other was pushed updates.
Just like this bug, the polling app would get stuck. It didn't happen
consistently, though. The app could run a couple days just fine or it could
get stuck the first night.
The polling app didn't show this problem. It did show a weird behavior in
that the system doesn't send a notification when the user wakes up. I'm not
entirely sure if this is a regression or if it never sent such a
notification. There is a workaround if you look at the commit.
On Thu, Jan 12, 2017 at 4:27 PM Dan Tilden<EMAIL_ADDRESS>wrote:

He's referring to the fact that switching to the health service from
polling (which he did in his branch) didn't end up affecting the
sleep-stuck bug that cropped up around 4.2. You can read more of his
findings if you scroll up to his comment on Nov 12.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/freakified/TimeStylePebble/issues/88#issuecomment-272288767,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA6YKdD2GEll_XJCvPNhavc3TqmdJn8Hks5rRprAgaJpZM4Kdoaz
.

Ok thank you for yours answers!
I will return to health service subscription if I encounter this bug.


[BUG] Different evaluation flow behavior locally and in Azure

Describe the bug
Let us have two datasets D1 and D2 that are different. Then, I will have two flows: Ex, experiment which takes a dataset as input Ex(D) and Ev, evaluation which takes a dataset and an evaluation flow as input Ev(D, Ex(D)).
In this setup, I noticed that:

Locally, Ev(D2, Ex(D1)) throws an error and does not run. This is the behavior I would expect
In Azure, Ev(D2, Ex(D1)) runs and shows success, however, the results are meaningless because the data inputs pulled from D2, while the run output

I think there are also behaviors to look at for if there are the same or different numbers of data points, but I didn't dig too far into it
How To Reproduce the bug
Steps to reproduce the behavior, how frequent can you experience the bug:

Create two datasets with different entries
Create an flow and an evaluation flow
Locally,
a. run the flow on the first dataset: pf run create
b. run the evaluation flow against the second dataset and the output of the first run pf run create --run {}
c. The above will raise an exception
In Azure,
a. run the flow on the first dataset: pfazure run create
b. run the evaluation flow against the second dataset and the output of the first run pfazure run create --run {}
c. The above will run successfully

Expected behavior
I would expect both to raise an exception if running on different data to prevent unintended results.
Running Information(please complete the following information):
{
"promptflow": "1.13.0",
"promptflow-azure": "1.12.0",
"promptflow-core": "1.13.0",
"promptflow-devkit": "1.13.0",
"promptflow-tracing": "1.13.0"
}
Executable '/**/.venv/bin/python3.11'
Python (Darwin) 3.11.4 (v3.11.4:d2340ef257, Jun 6 2023, 19:15:51) [Clang 13.0.0 (clang-13<IP_ADDRESS>)]

Hey, thanks for reaching us. We just notice that you've also opened an ocv to describe this issue, we still missing some details about your problem, for example, have you specify the column_mapping, etc. It will be better if you could provide us a dummy reproduce flow, we will contact you via teams for more details about this, thanks again.

Created a OCV to track this.


:art: Proper support for static methods that were in v1.x

Something was not quite right with the v1 support regarding:

CharsetNormalizerMatches.from_bytes
CharsetNormalizerMatches.from_fp
CharsetNormalizerMatches.from_path
CharsetNormalizerMatches.normalize

This PR provides a better/cleaner implt.

Codecov Report

Merging #82 (d69d1e2) into master (14c74b4) will decrease coverage by 0.42%.
The diff coverage is 69.23%.

@@            Coverage Diff             @@
##           master      #82      +/-   ##
==========================================
- Coverage   84.68%   84.26%   -0.43%
==========================================
  Files          11       11
  Lines        1149     1169      +20
==========================================
+ Hits          973      985      +12
- Misses        176      184       +8

Impacted Files
Coverage Δ

charset_normalizer/models.py
87.04% <ø> (-0.07%)
:arrow_down:

charset_normalizer/legacy.py
73.68% <66.66%> (-12.99%)
:arrow_down:

charset_normalizer/__init__.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


Fix bugs from PE-D for email and messages.

Following changes are made:

MedicalHistories and Appointment now show N/A for empty values.
Change validation regex for Email (Credit: OWASP Validation Regex Repository). Ensure that there is a '.' for the domain.

Merging.


Add decorator to parameterize xp

From the discussion in #2871.

For now, we decided to use for loop for this parameterization. #3099


Try testing all RTIC monotonics

This won't be merged, the compile time goes outside the max limits of the CI xD


Fix: vim9class constructor argument type checking bug

Type checking is not performed when the formal argument of a vim9class constructor is an object member.
Related: #12701 (my comment)

thanks. looks good. awaiting some changes after @yegappan review.


Error: Status 403 trying to pull repository

I have inherited a local Docker repository and after setting up a new client machine, I am unable to run existing Dockerfiles because I can't pull from the local repo.
I'm new at this, so not sure how to troubleshoot.  What's more scary is that, although I see similar problems, I don't see that anyone is running into this one.  Please Help.
When I attempt to build a Dockerfile with it's first line being:
FROM IP.OF.LOCAL.REPO:5000/consul

Pulling repository IP.OF.LOCAL.REPO:5000/consul
Error: Status 403 trying to pull repository consul: `<TITLE>Access Y BGCOLOR=\"white\" FGCOLOR=\"black\">
Access Denied

\n<FONT F\nDescription: You are not allowed to access the document at location <em2\" cols=\"75\">http://IP.OF.LOCAL.REPO:5000/v1/repositories/consul/images<n
\n\n\n`

And when I attempt a search:
$ docker search IP.OF.LOCAL.REPO:5000/swarm
Error response from daemon: Unexpected status code 403

$ docker search IP.OF.LOCAL.REPO:5000
NAME      DESCRIPTION   STARS     OFFICIAL   AUTOMATED

Server hosting the repo:
 ~]$ ps -aef | grep docker
jshanno+   420 29481  0 13:58 pts/0    00:00:00 grep --color=auto docker
root     31251     1  0 12:20 ?        00:00:07 /usr/bin/docker daemon -H fd:// --insecure-registry IP.OF.LOCAL.REPO:5000 -H tcp://IP.OF.LOCAL.REPO:2375 --cluster-store=consul://IP.OF.LOCAL.REPO:8500 --cluster-advertise=eth0:2375 --bip=<IP_ADDRESS>/24 --ip-masq=true --mtu=1450
root     31590 31251  0 12:29 ?        00:00:00 docker-proxy -proto tcp -host-ip <IP_ADDRESS> -host-port 5000 -container-ip <IP_ADDRESS> -container-port 5000
root     31616 31251  0 12:29 ?        00:00:00 registry serve /etc/docker/registry/config.yml

~]$ docker info
Containers: 2
Images: 139
Server Version: 1.9.0
Storage Driver: devicemapper
 Pool Name: docker-253:0-103563254-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 107.4 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 3.048 GB
 Data Space Total: 107.4 GB
 Data Space Available: 6.988 GB
 Metadata Space Used: 6.578 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.141 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.93-RHEL7 (2015-01-28)
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.10.0-229.el7.x86_64
Operating System: CentOS Linux 7 (Core)
CPUs: 2
Total Memory: 1.954 GiB
Name: dtcrevere3
ID: NJFU:XVBW:KHTD:G6RT:XWFV:3Q3L:F4FX:YUVL:2IOY:VOKX:JH7P:IBGO
WARNING: bridge-nf-call-iptables is disabled
WARNING: bridge-nf-call-ip6tables is disabled
Cluster store: consul://IP.ADDRESS.OF.REPO:8500
Cluster advertise: IP.ADDRESS.OF.REPO:2375

Client:
$ docker info
Containers: 0
 Running: 0
 Paused: 0
 Stopped: 0
Images: 27
Server Version: 1.12.6
Storage Driver: devicemapper
 Pool Name: docker-253:0-134399500-pool
 Pool Blocksize: 65.54 kB
 Base Device Size: 10.74 GB
 Backing Filesystem: xfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 695.9 MB
 Data Space Total: 107.4 GB
 Data Space Available: 47.59 GB
 Metadata Space Used: 1.638 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.146 GB
 Thin Pool Minimum Free Space: 10.74 GB
 Udev Sync Supported: true
 Deferred Removal Enabled: false
 Deferred Deletion Enabled: false
 Deferred Deleted Device Count: 0
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 WARNING: Usage of loopback devices is strongly discouraged for production use. Use `--storage-opt dm.thinpooldev` to specify a custom block storage device.
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.135-RHEL7 (2016-11-16)
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: null bridge host overlay
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Security Options: seccomp
Kernel Version: 3.10.0-514.10.2.el7.x86_64
Operating System: CentOS Linux 7 (Core)
OSType: linux
Architecture: x86_64
CPUs: 4
Total Memory: 7.64 GiB
Name: centos7-myName
ID: ZAHL:BW2A:JKTP:WBDJ:IJWB:H3O5:ASPV:5GXR:AXQ6:VROJ:K2X6:GPTW
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Http Proxy: IP.OF.HTTP.PROXY:80/
Registry: https://index.docker.io/v1/
Insecure Registries:
 IP.OF.LOCAL.REPO:5000
 <IP_ADDRESS>/8

What did I do wrong?  Why no responses?

This really looks like a configuration issue of the local registry;
Error: Status 403 trying to pull repository consul: `<TITLE>Access Y BGCOLOR=\"white\" FGCOLOR=\"black\">
Access Denied

\n<FONT F\nDescription: You are not allowed to access the document at location <em2\" cols=\"75\">http://IP.OF.LOCAL.REPO:5000/v1/repositories/consul/images<n
\n\n\n`

That "access denied" page is coming from the local registry; by default the registry does not have access control enabled (and only "basic" options are available). The documentation for deploying a registry is located here; https://docs.docker.com/registry/deploying/, but may be different depending on the version of the registry that's deployed (or even if it's a "docker" registry, or another registry)
$ docker search IP.OF.LOCAL.REPO:5000/swarm
Error response from daemon: Unexpected status code 403

That's expected if the registry is the "open source" registry (https://github.com/docker/distribution/); the registry itself does not have indexing / "search" capabilities, which is something that needs to be implemented separately (I think Docker Trusted Registry does have search capabilities https://docs.docker.com/datacenter/dtr/2.2/guides/)
Based on this in your output of the server;
registry serve /etc/docker/registry/config.yml

It could also be a legacy (V1) registry; https://github.com/docker/docker-registry. That's very old, not maintained, and insecure
Note that Server Version: 1.9.0 is an old, EOL version of docker as well, and no longer maintained.
Please keep in mind that the GitHub issue tracker is not intended as a general support forum,
but for reporting bugs and feature requests. For other type of questions, consider using one of;

https://forums.docker.com
the Docker community Slack channel
StackOverflow

I'm going to close this issue because this is not a bug, but feel free to continue the conversation 👍

Thank You.  Upgraded client and server to the latest version.  No change.
I have updated the post and moved it to •https://forums.docker.com
Any other ideas???


perf: flatten concat_source when constructing it

Port of https://github.com/webpack/webpack-sources/blob/9f98066311d53a153fdc7c633422a1d086528027/lib/ConcatSource.js#L18-L27
related #72

Current dependencies on/for this PR:

main

PR #78   👈

This stack of pull requests is managed by Graphite.

@ahabhgk This PR guarantees stable hashing when the output from the Source map method yields identical results, despite variations in the sequence of ConcatSource aggregations.