marimo: 0.6.11 -> 0.6.13

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for marimo is: A reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps
meta.homepage for marimo is: https://github.com/marimo-team/marimo
meta.changelog for marimo is: https://github.com/marimo-team/marimo/releases/tag/0.6.8
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.8 with grep in /nix/store/x06k2706bzr9wh8ifq6hyjkhg6gm2mwf-python3.11-marimo-0.6.8
found 0.6.8 in filename of file in /nix/store/x06k2706bzr9wh8ifq6hyjkhg6gm2mwf-python3.11-marimo-0.6.8

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

marimo
python311Packages.marimo
python312Packages.marimo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/x06k2706bzr9wh8ifq6hyjkhg6gm2mwf-python3.11-marimo-0.6.8 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A marimo https://github.com/r-ryantm/nixpkgs/archive/99539a4112f77bf8ee8a8a1dd3c6e6cb4e4c55db.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/99539a4112f77bf8ee8a8a1dd3c6e6cb4e4c55db#marimo

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/x06k2706bzr9wh8ifq6hyjkhg6gm2mwf-python3.11-marimo-0.6.8
ls -la /nix/store/x06k2706bzr9wh8ifq6hyjkhg6gm2mwf-python3.11-marimo-0.6.8/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages built:

marimo (python311Packages.marimo)
marimo.dist (python311Packages.marimo.dist)
python312Packages.marimo
python312Packages.marimo.dist

Maintainer pings
cc @akshayka @dmadisetti for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for marimo is: A reactive Python notebook that's reproducible, git-friendly, and deployable as scripts or apps
meta.homepage for marimo is: https://github.com/marimo-team/marimo
meta.changelog for marimo is: https://github.com/marimo-team/marimo/releases/tag/0.6.13
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.6.13 with grep in /nix/store/6jifcg6mnqf340r4rsajs4zk01f4fq8n-python3.11-marimo-0.6.13
found 0.6.13 in filename of file in /nix/store/6jifcg6mnqf340r4rsajs4zk01f4fq8n-python3.11-marimo-0.6.13

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

4 package rebuild(s)

First fifty rebuilds by attrpath

marimo
python311Packages.marimo
python312Packages.marimo

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/6jifcg6mnqf340r4rsajs4zk01f4fq8n-python3.11-marimo-0.6.13 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A marimo https://github.com/r-ryantm/nixpkgs/archive/aa373df52ded3b8f9a28bc174673f0e5ab944929.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/aa373df52ded3b8f9a28bc174673f0e5ab944929#marimo

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/6jifcg6mnqf340r4rsajs4zk01f4fq8n-python3.11-marimo-0.6.13
ls -la /nix/store/6jifcg6mnqf340r4rsajs4zk01f4fq8n-python3.11-marimo-0.6.13/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

4 packages built:

marimo (python311Packages.marimo)
marimo.dist (python311Packages.marimo.dist)
python312Packages.marimo
python312Packages.marimo.dist

Maintainer pings
cc @akshayka @dmadisetti for testing.


Incorrect info

You state 24/7 for tech support in Australia by phone but I just tried the number 20230803 2000hrs and was told it's currently closed. WHY ADVERTISE 24/7 WHEN IT'S EVIDENTLY NOT?!
[Enter feedback here]

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

ID: 4fd44420-06a6-a5aa-973c-fb5fdc1ff758
Version Independent ID: 4fd44420-06a6-a5aa-973c-fb5fdc1ff758
Content: Find Microsoft 365 for business support phone numbers by country or region - Microsoft 365 admin
Content Source: microsoft-365/admin/support-contact-info.md
Service: microsoft-365-business
GitHub Login: @cmcatee-MSFT
Microsoft Alias: cmcatee

@TaziDevil The numbers listed on that page are 1800 197 503 or 02 8223 9959.Please try one of these numbers. Also, can you tell me where you found the number you called so I can remove it?

That's the number I tried (9959). Are you mistaking my date and time stamp?
It states them numbers are open 24/7 for support but they're not.

Verifying with support.


Make folders nestable

I've made a fork in which I've hacked together a rough implementation of this feature.  Known bug as of this writing with sometimes being able to detach collapsed nested folders.
While I'm here, some further digressions...
I might slightly change the API to make it more similar to the original dat.gui, ie
gui = dat.gui.create();
folder = gui.addFolder("Empty folder")

etc.  It'd be nice to be compatible in the sense of being able to write
function makeGUI(optionalVRScene) {
  var guiFactory = optionalVRScene ? dat.GUIVR : dat.gui;
  var gui = guiFactory.create();
  var f1 = gui.addFolder("folder");
  f1.add(settings, 'speed');
  // ... more gui creation that'll work as long as common features exist in both libs ... //
  if (optionalVRScene) optionalVRScene.add(gui);
}

Although having said that, there's obviously quite a bit that's unlikely to be ported from dat.gui and from my point of view, if I carry on working with dat.GUIVR then I'll probably start adding a few things with no dat.gui counterpart anyway.
It'd make sense for things like the grabber to be a part of an outer gui or window element.  I might not bother changing that in the foreseeable future though, as long as my current hideGrabber hack holds out ok.
Actually I haven't checked if dat.gui itself supports nested folders, but it does at least support lots of sibling folders in a gui.

I'd thought I had this more or less correct, then remembered I'd left some bad magic numbers in the layout code. Not quite sure what's still wrong with the version on my machine right now, but once I've got it to the point where I consider it usable I'll submit a pull request.

I think it's about right now, must go but will try to get around to making PR soon.

Done via https://github.com/dataarts/dat.guiVR/pull/80


feat(dev-portal): table of contents component

Fixes https://github.com/stoplightio/platform-internal/issues/5639
Fixes https://github.com/stoplightio/platform-internal/issues/5640

Can see example of this stuff working in our dev portal PR env: https://dev-portal-fuvmsk8zx-stoplight.vercel.app/docs/api

IDK why, but fonts and icons look like this.

NodeContent also has awkward moments.

I - somewhat temporarily - fixed storybook entries.


Espresso: streamline file copying / additional recipes

Summary of Changes
This pull request introduces several improvements and new features to Quacc Espresso, enhancing the user experience and expanding its capabilities:
Streamlined Input/Output Naming:

Quacc Espresso now enforces predefined names for all input and output files removing the little freedom users had for this. This ensures consistency across different calculations and reduce the potential for errors.

Intelligent File Copying:

When users provide a prev_dir argument, Quacc will now determines which files to copy based on the binary and input data. This will reduce the amount of data being copied overall, I think this was one of your suggestions on a previous merge request.

New Recipes for Electron-Phonon Calculations:

Two new recipes have been added to perform electron-phonon calculations and Fourier interpolation of the phonon potential. It's a little step toward future compatibility with codes such as EPW.

Some tests have been modified to be more robust, some internal functions have been modified as well.
note to self: the two recipes have to be added to the list of recipes
Checklist

[ ] I have read the "Guidelines" section of the contributing guide. Don't lie! 😉
[ ] My PR is on a custom branch and is not named main.
[ ] I have added relevant, comprehensive unit tests.

Notes

Your PR will likely not be merged without proper and thorough tests.
If you are an external contributor, you will see a comment from @buildbot-princeton. This is solely for the maintainers.
When your code is ready for review, ping one of the active maintainers.

Can one of the admins verify this patch?

Thanks!! Will take a closer look at this in a day or two 👍 (recovering from a cold... 🤧)

I didn't generalize the list[SourceDirectory] behaviour, for now this is espresso only
I added some general purpose espresso documentation but I don't it is in the right place, (it is in quacc.calculators.espresso.espresso.Espresso for now)
Other than that, this should be ok to go if you are happy with it

Also, if you can fix the merge conflict that'd be great, but I'm happy to do so if that's too bothersome.

Good to go? (The Deepsource X will resolve once this is merged)

Yes good to go

Beautiful. Thank you very much!


Sleuth Reactive Overhead

@marcingrzejszczak We seem to experience a fall in Spring Cloud Gateway latency when enabling Sleuth.
I have a created a sample project that demonstrates the Sleuth reactive overhead. A very rough summary is to say that Spring Cloud Gateway response times doubles when enabling Sleuth.
For details see:
https://github.com/tony-clarke-amdocs/sleuth-reactive-perf

That's a known issue due to instrumentation of project reactor. We're working with @bsideup to improve it. First reactor netty needs to be updated so that we can stop doing the onEachOperator wrapping and do onLastOperator. You can check out more about it here https://github.com/spring-cloud/spring-cloud-sleuth/issues/1392

OK. I think the project, sleuth-reactive-perf, will help validate any improvements.

First approach to work on this would be this flag: https://github.com/spring-cloud/spring-cloud-sleuth/issues/1478

Reading the doc it says:

The downside of this is that when Project Reactor will change threads, the trace propagation will continue without issues, however anything relying on the ThreadLocal such as e.g. MDC entries can be buggy.

Trying to understand this. Can you elaborate a little more? Having invalid values in MDC sounds like a deal breaker. Isn't the trace ids itself stored in the MDC?

Not necessarily. When you're e.g. in the Gateway application, you don't care about custom MDC entries. The idea is to pass the tracing context from the input, to the output. That works well and the performance gain is gigantic (3-4 times faster).

What if your gateway application adds entries to MDC...so that for example sleuth logs some custom key/values from MDC.

I don't think that it's a common case that the Gateway does some additional, custom processing where log entries would have MDC entries modified. If that's the case however, you can remain with the current option to ensure that the tracing context is propagated and every single operator is wrapped in a tracing representation, together with setting MDC values.
Also with onLast it doesn't mean that we're not setting the MDC values, we do, however Reactor can switch threads and those MDC entries might be lost.
cc @smaldini @violetagg @bsideup

That is exactly what we are doing. We add additional entries to MDC from http headers. So this new flag is not an option and the current behavior is not an option since it kills performance.
Can't we store the MDC in reactor context instead of thread local? See: here

That would have to be done in Brave cc @adriancole


Feature request: allow RegExp in URL fragment

Instead of writing several rules with the same actions, I'd like to write one and just use a regex to match several URLs.
Some real-world use-cases:

Matching both HTTP and HTTPS protocols.
Matching one or more TCP ports. And also without the port.
Matching a set of subdomains under the same domain.

If you want some inspiration, Stylish extension is very flexible regarding matching URLs, although I understand such complicated UI is beyond the vision for chrome-tab-modifier.

You seem to be an advanced user of Tab Modifier. I try to satisfy both beginners and advanced users as I can.
Your suggestion is advanced user oriented and could be hard to understand for beginners.
I've recently added the "Detection" option with "Starts with, Contains, Ends with" and I think it's not really obvious for beginners as the "URL fragment" could be misunderstanding.
What do you suggest? Add a 4th option "RegExp" and enter the value in the URL fragment field?
Keep in mind that every user wants an easy to use extension.
Thanks

Yes, that's what I had in mind. Besides Starts with, Contains and Ends with, a new item called RegEx (or RegExp, or whatever you choose). That way, I believe advanced users will have enough power while not making the UI any more difficult for beginners.

Alright, can you provide few regular expressions that you would like to use please?
Bests

