Testnet 68: Deimos 3

Testnet Release
Testnet name: Deimos 3
Release date: 2024-02-26
Testnet release manager: @erwanor
The Phobos release should exercise chain upgrades.
Testnet Release Manager Checklist
Preceding Friday (sprint planning day):

[ ] Create GitHub project column, work with team to populate the milestone with tickets targeted for the release.

Tuesday (or after release of previous testnet):

[ ] Construct the genesis data for the release:

[ ] Create new testnet directory with initial genesis allocations for this testnet by running cd testnets && ./new-testnet.sh

This genesis data will be used for testnet-preview with a randomized version of the future testnet's chain ID.

[ ] Make sure that the chain name is preserved: it should be penumbra-testnet-deimos-3.

Thursday:

[ ] Check in with team again in a release meeting and update the GitHub milestone to ensure it represents what will make it into the testnet.
[ ] Draft an announcement for peer review to ensure major changes included are comprehensive.

Following Monday (release day):

[ ] Verify that testnet-preview.penumbra.zone is operational; it is redeployed on every push to main, and is an exact preview of what is about to be deployed.
[ ] Add an entry to the COMPATIBILITY.md
[ ] Bump the version number and push its tag, via cargo-release:

[ ] Enable direct pushes to main, temporarily, by unchecking "Do not allow bypassing the above settings" on the branch protection page.
[ ] Run cargo release minor for a new testnet, or cargo release patch for a bugfix. For the latter, make sure you're on a dedicated release branch.
[ ] Push the commit and newly generated tag, e.g. v0.51.0, to the remote.
[ ] Re-enable branch protection on main.

[ ] Wait for the "Release" workflow to complete: it'll take ~20m, after which the release URL will be live.
[ ] Edit the newly created (and published) release object, then click "Generate release notes" and save it.
[ ] You must manually review the Waiting deployment in the GitHub Actions UI before the deployment will begin. Monitor the GitHub action to ensure it completes after it is approved.
[ ] Delegate to the Penumbra Labs CI validators; use amounts of ~200k penumbra per validator.
[ ] Open a position to provide some initial liquidity: pcli tx lp replicate xyk penumbra:test_usd 20000penumbra --current-price 20
[ ] Make the announcement to Discord! 🎉🎉🎉

I've repurposed this issue to plan the new chain we intend to release on Monday, 2024-02-26: Deimos 3.

Looks great, I added an entry for the COMPATIBILITY.md


Update package.json - support React 16

Fixes https://github.com/whoisandy/react-rangeslider/issues/91

@whoisandy Thanks for the great package! Any reason for why this PR was not merged? It would be nice to get rid of the peer dependency warning. 🙏

@whoisandy PING


Can we load extension in this?

Since it can pass some arguments to the chromium then I tried "--load-extension" but no luck
Is this limitation from the CEF?

I have not investigated the possibility of supporting Chrome extensions before this. I wasn't able to load extensions using --load-extension either. It may require some work from Browservice side; we could in principle mimic what cefclient does. However, judging by CEF issue 1947, the extension support is very much incomplete, and related to larger changes in CEF architecture. For me, extensions are not a high priority, and thus I would at least wait for things to stabilize in CEF before considering adding extension support. Even after that, it is unclear how big changes it would require in Browservice; extensions typically require some UI dialogs for configuring them.

It would be nice to be able to install ublock origin, many sites have a lot of very heavy animated banners

Can typing command browservice --chromium-args=load-extension=/path/to/extension,path/to/another/extension with multiple but not work

ad blocking is possible by chaining to privaxy proxy which does SSL mitm.


add Algerian (ar_DZ) names provider

The code formatting check failed, please see Travis report.

