Review dependencies on interpolations package

The interpolations package tries to maintain bleeding edge integration with numba and currently supports numba>=0.49. This causes issues with the lecture series dependence on anaconda releases as numba trails in anaconda.
We should see if we can add jitted interpolation functions to QuantEcon.py to replace dependence on interpolations

I've got no objection here, but if it's a problem it's easy to add backward compatibility to interpolation.py. The breaking change just comes from numba moving the location of it's core types.

hey @albop -- if you're willing to add in support for numba that is contained in the latest anaconda distribution that would be great. 👍  -- Currently that is numba=0.48.

Yes, it's no big deal. I've spent a lot of time recently doing conda
packaged like you taught me. Will check back on a few hours
On Mon, May 11, 2020, 9:49 AM mmcky<EMAIL_ADDRESS>wrote:

hey @albop https://github.com/albop -- if you're willing to add in
support for numba that is contained in the latest anaconda distribution
that would be great. 👍 -- Currently that is numba=0.48.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QuantEcon/lecture-python/issues/198#issuecomment-626534032,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACDSKJUNRXJR7EY25XALG3RQ6U2NANCNFSM4M3ZDOPQ
.


Upgrade to Vue CLI 4

For upgrade details, see the Vue CLI docs.
The commit in this PR passes Travis CI tests on my fork.

Great, thank you! :cake: :rocket:


Position of stock filter in layered navigation block

How can change position of stock filter in layered navigation block?

yes works perfect it's just stuck at the bottom

@livilajed @666triv You cannot reposition it. It was not in the scope of this extension.


Prevent multiple large batches for a transaction

Each transaction should be atomic.

https://ocd.appscale.com:8080/job/Daily Build/2817/


Next

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Put all internal links into CMS posts

Most (if not all) content links in the body content to other pages on cannabis.ca.gov. These links did not exist when the content was created and could not be integrated into the body content added to Airtable.
Once content has been loaded into the CMS, review all pages and compare them to the final versions in Microsoft Teams to identify where these internal links are needed. Add these internal links as they are found.
This is a pre-launch task.

Internal links added to all pages that have finalized content, with the following exceptions where we need links from DCC:

[ ] License types: **License application requirements ** - Listed as "License Requirements page". Need to find out from Christina what page this is on our site (I suspect the name changed at some point)
[ ] License types: How the DCC licensing team reviews application - Listed as "Licensing Process page". Need to find out from Christina which page this is on our site (don't see this information on the How to apply for or renew a license page, which fits for the other two links on this page that were listed as "Licensing Process page": How to apply for a license and How to renew a license)
[ ] Testing laboratories: Request to remediate link
[ ] Manufacturing: 4 guidance documents links
[ ] Banking and insurance: License Authorization for Release of Information
[ ] Banking and insurance: Financial Institution Request
[ ] Disaster relief programs: Request for Regulatory Relief
[ ] Laws and regulations: DCC's regulations - Need to find out from Christina what page this is on our site (could it be Rulemaking?)
[ ] Laws and regulations: Finding of Emergency
[ ] Contact us: Submit a complaint - Not listed as the Find a complaint page but as "Getting final confirmation of link to use for July 1"

All internal links have been added with info from Christina.


User message loses space characters

Describe the Bug
The questions with multiple lines lose the spacing at the start of the text, so there's no tabbing.
Steps to reproduce

Type a message in "Ask a question" with multiple lines. Do this with Shift + Enter to start a new line. Put spaces at the beginning of a line. For example, paste a block of indented code into the input field.
Hit the "ask" button.
In the chat, your message will lose any space characters at the start of each line.

What currently happens
Each line of text in the user message trims the spaces before the text.
What should happen
Spaces at the start of each line should not be removed. This is likely happening due to HTML by default trimming spacing. Might need to use <pre> here to preserve space characters.
Screenshots
The screenshot below is of the user's question. The text was pasted with space characters for indenting, the UI is not showing this indenting.

Where are you running VSCode? (Optional)
Linux
What kind of LLM are you using? (Optional)
OpenAI
Additional context (Optional)
No response

@Christopher-Hayes Please assign me this issue

Done. Thanks @yashwanthvarma18


Remove signatureAlgorithm and pubKey from PassportData type

We only want to keep dsc in PassportData. This is cleaner and we have nice functions to get the signature algorithm, hash function, hash length, etc from it.
Some scripts from common/scripts/passportData don't use DSCs but generate pubkeys manually. I added a mock ECDSA DSC generated from here and adapted sha256_ecdsa.ts as an example, but this should be done on other scripts. Once this is done, we can remove pubKey and signatureAlgorithm and always use getSignatureAlgorithm, getCircuitName, etc
Also, the ecdsa scripts in common/scripts/passportData still use node specific imports, so can't be added to the mock passport data generator in the app. The adaptation I made above works without node, so it will solve that too.

Hi @0xturboblitz can I work on this?

Hi @0xturboblitz can I work on this?

This one is outside the scope of onlydust contributions


evaluation (once again)

How can the bold values be different?
Aren't they supposed to be the same or are the outputted, underlined IoU thresholds wrong?


Skin issue

We have created an extension that works as Raga.pw (Multiogar Edited)
The problem we are experiencing is that the skin is only shown to the player, others can not see your skin and you can not see theirs (but as I noticed you can see your own).
You can test the extension by downloading here: https://goo.gl/RszLTM

How did Raga.pw fix this issue?
Someone kind person who can help us solve this?

Thanks in advance,
Joseph

@ARBCells  Great :) I'll prove it :)

@Jhair2015 Ehm... What are you going to prove?

@ARBCells  ur Extension

There are way too many problems with your extension.

@ARBCells The problem is either client sided or with your extension, this issue has nothing to do with the development MultiOgar-Edited, so I am closing

but for now the orignal multi ogar is work ur is not is u in past edited the skins thing in ur server ?? @Megabyte918

@kareemman00 The only thing I have edited in this fork regarding skins is adding random skins and a custom skins script.

Then Why The F*Ck @megabyte918 i hope u can help me :smiley:

@AlexHGaming What problems do you mean? Except the skin issue.

@ARBCells
I can't connect to my private server when that extension is active.

