Fixing condition where vault CA already exists

If path already exists, 204 is returned

ci check this

ci is green, just status report is failing


lib.options: automatically generate example for booleans

Motivation for this change
Remove the need to provide an example for boolean options. Since there are only two possibilities, setting example = !default is reasonable. This should remove the amount of boilerplate in nixpkgs by a few hundred lines.
Also catches cases where type == bool but default is not defined and provides example = true.
The second commit catches cases where type != bool but isBool default holds (type may be undefined or something like nullOr bool) and !default is a valid value.
If this is too expensive we can also drop it, but since this is only executed for the manual generation, it should be ok.
The first commit adds 853 example values to options-db.xml, the second one another 3.
ref #18803 could use this :wink:
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Fits CONTRIBUTING.md.

:+1: but please also add documentation for these defaults!

ping @nbp @shlevy do you have an opinion on this?
imo example values for boolean and enum add little value because the type already contains the examples - but since many options provide an example we may as well provide it everywhere.
we could remove all explicit examples from boolean declarations with this pr. i'm not sure if this is wanted though.

IMO, examples for bools contain no useful information. I vote to remove all examples for bools instead.

I agree with @joachifm, and every example adds 2 lines to man configuration.nix's output. This change would probably be best first run through an RFC. What do people think?

I think there is no sufficient interest in this and we should rather remove the boolean examples. Closing this for now. RFC sounds useful if people want this.


add function uniqExact

workaround for COUNT(DISTINCT col1) FILTER (WHERE col2='xx')
#38

Thanks!


CustomJob v2.0 + DynamicTablePrinter

Two main new feature:

A new CustomJob inspired by your one, but with full functionality.
I've dug out one of my older code to format a text based table dynamically and added to the code. Now the SolutionPrinter uses this. This allows more flexible table printing and ease the way to add new columns.

Wow. Nice. 👍 Will try this new TablePrinter asap :). Thanks a lot.


Add Glyphs.app v2.1-767 (Latest)

My first try at making a cask

Thank you for the contribution. It needed some fixes, so they were made in 6a01c2ccd64aac281192bbb7736002863f97afaf. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Perfect, thanks!


Roll engine 20d3861ac8e1..69b32a9c34a0 (30 commits)