Hi @fzaninotto
I fixed the indentation in one line that was causing the code formatting check to fail , but Travis test is still failing (my local PHPCS doesn't return any errors)
would you please tell me where I should look, or what I should fix?
thanks

Many thanks for this @djug

PHP Parse error:  syntax error, unexpected '[' in /home/travis/build/fzaninotto/Faker/src/Faker/Provider/ar_DZ/Person.php on line 7

Bump, can you fix the syntax?

Use the array() notation instead of [].

@FooBarQuaxx I did,
but all check still fail

Your test is failing

There was 1 failure:

Faker\Test\Provider\ProviderOverrideTest::testPerson with data set #0 ('ar_DZ')

Failed asserting that '' matches PCRE pattern "/.+/u".
/home/travis/build/fzaninotto/Faker/test/Faker/Provider/ProviderOverrideTest.php:100

No news  for a long time, closing.

@fzaninotto: I have fixed the issue on this pull request #1099.


Can we simplify the set of primitive pictures?

I don't know an easy way to do this, but @marcianx pointed out that if we're looking at reducing the number of colors in the name of avoiding cognitive load and memorization early in the class, it's actually the primitive pictures that play a bigger role in that.  We have:

circle
thickCIrcle
solidCircle
rectangle
thickRectangle
solidRectangle
lettering
styledLettering (I don't teach this one)
polygon
thickPolygon
solidPolygon
polyline
thickPolyline
closedCurve
thickClosedCurve
solidClosedCurve
curve
thickCurve
arc
thickArc
sector
blank
codeWorldLogo
coordinatePlane

They do follow a lot of common patterns (plain/thick/solid variants, and polygon/polyline/closedCurve/curve), but it's still a huge list of vocab!

Some primitives are redundant.  For instance, rectangles can be defined as polygons, and circles as arcs.
But those are cases where students need to practice with simple shapes before introducing the more general form.
We could avoid the combinatorial explosion by following the Elm GraphicsSVG route, where Stencil and Shape and Collage are different types.  But this just adds its own form of complexity.
We could just eliminate primitives that are rarely used.  I suppose the candidates would be styledLettering, arc and thickArc and sector, and all the curve functions, for a savings of 9 primitives.  But these were each added for a reason, either because students want them, or because they exercise math skills that are part of the goal!
As one stretch idea, we could eliminate the thick variants of shapes, and instead have all shapes drawn by a line of fixed thickness, which could then be scaled up or down to get a thicker line.  This makes some simple pictures much harder to draw, but it removes the most complex primitives -- and also helps to fix some thorny issues with #649 by just defining blank as the right picture when scaling by 0.

I strongly suspect the right answer here is to do nothing.  Perhaps we could postpone learning the polygon and arc families of functions until later in the curriculum sequence if the choices are really so overwhelming, but no need to take them away.
But I wanted to document the thought given to the question.

I think it may be productive to distinguish between the base library and the curriculum library. In my opinion, the base library should provide
as many primitives as necessary to make anything possible, but no more than that.
On the other hand, the curriculum library (or "a curriculum library") could restrict those options to fit a particular curriculum, or
it could add additional functionality built on the base library, as I do with the Extras modules.
Even though this is not exactly the topic of this thread, it is strongly related.
In this particular case, the base library should provide ways to create all the shapes in either solid, outlined or full version.
Then, a curriculum library could restrict the shapes available to just a few of those. For example, polygon and rectangle are
redundant for the base library, since polygon would be enough. However, rectangle makes sense in a curriculum library, as square would too.
Another example: styledLettering and all kinds of crazy colors are heavily used by high school students, who really want to customize
the look of their designs. Even though we only teach the basic pre-defined colors at the beginning, students skip ahead and figure out
how to work with RGB colors right away. However, middle school students may be more amenable to using just a few colors and the standard font.
So, a high school curriculum library may not need a rich set of predefined colors, while a middle school curriculum library may offer
just pre-defined colors and the color modifiers (light,dark,mixed,etc.)
On Tue, Nov 27, 2018 at 10:14:35PM -0800, Chris Smith wrote:

I don't know an easy way to do this, but @marcianx pointed out that if we're looking at reducing the number of colors in the name of avoiding cognitive load and memorization early in the class, it's actually the primitive pictures that play a bigger role in that.  We have:

circle
thickCIrcle
solidCircle
rectangle
thickRectangle
solidRectangle
lettering
styledLettering (I don't teach this one)
polygon
thickPolygon
solidPolygon
polyline
thickPolyline
closedCurve
thickClosedCurve
solidClosedCurve
curve
thickCurve
arc
thickArc
sector
blank
codeWorldLogo
coordinatePlane

They do follow a lot of common patterns (plain/thick/solid variants, and polygon/polyline/closedCurve/curve), but it's still a huge list of vocab!

Some primitives are redundant.  For instance, rectangles can be defined as polygons, and circles as arcs.
But those are cases where students need to practice with simple shapes before introducing the more general form.
We could avoid the combinatorial explosion by following the Elm GraphicsSVG route, where Stencil and Shape and Collage are different types.  But this just adds its own form of complexity.
We could just eliminate primitives that are rarely used.  I suppose the candidates would be styledLettering, arc and thickArc and sector, and all the curve functions, for a savings of 9 primitives.  But these were each added for a reason, either because students want them, or because they exercise math skills that are part of the goal!
As one stretch idea, we could eliminate the thick variants of shapes, and instead have all shapes drawn by a line of fixed thickness, which could then be scaled up or down to get a thicker line.  This makes some simple pictures much harder to draw, but it removes the most complex primitives -- and also helps to fix some thorny issues with #649 by just defining blank as the right picture when scaling by 0.

I strongly suspect the right answer here is to do nothing.  Perhaps we could postpone learning the polygon and arc families of functions until later in the curriculum sequence if the choices are really so overwhelming, but no need to take them away.
But I wanted to document the thought given to the question.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/google/codeworld/issues/783

"Make anything possible" is quite a high bar!  Off the top of my head, some of the things we can't do that are possible in other libraries include: dotted line variants of shapes, gradients, or fill patterns, or some of the tricks you can play with constructive area geometry (see #28).
Point taken, though.  I guess I just mean that there's a kind of bias involved in not wanting to lose any capabilities, when we have for years been coping with limitations in the name of simplicity.  The question is whether we've made the right choices.  I can't think of a much more compelling design trade-off yet, but I explicitly want to avoid missing chances because of a never-give-an-inch attitude toward the current feature set.

It seems to me that the trade-off between limitations and simplicity is not absolute, but it depends on variables such as the grade-level of the target population.
I guess what I wish for is a mechanism to be able to set the trade-off level within some range [maxSimplicity .. maxCapabilities]
On Wed, Nov 28, 2018 at 06:45:25AM -0800, Chris Smith wrote:

"Make anything possible" is quite a high bar!  Off the top of my head, some of the things we can't do that are possible in other libraries include: dotted line variants of shapes, gradients, or fill patterns, or some of the tricks you can play with constructive area geometry (see #28).
Point taken, though.  I guess I just mean that there's a kind of bias involved in not wanting to lose any capabilities, when we have for years been coping with limitations in the name of simplicity.  The question is whether we've made the right choices.  I can't think of a much more compelling design trade-off yet, but I explicitly want to avoid missing chances because of a never-give-an-inch attitude toward the current feature set.
--
You are receiving this because you commented.
Reply to this email directly or view it on GitHub:
https://github.com/google/codeworld/issues/783#issuecomment-442471467

I doubt there's a continuous version of this.  But new modes with different libraries is worth considering.  I think it's independent of this bug, and related to #138.
Feel free to flesh out a proposal there.  As I see it, the major challenges are:

Avoiding too much additional complexity in the UI.  It's important to avoid losing too much class time to students setting up the right configuration for their projects.
Coming up with a communication story.  It's already confusing that "CodeWorld" is a name for both the environment, and the simplified language variant.  We probably would end up devising new names for the different supported language configurations.
Abstracting over all the differences.  There are many places where haskell-mode and codeworld-mode differ: compiler flags, libraries, editor configuration, error message handling, debugger logic, etc.  We'd want some kind of module surface for a configuration to handle all of these.
Namespacing and ownership of configurations.  Should configurations be owned by the CodeWorld project, which implies a high barrier to entry for adding a new one?  Or should they be owned by non-privileged users, which implies some kind of name registry, or unique ids, or something, and more complex processes for teachers to share them with students?

In that post-configs world, one could see this bug as being just about whatever configuration currently captures the existing codeworld-mode API.

I still don't see an easy way to simplify the set of primitives that's better for most use cases.  I doubt one exists.  So I'll defer to #138 instead, and close this issue.


This module does not build

First saw the issue in xcaddy.
However, even if I try to just "get" the module I get this error:
go get github.com/caddy-dns/route53
go: downloading github.com/caddy-dns/route53 v1.1.0
go: github.com/caddy-dns/route53 upgrade => v1.1.0
go: downloading github.com/libdns/route53 v1.0.1
# github.com/caddy-dns/route53
../../../../../../pkg/mod/github.com/caddy-dns/route53@v1.1.0/route53.go:32:12: p.Provider.AWSProfile undefined (type *"github.com/libdns/route53".Provider has no field or method AWSProfile)
../../../../../../pkg/mod/github.com/caddy-dns/route53@v1.1.0/route53.go:60:16: p.Provider.AWSProfile undefined (type *"github.com/libdns/route53".Provider has no field or method AWSProfile)

I think someone forgot to checkin the go.mod file.
It is referencing github.com/libdns/route53 v1.0.1
(Which does not not have AWSProfile as a member of the struct.)
But clearly the new code wants to use it and it is available in version 1.1 of the module.

I think someone forgot to checkin the go.mod file.
It is referencing github.com/libdns/route53 v1.0.1
(Which does not not have AWSProfile as a member of the struct.)
But clearly the new code wants to use it and it is available in version 1.1 of the module.

Here is a PR with the fix: https://github.com/caddy-dns/route53/pull/11

Here is a PR with the fix: https://github.com/caddy-dns/route53/pull/11


expose commands.ResolveFilesToWriter() method

this exposes commands.ResolveFilesToWriter() to allow downstream consumers to more easily leverage ko resolve like functionality through available apis instead of reimplementing it.

Ref https://github.com/chainguard-dev/terraform-provider-ko/pull/18


Packer experienced an authentication error when trying to connect via SSH

When I do packer buildwith packer 1.6, I'm getting the error below. Is there some additional configuration I need to tweak?
==> ubuntu-2004: Error waiting for SSH: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain
==> ubuntu-2004: Cleaning up floppy disk...
==> ubuntu-2004: Deregistering and deleting VM...
==> ubuntu-2004: Deleting output directory...
Build 'ubuntu-2004' errored: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

==> Some builds didn't complete successfully and had errors:
--> ubuntu-2004: Packer experienced an authentication error when trying to connect via SSH. This can happen if your username/password are wrong. You may want to double-check your credentials as part of your debugging process. original error: ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain

Note that I had to run packer fix because i was getting the error.
Error: Failed to prepare build: "ubuntu-2004"

1 error occurred:
	* Deprecated configuration key: 'iso_checksum_type'. Please call `packer fix`
against your template to update your template to be compatible with the current
version of Packer. Visit https://www.packer.io/docs/commands/fix/ for more
detail.

same

If you are finding that your packer is telling you to fix this json file you create or that while building the packer image you're getting ssh timeouts around 4 to 6 minutes in.. this json based of the original one works.
{   "builders": [     {       "boot_command": [         "<enter><enter><f6><esc><wait> ",         "autoinstall ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/",         "<enter>"       ],       "boot_wait": "5s",       "guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",       "guest_os_type": "ubuntu-64",       "headless": false,       "http_directory": "http",       "iso_checksum": "sha256:443511f6bf12402c12503733059269a2e10dec602916c0a75263e5d990f6bb93",       "iso_url": "https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-live-server-amd64.iso",       "memory": 2048,       "name": "ubuntu-2004-root",       "shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",       "ssh_timeout": "1h1m1s",       "ssh_read_write_timeout": "1h1m1s",       "ssh_handshake_attempts": "200",       "ssh_password": "vagrant",       "ssh_username": "vagrant",       "type": "virtualbox-iso",       "vboxmanage": [         [           "modifyvm",           "{{.Name}}",           "--memory",           "2048"         ],         [           "modifyvm",           "{{.Name}}",           "--cpus",           "2"         ]       ],       "virtualbox_version_file": ".vbox_version",       "vm_name": "packer-ubuntu-20.04-amd64"     }   ],   "post-processors": [     {       "compression_level": "8",       "output": "output/ubuntu-20.04.box",       "type": "vagrant"     }   ],   "provisioners": [     {       "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",       "script": "scripts/init.sh",       "type": "shell"     },     {       "execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",       "script": "scripts/cleanup.sh",       "type": "shell"     }   ] }

{
"builders": [
{
"boot_command": [
" ",
"autoinstall ds=nocloud-net;s=http://{{ .HTTPIP }}:{{ .HTTPPort }}/",
""
],
"boot_wait": "5s",
"guest_additions_path": "VBoxGuestAdditions_{{.Version}}.iso",
"guest_os_type": "ubuntu-64",
"headless": false,
"http_directory": "http",
"iso_checksum": "sha256:443511f6bf12402c12503733059269a2e10dec602916c0a75263e5d990f6bb93",
"iso_url": "https://releases.ubuntu.com/20.04.1/ubuntu-20.04.1-live-server-amd64.iso",
"memory": 2048,
"name": "ubuntu-2004-root",
"shutdown_command": "echo 'vagrant'|sudo -S shutdown -P now",
"ssh_timeout": "1h1m1s",
"ssh_read_write_timeout": "1h1m1s",
"ssh_handshake_attempts": "200",
"ssh_password": "vagrant",
"ssh_username": "vagrant",
"type": "virtualbox-iso",
"vboxmanage": [
[
"modifyvm",
"{{.Name}}",
"--memory",
"2048"
],
[
"modifyvm",
"{{.Name}}",
"--cpus",
"2"
]
],
"virtualbox_version_file": ".vbox_version",
"vm_name": "packer-ubuntu-20.04-amd64"
}
],
"post-processors": [
{
"compression_level": "8",
"output": "output/ubuntu-20.04.box",
"type": "vagrant"
}
],
"provisioners": [
{
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"script": "scripts/init.sh",
"type": "shell"
},
{
"execute_command": "echo 'vagrant' | {{.Vars}} sudo -S -E bash '{{.Path}}'",
"script": "scripts/cleanup.sh",
"type": "shell"
}
]
}


jaktest: Simplify, speed up and enable imports

This depends on #771 to be merged first.
Combine the compile and run steps into one by using the new -r "build and run" compiler flag introduced with #711.
Instead of writing the given jakt source file to output.jakt use it directly, which also enables the testing of applications that use imports.
Don't try to remove files that are no longer generated in run-all.

I think you mean #771. #711 won’t help you much here ;)

I think you mean #771. #711 won’t help you much here ;)

Thanks, I had #771 just one line above, and typoed it on the second :D


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_3373kcgxsw/clone/recipe/meta.yaml:15: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_3373kcgxsw/clone/recipe/meta.yaml:20: host_section_needs_exact_pinnings: Packages in host must have exact version pinnings, except python build tools.
ERROR: /tmp/abs_3373kcgxsw/clone/recipe/meta.yaml:22: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_3373kcgxsw/clone/recipe/meta.yaml:32: missing_imports_or_run_test_py: Python packages require imports or a python test file in tests.
Errors were found


Added Timestamps for Interactive data visualizations with makie

Timestamps for Interactive data visualizations with Makie.jl
Issue #188
Included is a suggested description for the video which may be a bit more informative for viewers watching after the live event.
Will add the timestamps without zero padding to the issue, I don't know which style you prefer but, I imagine it's not on the top of your priority list either way.

Added via the open issue you made. Thanks!

Fixed!


[WIP]: l10 upgrades to packages

This MR is to upgrade version of all packages with the latest laravel 10 support version.

@swapnilsarwe were you still working on this?

@swapnilsarwe were you still working on this?

Oops lost track of this PR.
Will check what is the respective packages status & update

@swapnilsarwe were you still working on this?

Oops lost track of this PR.
Will check what is the status of the  respective packages & update

just one package left
https://github.com/nerdroid23/blade-icomoon/pull/4
PR already exists, i hope @nerdroid23 gets time to merge it soon.

@driesvints - the last package has merged the PR with laravel 10 upgrade changes. but unfortunately maintainer missed out on tagging it. Hence we wont be able to upgrade to the latest version yet.
Have been following up, with the maintainer @nerdroid23 - i hope he does it sooner.

@driesvints - we got all blade-icon packages updated with the laravel 10 support
feel free to review and merge this PR as per your convenience.

Thank you @swapnilsarwe!


Optimizing the control flow from Experiment to Results

In the current implementation, there are three intermediate layers of steps that are nearly always executed upon invocation of a particular analysis method of Experiment class:

first, a method of Experiment class (such as Experiment.delta() for example) is called,
then an analysis specific _function_ (a local one to experiment.py, such as _delta_all_variants()) is called from that method, and lastly,
this function calls a *_to_dataframe_* function, which is again analysis-specific.

Thus, the details of analysis flow are spread over three independent levels of abstraction, making each of them not quite flexible and partially causing functionality and code duplication.

below the split of the control flow
the main entry points are those from Level 3, being methods of Experiment class()
Level 1 dataframe generators:
 - results.delta_to_dataframe()
 - results.delta_to_dataframe_all_variants()
 - results.feature_check_to_dataframe()
 - results.early_stopping_to_dataframe()

Level 1 statistics workers:
 - statistics.delta()
 - early_stopping.group_sequential()
 - early_stopping.bayes_factor()
 - early_stopping.bayes_precision()
 - statistics.chi_square()

Level 2 workers:
 - experiment._binned_deltas()              calls      statistics.delta()
                                            and        results.delta_to_dataframe_all_variants()

 - experiment._delta_all_variants()         calls      statistics.delta()
                                            and        results.delta_to_dataframe_all_variants()

 - experiment._feature_check_all_variants() calls      statistics.delta()
                                            and        statistics.chi_square()
                                            and        results.feature_check_to_dataframe()

Level 2.5 workers:
 - experiment.subgroups_deltas()            calls      experiment._binned_deltas()

 - experiment.time_dependent_deltas         calls      experiment._binned_deltas()

Level 3 workers / Experiment class methods:
 - Experiment.fixed_horizon_delta()         calls      experiment._delta_all_variants()

 - Experiment.group_sequential_delta()      calls      early_stopping.group_sequential()
                                            and        results.early_stopping_to_dataframe()

 - Experiment.bayes_factor_delta()          calls      early_stopping.bayes_factor()
                                            and        results.early_stopping_to_dataframe()

 - Experiment.bayes_precision()             calls      early_stopping.bayes_precision()
                                            and        results.early_stopping_to_dataframe()

 - Experiment.feature_check()               calls      experiment._feature_check_all_variants()

 - Experiment.sga()                         calls      experiment.subgroups_deltas()

 - Experiment.trend()                       calls      experiment.time_dependent_deltas()

closed by https://github.com/zalando/expan/pull/134


License

Hi @kamperh, I'd like to release some code based on functions in https://github.com/kamperh/speech_dtw/tree/master/utils. Could you add a license to this repository?

Done!

Thank you :)


957 is quantized as 896

I was working on testing MXFP8_E4M3, and I find that 957 is being quantized as 896 through follow api call:
    d = torch.from_numpy(np.array([[ 957.0000,  957.0000,  902.4000,  960.0000,  832.0000,  291.7882,
         -124.8256,  783.5460,  927.3255, -233.1170,  583.4501,   57.7898,
          136.0891,  851.1933, -857.9279, -825.7414, -959.5632,  665.2397,
          556.3135,  740.0243,  957.2367,  598.3171,  -77.0413,  561.0583,
         -763.4512,  279.8420, -713.2934,  889.3378,   43.6966, -170.6761,
         -470.8888,  548.4674]]))
    y1 = _quantize_mx(x1, 8, 'fp8_e4m3',
                      block_size=32,
                      axes=[-1],
                      round='even',
                      flush_fp32_subnorms=False,
                      custom_cuda=False)

957 in fp32 format has an exponent of 9,  a mantissa of 0.869140625 and a hidden bit 1, 2**9 * (1 + 0.869140625) = 957.
So, in order to convert it to MXFP8_E4M3, which have format of v = X  *  (-1)**S  *  2**(E-bias)  *  (  1 + 2**(-m)*M   ), we have
    X = 2**9
    S = 0
    E = 7
    bias = 7
    M = 6+0.953125
    m = 3

where
X: power-of-two shared scale
S: sign bit
E: exponent representation
bias: fp8 bias
m: mantissa bitwidth of fp
M: mantissa representation
We can also get the fp32 number through
2**9  *  (-1)**0  *  2**(7-7)  *  (  1 + 2**(-3)*(6+0.953125)   ) = 957
M part, which is 6+0.953125, will be rounded (half to even) due to the MXFP8_E4M3 quantization. Thus we should have
2**9  *  (-1)**0  *  2**(7-7)  *  (  1 + 2**(-3)*(7)   ) = 960
But the _quantize_mx gives the result of
2**9  *  (-1)**0  *  2**(7-7)  *  (  1 + 2**(-3)*(6)   ) = 896
I also tested the number of
2**9  *  (-1)**0  *  2**(7-7)  *  (  1 + 2**(-3)*(6+0.1)   ) = 902.4
where the M's fractional part will be trauncated.
And this time, the _quantize_mx gives the expected result
2**9  *  (-1)**0  *  2**(7-7)  *  (  1 + 2**(-3)*(6)   ) = 896
It seems that the M part of MXFP8_E4M3 cannot be b111. I understand that FP8_E4M3's M cannot be b111 when the exponent are b1111 to keep only one binary representation for the NaN. But, apperently, the number 957 is not the case, the E part are 7 (b0111) not b1111.
Is ther any details I missed for MXFP8_E4M3 format, please help me out of it. THANKS.

I think I got the missed details, which is the element data should make full use of the element data type. So the largest number in the block is 957 and the shred scale X = 29 / 28 (28 is the largest power-of-two of FP8_E4M3) rather than 29. In that case, E will be 15. Since FP8_E4M3 uses S.1111.111 to represent NaN, the max mantissa part is 110. then all fractional part of M will be cliped/truncated not rounded, resulting in the 896 result.
Close this issue.


When using a 2D Control node like for example a ColorRect on Desktop it will be rendered after the 3D scene into the view. On Oculus Quest it is not visible.
I looked into a Renderdoc trace and it appears that the colorrect is rendered twice as expected but not into the external texture like the 3D draw calls but into a new/separate texture that will not get displayed:
Normal 3D draw calls

2D Draws:

EID 177 and 332 are the ColorRect draws.

Same problem here with the Nvidia FXAA shader port:
https://gist.github.com/vansoest/e81d57e26447de432b2920f20ebb637d

I have same problem, please fix.

same problem, can't render 2D stuff on main viewport


bug: check with "within" keyword are not well handled by a specific guard

In HttpSteps.java, this method can't work as expected with the "within" keyword:

Indeed, using the debugger, we can see that the "_response" attribute is filled only once, while the checks in we_receive_a_status_and are indeed called every second, as expected regarding to the "within" keyword.
As a result, every second, a check is done with the exact same "_response" value.
This is called once:

This is called every second (and so doing strictly the same test):

Doing a fix


Discussion: How user gets access to the created related resources

User can compose a set of creatables. We allow user to provide them explicitly e.g. VM::withNewStorageAccount(Creatable<StorageAccount> creatable) or specify creatable implicltiy e.g. VM::withNewStorageAccount(string name).
When user call Create we return only the top-level resource. e.g. VM.Create(..) return VirtualMachine. Sometimes user might want to access the other created resources that composes VM, as of now there is no way user can get them. This is useful if user want to create another resource and want to use the previously created resource via withExisting***** wither.
If we want to address this, one thought is to let Resource interface expose two methods
Resource createdRelatedResource(string key)
List<Resource> createdRelatedResources()
This can be implemented in CreatableImpl so all resources get it free.
With this user can do:

Creatable<StorageAccount> storageCreatable = storageAccounts().define()....

Creatable<VirtualMachine> vmCreatable = virtualMachines()
  .define()
  ...
  .withNewStorageAccount(storageCreatable);

VirtualMachine vm = vmCreatable.Create();

// Gets the created storage account
StorageAccount createdStorageAccount = vm.createdRelatedReosurce(storageCreatable.key())

// update the storage account
createdStorageAccount.update()
   ..
   .apply();

createdStorageAccount.regenerateKeys();

Or another interface 'SupportGettingRelatedCreatedResource' that exposes above two methods.

Discussed this in the weekly sync up.
We will prototype this by adding an overload for create() that takes a list List<Reosurce> from the user and create will populate it with all created resources when it returns.
We don't want individual resource interfaces (e.g. StorageAccount) to expose createdRelatedResource or createdRelatedResources.

shipped support for this scenario a while back so closing


chore(package): update npm-pkgbuild to version 5.3.2

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


UI Need to be improved

Feature idea.
Hi there! I'm a UI UX Designer. So I can help you to make UI design for some pages
Please assign me this issue. I'll work on it

Assign me this issue under GSSoC'23 label

Feature idea.
Hi there! I'm a UI UX Designer. So I can help you to make UI design for some pages
Please assign me this issue. I'll work on it

Please explain what changes you propose


Safe unique ptr

This PR is made in preparation of migrating DuckDB to use it's own unique_ptr implementation
Removing the use of std::make_unique and changing it to duckdb::make_uniq
make_unique -> make_uniq is done to avoid clashing with the std namespace and having to explicitly qualify every call.

Thanks for the work on this!
Perhaps we should wait until feature is merged into master before we make the transition - I really don't want to maintain two separate branches with this difference :)


Dioxus

For Frontend (WebAssembly) framework maybe add Dioxus. Dioxus is a React-like library for building fast, portable, and beautiful user interfaces with Rust. Runs on the web, desktop, mobile, and more.

After adding this Issue i did see it's already posted by jkelleyrtp on https://github.com/rust-lang/arewewebyet/issues/351


Plugin fails to work with latest defaults from AWS

This pull request adds support for no state parameter received from AWS.
Before the change, the plugin failed to provide an access token.
After the change, the access token is provided from the plugin as expected.
Details:
The "state" parameter is not sent as part of the request received from the Cognito Hosted UI to the AWS_COGNITO_REDIRECT_URL with the current AWS defaults.
Also, I could find no setting that enabled the "state" query parameter.
It looks unnecessary.

This doesn't seem to be the solution because if the state is not present in the response from Cognito it will raise the error since the conditions are met.
Did you mean "if state and expected_state != expected_state:" therein invalidating the need for state? Still odd AWS is not returning it.

Yes, that is what I mean, and the code in your comment is identical to the code in the pull request, ref. https://github.com/cgauge/Flask-AWSCognito/pull/6/commits/74e988446a7c2e2424b493ea8631dca3e571d51a line 82
I could find no information from AWS on why the state query parameter is not included. As it works regardless, my expectation is that AWS removed it at some point while keeping the behavior for old user pools.

I think this change will make the tool less secure. If you're trying to test your endpoint by launching the hosted UI, just generate the state key from the command line, and add it to the redirect_url parameter the hosted UI is using..


Form design for insert data multiple languages.

Hi dimsav,
I have followed all the instructions.
but I don't clear how to design form (CRUD) with dynamic input depend on number of languages.
may you help me for example please?
thanks!

It's up to you how to implement CRUD. I don't have an example to give you but I know this project is using laravel translatable.
It would be great if somebody using the package with forms could open a pr to update the docs.


Running wdi5 on local webserver (not ui5 serve)

Describe the bug
When running the wdi5 command against a local webserver that is not from ui5 serve the ui5 app is not loading at all.
To Reproduce
Run the ui5 app using a local webserver like express and try to execute your test.
Expected behavior
The apps load fine in any browser, any version but as seen in the network tab the webdriver "gives up too early" and the site just isnt loading fully.
Logs/Console Output
[0-0] [wdi5] call of _getControl() failed because of: Error: No DOM element found using the control selector {"controlType":"sap.m.Page","id":"pHome","viewName":"[VIEWNAME]"}
[0-0] [wdi5] error retrieving control: pHomemyAppsMontagePrio.view.Homesap.m.Page
[0-0] TypeError in "Page status.check pagetitle"
Waterfall on ui5 serve

Waterfall on any other webserver

Runtime Env (please complete the following information):
devDependencies:
"@openui5/ts-types-esm": "latest",
"@sap-ux/ui5-middleware-fe-mockserver": "^2.1.74",
"@sapui5/ts-types-esm": "latest",
"@types/mocha": "^10.0.1",
"@ui5/cli": "^3.0.0",
"@wdio/cli": "^7.30.1",
"@wdio/local-runner": "^7.30.1",
"@wdio/mocha-framework": "^7.26.0",
"@wdio/spec-reporter": "^7.29.1",
"chromedriver": "latest",
"marky": "^1.2.5",
"ts-node": "^10.9.1",
"typescript": "^5.0.3",
"wdio-chromedriver-service": "^7.3.2",
"wdio-ui5-service": "latest"
Additional context
When running the test with the same app on ui5 serve everything executes fine.
Is there a way i can use any local webserver?

we're explicitly testing wdi5 with a regular webserver other than ui5 serve: https://github.com/ui5-community/wdi5/blob/f45a5b67415caab902de3883fedc132908c9b7bc/examples/ui5-js-app/package.json#L16
my guess is that you're bootstrapping your app via the local npm modules src="resources/sap-ui-core.js", so only the ui5 tooling can resolve that depency.
when you change the bootstrap to the CDN (src="https://ui5.sap.com/resources/sap-ui-core.js"), any webserver will be able to deliver your app.

thank you for the quick response.
sadly none of it was the problem. the basic_auth isnt working but that has to be an error of the server becasue i set the env variables and the wdi5:authentication. sorry for the expense
kind regards

right on. happy easter! 🐰


Ensure ucd metadata is set correctly on all RA, Dec columns

Make sure the ucd metadata for RA, Dec columns is set to the Data Lab cross-match-compatible value.

By inspection, pos.eq.ra and pos.eq.dec are set on the appropriate columns.


File Type Icon

Is the ImageGlass theme support changing the file type icon?

It does not as of now.
But you can download other extension icon pack and replace them.

OK, I close this issue.


Remove test-network-k8s

Remove test-network-k8s in favor of fabric-operator and asset-transfer workshop.

Hello @denyeart  @jkneubuh
I would like to discuss this topic.
I would appreciate if test-network-k8s could remain in fabric-samples.
We believe that test-network-k8s is important and useful for Fabric users as well as fabric-operator based examples, because test-network-k8s is the simplest example of Fabric on K8s that does not use any special CRDs or operators.
Could you tell us why you are considering removing it and when you plan to do so?

Ok, if there are fans of test-network-k8s let's keep it around.

@jkneubuh @satota2 The test-network-k8s update to Fabric v2.5 is failing CI - https://github.com/hyperledger/fabric-samples/pull/1033
Are either of you interested in troubleshooting, fixing, and maintaining it going forward? Otherwise we'll plan to remove it and focus maintenance effort on fabric-operator and full-stack-asset-transfer.

@denyeart I am interested in troubleshooting, fixing, and maintaining it going forward.
At this time, we believe that test-network-k8s is also a good example for for Fabric users to run Fabric on K8s.
Although eventually fabric-operator or another example may make this unnecessary.
I just checked the cause of this CI failure and it seems that k8s builder executable cannot be executed for some reason.
(I suspect the cause is that the peer pods try to run a Go binary created in Alpine on Ubuntu.)
Since Japan is on vacation this week, I will make and submit patches to fabric-samples and hyperledger-labs/fabric-builder-k8s to resolve this issue in the next week or so.

Thanks @satota2 !

@denyeart I submitted a patch to resolve the distribution miss match between k8s builder image and Fabric peer image to fabric-builder-k8s repo.
https://github.com/hyperledger-labs/fabric-builder-k8s/pull/92
I ran test-network-k8s in my local environment with a Docker image based on the above patch and confirmed that it runs successfully. So, the above patch is merged and the image based on it is published, test-network-k8s will be ready for Fabric v2.5 support. If the merge of this patch takes a long period of time or is unacceptable, I will try to fix how to get k8s-builder binaries on the test-network-k8s side.

@jkneubuh @jt-nti Do you intend to continue maintaining fabric-builder-k8s?

@denyeart Hi, yes, still planning to keep fabric-builder-k8s maintained. I was already planning to update it to Fabric 2.5 - hyperledger-labs/fabric-builder-k8s#90 - which it looks like @satota2 has submitted a PR for 🥇

I've released fabric-builder-k8s v0.11.0 which should hopefully help- let me know if there are any problems.

@jt-nti Thank you for merging my PR and releasing fabric-builder-k8s v0.11.0!
@denyeart I created and submitted a PR (#1039) to use the latest k8s builder and Fabric v2.5 by enhancing #1033.
The CI including test-network-k8s now seems to pass.
Please confirm #1039.

Thanks @satota2 , I'll close this issue, test-network-k8s lives on!

@denyeart Thanks! Please let me know if there is anything I can do to help maintain test-network-k8s😊


Added space before creds=github

To avoid results like this: https://github.com/secondlife/llphysicsextensions_source/releases/tag/v1.0.c178d39
Turned out there was a space before, so I just brought it back.

Hey, @marchcat thanks. For some reason I didn't see this PR review request. If that happens please DM me so I can review :) In the meantime, I patched this up as part of https://github.com/secondlife/action-autobuild-release/pull/44

Thank you!


The detection of BAT to PE-EXE script-compilers.

This pull request adds the detection of the following BAT to PE-EXE compilers:

F2KO BAT2EXE
Advanced BAT to EXE Converter
ExeScript (discontinued... website not available anymore)

These programs are not strictly compilers, they are quite difficult to categorise. They never compile the BAT to a VM or intermediate language, but rather the store the script file in the executable file (resources, read-only data, overlay, etc.) and execute them (by either dropping them to a file or seldomly directly from memory).
If required, I could change their categorization from Compiler to Packer, despite the fact they rarely use compression on the batch files.
The corresponding tests have been added to retdec-regression-tests.

Let's run TeamCity tests.


Update Sheriff Map

Overview:
Previous code was in place that skipped South Dakota.  Also fixed an issue where you could click a county that did not have data and get taken to an invalid URL.
Reviewer:

Where should the reviewer start? How to Test? Background Context? etc ( required )

We had an incorrect FIPS code in our CSV file that was breaking the entire map, so MapBox worked around it by ignoring the state all-together. The CSV is updated, and code changes should prevent future issues where this kind of error can occur.
Checklist:

I have tested each of the following, and they work as expected: ( required )

[x] Meets Contributing Guide Requirements
[x] Pulled in the Latest Code from the develop branch
[x] Works on a Desktop / Laptop Device
[x] Works on a Mobile Device
[x] npm test Does Not Generate Errors

Documentation:

Screenshots, Attachments, Linked GitHub Issues, etc ( optional )

Fixes #3

What GIF best describes this PR or how it makes you feel?

Drag & Drop Something Fun Here ( optional )

@MasterInTraining23 updated PR with requested changes.  See commit message for specifics on this last commit.

@MasterInTraining23 pulled in your change, but need to update the rest of the code to match the new PR, so will kick this back over to you once that is ready.

@MasterInTraining23 kicking this back over to you, got that variable name changed throughout the rest of the code

@MasterInTraining23 going to go ahead and merge this one since it has everything you asked for and I need it merged :)


Add support for configuring python install dir with UV_PYTHON_INSTALL_DIR on uv.toml

Please add this persistence configuration item instead of setting it in the environment variable

I think it's in their roadmap, it was mentioned in https://github.com/astral-sh/uv/issues/6067#issuecomment-2291319522

any updates？

any updates？


Resume sweep and edit batch size

My job was interrupted while running the sweep command. I would like to resume the sweep without overwriting all files already completed. Is this possible?
Also, how can we increase the batch size manually? I tried changing the plans.pkl file but it just gets overwritten to 4 when training is resumed.

Dear @NataliaAlves13 ,
there is a nndet_sweep command which will run the sweep - it is also possible to skip the inference step if all cases were already predicted successfully.
You can only overwrite the batch size for new trainings, modifying parameters while training is not supported.
Best,
Michael

Thank you for the reply Michael. The nndet_sweep command was interrupted after 1 day but not all cases were predicted yet. Is it possible to resume the inference only for cases that haven't been predicted? In any case, how can the inference step be skipped if all cases are predicted successfully?
I do want to overwrite the batch size for a new training, how can I do that?

Hi,

It is currently not implemented to only predict cases which are missing in the sweep step.
Sorry, just noticed that we haven't introduced the flag in the github version yet .. You can simply modify this line: https://github.com/MIC-DKFZ/nnDetection/blob/b0504dc6daa057d1a49d2e58203431117f1ff739/scripts/train.py#L377
The most robust way is to change the plan file.


Modifier -> SwiftUI Updated -> Lists: selectionDisabled(_:) [BETA]

Doc: https://developer.apple.com/documentation/SwiftUI/View/selectionDisabled(_:)

Done, according to @carson-katri


[GoSDK] Make data channel splits idempotent

In particular, if the split request includes the currently decided split index, return that instead of an error.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @robertwb @youngoli


Cannot install pgroonga for Zulip 1.9.1 on Ubuntu 18.04

It seems that pgroonga/migrations/0002_html_escape_subject.py uses syntax that's incompatible with PostgreSQL 10:
# sudo -u zulip /home/zulip/deployments/current/manage.py migrate pgroonga
Operations to perform:
  Apply all migrations: pgroonga
Running migrations:
  Applying pgroonga.0001_enable... OK
  Applying pgroonga.0002_html_escape_subject...
    Range of rows to update: [1, 74065]
    Updating range [1,10001)
Traceback (most recent call last):
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zerver/lib/db.py", line 33, in execute
    return wrapper_execute(self, super().execute, query, vars)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zerver/lib/db.py", line 20, in wrapper_execute
    return action(sql, params)
psycopg2.NotSupportedError: source for a multiple-column UPDATE item must be a sub-SELECT or ROW() expression
LINE 3:         SET (search_pgroonga) = (escape_html(subject) || ' '...
                                         ^

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/zulip/deployments/current/manage.py", line 50, in <module>
    execute_from_command_line(sys.argv)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
    utility.execute()
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/__init__.py", line 356, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/core/management/commands/migrate.py", line 204, in handle
    fake_initial=fake_initial,
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 115, in migrate
    state = self._migrate_all_forwards(state, plan, full_plan, fake=fake, fake_initial=fake_initial)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 145, in _migrate_all_forwards
    state = self.apply_migration(state, migration, fake=fake, fake_initial=fake_initial)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/executor.py", line 244, in apply_migration
    state = migration.apply(state, schema_editor)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/migration.py", line 129, in apply
    operation.database_forwards(self.app_label, schema_editor, old_state, project_state)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/migrations/operations/special.py", line 193, in database_forwards
    self.code(from_state.apps, schema_editor)
  File "/home/zulip/deployments/2018-12-13-17-22-20/pgroonga/migrations/0002_html_escape_subject.py", line 12, in rebuild_pgroonga_index
    escape=False, batch_size=10000)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zerver/lib/migrate.py", line 61, in do_batch_update
    cursor.execute(stmt % tuple(params))
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 64, in execute
    return self.cursor.execute(sql, params)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/utils.py", line 94, in __exit__
    six.reraise(dj_exc_type, dj_exc_value, traceback)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/utils/six.py", line 685, in reraise
    raise value.with_traceback(tb)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zulip-py3-venv/lib/python3.6/site-packages/django/db/backends/utils.py", line 62, in execute
    return self.cursor.execute(sql)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zerver/lib/db.py", line 33, in execute
    return wrapper_execute(self, super().execute, query, vars)
  File "/home/zulip/deployments/2018-12-13-17-22-20/zerver/lib/db.py", line 20, in wrapper_execute
    return action(sql, params)
django.db.utils.NotSupportedError: source for a multiple-column UPDATE item must be a sub-SELECT or ROW() expression
LINE 3:         SET (search_pgroonga) = (escape_html(subject) || ' '...
                                         ^

@ilyaevseev I assume you enabled USING_PGROONGA in /etc/zulip/settings.py?
Also, it looks like you're upgrading an existing installation, based on the fact that there's 74K message rows in your database; can you talk more about what exactly you're doing?

I suspect this change is sufficient to fix the issue.
(zulip-py3-venv) tabbott@zaset:~/zulip$ git diff
diff --git a/zerver/lib/migrate.py b/zerver/lib/migrate.py
index d812abb..ca66e60 100644
--- a/zerver/lib/migrate.py
+++ b/zerver/lib/migrate.py
@@ -40,7 +40,7 @@ def do_batch_update(cursor: CursorObj,
                     escape: bool=True) -> None:  # nocoverage
     stmt = '''
         UPDATE %s
-        SET (%s) = (%s)
+        SET (%s) = ROW(%s)
         WHERE id >= %%s AND id < %%s
     ''' % (table, ', '.join(cols), ', '.join(['%s'] * len(cols)))

Great!
Your fix of zerver/lib/migrate.py solved this problem!

Ok, I'll merge a fix.  Thanks for the report!


Wire up showcase page with extended dpjson

As the frontend i want to do something simple:

I want the list of "logical" resources in their original order (because there is often a logic to that order - e.g. most important file first)

I want to preview it
I want to download it ...

primary formats
secondary formats

primary format = original format (??) primary format could be XLS/GoogleSpreadsheet/json-nd/API...

Acceptance criteria

[x] list of resources and previews in the original form/order
[x] if I want I can download alternate versions
[x] I have all extra data on the page (e.g. bytes)

[x] refactor prettifier functions

[x] we pass normalized dp to dpr-js as a plain object

FIXED - now we're converting extended dp into normalized one so it has the same length of resources as original one but has alternates key with different versions of it. Also we're now passing plain object dp descriptor to dpr-js.


Move compression code file from dwio to velox/common/compression

Can you help review this PR? @xiaoxmeng @mbasmanova

@jinchengchenghh LGTM. Not sure if you could help remove the dependency on dwio in LzoDecompressor.h/cpp in followup. Please let me know. Thanks!

My pleasure, change the MalformedInputException to VELOX_CHECK or move the super class ParseError to velox/common/Exception.h? I think the first is better.


Clamp "Last 12 months" to time when archive was downloaded

See:
https://github.com/cooljeanius/tweetback/blob/07fb4605eb5c8db2408441c8a4b83bceb603c50b/index.11ty.js#L222
The call to Date.now() should be replaced with when the archive was downloaded, so that it doesn't change whenever I regenerate. This will require figuring out how to format the date properly.

Actually maybe I should transfer this to the upstream repo instead...


unclosed socket

i got this error when i start using multi_ping inside threading.Timer

in linux the same.
I think this can help:
class MultiPing(object):
def del(self):
   self._sock.close()
   self._sock6.close()

Your patch is buggy, be advised.  You forgot the "self".

I merged and commit a fix.


Update ThorScripts

Max File Size is managed in ./config/thor.yml instead of passed through the command line.
https://thor-manual.nextron-systems.com/en/latest/usage/configuration.html#maximum-file-size
Revisit the others, and add better messaging.

Add these switches to all commands
--utc
Print timestamps in UTC instead of local time zone

--rfc3339
Print timestamps in RFC3339 (YYYY-MM-DD'T'HH:mm:ss'Z') format


Reg : Avoid upcasting ASN1ObjectIdentifier to DERObjectIdentifier

Hii,
I was trying to use the latest jar for running an SCEP server. But i ended up in the bug mentioned as "Avoid upcasting ASN1ObjectIdentifier to DERObjectIdentifier".
I understand this is due to changes in the Bouncy Castle package, and while going through the source i also see that this has been already fixed. By cloning the latest source and building it doesnt give me the error.
I would like to have the latest jar from your side officially. Help would be highly appreciated.
Thank you Team.

Which version are you using at the moment?  All changes to master have been
released to Maven Central.
On 8 Feb 2015 13:04, "harishankar-gopalan"<EMAIL_ADDRESS>wrote:

Hii,
I was trying to use the latest jar for running an SCEP server. But i ended
up in the bug mentioned as "Avoid upcasting ASN1ObjectIdentifier to
DERObjectIdentifier".
I understand this is due to changes in the Bouncy Castle package, and
while going through the source i also see that this has been already fixed.
By cloning the latest source and building it doesnt give me the error.
I would like to have the latest jar from your side officially. Help would
be highly appreciated.
Thank you Team.
—
Reply to this email directly or view it on GitHub
https://github.com/jscep/jscep/issues/33.

I used the one shown under https://code.google.com/p/jscep/downloads/detail?name=jscep-2.0.2.jar&can=2&q= . Is there a separate maven release too ? Is so can you provide me the link. Thanks for the great help.

I guess the jscep-2.2.0 is the latest release. Found it on maven. Thank You Mr. Dave.

You're welcome.
On 9 February 2015 at 01:52, harishankar-gopalan<EMAIL_ADDRESS>wrote:

I guess the jscep-2.2.0 is the latest release. Found it on maven. Thank
You Mr. Dave.
—
Reply to this email directly or view it on GitHub
https://github.com/jscep/jscep/issues/33#issuecomment-73446938.


broken since ilias update

Any plans to update this for the new version of ilias? Since then I cannot run the script anymore.
Traceback (most recent call last):
  File "iliasscript.py", line 5, in <module>
    m.login('ilias_name', 'ilias_password')
  File "/home/aleyc0re/.local/lib/python3.8/site-packages/IliasDownloaderUniMA/IliasDL.py", line 121, in login
    raise ConnectionError("Couldn't log into ILIAS. Make sure your provided uni-id and the password are correct.")
requests.exceptions.ConnectionError: Couldn't log into ILIAS. Make sure your provided uni-id and the password are correct

Unfortunately, I no longer have access to Ilias since I finished my studies, so I can't really work on an update.
However, as far as I can tell, only the Ilias dashboard has changed, not the login page itself, so the login should still work. If we are lucky, we will only have to adjust this check whether the login was successful:
https://github.com/jhelgert/IliasDownloaderUniMA/blob/5c4d23940df7b9906e2d2e22612bc83cebec7d6f/IliasDownloaderUniMA/IliasDL.py#L120
Otherwise, we should check how the HTML structure has changed. Here I would assume that only a few CSS classes have been renamed.
Anyway, a PR is more than welcome!

If you want I can help you fix this by giving you access to test :) This would be a REALLY helpful tool to automate and keep files up to date in order to study better!

@sephdoto Sure, feel free to drop me an email at<EMAIL_ADDRESS>


As a coordinator I can get report with all the cities in a continent organised by largest population to smallest so that I can prepare factsheets for the operation team

Report is generated

@amit169, Can you update the screenshot (the one attached is for issue 16 - Requirement 1)?


TVar meets intersection

See:
https://github.com/UCSD-PL/RefScript/blob/master/tests/todo/tvar-intersection.ts

Addressed by #96


Cleaning up notebooks for docs

@whitead How do I compile the docs locally for my branch?

@hgandhi2411 https://github.com/ur-whitelab/exmol/blob/1661e505ae74363ded5429a08c10c29739210446/.github/workflows/docs.yml#L28


Encapsulation of the near-api-js library

In order to be more testable and have a more robust codebase, we need to make sure that, if the near-api-js library changes that often, we can extrapolate all the functionalities we have right now in the project and encapsulate them in a proxy or a service. This way, if the API changes, our only concern would be to update that block and it wouldn't break the entire project.

At the current time, as the architecture is right at the moment, this doesn't bring any value to the project. I would postpone this for a while.

We no longer see a use case for encapsulating the library. Should we find this useful in the future, we can raise a ticket then. I suspect our approach will take the form of common helpers or smaller abstractions like ProviderService.


Handling errors.

On the previous version of PoshPACLI I was handling errors via
$Success=Add-VaultDefinition -sessionID 0 -vault "$VAULTNAME" -address "$VAULTADDR"
if (-not $Success) {write-host -fore Red "ERROR: Failed to load vault address."; exit }
or
$Success=New-Group -sessionID 0 -vault "$VAULTNAME" -user "$PACLIUSER" -group "$GroupName" -location "\Division"
if (-not $Success) {echo "NOTE: Group $GroupName not created, already exists"}
After updating to the latest version, I've noted Boolean return is now removed, so I've tried to replace with catch/try however its ignored.
I need to handle errors elegantly or in some cases they can just be ignored.  What the recommended method for error handling now?
thanks in advance.

Found your comment on Write-Error, I'm checking that. Thanks.

Hi @TwitchyGit -
You should be able to utilise a try/catch block if you specify -erroraction Stop on the function call; this will force any error to be terminating and land you in the catch block.


Cache scores object

Description
Store scores as a global-ish variable (the environment where it's stored is not actually the global environment, but it is a unique environment accessible to all user sessions within the app instance/R session) and only update when the contents of the S3 bucket changes in some way. Reduces the number of times we read the score data, from once per user session to twice a week.
Changes

Move data-fetching code out of server function.

Functions getData and getFallbackData
Code to get S3 bucket object. Create replacement getS3Bucket function.
Code to load data from S3 bucket, filter columns, and rename columns. Create replacement getAllData function.

Create getRecentDataHelper closure. This function generates a function getRecentData to return either stored score data or new score data if the score data has been updated since it was last read. Whether or not it was updated since it was last read is determined by comparing the contents of the stored S3 bucket object, saved at the same time as the stored score data, and a newly-read S3 bucket object. This check happens at the beginning of each user session. getRecentData updates score data and the S3 bucket object stored in it's parent (getRecentDataHelper) environment.
Create a global getRecentData function from getRecentDataHelper so that a single environment is shared by and persists between all calls to getRecentData.

Fixes
Right now, the dashboard is slow to load, especially when multiple people are using it simultaneously. This is because R Shiny is single-threaded by default so user requests are queued and handled one at a time. If there are a bunch of users, the queue is a multiplicative factor longer, exacerbated by requests that take a long time, notably reading score data from the S3 bucket.
Implications
This change means that score data should only be pulled twice a week, for the first dashboard visitor following each pipeline run and cached for all other users.
Since a given instance of the "cache" (scores stored as a variable in memory) is only available within a single R session, it is desirable to have many users share a given app/R session. It's not desirable to have a huge server/session pool since the data is loaded (slow step) again for each R session. For example, # R sessions should be << the number of users. (It is possible to store data in an on-disk cache that would be accessible to all app/R sessions, depending on server pool setup, but session load time is slower when reading from disk. It might also be possible to allocate a shared memory region using mmap.).
This approach to caching won't extend elegantly to other function calls (e.g. plots), so we'd want to use memoise to support those if desired.

This approach to caching won't extend elegantly to other function calls (e.g. plots), so we'd want to use memoise to support those.

I don't think that plots or filtering are the bottleneck here but downloading the data.
Sure, I just mean anything else we might want to cache in the future wouldn't fit super well into the structure here. Whether or not we want to cache anything else is a separate decision.

don't forget the middle step that is there: docker containers. Each physical machine could host multiple shiny containers at the same time.

Thanks for the correction; I updated the description above.

Kate doesn't recall any particular reason why caching wasn't being done and doesn't think adding caching will cause any problems.


What determines the order in Model.all()?

Hi! thanks for the great project!
In my use case, the order retrieved from Model.all() is important. I want it to be the same as the order I inserted / created the data.
I experimented for some time and conclude that:

it is the same as the insertion order when the primary key is a string
it is NOT the same as the insertion order when the primary key is an integer. Instead, it is ordered by the primary key in ascending order.

Am I correct? Is this how vuex orm is designed?

I have the same problem that the query to the store is sorting the data by something. We implement filtering and sorting on the api due to pagination and I want the order as it was in the response, not the ORM deciding for me, how it is sorted.


String16 and String32 do not have the assignement operator from the corresponding strings

They can be initialized, but the operator = always use std::string.

This should be fixed by https://github.com/dic-iit/matio-cpp/tree/fix/string_assignement, but I want to wait for #42 to be fixed before opening a PR.


chore: Incompatibility with websockets 14

Temporary workaround to pin websocket <14, as v14 updates the connect() api.
https://websockets.readthedocs.io/en/stable/howto/upgrade.html#arguments-of-connect
https://github.com/theOehrly/Fast-F1/blob/0fabc0688fd8c5583f2061946aeca26078aa1255/fastf1/signalr_aio/transports/_transport.py#L82
error
future: <Task finished name='Task-40' coro=<Transport._socket() done, defined at /.venv/lib/python3.12/site-packages/fastf1/signalr_aio/transports/_transport.py:81> exception=TypeError("BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'")>"}
2024-11-23T14:19:30.119+08:00
Traceback (most recent call last):
2024-11-23T14:19:30.119+08:00
File "/.venv/lib/python3.12/site-packages/fastf1/signalr_aio/transports/_transport.py", line 82, in _socket
2024-11-23T14:19:30.119+08:00
async with websockets.connect(self._ws_params.socket_url, extra_headers=self._ws_params.headers,
2024-11-23T14:19:30.119+08:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-23T14:19:30.119+08:00
File "/.venv/lib/python3.12/site-packages/websockets/asyncio/client.py", line 485, in __aenter__
2024-11-23T14:19:30.119+08:00
return await self
2024-11-23T14:19:30.119+08:00
^^^^^^^^^^
2024-11-23T14:19:30.119+08:00
File "/.venv/lib/python3.12/site-packages/websockets/asyncio/client.py", line 442, in __await_impl__
2024-11-23T14:19:30.119+08:00
self.connection = await self.create_connection()
2024-11-23T14:19:30.119+08:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-23T14:19:30.119+08:00
File "/.venv/lib/python3.12/site-packages/websockets/asyncio/client.py", line 368, in create_connection
2024-11-23T14:19:30.119+08:00
_, connection = await loop.create_connection(factory, **kwargs)
2024-11-23T14:19:30.119+08:00
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2024-11-23T14:19:30.119+08:00
TypeError: BaseEventLoop.create_connection() got an unexpected keyword argument 'extra_headers'

Thanks for noticing this. As you say, this would be a temporary solution. Do you have a suggestion for how to fix this properly?

Not yet, as least we could have a workaround first to make the project functional.
We should update the websockets dependency >=13 when a fix is ready.


Follow fetched external identifiers

It may make sense to follow gathered identifiers in the recognized namespaces to fetch more data.

It doesn't matter match for running in the cronjob mode - this will happen automatically at the next run. It may matter though when running for a local dataset enrichment.

Implemented for quite some time and since f3161042c3bbefaa52991793dce3eb03ece48963 the order in which external sources metadata is merged follows the order in the yaml config.


Validate anthropic_tool function args as json

Tool calls that take in enum values as arguments are currently failing validation due to model_validate with strict=true. Switch to model_validate_json and pass in function arguments as json strings.
This is inline with the approach already used by parse_tools / parse_anthropic_json etc
Context: https://github.com/jxnl/instructor/pull/723

:rocket:
This description was created by Ellipsis for commit 2df4ff222e5e2272fdf2cf18ea0839e0f178ad66

Summary:
Switched parse_anthropic_tools to use model_validate_json for validating tool arguments as JSON strings, fixing enum validation issues.
Key points:

File Modified: instructor/function_calls.py
Function Modified: OpenAISchema.parse_anthropic_tools
Change: Switched from model_validate to model_validate_json for validating tool arguments as JSON strings.
Reason: Fixes validation issues with enum values in tool arguments.
Context: Aligns with existing methods like parse_tools and parse_anthropic_json.

Generated with :heart: by ellipsis.dev

Please merge this


Kill switch capability on service start/restart?

It's a bit of an odd situation, but we have situations where monit is already installed and switched off while we're doing work on either the OS, Java applications, or the databases the Java applications use.  In some cases we need a Chef run before we're actually done with the work, and in every case monit-ng sees the installed monit service not running and immediately enables and restarts it.  This immediately brings up our apps before we're ready, causing a bit of havoc.  We're currently working around it by unmonitoring everything before maintenance, but that has caused a couple of issues as you can imagine.
Would it be strange to have a default attribute that could be overridden so that the monit-ng cookbook won't touch the service for a start or restart?
Thanks!
-Matt

Hey Matt,
We're doing the same thing with the unmonitoring for maintenance, mostly casualty free (though not perfectly :hankey:). I'm definitely open to the idea. Do you want to send over a PR?
Cheers,
Nathan

out in 2.0.2