@AlexHGaming They are too selfish, they only do it for their own server, I really want to see my skin again :(


Esky update causes transacted file operations error.

Here is the error I get when I run auto_update:
Traceback (most recent call last):
  File "__main__.py", line 838, in <module>
  File "__main__.py", line 331, in bootstrap
  File "__main__.py", line 358, in chainload
  File "__main__.py", line 834, in _chainload
  File "peekmonitor_osaka.py", line 49, in <module>
  File "esky\__init__.pyc", line 471, in cleanup
  File "esky\__init__.pyc", line 516, in _cleanup_actions
  File "esky\__init__.pyc", line 465, in cleanup
  File "esky\__init__.pyc", line 882, in install_version
  File "esky\__init__.pyc", line 914, in _unpack_bootstrap_env
  File "esky\fstransact\win32txf.pyc", line 109, in move
  File "esky\fstransact\win32txf.pyc", line 118, in _move
  File "esky\fstransact\win32txf.pyc", line 24, in wrapper
WindowsError: [Error 6805] The remote server or share does not support transacted file operations.

On the server I see that the update is requested twice.
weapon101s.ds.com - - [23/May/2013 10:47:25] "GET / HTTP/1.1" 200 -
weapon101s.ds.com - - [23/May/2013 10:47:26] "GET / HTTP/1.1" 200 -
weapon101s.ds.com - - [23/May/2013 10:47:26] "GET /hifg-1.1.1.win32.zip HTTP/1.1" 200 -
weapon101s.ds.susq.com - - [23/May/2013 10:48:08] "GET /hifg-1.1.1.win32.zip HTTP/1.1" 200 -
weapon101s.ds.susq.com - - [23/May/2013 10:49:06] "GET / HTTP/1.1" 200 -
weapon101s.ds.susq.com - - [23/May/2013 10:49:06] "GET / HTTP/1.1" 200 -

this is probably a network issue since the problem does not occur on the local network but only  when update from a remote site. Any ideas on how to solve this?
-Kenneth

Thanks for reaching out.  Unfortunately this project is no longer actively maintained, so I'm going to move it into archive mode:
https://rfk.id.au/blog/entry/archiving-open-source-projects/


Crash on opening code ui

Using only Component API, fabric api and TricksyFoxes. The ui opens up for a moment after using a scroll on a fox, but then crashes.
crash-2023-11-01_18.20.25-server.txt

After building the mod from the source it seems to work fine there, and 1.6 changelog indicates a similar bug got fixed, coult it be that modrinth has a previous version from the one that's specified?

Thank you, I found another crash while trying to fix this one, but it might be better if I hold on opening another issue until you have released that new version.


ctypesgen doesn't seem to support the example on the front page

The ctypesgen page says you can write:

 $ FLAGS = `apr-1-config --cppflags --includes`
 $ python wrap.py $FLAGS -llibapr-1.so $HOME/include/apr-1/apr*.h -o apr.py

On my computer, `apr-1-config --cppflags --includes` produces:

 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp -
I/usr/local/apr/include/apr-1

Ctypesgen doesn't support -D or -no-cpp-precomp and it would throw an error if
anybody tried
this example.

Solution: update the front page?

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 1 Jul 2008 at 4:01

No response in a long time. The original problem is very old at this point. Might be fixed. Reopen if it's not.


"wifi-connect: cannot execute binary file" when running from balenaCloud main terminal

I have installed wifi-connect via this Dockerfile.template, but when trying to running the following command from the balenaCloud terminal for the container:
./wifi-connect  --portal-ssid "NETWORK NAME"
I get the following error:
./wifi-connect: ./wifi-connect: cannot execute binary file.
Any ideas for possible issues here? Goal is to set a custom network name.

Do you see the wifi-connect connect executable in the folder you like to run it from (ls -al)? Is this a RPi device and what version? Can you paste the output of readelf -h /bin/bash.

Here's the how I see the file with of ls -al:
-rwxr-xr-x 1 root root 3815476 Nov  5 19:07 wifi-connect

This is a Raspberry Pi Zero W. Here's the output of readelf -h /bin/bash:
  Magic:   7f 45 4c 46 01 01 01 00 00 00 00 00 00 00 00 00
  Class:                             ELF32
  Data:                              2's complement, little endian
  Version:                           1 (current)
  OS/ABI:                            UNIX - System V
  ABI Version:                       0
  Type:                              EXEC (Executable file)
  Machine:                           ARM
  Version:                           0x1
  Entry point address:               0x2ce78
  Start of program headers:          52 (bytes into file)
  Start of section headers:          911552 (bytes into file)
  Flags:                             0x5000400, Version5 EABI, hard-float ABI
  Size of this header:               52 (bytes)
  Size of program headers:           32 (bytes)
  Number of program headers:         9
  Size of section headers:           40 (bytes)
  Number of section headers:         29
  Section header string table index: 28

@charliesneath I made a copy/paste mistake. This is the command which output I need to take a look at: readelf -h ./wifi-connect

Did you solve this issue here? What is odd is that wifi-connect is marked as Type: DYN (Shared object file).


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_9e6svfzzbe/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_9e6svfzzbe/clone/recipe/meta.yaml:27: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_9e6svfzzbe/clone/recipe/meta.yaml:42: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_fapj93ouyw/clone/recipe/meta.yaml:20: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_fapj93ouyw/clone/recipe/meta.yaml:27: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_fapj93ouyw/clone/recipe/meta.yaml:42: missing_documentation: The recipe is missing a doc_url or doc_source_url
Errors were found


Laravel 8.70.2 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v8.70.2 branch.
Before merging, you need to:

Checkout the shift-ci-v8.70.2 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: You are running version 0.4.5 of blade-ui-kit/blade-icons. The latest version is 1.1.2. You should review this dependency to see if you can upgrade to the latest version.

:warning: You are running version 3.4.6 of lcobucci/jwt. The latest version is 4.1.5. You should review this dependency to see if you can upgrade to the latest version.

:warning: The Shift build servers run PHP 8. If you are still running PHP 7.4 or lower you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP 7 environment.

:warning: You are running version 2.3.0 of thujohn/twitter. The latest version is 3.1.14. You should review this dependency to see if you can upgrade to the latest version.


In expression "0 0,5,10,15,20,25,30,35,40,45,50,55 * ? * *" the readable string appends an unexpected comma "," before the "and" preposition

The expression "0 0,5,10,15,20,25,30,35,40,45,50,55 * ? * *"
becomes "At 00, 05, 10, 15, 20, 25, 30, 35, 40, 45, 50, and 55 minutes past the hour" (with a comma before the word "and"),
instead of "At 00, 05, 10, 15, 20, 25, 30, 35, 40, 45, 50 and 55 minutes past the hour"
This is just an example. Happens for all expression with more than 3 elements in the cron part.

It is called the Oxford Comma, and using it is generally a good thing. Some examples of why:
https://thewritepractice.com/why-you-need-to-be-using-oxford-commas/
http://uk.businessinsider.com/always-use-the-oxford-comma-2015-5?r=US&IR=T
http://www.grammarly.com/blog/2015/what-is-the-oxford-comma-and-why-do-people-care-so-much-about-it/


#56 Feat: Add middleware for prometheus metrics

Giving a try to implement this feature using the most popular middleware for expressjs.
Please advise on the rest of the code, docs and tests.

Thanks for the PR I have made one modification which is to set Prometheus disabled by default.
Also had to fix the build, seems like there was some upstream problem with s390x platform.

Cool. Thanks for accepting


python311Packages.google-cloud-iam: 2.12.0 -> 2.12.1

Changelog: https://github.com/googleapis/python-iam/releases/tag/v2.12.1
Description of changes

Things done

Built on platform(s)

[ ] 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/)
23.11 Release Notes (or backporting 23.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

2 packages marked as broken and skipped:

python310Packages.dalle-mini
python310Packages.dalle-mini.dist

24 packages failed to build:

openai-full
openai-full.dist
pentestgpt
pentestgpt.dist
python310Packages.fastai
python310Packages.fastai.dist
python310Packages.k-diffusion
python310Packages.k-diffusion.dist
python310Packages.langchain
python310Packages.langchain.dist
python310Packages.skrl
python310Packages.skrl.dist
python310Packages.spacy
python310Packages.spacy-loggers
python310Packages.spacy-loggers.dist
python310Packages.spacy-transformers
python310Packages.spacy-transformers.dist
python310Packages.spacy.dist
python310Packages.textacy
python310Packages.textacy.dist
python310Packages.textnets
python310Packages.textnets.dist
tts
tts.dist

83 packages built:

barman
barman.dist
baserow
baserow.dist
browsr
browsr.dist
dvc-with-remotes
dvc-with-remotes.dist
mycli
mycli.dist
python310Packages.django-storages
python310Packages.django-storages.dist
python310Packages.duckdb
python310Packages.duckdb-engine
python310Packages.duckdb-engine.dist
python310Packages.duckdb.dist
python310Packages.dvc-gs
python310Packages.dvc-gs.dist
python310Packages.filedepot
python310Packages.filedepot.dist
python310Packages.fuzzytm
python310Packages.fuzzytm.dist
python310Packages.gcsfs
python310Packages.gcsfs.dist
python310Packages.gensim
python310Packages.gensim.dist
python310Packages.google-cloud-automl
python310Packages.google-cloud-automl.dist
python310Packages.google-cloud-bigquery
python310Packages.google-cloud-bigquery.dist
python310Packages.google-cloud-iam
python310Packages.google-cloud-iam.dist
python310Packages.google-cloud-storage
python310Packages.google-cloud-storage.dist
python310Packages.ibis-framework
python310Packages.ibis-framework.dist
python310Packages.pathy
python310Packages.pathy.dist
python310Packages.ray
python310Packages.ray.dist
python310Packages.smart-open
python310Packages.smart-open.dist
python310Packages.sqlglot
python310Packages.sqlglot.dist
python311Packages.django-storages
python311Packages.django-storages.dist
python311Packages.duckdb
python311Packages.duckdb-engine
python311Packages.duckdb-engine.dist
python311Packages.duckdb.dist
python311Packages.dvc-gs
python311Packages.dvc-gs.dist
python311Packages.filedepot
python311Packages.filedepot.dist
python311Packages.fuzzytm
python311Packages.fuzzytm.dist
python311Packages.gcsfs
python311Packages.gcsfs.dist
python311Packages.gensim
python311Packages.gensim.dist
python311Packages.google-cloud-automl
python311Packages.google-cloud-automl.dist
python311Packages.google-cloud-bigquery
python311Packages.google-cloud-bigquery.dist
python311Packages.google-cloud-iam
python311Packages.google-cloud-iam.dist
python311Packages.google-cloud-storage
python311Packages.google-cloud-storage.dist
python311Packages.ibis-framework
python311Packages.ibis-framework.dist
python311Packages.pathy
python311Packages.pathy.dist
python311Packages.ray
python311Packages.ray.dist
python311Packages.smart-open
python311Packages.smart-open.dist
python311Packages.sqlglot
python311Packages.sqlglot.dist
snakemake
snakemake.dist
tandoor-recipes
wal_e
wal_e.dist


Add more status code handling for the REST adapter

This should really be standardized across implementations.
This is still up for debate, but it's now consistent with the Java implementation where feasible:

Java throws a separate exception on 411
Java uses the error message to determine the RPC code for a few cases

Using the error message would be feasible (as we have already read it by this point) but it feels brittle.

I've now updated this (completely changing the layout, in a way that I hope makes it easier to read).
@vchudnov-g: Are you happy to circulate this to everyone else who should be aware of it, so we can make this canonical? (I'm not suggesting it's already "right" - but that we make it right, then rely on this.)

@jskeet Yes, I'll spread the word on this so we can get agreement.

Closing in favour of #502.


Test Failure (flakiness): e2e-bookInfoTests (VersionMigration, DbRoutingMysql, ExternalDetailsService)

From: https://k8s-gubernator.appspot.com/build/istio-prow/pull/istio_istio/3994/e2e-bookInfoTests/644/
I0306 16:38:43.933] --- FAIL: TestVersionMigration (101.15s)
I0306 16:38:43.933] 	demo_test.go:383: Failed version migration test, old version hit 17, new version hit 14
...
I0306 16:40:45.995] --- FAIL: TestDbRoutingMysql (61.05s)
I0306 16:40:45.995] 	demo_test.go:142: could not find glyphicon-star in response
...
I0306 16:41:47.616] --- FAIL: TestExternalDetailsService (61.62s)
I0306 16:41:47.616] 	demo_test.go:142: could not find<PHONE_NUMBER> in response

cc: @vadimeisenbergibm (External Details Service)

Looks like might be related to #3912

@GregHanson Is this issue still relevant?

They are fairly solidly green now.
https://k8s-testgrid.appspot.com/istio-presubmits#e2e-bookInfoTests-envoyv2-v1alpha3


Reading volume has stopped working on AVR-X4000

This library (as implemented in the bleeding edge dev version of HomeAssistant) has stopped being able to read the volume of my AVR-X4000. It continues to work fine with my Marantz SR6011. And it can still modify volume on both receivers.
I have attached the script results:
AVR-X4000.zip
Also for the sake of helping to complete your collection, here's the SR6011 as well:
SR6011.zip
Thanks!

@sjwright thanks for the files. I just had a quick look and it seems that the update fails because your X4000 does not support Tone Control. That's a bug I fixed yesterday in version 0.10.6
I released a pull request too https://github.com/home-assistant/core/pull/49984. I'm not sure if it will make it to HA 2021.5 release.

The fix will be included in HA 2021.5.1

Confirmed and working, thank you.


Add tag command

Closes #29

Codecov Report

Merging #42 (94bc9ef) into master (6dab5d9) will decrease coverage by 3.04%.
The diff coverage is 8.62%.

@@             Coverage Diff              @@
##             master      #42      +/-   ##
============================================
- Coverage     71.96%   68.91%   -3.05%
  Complexity      399      399
============================================
  Files            70       72       +2
  Lines          1234     1287      +53
  Branches        125      133       +8
============================================
- Hits            888      887       -1
- Misses          314      367      +53
- Partials         32       33       +1

Impacted Files
Coverage Δ

.../eatwhere/foodguide/logic/commands/TagCommand.java
0.00% <0.00%> (ø)

...twhere/foodguide/logic/parser/FoodGuideParser.java
88.88% <0.00%> (-11.12%)
:arrow_down:

...where/foodguide/logic/parser/TagCommandParser.java
0.00% <0.00%> (ø)

...ava/eatwhere/foodguide/logic/parser/CliSyntax.java
83.33% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

From what I have tested, everything is working as intended, less a future option to display help through -h
I do note that in the usage message, the style of -tTAG without a space between the -t and TAG is used. This agrees with the other commands, and the extra whitespace is discarded as part of ArgumentTokenizer::tokenize
We might want to consider consider standardizing the command usage messages in the future to aid with readability.


[style]: close search icon

What's the style idea?
We need to improve the positioning of the close search icon and its positioning from the search icon. I can work on it.
Add screenshots

Code of Conduct

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

Assigned. You can do that if there is search going on remove search-icon and replace it with close icon.

Working on it.

Could you assign this issue to me

I had done it waiting for the pull request to be merged.


