Incorrect parameter values

[Enter feedback here]
The document says:

-ResetType
Type of reset to be performed. Allowed values are:
Invalid
Permanent
Transient

But CMDLet says:
Specify one of the following enumerator names and try again: Permanent, Transient, Recreate
Of course it would be great also if you could clarify with few words what are the differences between these.

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

ID: 7ef75a04-cd1e-3707-cc06-2c88b6886b7c
Version Independent ID: 1806c180-85f1-0c5d-acc2-c18a8f1139a4
Content: Reset-CsRoutingGroup (skype)
Content Source: skype/skype-ps/skype/Reset-CsRoutingGroup.md
Service: skypeforbusiness-powershell
GitHub Login: @kenwith
Microsoft Alias: kenwith

@officedocsbot assign @yogkumgit

Fixed in #3478

That was quick fix ! :D
But would be still possible to add clarification for them? Now there are three options, but nobody seems to know what are the differences.

Hello @Petri-X thanks for your feedback, finally, we are close to close this now as I created a pull request to add the missing description, thank you.

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @Petri-X Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Near FuturePropulsion not being updated

NetKan hasn't picked up version 0.4.0 of NearFuturePropusion from KerbalStuff.
KerbalStuff

Seems like the bot picked it up - https://github.com/KSP-CKAN/CKAN-meta/blob/master/NearFuturePropulsion/NearFuturePropulsion-0.4.0.ckan
Thanks for the report, closing issue.


How to update a RecurringApplicationCharge

If I create a RecurringApplicationCharge for a user, and then they want to change their plan - how do I do that?
Can I look up the charge and change the name and amount?
Or do i create the new RecurringApplicationCharge and if successful somehow cancel the previous one?

thanks!


Hotspot network not accessible through home assistant SSH server addon

I setup a hotspot with this addon, and I also enabled the "client internet access" option. However, it is not possible to access this hotspot's network with the shell from the home assistant SSH server addon.
Maybe this is a (security) feature and not a bug, but how could it become accessible? This is often useful for debugging. I am running the home assistant OS.
So from what I understand, the OS component only runs docker in which the home assistant instance runs, where the SSH server addon also is part of (root inside the docker container). However I am confused why it doesn't show the wireless network (no device shown with "ip link"), since this addon also runs in that docker container and needs to be able to access it?
I guess a workaround would be to run a hotspot outside docker in the host OS and/or the ssh server outside docker. Not sure what is the best solution.

From Neodomo we are sorry we can not help you, we are not the developers of this addon, the developer is @mattlongman.
We have copied his repository because the program as it is covers all our needs and we do not want any modification.
Here is the link to his official repository.


Migration from TSLint to ESLint

Migration from TSLint to ESLint
I primarily followed: https://code.visualstudio.com/api/advanced-topics/tslint-eslint-migration.
I used "tslint-to-eslint-config" CLI tool to generate a .eslintrc file using our tslint.json, however there were lots of rules that tslint-to-eslint-config didn't know about.
Some of the gaps from "tslint-microsoft-contrib" where filled in by "@microsoft/eslint-plugin-sdl" which is sort of its successor.
Some of the gaps from "react-a11y" tslint plugin where filled by "jsx-a11y".
Bizarrely, a couple of files (blocks.tsx and snippetBuilder.tsx; see .eslintignore) cause the ESLint to crash deep inside the TS compiler ☹. So I had to disable these files from linting for now, but I suspect we just need to update our TS version (future PR).
Steps for Devs
After this PR is merged, do the following in pxt (no other repo should be affected):
0. git pull

rm -rf node_modules/
npm install
in vscode, uninstall or disable tslint extension (if you want)
in vscode, install "dbaeumer.vscode-eslint" extension
run gulp && gulp lint to make sure everything works
in vscode, inside a file (say webapp/src/app.tsx), try adding some trailing whitespace. You should see this squigly error: Trailing spaces not allowed. eslintno-trailing-spaces
you're done!

Removed rules
These rules where removed and tslint-to-eslint-config couldn't find replacements:

Expand

"jquery-deferred-must-complete"
"mocha-avoid-only"
"mocha-no-side-effect-code"
"no-delete-expression"
"no-disable-auto-sanitization"
"no-document-domain"
"no-document-write"
"no-exec-script"
"no-function-constructor-with-string-args"
"no-http-string"
"no-jquery-raw-elements"
"no-string-based-set-immediate"
"no-string-based-set-interval"
"no-string-based-set-timeout"
"no-unnecessary-bind"
"no-unnecessary-override"
"no-unsupported-browser-code"
"no-with-statement"
"non-literal-require"
"possible-timing-attack"
"react-anchor-blank-noopener"
"react-no-dangerous-html"
"react-this-binding-issue"
"react-unused-props-and-state"

These rules where technically replaced but behaved differently enough that I had to disable them:

"no-underscore-dangle"
"brace-style"

These rules could be supported if we used the eslint-tslint crossover plugin but the whole point of this PR is expunge tslint:

"match-default-export-name": true,
"whitespace"

tslint-microsoft-contrib -> eslint-plugin-sdl
As mentioned, many of the tslint-microsoft-contrib rules where replaced by ones from the new MSFT SDL plugin. However there's still many more rules that we need to enable for full SDL compliance. That's out of scope of this PR.
See:

https://github.com/microsoft/eslint-plugin-sdl

react-a11y -> jsx-a11y
Our "react-a11y" rules where sort of replaced with these other rules from the "jsx-a11y" plugin:
Removed react-a11y rules:

Expand

"react-a11y-anchors"
"react-a11y-aria-unsupported-elements"
"react-a11y-event-has-role"
"react-a11y-image-button-has-alt"
"react-a11y-img-has-alt"
"react-a11y-lang"
"react-a11y-meta"
"react-a11y-props"
"react-a11y-proptypes"
"react-a11y-role"
"react-a11y-role-has-required-aria-props"
"react-a11y-role-supports-aria-props"
"react-a11y-tabindex-no-positive"
"react-a11y-titles"

New jsx-a11y rules:

Expand

"jsx-a11y/accessible-emoji"
"jsx-a11y/alt-text"
"jsx-a11y/aria-activedescendant-has-tabindex"
"jsx-a11y/aria-props"
"jsx-a11y/aria-role"
"jsx-a11y/aria-unsupported-elements"
"jsx-a11y/autocomplete-valid"
"jsx-a11y/heading-has-content"
"jsx-a11y/html-has-lang"
"jsx-a11y/img-redundant-alt"
"jsx-a11y/no-access-key"
"jsx-a11y/no-distracting-elements"
"jsx-a11y/role-has-required-aria-props"
"jsx-a11y/role-supports-aria-props"
"jsx-a11y/scope"
"jsx-a11y/tabindex-no-positive"

References

https://code.visualstudio.com/api/advanced-topics/tslint-eslint-migration
https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md
https://github.com/microsoft/eslint-plugin-sdl
https://github.com/dustinspecker/awesome-eslint#plugins

tslint-to-eslint-config.log
Here's the full summary from tslint-to-eslint-config:

Expand
✨ 40 rules replaced with their ESLint equivalents. ✨
❗ 4 ESLint rules behave differently from their TSLint counterparts ❗
Check ./tslint-to-eslint-config.log for details.
❓ 42 rules are not known by tslint-to-eslint-config to have ESLint equivalents. ❓
The "@typescript-eslint/tslint/config" section of ./.eslintrc.js configures eslint-plugin-tslint to run them in TSLint within ESLint.
Check ./tslint-to-eslint-config.log for details.
☠ Prettier plugins are missing from your configuration. ☠
We highly recommend running tslint-to-eslint-config --prettier to disable formatting ESLint rules.
See https://github.com/typescript-eslint/tslint-to-eslint-config/blob/master/docs/FAQs.md#should-i-use-prettier.
⚡ 5 new packages are required for this ESLint configuration. ⚡
npm install @typescript-eslint/eslint-plugin @typescript-eslint/eslint-plugin-tslint @typescript-eslint/parser eslint eslint-plugin-import --save-dev
♻ Consider using --comments to replace TSLint comment directives in your source files. ♻
✅ All is well! ✅
Full log:
4 ESLint rules behave differently from their TSLint counterparts:

brace-style:

ESLint's brace-style will check all tokens.

no-underscore-dangle:

Leading or trailing underscores (_) on identifiers will now be forbidden.

@typescript-eslint/no-unused-expressions:

The TSLint optional config "allow-new" is the default ESLint behavior and will no longer be ignored.

eqeqeq:

Option "smart" allows for comparing two literal values, evaluating the value of typeof and null comparisons.

42 rules are not known by tslint-to-eslint-config to have ESLint equivalents:

tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "jquery-deferred-must-complete".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "match-default-export-name".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "mocha-avoid-only".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "mocha-no-side-effect-code".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-delete-expression".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-disable-auto-sanitization".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-document-domain".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-document-write".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-exec-script".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-function-constructor-with-string-args".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-http-string".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-inner-html".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-jquery-raw-elements".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-string-based-set-immediate".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-string-based-set-interval".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-string-based-set-timeout".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-unnecessary-bind".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-unnecessary-override".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-unsupported-browser-code".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "no-with-statement".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "non-literal-require".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "possible-timing-attack".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-anchors".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-aria-unsupported-elements".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-event-has-role".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-image-button-has-alt".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-img-has-alt".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-lang".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-meta".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-props".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-proptypes".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-role".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-role-has-required-aria-props".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-role-supports-aria-props".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-tabindex-no-positive".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-a11y-titles".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-anchor-blank-noopener".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-iframe-missing-sandbox".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-no-dangerous-html".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-this-binding-issue".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "react-unused-props-and-state".
tslint-to-eslint-config does not know the ESLint equivalent for TSLint's "whitespace".

So is there a rule checking inner-html? imo we should keep that one around

eslint caused a bunch of weirdness when i was first setting up the skillmap build, does everything still work if you run pxt skillmap in pxt-arcade?

This is awesome @darzu.

Good question, I'll try it out!

That entire file can go away? Time to clean up the old cloud sync stuff.