One extra advantage: we can easily match URLs on both HTTP and HTTPS protocols, something impossible when using Starts with. Here are some interesting examples, very similar to what I'm going to use:
^https?://[^.:/@]*-dev\.example\.com(:[0-9]+)?/
^https?://[a-z]+.localhost/
^https?://[^/]+/admin/
^http://127\.0\.0\.1:(4000|8000|8080)/

If you want to match Google pages that are using a secondary logged in account (the primary has /u/0/ on the URL, the secondary will have /u/1/):
^https?://[^/]+\.google\.com/[^?]+/u/[^0]

Note: I've written these RegExps, but I have not tested them yet. I believe they should work.

Can you give me regular expressions that you have tested.
I need a couple of regexp that I can test. Specify the regexp with the associated URL please. ;)
Bests

Just testing out these changes. Looking good! I wanted to apply some changes to every page on a certain domain except one and used this successfully:
.+prefix\.domain\.com[!_page\/it\/shouldnt\/apply\/to]

@robgoodberry, are you sure that regex is valid? I see no mention of [! in https://developer.mozilla.org/en/docs/Web/JavaScript/Guide/Regular_Expressions. Can you please point me to the documentation of that?
@sylouuu You may also try these:

This should match any "issues" page in GitHub, but not anywhere else. This is a case where "contains" or "starts with" do not work.
^https?://github.com/[^/]/[^/]/issues

These match Mozilla documentation for either JavaScript, HTML or CSS (but not for other technologies), whatever language:
^https?://developer.mozilla.org/([^/]+/)?docs/Web/JavaScript
^https?://developer.mozilla.org/([^/]+/)?docs/Web/HTML
^https?://developer.mozilla.org/([^/]+/)?docs/Web/CSS

Or a combined version:
^https?://developer.mozilla.org/([^/]+/)?docs/Web/(JavaScript|HTML|CSS)

@denilsonsa
/.+redacted\.salesforce\.com[!(_ui\/common\/apex\/debug\/ApexCSIPage)]/.test('https://redeacted.salesforce.com/00O/o');
true
/.+readacted\.salesforce\.com!(_ui\/common\/apex\/debug\/ApexCSIPage)/.test('https://redeacted.salesforce.com/00O/o');
false

Works well enough for me. And it's not so much [! as it is [] with a ! inside it

Works well enough for me:
/.+redacted\.salesforce\.com[!(_ui\/common\/apex\/debug\/ApexCSIPage)]/.test('https://redacted.salesforce.com/00O/o');
true
/.+redacted\.salesforce\.com!(_ui\/common\/apex\/debug\/ApexCSIPage)/.test('https://redacted.salesforce.com/00O/o');
false

And it's not so much [! as it is [] with a ! in it

Warning: regex discussion ahead! This comment is off-topic regarding the main subject of this issue.

@robgoodberry According to your logic, foo[!bar] should match any foo followed by something that is not bar. Unfortunately, that's not what happens:
/foo[!bar]/.test('foobar')   → true
/foo[!bar]/.test('fooa')     → true
/foo[!bar]/.test('foo')      → false
/foo[!(bar)]/.test('foobar') → true
/foo[!(bar)]/.test('fooa')   → true
/foo[!(bar)]/.test('foo!')   → true
/foo[!(bar)]/.test('foo(')   → true
/foo[!(bar)]/.test('foo)')   → true
/foo[!(bar)]/.test('fooz')   → false
/foo[!(bar)]/.test('foo')    → false
/foo!(bar)/.test('foo!bar')  → true
/foo!(bar)/.test('foostuff') → false
/foo!(bar)/.test('foobar')   → false

foo[!(bar)] means: string foo followed by one character that could be either !, b, a, r, (, ).
foo!(bar) means: string foo followed by character ! followed by string bar.
In other words, if those regexes work for you, that's a coincidence. :) What you probably meant was using a negated lookahead:
/foo(?!bar)/.test('foo')     → true
/foo(?!bar)/.test('foob')    → true
/foo(?!bar)/.test('fooba')   → true
/foo(?!bar)/.test('foobar')  → false
/foo(?!bar)/.test('foobara') → false

In fact, in the academic definition of regular expressions, it is not feasible to negate an expression. Negated lookaheads are a nice feature of several real-world regex engines, but they are like a hack, they are not exactly a regular expression anymore. Read more at Stack Overflow and here.
The Mozilla documentation is still pretty good and accurate. There are several tools that help testing a regex and also explain it: regex101, RegExr. There is also Regex Crossword, which is exactly what the title says.
(If anything doesn't make much sense, it might be because I'm sleepy.)

@denilsonsa Yeah as I mentioned in that previous comment I realized that I wanted ?! and not ! and updated my original comment. I am also much too sleepy, sorry dude.

Ok guys I'd like to get your feedback about the release/0.16.0 branch.
Disable Tab Modifier, clone the project and use the dev version as described here.
Try some regexp and tell me if it's OK for you.
I've tested github[.]com/([A-Za-z0-9_-]+)/([A-Za-z0-9_-]+) and it works well.
Bests

Missing: "The following actions will be applied when the URL matches the regex"
Other than that, it seems to be working! Thanks! The data: URIs also work fine!
I have one extra request (that I should probably submit as a new issue): I need a way to reorder the rules, because some pages match multiple rules.

I fixed this.
I've already think about the reorder possibility but it's not trivial. What UX would like (open another issue)?
Bests

Version 0.16.0 has been submitted to the Store.
Thanks to you guys!


WIP cw-payroll

Supports:

[x] support for both native and cw20 tokens
[x] vesting schedules (including with cliffs thanks to wynd-utils)
[x] cancellation via an optional contract owner
[x] queries for listing a DAO's vesting payments

WIP:

[ ] Optionally stake underlying native assets
[ ] Pause vesting
[ ] Lots of tests

Will probably kill this branch and start some thing with clean history, but this works for the moment.

Codecov Report
Base: 95.34% // Head: 95.12% // Decreases project coverage by -0.21% :warning:

Coverage data is based on head (dc73775) compared to base (1673241).
Patch coverage: 88.42% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #602      +/-   ##
==========================================
- Coverage   95.34%   95.12%   -0.22%
==========================================
  Files          41       43       +2
  Lines        3738     3859     +121
==========================================
+ Hits         3564     3671     +107
- Misses        174      188      +14

Impacted Files
Coverage Δ

contracts/external/cw-payroll/src/contract.rs
83.90% <83.90%> (ø)

contracts/external/cw-payroll/src/state.rs
100.00% <100.00%> (ø)

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Going to refactor this... closing.


migrate diff: do not panic when --script is passed on mongo

https://github.com/prisma/prisma-engines/pull/2622#discussion_r794315940

Fixed in https://github.com/prisma/prisma-engines/pull/2641


not.d cannot be compiled without optimizations

It tries to compare a constant to another constant and it gives an error trying to compile cmp BYTE 0, 0

https://github.com/dplassgit/d2lang/blob/f0a3144b86f9e662e2e40d91d911be7acd0d6851/src/com/plasstech/lang/d2/codegen/x64/NasmCodeGenerator.java#L272


Add support for bun

This adds support for the Bun package manager.

I don't know if we should have first class support for bun until it actually has a production serving mode (or at least a --no-watch flag)
It's not gonna work well on the free plan for anything more than a hello world because of inode stuff

I don't know if we should have first class support for bun until it actually has a production serving mode (or at least a --no-watch flag)
It's not gonna work well on the free plan for anything more than a hello world because of inode stuff

It does have a production serving mode. HMR only happens in dev mode.

Can you please add a new example (or update an existing one) of a Bun server. Just so we can test that it works there.

A bun webserver? I'm not really sure how we would test that.

I thought bun is a compiler and transpiler?

I thought bun is a compiler and transpiler?

And a runtime :)

Suggestions applied. Anything else need to happen?


added fix for userInput component

added fix for userinput component breaking if it contains a button component
What is the change?
Is it bug?
yes
*Dev Tested?

[x] Yes

*Tested on:
Chrome
Platforms

[x] Web

Browsers

[x] Chrome
[ ] Safari
[ ] Firefox

Before / After Change Screenshots

Thanks Vivek for the quick fix🥂👏


Combine the vm_run_with_inline_stack and  vm_run_with_alloca

Since both _inline_stack and _alloca use the space of stack, why don't we combine those 2 branch together?
Before, when call_stack_size<INLINE_STACK_SIZE, we allocate an array with fixed length INLINE_STACK_SIZE, it also leads the waste of stack.
But when I run run-perf-test, I cant see the changes of RSS.  @LaszloLango Could you help me measure the performance in your internal tool? Especially the "stack" size

I did a simple example
function f1(){
    f2();
}
function f2(){
    f3();
}
function f3(){
    f4();
}
function f4(){
}
f1();

the stack length between first vm_run (run the whole script) and fifth vm_run (run function f4)
original: 4032 byte
patch: 3840 byte

The motivation for the original approach that allocating a fixed stack size is "free", while allocating dynamic stack is costly. Do you know how dynamic allocation affects other compiler optimizations? How is it exactly allocated? If it turns out to be cheap we can drop the fixed allocation.

@zherczeg I just objdump the asm code of dymanic array in x86 platfom(gcc, ubuntu). Yes, it will add  more instructions to calc the location of the array, comparing to the fixed array, though both arrays are stored in the stack.
I think it may be a trade-off between stack-size and perf, because fixed-length array may waste stack space for small call_stack_size. The stack resource is limited in many embedded platforms.
It is just a guess, I am still looking for a tool to measure the runtime maximal stack size of process (jerry). Do you have such tools?

We do it in a dirty way. When we want to measure the stack size, we apply a patch which: creates a large static array, fill it with 0xfe bytes, and set the stack pointer to the top of this array using assembly code. Then it runs jerry, and at the end we check the 0xfe bytes from the bottom. If you wish we can share this patch, but as I mentioned it is a dirty way.
The Heimdall tool of Freya could also be used to measure the stack size (with 64 byte precision):
https://github.com/szeged/Freya
The highest written address range is the stack.

RPi2 results:

Benchmark
Stack (bytes)
RSS (bytes)
Perf (sec)

3d-cube.js
17472 -> 16648 : +4.716%
57344 -> 53248 : +7.143%
0.938 -> 0.933 : +0.599%

3d-raytrace.js
3348 -> 3348 : 0.000%
217088 -> 143360 : +33.962%
1.118 -> 1.107 : +1.043%

access-binary-trees.js
4332 -> 4132 : +4.617%
53248 -> 49152 : +7.692%
0.578 -> 0.573 : +0.780%

access-fannkuch.js
2052 -> 2032 : +0.975%
24576 -> 20480 : +16.667%
2.386 -> 2.357 : +1.229%

access-nbody.js
2216 -> 2144 : +3.249%
28672 -> 24576 : +14.286%
1.082 -> 1.073 : +0.868%

bitops-3bit-bits-in-byte.js
1992 -> 1992 : 0.000%
20480 -> 12288 : +40.000%
0.581 -> 0.580 : +0.270%

bitops-bits-in-byte.js
1992 -> 1992 : 0.000%
20480 -> 12288 : +40.000%
0.861 -> 0.862 : -0.096%

bitops-bitwise-and.js
1768 -> 1768 : 0.000%
20480 -> 12288 : +40.000%
1.095 -> 1.070 : +2.251%