Texture reallocation copy fails on WebGL

As of commit e4044db0d4312ab92c93474b066444caf166e662, the wgpu renderer supports reallocating the block texture atlas as needed. However, copying the old texture to the new texture silently fails under WebGL. This is plausibly a bug in wgpu, but we need to construct a standalone repro to report it usefully and confidently.
For now, I have added a workaround of copying from the CPU-side tiles instead of the old texture, but that wastes CPU time on the copies.

Testing: this bug is not fixed by wgpu 0.19.0.

Testing: this bug is not fixed by wgpu 22.0.0.


Google Chat Clone

Project title
Google Chat Clone
Project Description
Add Google Chat Clone
Stack:

[x] Html
[x] CSS

Issue made under GSSoC'22 contributions.

/assign


[BUG] Delete key is not detected

Describe the bug
A clear and concise description of what the bug is.
Delete key is not registered (2.0.0-pre.4 version)
How are you using react hotkeys components? (HotKeys, GlobalHotKeys, IgnoreKeys etc)
Hotkeys
Expected behavior
A clear and concise description of what you expected to happen.
on delete key pressed, the function should be called
Platform (please complete the following information):

Version of react-hotkeys
2.0.0-pre.4
Browser [e.g. chrome, safari]
Chrome
OS: [e.g. iOS]
Ubuntu 18.10

Are you willing and able to create a PR request to fix this issue?
Yes
APPLICABLE TO v2.0.0-pre1 AND ABOVE: ======================
Include the smallest log that includes your issue:
Set logging to verbose (you'll need the development build if its possible):
import { configure } from 'react-hotkeys';

configure({
  logLevel: 'verbose'
})

What Configuration options are you using?
none
configure({
  //options
})

Codesandbox repro:
https://codesandbox.io/s/wy5qk62528

console output
HotKeys (F3📙-C0🔺-P0🔺:) Focused.
index.js:26 HotKeys (F3📙-C0🔺-P0🔺:) Component options:
{
"actions": {
"delete": [
{
"prefix": "",
"actionName": "delete",
"sequenceLength": 1,
"id": "Backspace",
"keyDictionary": {
"Backspace": true
},
"eventBitmapIndex": 0,
"size": 1
},
{
"prefix": "",
"actionName": "delete",
"sequenceLength": 1,
"id": "Backspace",
"keyDictionary": {
"Backspace": true
},
"eventBitmapIndex": 0,
"size": 1
}
]
},
"handlers": {
"delete": "function _delete() {\n        return _this.handleDelete();\n      }"
},
"componentId": 0,
"options": {
"defaultKeyEvent": "keydown"
}
}
index.js:26 HotKeys (F3📙-E20💙-C0🔺-P0🔺:) New 'Delete' keydown event.
index.js:26 HotKeys (F3📙-E20💙-C0🔺-P0🔺:) Started a new combination with 'Delete'.
index.js:26 HotKeys (F3📙-E20💙-C0🔺-P0🔺:) Key history: [
{
"keys": {
"Delete": [
[
true,
true,
false
],
[
true,
true,
true
]
]
},
"ids": [
"Delete"
],
"keyAliases": {}
},
{
"keys": {
"Delete": [
[
false,
false,
false
],
[
true,
false,
false
]
]
},
"ids": [
"Delete"
],
"keyAliases": {}
}
].
index.js:26 HotKeys (F3📙-E20💙-C0🔺-P0🔺:) Attempting to find action matching 'Delete' keydown . . .
index.js:26 HotKeys (F3📙-E20💙-C0🔺-P0🔺:) Internal key mapping:
{
"sequences": {
"": {
"combinations": {
"Backspace": {
"prefix": "",
"sequenceLength": 1,
"id": "Backspace",
"keyDictionary": {
"Backspace": true
},
"size": 1,
"events": {
"0": {
"actionName": "delete",
"eventBitmapIndex": 0,
"handler": "function _delete() {\n        return _this.handleDelete();\n      }"
}
}
}
}
}
},
"eventBitmap": [
true,
false,
false
],
"longestSequence": 1
}
index.js:26 HotKeys (F3📙-E20💙-C0🔺-P0🔺:) No matching actions found for 'Delete' keydown.
index.js:26 HotKeys (F3📙-E21💛-C0🔺-P0🔺:) New 'Delete' keypress event.
index.js:26 HotKeys (F3📙-E21💛-C0🔺-P0🔺:) Key history: [
{
"keys": {
"Delete": [
[
true,
true,
false
],
[
true,
true,
true
]
]
},
"ids": [
"Delete"
],
"keyAliases": {}
},
{
"keys": {
"Delete": [
[
true,
false,
false
],
[
true,
true,
false
]
]
},
"ids": [
"Delete"
],
"keyAliases": {}
}
].
index.js:26 HotKeys (F3📙-E21💛-C0🔺-P0🔺:) Ignored 'Delete' keypress because it doesn't have any keypress handlers.
index.js:26 HotKeys (F3📙-E22💜-C0🔺-P0🔺:) New 'Delete' keyup event.
index.js:26 HotKeys (F3📙-E22💜-C0🔺-P0🔺:) Key history: [
{
"keys": {
"Delete": [
[
true,
true,
false
],
[
true,
true,
true
]
]
},
"ids": [
"Delete"
],
"keyAliases": {}
},
{
"keys": {
"Delete": [
[
true,
true,
false
],
[
true,
true,
true
]
]
},
"ids": [
"Delete"
],
"keyAliases": {}
}
].
index.js:26 HotKeys (F3📙-E22💜-C0🔺-P0🔺:) Ignored 'Delete' keyup because it doesn't have any keyup handlers.
index.js:26 HotKeys (F3📙-C0🔺-P0🔺:) Lost focus.

Turns out I should be using Browser key events: Delete instead of del, as on version 1.x

Thanks for reporting, snaumov.
This is indeed a bug. del should work in the latest pre-release. I've crafted a fix that should go out with the next release.

still not work，first cmd + c，then [del , backspace] not work

@greena13 is [del, 'backspace'] only work on GlobalHotKeys?

still not work，first cmd + c，then [del , backspace] not work

i think this could be due to some "focus" issues... e.g. like you have loose focus on elements which should listen to these shortcuts..

I'm also having trouble with delete as well.. tried del, Delete, and delete.. if I replace it with any other shortcut like command+g or enter, the callback gets fired..


xADComputer: Add ActiveDirectory Function and Type Stubs to Tests

Pull Request (PR) description
This PR extends the Function and Type stubs that were created for the xADDomainController resource tests and adds them into the xADComputer resource tests, so that these tests can also be run locally without the ActiveDirectory PowerShell module being installed.
This Pull Request (PR) fixes the following issues
None
Task list

[ ] Added an entry under the Unreleased section in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in resource directory README.md.
[ ] Resource parameter descriptions added/updated in schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[x] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[ ] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

This change is

Codecov Report

Merging #387 into dev will not change coverage.
The diff coverage is n/a.

@@         Coverage Diff         @@
##            dev   #387   +/-   ##
===================================
  Coverage    92%    92%
===================================
  Files        20     20
  Lines      2530   2530
  Branches     10     10
===================================
  Hits       2335   2335
  Misses      185    185
  Partials     10     10

Awesome work! Really like us to be able to run the unit tests using stubs. I tried to use @indented-automation's module https://github.com/indented-automation/Indented.StubCommand to generate the full stubs, but ran into a couple of issues (that I could not solve on my own). See the README.md here in my branch here.
https://github.com/johlju/xActiveDirectory/tree/add-stubs/Tests/Unit/Stubs
Feel free to continue this work and make it better. 😄


User Story: Alert System for Critical Metrics

User Story: Alert System for Critical Metrics

As a system administrator,
I want to receive alerts when certain metrics exceed predefined thresholds,
So that I can take immediate action to resolve potential issues.

Tickets:

#36
#37
#38

i Nkwa Jude Tambe  developer will be working on ""Alert System for Critical Metrics""

can i have more explanation on these... @stephane-segning

@NkwaTambe: This tool is made to monitor the system. If the resource consumption reaches a certain point, it might mean that the machine is overloaded or full, or... We then want to define some kind of metrics to help us tell when the program should notify us, for us to investigate the cause. Hence this story

ok sir # @stephane-segning well understood.

@stephane-segning Please Sir kindly explain how ticket #38 is to be done

hello sir @stephane-segning , for ticket #38, i my to write a script that will test ticket  #36 and #37 ????


LQIP is not (always) loaded first

Description
Describe the issue that you're seeing.
Steps to reproduce
Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).
Expected result
What should happen?
Actual result
What happened.
Environment
Paste the information here as shown by npm run info

Images 3.0 dropped aFarkas/lazysizes support — no longer really that relevant


Create ACCESSIBILITY-GUIDELINES.md file and add section on semantic html

This is a low code issue. You just need to be able to read html and markdown. There's a link to a markdown cheatsheet below.

[ ] Create ACCESSIBILITY-GUIDELINES.md file and
[ ] Using markdown create a section with a level two heading '##' for 'Semantic HTML'
[ ] Create a level 3 heading '###' 'Heading Levels' then under this heading provide a quick guideline on:
[ ] (a) how many level 1 headings should be per page (one!)
[ ] (b) when to use level 2, 3, 4 headings
[ ] (c) how headings should be styled (using css not html heading elements)

Resources:

Markdown Cheatsheet
MDN - HTML: A good basis for accessibility

@GingerKiwi can you please assign me?

Hi Mirza-Hassan,
Would you please introduce yourself in the discussion thread here: https://github.com/GingerKiwi/alice-game/discussions.
This repo is about learning socially. :-)
Once you've introduced yourself, I'll happily assign it to you.
Kindly,
Liz


Have the choice to set API version in namespace

Actually there is no way to avoid API version in namespace if value is set in API definition.

#18


Support for AES-128-GCM decryption

We are trying to use ruby-saml to implement a Service Provider (SP) that talks to a Shibboleth Identity Provider (IDP). The IDP returns an encrypted assertion using the AES-128-GCM algorithm. ruby-saml is failing to decrypt the assertion and returns the following error message:

NoMethodError (undefined method `[]' for nil:NilClass)

Reading the code it appears that CBC mode algoritms such as DES-EDE3-CBC, AES-128-CBC, AES-192-CBC and AES-256-CBC are suported by ruby-saml but the AES-GCM modes are not.
Shibboleth recently changed its encryption defaults to favor AES-GCM for XML encryption. Considering that Shibboleth is widely used, It is likely that more and more Service Providers will be facing this issue.
Further investigations show that the OpenSSL library used by this gem already supports CGM modes.
 irb(main):065:0> OpenSSL::Cipher.ciphers.include?("aes-128-gcm")
=> true

My knowledge in encryption/decryption algorithms is limited but I will gladly provide more information to see this support added.

Here is the method in ruby-saml that does the decryption of the encrypted SAML message:
https://github.com/onelogin/ruby-saml/blob/7423f03618c0f78f072d31132375cb4e2d89b282/lib/onelogin/ruby-saml/utils.rb#L250-L273
Here is how you can modify that to support AES-128-GCM, AES-192-GCM and AES-256-GCM:
OneLogin::RubySaml::Utils.class_eval do
  def self.retrieve_plaintext(cipher_text, symmetric_key, algorithm)
    case algorithm
      when 'http://www.w3.org/2001/04/xmlenc#tripledes-cbc' then cipher = OpenSSL::Cipher.new('DES-EDE3-CBC').decrypt
      when 'http://www.w3.org/2001/04/xmlenc#aes128-cbc' then cipher = OpenSSL::Cipher.new('AES-128-CBC').decrypt
      when 'http://www.w3.org/2001/04/xmlenc#aes192-cbc' then cipher = OpenSSL::Cipher.new('AES-192-CBC').decrypt
      when 'http://www.w3.org/2001/04/xmlenc#aes256-cbc' then cipher = OpenSSL::Cipher.new('AES-256-CBC').decrypt
      when 'http://www.w3.org/2001/04/xmlenc#rsa-1_5' then rsa = symmetric_key
      # ADDED =>
      when 'http://www.w3.org/2001/04/xmlenc#rsa-oaep-mgf1p' then oaep = symmetric_key
      when 'http://www.w3.org/2009/xmlenc11#aes128-gcm' then auth_cipher = OpenSSL::Cipher.new('AES-128-GCM').decrypt
      when 'http://www.w3.org/2009/xmlenc11#aes192-gcm' then auth_cipher = OpenSSL::Cipher.new('AES-192-GCM').decrypt
      when 'http://www.w3.org/2009/xmlenc11#aes256-gcm' then auth_cipher = OpenSSL::Cipher.new('AES-256-GCM').decrypt
      # <= ADDED
    end

    if cipher
      iv_len = cipher.iv_len
      data = cipher_text[iv_len..-1]
      cipher.padding, cipher.key, cipher.iv = 0, symmetric_key, cipher_text[0..iv_len-1]
      assertion_plaintext = cipher.update(data)
      assertion_plaintext << cipher.final
    # ADDED =>
    elsif auth_cipher
      iv_len, text_len, tag_len = auth_cipher.iv_len, cipher_text.length, 16
      data = cipher_text[iv_len..text_len-1-tag_len]
      auth_cipher.padding = 0
      auth_cipher.key = symmetric_key
      auth_cipher.iv = cipher_text[0..iv_len-1]
      auth_cipher.auth_data = ''
      auth_cipher.auth_tag = cipher_text[text_len-tag_len..-1]
      assertion_plaintext = auth_cipher.update(data)
      assertion_plaintext << auth_cipher.final
    # <= ADDED
    elsif rsa
      rsa.private_decrypt(cipher_text)
    elsif oaep
      oaep.private_decrypt(cipher_text, OpenSSL::PKey::RSA::PKCS1_OAEP_PADDING)
    else
      cipher_text
    end
  end
end

There is a difference with the GCM ciphres as with those, there is an extra "authentication tag" transferred with the ciphertext as the 16 last bytes of that text. This is explained here:
https://tools.ietf.org/html/rfc5116#section-5.1

An authentication tag with a length of 16 octets (128
bits) is used.  The AEAD_AES_128_GCM ciphertext is formed by
appending the authentication tag provided as an output to the GCM
encryption operation to the ciphertext that is output by that
operation.

Therefore, you need to extract the 16 last bytes of the message and define it as the cipher's auth_tag.

Hi, we also stumbled upon this today. Is there any progress with the issue? We would be happy to help by contributing with a fix to this. In the meantime, we can use a fork of the library but would like to see this supported by the upstream.

Hi, I also faced the issue with aes-128-gcm today. Any updates?

PR with unitest is welcome

Hi, just an update that I started working on this. Hopefully I'll get the PR for review early next week

Nice, thanks!

Hi @pitbulk the changes are implemented here https://github.com/onelogin/ruby-saml/pull/557

Merged on 1.12 branch


infra: Fix local docs and api ref builds

Has anyone had any issues with getting the docs to build? I continuously get this error when running poetry install:
The current project could not be installed: No file/folder found for package langchain-monorepo
If you do not want to install the current project use --no-root

Additionally, both make docs_build & make api_docs_build fail. The docs_build fails because of
[ERROR] Error: Invalid sidebar file at "sidebars.js".
These sidebar document ids do not exist:
- langgraph

The api_docs_build has quite a few errors. Not sure if I'm missing downloading something critical.
Originally posted by @rshah98626 in https://github.com/langchain-ai/langchain/issues/15664#issuecomment-1913262415

Any update on this?


"Check for palindromes" passes with full uppercasing as well

Challenge Check for Palindromes has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.84 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
function palindrome(str) {
  str = str.toUpperCase().replace(/\W|_/g, '');
  return str === str.split('').reverse().join('');
}
palindrome("eye");

A minor issue, but since the instructions state it should be lowercased, a test for lowercasing should be added. Currently it works as long as the case is the same throughout.

Yup. while this is trivial, a simple check can be added.

Does it need to be lower cased? I thought the point was simply that the palindrome check is case insensitive, so the choice between changing the letters to upper case or lower case should be irrelevant.
Perhaps the instructions should be changed instead to allow for both.

I agree with @alistermada. There are already quite a few tests on this challenge (they seem to be multiplying every time I look at them!) and I don't think it needs more.
I think it's simpler and more permitting to adjust the instructions rather than the tests, particularly since the beginning of the instructions indicate "... ignoring punctuation, case, and spacing."
The change required would be from:

and turn everything lower case in order to check for palindromes.

to:

and turn everything into the same case (lower or upper case) in order to check for palindromes.

I'd also say that while String.prototype.toUpperCase() on MDN could be added to the useful links, it doesn't need to be as it is covered elsewhere and may mislead the user to think both are necessary. Most users will probably use toLowerCase() and those who use toUpperCase() will still be able to pass as they can now.
Plus then we can make this a first-timers-only issue 😄

Cool. I am okay with it.

Great! 👍
To potential contributors:
This issue can be resolved by opening a pull request that changes line 171 of this file as detailed above. Please follow the Contributor's Guide and remember to visit the HelpContributors chat room if you need any assistance. We're here to help!

I can do this one.


ARM Support

So I have an ARMv7 device which I'm using and I was wondering what all you guys have left to do for ARM support to be available. I can build OpenAL and GLFW relatively easy.
Also not on an Android Device so I have full os support.

Duplicate of https://github.com/LWJGL/lwjgl3/issues/206


Add Shapeshifter under Design Animation tools

Underneath Adobe AfterEffects I'd recommend you put this free tool:
https://shapeshifter.design/

Added, thanks for the contribution


deepProperties should support relative pointers(or docs should be amended)

Hello,
From the readme for deepProperties:
This keyword allows to validate deep properties (identified by JSON pointers).
I have a need to validate 'cousin' properties inside an array. I've tried this:
let schema = {
    deepProperties : { "/parent/child1/grandchild1" : {
        deepProperties : { "2/child2/grandchild2" : { const : true }}
    }}
};

let data = {
    parent : {
        child1 : {
            grandchild1: true
        },
        child2 : {
            grandchild2: false
        }
    }
};

And got: keyword schema is invalid: data should match format "json-pointer", data property name '2/child2/grandchild2' is invalid.
Tracing a bit - it looks like the validation code from ajv/lib doesn't support relative pointers.
I can build another custom keyword to wrap deepProperties I think, but wanted to report this either for fixing or for clarifying.
Thanks!
Koby

I don't understand why you need to validate one deep property from another.
It's possible to allow root-based absolute and relative JSON pointers, but that would mean full rewrite of this keywords and changes in deepRequired - should be a major version change.

I thought about this some more, and I think you're right - I may not need it. I'm doing government forms and have ridiculously complex rules, and am looking to write a generic form and rule generator.
Suppose I have data that looks like this:
{
    vehicles: [
        {
            id: 1,
            make: 'honda',
            model: 'accord',
            //... year, vin, etc
            driver: {
                firstname: 'john',
                lastname: 'doe',
                //...
            },
            passengers: [
                {
                    firstname: 'jane',
                    lastname: 'doe',
                    //...
                },
                //... More passengers
            ],
            damage: {
                //...
            }
        },
        {
            id: 2,
            //... year, vin, etc
            driver: {
                firstname: 'none',
                //...
            },            passengers: [],
            damage: {
                //...
            }
        },
    ],
    incident: {
        date: 'thedate',
        time: '...',
        parked: true,
    }
}

The rule might be "if incident.parked is true, then at least one vehicle's driver must have firstname='none' and also have at least one element in its damage section"
For the last part(about the driver firstname and the damage section - I was thinking of using deep properties like so:
{
  properties: {
      vehicles: { allOf : {
        deepProperties: {"/driver/firstname" : {const: 'unknown'}}, },
        deepProperties: {"1/damage" : // Needs at least one element...
        }
      }...
}

The last snippet is equivalent to:
{
  properties: {
    vehicles: {
      deepProperties: {
        "/driver/firstname" : {const: 'unknown'},
        "1/damage" : // I assume it should not be relative in this case as well
      }
    }
  }
}


Improve logging of JGit exceptions

This pull request is suggestion related to Issue #364 (https://github.com/spring-cloud/spring-cloud-config/issues/364)
In some situations the JGit library can fail to update the local Git repository.
While the config server should gracefully handle these situations some added
information from the root cause might be helpful to pinpoint why changes in the
remote repository do not get reflected in the REST API.

In #364 I suggested DEBUG level. Can we go with that for the multi-repo try/catch?

ping @skhome

I have made the change to the log level. Any additional comments on this PR?

@dsyer do you want both debug in MultipleJGitEnvironmentRepository?

Yes, please, both logs have to be the same level. They should be protected with if(logger.isDebugEnabled()) as well.

Sorry, I am confused. I only aded one log statement in MultipleJGitEnvironmentRepository, the other one was already there and on info level.
Why do you you want to hide even more information that is needed for trouble shooting?

It's better to hide it IMO because it's normal for repositories not to contain any given file you ask them for. I couldn't see any difference between the two log statements from that point of view. Maybe I was wrong?

Hmm, I seem to be not qualified for this kind of pull request. I was talking the whole time about exceptions coming from the underlying JGit library. Cases where JGit simply leaves corrupted Git repositories and the config server is unable to recover from this situation itself.
I have no idea what you mean with "it's normal for repositories not to contain any given file you ask them for" in the context of exception handling.
Currently in our setup with an in-house hosted BitBucket server backend the config server behaves in some non-deterministic fashion (not serving new commits, not recognizing new or deleted tags, sometimes recognizing new commits only on the 2nd request). In this state I can not use it for a production environment.
Hiding the exceptions does not help me in any way to trouble shoot what is causing this.
I rest my case, since this goes into the opposite direction as was my intention.

I don't understand why you don't want logging if you have a problem you need to diagnose. Do you want to re-submit?

Closed with some polish via 0dda21df749350234d2b6ba6a5fcce010f3ababf


uv lock Improvement: a consistent environment for prepare_metadata_for_build_wheel.

Currently, uv lock runs in the Python interpreter specified by "Python options" (shown by uv lock --help).

However, as discussed in #7291 , even managed Python Interpreters can have an environment inconsistent with the default virtual environment created by uv venv.
Let uv lock be "polluted" by the system Python Interpreter with an arbitrary environment sounds even worse.
Ideally we can specify this in pyproject.toml with a default to an environment equivalent to the one created by uv venv.
And we can also specify index-url.
Expectation by example:
[tool.uv]
lock-dependencies-default = []

[tool.uv.lock-index-url]
torch = "https://download.pytorch.org/whl/cu124"

[tool.uv.lock-dependencies]
flash-attn = ["setuptools", "packaging"]
chumpy = ["setuptools", "pip"]

OR
[[tool.uv.lock-resolution]]
name = "torch"
index-url = "https://download.pytorch.org/whl/cu124"
dependencies = ["setuptools"]

[[tool.uv.lock-resolution]]
name = "flash-attn"
dependencies = ["setuptools", "packaging"]

[[tool.uv.lock-resolution]]
name = "chumpy"
dependencies = ["setuptools", "pip"]

There's a significant downside to this, which is that it would require that we create a virtual environment to perform uv lock (despite the fact that we never modify it). I'm hesitant to make that change, given that (1) build isolation is relatively rare, and (2) we want to redesign it anyway.
Can you file the second suggestion here as its own issue? I think it's separate.
\cc @zanieb

"the second suggestion here" -- did you mean index-url stuffs or the whole "lock resolution config" thing?

IIUC all package that have a dynamic metadata will need an environment to run prepare_metadata_for_build_wheel?

we want to redesign it anyway.

is there any roadmap for this?

I misread your second suggestion. I thought you were suggesting something like https://github.com/astral-sh/uv/issues/7393 which would also fix this by allowing you to define the Chumpy requirements upfront rather than requiring that we build it.

The [tool.uv.lock-index-url] is unlikely to happen as we're adding an entirely separate API for indexes (#171).

Okay that sounds bad.
Useful cases are too rare.
And this can confuse the users -- "is it the dependencies for setup.py of the package or the whole package?" -- even you misread my example.

is there any roadmap for this?

Let me look... The main idea was that we wanted to add a new build isolation API for uv sync and uv lock, but we didn't have time so we decided to support --no-build-isolation like in pip. I have some unformed ideas around allowing packages to declare the dependencies that they need to pull in from the existing environment, kind of like what you had above... E.g.:
name = "flash-attn"
dependencies = ["setuptools", "packaging", "torch"]

...could create a virtual environment, and then give it access to the already-installed torch from another virtual environment. So it'd be a sort of hybrid form of isolation: the build happens in a new, isolated environment, but we link in packages that are installed in a separate environment.

I think flash-attn can be solved by #7393 + switching between two optional dependencies groups?
But yeah "hybrid form of isolation" is not bad.

Can we provide a first-class support for "switching between two (or more) optional dependencies groups"?
Just standardize it with inspiration from Docker multi-stage builds -- the outputs of build stages are wheels.
[[tool.uv.build-stage]]
dependencies = ["setuptools", "packaging", "psutil", "ninja", "torch"]
outputs = ["flash-attn", "some-other-packages"]
[[tool.uv.build-stage]]
dependencies = ["setuptools", "torch", "flash-attn"]
outputs = ["some-packages"]


ACME certs dropped from Key Vault if renewal fails

Default behavior of Terraform is to delete resource objects before creating new instances of the same objects with new config/parameters. This causes acme_for_each_vault module to delete Let's Encrypt certs from the state and Key Vaults before attempting to renew them. In case renewal fails (e.g. due to DNS check timeout) certificates that could have been still used (depending on how early they are renewed) are dropped from the Key Vaults.
Add the following lifecycle block to acme_certificate.cert_common and acme_certificate.cert_region objects.
lifecycle {
  create_before_destroy = true
}

Although it is unlikely, similar situation might happen when either acme_certificate.cert_common or acme_certificate.cert_region are updated correctly, then old certs deleted from the Key Vault and the process of creating new Key Vault entries fails (e.g. unavailability event with MS API).
Safer strategy is to enable create_before_destroy for azurerm_key_vault_certificate.cert_common and azurerm_key_vault_certificate.cert_region as well.

Reverted the change in lifecycle setting for azurerm_key_vault_certificate as it tries to create the object with the same version before deleting it.


Run DataprocPySparkBatchOp: "Insufficient 'DISKS_TOTAL_GB' quota.

Expected Behavior
When I am trying to run the notebook of notebooks/official/pipelines/google_cloud_pipeline_components_dataproc_tabular

Successful to launch and run the Dataproc job

Actual Behavior
Fail at Dataproc job, with error message in logs:

Steps to Reproduce the Problem

Spin up a Vertex notebook
Run cells by cells as in the notebooks

Please make sure that your project have sufficient GCE quota: https://cloud.google.com/dataproc-serverless/quotas#compute-engine


healthz endpoint

I am attempting to deploy puppetboard into our kubernetes infrastructure, however I am unable to reliably define a healthprobe using the service.
Would it be possible to present a /healthz endpoint on the application which returns a simple 200 OK response when the application is operational?

After forking the project to attempt to add this myself, I've just found that this can be done with the /status endpoint.
Cheers


Converting into core Home Assistant component?

Hi,
I just stumbled on this project. A few months ago I started working on a Eheim Digital integration myself and continued working on it yesterday.
I currently have a very rudimentary module for the communication: (Not published yet on PyPI) https://github.com/autinerd/eheimdigital
And I also created an integration in Home Assistant Core: https://github.com/autinerd/core/tree/add-eheimdigital/homeassistant/components/eheimdigital
(It's also still rough, but my thermocontrol+ is found and can be controlled.)
I unfortunately only have a single EHEIM.digital device currently, so I can't really test with multiple devices.
Maybe we can work together to get the integration combined and submitted to a core Home Assistant integration?
Greetings,
Sid

Hey Sid!
Nice to see that there are more crazy people out there who want to get this to work ;)
It would be nice to work together to make this a core component, but for this there is a lot of work to do.
Did you try this integration? For me it works quite well, but there are still a lot of values missing and we didnt even start with sending commands.
@jkhalil is doing most of the coding stuff as my python skills are very basic. I do all the administrative stuff and update the Wiki. Did you check the wiki yet?
BR, David

@autinerd Let us what you need from us.  I can help with what ever yo uneed.

Hey Sid.
I was starting to do a refactor on this custom integration and I thought it would just be better to merge the work between the two of our code bases. I have done quite a bit that could be an easy copy paste to create a core module.
The current integration could greatly benefit from a eheimdigital_aio as you started to create for the communication.
Let me know if you are still wanting to colab, we are on a discord server where people would like to contribute to the project too.

long time no update here, closing the issue.


Jupyter response slow after recent update

Issue Type: Performance Issue
When running code from .py files with shift + enter,

the interactive pane is very slow to first appear, in some cases over a minute;
the Jupyter: Interactive Window Mode setting to single is ignored and a new Interactive pane is created for every block of code ran from a separate file;
the code takes several whole seconds to copy over to the Interactive pane and begin executing, whereas it used to be nearly instant.

Extension version: 2022.6.1001902341
VS Code version: Code 1.69.0 (92d25e35d9bf1a6b16f7d0758f25d48ace11e5b9, 2022-07-07T05:28:36.503Z)
OS version: Windows_NT x64 10.0.14393
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Xeon(R) Platinum 8259CL CPU @ 2.50GHz (2 x 2500)

GPU Status
2d_canvas: unavailable_softwarecanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: disabled_softwaremultiple_raster_threads: disabled_offopengl: disabled_offrasterization: disabled_softwareraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
undefined

Memory (System)
7.90GB (1.65GB free)

Process Argv
--crash-reporter-id 1e88d7ed-dfc2-42ed-b5d3-970568cb872e

Screen Reader
no

VM
0%

Workspace Info
|  Window (CI_EMR_v_DSS.py - CLAE_code2 (Workspace) - Visual Studio Code)
|  Window (dataiku_dss-update.sh - dataiku_plugins (Workspace) - Visual Studio Code)
|    Folder (CLAE_git): 131 files
|      File types: py(43) sh(36) md(8) conf(7) properties(6) pyc(3) json(2)
|                  xlsx(2) gitignore(1) txt(1)
|      Conf files: settings.json(1)
|    Folder (MyNotes): 3169 files
|      File types: py(531) pp(212) ipynb(190) dat(163) sh(152) log(129)
|                  xml(84) md(70) json(66) rb(62)
|      Conf files: dockerfile(22) settings.json(5)
|    Folder (workspace): 9 files
|      File types: code-workspace(8)
|      Conf files:
|    Folder (_cluster): 90 files
|      File types: png(19) sh(12) jpg(12) json(9) css(5) py(3) crt(3) jar(3)
|                  pem(3) xml(1)
|      Conf files: settings.json(1)
|    Folder (plugins): 438 files
|      File types: json(111) py(64) wlock(22) txt(22) pyc(4) zip(3) md(3)
|                  pem(2) hyper(2) sh(1)
|      Conf files: settings.json(1) makefile(1)
|    Folder (MyNotes): 3169 files
|      File types: py(531) pp(212) ipynb(190) dat(163) sh(152) log(129)
|                  xml(84) md(70) json(66) rb(62)
|      Conf files: dockerfile(22) settings.json(5)
|    Folder (_cluster): 90 files
|      File types: png(19) sh(12) jpg(12) json(9) css(5) py(3) crt(3) jar(3)
|                  pem(3) xml(1)
|      Conf files: settings.json(1);

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
vstes516:30244333
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
vscscmwlcmt:30465135
cppdebug:30492333
vscaat:30438848
vsclangdc:30486549

that's odd, I'm not able to reproduce any of that behavior. Can you provide the Jupyter logs for us to investigate - you can run the command Jupyter: Show Output to get to them.

we still need the logs to be able to troubleshoot this - Jupyter: Show Output.
Please post logs here or a new issue if this is still occurring.


Backporting HHH-15484

The GraalVM dependency changed from org.graalvm.nativeimage:svm to org.graalvm.sdk:graal-sdk.
We don't typically allow dependency changes in a micro release, but consider that this is a module clearly flagged as experimental and the svm artifact is deprecated we'll need this.
Also good to know: this used to be an "AutomaticFeature" (aka it would activate automatically by just having it on classpath; but automatic features are also deprecated, so now the features included in our hibernate-graalvm module will need to be explicitly activated.

Turns out org.graalvm.sdk:graal-sdk is not compatible with JDK8, so we can't do a straightforward backport. Following up via https://github.com/hibernate/hibernate-orm/pull/5350


ghc-8.4.4.nix: Do not use git.haskell.org

which was deprecated in 2018 and is now gone for good. I guess many
won’t notice because the nix-cache kept the files around?
This fetches the patches from github. Unfortunately it seems that the
sha256 hashes (calculated with nix-prefetch-url) have been modified.
Alternatively, if someone has the old patches around they could arguably
be added to tarballs.nixos.org (it seems they are not there right
now).

@shlevy I see you included some patches there located on tarball.snixpkg.org, maybe you can comment?

@GrahamcOfBorg build haskell.compiler.ghc844

@GrahamcOfBorg build haskell.compiler.ghc844

@nomeata Looks good to me, thanks for fixing this!


feat(make): simplifies targets for creating charts and other resources

Instead of duplicating targets for each major version it uses target template where any version can be passed as target's suffix. It also honors special case for creating charts for current version.

Will assign reviewers after fixing the build (worked on my machine ;))

@jwendell thanks for the thorough review. I learned a few things!
As for validation - that's correct, I was mainly thinking about avoiding copy&paste in the Makefile. your suggestion could actually be used to replace the target which calls version-specific ones instead of validating. I am on it. It also solves another problem in version matching.

/retest


Added location capabilities (supported editions) for Instance Pools

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[x] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ ] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

You don't have permission to trigger SDK Automation.
Please add yourself to Azure group from opensource portal if you are MSFT employee,
or please ask reviewer to add comment *** /openapibot sdkautomation ***.
Please ask<EMAIL_ADDRESS>(or NullMDR in github) for additional help.

Can one of the admins verify this patch?

@jamestao @johnpaulkee
Would be of great help if you could take a look at this PR!

As discussed offline,
Update Readme.md to reference 2018-06-01-preview capabilities file you added.
Use common Sku object, similar to 2017-10-01-preview

/openapibot sdkautomation

/openapibot sdkautomation

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@xccc-msft now that we have ARM sign off, we'll await your approval and submission for merge!
Thanks :)


Multiple inputs / outputs of the neural network in neon

Assume that I want to define a neural network that is used to detect whether a patient has a cancer.
As inputs for such network I want to have:

image from MRI scan,
description of patients symptoms as a text
blood test results (fixed size real vector)

As an outputs, I want to have:

Categorical value which say whether a patient is healthy or the type of suspected cancer.
Real value, which for ill patients on scale 0.0 -> 1.0 denotes urgency of treatment, and is 0 for healthy patients.

I cannot change or drop inputs, and I cannot have multiple networks for every output.
Can I define a computational graph with such multiple inputs / outputs using high level functions of neon and perform its training?
If not, could you give me a hint what should be done to implement this using neon backend (define custom layers etc?).

With the last question regarding implementation with neon backend I mostly want to get an idea of how complicated it would be.

Well, basically I want to know whether it is hard to deal in neon with complex inputs, the example is made up :) I did not found so far a definite answer in the docs

You can take a look at mnist_merge.py and mnist_branch.py in the examples provided. You can have 3 pathways that get merged and then split into multple branches with one for each output you desire. While this may work I can't guarantee how well it will work for what you want to do.

Thanks for the pointer! I will look into it.


thread,mingw64: need intrin.h header for SSE2 MemoryBarrier

Appears to be needed for compile with -msse2 (such as implied by -march=pentium4)
for the i686-w64-mingw64 target triple. This seems like a header mistake, but
we can work-around it here by including the header explicitly. (this call was added in #1634)

FWIW, upstream reports that this bug is fixed on mingw64 master: https://sourceforge.net/p/mingw-w64/bugs/712/

Perl 5 requires MinGW for building libuv bindings in Perl.

Mingw64 is useful for cross-compile builds as well as projects that also include FORTRAN code, such as Julia.
Setting up CI is a good idea, but wouldn’t likely have noticed this it requires a non-default compiler feature flag (sse2) to enable this optimization and trigger the header file bug.

https://github.com/nodejs/build/issues/1581

CI: ci.nodejs.org/view/libuv/job/libuv-test-commit/1112

Windows 2012R2 flaked on:
not ok 277 - threadpool_cancel_getnameinfo
# exit code 3
# Output from process `threadpool_cancel_getnameinfo`:
# A

Resume: https://ci.nodejs.org/job/libuv-test-commit/1114/ ✔

Ping @vtjnash regarding nits (extra checks and line length)

CI on merge commit: https://ci.nodejs.org/job/libuv-test-commit/1134/


Serialization module refactor

Description
Improvements to serialization functions logic, cleanliness. Adds unit tests for serializing, deserializing JSON and YAML.
Changes made

Rename serializers module to serialiazation
Refactor serialiazation functions
Add unit tests for serialiazation fns

Additional notes / Open questions

It was brought up that we might remove the SerializableModel base model if there is no point in having "preset" serialization methods for Data, Constraint, ColumnSpec, and any other Pydantic models. I am not yet sure whether there is a point to having these methods, but I haven't yet been able to convince myself that having SerializableModel does more harm than good. It's possible I am just forgetting the original justification for removing it, so remind me if there was one. It would not be hard to remove, but would require some adjustments to testing code, as there are OneMod types (e.g. Data) which currently use from_json(), etc. as convenience methods for serialization.

Some thoughts/questions on SerializableModel

Since Pipeline and Stage need to write their own to_json/from_json methods anyway, I don't think they need to inherit from SerializableModel
What's the use case for Data, Constraint, and ColumnSpec needing to_json/from_json methods? I think the only serialization/deserialization that happens right now is the pipeline config file, but correct me if I'm wrong.
My vote for getting rid of SerializableModel is that it's unnecessary since we can use the serialize/deserialize methods, but I maybe I'm unaware of what classes inherit from it and how they use it

If serialize is only used to save a pipeline config file, I think _normalize and _CustomJSONEncoder may be unnecessary (see dump_pipeline; I added this because serialize wasn't saving all of the stage config fields).

Thanks for confirming. Removed SerializableModel. I don't think we have explicit use case at this time.
Do you want me to try integrating and testing dump_pipeline() as a part of this PR then or just be aware of it as a potential update coming from the feature/implement_model_stages branch? My initial thought however is that something Pipeline-specific might belong on Pipeline class.
The way I have written the serialization module so far is as a more "general-purpose" module, for instance by providing a single helper function for serializing both Pydantic models and Python dictionaries. In my branch serialize() is used to serialize non-Pydantic objects within the Pipeline.build() stage for saving 1) a validation report and 2) the Pipeline representation. I wouldn't mind replacing the saving of Pipeline representation bit with its own method (e.g. "dump_pipeline()" or similar), but I think in my mind that would still be on the Pipeline class, similar to Pipeline.to_json() is. Let me know what you think.

You can ignore dump_pipeline for now, I can move it to Pipeline on my branch!


Need C++ HTTP library

A library will be needed to talk to an HTTP server in C++.  There are likely many options.  One I have used is libcurl.  The development package (libcurl4-openssl-dev) is already available in the gcc:10.1.0 image, assuming the build process is enhanced to permit linking against a library (https://github.com/icfpcontest2020/dockerfiles/issues/20).  But the runtime package (libcurl4) is not available in the debian:buster-20200607-slim image, so the resulting binary will not run.
More generally, it will probably be necessary to create a customized base image as was done with haskell (https://github.com/icfpcontest2020/dockerfiles/issues/8) so packages needed/wanted by various teams can be installed.  Packages may need to be added to both the gcc:10.1.0 and debian:buster-20200607-slim images, so I supposed two customized images should be created.

We're currently in the process of improving starter kits to show an example of HTTP interaction. See starterkit-csharp, for example. It will require us to add necessary libraries and resolve the issue that you mentioned.
We'll get to C++ eventually, but you can help if you have time.

FYI, I updated starterkit-bazel to use CPR as sn HTTP client library.
I'm afraid I don't have enough CMake knowledge to help starterkit-cpp, sorry.

We've included a simple header-only HTTP library in our C++ starterkit: https://github.com/icfpcontest2020/starterkit-cpp/tree/master/app
Looking forward to a PR with a more proper dependency support.


Apply fixes from StyleCI

This pull request applies code style fixes from an analysis carried out by StyleCI.

For more information, click here.

Codecov Report

Merging #63 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop      #63   +/-   ##
========================================
  Coverage    97.44%   97.44%
========================================
  Files           40       40
  Lines          666      666
========================================
  Hits           649      649
  Misses          17       17

Impacted Files
Coverage Δ

src/Tidal/WampWatch/RegistrationMonitor.php
100% <ø> (ø)
:arrow_up:

src/Tidal/WampWatch/MonitorTrait.php
98.64% <ø> (ø)
: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 6dd716e...d17494d. Read the comment docs.


How to let know to phpstan that it has some model by used trait of 3rd pluging?

Running
./vendor/bin/phpstan analyse

in laravel/framework 9.52.5 nunomaduro/larastan 2.6.0
I got error :
Call to an undefined method Illuminate\Database\Eloquent\Model::getTranslation().

But this app uses Spatie\Translatable plugin and relative model has Translatable defininions :
use Spatie\Translatable\HasTranslations;

class PageContent extends Model implements HasMedia
{
    use HasTranslations;

    public $translatable = ['title', 'content_shortly', 'content'];

If there is a way to fix it and say to larastan that this model has  getTranslation method, not using
 // @phpstan-ignore-line

construction ?

the issue is that where every you've got the error message from doesn't understand the model is a PageContent and not a Model, PageContent contains the getTranslation method, not Model
can you provide more context around the code that is causing the error please ?

Please look at https://spatie.be/docs/laravel-translatable installation docs : How it is declared in model and used...

can you show us the code where you are calling getTranslation, where the error is being produced?
phpstan believes what you are calling getTranslation on is not a PageContent but just a plain Model, which will not have the trait applied to it
providing the calling context allows us to see where phpstan might be making a mistake, or where the type hasn't been narrowed correctly

In first message I show model PageContent.php file and it is used in resource file app/Filament/Resources/PageContentResource.php :
in which I collect dynamic array of TextInputs using getTranslation method of the model :
class PageContentResource extends Resource
{
    protected static ?string $model = PageContent::class;
    public static function form(Form $form): Form
    {
        ...
        $localeFields      = [];
        foreach ($locales as $locale) { // show multi language elements for all locales of the app
            $titleLocaleFields[] = TextInput::make('title_' . $locale)
                ->afterStateHydrated(function (TextInput $component, $state) use ($locale) {
                    $pageContentModel = $component->getModelInstance();
                    if ( ! empty($pageContentModel->title)) { // Fill title field only in "edit" mode
                        $component->state($pageContentModel->getTranslation('title', $locale,
                            false));
                    }
                })
                ->required();
        }

        Forms\Components\Group::make()
            ->schema($titleLocaleFields)
            ...

Is it enough info from me to clear which problem I have ?

can you add this to the code below $pageContentModel = $component->getModelInstance(); and then run phpstan and show us the output?
\PHPStan\dumpType($pageContentModel);

I bet it'll be Illuminate\Database\Eloquent\Model

yeah my guess is it's ?Model from the code, and as such TextInput::getModelInstance() is defined to return ?Model, and either needs to be narrowed or generic, or an instanceof needs to be performed instead of the empty()

made generic

Choose PHP Generics!

I got :
Call to undefined function PHPStan\dumpType()
Have I to  import some classes to my resource file ?

Seems not related to Larastan itself.


Add stocks dataloader

I want to merge this change because adding stocks dataloader

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2648 Optimize stocks query.

Please check the Mypy issue in CI checks.


 CT "permissions"."project_id" FROM "permissions" WHERE "permissions"."user_id" = 9 AND "permissions"."level" IN ('reader', 'writer', 'owner'))) OR "audio_events"."id" IN (SELECT "audio_events"."id" FROM "audio_events" WHERE ("audio_events"."deleted_at" IS NULL) AND "audio_events"."is_reference" = 't')) AND "audio_events"."is_reference" = 't'  ORDER BY "audio_events"."duration_seconds" DESC LIMIT 10 OFFSET 0
  lib/modules/api/controller_helper.rb:105:in `respond_filter'


Vita Error C1-3536-7

Hello and I like many tried dejavu to help with a unbeatable game Tetris level 15.  Nonetheless, system crashed and now reporting error
C1-3536-7
Forced reset did not work and Safemode doesn't help either.
Is there a way to disable Dejavu from loading?
Pull SD card and noticed config.txt in the Tai folder was missing and replaced it with backup.  Suspect I'll have to reset my vita and reset my Vita2SD configuration unless someone has a suggestion bypassing boot error.
Thanks and serves me right trying to beat an unbeatable game.

Hi sorlib,
I have read about a method that if you press the L trigger on boot up, it will disable the plugins installed into the vita temporarily. I hope this can help your problem (warning: this will also disable plugins such as the ones used by sd2vita I think, I don't use sd2vita and I rely on my 16 gb official sd card).


fix(jqLite): return if element is undefined

ngAnimate has problems removing elements, causing errors. A detailed explanation of this can be found at #8796.
See #9485

I signed it!

Without a way to know how the original issue happen, I am inclined not to merge this PR.
@matsko do you have enough information to know if this is still an issue with 1.4.x?

How am I the only one dealing with this? I just started a new, completely unrelated project, and I'm getting ng339 errors. The only similarity I can find is that they both have long (300+ items) ng-repeats.

@lgalfaso @matsko This bug is breaking yet another one of my apps. I have uploaded some code to jsbin for demonstration purposes. Basically, I am just ng-repeating a large list and then rapidly changing the values of the list. Obviously this isn't how I am encountering the bug in my apps, but it is the easiest way to demonstrate the problem. This bug is quite annoying to replicate, sometimes the app breaks on my first try, other times it will go for several minutes with no problems at all.
http://jsbin.com/vayade/edit?html,js,output You will probably have to rerun the script a number of times to get the bug to show up (b.ng339 does not exist).
Also, I am using Safari 8.0.8. I have not been able to replicate this issue in Chrome, though I don't spend nearly as much time with Chrome.

@seaside98 run the script at the jsbin ~50 times and not even once the error show up. Is there some specific step that needs to happen for this error to trigger?

Luck, really. I've found that lag helps.
In the meantime, I will try to build something that will break more consistently. I don't you if you have already read this, but if you haven't, the following is a detailed technical explanation of the bug. https://github.com/angular/angular.js/issues/8796

On Sep 2, 2015, at 1:56 AM, Lucas Mirelmann<EMAIL_ADDRESS>wrote:
@seaside98 run the script at the jsbin ~50 times and not even once the error show up. Is there some specific step that needs to happen for this error to trigger?
—
Reply to this email directly or view it on GitHub.

@seaside98 You're not the only one dealing with this issue. A co-worker and I just stumbled across it with similar specifications. We are using angular 1.4.4 with ng-repeat of a long list and get the error randomly. The main development is being completed and checked in safari. I can post our stack trace if you want.

@td-edge After updating to OS X El Capitan, I haven't seen the problem. The only pattern I can seem to find is that somehow the safari dev console must be causing enough lag to make this bug show up. Glad to hear I'm not the only one.

Closing, see https://github.com/angular/angular.js/issues/9485#issuecomment-170402817


Teams Manifest fails to verify since thursday even though no changes were made

Hi, we are currently facing this critical issue: Since around thursday we cannot upload any App Zip anymore, even though nothing has changed on our part.
The upload fails with a 400 Bad Request root | Required properties are missing from object: ["name.short","name.full"]. when uploaded either with the Admin Center or via Teams itself. The "Developer Studio" tool for manifest verification shows no errors.
Attached is the zip in question.
app-dev.zip

I am also facing the same issue. @ParadoxSpiral did find any workarounds or solutions?

@priyaashok4 Yes we were able to workaround the issue.
The cause is the localization json. There seems to have been an undocumented breaking change, now short & full names are required in it even for older versions of the schema. This is also inconsistent because in the regular manifest schema the "full" name is not required.


Fix XSS in Alert, Carousel, Collapse, Dropdown and Modal

Fix some XSS in our plugins
Related to : #20184

Wrong branch I should target : v3.4.0-dev

@Johann-S: v3-dev is the one you want. Eventually v3.4.0 should be merged to v3-dev.

@mdo use this branch for this new release so I'll make my PR to this branch and let him decide 😃

Like I said, v3-dev has patches that shouldn't be ignored. So target that branch and @mdo should merge the other branch there when done.


Saving the Tx Calibration Results causes airPy to crash

the function SaveTxCalibration.decode_payload(payload) in dl_receiver.py cause a crash.
Possible explanation:

struct lib not working with integer (works fine with floats), but the test_ap_save_tx_settings.py is working properly
memory leak (difficult to debug)

The problems seems related to the unpack function when using '>i'. Using floats ( option '>f')  solves the problem

Fixed in commit 1804210


Roadmap or something?

Hi,
There are quite serious issues with node-inspector on recent iojs/nodejs versions. Especially with iojs, it has problems with installation and debugging (debug-brk).
Node-inspector used to be my main instrument for debugging, and I kind of lack it.
Dear devs, please tell us, what is going on? Is there any light ahead? Maybe you're refactoring things from the ground up? Or you're busy with other projects and we shouldn't await any changes soon?
Thanks for the great tool!

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/11347924-roadmap-or-something?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F195817&utm_medium=issues&utm_source=github).

Hello @iliakan .
So, today I merged new frontend and I wait some small changes from @marcominetti .
Now then we have new frontend, it is reasonable to extend our functionality by debugging promises, getters/setters and more other. This is a next big step. #450
From small steps:
There is a #560 , that fixes #597, and I hope, it will be merged on next week. (Can you test it and submit what it works?)
Released 0.12.0 with new debugger system is a big problem not only for node inspector, but also for node (I opened 3 issues in node iojs/io.js/issues/858, iojs/io.js/issues/781). We have some native features v8-debug and v8-profiler that already compatible with iojs on compilation stage, but breaks compatibility on running from node-debug command on windows (iojs/io.js/issues/751)

Also we started discussion about new cli api and plugin system. #578
We communicate with @marcominetti in plugin system feature. Long time we were blocked for new features by updating frontend pr.
In other words I work on node-inspector so intensively as it is possible - this is my main os project. Sometimes it has a higher priority than my main job =)