From: Abhijith Chatra @.>
Sent: Thursday, April 1, 2021 7:57:14 PM
To: microsoft/pxt @.>
Cc: Subscribed @.***>
Subject: Re: [microsoft/pxt] Migration from TSLint to ESLint (#8039)
@abchatra commented on this pull request.

In webapp/src/onedrive.tshttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpxt%2Fpull%2F8039%23discussion_r605844707&data=04|01|jhalleux%40microsoft.com|f23437139a3a41d2eabe08d8f5379548|72f988bf86f141af91ab2d7cd011db47|1|0|637528966366018475|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iluOrjBHOl2yK%2Fo0St9djtjsN3klWld4bO3DH4VdrSU%3D&reserved=0:

@@ -417,6 +417,7 @@ export class Provider extends cloudsync.ProviderBase implements cloudsync.Provid
ifr.style.border = "0";
hiddenFrame = (document.getElementsByTagName("body")[0].appendChild(ifr) as HTMLIFrameElement);
} else if (document.body && document.body.insertAdjacentHTML) {

           // eslint-disable-next-line @microsoft/sdl/no-inner-html

Inner html are risky
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2Fpxt%2Fpull%2F8039%23discussion_r605844707&data=04|01|jhalleux%40microsoft.com|f23437139a3a41d2eabe08d8f5379548|72f988bf86f141af91ab2d7cd011db47|1|0|637528966366028475|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=XsMxm%2FZ3H6h5BipQYHG%2B3Ht%2BRyGVc08EqUX%2BM9lIxC4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAA73QKPYQK2T7PMAOI5J5GDTGSXXVANCNFSM42GAWTRQ&data=04|01|jhalleux%40microsoft.com|f23437139a3a41d2eabe08d8f5379548|72f988bf86f141af91ab2d7cd011db47|1|0|637528966366028475|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=fwm%2B0bh9gDqEwmWWuapFdIl6dvL%2BpZTGSphldxaFH%2BI%3D&reserved=0.

That entire file can go away? Time to clean up the old cloud sync stuff.

Yup, as soon as we're finished with micro:bit release I'm doing a cleanup of the workspace layer which includes getting rid of this old OneDrive stuff.

I am not sure onedrive is linked to workspace cleanup. It can go out now. It is not used anywhere.

Additional Changes
Update node from v8 to v14
eslint wasn't compiling with node v8 because it depended on newer features. So I took a stab at updating node to v14 (in our package.json and github workflow builds). This seems to have worked everywhere except for our package "webfonts-generator".
webfonts-generator
"webfonts-generator" started failing to build with node 14. This npm package was abandoned (https://www.npmjs.com/package/webfonts-generator) at our version, but there is a maintained fork (https://www.npmjs.com/package/@vusion/webfonts-generator) here that I switched us to and now everything builds, lints, and tests fine.
Skillsmap, react-scripts & ESLint
Skillsmap uses react-scripts which internally uses eslint, but it was using eslint v6.x (this PR uses v7.x). For whatever reason I couldn't quite understand, react-scripts is unhappy about this even if I told it to disable linting. So I updated react-scripts to v4.x which uses v7.x and it no longer complains about incompatible versions. However, due to somewhat strange behavior in how eslint config files work (file paths are considered relative to the execution cwd of eslint proc, not the .eslintrc.js file), I had to disable eslint as part of the react-script build. However skillmap/ folder is still linted correctly by vscode and by gulp lint, just not by pxt skillmap. FYI: @riknoll , @shakao

Additional Changes pt.2
lint streamer
Streamer wasn't being linted by gulp but probably was being linted by Peli's tslint vscode plugin. The eslint vscode plugin doesn't lint files unless they're part of a .eslintrc.js tree, so I added a .eslintrc.js file to streamer and added it to the gulp lint build. It's worth noting that a lot of the rules, esp the new no-inner-html rule, are more precise and permissive than before. All the innerHtml usage in streamer was actually safe and no longer needs a lint exception.
removed onedrive.ts
Wasn't used.


Python3 w/ Python2 backward compatibility

Hi,
This is related to https://github.com/nginxinc/nginx-ldap-auth/issues/60 and https://github.com/nginxinc/nginx-ldap-auth/pull/66
From the comments, I felt that that nginx devs would rather keep python2 backward compatibility as long as possible. This PR should amend yours to do this.
Notes:

I didn't quite grasp the #!/bin/sh at the beginning. It's a python file right?
adds the six python lib as a dependency, it is ubiquitous anyways.
I haven't tested it because I'm an ldap newbie
python3 branch is rebased on top of today's nginxinc/master

Hi,
This is related to nginxinc#60 and nginxinc#66
From the comments, I felt that that nginx devs would rather keep python2 backward compatibility as long as possible. This PR should amend yours to do this.
Notes:

I didn't quite grasp the #!/bin/sh at the beginning. It's a python file right?

This wasn't added by me - it was in the original.  My understanding is instead of setting #!/usr/bin/python2 and having it only work SOME of the time, there's actually a clever amount of shell scripting to find python2 or python in whatever paths make sense and initiate the script through the proper binary.  All I would have done is rename python2 to python3.

adds the six python lib as a dependency, it is ubiquitous anyways.
I haven't tested it because I'm an ldap newbie
python3 branch is rebased on top of today's nginxinc/master


Support boolean attributes

http://www.rubydoc.info/gems/slim/frames#Boolean_attributes
We'll probably need a dedicated AttributeValue trait for this:
pub trait AttributeValue: fmt::Display {
    fn render_as_attribute(&self, sink: &mut MarkupSink, name: &str) {
        sink.write_str(" ");
        sink.write_str(name);
        sink.write_str("=\"");
        sink.as_escaped().write_fmt(format_args!("{}", self));
        sink.write_str("\"");
    }
}

impl AttributeValue for bool {
    fn render_as_attribute(&self, sink: &mut MarkupSink, name: &str) {
        if *self {
            sink.write_str(" ");
            sink.write_str(name);
        }
    }
}

impl AttributeValue for str {}
impl AttributeValue for i32 {}
// ...

Depends on #3.

I ultimately chose to use a dedicated syntax for boolean attributes. The trait-based solution led to too much boilerplate, and didn't optimize as well.


gpg: can't open '*.asc': No such file or directory

It is no longer building for me (post commit 645f78d904503ef02767664beba59268dbb11cfa).
#make REPOS='Raspbian'
Adding group `systemd-journal' (GID 101) ...
Done.
Setting up systemd-sysv (232-25+deb9u1) ...
Setting up init (1.48) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
gpg: can't open '*.asc': No such file or directory
rootfs.mak:112: recipe for target '/home/rs4/rpi3-myth0.29/rpi-img-builder/rootfs' failed
make[1]: *** [/home/xx/rpi3-myth0.29/rpi-img-builder/rootfs] Error 2
Makefile:21: recipe for target 'build-rootfs' failed
make: *** [build-rootfs] Error 2

# cat plugins.txt
plugins/Raspbian/copies-and-fills
plugins/Raspbian/kernel
plugins/Raspbian/rpitools
plugins/stretch/extrapackages
plugins/stretch/noPersistentNetGen
plugins/stretch/oldNetNaming
plugins/alsa
plugins/common
plugins/dbreconfig
plugins/disableroot
plugins/extrapackages
plugins/fake-hwclock
plugins/fsckboot
plugins/hostname
plugins/resizefs
plugins/sshkeys
plugins/swap
plugins/tmpfs

very odd I put in a fix for this exact bug, I'll try retesting it.

I tried building again with
make REPOS='Raspbian Foundation'
and this time it did build.


Make 'pivpn add' more intuitive or foolproof

It asked a lot that people might not be sure of.  You have to enter your passphrase about 5 times and depending on where you type it wrong you will get no error until you use a client to try to connect.  Maybe we can automate this better.
This might be the place to use 'expect'.

This has been resolved with this commit: af19eeb55bc5fe4273ed1223da4f844c589287c0


Comment single-line to multi-line formatting is botched

Given source like this:
fn foo(x: impl Iterator<Item = &'a PathBuf>) -> io::Result<impl Iterator<Item = &'a PathBuf>> {
    for foo in bar {
        for line in BufReader::new(File::open(banana)?)
            // A fairly long comment with https://google.github.io/flatbuffers/flatbuffers_grammar.html
            // an URL
            .lines()
        {
            let peach = match (loop {}) {
                Some(idx) => idx + open_quote, // get the absolute position from the original string
                None => loop {},
            };
        }
    }
}

rustfmt will produce the following diff:
             .lines()
         {
             let peach = match (loop {}) {
-                Some(idx) => idx + open_quote, // get the absolute position from the original string
+                Some(idx) => idx + open_quote, /* get the absolute position from the original
+                                                 * string */
                 None => loop {},
             };
         }

In this diff an incorrectly aligned 2nd line of the block comment can be seen.

Confirming I can reproduce this using rustfmt 1.5.1-nightly (f2c31ba0 2022-07-19) and wrap_comments=true
Linking tracking issue for wrap_comments #3347


PR: Improve UI/UX of the Debugger pane

Description of Changes

Add new icons for the go to editor, interrupt and debug and list breakpoints actions.
Add new action and icon for postmortem debugging because it's easier ti understand for users if we don't mix that functionality with interrupt and debug.
Don't use color scheme colors in the frames browser. That's because they are not necessarily compatible with the interface theme.
Allow the breakpoints table to be collapsed and remove minimum width for it.
Split main toolbar buttons in sections for clarity.

Visual changes

Main toolbar

Before
After

Frames browser

Before
After

Issue(s) Resolved

Fixes #22070.
Part of #21856.
Affirmation
By submitting this Pull Request or typing my (user)name below,
I affirm the Developer Certificate of Origin
with respect to all commits and content included in this PR,
and understand I am releasing the same under Spyder's MIT (Expat) license.

I certify the above statement is true and correct:

I discussed these changes with @conradolandia (who also designed the new icons) and he agrees with them.
So, I'm going to merge this one.


Unhandled exception escaping from a worker thread!

librealsense
2.54.2 RELEASE

OS
Windows

Intel RealSense Viewer / Depth Quality Tool has crashed with the following error message:
Unhandled exception escaping from a worker thread!
Error type: Access Violation!

Hi @Mosig33  Please first check whether permission to access the camera hardware and permission for applications to access the camera are both set to 'On' in the Windows camera privacy settings.  This can be done using the instructions at https://github.com/IntelRealSense/librealsense/issues/3381#issuecomment-503424789

Hi, thanks for the feedback. Just to add, everything you suggested is already done, and the crash happened after i was out of the Camera Video for like 10mins... When i came back, i saw he crash message.

Which firmware driver version is your camera using, please?  You can find the firmware version in the RealSense Viewer by clicking on the 'Info' button at the top of the Viewer's options side-panel.  Firmware <IP_ADDRESS> should be used with 2.54.2.

Hi @Mosig33  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Feat: SNARK proof verification

Description
Thanks to the amazing work of garaga it is now possible to verify SNARK proofs on Starknet. We want to show a use case of this with an example of a contract that rely on a deployed verifier to verify one proof and do something with the result.
An opening idea would be age verification where users can prove they are above a certain age without revealing their birth date.
Criteria:

You can use any predeployed verifier contracts such as risc0, or deploy your own verifier (groth16, noir) (no need to explain how to deploy the verifier)
Include an example of verifying a proof on testnet
Have a working example that leverage private inputs for privacy and potential public inputs

Resources:

Garaga

ODHack
To be eligible for additional rewards, be sure to review and follow the ODHack Common Guidelines and Contributing Guidelines.
Be sure to join the telegram group and introduce yourself.

Hi

Hi this seems like a really interesting issue, I'd love to work on it.
I have experience with Cairo and Rust, and contributed to Kakarot-ssj

Is it okay if I take this?

Can I work on this, please?

Hi @julio4,
As you suggested different zk-snark proving schemes, do you think we could divide this issue in 2, and I could provide an example with a proving scheme different than the one the person already assigned is doing ? I think it could be interesting to have several examples showcasing how to use different proving schemes and for different use cases too


issue#28 - pad by time test

Tests: Data Wrangling Functions #28
part 3:  pad by time

@tackes - I removed the "auto" functionality in pad_by_time(). We aren't quite there yet as discussed in #36. Can you please remove those tests that fail. We will revisit this once we add automatic frequency detection.


Resolve error if symlink or file already exists

Should resolve this error:
https://github.com/2i2c-org/infrastructure/pull/2560
I'd like to document how to test the effects of mounting the network homedir on my local machine. For example:
mkdir -p /tmp/fakehome
repo2docker -v "/tmp/fakehome:/home/$USER" .

This doesn't work as I expect; repo2docker expects the repo's configuration files to exist in /home/$USER and throws FileNotFoundError: [Errno 2] No such file or directory: '/home/mfisher/start'.
The volume "$PWD:/home/$USER" is better, but repo2docker throws PermissionError: [Errno 13] Permission denied: '/home/mfisher/start'. If I make the file executable, I can then start up the container. However, my git repository is now polluted with all the build/startup artifacts (.config/, .jupyter/, .local/, .mozilla/, Desktop/). I used this method (started the container up once, it created all the artifacts, then started it again and it didn't fail this time) to test this pull request should lead to a successful build, but would like to document a better method, if possible :)

@MattF-NSIDC look at the REPO_DIR config set for the github action and pass that to —repo-dir on your commandline test?


Autoscroll getting "pulled back" when inserting newlines at end of the file

This is almost certainly related to the presenter changes, so I'll take care of this before we release on Tuesday.

Sorry, I had forgotten that I had built my manual DOM updates branch. This isn't an issue on master.


Fix czech grammar in cs.json

This PR references issue #143.
I updated the Czech translation file, removed :locale and added the Czech adjective instead.

Thank you!!


Add index option to customize file

This PR adds an --index option to point to an index file from the command line.

NOTE: This option MUST precede the --build option

LGTM, thank you!


Update README.md

translate to English

Thanks for your contribution, but we ended up using an internal translation. :+1:


[2.7] Backport Custom SSH Port

Backport:
To release-v2.7:

https://github.com/rancher/rancher/issues/42806

This solution will only be available at Rancher v2.8+


Add build a new Express app tutorial

Checklist

[x] commit message follows commit guidelines.
[x] website builds and runs in production - for information on how to test locally go here.

Description
Translate the existing tutorial on medium https://medium.com/appsody/nodejs-express-cloud-native-70022e7d5371 into Markdown, update it and add it to the new tutorials page on Appsody.
Related Issues
#552

@KyeMaloy97 please can you validate the formatting I've done and move the pictures out to the /resources folder, thanks

@sam-github - I think I've addressed all of your requested changes, please can you review this again?


Source not there and cannot find it: NitroShare

NitroShare: https://github.com/caskroom/homebrew-cask/blob/master/Casks/nitroshare.rb
Trying to perform a regular install fails:
Error: It seems the App source '/usr/local/Caskroom/nitroshare/0.3.4/NitroShare.app' is not there.

Using brew cask fetch nitroshare I downloaded the dmg. Opening it with Finder shows NitroShare.app. However, navigating there there with the terminal shows nitroshare.app.
Using brew cask edit nitroshare and updating the app value to nitroshare.app allows the installation to succeed. However, after installation opening Applications in Finder shows NitroShare.app, while using the terminal shows nitroshare.app. That seemed weird, so I figured opening an issue would be safer.
I'm on macOS Version 10.13.3 and I'm using a case-sensitive APFS drive.

Next time, please fill the template.


Documentation builds fail - Mapgenerator breaks with matplotlib >= 3.6

The mapgenerator package is incompatible with matplotlib >= 3.6 because it uses the function matplotlib.cbook.deprecated, which has been deprecated in matplotlib 3.4 and has finally been removed in matplotlib 3.6; this breaks our tests.
I will patch the conda-forge package of mapgenerator to to introduce an upper limit, but this is a temporary fix since it blocks us from updating matplotlib.
For a permanent fix it would be good to fix mapgenerator itself.
@sloosvel, since the package originates from BSC, do you think you could drive this forward?
Perhaps @schlunma, you could help because, as I understand it, the problem is that it uses some API from matplotlib that was used to mark deprecations and that has been removed or made private to matplotlib as the general Python deprecation handling matured, and you have some experience with deprecations?

eagle eyed Klaus :eagle: I was just about to open the same thing! Here is the test fail - currently tests pass since the environment has automagically reverted to matplotlib 3.5.3 (I have seen a bunch of unrelated failures in the 3.6.0 rc so prob the Matplotlib guys are looking into those atm); shall we pin Matplotlib for now?

I suggest we find (even an interim) solution to this rather sooner than later, please - our tests are starting to drop like proverbial flies, see the conda lock test now - I can push a temp pin right away if that's OK with you, Manu is on holidays so maybe Saskia can give us some help with the BSC package, but in the meantime I suggest we pin the plotster

I have reported that already. I will let you know when it's solved.

cheers, Saskia :beer:

Would it make sense to pin matplotlib for now as proposed by @valeriupredoi? Our documentation build appears to be failing because of this (see #2824).

if there are no moves on this by Friday, I will open a PR with a matplotlib pin - but what's the situation with Mapgenerator at good old BSC, @sloosvel

I don't think it will be ready for this release. You can follow or ask in this issue: https://earth.bsc.es/gitlab/es/mapgenerator/-/issues/80

good catch @bouweandela - why did silly GH API close this, I didn't say Closes XXX

at least GH is not a grammar naz* :laughing:

@sloosvel, any progress on this upstream? I am keen to move forward with matplotlib. If I recall correctly, the fix is not terribly hard to do. Let me know if you need help.

Let me ask again

Ok version 1.0.6 is now available on pypi, the decorator that was causing issues is now removed.

That's great! Would you or one of your colleagues like to become co-maintainer on the conda-forge feedstock? I'm happy to continue, so no pressure; just the bus factor.

Mapgenerator is now released in a fixed version also on conda-forge, so we should be able to drop our pin on matplotlib.

muzik to me ears, let me open a PR with the pin drop then - cheers for the good work, guys :beers:

That's great! Would you or one of your colleagues like to become co-maintainer on the conda-forge feedstock? I'm happy to continue, so no pressure; just the bus factor.

FYI @fbeninca


Upgrade API version for v2

Would be really nice if this pull request could be merged, so that we benefit from the latest API version! 🙏🏻

Thanks for this pull-request and  sorry for such a late response!


Broken async middlewares

hello there, mate! thanks a lot for your effort making this library
there's an issue that is easy to reproduce:
the below code works (i.e. the response is test, in 5 sec):
import Koa from 'koa'
import Router from '@koa/router'

const router = new Router()
const app = new Koa()

router.get('/foo', async ctx => {
  await new Promise(resolve => setTimeout(resolve, 5000))
  ctx.cookies.set('foo', 'bar')
  ctx.body = 'test'
})

app.use(router.routes())
app.listen(3000)

however, this doesn't work (the response "not found" is sent immediately, and in 5 seconds ERR_HTTP_HEADERS_SENT happens):
import Koa from 'koa'
import { zodRouter } from 'koa-zod-router'

const router = zodRouter()
const app = new Koa()

router.get('/foo', async ctx => {
  await new Promise(resolve => setTimeout(resolve, 5000))
  ctx.cookies.set('foo', 'bar')
  ctx.body = 'test'
})

app.use(router.routes())
app.listen(3000)

Hi Peter, thanks so much for catching this! I've just published 1.1.2 which i believe should fix the issue for you.
hope you're enjoying the lib and if you have any additional feedback I would love to hear from you in the discussion section.

@JakeFenley that was blazing fast, thank you for this! Everything is great so far, no more feedback 😄


Setting ESModule as output breaks test

Versions:
addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0")
val scala3Version = "3.5.0-RC7"
I made a change to my project to generate ESModule:
crossProject(JSPlatform, JVMPlatform, NativePlatform)
...

  .jvmSettings(
    libraryDependencies += "org.scala-js" %% "scalajs-stubs" % "1.1.0",
  )
  .jsSettings(
    scalaJSLinkerConfig ~= { _.withModuleKind(ModuleKind.ESModule) }
  )
  .nativeSettings(
    libraryDependencies += "org.scala-js" %% "scalajs-stubs" % "1.1.0",
  )

Then I noticed that CI was failing. The CI uses the command sbt test to test the project
export { $e_Parser as Parser };
^^^^^^

SyntaxError: Unexpected token 'export'
    at wrapSafe (node:internal/modules/cjs/loader:1281:20)
    at Module._compile (node:internal/modules/cjs/loader:1321:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
    at Module.load (node:internal/modules/cjs/loader:1208:32)
    at Module._load (node:internal/modules/cjs/loader:1024:12)
    at cjsLoader (node:internal/modules/esm/translators:348:17)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:297:7)
    at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
    at async ModuleLoader.import (node:internal/modules/esm/loader:316:24)

Link to CI output
https://github.com/chester-lang/chester/actions/runs/10430432367/job/28888975567

Have a look at the "ES modules and Node.js" section here: https://www.scala-js.org/doc/project/module.html
It looks like this is the issue.

I don't understand. Does it means that sbt test is impossible and I should avoid sbt test with ESModule?

@mio-19 you can follow the example in the section "ES modules and Node.js".
https://www.scala-js.org/doc/project/module.html#es-modules-and-nodejs


[FLINK-35236] [chinese-translation] Modify Translation error on the execution_mode/order-of-processing

I'm glad to be here for the first time to open a pull request 'Modify Translation error on the execution_mode/order-of-processing'.
If there are any mistakes made, please feel free to point them out.

result:'既不从广播输入也不从 keyed 输入'

I overlooked the completeness of the submission information during the first submission, resulting in multiple submission records for one change.
If necessary, I am willing to correct this error.

Thanks for the fix. I just left a minor comment, please take a look.
BTW, could you please squash all commits to one: [FLINK-35236][docs] Fix incorrect translation on execution_mode.md

I am glad to continue modifying it

Thanks for the fix. I just left a minor comment, please take a look.
BTW, could you please squash all commits to one: [FLINK-35236][docs] Fix incorrect translation on execution_mode.md

I am glad to continue modifying it

Sorry,I get a wrong operator,and I will pull a request again.
Thanks.


Update dot-rev shader to new dot interpolation

[x] Tiles have data
[x] Functional style
[ ] Styling polish

used in playgrounds and parking lots

I might not switch this to the dot interpolation transition for now, i like that it's a different type of surface


springboot 1.5 not work when use skywalking

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ 1] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?

project use springboot 1.5，when add skywalking to it，it can not start competely，skywalkig log no error，project start log stuck，and no error log，remove skywalking， it can work
when i use arthas look classloader info,  org.springframework.boot.loader.LaunchedURLClassLoader just load one class，where is the problem

This description is not enough, I am not sure what when i use arthas look classloader info, org.springframework.boot.loader.LaunchedURLClassLoader just load one class means.

This description is not enough, I am not sure what when i use arthas look classloader info, org.springframework.boot.loader.LaunchedURLClassLoader just load one class means.

org.springframework.boot.loader.LaunchedURLClassLoader should load class in springboot project, when add skywalking, it looks like something stuck the load

Spring boot codes are used in many test cases. I don't know this is the typical key.

Such as this one, https://github.com/apache/skywalking/blob/master/test/plugin/scenarios/spring-tx-scenario/pom.xml#L40

Such as this one, https://github.com/apache/skywalking/blob/master/test/plugin/scenarios/spring-tx-scenario/pom.xml#L40

project use ext classloader load all dependency, it not work


cli: allow ignoring specific vulnerability IDs

This commit introduces a new flag to pip-audit's CLI (--ignore-vuln)
that takes a string representing a vulnerability id, if any of the
packages scanned detect said vulnerability, it will be ignored in the
final report.
This allows users of pip-audit to ignore certain vulnerabilities that
they may deem not exploitable for whatever reason.
The flag can be used multiple times to ignore multiple vulnerabilities.
Closes #245

Thanks a ton @Elkasitu!


Set default_security for the tests to everyone

This sets default security for the eunit tests to "everyone" to allow them pass again

+1


this extension killed my A1111 i have to install it again (maybe)

i just installed this extension inside A1111 and after i reset (after installation ) A111 give me error and say   to write --skip-torch-cuda-test  to my COMMANDLINE_ARGS ,  what even this happened ?

same issue here after installing this Stable Diffusion can't acces my nvidia gpu anymore. Removing the extension and deleting the venv folder so it does a reinstall fixes the problem.


Whenever the containers are being modified, clicking view logs or view verbose logs will occasionally produce an error

Bug Report
What did you do?
Actions which lead to errors:

Click view logs for both container:init and container:OPERATOR_NAME
Click view verbose logs under container:OPERATOR_NAME for an existing custom resource

Scenarios in which these actions result in errors:

When clicking create operator perform action before creation finishes
With operator already installed, click redeploy collection button, before it finishes perform action
With operator already installed, click redeploy operator button, before it finishes perform action

What did you expect to see?
No errors and a notification asking me to try my action again in the event of failure.
What did you see instead? Under which circumstances?
Error produced when clicking view logs button:
Error running command operator-collection-sdk.viewLogs: Cannot read properties of undefined (reading 'parentOperator'). This is likely caused by the extension that contributes operator-collection-sdk.viewLogs.

Error produced when clicking view/edit logs button:
Error running command operator-collection-sdk.viewVerboseLogs: cannot open verboseContainerLogs://freemanlatrell-file-manager-operator-57bf5dd85-fk4k9/freemanlatrell-file-manager-operator/v1minor0patch0/File/example-file-for-extension-test. Detail: Cannot read properties of undefined (reading 'statusMessage'). This is likely caused by the extension that contributes operator-collection-sdk.viewVerboseLogs.

Possible Solution

Additional context

The object, which is sometimes undefined is passed from the treeDataProvider to the function so error checking to catch that was added in #46.


Dark Mode button overlapping with Header at smaller screen size

The dark mode button in the header is overlapping with the "Graphing calculator" text in the header.
Screenshot for reference:

What device are you on?
There's no issue for me.

Sorry for not mentioning but it is occurring on smaller screen size.


Unsplash search engine, and firefox browser enhancement and image resolution preferences

Dear schzengyabin,
I would like to contribute to this project with the following enhancements

Unsplash search engine option
Firefox browser option
Image Resolution Preferences

The screenshots can be seen below. Hope to hear from you soon!
Thank you

@martinearlz please create pull request

I have made the pull request ! thank you!


gcloud dataproc cluster create with cloud-sql-proxy dataproc-initialization-actions fails

Steps to reproduce:

Create GCP project.
Spin up a Cloud SQL instance (Type: MySQL 2nd Gen 5.7).
Create a dataproc cluster with initialization action to install cloud sql proxy and configure the cluster to store Apache Hive metadata on Cloud SQL instance created in step 2.
Command used:
gcloud dataproc --region <REGION - same as Cloud SQL instance>
clusters create
--subnet default --zone
--scopes sql-admin
--initialization-actions gs://dataproc-initialization-actions/cloud-sql-proxy/cloud-sql-proxy.sh
--properties hive:hive.metastore.warehouse.dir=gs://<HIVE_BUCKET>/hive-warehouse
--metadata "hive-metastore-instance=::< INSTANCE_NAME>"
--master-machine-type n1-standard-1 --master-boot-disk-size 10
--num-workers 2
--worker-machine-type n1-standard-1 --worker-boot-disk-size 10
--image-version 1.2
--project

The cluster is created but Initialization action failed. Failed action 'gs://dataproc-initialization-actions/cloud-sql-proxy/cloud-sql-proxy.sh'.
Logs are attached.
google-cloud-dataproc-metainfo-dataproc-startup-script_output.txt
google-cloud-dataproc-metainfo-dataproc-initialization-script-0_output.txt

Did you set a password when creating the instance? If so, you need to pass in an admin password in order for the script to setup the hive user and other tables. I'd suggest setting up these passwords with KMS, which is detailed in the README

Cloud SQL instance was created without admin password set.

@karth295 - we are not using any non-default firewall rules. All the spellings project, region and instance names are correct. If not for those then would have encountered a different error.
About the "set -x" - where should this change be made?

You can change the line that says set -euo pipefail to set -euxo pipefail. The -x flag means print every command before running it. Then, upload your copy of cloud-sql-proxy.sh to a GCS bucket and use --initialization-actions gs://<your-bucket>/cloud-sql-proxy.sh.

I am also facing the same issue. I have added the -x option and here are my logs.
`++ /usr/share/google/get_metadata_value attributes/metastore-proxy-port
++ echo 3306

metastore_proxy_port=3306
[[ true != \t\r\u\e ]]
local proxy_instances_flags
proxy_instances_flags=
configure_proxy_flags
[[ true = \t\r\u\e ]]
[[ -z digital2go-1186:us-central1:d2go-metastore ]]
[[ digital2go-1186:us-central1:d2go-metastore =~ .+:.+:.+ ]]
[[ digital2go-1186:us-central1:d2go-metastore =~ =tcp:[0-9]+$ ]]
metastore_instance+==tcp:3306
proxy_instances_flags+=' -instances=digital2go-1186:us-central1:d2go-metastore=tcp:3306'
[[ -n '' ]]
[[ Master == \M\a\s\t\e\r ]]
[[ true = \t\r\u\e ]]
systemctl is-enabled --quiet hive-metastore
hive-metastore.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install is-enabled hive-metastore
systemctl stop hive-metastore
systemctl is-enabled --quiet mysql
mysql.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install is-enabled mysql
systemctl stop mysql
systemctl disable mysql
mysql.service is not a native service, redirecting to systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install disable mysql
insserv: warning: current start runlevel(s) (empty) of script mysql' overrides LSB defaults (2 3 4 5). insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script mysql' overrides LSB defaults (0 1 6).
install_cloud_sql_proxy
wget -q https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64
mv cloud_sql_proxy.linux.amd64 /usr/local/bin/cloud_sql_proxy
chmod +x /usr/local/bin/cloud_sql_proxy
mkdir -p /var/run/cloud_sql_proxy
cat
chmod a+rw /usr/lib/systemd/system/cloud-sql-proxy.service
systemctl enable cloud-sql-proxy
Created symlink /etc/systemd/system/multi-user.target.wants/cloud-sql-proxy.service �~F~R /usr/lib/systemd/system/cloud-sql-proxy.service.
systemctl start cloud-sql-proxy
echo 'Cloud SQL Proxy installation succeeded'
Cloud SQL Proxy installation succeeded
[[ true = \t\r\u\e ]]
cat
bdconfig merge_configurations --configuration_file /etc/hive/conf/hive-site.xml --source_configuration_file hive-template.xml --clobber
[[ true = \t\r\u\e ]]
[[ mysql-test-m == \m\y\s\q\l-\t\e\s\t-\m ]]
configure_sql_client
cat
mysql -u hive -phive-password -e ''
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0
mysql -u root '' -e 'CREATE USER '''hive''' IDENTIFIED BY '''hive-password''';'
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial communication packet', system error: 0`

Even I am facing the same issue. Adding the -x option to pipefail showed me that the initialisation action was failing in configure_sql_client function, to be precise here...
# Check if metastore is initialized.   if ! mysql -u "${db_hive_user}" "${db_hive_password_parameter}" -e ''; then.
It shows the following error:
Lost connection to MySQL server at 'reading initial communication packet', system error: 0
I tried manually running the above query by passing the -h <host_ip> and it connects for the root user and not the hive user.

The initialisation script works with older dataproc images 1.2.0, but not with the latest ones

Any update on this. I had a pretty similar problem but in my case it says

mysql -u hive -phive-password -e ''
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (111)
mysql -u root '' -e 'CREATE USER '''hive''' IDENTIFIED BY '''hive-password''';'
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (111)

However when I ssh to the cluster's master node and execute "mysql -u hive -phive-password" I'm able to connect to MySQL.
thanks

@cocoza4 We are seeing this issue to, it appears to be the script is failing to start the proxy before using the connection. I think we've strayed onto a separate issue so that should be raised separately

Not yet .. I'm currently in the process of reproducing

@martynbristow seems like someone has done it for us. see
https://stackoverflow.com/questions/52532496/dataproc-hive-error-2003-hy000-cant-connect-to-mysql-server-on-localhost

Looks like @dennishuo authored a fix in #356 based on the error on the stackoverflow post. Is that the same error as in OP's case though? @v-sharma do you mind trying Dennis's fix?

FYI we also narrowed down the change to an upstream release of cloud-sql-proxy updating the binary under dl.google.com earlier this week, (Sept 24, 7:30 PM pacific time); if the failures started around that time, then it's highly likely the same root cause, and picking up https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/pull/356 should fix it for you.

I'm going to close this issue because it is a year old, and multiple fixes have gone into this init action: https://github.com/GoogleCloudPlatform/dataproc-initialization-actions/commits/master/cloud-sql-proxy, including adding integration tests.


candidate f64 support

I ran into a situation where I needed floating point support and ended up doing some hacking around with string passing and converting outside of the Rhai script. Then I was looking through the issues and noticed #28, thought I'd take a crack at it. Basically this short circuits the token parsing to add an additional literal type that starts with "f" and attempts to treat it like a float (f64 only at this point). There are probably some more efficient or elegant ways to do this, but I didn't want to mess with the rest of the parsing engine unless this solution is not acceptable.
an example of usage would be
let x = f1_0;
let y = f1_1;
print(x < y)

which will yield true. i added some test cases around the floats and all others are passing as well. i'm completely open to re-implementing this a different way.

This does have the downside of shadowing valid variable names.
let f1 = 10;
let x = f1;
print(x)

will print 10 instead of 1 like you might expect.

hmm, apart from the syntax, I like the changes. Maybe we could look into parsing floats with a familiar syntax?
Line 273 in parser.rs is where we parse (at the moment) integer literals. Since our TokenIterator can do peeking, maybe we could peek if there is a dot after the last digit and if yes, try parsing digits behind it.
Let's ask @jonathandturner for his opinion on this, too.

I agree, the more I've used it the more I'm convinced I need to rework the syntax. I'll submit a different candidate tonight or tomorrow.

Pushed a more sane implementation with very standard syntax and without the token name collision I mentioned above.
let x = 1.99;
let y = 2.00;
print(x < y);

will produced the desired true.

This is exactly what I had in mind. Could you try resolving the conflicts in src/tests.rs created after I merged your stringly += PR? I could merge, then

Lovely, merging!


Publish docs for release 0.13

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/cherry-pick release-0.13


Ranker1p4

Updates to ranker to handle trapi 1.4 messages. Auxillary graphs are not fully considered in this PR

What does "auxilliary graphs are not fully considered" mean?

We don't currently have any responses to work off of so were planning to add it in after we can get a number of example responses

Yes, but we do have a spec for responses, right?

Yep, I'll finish it up - I am expecting some bugs when we do get them


chore: add pimlie into the core team

Codecov Report

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

@@           Coverage Diff           @@
##              dev    #5494   +/-   ##
=======================================
  Coverage   96.09%   96.09%
=======================================
  Files          74       74
  Lines        2563     2563
  Branches      652      652
=======================================
  Hits         2463     2463
  Misses         84       84
  Partials       16       16

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 87fcf55...b413d81. Read the comment docs.


Error: Invalid bottom margin - expect value between 0 and 1

Lightweight Charts™ Version: 4.1.1
Steps/code to reproduce:

	rightPriceScale: {
		scaleMargins: {
			top: 0.51,
			bottom: 0.51,
		},

Actual behavior:
Any two values whose sum is above 1 will trigger the following misleading Error: Invalid bottom margin - expect value between 0 and 1
Expected behavior:
As per the error, any values between 0 and 1 should be accepted
While I am on the subject I would also like to ask how to get the visible price range at any given time. I figured out how to obtain the maximum and minimum visible value of any series at any given time without computations, but I would also like to find a way to get the maximum and minimum visible value of the price scale (including the margins) at any given time please.
Thank you

The occurrence of an error message is expected, but it seems that the message needs to be updated to rather state this:

Error: Invalid bottom margin - expect value between 0 and 1, and the sum of top and bottom margins should be less than 1

For your question about the visible range of the price scale, perhaps this answer, or this plugin would be useful for you:

https://github.com/SlicedSilver/lwc-plugin-visible-price-range-util

As usual, very useful answer, thank you!
I will be using coordinateToPrice(), it works perfectly for what I need.
I haven't been able to make any plugins yet, I have tried though but I feel like there's a barrier for me there, can't quite grasp how to make one. (I know, the plugin you linked to is already developed and I just need to plug it in, but I would still like to make my owns later on)
Will have to look more into it later.

Reopening the issue so that the error message can be updated to include more information.


Timber::get_term() API: clarify taxonomy requirements

Is your feature request related to a problem? Please describe.
Per #2073, we're moving away from direct instantiation of Terms in favor of Timber::get_term(). The problem here is that simply changing from new Timber\Term($term_id) to Timber::get_term($term_id) will break existing code in most cases, because the current Timber::get_term() implementation uses a default $taxonomy (second arg) of post_tag.
The following tests in tests/test-timber-term.php fail if the constructor call in each is changed to a direct Timber::get_term(...) call without also specifying a $taxonomy:

testConstructor
testTermChildren
testTermWithNativeMeta
testTermWithNativeMetaFalse
testTermWithNativeMetaNotExisting
testTermEditLink

Describe the solution you’d like
It would be better if the $taxonomy arg to Timber::get_term() defaulted to the empty string. This would be more in line with the core API, and I believe it does not constitute a breaking change to existing calls to Timber::get_term().
If possible, Timber::get_term() should also support things that Term::__construct() currently supports, i.e.:

[ ] Passing a slug as first param
[x] Passing an object as first param
[ ] Anything else?

Describe alternatives you’ve considered
A sub-optimal solution (which is being incorporated into the refactor on #2085) is to require a second $taxonomy param in every case. This would likely mean considerably more work for upgrading downstream code, over and above the work required to migrate away from direct instantiation.
Additional context
#2085 introduces a quick way to run tests that call, or did at one point call, the Timber\Term constructor:
phpunit --group called-term-constructor

Note at time of writing this is not on 2.x yet, but hopefully will be soon!

@jarednova - would be good to get your thoughts on why "post_tag" was originally chosen as the default instead of "". Thanks!

@acobster I believe this goes back to waaaaaaay long ago days (~2012) when WP Core assumed post_tag as the "default" tag in a number of situations. Things have come a long way since then, and based on the current docs, it looks like that's no longer the case (or at least, that assumption has been deprecated)

It would be better if the $taxonomy arg to Timber::get_term() defaulted to the empty string. This would be more in line with the core API, and I believe it does not constitute a breaking change to existing calls to Timber::get_term().

I think it’s better if we can match the core API. And I think we can probably do better than WordPress Core and describe in more detail what the default argument "" does.
As far as I can tell from looking at the Core code, the result shouldn’t change for most existing calls to get_term(). It could only matter if a term is shared between different taxonomies. For example: If the term is only used in a taxonomy other than post_tag, you could still get a result. Is that right?

If possible, Timber::get_term() should also support things that Term::__construct() currently supports

Yes! Would you add «Passing a term ID» for completeness as well?


Use an unversioned profile dependency in mbe

Apparently, dev dependencies shouldn't be versioned. This hopefully fixes publishing to crates.io.

r? @edwin0cheng

bors r+

@lnicola @edwin0cheng I think we might want to add another test here (https://github.com/rust-analyzer/rust-analyzer/blob/master/xtask/src/tidy.rs#L99) saying "internal dev deps should not have version".


Address Clippy lints

A bunch of stylistic changes based on Clippy lints

Thanks, I was not sure which choices were intentional and which ones should be fixed, that's why my PR was fixing only some of them, so it's great that you did all the remaining ones that I was not sure about. :ok_hand:


update node.js version targets to current releases

The latest versions for each main line can be found here: https://nodejs.org/en/download/releases/

Fixed in: https://github.com/bucharest-gold/origin-s2i-nodejs/commit/8e6b8a777c5035b222147f40232f652e9b7adc23 and subsequent commits


javascript error

Getting this error message in my Firebug console:
`TypeError: $ is not a function
...document),jQuery(document).foundation(),$("#start-jr").on("click",function(){$(d...
foundation.js (line 4, col 9648)`
The developer of a sticky footer for foundation said that this error was preventing his script from firing. That possible?

jQuery runs in Safe Mode by default on Wordpress, so $ doesn't work out of the box.
Have you set up a wrapper function? If not, check out the Wordpress Codex entry w/ details of how to allow $ to work.

Had to come back to this as a plugin developer is telling me that this error is preventing his plugin from working. Checked the codex link mentioned above but there's nothing mentioned about "wrapper functions".
I don't need joyride and need to know exactly what to delete to make the error go away. Have tried six or seven variations but it either kills the script or just results in different errors.

For anyone else having this problem, this is what you need to delete at the end...
,$("#start-jr").on("click",function(){$(document).foundation("joyride","start")})


Set the error code based on the HTTP status code

plugin/ochttp need to set the error code based on the HTTP response code.
Below, there is a reference how HTTP status codes maps to error codes:
	case 200:
		return int32(code.Code_OK)
	case 499:
		return int32(code.Code_CANCELLED)
	case 500:
		return int32(code.Code_UNKNOWN) // Could also be Code_INTERNAL, Code_DATA_LOSS
	case 400:
		return int32(code.Code_INVALID_ARGUMENT) // Could also be Code_OUT_OF_RANGE
	case 504:
		return int32(code.Code_DEADLINE_EXCEEDED)
	case 404:
		return int32(code.Code_NOT_FOUND)
	case 409:
		return int32(code.Code_ALREADY_EXISTS) // Could also be Code_ABORTED
	case 403:
		return int32(code.Code_PERMISSION_DENIED)
	case 401:
		return int32(code.Code_UNAUTHENTICATED)
	case 429:
		return int32(code.Code_RESOURCE_EXHAUSTED)
	case 501:
		return int32(code.Code_UNIMPLEMENTED)
	case 503:
		return int32(code.Code_UNAVAILABLE)
	default:
		return int32(code.Code_UNKNOWN)

@rakyll where did this code come from?

https://github.com/googleapis/googleapis/blob/master/google/rpc/code.proto

what about 418 I'm a Teapot?

@jadekler suggested that he can add a function to the ochttp package.
HTTPStatusToErrorCode(statusCode int) int32

@jadekler, can I assign it to you?

@rakyll Yes, please do

trace.Status.Code is an int32, which is a good, agnostic choice. I'm worried that using the Google API/gRPC codes (they are the same) is favoring Google's monitoring stack. Also, converting the HTTP codes to the (far fewer) gRPC codes loses information.
I'd like to understand the full cross product of behavior here. How does Stackdriver/prometheus/etc. handle gRPC codes/HTTP codes/arbitrary int32s?
I think it would be fine if Google's HTTP-based clients used the gRPC codes; it seems reasonable that Google's clients are optimized for Google's monitoring. But none of the code in this repo should have that bias.
So maybe this repo contains HTTPStatusToGRPCCode but does not call it by default.

I think we need to define what the status code maps to: either HTTP status codes or gRPC. Otherwise it's impossible to interpret in any meaningful way without knowing exactly where it was produced, which an exporter will generally not know.
At minimum we need to know that an error occurred (non-successful status) and probably also whether it's a client problem or server problem.
cc @bogdandrutu

Also, converting the HTTP codes to the (far fewer) gRPC codes loses information.

We are also recording the HTTP status code as an attribute, so no information loss here.

I'd like to understand the full cross product of behavior here. How does Stackdriver/prometheus/etc. handle gRPC codes/HTTP codes/arbitrary int32s

For metrics, they will be labels. For traces, they will be span attributes. Some backends already have first-class canonical label or attribute keys for errors. If that's the case, the exporters should populate them.

HTTPStatusToGRPCCode

It shouldn't be called after gRPC, HTTPStatusToCode is more preferable. This is not a gRPC-specific mapping, we just happened to have the same mapping. That's why it is not Google-specific.
It would be better to argue the rationale behind error codes all together and change the proto if we don't think they are useful.

This is not a gRPC-specific mapping, we just happened to have the same mapping. That's why it is not Google-specific.

In that case, you should have your own Code type that is a copy of the gRPC one so you don't have a dependency on gRPC, and you should change the type of trace.Status.Code to it.

It would be better to argue the rationale behind error codes all together and change the proto if we don't think they are useful.

Along those lines: if the HTTP code is going to be an attribute anyway, then maybe there shouldn't be a privileged Status.Code field. Instead, provide documented attribute names for each kind of code, and exporters can decide what to do with them. Maybe the stackdriver exporter converts  the "http_code" attribute to the gRPC code space, and passes through the "grpc_code" attribute. Another exporter might want to do the opposite.

In that case, you should have your own Code type that is a copy of the gRPC one so you don't have a dependency on gRPC

We don't have a type dependency on gRPC. What exactly are you pointing at? See https://godoc.org/go.opencensus.io/trace#Status. We will remove the comment there and replace it with our spec for error codes as soon as we have a consensus on this.

Maybe the stackdriver exporter converts the "http_code" attribute to the gRPC code space, and passes through the "grpc_code" attribute. Another exporter might want to do the opposite.

There is no maybe in this. We specify what the exporter behavior should be.
https://github.com/census-instrumentation/opencensus-specs/blob/master/trace/HTTPAttributes.md
I don't understand why you are dealing with any of the HTTP attributes and annotations unless you want to add custom ones.
You should just use the ochttp package and it will provide a basic set of attributes, annotations, etc. We currently set the attributes (example), and will set the error as soon as there is consensus on the mapping. You shouldn't care about it.

We don't have a type dependency on gRPC. What exactly are you pointing at?

Sorry for not being clear. Here is what I mean:
If you make the choice to use this set of error codes, then

you should change the type of Status.Code from int32 to some other type, like Code, that is an enum.
That Code type should not be google.golang.org/grpc/codes.Code, because you don't want to take a dependency on gRPC. Instead, it should be your own copy.

I don't understand why you are dealing with any of the HTTP attributes and annotations...

I'm not. Sorry again about lack of clarity.
In that comment, I was suggesting that you delete the Status.Code field entirely—punt on the decision to pick the One True Set of error codes. Instead:

ochttp sets the http.status_code attribute
ocgrpc sets the grpc.status_code attribute
similarly for any other protocol with its own set of codes

When an exporter's ExportSpan method is called, the exporter looks at SpanData.Attributes and does whatever it wants. For example, the stackdriver exporter's logic might say:  "If the grpc.status_code attribute is present, use its value directly in tracepb.Span.Status.Code. Otherwise, if the http.status_code attribute is present, convert it with HTTPStatusToCode and use that. "
But another exporter could make a different choice, choosing to transmit HTTP codes to its backend and converting the gRPC codes in the other direction.

Agreed with the above. I'm concerned about,

We don't have a type dependency on gRPC. What exactly are you pointing at? See https://godoc.org/go.opencensus.io/trace#Status. We will remove the comment there and replace it with our spec for error codes as soon as we have a consensus on this.

The intention behind https://godoc.org/go.opencensus.io/trace#Status seems to be to represent gRPC codes. I think the way that this ends up if we don't explicitly break out http and grpc is copy-pasting gRPC's codes into something called opencensus.Code (or, whatever the package) and sort of re-implementing gRPC's documentation and so on.
I'm not convinced that opencensus should have its own codes - I reckon it should be a transparent middleman that facilitates stats/tracing from my app to my exporter, not something I need to "conform" to.
+1 to deletion of Status.Code and instead setting http.status_code and grpc.status_code, and so on.


Removed Comment from pre-commit-config.yaml

Fixes #1841  by @sarayourfriend
Description
Removed the template warning comment at the top of .pre-commit-config.yaml as its not longer a template.
Checklist

[x] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Ah, looks like we'll need to rebase this. I'll give it a shot!


Loading data peaks

Trying to load data peaks
Is it possible, if so, how can I do that ?
thank you!

The example folder has a demonstration. Thank you


Collpase on Hover and resolved the problem with 3 levels on menu

Hello Marcus, I added an options on-hover on menu. This option set the mouseover and mouseleave to show or to hide the menu on event.
Also, I resolved the problem with 3 levesl on menu at relation with white space after the closed menu.
I hope to help others people

👍


For Notebooks global toolbar allow for showing just the icons, not icon + text

When the Notebook global toolbar is turned on it shows both icons + text. Just as a personal preference (so just logging as a feature request / suggestion) I would want this to show just the icons or to have a setting to change this.

It feels visually busier with the text, and once I've moused over an icon once to see the tooltip I would not want or need to see the text any more. Plus it would put the mouse hit targets all in a single grouped location. + Code and + Markdown would need distinct icons for this.

I do think an option for only icons would be nice, though we'd need to figure out an alternative for the+ Code and + Markdown.

This setting can be useful for Jupyter which contributes actions to the global toolbar.

Currently if there are lots of contributions to the notebook toolbar, the overflow strategy for the toolbar is to scroll, so remaining entries in the toolbar get cut off, and the scrollbar only appears on hover.
Overflow + no hover over toolbar:

Overflow + hover over toolbar:

One possibility here could be to only show icons when the shortTitle + icons exceeds the available horizontal space in the toolbar.

The scrollbar seems like it might be an issue there in general. It's a pretty small hit target, I wouldn't want to try to click a thin scrollbar handle when it's right on top of my "restart kernel" icon, too easy to miss and trash my kernel. Right now it's pretty easy to get the scrollbar with the default set of icons + text. I get it on my MacBook screen just by making VS Code like 85% of full screen size.

(The scrolling issue could be separated out to its own issue.)
The Outlook web app (Fluent) does a nice job of moving items that don't fit into the overflow ... menu:

https://user-images.githubusercontent.com/35271042/121233574-9c925100-c847-11eb-9a32-f58a6f705fbd.mp4

Posting from another issue:
I think we should either make the toolbar responsive, just like in the panel when the view is smaller, and move items into the ...

Or go into a no-label version:

Based on the issue we have'nt really addressed the feature request.
I'm tagging as verified as the associated PR adds an overflow option for menus.


assets/scully-routes.json  is NOT generated while using baseFilter and routeFilter

🐞 Bug report
Description
While running 'npx scully --routeFilter', scully-routes.json is NOT generated, which leads to "TimeoutError: Navigation timeout of 30000 ms exceeded we will retry rendering this page up to 3 times".
I have noticed, if scully-routes.json is missing, this issue arises.
If the scully-routes.json is present and i run the above command it works perfectly.
I even tried 'npx scully --scanRoutes --routeFilter'.

The above step is missing which running with routeFilter/baseFilter
🔬 Minimal Reproduction
💻Your Environment
Angular Version:

Angular CLI: 13.0.4
Node: 14.16.0
Package Manager: npm 6.14.11
OS: win32 x64

Angular: 13.0.3
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1300.4
@angular-devkit/build-angular   13.0.4
@angular-devkit/core            13.0.4
@angular-devkit/schematics      13.0.4
@angular/cdk                    12.2.13
@angular/cli                    13.0.4
@schematics/angular             13.0.4
rxjs                            6.6.7
typescript                      4.4.4

Scully Version:

  "@scullyio/init": "^1.1.4",
  "@scullyio/ng-lib": "^1.0.0",
  "@scullyio/scully": "^1.1.1",

🔥 Exception or Error

Puppeteer error while rendering "/newsroom/canalys-global-smartphone-market-Q4-2021" TimeoutError: Navigation timeout of 30000 ms exceeded  we will retry rendering this page up to 3 times.
--
265 | Puppeteer error while rendering "/newsroom/global-pc-market-Q4-2021" TimeoutError: Navigation timeout of 30000 ms exceeded  we will retry rendering this page up to 3 times.

This is by design. If you use the filtering options, Scully works on a subset of the pages. That means that the route-list it uses is only a fraction of the complete list.
If that gets written to disk, it overwrites a probably more complete route-list.
Also, there is an issue, if you use a filter for /blog/:sluf, but /docs/:slug, when you write the complete list n that case, there will be routes in there, that are not generated.
If you want it to write the list, it has to work off the complete list, otherwise, there are too many risks of the routes.json being out of sync with what is generated.
If you have a specific use case, you can always create your own custom plugin that updates the route list. But that kind of plugin will have to have some knowledge about your solution, that is not something that can be solved in a generic way.

Use case is : Generate static page for only new dynamic path. I don't want to generate static pages for default paths every build.
So only for blog/:id
If a new blog/:id is comes in and it's not present in route-list, the build timesout.
Any work around?

@Amith278 Can you make a minimal repro of this?
I just tested, and if I just add a file into my blog folder, and run Scully, it seems to work?

I'm afraid the options --scanRoutes and --routeFilter are incompatible with each other.
The filter options prevent writing the route files because they would end up in incomplete ones.
There should be a waring instead of an error, so I will eave this issue open so we can take care of that.

Hi, I would like to add my reasoning to this question.
My use-case and expectations are: have a list of events on the main page (route "/") and their details on separate pages (routes /detail/:id). Run scully build to generate first version of sites, ship it to CDN. Then, when some new event occurs, generate only page for that. I expect that should be done by using npx scully --baseFilter="/detail/newEventId".
This works (= only the new page is generated) but scully doesn't add this new route to the list of handled routes in the scully-routes.json (I would expect the new route will be added there, or at least to have some option to add it there with a switch). Since the baseFilter switch doesn't do this, I tried it with the scanRoutes npx scully --scanRoutes --baseFilter="/detail/*", but it also didn't add it to the list.
Am I missing something? Is there another way to do this? Or should we handle this use case some other way?


stage1/prepare-app: ensure /etc/hosts is present

An alternative to https://github.com/coreos/rkt/pull/1538

Nice, lgtm

Hmm for future proofing should we add an ipv6 line?

@vcaputo how about a test?

/cc @jonboulle added test

awesome! LGTM after removing the debugging line @vcaputo

er, assuming Semaphore is happy too..

for posterity: removed debugging line, but it was inherited from rkt_volume_test.go which I copied from, so that exists in at least one other test.

Those should be cleaned up by #1546


Support arbitrary scales/grids, not just quads

Crosstab of grid size vs scale:
pd.crosstab(gdf['Scale'], gdf['Grid Size'], margins=True).to_markdown()

Scale
1 X 1 Degree
1 X 2 Degree
1 X 3 Degree
1 X 4 Degree
15 X 15 Minute
2 X 1 Degree
3.75 X 3.75 Minute
30 X 30 Minute
30 X 60 Minute
7.5 X 15 Minute
7.5 X 7.5 Minute
None
All

10000
0
0
0
0
0
0
76
0
0
0
1
0
77

12000
0
0
0
0
0
0
1
0
0
0
0
0
1

20000
0
0
0
0
3
0
0
0
0
0
295
0
298

21120
0
0
0
0
0
0
0
0
0
0
19
0
19

24000
0
0
0
0
4
0
0
0
0
0
131183
0
131187

25000
0
0
0
0
0
0
0
0
0
389
1157
2
1548

30000
0
0
0
0
0
0
0
0
0
0
276
0
276

31680
0
0
0
0
5
0
0
0
0
0
4273
0
4278

48000
0
0
0
0
1034
0
0
0
0
7
90
0
1131

50000
0
0
0
0
94
0
0
0
0
0
0
0
94

62500
0
0
0
0
27997
0
0
0
0
0
2
0
27999

63360
0
0
0
0
7082
0
0
0
0
0
0
0
7082

96000
0
0
0
0
1
0
0
42
0
0
0
0
43

100000
0
0
0
0
0
0
0
8
2963
0
0
0
2971

125000
0
0
0
0
0
0
0
4657
1
0
0
0
4658

192000
0
0
0
0
0
0
0
2
0
0
0
0
2

250000
495
3021
945
20
0
34
0
10
0
0
0
0
4525

All
495
3021
945
20
36220
34
77
4719
2964
396
137296
2
186189

Grid size - Scale combinations:
[['7.5 X 7.5 Minute', 10000],
 ['7.5 X 7.5 Minute', 20000],
 ['7.5 X 7.5 Minute', 21120],
 ['7.5 X 7.5 Minute', 24000],
 ['7.5 X 7.5 Minute', 25000],
 ['7.5 X 7.5 Minute', 30000],
 ['7.5 X 7.5 Minute', 31680],
 ['7.5 X 7.5 Minute', 48000],
 ['7.5 X 7.5 Minute', 62500],
 ['3.75 X 3.75 Minute', 10000],
 ['3.75 X 3.75 Minute', 12000],
 ['15 X 15 Minute', 20000],
 ['15 X 15 Minute', 24000],
 ['15 X 15 Minute', 31680],
 ['15 X 15 Minute', 48000],
 ['15 X 15 Minute', 50000],
 ['15 X 15 Minute', 62500],
 ['15 X 15 Minute', 63360],
 ['15 X 15 Minute', 96000],
 ['7.5 X 15 Minute', 25000],
 ['7.5 X 15 Minute', 48000],
 ['None', 25000],
 ['30 X 30 Minute', 96000],
 ['30 X 30 Minute', 100000],
 ['30 X 30 Minute', 125000],
 ['30 X 30 Minute', 192000],
 ['30 X 30 Minute', 250000],
 ['30 X 60 Minute', 100000],
 ['30 X 60 Minute', 125000],
 ['1 X 2 Degree', 250000],
 ['1 X 3 Degree', 250000],
 ['1 X 1 Degree', 250000],
 ['1 X 4 Degree', 250000],
 ['2 X 1 Degree', 250000]]

Reproduction code:
    df = pd.read_csv(path)

    # Keep only historical maps
    # Newer maps are only in GeoPDF, and not in GeoTIFF, let alone COG
    df = df[df['Series'] == 'HTMC']

    df['geometry'] = df.apply(construct_geometry, axis=1)
    gdf = gpd.GeoDataFrame(df)

# or just use df here
grid_sizes = gdf['Grid Size'].unique()
grid_size_scales_pairs = []
for grid_size in grid_sizes:
    grid_size_df = gdf[gdf['Grid Size'] == grid_size]
    scales = grid_size_df['Scale'].unique()
    for scale in scales:
        grid_size_scales_pairs.append([grid_size, scale])

Code to visualize each combination:
cols = ['Map Name',
 'Scale',
 'geometry',
 'W Long',
 'S Lat',
 'E Long',
 'N Lat',
 'Download Product S3']
for grid_size, scale in grid_size_scales_pairs:
    if grid_size == 'None':
        continue

    gdf_part = gdf.loc[(gdf['Grid Size'] == grid_size) & (gdf['Scale'] == scale)]
    Visualize(gdf_part[cols])

To generate automated test cases:
test_cases = []
n = 3
for grid_size, scale in grid_size_scales_pairs:
    if grid_size == 'None':
        continue

    gdf_part = gdf.loc[(gdf['Grid Size'] == grid_size) & (gdf['Scale'] == scale)]

    # Choose random 3
    choose_n = min(len(gdf_part), n)

    sample = gdf_part.sample(choose_n)

    urls = sample['Download Product S3']
    urls = urls.str.replace('PDF', 'GeoTIFF')
    urls = urls.str.replace('.pdf', '.tif')

    # Remove scale folder; not used with geotiff
    urls = urls.str.replace(f'{scale}/', '', n=1)

    # Df of bounds
    bounds_df = sample.geometry.bounds.values

    for url, bounds in zip(urls, bounds_df):
        test_cases.append([url, list(bounds), scale])

I don't think there will ever be a non-hacky way to discover the image's true map bounds on the fly. For example here in northern Alaska, the right border is so wide that it takes up the space of 1 degree of longitude (which in northern Alaska is relatively small).

So I think the best way forward is to "hack" the asset string to be encoded JSON, which then has "url" and "mapBounds" keys internally, so no parsing will be needed.


Having Trouble with IP Addresses

I've read the tutorial on how to set the application up and connect it and everything but I'm having trouble with my IP address. It is just the default <IP_ADDRESS>
I can't figure out how to change this. I've inputted it into my watch and then I click start and nothing pops up on my browser? Not sure how to fix this, I hope there's a simple solution.

I believe I've done everything correctly it is literally just the IP address that won't connect. Just need a way to find the actual IP address and not this stupid default thing that doesn't work, very frustrating!

The IP addresses the overlays lists are just what your IP address might be. It's not a guarantee that any of them will work. Are you on Windows? If so did you make sure to check both boxes in the Windows Firewall popup?

Yeah mate I followed all the steps, I had a look at where to find my IP address and it only showed this one and when I wrote it into the Apple Watch app and started the activity, nothing happened.

Are you sure the Windows Firewall dialog came up? Sometimes it doesn't and the overlay won't work until you manually open the ports.

Yeah it did, I can try again and see if it pops up! It’s very strange

Also make sure to try the troubleshooting steps if you haven't already: https://github.com/Rexios80/Health-Data-Server-Overlay/wiki/Troubleshooting

Did you ever get this figured out?

If you need more help let me know

Honestly I just stopped with it, couldn't be bothered trying anymore. I spent hours and did everything right. Might be because of Australia? It was stupid, but thanks for your help.


Backlight control?

Can you confirm that the backlight can't be controlled? I don't see any commands in the datasheet, and the diagram on page suggests that the backlight is connected permanently to Vss and Vdd
datasheet: https://drive.google.com/file/d/1oKD2RR_impLviQ7R5FnXotGfLS-1VgDk/view

As we tried there the backlight cannot be controlled, don't have any commands for it.


timers error....

Hello,
timers
: test1 ." hello" cr ;
' test1 1000000 0 interval
it fails with this error:
E (85734) timer_group: timer_isr_register(262): HW TIMER NEVER INIT ERROR

Good morning,
I searched on my side.
I have several ESP32 boards, some compiled with the old ESP32 library. It works....
To compile version <IP_ADDRESS>+ you must install the latest ESP32 library. This library is the problem.
It is this word that causes the problem in the source code:
in code, line 790:
static cell_t TimerIsrRegister(cell_t group, cell_t timer, cell_t xt, cell_t arg, cell_t flags, void *ret);
and in line:
  YV(timers, timer_isr_register, n0 = TimerIsrRegister(n5, n4, n3, n2, n1, a0); NIPn(5))
This code hasn't changed in any ESP32forth versions I've picked up.
I don't have any more items at the moment.
It would be necessary to analyze the source code of the ESP32 library. It's very complicated.

Together with this timers problem I have in 7.0.7.x compiled with Arduino 1.8.19 and new libraries 2.0.1 up problem with hw interrupts PINCHANGE, which generates funny error " Guru meditation error..." I explained it more in detail on Facebook https://www.facebook.com/groups/esp32forth/ .

Good morning,
I tried to find the origin of this problem.
To compile version <IP_ADDRESS>, you must install a new version of the ESP32 library.
Versions prior to <IP_ADDRESS> available in binary were compiled with the old ESP32 library.
The "HW TIMER NEVER INIT ERROR" issue is reported on other web pages unrelated to ESP32forth, including:
https://esp32.com/viewtopic.php?f=13&t=25202
The cause would be the absence of a call to timer_init()

https://esp32.arduino-forth.com/article
Problème en cours d'analyse.....
Problem being analyzed.....

Bug corrected


Bump all dependencies

Coverage decreased (-0.002%) to 99.78% when pulling c4abe64e9e52f55f0f02131b1aa3558eaf41e8b2 on felipecsl--bump-deps into 1dc063715ff528c61b588048aa32c1c941248629 on master.


optional SSM cleanup

ssmPublish:
    enabled: true
    cleanup:
      path: /service/config
    params:
      - path: /service/config/foo
        value: foo
      - path: /service/config/bar
        value: bar

Fetch all values under cleanup.path.
Run a difference against params[].path
Delete SSM params in the difference set

Not sure why this has been marked as stale, or why it won't be worked on, but seems to me that it is an obvious enhancement to the package.
Destroying a stack leaves the parameters in place. Not ideal when you want to clean up, as this then becomes a manual task.
Is there a technical reason why it can't be implemented?


[coq] Overlay for coq/coq#11818

This is fine. In the future, the reified evar map should be passed back to the user, and we'll still continue the monad evaluation in an environment with no new evars.

Merge now


Add to flintmc.net

Heya!
I have to rework a bunch of stuff with the 1.19 release since stuff changed. I'm quite busy dealing with bug reports as well, so this might be a while.
Feel free to contribute, to help e out

I can try it! :D

I can also add the german translations later

I'm going to get this done in the next few days :)


max_marginal_relevance_search not implemented in Redis

System Info
LangChain version: 0.0.276
Python version: 3.11.2
Platform: x86_64 Debian 12.2.0-14
Who can help?
No response
Information

[X] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[X] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
import os, openai
from langchain.embeddings.openai import OpenAIEmbeddings
from langchain.vectorstores import Redis

embeddings = OpenAIEmbeddings()

rds = Redis.from_existing_index(
    embeddings,
    index_name = INDEX_NAME,
    schema = "redis_schema_kws.yaml",
    redis_url = "redis://<IP_ADDRESS>:6379",
)

returned_docs_mmr = rds.max_marginal_relevance_search(question, k=3, fetch_k=3, lambda_mult=0.8)

The returned error message is: NotImplementedError:
Could you provide additional information on your ETA to have MMR search implemented in Redis?
Expected behavior
Retrieve the Document objects.

Thanks for the reply (although from a bot)!
I am building a specialized chatbot to answer questions and retrieve documentation snippets related to labor law from a relatively big dataset built with official legislation documents from the government.
MMR searches can be very powerful since these documents are very broad, and the users' relevant topics are spread along the entire document corpus.
I have a Redis database installed since it is very robust and fast. Due to this, I intend to use it once the chatbot is for production deployment. I haven't tried any other vector stores.

@baskaryan this can probably be closed now too

thanks all!


Refactor Git operations and introduce go-git support for Azure DevOps and AWS CodeCommit

Changes of note:

Refactor reconciler to use fluxcd/pkg/git.
Bump golang-with-libgit2 to v0.4.0 which bumps libgit2 to 1.5.
Update to fluxcd/go-git to support multi_ack and multi_ack_detailed, enabling support to Azure DevOps when using go-git.

Relates to https://github.com/fluxcd/pkg/issues/245

Waiting for @darkowlzz's review before merging it.

Users keen on testing source-controller with the git-refactoring changes can use the image:
ghcr.io/fluxcd/source-controller:rc-6b04907f.

Because other will ask, can we add Gitea and Bitbucket.

This should support all Git servers we know of. More information on the tested servers can be found at https://github.com/fluxcd/go-git/pull/4.


disable terraform prompt info in home directory

in the home directory there is a .terraform file for modules but it is most likely not an actual directory of terraform scripts. this disables checking for a workspace in the home directory which defaults to [default] if there is no workspace defined, which is unlikely in the home directory. It is possible others have a usecase where this would be desirable though, so maybe this patch should only be enabled with some disable_tf_prompt_in_home_dir type var.

in the home directory there is a .terraform file for modules

Is it a file or a directory? Because -d only checks if it's a directory, in which case this patch wouldn't apply.

Sorry, yes it is a directory. It contains a plugins directory.

Ok I can see why that is annoying then. Approved :shipit:


System.Configuration.ConfigurationErrorsException: The configBuilder 'MyConfigStore' failed while processing the configuration section 'appSettings'.: Error in Configuration Builder 'MyConfigStore'::GetAllValues()

Hi,
I am recieving the following message after configuring Azure App Configuration as per the quickstart in my application which already includes log4net.
log4net:ERROR Exception while reading ConfigurationSettings. Check your .config file is well formed XML.
System.Configuration.ConfigurationErrorsException: The configBuilder 'MyConfigStore' failed while processing the configuration section 'appSettings'.: Error in Configuration Builder 'MyConfigStore'::GetAllValues() (C:\projects\xxx.exe.Config line 18) ---> System.Exception: Error in Configuration Builder 'MyConfigStore'::GetAllValues() ---> System.ArgumentException: Exception encountered while creating connection to Azure App Configuration store. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.InteropServices.RuntimeInformation, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
   --- End of inner exception stack trace ---
   at Azure.Core.Pipeline.TelemetryPolicy..ctor(String componentName, String componentVersion, String applicationId)
   at Azure.Core.Pipeline.HttpPipelineBuilder.CreateTelemetryPolicy(ClientOptions options)
   at Azure.Core.Pipeline.HttpPipelineBuilder.Build(ClientOptions options, HttpPipelinePolicy[] perCallPolicies, HttpPipelinePolicy[] perRetryPolicies, ResponseClassifier responseClassifier)
   at Azure.Data.AppConfiguration.ConfigurationClient.CreatePipeline(ConfigurationClientOptions options, HttpPipelinePolicy authenticationPolicy)
   at Azure.Data.AppConfiguration.ConfigurationClient..ctor(String connectionString, ConfigurationClientOptions options)
   at Microsoft.Configuration.ConfigurationBuilders.AzureAppConfigurationBuilder.LazyInitialize(String name, NameValueCollection config)
   --- End of inner exception stack trace ---
   at Microsoft.Configuration.ConfigurationBuilders.AzureAppConfigurationBuilder.LazyInitialize(String name, NameValueCollection config)
   at Microsoft.Configuration.ConfigurationBuilders.KeyValueConfigBuilder.EnsureInitialized()
   at Microsoft.Configuration.ConfigurationBuilders.KeyValueConfigBuilder.EnsureGreedyInitialized()
   --- End of inner exception stack trace ---
   at Microsoft.Configuration.ConfigurationBuilders.KeyValueConfigBuilder.EnsureGreedyInitialized()
   at Microsoft.Configuration.ConfigurationBuilders.KeyValueConfigBuilder.ProcessConfigurationSection(ConfigurationSection configSection)
   at System.Configuration.ConfigurationBuilderChain.ProcessConfigurationSection(ConfigurationSection configSection)
   --- End of inner exception stack trace ---
   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   at System.Configuration.ConfigurationManager.get_AppSettings()
   at log4net.Util.SystemInfo.GetAppSetting(String key)

<configuration>
  <configSections>

    <section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" />
    <section name="configBuilders" type="System.Configuration.ConfigurationBuildersSection, System.Configuration, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" restartOnExternalChanges="false" requirePermission="false" />
  </configSections>

    <configBuilders>
        <builders>
            <add name="MyConfigStore" mode="Greedy" connectionString="Endpoint=https://appconfig-nopermissions.azconfig.io;Id=xxxxx;Secret=xxxxx" type="Microsoft.Configuration.ConfigurationBuilders.AzureAppConfigurationBuilder, Microsoft.Configuration.ConfigurationBuilders.AzureAppConfiguration" />
            <add name="Environment" mode="Greedy" type="Microsoft.Configuration.ConfigurationBuilders.EnvironmentConfigBuilder, Microsoft.Configuration.ConfigurationBuilders.Environment" />
        </builders>
    </configBuilders>

  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
  </startup>
  <appSettings configBuilders="Environment,MyConfigStore">
    <add key="AppName" value="Console App Demo" />
  </appSettings>
</configuration>

The config file has a lot more in it, but I think I have included everything which is relevant.
The error doesn't occur if I remove "configBuilders="Environment,MyConfigStore"" from the appSettings declaration.
I can't provide a stacktrace because even though I have wrapped the code in Program.cs in a try/catch, no exception is caught.
            try
            {
                string message = System.Configuration.ConfigurationManager.AppSettings["TestApp:Settings:Message"];

                Console.WriteLine(message);
                Console.ReadKey();

            }
            catch (Exception ex)
            {

                throw;
            }

Thanks

@SirElTomato from the other issue you opened (#461), looks like you may have the code working already. Please let us know if it's not the case.
BTW, you may accidentally expose the connection string of your App Configuration store in your question. I've updated your original post to remove it. You may consider rotating the connection string ASAP too.

@zhenlan no I don't have this working. The other issue I opened was in a brand new project, this is when adding to an existing project and it looks like it might be clashing with Log4net?
Thanks I know, I have since deleted the app service anyway

@SirElTomato not sure about Log4net. Does your project work if you remove the Log4net temporarily? Any other differences between this project and the new project you created?

@zhenlan No I still get the same error when removing log4net from the config file.

@SirElTomato I suppose this is resolved. Closing.