bitops-nsieve-bits.js
1992 -> 1992 : 0.000%
155648 -> 151552 : +2.632%
1.774 -> 1.751 : +1.278%

controlflow-recursive.js
76536 -> 72440 : +5.352%
94208 -> 81920 : +13.043%
0.408 -> 0.388 : +4.955%

crypto-aes.js
3376 -> 3352 : +0.711%
90112 -> 90112 : 0.000%
1.095 -> 1.086 : +0.863%

crypto-md5.js
2604 -> 2524 : +3.072%
167936 -> 159744 : +4.878%
0.735 -> 0.729 : +0.763%

crypto-sha1.js
2072 -> 2072 : 0.000%
114688 -> 106496 : +7.143%
0.706 -> 0.697 : +1.251%

date-format-tofte.js
2784 -> 2696 : +3.161%
40960 -> 36864 : +10.000%
0.849 -> 0.849 : +0.017%

date-format-xparb.js
3096 -> 3064 : +1.034%
45056 -> 36864 : +18.182%
0.453 -> 0.446 : +1.577%

math-cordic.js
1992 -> 1992 : 0.000%
24576 -> 16384 : +33.333%
1.339 -> 1.328 : +0.824%

math-partial-sums.js
1944 -> 1944 : 0.000%
20480 -> 12288 : +40.000%
0.759 -> 0.727 : +4.279%

math-spectral-norm.js
2268 -> 2180 : +3.880%
24576 -> 20480 : +16.667%
0.601 -> 0.597 : +0.794%

string-base64.js
2000 -> 2000 : 0.000%
110592 -> 131072 : -18.519%
1.928 -> 1.914 : +0.720%

string-fasta.js
1976 -> 1976 : 0.000%
32768 -> 28672 : +12.500%
1.412 -> 1.389 : +1.617%

Geometric mean:
+1.557%
+18.523%
+1.302%

Binary sizes (bytes)
971dcae669:154136
c3f5b89a28:156692

@zherczeg I tried the freya, but I don't know which data means stack size (I think it is measuring jerry-heap usage). Do I need some extra configuration?
1, build jerry with --valgrid-freya=on
2,  ./inst/bin/valgrind --tool=freya ~/jerryscript/build/bin/jerry ~/jerryscript/debug.js
3, get result:
Trace:

[0] Peak: 724b Allocs: 40 Reallocs: 0 Total: 1.4Kb (1436b)
Group: total
  [1] (/home/jzd/jerryscript/build/bin/jerry)
    [2] Peak: 560b Allocs: 15 Reallocs: 0 Total: 1.0Kb (1112b)
    (/home/jzd/jerryscript/build/bin/jerry)
      [3] Peak: 240b Allocs: 5 Reallocs: 0 Total: 600b
      (/home/jzd/jerryscript/build/bin/jerry)
        [4] Peak: 240b Allocs: 4 Reallocs: 0 Total: 480b
        (/home/jzd/jerryscript/build/bin/jerry)
          [5] Peak: 120b Allocs: 3 Reallocs: 0 Total: 360b
          (/home/jzd/jerryscript/build/bin/jerry)
          [5] Peak: 120b Allocs: 1 Reallocs: 0 Total: 120b
          (/home/jzd/jerryscript/build/bin/jerry)
...............

please use the heimdall tool:
--tool=heimdall --page_size=64

Anyway the results seems convincing, so I think this patch could go in.

LGTM

@zherczeg Thanks, but I don't understand why perf is also improved....
I tried the heimdall, and could you tell me the meanings of 4 rows?
3d-cube.js
Page size: 64 bytes
  Modified area: 0x63a000 - 0x63f040 size: 20544 bytes [20.0 Kb]
  Modified area: 0x6bb000 - 0x6bb200 size: 512 bytes [0.5 Kb]
  Modified area: 0xffeff9100 - 0xffeffff00 size: 28160 bytes [27.5 Kb]
  Modified area: 0xfff0002c0 - 0xfff000340 size: 128 bytes [0.1 Kb]
Total modified memory area: 49344 bytes [48.1 Kb]

These are the address spaces written by your application. Heimdall only tracks memory writes.
Modified area: 0xffeff9100 - 0xffeffff00 size: 28160 bytes [27.5 Kb] - high address usually represents the stack so 27.5K is the stack consumption (stack is top-down on x86 and ARM).
Modified area: 0x63a000 - 0x63f040 size: 20544 bytes [20.0 Kb] - this is likely the jerry heap memory consumption:
Other spaces might be some other globals or ld used it for something. You need to check the map file generated by the compiler to know exactly the static areas.
Total modified memory area: 49344 bytes [48.1 Kb] - this is the total written memory (heimdall only track memory writes). So your application requires this amount of memory to run although increased GC activity could reduce this.

@zherczeg I see, thanks very much for your explanation! :)


update squid.pp

the update fix this error
Could not find parent resource type '::params' of type hostclass

Thanks, merged


[Event Request] Codeunit 99000813 - OnDeleteOrderLinesOnReqLineTypeProdOrder / OnDeleteOrderLinesOnReqLineTypePurchase

Please add two new integration events OnDeleteOrderLinesOnReqLineTypeProdOrder and OnDeleteOrderLinesOnReqLineTypePurchase in Codeunit 99000813.
    [Integration]
    LOCAL PROCEDURE OnDeleteOrderLinesOnReqLineTypeProdOrder@1002(VAR RequisitionLine@1000: Record 246;VAR IsHandled@1001: Boolean);
    BEGIN
    END;

    [Integration]
    LOCAL PROCEDURE OnDeleteOrderLinesOnReqLineTypePurchase@1003(VAR RequisitionLine@1000: Record 246;VAR IsHandled@1001: Boolean);
    BEGIN
    END;

Call for functions:
    [External]
    PROCEDURE DeleteOrderLines@4(ReqLine@1000 : Record 246);
    VAR
      [...]
+     IsHandled@1010: Boolean;
    BEGIN
      OnBeforeDeleteOrderLines(ReqLine);

      CASE ReqLine."Ref. Order Type" OF
        ReqLine."Ref. Order Type"::"Prod. Order":
          BEGIN