@3y3 thanks, so great to hear that node-inspector will shine once again soon :+1:


[BUG] Harvester Cloud Provider is not able to deploy upgraded container after upgrading the cluster

Rancher Server Setup

Rancher version: v2.6.7-rc3
Installation option (Docker install/Helm Chart): docker

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc):

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: v1.23.8+rke2r2 -> 1.23.9-rc3+rke2r1
Cluster Type (Local/Downstream): downstream

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider): harvester

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom): standard user, cluster owner

Describe the bug
upgrade from 1.23.x -> rc’d version updates the chart HOWEVER the deployment is not successfully deploying the new container with version 0.1.4
To Reproduce

deploy a harvester downstream cluster through rancher using the node driver and k8s 1.23.8

observe the old versions of the chart are used

change the KDM to one that has the RC'd versions available
upgrade the cluster to 1.23.x-rc3

Result
the harvester cloud provider container is not updating properly
Expected Result

Chart workloads and pods should successfully upgrade
Screenshots

Additional context

fresh install of rc version is working fine.

@slickwarren I was able to also see that the harvester-cloud-provider-UUID container was stuck in a ContainerCreating state.
Example:
Name:         harvester-cloud-provider-5d49884d84-vp7jz
Namespace:    kube-system
Priority:     0
Node:         caleb-test-cluster-pool1-9b77ad6a-q4ltt/<IP_ADDRESS>
Start Time:   Wed, 20 Jul 2022 10:55:45 -0700
Labels:       app.kubernetes.io/instance=harvester-cloud-provider
              app.kubernetes.io/name=harvester-cloud-provider
              pod-template-hash=5d49884d84