https://github.com/flutter/engine/compare/20d3861ac8e1...69b32a9c34a0
git log 20d3861ac8e1f8f38c8659b16b699d0e63db01b1..69b32a9c34a0de956b7c1bd836276b6c6b6735fd --no-merges --oneline
69b32a9c3 Roll src/third_party/skia e0a001ccf8d5..01c9b89a8520 (11 commits) (flutter/engine#9373)
9ab6550b4 Introduce read only text field semantics (flutter/engine#9281)
a263abfba Roll src/third_party/skia dc57783169c3..e0a001ccf8d5 (1 commits) (flutter/engine#9372)
f75e7228f Roll src/third_party/skia c65edca18491..dc57783169c3 (3 commits) (flutter/engine#9371)
3f7a9f09f Roll src/third_party/skia 48fec763d45d..c65edca18491 (1 commits) (flutter/engine#9369)
c764a7628 Do not remove the DartServiceIsolate status callback during FlutterMain destruction (flutter/engine#9368)
4c9fa4940 request FlutterView focus when setting a platform view text client (flutter/engine#9366)
4a3e69d5d Roll src/third_party/skia 7694b90eb000..48fec763d45d (11 commits) (flutter/engine#9367)
2f36285bc Surrogate binary messenger (flutter/engine#9347)
0ca0a4161 [glfw]  Implement clipboard support from GLFW api (flutter/engine#9361)
66db3d58e Add APIs for querying FlutterView for a FlutterEngine and listening for attachment/detachment (#29114). (flutter/engine#9356)
f2e76a892 Android Embedding Refactor PR32: Clean up logs in new embedding (#33544, #33102). (flutter/engine#9351)
36f18b0ae Android Embedding Refactor PR33: Clean up FlutterJNI (#25533). (flutter/engine#9354)
63591bcd9 Roll src/third_party/skia c6438c0b7f32..7694b90eb000 (12 commits) (flutter/engine#9364)
92cb11d07 Fix test name typo (flutter/engine#9362)
340d958ff Roll src/third_party/skia 07edcfd4dc19..c6438c0b7f32 (9 commits) (flutter/engine#9359)
280fa4551 Roll src/third_party/skia c6628127dc30..07edcfd4dc19 (9 commits) (flutter/engine#9358)
aa4bc1be6 Roll src/third_party/skia e7f8c34384ed..c6628127dc30 (1 commits) (flutter/engine#9357)
48974cac0 Roll src/third_party/skia 9c71e7be1097..e7f8c34384ed (3 commits) (flutter/engine#9355)
04d44a39d Roll src/third_party/skia 4b203ad7ac02..9c71e7be1097 (4 commits) (flutter/engine#9353)
05c034e5b Update component manifests for ambient replace-as-executable (flutter/engine#9350)
66022ce25 Roll src/third_party/skia<PHONE_NUMBER>5c..4b203ad7ac02 (6 commits) (flutter/engine#9352)
fcff2d619 Use the DartServiceIsolate status callback to publish the observatory URI to the Android embedder (flutter/engine#9337)
ea7ca9804 Send the isolate service ID from the engine to the embedder (flutter/engine#9324)
675033fc0 Check for invalid indexes when performing InputAdpator backspace. (flutter/engine#9322)
e5918d18f Roll src/third_party/skia 92b81e14d9c2..55091020435c (6 commits) (flutter/engine#9348)
e00ac47f4 Reorganize darwin for shared ios/macOS (flutter/engine#9255)
9da409c0e Fix crash on Huawei device with AndroidView (flutter/engine#9192)
a0f85546f Removed an unused class definition for iOS code. (flutter/engine#9346)
96a1a843c Replace lock_guard with scoped_lock and use class template argument deduction. (flutter/engine#9338)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (amirha@google.com), and stop
the roller if necessary.

Trybots failed. These were the failed builds: https://cirrus-ci.com/task/5476732090449920

Commit queue failed; closing this roll.


#37 logo is updated

Signed-off-by: gunjanmimo<EMAIL_ADDRESS>

updated correctly @gunjanmimo

@gunjanmimo if you're able to get around to it, the main meshery repo needs its logo updated too. We have removed the green in the "S" in the latest version.


Youtrack now supports Gitea

as title

Codecov Report

Merging #9343 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9343      +/-   ##
==========================================
- Coverage   41.27%   41.26%   -0.01%
==========================================
  Files         561      561
  Lines       73439    73439
==========================================
- Hits        30310    30307       -3
- Misses      39336    39338       +2
- Partials     3793     3794       +1

Impacted Files
Coverage Δ

modules/process/manager.go
74.69% <0%> (-3.62%)
:arrow_down:

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 27f68bc...c375fba. Read the comment docs.


Make fails in MacOS Catalina

Hello,
I'm having some issues during the compilation of Ratatosk in MacOS Catalina. Running make results in the below error
[ 70%] Building CXX object src/CMakeFiles/Ratatosk.dir/Graph.cpp.o
/Users/blakestamps/bin/Ratatosk/src/Graph.cpp:871:99: error: no viable conversion from 'pair<std::__1::unordered_map<unsigned long long,
      unsigned long long, CustomHashUint64_t, std::__1::equal_to<unsigned long long>, std::__1::allocator<std::__1::pair<const unsigned
      long long, unsigned long long> > >::iterator, [...]>' to 'const pair<unordered_map<uint64_t, size_t,
      CustomHashUint64_t>::const_iterator, [...]>'
  ...const pair<unordered_map<uint64_t, size_t, CustomHashUint64_t>::const_iterator, bool> p = name_hmap.insert({h_name, nextID});
                                                                                ^   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:328:5: note: candidate constructor not viable: no known conversion
      from 'pair<std::__1::unordered_map<unsigned long long, unsigned long long, CustomHashUint64_t, std::__1::equal_to<unsigned long
      long>, std::__1::allocator<std::__1::pair<const unsigned long long, unsigned long long> > >::iterator, bool>' (aka
      'pair<__hash_map_iterator<__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long long, unsigned long
      long>, void *> *> >, bool>') to 'const
      std::__1::pair<std::__1::__hash_map_const_iterator<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned
      long long, unsigned long>, void *> *> >, bool> &' for 1st argument
    pair(pair const&) = default;
    ^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:329:5: note: candidate constructor not viable: no known conversion
      from 'pair<std::__1::unordered_map<unsigned long long, unsigned long long, CustomHashUint64_t, std::__1::equal_to<unsigned long
      long>, std::__1::allocator<std::__1::pair<const unsigned long long, unsigned long long> > >::iterator, bool>' (aka
      'pair<__hash_map_iterator<__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long long, unsigned long
      long>, void *> *> >, bool>') to
      'std::__1::pair<std::__1::__hash_map_const_iterator<std::__1::__hash_const_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned
      long long, unsigned long>, void *> *> >, bool> &&' for 1st argument
    pair(pair&&) = default;
    ^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:353:41: note: candidate template ignored: disabled by 'enable_if'
      [with _U1 = std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long
      long, unsigned long long>, void *> *> >, _U2 = bool]
    using _EnableB = typename enable_if<_Val, bool>::type;
                                        ^
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:353:41: note: candidate template ignored: disabled by 'enable_if'
      [with _U1 = std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned long
      long, unsigned long long>, void *> *> >, _U2 = bool]
/Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/utility:353:41: note: candidate template ignored: disabled by 'enable_if'
      [with _Tuple =
      std::__1::pair<std::__1::__hash_map_iterator<std::__1::__hash_iterator<std::__1::__hash_node<std::__1::__hash_value_type<unsigned
      long long, unsigned long long>, void *> *> >, bool>]
1 error generated.
make[2]: *** [src/CMakeFiles/Ratatosk.dir/Graph.cpp.o] Error 1
make[1]: *** [src/CMakeFiles/Ratatosk.dir/all] Error 2
make: *** [all] Error 2

All the requirements should be/are installed, so any help is appreciated!

Hi @bstamps
Thank you for reporting this issue. I think I found the problem and just pushed a fix for it. Unfortunately, I do not have a Macbook at hand to test if it solves the issue. Let me know if it works for you.
Guillaume

Hey @GuillaumeHolley
I can confirm that your fix works. Ratatosk now builds and installs correctly under Catalina.
Thank you!


CurlyBraceTransformer - fix handling dynamic property with string with variable

Closes #5872

Coverage decreased (-0.01%) to 92.29% when pulling 13a8c3c8334bf3b164d2c40f3da9e0e69c7d70b6 on keradus:fix_5872 into e9aa4c8c1d71de791c605cab0f6e358686dab38d on FriendsOfPHP:3.0.

@keradus can you  fix the conflict?

Thank you @kubawerlos.


nixos/tests/netboot: repair testing

Description of changes
This repairs netboot testing, performs some cleanup to move to modern QEMU test infrastructure.
Depends on #228047.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Very cool. Misleading title though. Repairing netboot testing is just a side effect of the change :D

Very cool. Misleading title though. Repairing netboot testing is just a side effect of the change :D

heh, I take any suggestions :)
It's still WIP because I have some semantic issues with the solutions.

Testing with the second to last commit as instructed, my VM is still being created with a block device where AIUI there shouldn't be one:
nixosTest {
  name = "test";
  nodes.machine = {
    imports = [ nixos/modules/installer/netboot/netboot-minimal.nix ];
    virtualisation.diskImage = null;
    virtualisation.useNixStoreImage = true;
    virtualisation.mountHostNixStore = false;
  };
  testScript = "machine.fail('stat /dev/vda')";
}

It looks like fileSystems still ends up with /nix/store being mounted from /dev/vda.

Can you rebase this?

It seems like neither nixosTests.biosNetboot nor nixosTests.uefiNetboot is actually broken. Neither in 23.05 nor on master. Is this just a refactor then? Or am I missing something?

You're right, this deserves more investigation.

@alyssais do you have some more insight on what is currently broken for netbooting?

It's not that netboot tests are broken, it's that directBoot is broken, as you'll see if you try to run the directBoot test from this PR without the first commit.

PTAL @nikstur. I moved the irrelevant stuff and fixed the direct boot test again.


[17.multilingual-bot] Fix test errors

Fixes #
Description

Specific Changes

Testing

I see some conflicts here, can you check it? @fran893

I see some conflicts here, can you check it? @fran893

Yes, I will check them

Yes, I will check them


chore: swap out npm install for npm ci in CI

Respects the package lock - better suited for everything other than local developement:
https://docs.npmjs.com/cli/v10/commands/npm-ci

Conflicted.

Reading the linked documentation, this seems like a useful change 👍


How to uninstall .pkg installation?

I downloaded the latest arm64.pkg release and installed it, but I would like to switch to homebrew now. How do I uninstall the cli?

Yeah, that's surprisingly difficult. 😕
You should (caveat: what follows is largely untested) be able to manually uninstall the package, by first removing all files returned by pkgutil --files de.mittwald.cli (in the installation directory returned by pkgutil --pkg-info de.mittwald.cli) and then "forgetting" the package by running pkgutil --forget de.mittwald.cli.^1
These pkg files suck. I'm beginning to wonder if we should just focus on Homebrew as the sole recommended way of installation, and just drop the pkgs altogether. 🤔


unsquash -> unsquash_term

Proposed changes
Fix an error caused by an upstream change in FStar.
Types of changes
What types of changes does your code introduce to HACL*?
Put an x in the boxes that apply

[x] Proof maintenance (non-breaking change which fixes a proof regression)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New algorithm or feature (non-breaking change which adds functionality)
[ ] Improved performance (fix or feature that would improve performance of some algorithm on some platform)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CODE_OF_CONDUCT.md doc
[x] I have read and agree to submit my changes under the LICENSE
[x] I have added necessary documentation (if appropriate)
[x] I have edited CHANGES.md (if appropriate)

Further comments
https://github.com/FStarLang/FStar/commit/96eb0ab72b18af883737996af24fbf4fb707ee8c renamed and moved the unsquash tactic defined in ulib/FStar.Reflection.Formula.fst.
This unshadowed unsquash in ulib/FStar.Tactics.Logic.fst, causing a typing error in vale/code/lib/util/Vale.Lib.Tactics.fst.

thanks @TWal for the help!

Duplicate of #720? Btw, do you know why CI does not seem to trigger on this other PR?

@R1kM sorry for the duplicate. no idea what's going on with the CI, but it's not the first time it happens.


Add BuildInfo

Codecov Report
Patch coverage has no change and project coverage change: -7.45% :warning:

Comparison is base (068270b) 95.20% compared to head (52a058e) 87.75%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #53      +/-   ##
==========================================
- Coverage   95.20%   87.75%   -7.45%
==========================================
  Files           4        5       +1
  Lines         271      294      +23
==========================================
  Hits          258      258
- Misses         11       34      +23
  Partials        2        2

Files Changed
Coverage Δ

info.go
0.00% <0.00%> (ø)

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

No more Version info ?

@GreyXor are you referring to Version string field?

Yes, this PR had the Version string field and it was about using this : https://github.com/cristalhq/acmd/blob/main/GUIDE.md#build-version
It's cancelled ?

Got it. I wasn't happy with the API after all. I will convert this PR to draft to not disrupt anyone for some time.
Also, go build -ldflags="-X 'github.com/cristalhq/acmd.Version=vFoo.Bar.Baz'" -o my_binary . looks horrible, main.Version looks much simpler and says much more in less words.
I will try to hack something this week, stay tuned (or share your ideas! thanks)

Thanks!

Will be a part of https://github.com/cristalhq/appx


adding hapi api example;

Write your commit message in the imperative: "Fix bug" and not "Fixed bug" or "Fixes bug."
https://git-scm.com/book/en/v2/Distributed-Git-Contributing-to-a-Project
https://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html


Add hyperterm-install-devtools

Install DevTools extension via Chrome Web Store, it's based on electron-devtools-installer

Use React Developer Tools on web page (Open DevTools by hyperterm-open-devtools)

Checklist:

[x] The title for my package or theme uses its npm title (hyperterm-install-devtools)
[x] The link for my package or theme uses the npmjs.com link (https://npmjs.com/package/hyperterm-install-devtools)
[x] There is a visual representation of what my plugin does in the repo. (Plugin: screenshot or gif || Theme: screenshot of the colors within HyperTerm)
[x] VERY IMPORTANT: I've written a short (one sentence) description for my package or theme of why it's awesome and deserves to be on the list.

Can you use the link you put in the comment of your PR as your description in the README.md?

Use React Developer Tools on web page (Open DevTools by hyperterm-open-devtools)

Use [React Developer Tools](https://github.com/facebook/react-devtools) on web page (Open DevTools by [hyperterm-open-devtools](https://www.npmjs.com/package/hyperterm-open-devtools))

Can you use the link you put in the comment of your PR as your description in the README.md? Much clearer!

It's a example for use react-devtools on HyperTerm, I don't think it fully describes the usage of this package.

@jhen0409 Oh, okay! Would you be able to add a slightly more full description of the usage of this package in the PR, then?

Just use Use Chrome DevTools extension on HyperTerm as description. :)
Because this package can be used for inspect HyperTerm itself, so I don't underline it on web page with hyperterm-open-devtools.

Thanks! 😊


[training-page] add detail for specific courses

Signed-off-by: pablopez<EMAIL_ADDRESS>What type of PR is this?
/kind user-interface
Any specific area of the project related to this PR?
/area training
What this PR does / why we need it:
Adds more detail to content providers, now course title, description and links can be added.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
None, I tested it locally and it is working fine. It also follows the same TOML file structure to add new data in the config file, no need to edit any other part of the blog sources.

@pabloopez: The label(s) area/training cannot be applied, because the repository doesn't have them.

In response to this:

Signed-off-by: pablopez<EMAIL_ADDRESS>What type of PR is this?
/kind user-interface
Any specific area of the project related to this PR?
/area training
What this PR does / why we need it:
Adds more detail to content providers, now course title, description and links can be added.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
None, I tested it locally and it is working fine. It also follows the same TOML file structure to add new data in the config file, no need to edit any other part of the blog sources.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: pabloopez
To complete the pull request process, please assign rajakavitha1 after the PR has been reviewed.
You can assign the PR to them by writing /assign @rajakavitha1 in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 5a703511e64791545cc989b17fc4b07162d4bcbd

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: Issif, leogr, pabloopez
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [Issif,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


chore: release main

:robot: I have created a release beep boop
accesskit_c: 0.3.0
0.3.0 (2023-04-25)
⚠ BREAKING CHANGES

Remove objc and Core Foundation types from C bindings public API (#243)

Bug Fixes

Remove objc and Core Foundation types from C bindings public API (#243) (3ae1c11)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/AccessKit/accesskit/releases/tag/accesskit_c-v0.3.0 :sunflower:


Syntax doc should advertise and describe unicode identifiers

The Syntax doc, docs.perl6.org/language/syntax, has a sentence about Unicode that says that Perl 6 is Unicode text but does seem to advertise applications of Unicode source, other than maybe the hyper operator.  I think it might be helpful for the description of identifiers to mention the use of alternative lettering/writing systems from Unicode as well as mathematical symbols as mentioned in a Rosetta Code example.  It may also be useful to discuss the use of Unicode subscripts and superscripts and the exclusion of numeric Unicode subscripts and superscripts from identifiers (see discussions IRC #perl6 2016-04-14 and an AlexDaniel gist).  My knowledge in this area is limited and there are likely to be other applications of Unicode source code that I have overlooked.

What about https://docs.perl6.org/language/unicode_texas ?

See subsequent IRC discussion: https://irclog.perlgeek.de/perl6/2016-12-07#i_13700922.

class वर्ग { }; say वर्ग.new

First cut at documentation update and opportunity for anyone who would like to comment before PR:
https://github.com/ronaldxs/doc/commit/b7e4d5354cc1b4b2b99d59471044e72812af00ef

A partial resolution was merged but leaving open ftm while I chase down some loose ends.
The roast tests @AlexDaniel mentioned related to subscripting, S15/Unicode numbers.t, suggest that at some point the syntax doc int literals section is waiting for a unicode example. Unicode numeric values are documented in Unicode vs Texas to include No(Number, other) property codepoints but seem to also include the Nl (Number, Letter) property.
A StackExchange question on P6 identifiers notes that superscript exponents are not documented as operators even though they are included in roast S32-num/power.t.

The Unicode vs Texas page has recently been updated to note that Nl property codepoints behave like No codepoints.  The superscript exponent operator documentation concern is now separate Issue #1098.  Waiting on feedback on Nl example to close.

Closing for lack of further interest.

I don't think there is any problem with the interest. The thing is, we already mention unicode ops often enough (e.g. there is even a special page for it), and docs even use them sometimes.
Personally I think that docs should switch to non-texas ops fully (e.g. always …, «» and curly quotes). However, I mentioned this once and faced a very strong opposition (something about newcomers being confused because of this, not sure if I agree that this is a problem). Not sure what's the point of “advertising” them if we don't use them 🤷.

The only problem I have with unicode operators is that I  don't know how to type half of them and some of those I do are actually more keystrokes than the ascii variants.

Well, but nobody is forcing you to improve your input methods? My suggestion regarding the docs is mostly about converting semi-automatically what we have already, and you can keep writing texas ops for the new stuff (which will be converted a bit later).
But people always try find reasons not to do this, so nevermind.

Jonathan stated the same reason I don't use unicode for my perl6
programs - I have not found an efficient way to input them, though I
have looked several times.
Perhaps someone could put together a page on an efficient input system
for Ubuntu, Mac, and Windows - not a general page on how to input
unicode but a specific one for each of the common codes Perl6 uses.
Since documentation is educational, and single unicode characters are
preferred, perhaps the documentation should primarily use unicode.
However, it is going to be quite some time before the generality of
computer users (and most programmers start out as newbies) work with
unicode. So at least on each page (perhaps as link on a footer or
header) there is a reference to the documentation on these codes and the
ASCII equivalents.
On Wednesday, January 04, 2017 04:35 AM, Aleks-Daniel
Jakimenko-Aleksejev wrote:

Well, but nobody is forcing you to improve your input methods? My
suggestion regarding the docs is mostly about converting
semi-automatically what we have already, and you can keep writing
texas ops for the new stuff (which will be converted a bit later).
But people always try find reasons not to do this, so nevermind.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/perl6/doc/issues/1039#issuecomment-270217443, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AAWMnIEBXExVfu7zAToswW0jt_u2UnOkks5rOrEggaJpZM4LHKts.


Speed up output for failing tests

Summary:
Jest may appear to hang (for dozens of seconds, up to minutes) when
printing failed test results.
An example of the kind of failure output that can trigger this condition
is a dump of a very large JS object and a short string. All of the time
is spent in the diffing algorithm that we use to color-highlight the
differences between the expected and actual value. This scenario is one
of the worst cases for the underlying Myers LCS diff algorithm, which
runs in O(n+d^2) time (where "d" is the length of the edit script
between the two strings).
This commit ameliorates the worst case scenario by switching to a
line-level diff whenever newlines are present in either string. There
will still be pathological cases that can be very slow (really huge
multi-line diffs, or very long single-line diffs) but this change is
relatively cheap and delivers a nice benefit for the most common cases.
Reference: D1896663
Test Plan:
Add automated tests (unfortunately, fairly tied to Jasmine specifics)
and run using npm test.
In a separate project, add some test failures, see fast line-level diffs
for examples like the one mentioned above, and character-level diffs in
other cases.

Woo!


Shader support graphic API macro

Please check if the PR fulfills these requirements

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

Codecov Report

Merging #982 (e08bea4) into dev/0.9 (c7e3e3d) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##           dev/0.9     #982      +/-   ##
===========================================
- Coverage    30.17%   30.07%   -0.10%
===========================================
  Files          321      322       +1
  Lines        14285    14339      +54
  Branches      2175     2190      +15
===========================================
+ Hits          4310     4312       +2
- Misses        9470     9521      +51
- Partials       505      506       +1

Impacted Files
Coverage Δ

packages/core/src/Engine.ts
62.50% <ø> (ø)

packages/core/src/shader/Shader.ts
39.72% <0.00%> (-0.56%)
:arrow_down:

packages/rhi-webgl/src/GLTexture.ts
34.89% <0.00%> (-8.59%)
:arrow_down:

packages/core/src/texture/Texture.ts
25.00% <0.00%> (-7.36%)
:arrow_down:

packages/core/src/texture/RenderTarget.ts
57.14% <0.00%> (-3.97%)
:arrow_down:

packages/core/src/shader/ShaderUniform.ts
0.86% <0.00%> (-0.01%)
:arrow_down:

packages/core/src/shader/ShaderProgram.ts
0.43% <0.00%> (-0.01%)
:arrow_down:

packages/math/src/Color.ts
89.28% <0.00%> (ø)

packages/rhi-webgl/src/GLTexture2D.ts
51.21% <0.00%> (ø)

packages/rhi-webgl/src/GLTextureCube.ts
52.50% <0.00%> (ø)

... and 4 more

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


Use the recommended length of meta title and description

title length: 20-70 chars
desc length: 70-160 chars


Change translation [Polish]

Checklist

[X] I have used the search function to see if someone else has already submitted the same feature request.
[X] I will describe the problem with as much detail as possible.
[X] This issue only contains a request for one single feature, not multiple (related) features.

App version
6.400
Problem you are trying to solve
There is a problem displaying all function buttons on system notification.
There are three buttons Open, Mark as read, Delete. Polish translation is Otwórz, Oznacz jako przeczytane, Usuń.  Second button translation is to long and Delete button does't show at all.
Suggested solution
Please change Oznacz jako przeczytane as Przeczytane . That is enough to understand what is this button for.
Screenshots / Drawings / Technical details

I changed the string on Transifex.


link DOIs against preferred resolver

Hello!
The DOI foundation recommends a new, secure resolver.
Cheers :-)

Thanks! I didn't realize that for a long time.

 It's a common, but really minor issue, because the old resolver will probably run for a long while longer. If you want to help: https://gist.github.com/katrinleinweber/2c76d9f763f135b76b4440268603d862/ ;-)


by_rel("next") is not returning nil

It seems I cannot fetch proper Nitlink::Link object, I get nil when I do links.by_rel("next")
Here's the debugging I did:
[#<struct Nitlink::Link target=#<URI::HTTPS URL>, relation_type="'next'", context=#<URI::HTTPS URL>, target_attributes={}>,
#<struct Nitlink::Link target=#<URI::HTTPS some URL>, relation_type="'last'", context=#<URI::HTTPS Some URL>, target_attributes={}>]
(byebug) links.by_rel("next")
nil
(byebug) links.by_rel('next')
nil

It probably has to do with the relation type being 'next' instead of next

Can you post the Link header you're parsing to generate links? I suspect it might be something like:
<https://api.github.com/search/code?q=addClass+user%3Amozilla&page=2>; rel='next'

rather than the correct form with double quotes:
<https://api.github.com/search/code?q=addClass+user%3Amozilla&page=2>; rel="next"

Relation types can't be single-quoted, or more technically if they are, then the correct value is the literal string 'next'. You shouldn't ever come across single-quoted relation types in the wild though 🙈! (Unless a server has been misconfigured).

Sure, here's the header:
Link:
  - <https://api.github.com/marketplace_purchases?page=1&per_page=100>; rel='next',
    <https://api.github.com/marketplace_purchases?page=1&per_page=100>; rel='last'

It's what you suspected. To be honest, I did some mocking of the Link header for VCR cassette, and I put those single quoted strings. I'll remove them since they cannot by met in the wild.
I'll change it to double quotes, thanks for the help!


Blank Matter Project (CON-1169)

Is there a way to create a blank matter project that includes all the necessary libraries? I would prefer not to work from an example as they include a lot of unwanted code.
I have tried to add the components using the component manager in the VS code extension as well as through the terminal. But inside the connecthomeip folder, there are a lot of undefined errors.

Just start from the light example in esp-matter/examples/light/main, it's only 400 lines of simple code. Then delete what you don't like.

@RoootNoodle A reference application (like light) can ideally be helpful for you to build the data model, handle the events from the stack and update the driver code. Please let us know if there's anything that you find incorrect/irrelevant and we will get it reviewed.


[QUESTION] how could i get the error status?

Hi, everyone
I want to get the erpc status, to checking if there is a error when call a function. But i haven't found the c api.
Please help.

Hi @thewon86 ,
I think there is no streight API for it.
But using ClientManager.setErrorHandler() you can set your own error handler that will catch errors in globals that you can access.

@thewon86 is the answer is enough? If yes please close the issue.


Fix erratic render no ButtonField which leads to errors

When fields render methods are overriden for instance in a loop, ButtonField render method isn’t
overriden and relies on call instead, therefore it’s behavior is erratic.

Cool, thanks!


[WIP] Add custom host header and secret token options for import openapi

Add new options in the import openapi command to allow specifying
a custom host header and a secret token that the API gateway will
send to the configured backend API in the proxy configuration.

looking good

The smarter way would be to parse from openapi spec. Happy to hear about how to accomodate api backend auth and host headers in swagger (2.0) spec.

Ready for review @eguzki
I've added some unit and integration tests.


16 different color schemes

Description

Code sample

Navy, Blue, Aqua, Teal, Olive, Green, Lime, Yellow, Orange, Red, Maroon,
Fuchsia, Purple, Black, Gray, and Silver.

@derekbtw This is amazing.
We can create a repository to extend Milligram color support. Something like Themas. What do you think?

@cjpatoilo that sounds like a great idea! Glad you like it.

@derekbtw sounds good. I appreciate your interest. Check it https://github.com/milligram/milligram-themes


Specifying as default file handler with content type instead of filetype

Proposal: Specifying as default file handler with content type instead of filetype

Summary

Already asked in microsoft/microsoft-ui-xaml#2456 due to no proper channel to ask. Right now uwp devs have to extensively declare filetypes in manifest if they want their app to be default handler of that filetype. Instead content type should be declared in the manifest and app can be default handler of all files that have the declared content type.
Rationale

Declaring all filetypes is really taxing and in some cases like for a text editor app impossible to do. Instead declaring content type makes it easier for devs. Also in case of win32 apps, user can simply provide executable path to open the file with their app of choice but in case of uwp users can't choose it to default handler of unsupported filetypes. Current filetype association can be kept for silent take over as default handler also giving special icons to some filetypes.

Enable broad range of filetype support without much difficulty.
StorageFile methods like renaming file fails if trying to rename the file to a unsupported filetype as described in here.
StorageFile.GetFileAsync() fails for unsupported file types. This is useful to users as this enables them to open files from command line or WSL environments with uwp app.
Also, Launcher.LaunchFileAsync() fails if the filetype is undeclared which I observed when I tried to implement desktop extension in JasonStein/Notepads#534 to enable users to launch custom filetype with this app.

Scope

Capability
Priority

Declaring default file handler via content type
Must

Ability to change content type of file in open with menu
Should

Open Questions

Should user be able set app as default handler of any kind of file like they can do so with win32?

NOTE: The restrictions on the file extension/type are no longer present. You should see the new behavior in current OS previews

NOTE: The restrictions on the file extension/type are no longer present. You should see the new behavior in current OS previews

Will it come in 2004 or later versions??

Starting in Windows 10 version 2004, there are two changes which should help address some of your needs.
As @smaillet-ms mentioned, your app's file associations no longer restrict what you can do with the Windows.Storage APIs. (In prior releases, the Documents library and removable storage were restricted to block access to files of an unregistered type.)
You can register your app to handle files with any extension (and files with no extension). In your AppxManifest, add "*" as a FileType using the uap10 namespace, like this:
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
...
<uap:Extension Category="windows.fileTypeAssociation">
  <uap:FileTypeAssociation Name="anyfile">
    <uap:Logo>Assets\mylogo.png</uap:Logo>
    <uap:SupportedFileTypes>
      <uap10:FileType>*</uap10:FileType>
    </uap:SupportedFileTypes>
  </uap:FileTypeAssociation>
</uap:Extension>

After adding this to your AppxManifest, your app will show up in the "Open with" dialog for all files. You'll have to click "More apps..." to see it. You can handle file activation just like you do for files with an extension listed in your manifest.

Starting in Windows 10 version 2004, there are two changes which should help address some of your needs.
As @smaillet-ms mentioned, your app's file associations no longer restrict what you can do with the Windows.Storage APIs. (In prior releases, the Documents library and removable storage were restricted to block access to files of an unregistered type.)
You can register your app to handle files with any extension (and files with no extension). In your AppxManifest, add "*" as a FileType using the uap10 namespace, like this:
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
...
<uap:Extension Category="windows.fileTypeAssociation">
  <uap:FileTypeAssociation Name="anyfile">
    <uap:Logo>Assets\mylogo.png</uap:Logo>
    <uap:SupportedFileTypes>
      <uap10:FileType>*</uap10:FileType>
    </uap:SupportedFileTypes>
  </uap:FileTypeAssociation>
</uap:Extension>

After adding this to your AppxManifest, your app will show up in the "Open with" dialog for all files. You'll have to click "More apps..." to see it. You can handle file activation just like you do for files with an extension listed in your manifest.

The app has to have minimum target version 19041 otherwise this fails with manifest validation error, however combining it with uap:FileType passes validation. To support earlier versions the code has to be slightly modified like this:
xmlns:uap10="http://schemas.microsoft.com/appx/manifest/uap/windows10/10"
 ...
<uap:Extension Category="windows.fileTypeAssociation">
   <uap:FileTypeAssociation Name="anyfile">
     <uap:Logo>Assets\mylogo.png</uap:Logo>
     <uap:SupportedFileTypes>
       <uap:FileType>.txt</uap:FileType>
       <uap10:FileType>*</uap10:FileType>
     </uap:SupportedFileTypes>
   </uap:FileTypeAssociation>
</uap:Extension>

I don't have access 2004 yet, so I can't confirm if this works or not.

@soumyamahunt - given @smaillet-ms's note https://github.com/microsoft/ProjectReunion/issues/27#issuecomment-647096712 and your response on to get back to 19041, is there anything else actionable here from Project Reunion?

@stevewri right now the suggested solutions only work for build 19041 and later, if this could be backported to older Windows 10 versions as part of Project Reunion it would be really nice.

Got it; how far back? RS4, 5?

Preferably RS4, but I would like to see this backported as much as it is possible for reunion team.


change primary color based on material ui.

I want to change the default "green" color of the player to a custom one. the info provided in the documents is not working. is there a more easy method to do so???

Why not work？you code ? why don't use issue template? why? your less-loader version is ? There is not a shred of useful information??
less loader v6
  lessOptions: {
    javascriptEnabled: true,
    modifyVars: { '@primary-color': '#f63' },
  },

less loader v5
{
  javascriptEnabled: true,
  modifyVars: { '@primary-color': '#f63' },
}


Demo won't run in XCode 8  / iOS 10

The RNDrawerDemo project won't run in XCode 8 / iOS. I get an error in the RCTWebSocket project: https://github.com/facebook/react-native/issues/8108
I updated examples/RNDrawerDemo/package.json dependencies to look like this:
"dependencies": {
    "react-native-drawer": "latest",
    "react": "15.3.1-rc.2",
    "react-native": "0.34.0-rc.0",
    "react-native-slider": "v0.4.0"
  }

Ran it in XCode and got a bunch of Linker errors as well as recommended settings updates. I implemented those, but the linker errors persist:

Help would be really appreciated on this! I'm having trouble with the side prop being set to "right" and wanted to run the demo to help get through this bug.

+1 Trying to run example to fix my type should not be null, undefined, boolean, or number issue
Got the same issue than in the react issue but can't figured out.

regarding RCTSRWebSocket - in xcode project navigator go into 'Libraries' -> RCTWebSocket -> Target -> RCTWebSocket -> Build settings -> search for 'werr' -> remove 'werror'

It is react-native version problem(^0.26)
check this https://github.com/auth0/react-native-lock#compile-error-react-native-0260
However, current RNDrawerDemo does not work at<EMAIL_ADDRESS>check this work on<EMAIL_ADDRESS>


Trigger Panel Info Column URL with Macros not resolving

This seems to be a Zabbix issue but wanted to make you aware of it.
So my Triggers for website monitoring are all templated and working properly.  I have a URL on the trigger with a Macro in it and it works fine within Zabbix.  I can view the trigger and open the URL and it processes the macro
http://{HOST.HOST}/content-check/checknow.cfm?mode=all
The Trigger Panel is not getting the macro converted.  I'm getting an URL encoded, un-converted macro
http://%7Bhost.host%7D/content-check/checknow.cfm?mode=all
In the API, there are flags for:
expandComment   flag    Expand macros in the trigger comment.
expandDescription   flag    Expand macros in the name of the trigger.
expandExpression    flag    Expand functions and macros in the trigger expression.
But there is no equivalent for expandURL, so as you can see, macros don't get expanded when requested through the API.
I cross posted in the Zabbix forum as well:
https://www.zabbix.com/forum/showthread.php?p=181416#post181416
Hope this gets implemented on the Zabbix side quickly.
Thanks.
Max

Which version of Zabbix is that?

any update please regarding this issue. using Macros instead of host name.
http://{HOST.HOST}/content-check/checknow.cfm?mode=all

This is Zabbix API limitations.

I have the same problem. I think there won't be any fixes to Zabbix API in near future. I fixed this by utilizing existing code and made a PR #759.

@timyllym Thank! I'll take a look.


oai: harvestable records

make the entire repo of records harvestable with Dublin Core export format, without caring about OIASets

Result of validator (https://validator.oaipmh.com/)

Validator XML Output: validator-xml-output.zip


fix(db-schema): Configuration.id definition

current Configuration.id field definition causes the following changes added on every typeorm generated migration:
    public async up(queryRunner: QueryRunner): Promise<void> {
        await queryRunner.query(`ALTER TABLE "configuration" ALTER COLUMN "id" SET DEFAULT 1`);
    }

    public async down(queryRunner: QueryRunner): Promise<void> {
        await queryRunner.query(`ALTER TABLE "configuration" ALTER COLUMN "id" SET DEFAULT '1'`);
    }

Does this stop the migration creation now?

After this fix only intended changes are included in a created migration.


How can I set "disable-web-security" to true with use func "NewRemoteAllocator"?

Apologize for posting help in issues
I am using func "NewRemoteAllocator" and It has been stable,I hope it will work properly when visiting self-signed websites
I found this issue
How can I set "disable-web-security" to true with use func "NewRemoteAllocator"?

I have tried to use NewExecAllocator, but it has caused serious coredump in the docker. I think NewExecAllocator frequently creates new browsers, while NewRemoteAllocator uses a different tab of one browser. I look forward to your reply

I think you meant the chromium command line option --disable-web-security. A chromium command line option is applied when a browser instance is started.

How can I set "disable-web-security" to true with use func "NewRemoteAllocator"?

Since chromedp.NewRemoteAllocator is used to connect to an already running browser instance,  there is not chance for the app to set this option. If the pre-started browser instance is started by you, you can pass this option when you start the browser instance. For example, if your remote browser is a container of chromedp/headless-shell, you can run it like this:
$ docker run -d -p 9222:9222 --entrypoint '/headless-shell/headless-shell' chromedp/headless-shell --no-sandbox --use-gl=angle --use-angle=swiftshader --remote-debugging-address=<IP_ADDRESS> --remote-debugging-port=9222

(The entrypoint parameters are copied from https://github.com/chromedp/docker-headless-shell/blob/master/Dockerfile).

I think NewExecAllocator frequently creates new browsers, while NewRemoteAllocator uses a different tab of one browser.

See the following example to see how to open multiple tabs in the same browser instance.
https://github.com/chromedp/chromedp/blob/2c1b71999a2f16e3e121672c3a0727cef367ca18/example_test.go#L201-L228

Thank you very much
Have a goog day


Visualize energy graph regen vs charging

In visualize, on the energy tab, the top graph is labelled as energy and speed, but it doesn't differentiate between regen and charging, labels all charging as regen. Considering that charging is covered by the next graph down, it would be much nicer if only regen were included here.

to distinguish regen from charging the chart would have to cross reference "shift_state" or "speed" to determine that a negative power reading is coming from a charge (shift state = P, speed = 0) or from driving activity

That's one option, the other I have off the top of my head is to mathematically subtract the information from the charge chart

I too was surprised to see charging being represented on the energy chart; it makes the "Total energy regen" number useless.  I'd just zero battery_current (?) on import when charging_state=='Charging'.  Then you'd still be able to capture the small blips when the car wakes up, does a software update, etc. (but is not charging).


feat: add unsorted imports linter

This is an easier to review alternative to PR #16419. This PR only adds the linter and does not change any imports. Currently unsorted imports are added to nolints-style.txt.
Rationale for sorting imports:

Reduces the risk of introduction of new unintentional import order dependencies
Documents existing (potential) import order dependencies as linting exceptions
Simplifies the identification and resolution of merge conflicts
Establishes a standard format for imports

I won't have time to review this in depth until October, sorry. That said, the implementation looks straightforward, so the harder part is deciding if this PR is desirable. (If import order had no performance effects, I would say "clearly yes", but sadly the story is not as simple.)
Two quick thoughts:

given that this linter produces sometimes unhelpful warnings, I'm not sure if it should be active by default. (Putting comments when out of order imports are intentionally left so does seem useful, though.)
I don't think putting 1800 entries into nolints-style should land as-is. If there are many exceptions, they should be auto-updatable (which that file intentionally is not); rather style-exceptions.txt should be restored. If we foresee exceptions changing, one could also just comment the few cases of intentional out of order imports.
If (almost) all imports should be sorted, I wonder if a PR changing most of these is fine and should land before (perhaps split into parts).

A good next step could be to start a discussion in the #mathlib stream, trying to gauge if this PR is desired or not.
I gather this PR and its predecessor have been sitting, mostly without attention for two weeks. I can imagine this is a rather unsatisfactory situation for you, @eprunin. I'm sorry for that. Collectively deciding about a (at least slightly) controversial PR takes time --- one way you can accelarate is by asking on zulip first.
(I don't remember a zulip threat about this, but haven't checked. If there was already, sorry for the noise. In that case, I'd rather label with PR with awaiting-zulip, or link to the discussion in the description.)

Actually, let me label this with awaiting-zulip: I think there should first be a decision if this PR is wanted by the mathlib maintainers. (I am not a maintainer.)

Assuming that this is something that receives approval, I would probably recommend to create a PR depending on
#16574
that extends that linter by checking that the (parsed) imports are sorted.


"a" start ./test/karma.conf.js was unexpected at this time."

Expected behaviour
when I ran this script in package.json
"scripts": {     "test": "karma start ./test/karma.conf.js",
with yarn test or npm run test it should be able to find karma and run the script
Actual behaviour
Throw an error:
yarn test v0.20.3 $ karma start ./test/karma.conf.js a" start ./test/karma.conf.js was unexpected at this time.
Environment Details
karma :  1.4.1
node:  7.2.0
yarn:  0.20.3
npm:  3.10.9

(The issue is fixed when I downgrade to Karma 1.3.0)

Steps to reproduce the behaviour

Install Latest version of Karma
Match your yarn or npm with provided version
Run the test

I had experienced the same issue. It happened on my Windows developement environment.

Can you share your karma configuration file?

We are experiencing this problem too, also on a Windows environment.  Our karma config is straight out of the angular-cli, untouched.
// Karma configuration file, see link for more information
// https://karma-runner.github.io/0.13/config/configuration-file.html

module.exports = function (config) {
  config.set({
    basePath: '',
    frameworks: ['jasmine', '@angular/cli'],
    plugins: [
      require('karma-jasmine'),
      require('karma-chrome-launcher'),
      require('karma-jasmine-html-reporter'),
      require('karma-coverage-istanbul-reporter'),
      require('@angular/cli/plugins/karma')
    ],
    client:{
      clearContext: false // leave Jasmine Spec Runner output visible in browser
    },
    files: [
      { pattern: './src/test.ts', watched: false }
    ],
    preprocessors: {
      './src/test.ts': ['@angular/cli']
    },
    mime: {
      'text/x-typescript': ['ts','tsx']
    },
    coverageIstanbulReporter: {
      reports: [ 'html', 'lcovonly' ],
      fixWebpackSourcePaths: true
    },
    angularCli: {
      environment: 'dev'
    },
    reporters: config.angularCli && config.angularCli.codeCoverage
              ? ['progress', 'coverage-istanbul']
              : ['progress', 'kjhtml'],
    port: 9876,
    colors: true,
    logLevel: config.LOG_INFO,
    autoWatch: true,
    browsers: ['Chrome'],
    singleRun: false
  });
};

I get the same issue on my windows machine

I had the same problem on Windows as well but upgrading to the latest version 1.6 fixed it for me.

Can anyone else verify whether this is still an issue in Karma 1.6?

I am seeing this issue with Karma 1.6.0.  It happens once every 10-11 times in my Jenkins build.

I can confirm that the issue still exists with karma 1.6
We use a combination of yarn and karma in an enterprise environment and i would
very much appreciate further investigation on this.

I can confirm also confirm that the problem stillt exists in 1.6. I think something went wrong during yarn install. I compared a working karma node-modules directory with a non working a got a difference in the .bin folder.
See:
working (.bin/karma.cmd):
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\..\karma-cli\bin\karma" %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\..\karma-cli\bin\karma" %*
)

not working (.bin/karma.cmd)
@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\..\karma\bin\karma" %*
) ELSE (
  @SETLOCAL
  @SET PATHEXT=%PATHEXT:;.JS;=;%
  node  "%~dp0\..\karma\bin\karma" %*
)a" %*
)

I think this is where the "a" comes in. I hope that helps a bit to isolate the problem. Nearly every build fails on our windows-jenkins environment :(

I did some sleuthing around, and I wonder if this is an npm and yarn regression. I did not see any particular red flags when looking at commits between 1.3 and 1.4.
I need to look deeper into how npm creates the wrapper cmd files on Windows.

I have also been having issues in the yarn install phase installing Karma along with this issue.  We're considering moving to Yarn on our CI jobs and I am wiping workspaces between test runs.  I would say this points toward an issue with Yarn, not Karma itself.

For yarn, I noticed that it uses a dependency called cmd-shim to handle the creating of this script. Based on @cpasslack's diff, it seems to point to an issue with target  in https://github.com/ForbesLindesay/cmd-shim/blob/master/index.js#L109, but I haven't gotten the opportunity to test this on a Windows machine.

Did a little more thinking about it - I wonder if this is some weird Node regression exposed in this line. As far as my reading of @cpasslack's diff goes, it seems to suggest that somehow in the execution of https://github.com/ForbesLindesay/cmd-shim/blob/master/index.js#L104-L110, the value of target changes between https://github.com/ForbesLindesay/cmd-shim/blob/master/index.js#L105 and https://github.com/ForbesLindesay/cmd-shim/blob/master/index.js#L109 from
"%~dp0\..\karma-cli\bin\karma"\r\n

to
"%~dp0\..\karma\bin\karma" %*\r\n)a"

This seems to suggest an upstream bug though, as karma doesn't do anything special here on install.
One thing I ask for those who have encountered the problem - what versions of Node, npm, and yarn are each person using that exposes the problem?

node 6.10.1
npm 3.10.10
yarn 0.23.2

node 6.10.3
npm 3.10.10
yarn 0.23.2

$ node --version
v5.6.0
$ npm --version
3.6.0
$ yarn --version
0.23.4

Is it reproduced only for yarn?

Yes.  I can only produce this with yarn.

Any progress for this issue?

I managed to circumvent this problem by removing karma-cli from package.json (a globally installed karma-cli does not cause problems)

had same issue, but in my case it was because of my own doing...
maybe some others made the same mistake as me
while trying to install a global package with yarn (while being in my project folder)
instead of yarn global add [package]
i used the command yarn add global [package]
which causes the package "global" to be installed, together with the [package]
removing my node_modules with the unaltered package.json solved my issue

I run into the same issue:
$ node --version
v6.9.1
$ npm --version
3.10.8
$ yarn --version
0.28.0-20170716.1125

had issue again, this time followed advice from JochenDiekenbrock & seemed to have resolved my issue:

I managed to circumvent this problem by removing karma-cli from package.json (a globally installed karma-cli does not cause problems)
--
Duplicate of #https://github.com/karma-runner/karma/issues/2572#issuecomment-311349603

What is the status of this issue?
Can anyone confirm that:

I managed to circumvent this problem by removing karma-cli from package.json (a globally installed karma-cli does not cause problems)


Fix compile error

build/_deps/cpp_yyjson-src/include/cpp_yyjson.hpp:3545:32: error: ‘monostate’ is not a member of ‘std’; did you mean ‘fmt::v9::monostate’?
 3545 | template <> struct caster<std::monostate> {

@decades42  Thanks for the PR. Merged!


Support poetry.lock

poetry is a Python package manager that is gaining momentum as an alternative to pip.
It provides a concrete poetry.lock describing the resolved dependencies of a project.
Would it make sense to add a poetry.lock parsing module to this project to integrate smoothly with poetry projects?
It might be sensible to add the parse as on extra to the project that would be installed with liccheck[poetry]. Depends if we use the poetry project to read the lock file.
poetry does have the functionality to generate a requirements.txt so there is a work around possible.

That would be excellent. poetry export helps some, but tends to sometimes (like with the current very recent 1.1.6 release) generate a requirements.txt that liccheck chokes on.

I implemented a very rudimentary and (for now) ugly poetry.lock reader here: https://github.com/vegai/python-license-check/pull/new/poetry_lock_support -- the POC was pretty trivial.
If somebody wants to pick this up and implement it properly, feel free. If not, I'll probably be able to make it prettier in a few days/weeks.

So I probably knew when I was writing my last comment that it's a blatant lie. Anyway, perhaps some day it will happen that I get bored of exporting requirements.txt and rereading it here and then finish this.

Does exporting from poetry and consuming in liccheck works for you out of the box?

Yes. The following command sequence works great for me in all my Poetry projects.
specifically Poetry versions v1.0.0+ (v1.3.1 is the latest at the time of writing)
poetry export > requirements.txt
poetry run liccheck
rm requirements.txt

I'd like to run it in pre-commit with poetry, but this would require a custom pre-commit hook. So having this "workaround" implemented in the package would be nice! Possibly it should also not be specific to poetry, but rather allow giving a command that generates a requirements.txt (this would allow to also e.g. enable Pipfile.lock)
Also, maybe liccheck should just allow passing a requirements.txt file to stdin - then creating temporary files could be avoided.


✨ Rich Text Editor - Table Plugin - Support saving block elements within table cells

Cc: @wicksipedia, @JackDevAU, @Ben0189
Splitting off from #4681
We use mdast to save our content into markdown. It does not natively support block elements within table cells. To do this, we need to write our own parser.
This would allow us to have the following formats within table cells:

Custom templates
Bulleted lists
Numbered lists
Quotations
Code Blocks
Headings

After #4681 is complete

[ ] Investigate feasibility
[ ] Implement if possible

Hello, I imagine this is why I'm seeing this when trying to save content with a table in tina cloud.


RFC: Project Roadmap + Visibility

Everyone is welcome to review and comment.
We will discuss this in the TOC meeting today (Nov 9th).
In the TOC meeting next week the TOC members will vote on whether to accept this working agreement.

I like the proposal. One point, which is not clear and I would like to see is an easy way to discover old proposals. It doesn't look so straight forward to find old cards in a Github project. Filtering on closed cards and using the free text search delivers interesting results :-).

@cloudfoundry/toc this has been updated for the new RFC format

Merging, as this has unanimous approval from the TOC. Will try out my latest changes to the numbering script after merging.


Remove old scanner link

Fixes #1242
Signed-off-by: John Schnake<EMAIL_ADDRESS>Only impacted one file actually; I thought it would be more throughout the versions but it wasnt.

Small enough PR and I verified what I intended; just merging.


Final exam on June 15

Hello, @compiler-inservice-s22/students,
The final exam will be held during class time next Wednesday. However, according to the NYCU epidemic prevention measures, the exam will not be held in the physical classroom. It will be a take-home (open-book) exam, but you will still need to return your answers by the end of the exam time.
Here are the exam details.
Time: 18:30-20:20 on June 15
Scope: Chapters 5-9
Notice: You need to prepare blank papers for your exam response. The exam questions will be released on E3 at 18:30, June 15, and you will need to take CLEAR photos of your answers and submit them on E3 by 20:20, June 15. NO LATE SUBMISSION IS ALLOWED, so please reserve some time (say 10 minutes) for the submission process. If you have any questions regarding the exam questions, I'll be in the Webex meeting room during the exam to answer your questions.

Sure thing.


Mithril explorer does not display properly on Chrome for Android phone

Why
We have noticed that only the template of the Mithril explorer is showing on (some) android phone with Chrome browser.

What
Investigate and fix the display problem.
How

[x] Investigate the problem
[x] Fix the problem

ping @rezabaram

Fix is "resuming" the fetch of the data with "Resume" button.


Update vagrantbootstrap.sh with python3 support

I didn't actually test this with vagrant, but I don't see why it shouldn't work.

Why not use python3 straight from path?

I remember having trouble with that on some systems. Or it might have been an older version of virtualenvwrapper. I tested with just python3 locally and it worked now though.


Correct the documentation for \d.

Fixes #62 .

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @alexcrichton (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. The way Github handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see CONTRIBUTING.md for more information.

r? @BurntSushi

Thanks!


I keep getting forbidden

Describe the bug
I recently found out about you guys and wanted to play with it. However, I cant seem to make it work. Whatever prompt I type it keeps giving me forbidden error. I even subscribed to PRO just to make sure I have not reach the free tier limit but I got the same forbidden error. I also tried very simple prompt like this
"a simple landing page website for my pottery business", still I get forbidden.
I also tried using a different browser (chrome and safari) but still the same error.

Link to the Bolt URL that caused the error
i dont have a link as I was not able to generate anything
Steps to reproduce

Login
Type a prompt
click submit button

Expected behavior
to give result to my prompt
Screen Recording / Screenshot
https://github.com/user-attachments/assets/a9e7fe4b-079b-437b-ad9e-4d2f13009125
Platform

OS: macOS
Browser: Chrome and Safari
Version: Chrome -129.0.6668.90 , Safari-18.0.1 (206<IP_ADDRESS>.7)

Additional context
my user name is dombi

having the same issue

Same issue, it didn't even work for the first time

same here

Same here

After my personal test, Japan, Singapore, Taiwan, and mainland China can use it normally, but Hong Kong will also have the same ban problem.
So you can try to switch IP

Vietnam says no...

@bsour @SassDude Try using a different IP address from another country or region. Forbidden may be due to regional restrictions.

Apparently not working for Australia...

Apparently not working for Australia...

Asia may be able to

It worked for me this morning (Australia)

solved the problem using my phone's hotspot, and the home Wi-Fi always reported errors (China)

solved the problem using my phone's hotspot, and the home Wi-Fi always reported errors (China)

This should be the operator's problem. There's nothing you can do about it. This is just how China is.

solved the problem using my phone's hotspot, and the home Wi-Fi always reported errors (China)

This only works on selected countries which is I'm sad to know about.
Use VPN > netherlands, to make it work.

same issue (HK)

@Nemikolh  Hello, and thank you for your contribution to this project. The “Forbidden” issue seems to be quite serious, as it involves a wide range of regions and may occur regardless of whether the user has a Pro subscription. Does the official website also not know the cause of this problem?
Initially:

Japan, Singapore, Taiwan and mainland China: access is normal
Hong Kong: “Access Forbidden” error

Current situation:

All the above regions now have “Access Forbidden” errors
Only the United States, Russia and Canada can access normally

I would like to know if the team knows the root cause of this issue. We would appreciate it if you could provide any insights or updates.
Thank you for taking the time to look into this matter.

Seems Bolt.new is FORBIDDEN in India too!
I've been getting the same "Forbidden" error from for the last six hours or so and it didn't occur to me that it could be because of some geo location error. With an US IP from a VPN, I didn't face any such issue.
Hope you guys fix this rather unusual glitch.

The same issue is still occurring in Japan as well. Are shared IP addresses provided by Internet Service Providers (ISPs) causing the problem?

trying for 1st time, India, encountering this issue of "Forbidden" - hope it is being worked on. Thanks! Looks promising!

maybe it is an ai token issue.

we've just updated the message to read:

Our upstream AI provider blocks usage in your IP's country. Please try changing your VPN location.

Hi all!
We have deployed what we believe may be a fix for this issue.
Could you try accessing again to see if the problem is resolved for you, and let us know the result?

Hi all!
We have deployed what we believe may be a fix for this issue.
Could you try accessing again to see if the problem is resolved for you, and let us know the result?

Thank you for all your hard work, and it seems that everything has returned to normal.

Still a problem here in the Philippines. Still haven't used this product since I upgraded to pro...
I don't intend to spend extra money on VPN just to try this product.

Getting this issue in Australia (not connected to a VPN).

same issue

same issue in Australia

It looks like we didn't actually fully resolve this issue

we've just shipped a fix, please confirm it now works!

Thanks for the update! I can confirm that the issue has been resolved and it's working as expected here in the Philippines.

Same server error in Alberta, Canada. It's been doing this for at least 2 days.

@Towoadeyemi1 can you open a separate issue?

I have opened a separate issue.
Thanks
On Wed, Oct 16, 2024 at 7:36 PM Sam Denty @.***> wrote:

@Towoadeyemi1 https://github.com/Towoadeyemi1 can you open a separate
issue?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/77#issuecomment-2418312021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJDMN62WUE76D6MSIDHL7VDZ34IAHAVCNFSM6AAAAABPN3N646VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGMYTEMBSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Are you attending to it?
On Wed, Oct 16, 2024 at 7:48 PM Towo Adeyemi @.***> wrote:

I have opened a separate issue.
Thanks
On Wed, Oct 16, 2024 at 7:36 PM Sam Denty @.***>
wrote:

@Towoadeyemi1 https://github.com/Towoadeyemi1 can you open a separate
issue?
—
Reply to this email directly, view it on GitHub
https://github.com/stackblitz/bolt.new/issues/77#issuecomment-2418312021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJDMN62WUE76D6MSIDHL7VDZ34IAHAVCNFSM6AAAAABPN3N646VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJYGMYTEMBSGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Please I’ll want my tokens or money refunded as I got absolutely no value. Errors that didn’t make sense until all my tokens were used up.Thanks Sent from my iPhoneOn 16 Oct 2024, at 20:22, Towo Adeyemi @.> wrote:Are you attending to it?On Wed, Oct 16, 2024 at 7:48 PM Towo Adeyemi @.> wrote:I have opened a separate issue.ThanksOn Wed, Oct 16, 2024 at 7:36 PM Sam Denty @.***> wrote:
@Towoadeyemi1 can you open a separate issue?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>

Codecov Report

Merging #405 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #405   +/-   ##
=======================================
  Coverage   33.33%   33.33%
=======================================
  Files           5        5
  Lines          93       93
=======================================
  Hits           31       31
  Misses         62       62

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 b380006...123e369. Read the comment docs.

Coverage remained the same at 29.204% when pulling 123e369dbcc01570906b99f09c903ea52ee34397 on template-sync-1 into b38000678492bf710cae0d192cf3667aafe63642 on master.


Documentation: Add r2 and Pages commands to reference docu

What version of Wrangler are you using?
2.0.2
What operating system are you using?
Mac
Describe the Bug
We should add the wrangler pages and wrangler r2 reference documentation to https://developers.cloudflare.com/workers/wrangler/commands/

Looks like this should have been closed with https://github.com/cloudflare/cloudflare-docs/pull/4627


Running extensions as worker threads

I see my extensions consuming a lot of memory and I see they are run as separate node processes per extension.
I think the resource consumption can be reduced significantly if the extensions are run as nodejs worker threads. Is this possible? Has there been any discussions on this already?

/needsMoreInfo

I see my extensions consuming a lot of memory and I see they are run as separate node processes per extension.

This is not fully accurate. There is an extensionHostProcess per window that runs all extensions loaded by this window.

if the extensions are run as nodejs worker threads.

We are investigating how an extension can leverage a node worker to avoid blocking the extension host process. This is still in progress.
We


Download a package from a private repository with bad certificate

Hi,
I'm using a requirements.txt file, with some packages from a private repository. This repo is based on a private gitlab, with a self-signed certificate (Cannot use a right one, for some infrastructure reasons...)
I can install my packages from this repo using pip install -r ... but not using uv pip install -r ....
My requirements.txt:
mypackage @ git+https://gitlab.example.com/<my_user>/mypackage@main#egg=<my_egg>

With pip:
$ pip install -r requirements.txt
Collecting mypackage@ git+https://gitlab.ville.tg/<my user>/mypackage@main#egg=mypackage (from -r ../requirements/common.txt (line 24))
  Cloning https://gitlab.ville.tg/<my user>/mypackage  (to revision main) to /tmp/pip-install-0wbxgsrj/mypackage_3369986277e8440d861fb9f680c74595
  Running command git clone --filter=blob:none --quiet https://gitlab.ville.tg/<my user>/mypackage /tmp/pip-install-0wbxgsrj/mypackage_3369986277e8440d861fb9f680c74595
  avertissement : redirection vers https://gitlab.ville.tg/<my user>/django-notifications.git/
  Resolved https://gitlab.ville.tg/<my user>/mypackage to commit b13c3a56f54f0cf35a60df4281995ca1fc75d67f
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
...

Witih uv pip
$ uv pip install -r requirements.txt
Updating https://gitlab.ville.tg/fguerin/mypackage (main)                                                                                error: Failed to download and build: mypackage @ git+https://gitlab.ville.tg/<my user>/mypackage@main#egg=mypackage
  Caused by: Git operation failed
  Caused by: failed to fetch into: /home/<my user>/.cache/uv/git-v0/db/c13f4940a991ecb3
  Caused by: failed to connect to the repository
  Caused by: the SSL certificate is invalid; class=Ssl (16); code=Certificate (-17)

Thanks for your help !

Hi! Thanks for the clear issue.
Is this a duplicate of #1339? Can you add the certificate to your system trust store per #1512?

Thanks for your quick answer !
I do not use the --trusted-host parameter while using pip install, but I've my credentials installed in the /home/<my user>/.pypirc.
Look's like I already have this cert in my "system trust store" (not sure of what I've to put on it...)

Are you using the latest version of uv?
Note we don't support reading from the .pypirc file.

Yes, I do.
Fresh install using pipx -- 0.1.5

Thanks I'll look into this!

What is the recommended uv way of handling this instead? Running into same issue. Yes, I could pass index-url but I have multiple packages thus it would become unfeasible. My ~/.pypirc has th following:
[distutils]
index-servers =
    proj1
    proj2

[proj1]
repository = https://gitlab.com/api/v4/projects/<GITLAB_PROJECT_ID>/packages/pypi
username = un
password = pw

[proj2]
repository = https://gitlab.com/api/v4/projects/<GITLAB_PROJECT_ID>/packages/pypi
username = un
password = pw

[proj..n]
.....

Thus running pip install -r requirements.txt looks in all these private indexes, but uv pip install -r requirements.txt fails with:
error: HTTP status client error (401 Unauthorized) for https://gitlab.com/api/v4/projects/<GITLAB_PROJECT_ID>/packages/pypi

Hi,
guessing this is the same issue
just giving another aspect
working via a private repo on GCP
the authentication is done via
keyring==24.3.0
keyrings-google-artifactregistry-auth==1.1.2

when running
python -m pip install \
		--index-url https://my-region-python.pkg.dev/my-gcp-prj/python-repo/simple/ \
		--extra-index-url https://pypi.python.org/simple/ \
		--upgrade \
		-r requirements-private.txt

successfully installed
But when running
uv pip install --index-url https://my-region-python.pkg.dev/my-gcp-prj/python-repo/simple/   \
                      --extra-index-url https://pypi.python.org/simple/   \
                      --upgrade  \
                      -r requirements-private.txt

getting the following error:

error: HTTP status client error (401 Unauthorized) for url (https://my-region-python.pkg.dev/my-gcp-prj/python-repo/simple/my-package/)

I also had an issue with the --pre flag
if my requirements-private.txt has the --pre flag, e.g.

my-package --pre

i get the following error

error: Expected '--hash', found '"--pre"' in requirements-private.txt at position NN

Hi! We don't have keyring support yet. You can track that at https://github.com/astral-sh/uv/issues/1520
We also do not support specifying --pre in requirements files. You can specify my-package >=0.0.0dev0 if you want to enable prereleases for a single package or --pre on the command line to enable them globally. Please open a new issue if you want to discuss that further.

These should now be supported through SSL_CERT_FILE and --keyring-provider/UV_KEYRING_PROVIDER.


fairness-interpretability-dashboard-income-prediction.ipynb / from raiwidgets import ExplanationDashboard command --> TypeError: init() got an unexpected keyword argument 'unbound_message'

Describe the bug
When running the fairness-interpretability-dashboard-income-prediction.ipynb notebook, the command:
from raiwidgets import ExplanationDashboard
returns the following error:
TypeError: init() got an unexpected keyword argument 'unbound_message'
To Reproduce
Steps to reproduce the behavior:

Go to Azure Machine Learning Service
Click on Notebook
Upload fairness-interpretability-dashboard-income-prediction.ipynb
Run through notebook
Scroll down to command 'from raiwidgets import ExplanationDashboard'
See error

Stack trace
TypeError                                 Traceback (most recent call last)
Cell In [13], line 1
----> 1 from raiwidgets import ExplanationDashboard
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/raiwidgets/init.py:7
4 """Package for the fairness, explanation, and error analysis widgets."""
6 from .version import version
----> 7 from .error_analysis_dashboard import ErrorAnalysisDashboard
8 from .explanation_dashboard import ExplanationDashboard
9 from .fairness_dashboard import FairnessDashboard
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/raiwidgets/error_analysis_dashboard.py:6
1 # Copyright (c) Microsoft Corporation
2 # Licensed under the MIT License.
4 """Defines the ErrorAnalysis dashboard class."""
----> 6 from flask import jsonify, request
8 from .constants import ModelTask
9 from .dashboard import Dashboard
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/flask/init.py:4
1 from markupsafe import escape
2 from markupsafe import Markup
----> 4 from . import json as json
5 from .app import Flask as Flask
6 from .app import Request as Request
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/flask/json/init.py:8
4 import typing as t
6 from jinja2.utils import htmlsafe_json_dumps as _jinja_htmlsafe_dumps
----> 8 from ..globals import current_app
9 from .provider import _default
11 if t.TYPE_CHECKING:  # pragma: no cover
File /anaconda/envs/azureml_py38/lib/python3.8/site-packages/flask/globals.py:56
54 _cv_app: ContextVar["AppContext"] = ContextVar("flask.app_ctx")
55 __app_ctx_stack = _FakeStack("app", _cv_app)
---> 56 app_ctx: "AppContext" = LocalProxy(  # type: ignore[assignment]
57     _cv_app, unbound_message=_no_app_msg
58 )
59 current_app: "Flask" = LocalProxy(  # type: ignore[assignment]
60     _cv_app, "app", unbound_message=_no_app_msg
61 )
62 g: "_AppCtxGlobals" = LocalProxy(  # type: ignore[assignment]
63     _cv_app, "g", unbound_message=_no_app_msg
64 )
TypeError: init() got an unexpected keyword argument 'unbound_message'
Expected behavior
This command should execute without error.
Screenshots

Desktop (please complete the following information):

OS: Windows 10
Browser:  Chrome
Python version: Python 3.8 - AzureML
raiwidgets and responsibleai package versions: 0.24.1, 0.24.1

@slsu0424 can you please try upgrading your version of flask in your environment:
pip install --upgrade flask
It looks like the error is coming from flask package.  What is your flask package version?  The latest is 2.2.3:
https://pypi.org/project/Flask/

@slsu0424 can you please try upgrading your version of flask in your environment: pip install --upgrade flask It looks like the error is coming from flask package. What is your flask package version? The latest is 2.2.3: https://pypi.org/project/Flask/

Thank you, that solved the issue for me!


Stop playback when not in focus or not visible

https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API

I think I'd want it to keep playing while not focussed, pausing when not visible might be a good idea though.

Although: Window.requestAnimationFrame() calls are paused in most browsers when running in background tabs or hidden <iframe>s in order to improve performance and battery life.


timeout on command arm, takeoff etc.

I'm getting an error while using example 'takeoff_and_land.py":
Waiting for mavsdk_server to be ready...
Connected to mavsdk_server!
Waiting for drone to connect...
Drone discovered with UUID: 1
-- Arming
Traceback (most recent call last):
  File "test.py", line 37, in <module>
    loop.run_until_complete(run())
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\asyncio\base_events.py", line 587, in run_until_complete
    return future.result()
  File "test.py", line 25, in run
    await drone.action.arm()
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python37\lib\site-packages\mavsdk\generated\action.py", line 230, in arm
    raise ActionError(result, "arm()")
mavsdk.generated.action.ActionError: TIMEOUT: 'Timeout'; origin: arm(); params: ()

What cause that problem?
I'm connecting with pixhawk with esp8266 (pre build bin pixracer for connecting udp 14560 port) without any problems on mission planner app, but some kind of error appears using python example.

Are you using PX4?

Thank You for Your quick answer!
Yes, I'm using Pixhawk 2.4.8 with arducopter v 4.0.3 connected through esp8266 (firmware firmware_UDP_2016-12-05.bin from ugcs). I can fully manage by this connection on Mission Planner, but using python example is problematic for it

MAVSDK is developed and tested against PX4, so I cannot really say what is the expected behavior with Arducopter. I'm a bit surprised that arm() fails already. I guess it may be related to the flight mode: https://github.com/mavlink/MAVSDK/blob/develop/src/plugins/action/action_impl.cpp#L168-L200
But I would need input from somebody who knows how APM works...

Ok, you're using ArduCopter, not PX4. MAVSDK is currently not compatible with ArduPilot:
See https://github.com/mavlink/MAVSDK/issues/728.

If I understood good, mavsdk will not work with my FC https://static2.abc-rc.pl/pol_pl_Kontroler-lotu-Pixhawk-PX4-V2-4-8-karta-SD-1GB-Autopilot-PX4-8106_3.jpg
? If yes, is there any possibility to change firmware to working with this FC? Which FC are You using to work with mavsdk?
Or do You know any other possibility to create planning mission remotely and run without transmitter, just using ?

@Owiec94 you can use QGroundControl and then flash PX4 which is compatible with MAVSDK. The hardware itself works with both, ArduPilot or PX4.

@julianoes  Thank You for Your answer, Actually I've reflashed my FC with QGroundControl software but it wont connect with that software. Can You help me?
What is weird - the other FC (the same model 2.4.8) with arducopter firmware can communicate with QGroundControl, but PX4 firmware no.

wont connect with that software

What do you see?

https://easyupload.io/71ug8o
https://easyupload.io/7cizef
https://easyupload.io/csi25f
Yellow message Your vehicle is not responding...
the blue led is blinking and the main strong led is turned off.

Ok, that's odd. Does it also not appear after you unplug USB and plug it back in?

Sadly, no, tried all possible things, I've uploaded also firmware into esp8266 to connect via UDP but it still without any success.
Should I install any additional drivers etc? Notice: I've no problem with connecting with Mission Planner and QGroundControl with arducopter firmware.
But I want to use mavsdk with PX4 firmware.

@Owiec94 where did you buy the Pixhawk from? My suspicion is that it could be a (bad) clone that lacks some hardware component which prevents PX4 from starting properly. If you have a debug cable as explained in https://docs.px4.io/master/en/flight_controller/pixhawk.html#console-port you could try to see the startup messages and see if that shows any specific errors.

Dear @julianoes Thank You for Your support. It was an error "avionics power low" 4.89V what is an mistake, my pixhawk power module has 5.3V output. Where I can calibrate or set lower threshold or do something to ignore that message?

Aha! There is a param to skip that check, I think it's this one: https://dev.px4.io/master/en/advanced/parameter_reference.html#CBRK_SUPPLY_CHK


Set variables to pimatic

Hello,
Is it possible to add support to set variables from node red to pimatic? Or is that possible in a way already?
thanks

Not yet supported, but thanks for the request. I will try to add it soon!

Hi, I just added variable support. Please have a go at it and let me know if you encounter anything

Hi
I'm having troubles installing the update. This is the output of npm-debug.log
144 info installOne<EMAIL_ADDRESS>145 verbose installOne of node-red to /home/pi/pimatic-app/node_modules/pimatic-node-red not in flight; installing
146 verbose correctMkdir /root/.npm/_locks correctMkdir not in flight; initializing
147 verbose lock using /root/.npm/_locks/node-red-04816a302444b987.lock for /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red
148 silly install write writing node-red 0.14.6 to /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red
149 verbose unbuild node_modules/pimatic-node-red/node_modules/node-red
150 silly gentlyRm /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red is being purged from base /home/pi/pimatic-app
151 verbose gentlyRm don't care about contents; nuking /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red
152 silly vacuum-fs Error: ENOTDIR: not a directory, lstat '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red'
152 silly vacuum-fs     at Error (native)
153 verbose unlock done using /root/.npm/_locks/node-red-04816a302444b987.lock for /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red
154 verbose about to build /home/pi/pimatic-app/node_modules/pimatic-node-red
155 verbose unlock done using /root/.npm/_locks/pimatic-node-red-ac19c7cf109d38f8.lock for /home/pi/pimatic-app/node_modules/pimatic-node-red
156 verbose stack Error: ENOTDIR: not a directory, lstat '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red'
156 verbose stack     at Error (native)
157 verbose cwd /home/pi/pimatic-app
158 error Linux 4.4.21-v7+
159 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "pimatic-node-red"
160 error node v4.4.5
161 error npm  v2.15.5
162 error path /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red
163 error code ENOTDIR
164 error errno -20
165 error syscall lstat
166 error ENOTDIR: not a directory, lstat '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red'
167 error If you need help, you may report this error at:
167 error     https://github.com/npm/npm/issues
168 verbose exit [ -20, true ]
169 verbose unbuild node_modules/pimatic-node-red/node_modules/node-red
170 silly gentlyRm /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red is being purged from base /home/pi/pimatic-app
171 verbose gentlyRm don't care about contents; nuking /home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red
172 silly vacuum-fs Error: ENOTDIR: not a directory, lstat '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red'
172 silly vacuum-fs     at Error (native)
173 error error rolling back Error: ENOTDIR: not a directory, lstat '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red'
173 error error rolling back     at Error (native)
173 error error rolling back  { [Error: ENOTDIR: not a directory, lstat '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red']
173 error error rolling back   errno: -20,
173 error error rolling back   code: 'ENOTDIR',
173 error error rolling back   syscall: 'lstat',
173 error error rolling back   path: '/home/pi/pimatic-app/node_modules/pimatic-node-red/node_modules/node-red' }

Somehow the node_modules symlink (that I use during dev) got into the package. version 0.0.8 should be ok now

great thanks this did it! Works straight from the box.
By the way, I didn't have to re-install other nodes (like Bigtimer) either. In an earlier update I did have to.

Ok, thanks for the feedback!
I think reinstalling the other nodes is only required when node-red is updated. This release does not contain a new version of node-red. And one of the previous ones did.


Part 2: Refactor & Document the library

The following changes have been made in this PR:

[x] Tidy up README
[x] Implementing any missing conversion methods

[x] candyToFloatsBuffer
[x] candyToNatsBuffer
[x]  stableBufferToBuffer

[x] Bug fixes

[x]  Fix propertySharedToText to take PropertyShared as argument instead of Property

@skilesare Please review. After this PR, only the package manager setup and documentation of workspace.mo will be remaining.


Moderator following presentation

Moderator also should have the same options as a non-moderator to start following a presentation, not only to start presenting!

done


test: update a few tests

PR Type e.g fix, feature, chore etc:
Chore
What does this PR do:
Update a few tests
Notes (if any):

Coverage remained the same at 95.941% when pulling f84b0e9dcd63d177604b2aa396af4b8900c67f16 on dev into 717b0b2bd5f55058e4f485295699b561d1451e95 on master.


refactor(artifacts): consolidate hash utilities into lib.hashutil

Description
Consolidate the various helper functions for getting the MD5 hash of strings or files as hex or base64 encoded values; move all of them to util and add unit testing specifically for those functions. De-duplicate re-definitions.
Testing
New unit tests added where coverage was only incidental by way of testing something else. Other than that, a pure refactor, rely on existing tests.
Checklist

[ ] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[X] Ensure PR title compliance with the conventional commits standards

Nice fix! Thanks!

@kptkin , can I get your okay on this, or is there something else you'd like me to change?

@kptkin , can I get your okay on this, or is there something else you'd like me to change?

Only request is if you could move the hashutil file to be under lib (let's keep it away from top level for now)
bonus: if you hit the missing coverage (I know it's just a refactor, but if you could add a test for the missing case would be great - not a blocker)

Only request is if you could move the hashutil file to be under lib (let's keep it away from top level for now)
Done!

bonus: if you hit the missing coverage (I know it's just a refactor, but if you could add a test for the missing case would be great - not a blocker)
I really wanted to, but these are corners that were untested before and several of them I think it would probably take me all day to write a test for. I did write several tests for the library itself though.


Remove "Token Symbol" field

In the DAO creator, the symbol is automatically fetched from the token address, and we need not explicitly specify it next to "DAO name".
IMPORTANT   Please coordinate to check whether or not any other parts of the app depend on that input (maybe we're using the user input to store it instead of what comes from the API).

@Man-Jain if we remove this from the UI, does that affect anywhere where we might be using that information in the backend?


Unable to load preload script in packaged app

I have a webview that uses preload to load a script in the webview. My directory structure looks like:
app/components/store/Store.js
app/preload/StorePreload.js

When developing the app, everything works fine:
<webview preload="./preload/StorePreload.js" src="about:blank" />
However, when I package the app, the webview isn't finding the preload script. I had to require StorePreload from Store to get it to be included in dist/bundle.js in app.asar. However no matter what path I specify, I can't seem to point to the right path. I've tried:
./store/StorePreload.js
remote.app.getAppPath() + '/store/StorePreload.js'
etc.

but end up with errors like:
/path/to/myproject/release/mac/MyApp.app/Contents/Resources/electron.asar…:179
Unable to load preload script:
/path/to/myproject/release/mac/MyApp.app/Contents/Resources/app.asar/preload/StorePreload.js

/path/to/myproject/release/mac/MyApp.app/Contents/Resources/electron.asar…:180
Error: Cannot find module '/path/to/myproject/release/mac/MyApp.app/Contents/Resources/app.asar/preload/StorePreload.js'
    at Module._resolveFilename (module.js:485)
    at Function.Module._resolveFilename (/path/to/myproject/release/mac/MyApp.app/Contents/Resources/electron.asar…:35)
    at Function.Module._load (module.js:437)
    at Module.require (module.js:513)
    at require (internal/module.js:11)
    at Object.<anonymous> (/path/to/myproject/release/mac/MyApp.app/Contents/Resources/electron.asar…:177)
    at Object.<anonymous> (/path/to/myproject/release/mac/MyApp.app/Contents/Resources/electron.asar…:184)
    at Module._compile (module.js:569)
    at Object.Module._extensions..js (module.js:580)
    at Module.load (module.js:503)

I'm not sure I need to use webpack and package the preload script separately or what. Any help would be appreciated.

I was able to work around this by creating a separate bundle for my preload files in dist/preload.js. If you know of a cleaner way to do this, let me know.

That is because by default electron builder doesn't add the file in the dist directory by default. See https://github.com/chentsulin/electron-react-boilerplate/issues/1043#issuecomment-312514802. You will need to do something similar to that.

I ended up creating a webpack entry like you suggested. Glad to know that's the right approach. Thanks.


Added a BUILD_BYPRODUCT to ImportPugiXML.cmake for compatibility with Ninja

I'm using the Ninja generator/build system (i.e. one types ninja instead of make). Unfortunately, this leads to an issue with ExternalProject_Add. (I believe this actually is an issue of CMake's Ninja generator.)
The line I added here just tells CMake very explicitly that the library file is generated from this external project. For the usual Makefile generator, CMake automatically figures that out correctly, for Ninja it has to be stated explicitly.
This change should not affect the Makefile system at all.
I'd be glad if you would merge that in.

All merged, thanks for the contribution.


Remove devkit from docker compose

True, I refrained from doing such a change because I want to have a way to clean up existing projects…see #60. But yes, this is unrelated and can be made better for anyone starting new projects.

Uh comparing with https://github.com/neos/Neos.NeosIo/commit/6df0e229cdf1bfe106c104b95cba7d7ac04f3679 I missed that you removed the volume declaration as well (line 7-10). Do you want to keep or remove it here?

I missed that you removed the volume declaration as well (line 7-10). Do you want to keep or remove it here?

Yes, that can go! Good catch!


[EdgeTPU] Update the testing codes to register EdgeTPUToolchain

This draft modify the testing codes to test registration of EdgeTPUToolchain.
Also, This commit exports BackendMap interface to use it in the testing codes.
ONE-vscode-DCO-1.0-Signed-off-by: Bumsoo Ko<EMAIL_ADDRESS>

These commits are cherry-picked on #81


Clean up package dependencies

Here are some minor packaging and dependency changes that remove a duplicate lmoments3, a non-existent proj, and separate testing from runtime deps.

That's because you're still using the older version of lmoments. You can install the newer version with either requirements.txt or environment.yml. You can see the newer version of lmoments3 being used in the tests now:


Fix wrong accounting in stake() when mintBonusMP

When staking, we currently

first increase the account.balance (https://github.com/logos-co/staking/blob/develop/contracts/StakeManager.sol#L208)
then we mint bonus mp (https://github.com/logos-co/staking/blob/develop/contracts/StakeManager.sol#L208) with account and stakeAmount

The result is that we're accounting for stakeAmount twice, once as part of account.balance and once via stakeAmount.
This needs to be fixed.
Also, provide a test that proofs the fix

Fixed by https://github.com/logos-co/staking/pull/115


Fix rounded corners on custom file in input group

This will be the PR we use to cherry-pick commits to our CSS from #25352. So far it includes:

Small change to fix border-radius on the Browse button for custom file input inside input groups.

Fixes #25513.

Cutting this short to fix #25513. Will tackle other changes later.


Use jax.linearize instead of jax.jvp

It seems that using jax.linearize would be more efficient than jax.jvp in the sparsejac implementation of jacfwd. We should investigate this and change the implementation.
https://jax.readthedocs.io/en/latest/_autosummary/jax.linearize.html

Addressed by #13


[FrontendTool] [NFC] Reduce scope of FrontendObserver

These APIs weren't used.

@swift-ci please smoke test