+           OnDeleteOrderLinesOnReqLineTypeProdOrder(ReqLine,IsHandled);
+           IF NOT IsHandled THEN BEGIN
              ProdOrderLine.SETCURRENTKEY(Status,"Prod. Order No.","Line No.");
              ProdOrderLine.SETFILTER("Item No.",'<>%1','');
              ProdOrderLine.SETRANGE(Status,ReqLine."Ref. Order Status");
              ProdOrderLine.SETRANGE("Prod.
          END;
      END;

      OnAfterDeleteOrderLines(ReqLine);
    END;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Failing Upgrade Tests

Upgrade tests are failing against master. git bisect shows the tests started failing in https://github.com/fedimint/fedimint/commit/237bb129eec14fc762c7ac9a7c6b766e0ddd7267
nix@fedimint:~/fedimint$ git bisect bad
237bb129eec14fc762c7ac9a7c6b766e0ddd7267 is the first bad commit
commit 237bb129eec14fc762c7ac9a7c6b766e0ddd7267
Author: Justin Moeller<EMAIL_ADDRESS>Date:   Wed Oct 2 11:03:12 2024 -0500

    chore: remove DATABASE_VERSION

@m1sterc001guy I assigned your way since you have context. Please let me know if there's any additional info that would be helpful for debugging.

Thanks, will investigate

From v0.4.3 -> master, correct?

From v0.4.3 -> master, correct?

Great question :slightly_smiling_face:
v0.3.3 -> v0.4.0 -> master
## Running upgrade tests
versions: v0.3.3 v0.4.0 current

https://github.com/fedimint/fedimint/actions/runs/11453387550/job/31865781040#step:6:53
For future reference, the upgrade tests log the path and which kinds it tests towards the top of each run.

Looks to be due to a rename in LNv2
2024-10-23T16:24:01.390292Z ERROR fedimintd::fedimintd: Main task returned error, shutting down error=missing field `tpe_sk`

Stack backtrace:
   0: from<serde_json::error::Error>
             at /nix/store/8g1lrz5d7ryxyjxa0cvkbcr50zlnynd2-vendor-cargo-deps/c19b7c6f923b580ac259164a89f2577984ad5ab09ee9d583b888f934adbbe8d0/anyhow-1.0.90/src/backtrace.rs:27:14
   1: from_residual<fedimint_lnv2_common::config::LightningConfig, serde_json::error::Error, anyhow::Error>
             at /rustc/f6e511eec7342f59a25f7c0534f1dbea00d01b14/library/core/src/result.rs:1987:27
   2: to_typed<fedimint_lnv2_common::config::LightningConfig>
             at /build/source/fedimint-core/src/config.rs:813:23
   3: validate_config
             at /build/source/modules/fedimint-lnv2-server/src/lib.rs:261:22
   4: validate_config
             at /build/source/fedimint-server/src/config/mod.rs:371:13
   5: {async_fn#0}
             at /build/source/fedimint-server/src/consensus/mod.rs:58:5
   6: {async_fn#0}
             at /build/source/fedimint-server/src/lib.rs:102:6
   7: {async_fn#0}
             at /build/source/fedimintd/src/fedimintd.rs:584:6
   8: {async_block#0}
             at /build/source/fedimintd/src/fedimintd.rs:422:14

The unknown module also had a DATABASE_VERSION of 1 when it had 0 migrations, which after v0.4.0 is not allowed (migrations must be contiguous).
const DATABASE_VERSION: DatabaseVersion = DatabaseVersion(1);


Unable to resolve module UnimplementedView on IOS

Is this a bug report?
Yes
Have you read the Contributing Guidelines?
Yes
Environment:
OS: macOS High Sierra 10.13.3
Node: 8.2.1
npm: 5.3.0
Xcode: 10
Packages:
react: 16.8.3
react-native: 0.59.1
Steps to Reproduce:
Import ViewPager
Run application on IOS
Getting this error:

Module UnimplementedView does not exist in the Haste module map from<EMAIL_ADDRESS>

Might be related to #7

It's fixed now. I think it's because of this import fix: https://github.com/react-native-community/react-native-viewpager/pull/8


Remove personalizations

Remove stuff like
https://github.com/campDevs/DiscordBot/blob/4beee3969bffa416f97dc09bf3c8f9aa6dc196ef/src/bot.js#L34

keep the Bender ascii, I like it! Set activity to something like
bot.user.setActivity(Serving ${bot.guilds.size} servers)

We could also allow customization of that with a command or even a way for the user to specify.

I agree Bender should stay, it suits the whole "We're gonna build our own bot, with blackjack!"
But this does pose an interesting question, what do we want to call it?

I created two new issues for the bot name and implementing a command w/ a better default activity.


Add tests for the motd command

Before submitting a PR to the dev branch:

[ ] Tests passing
[ ] Black formatting
[ ] Rebase/merge the dev branch
[ ] Note in the CHANGELOG

Additional checks before submitting a PR to the master branch:

Change version in dds_cli/version.py (?)

We will need to redo all tests since they're all deleted atm. Closing this.


There is no button "Open Project" in the notification if creating a container app with "Build from project remotely using Azure Container Registry" selected

OS: Win 10
Build Version: 20230323.1
Regression: Not a Regression
Repro Steps:

Make sure there is no project opening in VS Code.
Create a container app with "Build from project remotely using Azure Container Registry" selected.

Check whether there is a button "Open Project" in the notification.

Expect:
There is a button "Open Project" in the notification.
Actual:
There is no button "Open Project" in the notification.

This is a good suggestion. We can potentially follow what the Docker extension does too.


Multiplayer

Is this mod fully compatible with multiplayer?
Are courses shared between players?
Are there any known issues related to multiplayer?
A FAQ about multiplayer in the README.md would be helpful.
Thanks!

I'm running it multiplayer, works well.  Courses are shared.

You can use AD in SP, hosted MP and on server.
There are only 2 things, that doesn't work on a server: the route manager and the automatic creation of a route network, if there is none in the savegame.
I will add this in the wiki as the Readme.md isn't the right place for it.


[QA Testing - New Router] Submit during Preview (Test) of Form Fails 403 Error

Description
Clicking Submit on the Preview page fails with an error. Console opens to a 403 error.
Steps to reproduce

Make a form.
Add a question.
Submit

Details

Browser: Chrome
Operating system: Mac
Environment: Staging

Expected behaviour
It saves the response, and can be viewed.
Instead of :
{
"message": "Request failed with status code 403",
"name": "AxiosError",
"stack": "AxiosError: Request failed with status code 403\n    at https://7b326hq3bwxyh2tym7gc23dwcm0tmzog.lambda-url.ca-central-1.on.aws/_next/static/chunks/7908-59e916e2d9d33bc5.js:6:40162\n    at XMLHttpRequest.h (https://7b326hq3bwxyh2tym7gc23dwcm0tmzog.lambda-url.ca-central-1.on.aws/_next/static/chunks/7908-59e916e2d9d33bc5.js:6:40302)",
"config": {
"transitional": {
"silentJSONParsing": true,
"forcedJSONParsing": true,
"clarifyTimeoutError": false
},
"adapter": [
"xhr",
"http"
],
"transformRequest": [
null
],
"transformResponse": [
null
],
"timeout": 60000,
"xsrfCookieName": "XSRF-TOKEN",
"xsrfHeaderName": "X-XSRF-TOKEN",
"maxContentLength": -1,
"maxBodyLength": -1,
"env": {},
"headers": {
"Accept": "application/json, text/plain, /",
"Content-Type": "application/json",
"Content-Language": "en",
"X-CSRF-Token": "48ebd53473e83581c907dbc2e84877a9b22f44c1a2c8daaded93571188ca8596"
},
"url": "/api/submit",
"method": "post",
"data": "{"1":"{\"value\":[\"Be Me.\"]}","formID":"cltwzkhoy0000iimyd3bmqeao","securityAttribute":"Protected A"}"
},
"code": "ERR_BAD_REQUEST",
"status": 403
}

Form submission in both Preview and public forms is currently broken due to CSRF protection which has changed in next-auth. This submit action likely needs to be converted to a Server Action.

Re-tested and issue no longer persists!


Cross-matching fails because left partition is empty

Bug report
Reproducible example:
import lsdb

ztf_path = 'https://epyc.astro.washington.edu/~lincc-frameworks/hipscat_surveys/ztf/ztf_dr14/'
gaia_path = 'https://epyc.astro.washington.edu/~lincc-frameworks/hipscat_surveys/gaia_dr3/gaia/'
gaia_margin_path = 'https://epyc.astro.washington.edu/~lincc-frameworks/hipscat_surveys/gaia_dr3/gaia_10arcs/'

cone_search = dict(ra=283.44639, dec=33.06623, radius_arcsec=600)

ztf_catalog = lsdb.read_hipscat(ztf_path, columns=["ra", "dec"]).cone_search(**cone_search)
gaia_margin_catalog = lsdb.read_hipscat(gaia_margin_path, columns=["ra", "dec"])
gaia_catalog = lsdb.read_hipscat(
    gaia_path,
    columns=["ra", "dec"],
    margin_cache=gaia_margin_catalog,
).cone_search(**cone_search)

lsdb_result = ztf_catalog.crossmatch(gaia_catalog).compute()

Traceback
/ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/lsdb/dask/merge_catalog_functions.py:53: FutureWarning: The behavior of array concatenation with empty entries is deprecated. In a future version, this will no longer exclude empty items when determining the result dtype. To retain the old behavior, exclude the empty entries before the concat operation.
  joined_df = pd.concat([partition, margin_filtered]) if margin_filtered is not None else partition

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Cell In[1], line 21
     14 gaia_margin_catalog = lsdb.read_hipscat(gaia_margin_path, columns=["ra", "dec"])
     15 gaia_catalog = lsdb.read_hipscat(
     16     gaia_path,
     17     columns=["ra", "dec"],
     18     margin_cache=gaia_margin_catalog,
     19 ).cone_search(**cone_search)
---> 21 lsdb_result = ztf_catalog.crossmatch(gaia_catalog).compute()

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/lsdb/catalog/dataset/dataset.py:39, in Dataset.compute(self)
     37 def compute(self) -> pd.DataFrame:
     38     """Compute dask distributed dataframe to pandas dataframe"""
---> 39     return self._ddf.compute()

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/dask/base.py:375, in DaskMethodsMixin.compute(self, **kwargs)
    351 def compute(self, **kwargs):
    352     """Compute this dask collection
    353
    354     This turns a lazy Dask collection into its in-memory equivalent.
   (...)
    373     dask.compute
    374     """
--> 375     (result,) = compute(self, traverse=False, **kwargs)
    376     return result

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/dask/base.py:661, in compute(traverse, optimize_graph, scheduler, get, *args, **kwargs)
    658     postcomputes.append(x.__dask_postcompute__())
    660 with shorten_traceback():
--> 661     results = schedule(dsk, keys, **kwargs)
    663 return repack([f(r, *a) for r, (f, a) in zip(results, postcomputes)])

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/lsdb/dask/crossmatch_catalog_data.py:57, in perform_crossmatch(left_df, right_df, right_margin_df, left_pix, right_pix, right_margin_pix, left_hc_structure, right_hc_structure, right_margin_hc_structure, algorithm, suffixes, right_columns, **kwargs)
     53     left_df = filter_by_hipscat_index_to_pixel(left_df, right_pix.order, right_pix.pixel)
     55 right_joined_df = concat_partition_and_margin(right_df, right_margin_df, right_columns)
---> 57 return algorithm(
     58     left_df,
     59     right_joined_df,
     60     left_pix.order,
     61     left_pix.pixel,
     62     right_pix.order,
     63     right_pix.pixel,
     64     left_hc_structure,
     65     right_hc_structure,
     66     right_margin_hc_structure,
     67     suffixes,
     68 ).crossmatch(**kwargs)

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/lsdb/core/crossmatch/kdtree_match.py:69, in KdTreeCrossmatch.crossmatch(self, n_neighbors, radius_arcsec, **kwargs)
     67 left_xyz, right_xyz = self._get_point_coordinates()
     68 # get matching indices for cross-matched rows
---> 69 chord_distances, left_idx, right_idx = _find_crossmatch_indices(
     70     left_xyz, right_xyz, n_neighbors=n_neighbors, max_distance=max_d_chord
     71 )
     72 arc_distances = np.degrees(2.0 * np.arcsin(0.5 * chord_distances)) * 3600
     73 return self._create_crossmatch_df(left_idx, right_idx, arc_distances)

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/lsdb/core/crossmatch/kdtree_utils.py:27, in _find_crossmatch_indices(left_xyz, right_xyz, n_neighbors, max_distance, min_distance)
     20 tree = KDTree(right_xyz, compact_nodes=True, balanced_tree=True, copy_data=False)
     22 # find the indices for the nearest neighbors
     23 # this is the cross-match calculation
     24 distances, right_index = (
     25     _query_min_max_neighbors(tree, left_xyz, right_xyz, n_neighbors, min_distance, max_distance)
     26     if min_distance > 0
---> 27     else tree.query(left_xyz, k=n_neighbors, distance_upper_bound=max_distance)
     28 )
     30 # index of the corresponding row in the left table [[0, 0, 0], [1, 1, 1], [2, 2, 2], ...]
     31 left_index = np.arange(left_xyz.shape[0])

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/scipy/spatial/_kdtree.py:475, in KDTree.query(self, x, k, eps, p, distance_upper_bound, workers)
    472 if k is None:
    473     raise ValueError("k must be an integer or a sequence of integers")
--> 475 d, i = super().query(x, k, eps, p, distance_upper_bound, workers)
    476 if isinstance(i, int):
    477     i = np.intp(i)

File _ckdtree.pyx:818, in scipy.spatial._ckdtree.cKDTree.query()

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/numpy/core/fromnumeric.py:2810, in max(a, axis, out, keepdims, initial, where)
   2692 @array_function_dispatch(_max_dispatcher)
   2693 @set_module('numpy')
   2694 def max(a, axis=None, out=None, keepdims=np._NoValue, initial=np._NoValue,
   2695          where=np._NoValue):
   2696     """
   2697     Return the maximum of an array or maximum along an axis.
   2698
   (...)
   2808     5
   2809     """
-> 2810     return _wrapreduction(a, np.maximum, 'max', axis, None, out,
   2811                           keepdims=keepdims, initial=initial, where=where)

File /ocean/projects/phy210048p/malanche/lsdb-xmatch-perf/cenv/lib/python3.12/site-packages/numpy/core/fromnumeric.py:88, in _wrapreduction(obj, ufunc, method, axis, dtype, out, **kwargs)
     85         else:
     86             return reduction(axis=axis, out=out, **passkwargs)
---> 88 return ufunc.reduce(obj, axis, dtype, out, **passkwargs)

ValueError: zero-size array to reduction operation maximum which has no identity

Should we have a short path when one of the partitions is empty? On a step before we call cross-matching algorithm
Before submitting
Please check the following:

[x] I have described the situation in which the bug arose, including what code was executed, information about my environment, and any applicable data others will need to reproduce the problem.
[x] I have included available evidence of the unexpected behavior (including error messages, screenshots, and/or plots) as well as a descriprion of what I expected instead.
[x] If I have a solution in mind, I have provided an explanation and/or pseudocode and/or task list.

Should we have a short path when one of the partitions is empty?
You mean, should we have a shortcut? Like, check if it is empty and return empty without executing? Is that what you meant?

@nevencaplar Yes, I'd do it in this function
https://github.com/astronomy-commons/lsdb/blob/2b102a31e7e7b626ce810b9b7b19e0ec7e90a3e7/src/lsdb/dask/crossmatch_catalog_data.py#L31-L68


to many code blocks

Description
When using the markdown render feature, I am having issues that cause the entire IDE to collapse into three skinny columns (that can still be interacted with.)  I tried recreate that issue, but so far have only found what follows.  I suspect it has to due with parsing several code blocks in a row.
Steps to Reproduce

[First Step]
```
a
```
    b
```
c
```

[Second Step]

Try to render in editor.

[and so on...]

Expected behavior: [What you expected to happen]
b to not be in code block
Actual behavior: [What actually happened]
b is in code block
Versions
1.8.0
You can get this information from executing atom --version and apm --version at the command line. Also, please include the OS and what version of the OS you're running.

I think this is intended behavior if the b is indented 4 spaces because indentation like that also causes a code block

@eikooc is correct. This is not an Atom bug but the way that Markdown is designed.


Create warwicksd.txt

@HyperProxy First stage of verification passed, official domain for Warwick High School - Lititz, PA, USA is warwicksd.org as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@philipto Thank you very much! I eagerly await my pull being accepted. Again, thank you for your work and help.

@HyperProxy Thank you for your patience while waiting for a review and processing your request. Pull request merged.

@philipto Amazing! Thank you so much!


[Interface to MLJ] Converter class for evotrees

If issue #175 is infeasible to solve, implement a proof-of-concept conversion class for the Evotrees MLJ model.

Solved by #206


Run OrientDB in Context to manage Studio redirect

OrientDB Version: latest
General Problem is that OrientDB isn't able to work with a reverse Proxy, at least I don't know how if possible.
I have an OrientDB Docker Running in my Kubernetes Cluster on Google Cloud Platform. To access the Pod running this Container, I have build an Ingress. The Ingress is accessible at domain.com/abc/ .
When I make a request to this endpoint the OrientDB Conatiner is starting the Studio. The Studio ist started with an absolute meta redirect. Therefore I get an error because the Container can't run at domain.com/studio/index.html,but in my /abc/ context. The Problem is that the OrientDB is working with absolute links.
Is there a way to run OrientDB in a context? Is there a way to solve this by changing the metadata of the OrientDB Configs?
Expected behavior
I need a solution that makes the OrientDB work in the Context of my directory: domain.com/abc, that would answer my request with domain.com/abc/studio/index.html.
Actual behavior
The answer is out of context because the Studio meta redirect is absolute. The request is answered without my /abc/ Path

Hi @christian-bettermann
dunno for GCP on the ingress, but usually behind nginx or apache i did in the past url rewrite with proxy pass, and it did work. There is not config currently on the context.


Kernel freeze if CARP and bridge are used on the same interface

Hi we ran into a strange situation:
In a working OPNsense master/slave configuration the master suddenly stops working.
No messages, no infos.
So we thought it is a hardware bug and replaced the complete master unit.
Same result.
So we thought it must be the software and we went back from 20.1.3 to 20.1.0, because at this time it was running already 4 weeks without problem.
Same result.
After searching a very long time we found a FreeBSD bug report from 2015 which is still not solved in the latest 12 version:
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=200319
And yes, we added temporarily a bridge to our old datacenter.
As result:
You can not use a bridge on an interface where you run CARP !
Be aware of that.

@ednt thanks for your report, labeled it upstream as discussed.


[CLI]: Breaking change in public api, Artifact class, v0.15.4

Describe the bug
wandb.apis.public.Artifact was moved in this pr https://github.com/wandb/wandb/pull/5534
Not sure if breaking changes are meant to be disallowed in point releases. Feel free to close this issue if this does not violate the versioning policy.
Additional Files
No response
Environment
WandB version: 0.15.4
OS:
Python version:
Versions of relevant libraries:
Additional Context
No response

Hi @lendle! Thank you for pointing this out, could you elaborate a bit on what you are talking about?

Gotcha! Thank you for elaborating. It does seem like a pretty big change you are not wrong. I can ask our engineering team about this if you'd like. :)

Hi @lendle! I have checked with the SDK team, and they said this patch was more of an exception and for the most part we do use point updates for patch releases. Thank you so much for pointing it out!


iOS - Opening and Closing the Notifications center on iOS dismisses the New line Marker

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open app
Go to any previous chat with reply
Marks as unread the reply
Open and close the Notification Center
Notice the new line marker disappear

Expected Result:
Opening and closing the Notification Center should not have dismiss the new line marker.
Actual Result:
Opening and closing the Notification Center dismiss the new line marker
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: yes
Reproducible in production?: yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/be2a9fff-ae05-4555-a569-7058f84a90a0
https://github.com/Expensify/App/assets/93399543/dd44ac3e-a206-4ce1-ab6e-50b615aaffe3
Expensify/Expensify Issue URL:
Issue reported by: @daveSeife
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1686417083178409
View all open jobs on GitHub

I'm not sure if this is a bug.
We're currently changing unread status of the report in visibility change event handler when the chat is fully visible.
https://github.com/Expensify/App/blob/cd4c24609fa736e7ddb7cea5ce6938908c9ab601/src/pages/home/ReportScreen.js#L140-L148
If this is an unexpected behavior, we need to define how to change the unread status for the report.

I'm not able to reproduce this.
When I view the video it looks like the "new" message appears for a moment but since you're on the chat it's then showing "read"
When I tested I kept the chat open and repeated your steps - it would be expected that once I reopen to the same chat that it would momentarily show "new" but since I'm viewing it, it moves to read.
When I test but after marking as unread, I move back to my LHN, Close and reopen notification, the message remains new/unread as I'm not actually viewing the conversation yet.


Fix Search by ID

torrent_id is a column from both torrents and scrapes tables. So you have to specify for which table you want to filter torrent_id.
Fix #1589

Coverage remained the same at 40.123% when pulling 4cebc3af44b1f12202192d51650d807a3693da81 on fixsearch into 33e90093b766c62faf6239e5ca348f2c3af64a0a on dev.


People is online, but the status display it's Offline

Just has two phones: A phone  and B phone.
Both phones are online, all things is OK.
But in A phone, check the B status, display it is offline.

Related to https://github.com/vector-im/riot-web/issues/2667

Hi, everyone, please help me to figure out the issue, User is offline, but still show's online, is there any convenient way, to handle this issue?

The Presence API usage has been disabled for performance reason.
I understand the application display lots of bad information then

We need a way to tell if homeserver presence API is enabled or not, to avoid display wrong presence information.
CC @erikjohnston

Riot web just has a hard coded list AFAIK

We need a way to tell if homeserver presence API is enabled or not, to avoid display wrong presence information.

Sounds like https://github.com/vector-im/riot-web/issues/4398#issuecomment-629729170.


Grounded skill samples generated by the simple pipeline are missing context?

Just noticed this while documenting dataset formats in #236
In _gen_train_data() we are taking a dataset with question and response columns, and generating a training dataset in two different formats. (Ok, in the case of the simple pipeline, we actually parse question and response from output, but that's not super important here)
If the dataset also contains a context column, we append context to the question.
            user = _get_question_hack(synth_example)
            if len(synth_example.get("context", "")) > 0:
                user += "\n" + synth_example["context"]
            assistant = _unescape(_get_response_hack(synth_example))
            train_entry = {
                "system": _SYS_PROMPT,
                "user": _unescape(user),
                "assistant": assistant,
            }
            train_data.append(train_entry)
            sample = {
                "inputs": _unescape(user),
                "targets": assistant,
                "system": _SYS_PROMPT,
            }
            messages_data.append(_convert_to_messages(sample))

In the full pipeline for grounded skills, we do generate this context column based on the seed_context column.
In the simple pipeline for grounded skills, we are not including a context column at all. I suspect the intent was include the original seed context in each sample? If so, we'd need to add a DuplicateColumnsBlock that would copy seed_context to context?

Another example of where I think we're missing context for grounded skills:
In datamixing.py:
def _convert_to_leaf_node_messages(sample: dict, sys_prompt: str):
    ...
    user_query = _unescape(_get_question_hack(sample))
    response = _unescape(_get_response_hack(sample))

    sample["id"] = str(uuid.uuid4())
    sample["messages"] = [
	{"content": sys_prompt, "role": "system"},
        {"content": user_query, "role": "user"},
	{"content": response, "role": "assistant"},
    ]

AIUI, we should be included context in the user message here?


Remove unused variable nextId from updating arrays in state lesson

Issue: In Updating Arrays in State lesson in one of the code example there is a unused variable called nextId.
Fix: As it's not required, I've removed it.
Before:

After:

Hello @kprakhar!
Thank you for creating the PR, however, there was a PR with the fix already linked to this issue.
Let me close this PR as it is a duplicate of #6470 already merged and issue is already closed.


[Bug] XP Drop alerts are fired immediately upon logging in

When you log in, any XP Drop events are immediately triggered since logging in will send the client a bunch of "XP gained" messages. It'd be great if the plugin ignored these initial XP notifications during the login process.

Struggling to find a good solution to this. Unfortunately these events are fired after the LOGGED_IN game state so I can't differentiate between logging in or playing as it's the same state. I had a thought to keep track of "the first time we get the xp drop" that I'll try out.

Looks like this would only happen on your first login. The game client would report 0 XP for your skill upon first login, but would be accurate on subsequent logins as long as RuneLite wasn't closed. But I think I figured out a fix for it regardless!


Send individual notification emails per user

Fix for #1559
Added user details to minimise changes of being marked as spam

@timheap could you review this, please?

Aside from the above comments, this looks good to me :+1:

Looks good to me, assuming the tests passed! Travis seems to be having a small issue right now.

Merged in e18f877286308a8a172fcd99a4ea79d9f4aa3c14

Thanks, @mgd020 and @timheap!


The package does not appear to be on npm

As simple as the title, the package does not actually appear to be in the npm registry.

Hey, I had the same issue. I found the package listing online, and turns out the installation has changed to
npm i @kennethormandy/variablefont.js
instead. I know I'm a year late but I hope this helps someone

Yep, that appears to be the fork by @kennethormandy — the issue is still valid for this repo, if indeed anybody is ever maintaining this code (:


Have you already checked elsewhere?

[X] I have read the Devilbox documentation
[X] I have checked the Devilbox Troubleshooting Guide
[X] I have checked the Devilbox FAQ
[X] I have checked the Devilbox Howto
[X] I have checked the Devilbox Forum
[X] I have checked existing issues
[X] I have googled already with no luck
[ ] I have not done any of the above

What are you struggling with?
Good afternoon
Can you help me?
I'm trying to use Laravel 10 with the tenancyforlaravel package(https://tenancyforlaravel.com/docs/v3/quickstart/) and subdomains are not working for me.
Is it possible to somehow solve this issue?
Thank you.
What have you tried already?

What is your goal?

@morsergen, You need to use the wildcard subdomain for this. Check this out (For Apache, just scroll up the page and you will see the details): https://devilbox.readthedocs.io/en/latest/vhost-gen/example-add-subdomains.html?highlight=subdomain#adding-catch-all-sub-domain-1

@vikas5914 Thank you very much! Everything worked!


Add test coverage to Travis build

Since we're open now, we can add code coverage with a free tool


PW

Originally posted by @Saienko19 in https://github.com/pontem-network/pontem-wallet-docs/issues/2

Originally posted by @Saienko19 in https://github.com/pontem-network/pontem-wallet-docs/issues/2


New form staff

Overview
The staff form would have below mentioned fields

Name - Text - Required
Email - Text - Required - Email validation
Staff Phone - Optional - Phone validation
PositionID - Int - Reference(Positions)
IsActive - Boolean - Default (true)

Split the name field in to first name and last name.


Serverless v4 support

Fixes #393

I'm not going to try and fix the tests in this PR, it looks like changes in serverless (or other dependencies?) have broken them.


generate GIF with gif instead of png

hi can you help me
I've made all the gifs from after effects
and to unify it in your code is it possible?

Hi there! I am going to be investigating this in this issue https://github.com/jalagar/Generative_Gif_Engine/issues/15. In the meantime you'll have to use an online tool like https://ezgif.com/split. It is on my todo though!

Hi @nft2077 this is implemented and works now. Please try it out and see layers_gif_example for an example of the file format. Feel free to re-open this if it doesn't work!


python311Packages.dipy: 1.5.0 -> 1.7.0

Diff: https://github.com/dipy/dipy/compare/refs/tags/1.5.0...1.7.0
Description of changes

Things done

Built on platform(s)

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

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

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.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.

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

2 packages built:

python310Packages.dipy
python311Packages.dipy


Update username

Awesome, thanks. I've opened https://github.com/ashfurrow/C-41/issues/20 to fix the CI, since this is obviously not your fault.


fix: reference typo to canonical variable

Hey, thanks for catching this! I can do the requested change myself if you'd like of course, but would love to merge your PR as the first PR here. :)

btw. I'm currently working on a testing strategy to preventing such things from slipping through in the future. Battling some bugs in Astro itself rn though 😅


Failed to execute "Run and Debug"

Describe the issue:
According to Readme.md, when executing the third step of Testing locally and clicking the Run and Debug button, the following error was encountered:

At this time, a reminder from the "Azure Functions" extension appears in the lower right corner. After clicking Yes, click the Run and Debug button again, and encountered another problem, as shown below:

After press F1, search for and select Azurite: Start., it can run successfully.
Repro Steps:

Run azd init -t MiguelElGallo/simple-fastapi-snow-azd.
Create a Python virtual environment and activate it.
Run python3 -m pip install -r requirements.txt.
Click the "Run and Debug" button.

Expected behavior:
After clicking the Run and Debug button, it can be run successfully.
@MiguelElGallo and @hemarina for notification.

Hello @v-xuto,
Thanks for this I've added step 3 related to Azurite.
Please note that, those steps where copied from here: https://github.com/Azure-Samples/openai-plugin-fastapi
(MS provided template)
And there installing and starting azurite is also missing.
Cheers,
Miguel

@MiguelElGallo after clicking the Run and Debug button, the error shown below will still be encountered:
According to the error message, ${config:azureFunctions.pythonVenv} is used in the .vscode/task.json file, but this template does not define the variable azureFunctions.pythonVenv.

After clicking Yes in the reminder of the "Azure Functions" extension in the lower right corner, the .vscode/settings.json file is created with the following content. Click the Run and Debug button again and it will work successfully.

Here are my two suggestions:

Add the .vscode/settings.json file and the configuration of the azureFunctions.pythonVenv variable.
Add a Note In Readme.md to prompt the user to click Yes when seeing a pop-up box about initializing the project from the "Azure Functions" extension.

Hello @Menghua1 ,
Thanks for the suggestions , but I was not able to reproduce the error.
As you can see  [here:] (https://youtu.be/EpJlLx0-k4c)
Also my settings.json
{
    "azureFunctions.deploySubpath": ".",
    "azureFunctions.scmDoBuildDuringDeployment": true,
    "azureFunctions.pythonVenv": ".venv",
    "azureFunctions.projectLanguage": "Python",
    "azureFunctions.projectRuntime": "~4",
    "debug.internalConsoleOptions": "neverOpen",
    "azureFunctions.projectLanguageModel": 2
}

As you can see already contains the azureFunctions.pythonVenv variable.
Can you please confirm?
Thanks!

@Menghua1 Sorry, my bad.
I had in .gitignore:
.vscode/settings.json
Now I removed and the file is in the Repo.
Thanks again and sorry :)
Cheers!

@MiguelElGallo According to the link to create a Python virtual environment in Readme.md, the default name of the created virtual environment is tutorial-env.
But the azureFunctions.pythonVenv value specified is .venv in this Repo's .vscode/settings.json file.

Here are my two suggestions:

Modify the value of azureFunctions.pythonVenv to tutorial-env in the .vscode/settings.json file
Or add Note to Readme.md. If the name of the created python virtual environment is not .venv, please change the package name of the virtual environment to .venv.

@Menghua1 updated Readme.md with a note.
Cheers!


Focus not moving into modal when open button is last focusable item in page

Describe the bug
Using Clarity 2.0 and Angular 8.0, I create a modal window and expect that the focus would be "trapped" in the modal only.
However, the focus is not trapped, and every single element behind the modal is accessible.
I'm having a specific case where I open a modal window inside an iframe and I observe that every element in the iframe and even outside is accessible.
How to reproduce
Create some buttons, an iframe, some buttons in the iframe, and add a modal window.
Steps to reproduce the behavior:
Stackblitz example: https://stackblitz.com/edit/clarity-iframe-modals?file=src%2Fapp%2Fapp.component.html
Expected behavior
Only elements in the modal window should be accessible.
Versions
App

Angular: [6
Node: [10+]
Clarity: [2.0.0]

Device:

Type: [MacBook]
OS: [macOS Mojave]
Browser [Chrome 80.0.3987.x, FF 73.0.1]

Additional notes
None

This demo is showing a static modal, which has no focus trapping. Only the Angular modal does, and changing this modal to an Angular version works fine. Closing this as not a bug, as the static HTML version does not have any implementation to trigger the focus trap (or open/close behaviors).

Thanks for the clarification.
I've updated the stackblitz example I've provided, so that the modal could be dynamically opened on a button click.
I expect this to now trap focus, but it does not.

Thanks for following up, I've looked into it a bit more. The iframe is a red-herring, the problem appears to be that our focus trap isn't moving the focus into the modal when the open button is the last focusable item on the page. The iframe is not important here, if you simply add another button after the open modal button, it works as expected with or without the iframe.
This is a bug, but the workaround is to make sure your modal open button isn't the last item on the page. See if that helps for now, and we'll look at this bug.

@gnomeontherun I am pretty sure if you upgrade to Clarity V3, that issue won't be present. Because we placed the focus rebounder elements right above and below the modal's host element.

Thanks @shijir, you are right that it is fixed by v3 by https://github.com/vmware/clarity/pull/3787 and/or https://github.com/vmware/clarity/pull/4027. I'm not sure we can backport that fix either, as it would be difficult to be sure it doesn't have side effects.
Even so in v2 the workaround is to ensure the button is not the last element of the page.

Yes this https://github.com/vmware/clarity/pull/4027 PR can be backported to solve the issue. We just need isolate and backport the focus trap related part.

I'll try bumping Clarity version to v3 and moving the code block elsewhere to see if that works.
Thanks for the help, guys!

This should be resolved in Clarity v3, so closing as resolved.


Right click works in primary window, but not child windows

Right clicking works in the compose message body of the main window.
However, if I double-click a message and reply in the child popup, right click does not function.
https://user-images.githubusercontent.com/21267386/153252559-acaeee05-7d01-4303-801f-aec3160281a8.mp4

Fix published on https://github.com/MagiusCHE/prospect-mail/releases/tag/v0.5.1-beta-tmp

Works for me on initial testing.
Thanks you very much for such rapid corrections.


image scatter doesn't work on images with different size

Hi,
I tried to reproduce the image scatter example, but failed on images with different size. the example commented that same size images give best performance, but did not mention it doesn't support images with different size.
using Makie
Makie.scatter(1:2,1:2,marker=[rand(RGB,10,10),rand(RGB,15,15)],markersize=0.2)

I am testing it in Julia v1.3.1 and on Makie master. I am wandering if I had missed something, or Makie doesn't support different size images yet?
Best,
Alex

Ad hoc: You can vary the marker size instead of the image size:
Makie.scatter(1:2,1:2,marker=[rand(RGB{Float32},4,4),rand(RGB{Float32},4,4)],markersize=[0.2, 0.8])

Hi,
I just tried the latest Makie v0.11.2, and GLMakie v0.1.20 on julia 1.5.3 on window10.
it works on a single image:
using Makie
Makie.scatter(1:2,1:2,marker=rand(RGB,10,10),markersize=100)

but not working with multiple images, even with the same size:
Makie.scatter(1:2,1:2,marker=[rand(RGB,10,10), rand(RGB,10,10)],markersize=100)


docs(sw): Document service worker

[ ] Design doc for the service worker
[ ] Write docs for API reference in the code (especially companion library)

Removing from milestone to focus more on e2e tests and push notifications.


[BUG] the file "user.is-receiving.txt" is blank.

Should I just paste into this file?

I did turn on the "always keep my file on device".

Such file is just used by other computers to decide whether some other computer is receiving clipboards or not. If none is receiving clipboards, it does not need to keep sending it.
It's blank by design. And I plan to refactor/change this file into a JSON in the future so that it can contain more information.

I would prefer the .txt file format or use multiple formats to process, because I could use the project ntodotxt to sync clipboard file on my mobile phone and easily edit it.

You are probably mixing two different matters. Remember this file is just a marker to indicate whether there's another computer currently receiving clipboards or not.
You probably meant you'd prefer .txt for the clipboard files itself.
And yeah. Earlier versions of this application used to send text clipboards as .txt and I also found it nice.
However, in the beginning there was only text/plain clipboard support. Now there is text/rich for formatted text and even bookmark kind for copying links from Edge browser. That's why .txt was no longer enough.


Kubernetes disk pvc wait

Kubernetes disk pvc wait.
before:
2018-05-02 11:15:19,307 836faced Thread-2 copy_throughput(1/1) INFO     Ran: {/usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config create -f /tmp/tmpNM1OBC}  ReturnCode:1
STDOUT:
STDERR: Error from server (Timeout): error when creating "/tmp/tmpNM1OBC": Timeout: request did not complete within allowed duration

['/usr/local/bin/kubectl', '--kubeconfig=/k8s-custer-config/config', 'create', '-f', '/tmp/tmpNM1OBC']
stdout: , stderr:Error from server (Timeout): error when creating "/tmp/tmpNM1OBC": Timeout: request did not complete within allowed duration
, retcode:1
2018-05-02 11:15:19,308 836faced Thread-2 copy_throughput(1/1) INFO     Retrying exception running IssueRetryableCommand: Command returned a non-zero exit code.

2018-05-02 11:15:35,832 836faced Thread-2 copy_throughput(1/1) INFO     Running: /usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config create -f /tmp/tmpNM1OBC
2018-05-02 11:15:37,486 836faced Thread-2 copy_throughput(1/1) INFO     Ran: {/usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config create -f /tmp/tmpNM1OBC}  ReturnCode:1
STDOUT:
STDERR: Error from server (InternalError): error when creating "/tmp/tmpNM1OBC": Internal error occurred: admission webhook "sds-operator-webhook.certascale.io" denied the request: Pod is already created

['/usr/local/bin/kubectl', '--kubeconfig=/k8s-custer-config/config', 'create', '-f', '/tmp/tmpNM1OBC']
stdout: , stderr:Error from server (InternalError): error when creating "/tmp/tmpNM1OBC": Internal error occurred: admission webhook "sds-operator-webhook.certascale.io" denied the request: Pod is already created
, retcode:1
2018-05-02 11:15:37,487 836faced Thread-2 copy_throughput(1/1) INFO     Retrying exception running IssueRetryableCommand: Command returned a non-zero exit code.```

after:
```2018-05-02 11:32:36,398 39d4b965 Thread-2 copy_throughput(1/1) INFO     Waiting for PVC pkb-39d4b965-0-0
2018-05-02 11:32:36,398 39d4b965 Thread-2 copy_throughput(1/1) INFO     Running: /usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config get pvc -o=json pkb-39d4b965-0-0
2018-05-02 11:32:44,448 39d4b965 Thread-2 copy_throughput(1/1) INFO     Waiting for PVC pkb-39d4b965-0-0
2018-05-02 11:32:44,448 39d4b965 Thread-2 copy_throughput(1/1) INFO     Running: /usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config get pvc -o=json pkb-39d4b965-0-0
2018-05-02 11:32:54,207 39d4b965 Thread-2 copy_throughput(1/1) INFO     Waiting for PVC pkb-39d4b965-0-0
2018-05-02 11:32:54,207 39d4b965 Thread-2 copy_throughput(1/1) INFO     Running: /usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config get pvc -o=json pkb-39d4b965-0-0
2018-05-02 11:33:02,039 39d4b965 Thread-2 copy_throughput(1/1) INFO     Waiting for PVC pkb-39d4b965-0-0
2018-05-02 11:33:02,039 39d4b965 Thread-2 copy_throughput(1/1) INFO     Running: /usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config get pvc -o=json pkb-39d4b965-0-0
2018-05-02 11:33:11,396 39d4b965 Thread-2 copy_throughput(1/1) INFO     Waiting for PVC pkb-39d4b965-0-0
2018-05-02 11:33:11,397 39d4b965 Thread-2 copy_throughput(1/1) INFO     Running: /usr/local/bin/kubectl --kubeconfig=/k8s-custer-config/config get pvc -o=json pkb-39d4b965-0-0
2018-05-02 11:33:14,346 39d4b965 Thread-2 copy_throughput(1/1) INFO     PVC is ready.```

Thanks for the fix


Process GoogleId for Print Hotkey

Just a PR for the simple fix offered by @calculuschild to resolve #1815 -- fix the issue of the print hotkey not retrieving the correct URL if trying to print a Google Drive held brew.

Thanks for this! 🎉


Lock primary during replication failover

Related to:

https://github.com/mariadb-operator/mariadb-operator/issues/291

@harunkucuk5 ready to re-review! LGTM from my side

@harunkucuk5 thanks a lot for your feedback reviewing this PR 🙏🏻
This will be released in v0.0.24, stay tuned 🚀


[Event Request] report 291 "Delete Invd Blnkt Sales Orders" - Trigger OnAfterGetRecord() - OnSalesHeaderOnBeforeDeleteApprovalEntries

Could You please, add the following event to the report 291 "Delete Invd Blnkt Sales Orders"
Object: report 291 "Delete Invd Blnkt Sales Orders"
Trigger: OnAfterGetRecord()
Publisher Event: OnSalesHeaderOnBeforeDeleteApprovalEntries
Reason: To implement custom business logic and avoid the deletion of approval entries
Where is the event placed (see image attached)?:

before the calling to delete the approval entries: ApprovalsMgmt.DeleteApprovalEntries(RecordId);
Insert the next lines:

IsHandled := false;
OnSalesHeaderOnBeforeDeleteApprovalEntries("Sales Header", IsHandled);
if not IsHandled then
<<<<<<<<<<<<<<<<
Event Code:
[IntegrationEvent(false, false)]
local procedure OnSalesHeaderOnBeforeDeleteApprovalEntries(SalesHeader: Record "Sales Header"; var IsHandled: Boolean)
begin
end;
Thanks in Advance

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Hassio no longer reachable over .local domain with 2.9

Hi everyone,
I updated to Hassos 2.9 yesterday and can no longer connect via the [hostname].local address. (Can not resolve, Unknown host) IP works fine. Did any Zeroconf stuff change?
I am running the OVA image in a VM on Synology.

Apologies, reboot solved the issue.


My stake pool doesnt show in daedalus

Hi,
My stake pool wape wape doesnt show in Daedalus.
Accoring to pooltool.io the metadata is verified. I have also registered the pool where I used pooltool.ios metadata generator and I increased the pledge. Still the pool doesnt show up.
Trying the Smash api returns 404 for my poolid  wget  https://smash.cardano-mainnet.iohk.io/api/v1/metadata/df01dcb3a9e8966b6376e6e6db8739fff72cb769a3b5174736520baa
for references:
WAPE pooltool
WAPE adapools

I can't get https://smash.cardano-mainnet.iohk.io/api/v1/metadata/df01dcb3a9e8966b6376e6e6db8739fff72cb769a3b5174736520baa to load?

NOme either I get 404 not found @nikolaglumac

Do I need to wait a certain number of epochs before it show?

Please use this URL to verify if your stake pool is available on SMASH: https://github.com/input-output-hk/daedalus/issues/2117#issuecomment-768480271
If it is not then you don't get to see it in Daedalus.

The command https://smash.cardano-mainnet.iohk.io/api/v1/metadata/df01dcb3a9e8966b6376e6e6db8739fff72cb769a3b5174736520baa/b87ec11ff23a60ac9f2b3e6ed2a96b15519237839df115594e13d915717dbe0e
returns the stake pools meta data
{"name": " WAPE Stake pool", "ticker": "WAPE", "description": "Stakepool located in north of Sweden", "homepage": "https://www.wape.nu"}
But the stake pool wont still not show in daedalus for me.

I can see your stake pool in my Daedalus Mainnet instance:

I believe you only need to wait for Daedalus to pick it up...
Try restarting Daedalus.

Great you can see it. I still cant see it in my wallet after several restarts. Can I force a stake pool refresh in daedauls without reinstall it?

Yes - you can do the following to trigger Daedalus to re-fetch all the stake pool data:

Access to Help - Daedalus Diagnostics (or press  ⌘ + D on Mac or Ctrl + D on Windows and Linux)
On Daedalus state directory click Open

Close Daedalus
Access the folder wallets on the state directory
Search for the file stake-pools.sqlite and delete it

Reopen Daedalus

The screenshots are from an old version and not the one I am using. Please wait for it and your stake pool will show up.

Yes now it finally shows. Thanks so much for you time and help!

Glad to hear!


Call the api interface to pull historical messages

Hello, is there an interface to pull the historical information of contacts through the api? Thank you

I don't understand what you need to do

How to take the initiative to obtain the history and information of contacts

You mean messages?
If you means contacts use the oncontacts listener

How to take the initiative to obtain historical text messages, without going through the listener

Check the documentation

Is there a link to the documentation?

I'm talking about the readme


Test 'run-mem_region_reservations' SIGABRT when tried with AFL instrumentation

Error Description:
make check is failing with the following error.
[ RUN-TEST ]   core/test/run-mem_region_reservations
run-mem_region_reservations: core/test/../mem_region.c:472: void mem_free(struct mem_region *, void *, const char ): Assertion `mem < region_start(region) + region->len' failed.
./test/run.sh: line 7: 20971 Aborted                 (core dumped) $ 2>&1 > $t
MEM: parsing reserved memory from reserved-names/-ranges properties
Releasing unused memory:
ibm,firmware-heap: 1192/4096 used
ibm,firmware-allocs-memory@5204170: 0/1048576 used
Reserved regions:
0x000000004000..000000004fff : test.3
/home/rnsastry/skiboot/core/test/Makefile.check:49: recipe for target 'core/test/run-mem_region_reservations-check' failed
make: *** [core/test/run-mem_region_reservations-check] Error 134
The above created a file named vgcore.20971 (13MB)
Steps to re-produce:
On a Ubuntu 16.04 guest running on Mac.
AFL Setup:
apt-get install build-essential wget git llvm clang flex bison
# mkdir $HOME/afl
# cd $HOME/afl
# wget -N http://lcamtuf.coredump.cx/afl/releases/afl-latest.tgz
# tar xz afl-latest.tgz
# make
# cd llvm_mode
# make
skiboot Setup:
# git clone https://github.com/open-power/skiboot
# cd skiboot
In Makefile.main change HOSTCC=gcc to HOSTCC=afl-clang-fast
comment out "CWARNS"
To eliminate 'make check' error, Did a little hack to file libc/string/strdup.c line # 16:
char *strdup(const char *src) changed to char *(strdup)(const char *src)
# make
# make check
$ gdb core/test/run-mem_region_reservations vgcore.20971
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from core/test/run-mem_region_reservations...done.
warning: core file may not match specified executable file.
[New LWP 20971]
Core was generated by `'.
Program terminated with signal SIGABRT, Aborted.
#0  0x0000000004e6f428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54	../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x0000000004e6f428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1  0x0000000004e7102a in __GI_abort () at abort.c:89
#2  0x0000000004e67bd7 in __assert_fail_base (fmt=, assertion=assertion@entry=0x4131bb "mem < region_start(region) + region->len",
file=file@entry=0x4130d2 "core/test/../mem_region.c", line=line@entry=472,
function=function@entry=0x413157 "void mem_free(struct mem_region *, void *, const char *)") at assert.c:92
#3  0x0000000004e67c82 in __GI___assert_fail (assertion=0x4131bb "mem < region_start(region) + region->len", file=0x4130d2 "core/test/../mem_region.c", line=472,
function=0x413157 "void mem_free(struct mem_region *, void *, const char *)") at assert.c:101
#4  0x0000000000402073 in mem_free (region=, mem=, location=0xb4 <error: Cannot access memory at address 0xb4>)
at core/test/../mem_region.c:472
#5  0x0000000000408069 in __free (p=0x5305420, location=) at core/test/../malloc.c:43
#6  mem_region_add_dt_reserved_node (parent=, region=) at core/test/../mem_region.c:1122
#7  mem_region_add_dt_reserved () at core/test/../mem_region.c:1178
#8  0x00000000004118fc in main () at core/test/run-mem_region_reservations.c:218
(gdb) i r
rax            0x0	0
rbx            0x4028000	67272704
rcx            0x4e6f428	82244648
rdx            0x6	6
rsi            0x51eb	20971
rdi            0x51eb	20971
rbp            0x4131bb	0x4131bb
rsp            0xfff000658	0xfff000658
r8             0xb4	180
r9             0x0	0
r10            0x8	8
r11            0x5305730	87054128
r12            0x1d8	472
r13            0x413157	4272471
r14            0x7	7
r15            0x5305420	87053344
rip            0x4e6f428	0x4e6f428 <__GI_raise+56>
eflags         0x44	[ PF ZF ]
cs             0x0	0
ss             0x0	0
ds             0x0	0
es             0x0	0
fs             0x0	0
gs             0x0	0
please let me know if you need more information. Thank you.

Verified whether the following hack is causing the issue or not.
with the following file libc/string/strdup.c line # 16:
char *strdup(const char *src)
the intermediate file run-mem_region_reservations.i for strdup shows the following,
1 "core/test/../../libc/string/strdup.c" 1
16 "core/test/../../libc/string/strdup.c"
char *(extension (__builtin_constant_p (const char *src) && ((size_t)(const void *)((const char *src) + 1) - (size_t)(const void *)(const char *src) == 1) ? (((const char *) (const char *src))[0] == '\0' ? (char *) calloc ((size_t) 1, (size_t) 1) : ({ size_t __len = strlen (const char *src) + 1; char *__retval = (char ) __malloc(__len, "core/test/../../libc/string/strdup.c" ":" "16"); if (__retval != ((void)0)) __retval = (char *) memcpy (__retval, const char *src, __len); __retval; })) : __strdup (const char *src)))
{
size_t len = strlen(src) + 1;
char *ret;
ret = __malloc(len, "core/test/../../libc/string/strdup.c" ":" "21");
if (ret)
memcpy(ret, src, len);
return ret;
}
The above function definition looks very odd.
with the following file libc/string/strdup.c line # 16:
char *(strdup)(const char *src)
the intermediate file run-mem_region_reservations.i for strdup shows the following,
1 "core/test/../../libc/string/strdup.c" 1
16 "core/test/../../libc/string/strdup.c"
char *(strdup)(const char *src)
{
size_t len = strlen(src) + 1;
char *ret;
ret = __malloc(len, "core/test/../../libc/string/strdup.c" ":" "21");
if (ret)
memcpy(ret, src, len);
return ret;
}
This looks correct.

AFL's clang is responsible for the above mess-up of 'strdup' function header.

@stewart-ibm Any views on the above issue.

This is not happening on the current git version. Closing this issue.


Cloning a Document

What is the recommended way to clone a document ?
I need to create some instances from a common skeleton.
I currently do it like this, but it is probably not optimal.
const instance1 = YAML.parseDocument(skel.toString())
const instance2 = YAML.parseDocument(skel.toString())

Thank you !

YAML documents and nodes don't (yet) support cloning, but I'd be quite willing to consider a PR for that.
Could you tell me a bit more about what more precisely you're cloning? Is it originally a JS object, a YAML document, or are you creating it during this process? This matters because if details like comments and empty lines need to be accounted for, it might be easiest to do something a bit like what you're already doing. On the other hand, if they don't matter, it might be a little bit more efficient to transform the doc into a JS object, and then re-parse that into the cloned document.

Well A clone should issue the exact equivalent of the Yaml Document object, including comments and file structure.
I use it for templating. I have a skeleton, and I fill values, add sections. It would be possible just to reparse the original template file, but it seems counter-intuitive to have to reparse a file, so I was asking what was the recommended way to clone a Yaml Document.
Thank for your great work !

After a bit of consideration, while I think this would be interesting and beneficial, I don't think I'm going to get around to implementing this myself. I'd be quite willing and interested to consider a PR for cloning nodes and documents, though.

Closing due to inactivity. Also noting that something like this would be a little bit more efficient than the original suggestion:
const cst = YAML.parseCST(String(skel))
const instance1 = new YAML.Document().parse(cst[0])
const instance2 = new YAML.Document().parse(cst[0])

The parsing goes through a few stages: string -> CST -> AST Doc -> JS, and this way at least skips the first stage. The doc.parse() method will set the CST nodes' resolved values, but it won't read them until they've been assigned values for the current parsing. This means that it should be perfectly safe to re-parse the same CST multiple times.


Witgen: Range constraints not transferred for machine-to-machine call

Currently, our Machine trait defines this function:
    fn process_plookup<'b, Q: QueryCallback<T>>(
        &mut self,
        mutable_state: &'b mut MutableState<'a, 'b, T, Q>,
        identity_id: u64,
        args: &[AffineExpression<&'a AlgebraicReference, T>],
    ) -> EvalResult<'a, T>;

where args includes actual arguments, but also where to write the results are written to.
If you have a call like this:
{a1 + 256 * a2, b1 + 256 * b2, c1 + 256 * c2} is { XOR.a, XOR.b, XOR.c }
assuming all columns on the LHS are range-constrained to be bytes, the solve_with_range_constraints() function can figure out the values of c1 and c2. This already works, if c1 and c2 are globally range constrained (e.g. there is a constraint {c1} in BYTES).
But the range constraints are not global (e.g. because we do some fancy tricks to save lookups), these range constraints are not passed to the called machine.

This is fixed by b1a07bd9a708e37deed42efe1be188d1682a84c2. Still need to open a (separate) PR.


GOGs Webeditor Support

it would be nice when the GOGs webinterface have an webeditor for quick changes.
and thanks for your nice work i love how fast GOGs is :+1:

Thanks your feedback!
But this is duplicated to https://github.com/gogits/gogs/issues/1071


chore: Change NodeInfo for JSON & FormURL to String

Description of changes
Changes the type for the SmithyJSON and SmithyFormURL modules' NodeInfo from a custom structure to Swift String.  Done because we create many, many NodeInfos in our model files, and String is as simple a type as can be used.
To support this change:

SmithyXML's NodeInfo is now converts to String via the Swift CustomStringConvertible protocol, providing its name.
SmithyXML provides == overrides to compare its name to a String.
Some explanatory comments were added to the SmithyReader and SmithyWriter protocols.

Scope

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)

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

Closing because the added complexity of this does not look worth the benefit.


Link Component in Blazor

According to this paragraph there should be a Link component in Blazor which is distinct from link in html. But I get the warning that there is not such component. Does it require to add any package to RCL to have that?

To provide additional library component styles from stylesheets in the library's wwwroot folder, link the stylesheets using the framework's Link component.

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

ID: d2b709f5-e04e-fee3-7eea-1364893ab997
Version Independent ID: a92c88d3-6ee8-1e69-f4c3-49eb82909746
Content: Consume ASP.NET Core Razor components from Razor class libraries
Content Source: aspnetcore/blazor/components/class-libraries.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

🐀🍔 Roasted Rat Burgers! 🐀🍔😄 ... Sorry about that @abdollahkahne! You found a bit of guidance that didn't get reverted out of the docs.
The product unit DID create such a thing for the 5.0 preview. We documented it for the release. They ran into some issues with it, so it was reverted out of the framework and wasn't released at that time. I tried to get the bits we added OUT on https://github.com/dotnet/AspNetCore.Docs/issues/20319, but this sneaky devil 😈 got by me!
Take a look at the new approach with the HeadContent component at ...
https://docs.microsoft.com/aspnet/core/blazor/components/control-head-content
... as it should do the same thing for you in this situation. You can place your stylesheet <link> there ...
<HeadContent>
    <link href="..." rel="stylesheet">
</HeadContent>

... and that should 🤞 work.
Leave this issue open. I'll fix it to indicate the new HeadContent approach. This issue will automatically close when the PR merges.


Great project!  Keep up the good work!

Thanks! I'll close the issue to keep things tidy, but appreciate the kind words 😄


Add ranger example in README

Hello
Now that ranger is gone from the "official" rc in https://github.com/mawww/kakoune/commit/f38152d2f0e84e7db07d101e12993c274786549c I assume many newcomers will now try to use connect.kak
The README already have examples for lf and fzf which is great!
We could add another explicit line with a ranger example, this way new users will feel reassured that connect.kak also works with ranger if they don't know (yet) that lf is a ranger-like program.

Yoo.  I replaced the lf example with ranger.

You are not very active these days.  Hope you’re good.


Discover test targets when right-clicking on a folder

This relates to #4 but I think is somewhat different. If it duplicates please feel free to close.
The use-case is right clicking on a test folder and getting the option from the "run" sub menu to choose to run all targets in this package (sub packages also?) and a specific target from the list of targets the plugin identifies that exist in this package.

The first part should be already supported (creating a run configuration including all java test targets underneath the selected package/class/method).
We don't want to clutter the context menu with too many options, so perhaps creating a configuration running a specific target is best done via the BUILD target directly.

The first part indeed exists. I meant, and was probably unclear, that I'm referring to adding functionality and not replacing it.
I think that using a run sub menu can help with the clutter greatly. Have you looked at the pants IntelliJ screenshot? It looks rather useful

Hi there! We're doing a clean up of old issues and will be closing this one. Please reopen if you’d like to discuss anything further. We’ll respond as soon as we have the bandwidth/resources to do so.


[Bug]: FastCopy's pre_install script fails to handle home directory with space character correctly

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
fastcopy
Expected/Current Behaviour
I am having a problem installing fastcopy. It seems like that its pre_install script attempts to create a directory inside my home folder, but it does not correctly handle the space character in the name of my home folder (it is named Haoqing Chen) and fails.
Steps to Reproduce
PS> scoop install fastcopy
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  To disable this warning, run 'scoop config aria2-warning-enabled false'.
Installing 'fastcopy' (5.0.5) [64bit] from extras bucket
Loading FastCopy5.0.5_installer.exe from cache.
Checking hash of FastCopy5.0.5_installer.exe ... ok.
Running pre_install script...
Can't create a directory: C:\Users\Haoqing
Linking ~\scoop\apps\fastcopy\current => ~\scoop\apps\fastcopy\5.0.5
Creating shim for 'FastCopy'.
Can't shim 'FastCopy.exe': File doesn't exist.

Possible Solution
Escaping the space character or quoting the path in the script should work?
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'crystal-preview' bucket:
bfa54d5 (HEAD -> main, origin/main, origin/HEAD) Update mainline version

'extras' bucket:
a54d9a08d (HEAD -> master, origin/master, origin/HEAD) wsl2-distro-manager: Update to version 1.8.1

'games' bucket:
cbfe4777 (HEAD -> master, origin/master, origin/HEAD) vita3k: Update to version 3117-06515bf

'main' bucket:
3c2bb841b (HEAD -> master, origin/master, origin/HEAD) zeebe: Update to version 8.2.3

'sushi' bucket:
504f8606 (HEAD -> master, origin/master, origin/HEAD) vscode-insiders: Update to version 1.78.0-202304240441

'versions' bucket:
c2aba9ff3 (HEAD -> master, origin/master, origin/HEAD) sqlitebrowser-nightly: Update to version 2023-04-25

Scoop Config
aria2-warning-enabled           : True
aria2-max-connection-per-server : 16
aria2-split                     : 16
aria2-enabled                   : True
last_update                     : 2023/4/25 21:34:09
scoop_repo                      : https://github.com/ScoopInstaller/Scoop
scoop_branch                    : master

PowerShell Version
Name                           Value
----                           -----
PSVersion                      7.3.4
PSEdition                      Core
GitCommitId                    7.3.4
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

https://github.com/ScoopInstaller/Extras/commit/08cab3768ffdc25ff7f4b7c1e3a0979c7f3435c7


[CI] Draft

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Trouble flashing p0

Hello,
I have trouble flashing the p0 expander on the robot brain.
See the log:

To minimize interference of other components, I have tried writing the following startup configuration manually:
!-
!+serial = Serial(26, 27, 115200, 1)
!+p0 = Expander(serial, 25, 14)
!.

and then simply p0.flash()
I fear is, that this might actually be a flash page that is broken.
It's unfortunate that the bootloader of p0 doesn't give more details about the error.

[https://github.com/espressif/esp-serial-flasher/blob/a4f5033895489be0f1f75d254d3a040a9231560b/private_include/protocol.h#L79](The comment) in the header file actually explains it I think. In that case it should be a broken flash page.

As it turned out, some strapping pins have not been in the correct state.
We will add a check before flashing so that the user sees an informative error message.