Annotations:  kubernetes.io/psp: global-unrestricted-psp
Status:       Pending
IP:           <IP_ADDRESS>
IPs:
  IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/harvester-cloud-provider-5d49884d84
Containers:
  harvester-cloud-provider:
    Container ID:
    Image:         rancher/harvester-cloud-provider:v0.1.4
    Image ID:
    Port:          <none>
    Host Port:     <none>
    Command:
      harvester-cloud-provider
    Args:
      --cloud-config=/etc/kubernetes/cloud-config
    State:          Waiting
      Reason:       ContainerCreating
    Ready:          False
    Restart Count:  0
    Environment:    <none>
    Mounts:
      /etc/kubernetes/cloud-config from cloud-config (rw)
      /var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-x6p8b (ro)
Conditions:
  Type              Status
  Initialized       True
  Ready             False
  ContainersReady   False
  PodScheduled      True
Volumes:
  cloud-config:
    Type:          HostPath (bare host directory volume)
    Path:          /etc/kubernetes/cloud-config
    HostPathType:  File
  kube-api-access-x6p8b:
    Type:                    Projected (a volume that contains injected data from multiple sources)
    TokenExpirationSeconds:  3607
    ConfigMapName:           kube-root-ca.crt
    ConfigMapOptional:       <nil>
    DownwardAPI:             true
QoS Class:                   BestEffort
Node-Selectors:              kubernetes.io/os=linux
Tolerations:                 cattle.io/os=linux:NoSchedule
                             node-role.kubernetes.io/control-plane:NoSchedule
                             node-role.kubernetes.io/etcd:NoExecute
                             node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule
                             node.kubernetes.io/not-ready:NoExecute op=Exists for 300s
                             node.kubernetes.io/unreachable:NoExecute op=Exists for 300s
Events:
  Type     Reason       Age                   From     Message
  ----     ------       ----                  ----     -------
  Warning  FailedMount  9m16s (x21 over 63m)  kubelet  Unable to attach or mount volumes: unmounted volumes=[cloud-config], unattached volumes=[cloud-config kube-api-access-x6p8b]: timed out waiting for the c
ondition
  Warning  FailedMount  4m48s (x5 over 50m)   kubelet  Unable to attach or mount volumes: unmounted volumes=[cloud-config], unattached volumes=[kube-api-access-x6p8b cloud-config]: timed out waiting for the c
ondition
  Warning  FailedMount  39s (x40 over 65m)    kubelet  MountVolume.SetUp failed for volume "cloud-config" : hostPath type check failed: /etc/kubernetes/cloud-config is not a file

Setup:
Rancher Node:
SuperMicro Bare Metal Intel Atom, 4 Core, 4 GiB DDR3 RAM
Rancher Version, installed with Helm: v2.6.7-rc3
Harvester Node:
Dell PowerEdge R720, Intel Xeon 20 Core, 64 GiB DDR3 ECC RAM
Harvester Version: **master-aa3d95d2-head **
Was able to reproduce following steps.
See attached photos.

It does look like at least in one view that the cluster is on the RC version, but that contianer creating is just hung.
Also attached is the support bundle from Harvester
supportbundle_ca587245-2aaa-4820-a6ab-fbb04824a0a4_2022-07-20T18-41-42Z.zip

After testing, we found that the Cluster Config UI page will submit cloudPathConfig to the backend when adding a guest cluster, and this request parameter is missing when editing, the frontend is being fixed.
add:

edit:

Verified fixed on Harvester v1.0.2 GA with Rancher v2.6.7-rc3. Close this issue.
Result
After upgrading the existing RKE2 guest cluster kubernetes version from older v1.23.8+rke2r1 to 1.23.9-rc3+rke2r1.
The Harvester cloud provider can successfully updated from v0.1.3 to v0.1.4
Cloud provider before upgrade: v0.1.3

After upgrade: v0.1.4

Test Information

Test Environment: 1 node harvester on dolphin bare machine
Harvester version: v1.0.2-GA
Rancher version: v2.6.7-rc3
ui-dashboard-index: https://releases.rancher.com/dashboard/latest/index.html
ui-offline-preferred: Remote
rke-metadata-config:{"refresh-interval-minutes":"1440","url":"https://yufa-dev.s3.ap-east-1.amazonaws.com/data.json"}

Verify Steps

Prepare Rancher v2.6.7-rc3 and Harvester v1.0.2 GA
Update rke-metadata-config to {"refresh-interval-minutes":"1440","url":"https://yufa-dev.s3.ap-east-1.amazonaws.com/data.json"} in global settings

Update the ui-dashboard-index to https://releases.rancher.com/dashboard/latest/index.html
Set ui-offline-preferred to Remote
Refresh web page (ctrl + r)
Open Create RKE2 cluster page
Check the show deprecated kubernetes patched versions

Select v1.23.8+rke2r1
Finish the RKE2 cluster provision

Check the current cloud provider version in workload page

Edit RKE2 cluster, upgrade the kubernetes version to 1.23.9-rc3+rke2r1

Wait for update finish

The cloud provider is upgrading

delete the old cloud provider version pod (v0.1.3)

Wait for newer version cloud provider have been bumped


Skipping variable error

Trying to spin up a streaming dataflow job with the below command:
weather-mv --uris "gs://ecmwf-xxxxx/A1D*.bz2" --output_table xxxx-xx.xxxx.xxxx  --topic "projects/xxxx/topics/ecmwf-xxxxx"  --runner DataflowRunner   --project xxx-xxxx   --region us-central1   --temp_location gs://xxxxx-test --job_name ecmwf-xxxxxx-test2

Below is the error. The dataflow job hasn't been created.

I will look into this error now. I think implementing #54 will provide a long-term fix for these kinds of errors.

Note: A work-around for this error may be to use the --variables argument.

#54 won't solve this issue without skipping over some of the data due to: https://github.com/ecmwf/cfgrib#filter-heterogeneous-grib-files
However, there is an alternative solution: We can make use of cfgrib's open_dataset function to open multiple hypercubes to get every variable: https://github.com/ecmwf/cfgrib#automatic-filtering. This will require that we modify our pipeline code to make use of multiple dataframes. This should be tractable.

The current workaround is: Install the branch in #87, and add the following argument to the weather-mv command:
--xarray_open_dataset_kwargs '{"engine": "cfgrib", "indexpath": "", "backend_kwargs": {"filter_by_keys": {"typeOfLevel": "surface", "edition": 1}}}'

CC: @mt467


Multiple assets missing for v2.1.0-M6-28-gbad85693f?

I'm a newcomer to Scala so correct me if I'm wrong, but I'm afraid this has caused coursier CLI launchers to malfunction, which is preventing me from installing Scala.

Error downloading https://github.com/coursier/coursier/releases/download/v2.1.0-M6-28-gbad85693f/cs-x86_64-pc-linux.gz

Same on Mac
Error downloading gz+https://github.com/coursier/coursier/releases/download/v2.1.0-M6-28-gbad85693f/cs-x86_64-apple-darwin.gz

Seems added.


Add react-dom as external dependency

Starting with d359ebdba9, React was included in the dist builds. This does not only make the file size explode but also causes conflicts when you try to use the dist build on a page that already has loaded another React version.
The cause for this was that react-dom was required in src/onClickOutside.js but it was not added as an external dependency. So webpack would resolve all the references itself (going from react-dom to react/lib/ReactDOM and from there into all the individual small modules), and eventually add the whole React framework to the output.
This pull request adds react-dom as an external dependency, so it’s not included in the build, making the dist version small again.

Thanks for the PR, and sorry for not replying before. Now youcanbook.me is sponsoring react-datetime, so updates will come more frequently :)


New Test: SMS-based authentication should be disabled

SMS Sign in is a primary sign in factor using SMS (instead of the password which is the default), it is meant for specific front-line worker scenarios that's don't require strong authentication with MFA.
Recommendation: Should be disabled.
https://learn.microsoft.com/en-us/entra/identity/authentication/howto-authentication-sms-signin
https://x.com/janbakker_/status/1790996204890829104

@Cloud-Architekt and @merill following your discussion on Twitter (now also knows as X) should we create a separate check in maester or make EIDSCA.AS01 work with maester. Currently the discovery configuration is missing from this section of the JSON

@f-bader and @merill : I would like to cover them as part of the existing EIDSCA.AS01 checks. We need only to decide if we like to test for the state only or in combination of the scope ("all users"). A general check on the state could be valid if there are just (obvious) security concerns (even for frontline workers) and no valid use cases for B2X.

I would say SMS-sign in should not be enabled for anyone as the default.
Any tenant that turns it on should have consciously disable this test.

@Cloud-Architekt was this added to EIDSCA?

Check has been implemented (AS04): https://github.com/maester365/maester/pull/418


Playing speed

When playing live stream, playing speed is a bit slow.
More time is passed, more delay video.
Thanks.

Same observation for live video. The delay gap is getting serious when more time is passed. I have tuned the input parameters, but no luck.
Here is my code for reference,
<video id="videoElement" muted="muted">
<script>
if (mpegts.getFeatureList().mseLivePlayback) {
var videoElement = document.getElementById('videoElement');
var player = mpegts.createPlayer({
type: 'mse',  // could also be mse, mpegts, m2ts, flv
isLive: true,
cors: true,
hasAudio: false,
enableWorker: true,
enableStashBuffer: false,
liveBufferLatencyChasing: true,
liveBufferLatencyMaxLatency: 1.5,
lazyLoad: false,
deferLoadAfterSourceOpen: false,
autoCleanupSourceBuffer: true,
url: 'http://xx.xx.xx.xx/play/video01'
});
player.attachMediaElement(videoElement);
player.load();
player.play();
}

I hate to add a me-too, but I can confirm that let my browser view a live stream over the weekend, it will fall behind nearly an hour!  The problem is not as bad if you "unlock" the player by interacting with it and starting audio decode.


Add "Device Code" as a supported OAuth Flow

Hi! I'm not in the business of making APIs myself, so I don't know how helpful I can be. However, I found that RFC8628 offers a "Device Code" type of OAuth, which I thought might be useful if it were supported by default by OpenAPI. The flow is described at https://oauth.net/2/grant-types/device-code/ as follows:

The Device Code grant type is used by browserless or input-constrained devices in the device flow to exchange a previously obtained device code for an access token.

Looking at the RFC myself, it seems like this type of OAuth Flow would need the a device authorization URL (different from a regular authorizationUrl in that this is called by the application, not the user -- the RFC has more info under section 3.1), a tokenUrl, and potentially a refreshUrl. Given how this endpoint works, it may also benefit from a optional deviceCodeFormat field, specifying what characters are allowed, how the code can be formatted (uppercase? lowercase? case-insensitive? etc.) and so on. (Turns out I was misreading the RFC -- the authorization server generates the device code, not the client)
Hopefully this isn't too far-fetched of a suggestion! :)

@LikeLakers2 could you have a go at making a PR for this?

@philsturgeon I could try, but I've never written a specification before (well, besides some notes in notepad). Shouldn't be too hard though.
I'll try later today, as at the time of me sending this comment, I've just woken up.

@handrews  looks it has been merged, it should be good ? or does the ticket kept open till version 3.2 is released ?

@LasneF we can close it - I don't always remember to check if the PR merging automatically closed the issue, thanks for noticing!