python311Packages.astropy-iers-data: 0.2<IP_ADDRESS>.33.14 -> 0.2<IP_ADDRESS>.29.50

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.astropy-iers-data is: IERS data maintained by @astrofrog and astropy.utils.iers maintainers
meta.homepage for python311Packages.astropy-iers-data is: https://github.com/astropy/astropy-iers-data
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.2<IP_ADDRESS>.32.04 with grep in /nix/store/q63384m4dp5wrck24s4kaf6nca3m1j05-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.32.04
found 0.2<IP_ADDRESS>.32.04 in filename of file in /nix/store/q63384m4dp5wrck24s4kaf6nca3m1j05-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.32.04

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

131 total rebuild path(s)

131 package rebuild(s)

First fifty rebuilds by attrpath
backgroundremover
deface
easyocr
home-assistant-component-tests.dremel_3d_printer
home-assistant-component-tests.environment_canada
hydrus
intensity-normalization
napari
ome_zarr
python311Packages.albumentations
python311Packages.aplpy
python311Packages.asdf
python311Packages.astropy
python311Packages.astropy-healpix
python311Packages.astropy-iers-data
python311Packages.astroquery
python311Packages.batchgenerators
python311Packages.bsuite
python311Packages.caffe
python311Packages.caffeWithCuda
python311Packages.casa-formats-io
python311Packages.dalle-mini
python311Packages.dask-image
python311Packages.dm-sonnet
python311Packages.dremel3dpy
python311Packages.drms
python311Packages.easyocr
python311Packages.env-canada
python311Packages.fastai
python311Packages.glueviz
python311Packages.glymur
python311Packages.gradio
python311Packages.gymnasium
python311Packages.handout
python311Packages.hickle
python311Packages.imagecorruptions
python311Packages.imageio
python311Packages.insightface
python311Packages.intensity-normalization
python311Packages.k-diffusion
python311Packages.lime
python311Packages.moviepy
python311Packages.mung
python311Packages.muscima
python311Packages.napari
python311Packages.napari-console
python311Packages.napari-svg
python311Packages.niworkflows
python311Packages.ome-zarr
python311Packages.omrdatasettools

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/q63384m4dp5wrck24s4kaf6nca3m1j05-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.32.04 \
  --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 python311Packages.astropy-iers-data https://github.com/r-ryantm/nixpkgs/archive/acf3913c4e140c3cb3b97e14ff0d9d4911db76d8.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/acf3913c4e140c3cb3b97e14ff0d9d4911db76d8#python311Packages.astropy-iers-data

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/q63384m4dp5wrck24s4kaf6nca3m1j05-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.32.04
ls -la /nix/store/q63384m4dp5wrck24s4kaf6nca3m1j05-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.32.04/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.
nixpkgs-review took longer than 120m and timed out

Maintainer pings

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.astropy-iers-data is: IERS data maintained by @astrofrog and astropy.utils.iers maintainers
meta.homepage for python311Packages.astropy-iers-data is: https://github.com/astropy/astropy-iers-data
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.2<IP_ADDRESS>.45.49 with grep in /nix/store/n94gnl23ijsc0slgsj86ndnhnjgrpv1a-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.45.49
found 0.2<IP_ADDRESS>.45.49 in filename of file in /nix/store/n94gnl23ijsc0slgsj86ndnhnjgrpv1a-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.45.49

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

131 total rebuild path(s)

131 package rebuild(s)

First fifty rebuilds by attrpath
backgroundremover
deface
easyocr
home-assistant-component-tests.dremel_3d_printer
home-assistant-component-tests.environment_canada
hydrus
intensity-normalization
napari
ome_zarr
python311Packages.albumentations
python311Packages.aplpy
python311Packages.asdf
python311Packages.astropy
python311Packages.astropy-healpix
python311Packages.astropy-iers-data
python311Packages.astroquery
python311Packages.batchgenerators
python311Packages.bsuite
python311Packages.caffe
python311Packages.caffeWithCuda
python311Packages.casa-formats-io
python311Packages.dalle-mini
python311Packages.dask-image
python311Packages.dm-sonnet
python311Packages.dremel3dpy
python311Packages.drms
python311Packages.easyocr
python311Packages.env-canada
python311Packages.fastai
python311Packages.glueviz
python311Packages.glymur
python311Packages.gradio
python311Packages.gymnasium
python311Packages.handout
python311Packages.hickle
python311Packages.imagecorruptions
python311Packages.imageio
python311Packages.insightface
python311Packages.intensity-normalization
python311Packages.k-diffusion
python311Packages.lime
python311Packages.moviepy
python311Packages.mung
python311Packages.muscima
python311Packages.napari
python311Packages.napari-console
python311Packages.napari-svg
python311Packages.niworkflows
python311Packages.ome-zarr
python311Packages.omrdatasettools

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/n94gnl23ijsc0slgsj86ndnhnjgrpv1a-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.45.49 \
  --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 python311Packages.astropy-iers-data https://github.com/r-ryantm/nixpkgs/archive/534243a9ca3b4de538d6e195ad71a52eb283e7df.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/534243a9ca3b4de538d6e195ad71a52eb283e7df#python311Packages.astropy-iers-data

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/n94gnl23ijsc0slgsj86ndnhnjgrpv1a-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.45.49
ls -la /nix/store/n94gnl23ijsc0slgsj86ndnhnjgrpv1a-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.45.49/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.
nixpkgs-review took longer than 120m and timed out

Maintainer pings

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python311Packages.astropy-iers-data is: IERS data maintained by @astrofrog and astropy.utils.iers maintainers
meta.homepage for python311Packages.astropy-iers-data is: https://github.com/astropy/astropy-iers-data
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.2<IP_ADDRESS>.29.50 with grep in /nix/store/8z69i3h0xld1hbsy40a5i2y3wzfjx1nj-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.29.50
found 0.2<IP_ADDRESS>.29.50 in filename of file in /nix/store/8z69i3h0xld1hbsy40a5i2y3wzfjx1nj-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.29.50

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

132 total rebuild path(s)

132 package rebuild(s)

First fifty rebuilds by attrpath

backgroundremover
deface
easyocr
home-assistant-component-tests.dremel_3d_printer
home-assistant-component-tests.environment_canada
hydrus
intensity-normalization
napari
ome_zarr
python311Packages.albumentations
python311Packages.aplpy
python311Packages.asdf
python311Packages.astropy
python311Packages.astropy-healpix
python311Packages.astropy-iers-data
python311Packages.astroquery
python311Packages.batchgenerators
python311Packages.bsuite
python311Packages.caffe
python311Packages.caffeWithCuda
python311Packages.casa-formats-io
python311Packages.dalle-mini
python311Packages.dask-image
python311Packages.dm-sonnet
python311Packages.dremel3dpy
python311Packages.drms
python311Packages.easyocr
python311Packages.env-canada
python311Packages.fastai
python311Packages.glueviz
python311Packages.glymur
python311Packages.gradio
python311Packages.gymnasium
python311Packages.handout
python311Packages.hickle
python311Packages.imagecorruptions
python311Packages.imageio
python311Packages.insightface
python311Packages.intensity-normalization
python311Packages.k-diffusion
python311Packages.lime
python311Packages.moviepy
python311Packages.mung
python311Packages.muscima
python311Packages.napari
python311Packages.napari-console
python311Packages.napari-svg
python311Packages.niworkflows
python311Packages.ome-zarr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8z69i3h0xld1hbsy40a5i2y3wzfjx1nj-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.29.50 \
  --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 python311Packages.astropy-iers-data https://github.com/r-ryantm/nixpkgs/archive/7d700631f96a7d5886066a9a372498fa83f341bf.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7d700631f96a7d5886066a9a372498fa83f341bf#python311Packages.astropy-iers-data

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8z69i3h0xld1hbsy40a5i2y3wzfjx1nj-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.29.50
ls -la /nix/store/8z69i3h0xld1hbsy40a5i2y3wzfjx1nj-python3.11-astropy-iers-data-0.2<IP_ADDRESS>.29.50/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.
nixpkgs-review took longer than 120m and timed out

Maintainer pings

Done in https://github.com/NixOS/nixpkgs/commit/cb5cf972ef168e110f46e3419a233fb5fd49a4be.


Automated cherry pick of #6549: fix: 返回项目信息

Cherry pick of #6549 on release/3.2.
#6549: fix: 返回项目信息

Codecov Report

Merging #6550 into release/3.2 will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@               Coverage Diff               @@
##           release/3.2    #6550      +/-   ##
===============================================
- Coverage         7.04%    7.02%   -0.02%
===============================================
  Files              649      650       +1
  Lines           111531   111768     +237
===============================================
- Hits              7858     7856       -2
- Misses          103065   103303     +238
- Partials           608      609       +1

Flag
Coverage Δ

#aFlag
7.02% <0.00%> (-0.02%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/rbac.go
1.17% <0.00%> (ø)

pkg/compute/models/buckets.go
1.17% <0.00%> (ø)

pkg/compute/models/dbinstance_accounts.go
2.07% <0.00%> (-0.08%)
:arrow_down:

pkg/compute/models/dbinstance_databases.go
3.40% <0.00%> (-0.21%)
:arrow_down:

pkg/compute/models/dbinstances.go
0.87% <0.00%> (ø)

pkg/compute/models/disks.go
0.53% <0.00%> (ø)

pkg/compute/models/elasticcache_accounts.go
2.86% <0.00%> (-0.15%)
:arrow_down:

pkg/compute/models/elasticcache_acls.go
3.76% <0.00%> (-0.26%)
:arrow_down:

pkg/compute/models/elasticcache_backups.go
3.76% <0.00%> (-0.26%)
:arrow_down:

pkg/compute/models/elasticcache_instances.go
1.05% <0.00%> (ø)

... and 24 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 699fa4c...6ba2ddf. Read the comment docs.


terraform: default to k8s 1.29 for new GKE/EKS clusters

This is aligning with the policy on what k8s version to upgrade to in https://infrastructure.2i2c.org/howto/upgrade-cluster/#upgrade-policy.
At some point in time, we will trial use of a minor k8s version not already tried - I think the best time to do that is for new clusters as they don't have existing users. We can absolutely upgrade existing clusters to arrive at a new minor version never before used by us at 2i2c, but I figure we should be especially brave doing it for new clusters.

Thank you @GeorgianaElena !


Undefined variable error in iTerm2

I'm getting this error when switching to the colorscheme:
Error detected while processing /Users/smithers/.vim/plugged/vim-one/colors/one.vim:
line  840:
E121: Undefined variable: s:dark
E15: Invalid expression: s:dark
Press ENTER or type command to continue

Here is a minimal vimrc I've been using to test this:
set runtimepath^=~/.vim/plugged/vim-one/
syntax enable        " error occurs with or without this
set termguicolors    " error occurs with or without this
set background=light " error occurs with or without this
colorscheme one

It doesn't happen in Terminal, only iTerm. I tried creating a brand new iTerm profile so everything was default but the error persists.

s:dark only gets declared if one of these conditions is met:
if has('gui_running') || &t_Co == 88 || &t_Co == 256

For me, &t_Co is 8. And I'm running inside a terminal.

Adding set t_Co=256 in the minimal vimrc gets it to work.
This is traditionally how I get all my colors:
     if (has('termguicolors'))
       set termguicolors
     else
       set t_Co=256
     endif

I get this with Mac Terminal as well
colorscheme one
let g:one_allow_italics = 1
set background=dark
Error detected while processing /Users/sseale/.vim/plugged/vim-one/colors/one.vim:
line  840:
E121: Undefined variable: s:dark
E15: Invalid expression: s:dark
E121: Undefined variable: s:dark
E15: Invalid expression: s:dark
E121: Undefined variable: s:dark
E15: Invalid expression: s:dark

Same here with Mate Terminal 1.18.2
@jonsmithers solution works for me


Next/previous year

Not sure if I am at the right place. I am wondering if it is possible to step one year further or earlier, just like you currently can step to the next or previous month. Datepickers from other makers show a double next-button and a double prev-button:
 <<    <     January 2014    >    >>

Is this possible with the eternicode bootstrap-datepicker?

++1 this would be nice because for past events like date of birth you are creating more work for the user than just typing in the date


Setup DB writes

To enable writing data to the DB (i.e. the data that is recieved from the RabbitMQ broker), the relevant queries, models, and routers should be setup to enable writing to the database.
This is entirely dependent however on setting up and subscribing to the RabbitMQ broker in order to actually receive data. This will be investigated in a separate issue.

Add initial write methods for adding/creating:

sensor
sensor_metadata
sensor_reading


Cerebral - RAG at the Edge and rename to Cerebral

RAG at the edge
Chroma DB
Chat with phi-3 using web sockets

Plan to change rest of genie references in future PR


Add object lifecycle rules to CF docs

R2 now supports object lifecycle rules. Made some formatting more consistent too.

This is ready for review @gabek

Just curious, but why is the serving endpoint required for R2?

@gabek The public serving endpoint if different from the S3 endpoint with Cloudflare R2. I confirmed this in the R2 admin interface.

Oh got it, thanks!


New Upload Permissions Randomly Unreadable

I've got my entire process of downloading, moving/renaming, and uploading all scripted. Uploads happen with rclone, then the script waits 60 seconds and initiates a Plex library scan of the folder to which the media has been uploaded (using google-drive-ocamlfuse mount).
Every now and then, Plex will show the media as unavailable, even though the GDrive is mounted just fine and I can stream anything else. It only seems to happen on a handful of the newer uploads. If I list these directories from the google-drive-ocamlfuse mount point, I can see some files, and others just show all question marks for security/ownership information and the filenames display in red. If I unmount and remount google-drive-ocamlfuse, the files are readable and fine. I'm not sure why this only happens every once in a while? And it seems the issue never goes away until an unmount/remount happens.

Probably the upload of the unavailable files is not yet completed. If you want, you can turn async_upload=false, so that the copy/rsync process doesn't end until the file is fully uploaded.

The directories still show as inaccessible the next day after uploading. As I said, it stays that way until remounting with the -cc option. It doesn't happen all the time, either, just about half the time new media is uploaded.

I want to +1 this, exact issue and symptoms. In my case when this happens, again the files are fully uploaded, only happens to a set of newer files. The workaround is to clear the cache and rescan the affected folders and everything is good. Keeping an eye on cache, it's not that the cache is full either, hardly 10-20% full so that's not the root cause.


Fix Modal documentation about _handleUpdate method

Update the way to call _handleUpdate method
IMO this method should move to the public scope
Close : #21868

The function _handleUpdate  is called automatically on event resize.
Doing something that make the sidebar to appear will necessarily change the window size and therefore trigger the resize event and call the function automatically.
I think it's not meant to be public and the mention of the function should be removed from the doc instead.
Unless there is a scenario in which a sidebar can appear without triggering the resize event ?

Yes good catch I didn't see that 👍
I'll update my PR to remove the mention of _handleUpdate thank you

Yes good catch I didn't see that 👍
I'll update my PR to remove the mention of _handleUpdate thank you
It seems @vanduynslagerp sidebar can appear without triggering resize event for example if we do this :
$('#firefoxModal').find('.modal-content').css('height', '900px');
That's what the documentation said :

If the height of a modal changes while it is open, you should call $('#myModal').data('bs.modal').handleUpdate() to readjust the modal's position in case a scrollbar appears.

 Also if the content of the modal is updated it can change the height.
I don't know why I didn't think about that...
So yeah you're right the function should be public then.


Fix point cloud voxel size issues for additive refinement pnts

Fixes #5335
When using voxel-sized points for additive tile refinement point clouds, we get a confusing mix of different-sized points which results in lower visual quality.  After investigating, could not find a good solution for calculating voxel sizes for this case since the additive tiles can overlap and can be displayed at the same time.  Decided to force it to pixel mode for these cases.
Implemented by setting voxelSize to 0 for additive refinement tiles.  This will cause them to draw with minPixelsPerVoxel, which defaults to 2.  That way, it will draw as if in pixel mode, and voxelScale will still function.  Checking across a variety of 10 point clouds, 2 to 4 seems to work well for pixel settings (depending on the cloud), so 2 is a decent default here.
TODO

[x] Run ImageTests

/azp run iTwin.js Docs

/azp run iTwin.js Docs - YAML

/azp run iTwin.js Integration - GitHub

@aruniverse what are the correct invocations to manually trigger the docs and integration jobs?

I know GH was having service issues earlier todays, and pipelines were degraded, was hoping that was it. Looks like theyre back up now, so guess that wasn't it.
There might've been a service connection that was accidentally removed, investigating...

investigating...

I was able to manually trigger each individually. Should /azp run iTwin.js have triggered them all?

Test failed on Linux and Windows. I suspect #5298 is relevant?


Improve raycsting

Evaluate if a central point for ray casting would improve the accuracy, maybe use the front point...

Added a randomly placed center point


Detect variables which may be undefined in some code paths

Microsoft/vscode-python#2958
Try to help people detect UnboundLocalError`NameError` situations like:
def example():
    if True:
        pass
    else:
        x = 42
    print(x * 2)

example()

or
def example():
    print(x * 2)
    x = 42

example()

(Make the above examples global-level statements and they become NameError.)

I'd

@jakebailey - wrt the message wording

Need to move messages to resources
Remove (analysis), (parser) etc.

I think that first one could actually just be solved by #313 (dataflow analysis recognizing a code path without the variable being defined), so I'll do the naming fixes then close this when those are in.


Cleaned up template loader tests.

If I can be entertained here, I'd like to clean up template_tests/test_loaders.py. I have a number of tests I want to add to this file from work on #3475. This cleanup makes that a bit nicer.
Some explanation on a few of the changes:

I modified the egg loader tests to clean up after themselves. They were modifying sys.modules without putting the changes back.

I moved PriorityLoader and PriorityCachedLoader into GetTemplateTests. I'll be adding additional tests to this test group as well.

I used get_template in favor of loader.get_template, etc.

I removed the test_empty_egg egg test. That to me was redundant with test_non_existing.

The rest of the changes are mainly cleaning up docstrings and indentation.

Great! I'll take a look at this tonight (CET).

Thanks a lot for tackling this cleanup, it's really needed. You're on the right track but I think you could take it a bit further. Let me know if you'd like to improve the PR. Otherwise I'll merge it as it's already a worthwhile improvement in its current state.

Thanks for the feedback. I'll definitely update the things you mentioned.
LOL on the select_template. This isn't the only thing in template_tests that's out of place or redundant.

Okay. I've updated the test cleanup. This now also cleans up tests.py, which before was a haphazard collection of tests. I tried to keep the subsequent commits small so their easy to review.
The tests no longer call anything from django.template.loader anymore, besides one place. It's still used by the inclusion tag file. This can probably be fixed, too. I'll look at that later.
I removed the redundant render_to_string tests and moved the test passing a context to DeprecatedRenderToStringTests. I think that test is appropriate there. Do we want to add it to the tests in template_loaders as well?
Finally, I plan to update the filesystem and app loader security tests to not use the deprecated dirs argument. That will be easier with the next commit I want to add after this cleanup.

Excellent work! If you address my comments, I can merge it, unless you want to make the updates you talk about in your last comment first.

Thanks for reviewing this. I think I'll address the left over global settings dependencies in another PR.

I rebased and merged the branch. Thanks!


Detect uni/multi chain

I have not brought it in yet, but I wrote some code for garet that checks to see if the generated MDP was unichain or not.
I think it would be smart to make this code easy to use for any MDP, so that we can easily tell if we introduce a bug in a hand-made MDP or garet generates one with unexpected properties.
Comments/ideas welcome.

I just noticed this issue, apologies.
What procedure do you have in mind for such a check? For prediction, it might involve inspecting the asymptotic state-to-state transition matrix. For control, it doesn't seem as straightforward because by definition, an MDP is multichain if any single stationary policy yields a Markov chain with two or more non-communicating classes of states.

@abhisheknaik96 When I made this post, I didn't realize it was so difficult to check. Closing this issue.


[BrokenLinksH2] Fix path in link

Removing line 26:

Tutorial for creating Outlook Web App extension using SharePoint Framework - Preview | video

Note: The redirect isn't working, and the target content is hard to find. Asking the author for additional information.

Docs Build status updates of commit 092b0ea:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/training/training.md
:bulb:Suggestion
View
Details

docs/training/training.md

Line 16, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-developer-tenant' will be broken in isolated environments. Replace with a relative link.
Line 17, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/set-up-your-development-environment' will be broken in isolated environments. Replace with a relative link.
Line 21, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/build-a-hello-world-web-part' will be broken in isolated environments. Replace with a relative link.
Line 22, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/using-microsoft-graph-apis' will be broken in isolated environments. Replace with a relative link.
Line 23, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab' will be broken in isolated environments. Replace with a relative link.
Line 24, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/add-jqueryui-accordion-to-web-part' will be broken in isolated environments. Replace with a relative link.
Line 25, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/use-fabric-react-components' will be broken in isolated environments. Replace with a relative link.
Line 30, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/extensions/get-started/build-a-hello-world-extension' will be broken in isolated environments. Replace with a relative link.
Line 31, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/extensions/get-started/building-simple-field-customizer' will be broken in isolated environments. Replace with a relative link.
Line 32, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/extensions/get-started/building-simple-cmdset-with-dialog-api' will be broken in isolated environments. Replace with a relative link.
Line 36, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/provision-sp-assets-from-package' will be broken in isolated environments. Replace with a relative link.
Line 37, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/web-parts/get-started/deploy-web-part-to-cdn' will be broken in isolated environments. Replace with a relative link.
Line 38, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/use-aad-tutorial' will be broken in isolated environments. Replace with a relative link.
Line 39, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/use-aadhttpclient-enterpriseapi' will be broken in isolated environments. Replace with a relative link.
Line 40, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/use-aadhttpclient-enterpriseapi-multitenant' will be broken in isolated environments. Replace with a relative link.
Line 44, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/extensions/guidance/migrate-from-ecb-to-spfx-extensions' will be broken in isolated environments. Replace with a relative link.
Line 45, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/extensions/guidance/migrate-from-jslink-to-spfx-extensions' will be broken in isolated environments. Replace with a relative link.
Line 46, Column 3: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/sharepoint/dev/spfx/extensions/guidance/migrate-from-usercustomactions-to-spfx-extensions' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit aa7b84e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/training/training.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Global effort to fix broken links
Hi @andrewconnell,
The Content & Learning team is fixing broken links on docs.microsoft.com for the rest of H2. This effort will eliminate potential accessibility, security, and usability issues. This PR includes only link fixes and does not change other content. In this case of PR, I deleted line 26, the redirect isn't working, and the target content is hard to find.
Please review within five business days and merge, or comment in the PR with any changes you'd like to see. Thanks!

Docs Build status updates of commit 70c07cc:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/training/training.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Upstream fixes to elect Windows static C runtime

The Windows build of envoy wants to avoid the dependency on MSVCRT.dll, Microsoft's C Runtime, and associated C++ stdlib .dll's.
Most foreign_cc externals support this on a project-by-project basis; a few do not. This issue is tracking the following pull requests to support this feature, and eliminate our .patch files to the CMake logic of these upstream projects.
The following patches are introduced by PR https://github.com/envoyproxy/envoy/pull/8280
https://github.com/madler/zlib/pull/448 ENABLE_STATIC_CRT cmake flag
(Open no activity)
https://github.com/nghttp2/nghttp2/pull/1393 ENABLE_STATIC_CRT cmake flag
https://github.com/nghttp2/nghttp2/pull/1394  nghttp2_static.lib/.a output rename
(Accepted and merged for nghttp2 1.40.0 release)
https://github.com/nghttp2/nghttp2/pull/1395 resolve ssize_t
(Patch under discussion)
https://github.com/opentracing/opentracing-cpp/commit/0fb05a47528559c8964d681e2b92815c5559b10d
(Rolled into opentracing-cpp release 1.6.0, needs envoy dependency update)

https://github.com/libevent/libevent/pull/908
Avoid transforming base C_FLAGS set deliberately
has been submitted, accepted and merged to master. libevent patch will fall off after we pick up a new baseline commit.

Note we propose to drop these patches from our effective patch set; while they remain useful they are not needed for successful bazel external_cmake() builds;
madler/zlib#448 ENABLE_STATIC_CRT cmake flag
nghttp2/nghttp2#1393 ENABLE_STATIC_CRT cmake flag
nghttp2/nghttp2#1394 nghttp2_static.lib/.a output rename

https://github.com/envoyproxy/envoy/pull/8280 passes all tests using Envoy's bazel cflag elections without the individual proposals upstream to add this toggle for their Debug/Release/ReleaseWithDebInfo targets, so we can safely close this ticket as not blocking envoy binaries.


Colorized macOS icon doesn't render certain colors correctly

When trying to set the screen color of the macOS icon to bright or desaturated colors, the resulting color is wrong. Similarly it's impossible to make the ghost dark.
I suspect the logic for tinting the elements isn't ideal - a bad choice of blend modes or something. I can investigate this at some point to try to improve it, or see about moving this to the Zig end of things and improve it in the process.
Examples:

screen
ghost
result

#FFFFFF
#000000

#FF88FF
#010101

#FFFF00
#105010

#7799FF
#4000A0

I don't know if those are related but here is another issue https://github.com/ghostty-org/ghostty/issues/3215#issuecomment-2563206745 whee setting screen color in theme file doesn't work while work as expected if set in config file.


Dispatch refresh takes forever to finish

Describe the bug
I have created a dispatch app with 4 faq's and 1 luis. When I had 2 faq's and 1 luis , dispatch refresh used to finish quickly and I saw updates. But, now with more faqs and luis total 5 apps it takes time and never finishes.
cmd control is stuck on Training phase as mentioned below.
Expected behavior
Dispatch refresh command should be able finish importing , training and publishing within reasonable  time limit.
Exporting services for dispatch...
Exporting CalendarAssistantDev LUIS application...
Exporting HRQnA QnA kb...
Exporting CEPKb QnA kb...
Exporting ExperienceGeneralKb QnA kb...
Exporting ExperienceStrategistKb QnA kb...
Creating dispatch LUIS model json...
Creating training data...
WARNING: Number of samples in '/Users' that were used by multiple categories: 60
WARNING: Number of samples in '/Users//
WARNING: Number of samples in '/Users//
Updating DispatchDev model...
Importing DispatchDev model...
Training DispatchDev model...
**Desktop (please complete the following information):**
 - OS: [e.g. iOS]
 - Browser [e.g. chrome, safari]
 - Version [e.g. 22]

Additional context
Are there any known performance issue with dispatch tool ?
Can we use dispatch refresh to add each child model one by one?

@Zerryth can you help investigate?
@rjgmail88 - if possible can you share your luis/ qna models?
@tsuwandy  FYI.

@vishwacsena  , sorry can't share

Hi @rjgmail88, as indicated in another thread, we suspect you have duplicate utterances that lead to zero-utterance intent in the dispatch model. Please remove duplicates and also try the latest Dispatch release.
Thanks,

Is this correct latest version ?

<EMAIL_ADDRESS>


fix: Anvil block timestamp

Anvil uses the time of the forked block as its timestamp as its baseline. Subsequent blocks have a timestamp equal to that baseline plus the time that passed since the fork was created.
To fix it, we set the next block timestamp manually to the current date and immediately trigger a block mine.

Benchmark results
Metrics with a significant change:

avm_simulation_time_ms (Token:mint_public): 299 (+434%)
avm_simulation_time_ms (Token:assert_minter_and_mint): 91.9 (+46%)
avm_simulation_time_ms (Token:transfer_public): 71.2 (+124%)
protocol_circuit_proving_time_in_ms (base-parity): 1,956 (+33%)
app_circuit_proving_time_in_ms (AuthRegistry:set_authorized (avm)): 2,079 (-17%)
node_history_sync_time_in_ms (5): 14,058 (+41%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Proof generation
Each column represents the number of threads used in proof generation.

Metric
1 threads
4 threads
16 threads
32 threads
64 threads

proof_construction_time_sha256_ms
5,707 (+4%)
1,541 (+4%)
700 (+2%)
749 (+2%)
769 (+4%)

proof_construction_time_sha256_30_ms
11,662 (+3%)
3,120 (+3%)
1,404 (+3%)
1,423 (+2%)
1,459 (+2%)

proof_construction_time_sha256_100_ms
43,565 (+3%)
12,334 (+3%)
5,649 (+2%)
5,557 (+2%)
5,467 (+1%)

proof_construction_time_poseidon_hash_ms
78.0 (+1%)
34.0 (+3%)
34.0 (+3%)
59.0 (+5%)
88.0 (+4%)

proof_construction_time_poseidon_hash_30_ms
1,510 (+3%)
414 (+3%)
201 (+3%)
223 (+1%)
265 (+2%)

proof_construction_time_poseidon_hash_100_ms
5,594 (+3%)
1,506 (+3%)
671 (+2%)
722 (+1%)
744 (+3%)

L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
4 txs
8 txs
16 txs

l1_rollup_calldata_size_in_bytes
708
708
708

l1_rollup_calldata_gas
6,588
6,594
6,588

l1_rollup_execution_gas
584,264
584,421
584,566

l2_block_processing_time_in_ms
753 (-1%)
1,497 (+5%)
2,691 (-1%)

l2_block_building_time_in_ms
10,857
22,432 (+6%)
41,827

l2_block_rollup_simulation_time_in_ms
10,857
22,432 (+6%)
41,826

l2_block_public_tx_process_time_in_ms
9,056
20,326 (+6%)
39,748

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 8 txs.

Metric
3 blocks
5 blocks

node_history_sync_time_in_ms
7,275 (+3%)
:warning: 14,058 (+41%)

node_database_size_in_bytes
12,738,640
16,928,848

pxe_database_size_in_bytes
16,254
26,813

Circuits stats
Stats on running time and I/O sizes collected for every kernel circuit run across all benchmarks.

Function
time_ms
bytecode_size_in_bytes

GasToken:_increase_public_balance
100
13,790

GasToken:set_portal
14.5 (-16%)
3,339

Token:constructor
122
23,692

FPC:constructor
92.8 (-2%)
13,592

GasToken:mint_public
84.8
10,158

Token:mint_public
:warning: 299 (+434%)
19,034

Token:assert_minter_and_mint
:warning: 91.9 (+46%)
12,925

AuthRegistry:set_authorized
48.5 (+6%)
7,812

FPC:prepare_fee
247 (-3%)
11,068

Token:transfer_public
:warning: 71.2 (+124%)
44,012

FPC:pay_refund
75.5 (+7%)
15,961

Benchmarking:increment_balance
1,118 (+5%)
11,281

Token:_increase_public_balance
14.7 (-3%)
15,006

FPC:pay_refund_with_shielded_rebate
136
17,056

Public DB Access
Time to access various public DBs.

Function
time_ms

get-nullifier-index
0.153 (-1%)

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
1 leaves
16 leaves
64 leaves
128 leaves
256 leaves
512 leaves
1024 leaves

batch_insert_into_append_only_tree_16_depth_ms
11.0 (+6%)
17.2 (+3%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_count
16.8
31.7
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_16_depth_hash_ms
0.639 (+7%)
0.528 (+3%)
N/A
N/A
N/A
N/A
N/A

batch_insert_into_append_only_tree_32_depth_ms
N/A
N/A
48.0
85.1 (+11%)
131 (-1%)
253 (+3%)
468

batch_insert_into_append_only_tree_32_depth_hash_count
N/A
N/A
95.9
159
287
543
1,055

batch_insert_into_append_only_tree_32_depth_hash_ms
N/A
N/A
0.491
0.523 (+11%)
0.450 (-1%)
0.458 (+3%)
0.438

batch_insert_into_indexed_tree_20_depth_ms
N/A
N/A
59.7
133 (+20%)
182 (-1%)
363 (+3%)
690 (-2%)

batch_insert_into_indexed_tree_20_depth_hash_count
N/A
N/A
109
207
355
691
1,363

batch_insert_into_indexed_tree_20_depth_hash_ms
N/A
N/A
0.505 (+1%)
0.600 (+20%)
0.483 (-1%)
0.492 (+3%)
0.476 (-1%)

batch_insert_into_indexed_tree_40_depth_ms
N/A
N/A
75.2 (+3%)
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_count
N/A
N/A
133
N/A
N/A
N/A
N/A

batch_insert_into_indexed_tree_40_depth_hash_ms
N/A
N/A
0.540 (+4%)
N/A
N/A
N/A
N/A

Miscellaneous
Transaction sizes based on how many contract classes are registered in the tx.

Metric
0 registered classes
1 registered classes

tx_size_in_bytes
72,017
666,910

Transaction size based on fee payment method
| Metric |  |
| - |  |


Use NPM templates for React

For PXBLUE-1723.

Changes proposed in this Pull Request:

Add framework selector from Huayun's branch
Integrate the React blank templates from NPM
Reorganize the constants into separate files for readability

Published beta for testing at<EMAIL_ADDRESS>You can test the new templates by running:
// following on-screen prompts
npx -p @pxblue/cli@beta pxb new react
// or via flags
npx -p @pxblue/cli@beta pxb new react --language=ts --template=blank
// or
npx -p @pxblue/cli@beta pxb new react --language=js --template=blank

You can also leave off the template flag, as blank will be used by default
Screenshots

Update readme

looks good, pretty fast on both PC and Mac


Override the default return codes on HandleAsync()

Hey Guys,
I am having a problem with the return status codes from HandleAsync() method. I am implementing Google authentication in my api and when I tried to return the Challenge result, usually what happens is, api returns the 302 status code so it is redirected to Google Auth page, but in my case it is returning 204 no content status code and browser is not redirecting to the Google.
sealed class Handler(SignInManager<ApplicationUser> signInManager) : EndpointWithoutRequest
{
    public override void Configure()
    {
        Get("auth/google");
        AllowAnonymous();
    }

    public override async Task<ActionResult> HandleAsync(CancellationToken c)
    {
        var redirectUrl = "/google-callback-handler";
        var properties = signInManager.ConfigureExternalAuthenticationProperties("Google", redirectUrl);

        return new ChallengeResult("Google", properties);
    }
}

I am using the above code. In normal apis, it works fine, but I am having issue with FastEndpoints. Any help will be highly appriciated.
D

HandleAsync() method cannot return any result type. it only supports Send*Async() methods for sending responses.
you have to override ExecuteAsync() if you want to return.
see an example here.
also ChallengeResult is from MVC. it's not used in minimal apis nor FE.
use TypedResults.Challenge() instead.
if you don't wanna use the union type Results<> something like the following would work:
sealed class Handler(SignInManager<ApplicationUser> signInManager) : EndpointWithoutRequest<IResult>
{
    ...

    public override async Task<IResult> ExecuteAsync(CancellationToken ct)
    {
        ...
        return Results.Challenge(properties, schemes);
    }
}


Logging code crashes with KeyError

see colcon_core/package_identification/python.py
"Ignoring unknown symbol '{symbol}' in '{requirement}'".format(locals()))
Please create a separate PR for this unrelated change.
Originally posted by @dirk-thomas in https://github.com/colcon/colcon-core/pull/184

Can you please create a PR for the previously suggested change: https://github.com/colcon/colcon-core/pull/184#discussion_r279201215

Addressed in #190.


Fix robot test failures related to CumulusCI 3.60.0

CumulusCI 3.60.0 refactored the robotframework Salesforce class, creating a new SalesforceAPI class for Salesforce API keywords.  These changes are necessary to work with the new SalesforceAPI class.
Critical Changes
Changes
Issues Closed
Community Ideas Delivered
Features Intended for Future Release
Features for Elevate Customers
New Metadata
Deleted Metadata

Replaced by #6998


Update test deps for Java 11

Prevent bytecode generation related test failures in tests that rely on
PowerMock by updating to PowerMock 2.

Codecov Report

:exclamation: No coverage uploaded for pull request base (kotlin-experiments@1b3f1ab). Click here to learn what that means.
The diff coverage is n/a.

@@                  Coverage Diff                  @@
##             kotlin-experiments     #427   +/-   ##
=====================================================
  Coverage                      ?   23.29%
  Complexity                    ?      809
=====================================================
  Files                         ?      655
  Lines                         ?    11343
  Branches                      ?     1591
=====================================================
  Hits                          ?     2642
  Misses                        ?     8446
  Partials                      ?      255

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 1b3f1ab...d4de889. Read the comment docs.


Fix selecting users by status

On the Users page, when I select a status, by default "Active" remains checked and it finds no one (it searches for people with more than one statuses). Maybe we should make these behave like radio buttons. Or can a user have more than one statuses?

Good point. For that, we just need to modify the addStatus in the livewire (https://github.com/EotvosCollegium/mars/blob/development/app/Http/Livewire/ListUsers.php#L78) to overwrite the previous one. (Possibly remove the list representation as well).
@viktorcsimma would you like to do that?

The other solution would be to query the statuses as "or"s instead of "and"s. Probably makes more sense.

That’s a good idea; thank you:) I think I’ll try it this weekend.


"'caller', 'callee', and 'arguments' properties may not be accessed on strict mode functions or the arguments objects for calls to them"

I'm getting this error reported from Firefox 115. It's try-caught here:
https://github.com/birchill/bugsnag-zero/blob/bcb3a6a8b81e7ce4c363667de9b2424621ac6cb6/src/to-exception.ts#L123-L130
However it seems that it still gets reported to bugsnag anyway. I am not sure what the repro for this is though.

Thank you for reporting this! (I didn't know anyone else was actually using this library!)
That's quite odd. Do you see the message in the console? If so, could you send me a screenshot of that?
Just running some sample code in Firefox 117 it looks like we can catch the exception without it being printed to the console: https://jsbin.com/goyiwatuzo/edit?html,js,console,output
Maybe something else is catching it though?
I looked at the official Bugsnag client but it appears to be using StackGenerator.backtrace() (source) which accesses arguments.callee without wrapping it in try ... catch (source). Maybe that particular code is not in strict mode though?

It's being reported to bugsnag as an error from other users, I don't see it myself so I don't know how to reproduce it yet.

Oh, interesting. I've never come across that being reported despite using bugsnag-zero on several different projects, some with 10,000s of users.
Are you sure the error is coming from bugsnag-zero and not some other part of the app? For example, if you also have the official bugsnag client loaded I think it could trigger this.
Any extra information about the report delivered to bugsnag would be helpful. Thanks!

Yes the trace looks to be from bugsnag-zero load method, I don't use the official reporter. I'll try to get more details or dig into it for a repro.

Thank you!

I looked at the trace more carefully since it's minified, and the line position actually points to curr in the loop, after the try catch.
try{e=arguments.callee}catch{return[]}for(;e&&n.length<Q&&e.arguments;)

Specifically for(;e here. I am using esbuild to minify but I don't think that matters here.

It seems odd that if accessing .callee here threw an error, we should have returned.
I wonder if that's just because bugsnag-zero is not as clever as the official client in removing itself from the stack. That is, I wonder if it is just correctly reporting an error elsewhere in the app (something else that tries to read caller or callee or arguments) and the stack bugsnag-zero is reporting is making it look like it is originating from bugsnag-zero?

I don't use callee or arguments in my code. It is possible that any browser extension that is injecting some code could be reading it, but the trace does appear to be correct within bugsnag-zero, so I don't think it's that.
Here I reproduced it: https://jsbin.com/hafahugega/edit?html,js,console,output

As far as I can tell, it doesn't even need to access curr['arguments'] there. As in, I think we could just drop the && curr['arguments'] check altogether.
As far as I can tell, it's only needed in stack-generator because it tries to add arguments to stack frames (see https://github.com/stacktracejs/stack-generator/pull/4) but bugsnag's API doesn't have arguments in stack frames so I don't think we need that check.

That sounds fine. I'm just curious why it's trying to generate a trace from unhandledrejection, because it won't be a very useful trace right?

Right. I don't think there's any foolproof way to get a trace from an unhandledrejection. PromiseRejectionEvent.reason just contains whatever was passed to Promise.reject().
So if there is code doing throw 'failure' or reject('failure') you'll just get the string 'failure'. If you're using one of the standard Error objects (e.g. throw new Error('failure')) I think .stack will get filled in. For custom errors objects, though, you have to use the non-standard captureStackTrace in the error's constructor and I think that might be a V8-only thing too.

That is unfortunate because I believe this particular failure is coming from a browser extension, so I have no control over it, and seemingly won't be able to filter it out because it has no trace that includes chrome-extension.

Yeah, that's very annoying. I have a similar problem with CSP errors produced by browser extensions. It makes all CSP reports less useful.
I don't suppose there's anything else about the failure that you can use to filter it out? The specific error message, etc.?

I can probably filter on error.name = 'InvalidError' after this particular issue is fixed.

Ok, I've pushed 0.6.1 now. Let's see if that fixes it.

Hopefully fixed by 9ad501614bde5d664e97463c8a2b5aef4f51f9c9

Thanks! I'll monitor.

Just FYI, the non-error parameter is not always a string, InvalidError unhandledrejection received a non-error. See "unhandledrejection" tab for more detail.
So non-error parameter can end up being [object Object] in Bugsnag.

Yeah, we should do a better job of handling that. I saw a neat library for stringifying arbitrary objects in a safe way but I was afraid it would swell the package size too much so I haven't included it.

For what it's worth, it tries pretty hard to extract a useful error from whatever it gets:
https://github.com/birchill/bugsnag-zero/blob/22b7803dfd8c72d7839960d406d374375a0dc05e/src/to-exception.ts#L45-L90
But then if that fails, it just dumps the error as 'non-error parameter': String(maybeError)
As best I can tell, the official client only handles null and undefined: https://github.com/bugsnag/bugsnag-js/blob/bc61c6e3a06512982384d4a4d7ede88968aec18b/packages/core/event.js#L208-L222
Ideally we'd use something like safe-stable-stringify or javascript-stringify or something like that but it will increase the bundle size a bit. Maybe we can adapt one to just what we need.

I particularly don't care because I just completely ignored InvalidError in onError because my code only throws Error objects and everything else is just browser extension noise.


AudioPlayers Exception flutter web

Checklist

[X] I read the troubleshooting guide before raising this issue
[X] I made sure that the issue I am raising doesn't already exist

Current bug behaviour
Exception in Flutter web (only in release) (Chrome) platform:
Expected behaviour
AudioPlayers Exception: AudioPlayerException(	AssetSource(path: new_message.mp3),PlatformException(4, DEMUXER_ERROR_COULD_NOT_OPEN: FFmpegDemuxer: open context failed, null, null)
Steps to reproduce

Execute flutter run on the code sample
...
...

Code sample

Code sample
void main() {
}

Affected platforms
web
Platform details
Chrome Version 115.0.5790.170 (Official Build) (x86_64)
AudioPlayers Version
5.0.0
Build mode
No response
Audio Files/URLs/Sources
No response
Screenshots
No response
Logs

my relevant logs

Full Logs

my full logs or a link to a gist

Flutter doctor:
Output of: flutter doctor -v

Related issues / more information
No response
Working on PR
no way

Can you provide the file for new_message.mp3 or can you reproduce with our example? Thx :)

Closing as I cannot reproduce without the sources.


Maven Packages

Use github as a maven repository and automate the process to publishing packages to it;

Merged into 3.8.0


Support VCS workspace type

With a quick looks, it seems we can refactor the existing terrakube_worksapce_cli resource to support VCS type?

Hello @stanleyz, that is correct the cli workspace is a special case for the workspace in terrakube but with some refactor with some small changes that could be use to create the vcs type, I can try to add it in the following days but if you would like to contribute all help and pull request are welcome.

Thanks for the prompt response @alfespa17 , love it.


chore: update codegen to include GraphQL

Summary
This is a follow-up PR for https://github.com/biomejs/biome/pull/3295
I adds codegen for GraphQL, so now they are included in the registry and correctly run.

Test Plan
I added a test

I am going to merge this, it should be safe and it will enable linting in the playground!


Control velocity of intake in percent of full speed

Use free speed of Neo 550 motor (11710 rpm) rather than Neo
Consider controlling in m/s rather than in percent of free speed

Elements of this PR were worked into the w0 branch


Code Availability

Hello there,
You mentioned in the paper that the code is available here. Is there an estimate about when the code will be available?

+1


scroll restoration do not revert to same position

When data load from the server the scroll miss matches scroll position.

When data load from the server the scroll miss matches scroll position.

@admondtamang  Thx for the report.
Given that this example may be quite specific, I would like to see a specific demo that I can easily troubleshoot.
Of course, you can mention PR to fix your example, I'm more than willing to review the code.
I'll reopen this issue.

https://drive.google.com/file/d/1181ildYupVh0yC-yFDghTo6fK_V2C68u/view?usp=sharing

https://user-images.githubusercontent.com/22430270/103070908-a8b48a00-45ea-11eb-935c-20e5949ed362.mp4

I probably understand, I'll try to fix it this weekend.
Merry Christmas🎄

https://github.com/nanyang24/react-scroll-restoration/issues/2#issuecomment-852725868


Elastalert 0.2.1 with Python3.6 upgrade - Local Timezone issue

I have recently upgraded our Red Hat linux servers to 7.7 and Elastalert stopped working. I've searched and believe I have properly upgraded to Python 3.6 following these tickets:
https://github.com/Yelp/elastalert/issues/2385
https://github.com/Yelp/elastalert/issues/2391
Elasstalert appears to be running now, but I am having an issue with util.py can't determine my timezone. Same issue on Ubuntu install on Windows 10 too.
ed2@ED2-L2:/opt/elastalert$ elastalert-test-rule rules/test.yaml INFO:elastalert:Note: In debug mode, alerts will be logged to console but NOT actually sent.             To send them but remain verbose, use --verbose instead. Didn't get any results. INFO:elastalert:Note: In debug mode, alerts will be logged to console but NOT actually sent.                 To send them but remain verbose, use --verbose instead. 1 rules loaded Traceback (most recent call last):   File "/usr/local/bin/elastalert-test-rule", line 11, in <module>     load_entry_point('elastalert==0.2.1', 'console_scripts', 'elastalert-test-rule')()   File "/usr/local/lib/python3.6/dist-packages/elastalert-0.2.1-py3.6.egg/elastalert/test_rule.py", line 445, in main     test_instance.run_rule_test()   File "/usr/local/lib/python3.6/dist-packages/elastalert-0.2.1-py3.6.egg/elastalert/test_rule.py", line 437, in run_rule_test     self.run_elastalert(rule_yaml, conf, args)   File "/usr/local/lib/python3.6/dist-packages/elastalert-0.2.1-py3.6.egg/elastalert/test_rule.py", line 307, in run_elastalert     client = ElastAlerter(['--debug'])   File "/usr/local/lib/python3.6/dist-packages/elastalert-0.2.1-py3.6.egg/elastalert/elastalert.py", line 173, in __init__     if not self.init_rule(rule):   File "/usr/local/lib/python3.6/dist-packages/elastalert-0.2.1-py3.6.egg/elastalert/elastalert.py", line 1037, in init_rule     jitter=5)   File "/home/ed2/.local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 420, in add_job     'trigger': self._create_trigger(trigger, trigger_args),   File "/home/ed2/.local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 921, in _create_trigger     return self._create_plugin_instance('trigger', trigger, trigger_args)   File "/home/ed2/.local/lib/python3.6/site-packages/apscheduler/schedulers/base.py", line 906, in _create_plugin_instance     return plugin_cls(**constructor_kwargs)   File "/home/ed2/.local/lib/python3.6/site-packages/apscheduler/triggers/interval.py", line 38, in __init__     self.timezone = astimezone(timezone)   File "/home/ed2/.local/lib/python3.6/site-packages/apscheduler/util.py", line 96, in astimezone     'Unable to determine the name of the local timezone -- you must explicitly ' ValueError: Unable to determine the name of the local timezone -- you must explicitly specify the name of the local timezone. Please refrain from using timezones like EST to prevent problems with daylight saving time. Instead, use a locale based timezone name (such as Europe/Helsinki).
I have added "use_local_time: true" to my config.yaml and my test.yaml file. No luck so far.
Recommendations?

Yes,ith python3.7 an error occurs when running   elastalert-test-rule.  you must also install python3.6-dev

I've just hit this exact  problem, has anybody made any progress? It's a fresh install of the Elastic stack stack.

on linux, i edited the timezone file (directory etc), putting "America/Sao_Paulo", then i gave a sudo apt-get upgrade in terminal and went back to normal

Is that /etc/timezone?
Centos 7.8
yum tzdata up to date
/etc/timezone is Europe/London
$TZ is /usr/share/zoneinfo/Europe/London
zdump /etc/localtime gives /etc/localtime  Wed Feb  3 21:13:31 2021 GMT
tried with and without  --start 2021-02-01T12:00:00
The rule I'm trying to test (the first one I've tried) is
name: Filesystem Alert
type: metric_aggregation
index: metricbeat-*
metric_agg_key: system.filesystem.used.pct
metric_agg_type: avg
query_key: beat.hostname
doc_type: metricsets
bucket_interval:
  seconds: 10
sync_bucket_interval: true
#min_threshold: 0.1
max_threshold: 0.50
filter:
- term:
    metricset.name: filesystem
alert:
- debug

I have managed to bodge it -  elastalert-test-rule runs without the error and looks like it is running correctly.
The problem is with util.py in APScheduler (I've got version 3.7.0).
Look at  util.py (/home/ed2/.local/lib/python3.6/site-packages/apscheduler/util.py) in the original question. The error seems to be whatever is calling astimezone isn't passing the correct timezone in. I added line 90 obj='Europe/London' and it runs OK.
Not a fix, but at least I can get going and then double-back to   https://github.com/agronholm/apscheduler
     83 def astimezone(obj):
     84     """
     85     Interprets an object as a timezone.
     86
     87     :rtype: tzinfo
     88
     89     """
     90     obj='Europe/London'
     91     if isinstance(obj, six.string_types):
     92         return timezone(obj)
     93     if isinstance(obj, tzinfo):
     94         if not hasattr(obj, 'localize') or not hasattr(obj, 'normalize'):
     95             raise TypeError('Only timezones from the pytz library are supported')
     96         if obj.zone == 'local':
     97             raise ValueError(
     98                 'Unable to determine the name of the local timezone -- you must explicitly '
     99                 'specify the name of the local timezone. Please refrain from using timezones like '
    100                 'EST to prevent problems with daylight saving time. Instead, use a locale based '
    101                 'timezone name (such as Europe/Helsinki).')
    102         return obj
    103     if obj is not None:
    104         raise TypeError('Expected tzinfo, got %s instead' % obj.__class__.__name__)
    105
    106


Failed loading lazyvim.config.keymaps, attempt to index global 'Snacks' (a nil value)

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[X] I have updated the plugin to the latest version before submitting this issue
[X] I have searched the existing issues of lazy.nvim
[X] I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)
v0.10.2
Operating system/version
MacOS 15.0.1
Describe the bug
Whenever I open nvim, I get the following error: -
Failed loading lazyvim.config.keymaps

~/.local/share/nvim/lazy/LazyVim/lua/lazyvim/util/format.lua:182: attempt to index global 'Snacks' (a nil value)

# stacktrace:
  - /LazyVim/lua/lazyvim/util/format.lua:182 _in_ **snacks_toggle**
  - /LazyVim/lua/lazyvim/config/keymaps.lua:123
  - /LazyVim/lua/lazyvim/config/init.lua:252
  - /LazyVim/lua/lazyvim/config/init.lua:251 _in_ **_load**
  - /LazyVim/lua/lazyvim/config/init.lua:259 _in_ **load**
 - /LazyVim/lua/lazyvim/config/init.lua:185

I see the same issue reported here: https://github.com/LazyVim/LazyVim/issues/4756#issuecomment-2468254240
On installing the snacks plugin (https://github.com/folke/snacks.nvim), the error goes away.
Steps To Reproduce
I followed the steps to install lazy.nvim and a bunch of plugins in the ~/.config/nvim/lua/plugins/ directory. No other custom setting was done from my end.
Expected Behavior
nvim should open without the above error.
Repro
No response

This error can not happen if you are using LazyVim.
snacks.nvim is a core plugin of LazyVim and always installed

@folke Thanks for getting back to me so quickly.
I followed the instructions mentioned here: https://lazy.folke.io/installation. I made no changes except adding some of my own plugins to the ~/.config/nvim/lua/plugins/ directory.
Did I miss any instructions/step?

Got it, will check my configurations. Thanks.
On Mon, 18 Nov 2024 at 10:02 PM, max397574 @.***> wrote:

seems like you're messing some things up with lazy.nvim (plugin manager)
and lazyvim (neovim configuration)
you follow the lazyvim installation instructions if you want to install
lazyvim
—
Reply to this email directly, view it on GitHub
https://github.com/folke/lazy.nvim/issues/1816#issuecomment-2483541518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHK6LPXNDMLGM4HQSN7MWLL2BIJDNAVCNFSM6AAAAABR6PXVBCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBTGU2DCNJRHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

If you have a reference to Snacks in your keymaps, you need to put it in a closure.
So insetad of
keys = {{"<leader>bd", Snacks.bufremove}}

key = {{"<leader>bd", function() Snacks.bufremove() end}}

@folke Thanks for getting back. I don't have a reference to Snacks in my keymaps.
Let me check my configurations, will post here when I have the resolution.

Same is happening to me.  This started happening after a :Lazy sync.

I solved it by manually installing Snacks with
{
  "folke/snacks.nvim",
  priority = 1000,
  lazy = false,
  opts = {},
}

Yes, I am using LazyVim. There is probably a bug somewhere that got the dependencies in a bad state. As I said, it happened after a :Lazy sync.
You can check my dotfiles here to see my exact setup.

Why do you have this file?? https://github.com/serramatutu/dotfiles/blob/main/.config/nvim/lua/plugins/init.lua
Your intializing LazyVim twice. Remove that.
That is for sure going to give issues...
Edit: you also removed the import for LAzyVim??          import = "lazyvim.plugins",
So yes, I'm sure you'll have issues this way.

I'm not doing anything too unorthodox related to dependency management or overriding LazyVim behavior,

You are completely overriding and messing with LazyVim's plugin management.

Knowing you did all that and still claiming there's a bug in LazyVim is beyond me.
That's just wasting my time.

@serramatutu perhaps if you ever do the open source work you're apparently willing to do you will understand how annoying it is if people make you spend time on something if they just didn't read docs and do some really weird things (and even worse say they didn't do any non-normal things)

notice this two lines in the default lazyvim starter template https://github.com/LazyVim/starter/blob/7a10a75dc3fc2fc6a4f35f2eb33d12995ac9efca/lua/config/lazy.lua#L19-L20
it clearly explains what the second line is for. And the docs don't say anything about changing that. They even say that you should refer to comments in the files.
And so you gotta understand folkes frustration if you change this (apart from other things) to completely break lazyvim and then say that you didn't do "too unorthodox related to dependency management or overriding LazyVim behavior" which you obviously did

I didn't realize I had that leftover init.lua file which was causing the issue. I thought the config that was being applied was config/lazy.lua but it was getting overriden by init.lua. I shouldn't have said I wasn't modifying LazyVim's behavior. My bad.
Next time I suggest you point out beginner mistakes with a little more patience though. Have a nice end of your week.

The biggest problem was that you removed that import = ....
Not doing that completely disables LazyVim's plugins.

@folke I do realize that now. The import =  was enabled in my config/lazy.lua. I didn't realize I had a plugin that was overriding that and borking the setup.

@max397574 pointed you to the exact lines of the starter you removed

Thank you. I will rewrite my whole config from scratch based on the starter.


Another release please...

The last release was made almost 2 years ago, and 36 commits ago. Perhaps it's time for another one?

Good you ask :)
Will try to do that tomorrow.

Oh, and, by the way - perhaps you should get the fmt author(s) to use this class internally for the case when they can't use the standard library's. I just noticed that the version of fmt bundled within spdlog uses a somewhat broken string view.

Can you give a hint as to what to look for that is broken in fmt's string_view?
I'm inclined to see how it does with my tests for string_view lite.

Published Release 1.7.0.
Hope to update string_view lite on Conan later today.

Can you give a hint as to what to look for that is broken in fmt's string_view?

IIRC - no empty() method, no default ctor. But I might be wrong, plus like I said I might be talking about an adapted older version of fmt.

@eyalroz, indeed, fmt's string_view lacks empty(), however it does have a default constructor (now).

... and that's why I thought you might want to pitch your string_view to them. They could remove some code they currently need to maintain themselves in favor of maybe a sub-repo (or just vendoring of one of your releases), and you would get... more visibility and magical glory I guess?

There're delicate balances to be struck between one's presences :)


fixes #25: resolve modules with the same name as node stdlib modules

Fixes #25. In particular, this prevents me from resolving https://npmjs.org/package/punycode and https://npmjs.org/package/querystring using node-resolve.

This seems to have caused this library to diverge from the actual node resolve algorithm, which pretty clearly states:
require(X) from module at path Y
1. If X is a core module,
   a. return the core module
   b. STOP
…

This is the root cause of https://github.com/rollup/rollup/issues/544. I can be worked around, but I believe this should either be reverted or a note should be added to the README that explains in what way this library differs from the real node resolve algorithm.

I don't know offhand if this is a dependency of Browserify, but that deviation would make sense if it leveraged this module.  Not sure what @michaelficarra's original use case was, or if he even remembers; it was a long time ago. :smile:
Either way, yes, either this should be explained in README.md or reverted.  If @michaelficarra's use case is still valid, then maybe a fork or different module is in order...

Hmm, I'm not sure how this came about. I just confirmed that both the old (0.10.x) documentation and the implementation have the behaviour that @eventualbuddha outlined. I'd say this should be reverted, but there's probably a use case to prefer npm modules over built-in ones, so an option to preserve that would be great.


Feature custom callback without custom state

@kkzxak47 If you want this resolved i'm maintaining a fork of this with some added extensibility. Feel free to open a PR here:

https://github.com/svintit/flask-oidc-ext/pulls


Shadow question

Hi, I'm looking through examples and can't understand how it works
if (supportsViewElevation()) {
            // Lollipop or later has native drop shadow feature. ItemShadowDecorator is not required.
        } else {
            mRecyclerView.addItemDecoration(new ItemShadowDecorator((NinePatchDrawable) ContextCompat.getDrawable(getContext(), R.drawable.material_shadow_z1)));
        }

Here you reference R.drawable.material_shadow_z1, that looks like this
<nine-patch xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:src="@drawable/material_shadow_z1_xhdpi"
    tools:ignore="unused" />

But where does @drawable/material_shadow_z1_xhdpi exist?

Hi. Take a look into the drawable-nodpi directory.
https://github.com/h6ah4i/android-advancedrecyclerview/tree/master/example/src/main/res/drawable-nodpi
Some minor density version of material_shadow_z1 share a same ninepatch file.

ldpi, tvdpi, hdpi  -> mdpi

Thanks.

Thanks


We should remove versions of ref packages we already have implementation packages for

This leads to a recurring problem where the build grabs the ref package instead of the implementation package and causes issues in the downstream build.  I propose:

after extracting both the previously-source-built and ref packages tarballs, delete any ref package that match the PSB packages.
when copying packages to the blob feed after each build, check for and delete any match ref packages.

Going forward starting with 6.0 - the previous-source-built and ref packages scenario is covered by https://github.com/dotnet/source-build/issues/2357 and isn't something we should handle within the tarball build process.

[Triage] Closing as the ROI does not justify the work given the nearby EOL.


How to encode term definitions with source definition reference?

Taking the following definition (from ISO 1030-519) as example:

I encode it like:
==== application interpreted construct

a logical grouping of interpreted constructs that supports a specific
function for the usage of product data across multiple application contexts

[.source]
<<iso_10303-202,definition 3.7.1>>

And get:

Which is not exactly the same format as original source.
Am I using the correct approach?
The documentation reflects the use of the word clause instead of definition:
...
[.source]
<<iso_10303-202,clause3.7.1>>

From which I get:

Would this be the correct approach?
Thanks!

@manuel489 this is 'custom locality' (https://www.metanorma.org/author/topics/document-format/bibliography/#custom-locality):
[.source]
<<iso_10303-202,locality:definition=3.7.1>>

Ohh I see! Thank you @Intelligent2013 !

@manuel489 actually I think this could just have been this:

@Intelligent2013 is correct on the syntax for custom locality.


RubyGems.org Ownership Incorrect

@bmckinney-ebsco used to maintain the gem at RubyGems.org, but with his departure, I need to manage it.  Creating this issue per support ticket - https://help.rubygems.org/discussions/problems/37886-no-email-sent-with-either-activation-or-password-reset

Yes, I request to be removed and have @efrierson set as owner.

You're the best, @bmckinney !!

Testing

I have temporarily moved this repo to my personal account to be the owner.  Will transfer it back to ebsco organization once the ownership change is made there.

Whee! Done.


tools/run_tests/helper_scripts/run_ruby.sh rubocop fails 100% runs on linux and mac

Started several builds ago, this is the first occurrence:
https://source.cloud.google.com/results/invocations/1d9c8d35-bec5-4087-9e4d-6de9eb2f619d/targets/github%2Fgrpc%2Fruby_linux_dbg_native/tests
+ rake
install -c tmp/x86_64-linux/grpc_c/2.1.10/grpc_c.so src/ruby/lib/grpc/grpc_c.so
cp tmp/x86_64-linux/grpc_c/2.1.10/grpc_c.so tmp/x86_64-linux/stage/src/ruby/lib/grpc/grpc_c.so
RuboCop failed!
Running RuboCop...
Inspecting 63 files
.....W..W..W.........................C.....C.......CC....C...C.
Offenses:
src/ruby/lib/grpc/generic/interceptors.rb:45:7: C: Use 2 (not -22) spaces for indentation.
      GRPC.logger.debug "Intercepting request response method #{method}" \
      ^^^^^^^^^^^^^^^^^^^^^^
src/ruby/lib/grpc/generic/interceptors.rb:48:5: W: end at 48, 4 is not aligned with `Interceptor
    ##
    # Intercept a unary request response call
    #
    # @param [Object] request
    # @param [GRPC::ActiveCall] call
    # @param [Method] method
    # @param [Hash] metadata
    #
    def` at 35, 28.
    end
    ^^^
src/ruby/lib/grpc/generic/interceptors.rb:106:7: C: Use 2 (not -22) spaces for indentation.
      GRPC.logger.debug "Intercepting request response method #{method}" \
      ^^^^^^^^^^^^^^^^^^^^^^
src/ruby/lib/grpc/generic/interceptors.rb:109:5: W: end at 109, 4 is not aligned with `Interceptor
    ##
    # Intercept a unary request response call.
    #
    # @param [Object] request
    # @param [GRPC::ActiveCall::SingleReqView] call
    # @param [Method] method
    #
    def` at 97, 28.
    end
    ^^^
src/ruby/lib/grpc/generic/service.rb:44:9: C: Use 2 (not -21) spaces for indentation.
        super("rpc (#{name}) is already defined")
        ^^^^^^^^^^^^^^^^^^^^^
src/ruby/lib/grpc/generic/service.rb:45:7: W: end at 45, 6 is not aligned with `StandardError
      def` at 42, 29.
      end
      ^^^
src/ruby/lib/grpc/errors.rb:86:7: C: Use 2 (not -7) spaces for indentation.
      super(Core::StatusCodes::OK, details, metadata)
      ^^^^^^^
...

It looks like the last two builds are green https://fusion.corp.google.com/projectanalysis/current/KOKORO/prod:grpc%2Fcore%2Fmaster%2Flinux%2Fgrpc_basictests_multilang?search_pattern=grpc%2Fcore%2F&include_inactive_projects=false, so something might have "fixed" it.
Haven't been able to repro this yet locally, and also our rubocop version is pinned (https://github.com/grpc/grpc/blob/master/grpc.gemspec#L43), so I'm not yet sure what could cause this.


Support non dcObject Databases

I have some legacy databases which the suffix is o=Something. The current initdb function assumes that every database is a DC Organization.
These changes allow o= suffixes to be managed.

@leonkyneur LGTM

@leonkyneur I reverted your commit as acceptance tests fails

@mcanevet which test failed?
I am only getting warnings relating to overlay class in spec (which were there pre-commit).
Beaker doesn't have nodesets/default.yml. So just wondering what the correct procedure is to run tests.
Thanks!

@leonkyneur you can try with any nodeset, all fails


Rate limiting for createCard mutation

Is your feature request related to a problem? Please describe.
Follow up to https://github.com/digitalfabrik/entitlementcard/issues/1421
Since this endpoint is not protected, it should be ensured that IPs with too many requests should be blocked, especially because the argon2id calculation is expensive.
Describe the solution you'd like
Currently it's not clear how we can implement that.
Javalin allows to add rate limiting for the entire graphql endpoint.
This can be an option, but we need to decide which limit is right for us?
OR
We could create some custom solution, but not sure if makes sense (?)
Describe alternatives you've considered
Maybe there is a possibility to implement limiting at the infrastructure level?
Additional context
Add any other context or screenshots about the feature request here.

Probably we only want to ban failed requests
Currently we log these failed attempts and ban the ip.
Currently we have a Limit of 5 attempts.
Not sure if this is a proper solution here.
I think setting a general rate limit is difficult to find since there may be people creating 30 cards in an hours (internal card creation)
Any other suggestions here?

Currently we log these failed attempts and ban the ip for endpoints that don't require login.

@f1sh1918 could you please tell me how to reproduce that exactly? If I just send requests that fail, I don't get a ban

Currently we log these failed attempts and ban the ip for endpoints that don't require login.

@f1sh1918 could you please tell me how to reproduce that exactly? If I just send requests that fail, I don't get a ban

we don't do this right now for this mutation.
You can check SignInMutationService for example. We log there failed logins.
And with fail2ban we check the logs if the same ip addresses with a certain log pattern occur frequently and ban the ip address.
https://git.tuerantuer.org/DF/salt/src/branch/master/states/entitlementcard/files/fail2ban/filter.conf
But i dunno exactly how to configure this, f.e. set after how many requests someone will be banned. Probably we should use different values depending on the log pattern
Maybe @maxammann or @svenseeberg can help here.

Currently we log these failed attempts and ban the ip for endpoints that don't require login.

@f1sh1918 could you please tell me how to reproduce that exactly? If I just send requests that fail, I don't get a ban

we don't do this right now for this mutation. But you can test with failed login attempts on production f.e.
You can check SignInMutationService for example. We log there failed logins.
And with fail2ban we check the logs if the same ip addresses with a certain log pattern occur frequently and ban the ip address.
https://git.tuerantuer.org/DF/salt/src/branch/master/states/entitlementcard/files/fail2ban/filter.conf
But i dunno exactly how to configure this, f.e. set after how many requests someone will be banned. Probably we should use different values depending on the log pattern
Maybe @maxammann or @svenseeberg can help here.

Configuration is in salt I believe or just on the server. I can make changes if wanted :)

@maxammann maybe you can just tell me where the amount of failed attempts is configured :)
I think we may need different amounts depending on the mutation but this has to be discussed

@maxammann maybe you can just tell me where the amount of failed attempts is configured :)
I think we may need different amounts depending on the mutation but this has to be discussed

Replied in chat


advanced REST client

Actual outcome
connection to dvad and to varifort
Versions
App: <IP_ADDRESS>5-stable
Chrome: 56.0.2924.87
Platform: Windows (7)

Hi,
Can you elaborate?
Thanks

Closing because of lack of activity


Explain Quantum Bridge Card

Hello,
Can you explain how to use the Quantum Bridge Card ?
I put the card in the terminal with one of the singularity.
I built a quantum bridge ring with the other singularity inside.
But now, whenever I leave the wireless range, I can open the terminal, but there are no items.

most likely, your system doesn't have a large enough energy buffer.
try adding an energy cell

+1, just came across this problem myself

Minor necro, but it would also be nice to have some kind of (ideally in-game) documentation on what the card does, because I just found this by spending a while searching for some clue of the purpose behind it. It sounds like it's also supposed to charge the wireless terminal apparently? But I have no idea if it does anything else, or what might set it apart from just using the infinity booster in a wireless access point.

Ditto. Maybe use the API that Applied Energistics itself uses to include some entries on this mod's features if possible!

Ditto. Maybe use the API that Applied Energistics itself uses to include some entries on this mod's features if possible!

see #189
it is planned, but someone has to write it

Noted! Good to know that its in the works!


Pull Socket/API URI from config.json or Window.prompt()

Currently we need to create a socket connection and make API calls to the API/Socket Daemon. We also don't know where the Daemon will be hosted! This poses a problem.
Therefore, we'll need to pull a URI from a configuration file. There is an argument to be made that we include a config.json in the source code, but I believe this is not ideal. Someone who has downloaded the binary of Operator or compiled from source can either:
A) create the config.json manually in the same directory the binary is, or,
B) get a Window.prompt() on first load for the API/Socket server URI
So we need to:

Every time we load the application, check for a config.json file.
If it doesn't exist, Window.prompt() the user for a URI,
Add that URI into, and create a config.json file

There is significant overlap with this and Issue #11, whoever takes this on should probably do both. Both should use the same config.json file

Resolved in #40


Typescript Typings are missing

I'm sorry. I do not use TypeScript (I'm not interested).
Your Pull Request is welcome.


Fork, Commit, Merge - Easy Issue (Python)

Fork, Commit, Merge - Easy Issue (Python)
Simple Python Program to Interact with Lists
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!
The aim of this task is to create a Python script that creates a list of numbers and performs simple operations on it. Specifically, the program should create a list of the first 10 natural numbers (1 through 10), print the list and print the sum of the numbers in the list.
Acceptance Criteria:

The program should create a list of the first 10 natural numbers.
The program should print the created list to the console.
The program should print the sum of the numbers in the list.

Hint: You can use Python's built-in sum function to calculate the sum of numbers in a list.
Start by opening the tasks/python/easy directory from the root of the project.
Then open number_list.py file and start working on your solution!
To test the program, you can run python3 tasks/python/easy/number_list.py to see if it works as expected.

To work with this issue, you need to have Python installed to your local machine.
Check out README.md for more instructions of installing Python and how to make a pull request.
Feel free to ask any questions here if you have some problems!
Also, kindly give this project a star to enhance its visibility for new developers!

kindly assign me this issue under Hactoberfest 2023 @nikohoffren

kindly assign me this issue under Hactoberfest 2023 @nikohoffren

Hi! We don't assign anyone to these issues as the description says:
Note: You don't have ask permission to start solving the issue or get assigned, since these issues are supposed to be always open for new contributors. The actions-user bot will reset the file back to previous state for the next contributor after your commit is merged. So you can just simply start working with the issue right away!


STA_SET_RFEATURE: Add parameters used by TDLS testbed

Add following parameters:

ChSwithMode
OffChNum
SecChOffset

Signed-off-by: Cedric Baudelet<EMAIL_ADDRESS>

Code review complete. Compilation OK


Feature Request: Configurable Min Height Setting for Stacked Bars

Currently, a user can input that they want a min height of 1px via props for the StackedBars component but what if they want it to be 3px or 5px? What if they've applied a stroke to the bars?
Currently I'm facing the pain point of having a stroke making it so the min1Px prop effectively does nothing, you don't see the color of my bar due to the stroke. I'd love to have some control over that and I've tried applying some CSS hacks to the bar paths but unfortunately that won't work either due to the positioning of the bars calculated by the library.
Love the mission of this library, just wanted to raise this as a pain point 😄

Thanks for the feedback @seancrater! We thought about this and intentionally made it only 1px for the StackedBar component because a larger value can distort the visual encoding of the chart. But we didn't think about the 'stroke' use case. Maybe we should revisit it and just warn users instead of enforcing it.
And we welcome code contributions, if you want to have this feature sooner you can try playing with this line in the code, and raising a PR: https://github.com/f5/unovis/blob/d0179dc5f70bf5c2b99f328ab42502dd711763c7/packages/ts/src/components/stacked-bar/index.ts#L209


WRKLDS-1492: Update k8s dependencies to 1.31.1

This PR updates k8s dependencies to 1.31.1 in addition to the required OCP libraries.

/retest

/retest

/retest


🐦 Please tweet about v0.37.1 release 🎆

... so I can RT it to announce chocolatey release cf https://github.com/adriens/chocolatey-ytt/issues/16

Hey @adriens!  So, every once in a great while, we'll do one of these patch releases. They are intended for our Long Term Support efforts. They will always contain backports of fixes that are already available in a later version of the tool.
No need to bundle up this release. 👍🏻

:+1:


Merge appropriate improvements from SDB script

Can you get on SteamDB IRC?

What's server address?

#steamdb on irc.freenode.net


Prediction outside prediction interval with LGBMRegressor

Description
I am using LGBMRegressor to obtain predictions and prediction intervals as suggested in an article https://developer.ibm.com/articles/prediction-intervals-explained-a-lightgbm-tutorial/. However, the issue I am having is that the predicted point (with alpha set to 0.5) is sometimes outside the prediction interval (alpha = 0.05 and alpha = 0.95). I suppose this is due to the issue of "crossing quantiles", however, I am wondering if there is any fix for this? Thanks in advance!
Reproducible example
Can't share data due to data policy at company.
reg = lgb.LGBMRegressor(objective = 'quantile', alpha = 0.5, learning_rate = 0.05, max_depth = 15, n_estimators = 900, random_state = 0).fit(X_train, y_train)

lower = lgb.LGBMRegressor(objective = 'quantile', alpha = 0.05, learning_rate = 0.05, max_depth = 15, n_estimators = 900, random_state = 0).fit(X_train, y_train)

upper = lgb.LGBMRegressor(objective = 'quantile', alpha = 0.95, learning_rate = 0.05, max_depth = 15, n_estimators = 900, random_state = 0).fit(X_train, y_train)

Environment info
LightGBM version or commit hash:
'3.3.2'
Command(s) you used to install LightGBM
pip install lightgbm

We already have this as a feature request in #3447 and #4201. The problem is described here: https://github.com/microsoft/LightGBM/issues/3447#issuecomment-819399569


IntoPyCallbackOutput<_> is not implimented for arrays of pyclass

Bug Description
I'm attempting to use a pyclass annotated struct array as the member of another pyclass annotated struct. When I attempt to annotate that array feild with pyo3(get), it fails to compile. I'm building off of the current master (dea9eb7a) as it's latest commit seems to cover this use case.
Steps to Reproduce
Minimal example:
#[pyclass]
#[derive(Copy, Clone)]
struct Foo {
    x: i32
}

#[pyclass]
struct Bar {
    #[pyo3(get)]
    arr: [Foo; 12]
}

Backtrace
error[E0277]: the trait bound `[Foo; 12]: IntoPyCallbackOutput<_>` is not satisfied
   --> src/ld06_driver.rs:21:1
    |
21  | #[pyclass]
    | ^^^^^^^^^^ the trait `IntoPyCallbackOutput<_>` is not implemented for `[Foo; 12]`
    |
    = help: the following other types implement trait `IntoPyCallbackOutput<Target>`:
              <() as IntoPyCallbackOutput<()>>
              <() as IntoPyCallbackOutput<i32>>
              <*mut PyObject as IntoPyCallbackOutput<*mut PyObject>>
              <HashCallbackOutput as IntoPyCallbackOutput<isize>>
              <IterANextOutput<Py<PyAny>, Py<PyAny>> as IntoPyCallbackOutput<*mut PyObject>>
              <IterANextOutput<T, U> as IntoPyCallbackOutput<IterANextOutput<Py<PyAny>, Py<PyAny>>>>
              <IterNextOutput<Py<PyAny>, Py<PyAny>> as IntoPyCallbackOutput<*mut PyObject>>
              <IterNextOutput<T, U> as IntoPyCallbackOutput<IterNextOutput<Py<PyAny>, Py<PyAny>>>>
            and 7 others
note: required by a bound in `pyo3::callback::convert`
   --> /home/andy/.cargo/git/checkouts/pyo3-a22e69bc62b9f0fd/dea9eb7/src/callback.rs:182:8
    |
182 |     T: IntoPyCallbackOutput<U>,
    |        ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `pyo3::callback::convert`

### Your operating system and version

Ubuntu 20.04

### Your Python version (`python --version`)

Python 3.8

### Your Rust version (`rustc --version`)

rustc 1.60.0 (7737e0b5c 2022-04-04)

### Your PyO3 version

dea9eb7a master

### How did you install python? Did you use a virtualenv?

apt

### Additional Info

_No response_

You just need to add this implementation to make it work:
impl ToPyObject for Foo{
    fn to_object(&self, py: Python<'_>) -> PyObject{
        self.into_py(py)
    }
}```

This error is actually really bad - I'd like to improve it.

Actually, I think I can make this work without requiring ToPyObject

I'm building off of the current master (https://github.com/PyO3/pyo3/commit/dea9eb7af698e1b5f9c38ad6424aff7660fd2417) as it's latest commit seems to cover this use case.

That commit addresses the case of references to arrays, so it doesn't help here. However https://github.com/PyO3/pyo3/pull/2326 does :)


Login Page UI

Solved by commit https://github.com/CRUx-BPHC/CMS-Android/commit/bc61b080744eafb637f61baf87a7f814a616bf47

Still something is missing...
Let the UI issue be there, we will fix it in the end


Is [feature request] elementui not maintained?

Existing Component
否
Component Name
无
Description
ElementUI真的不维护了吗？

2 months with no issue is being resolved. I guess this is it, it's the time.

🎉🎉🎉 Element Plus - A Vue.js 3.0 UI library 🎉🎉🎉
https://github.com/element-plus/element-plus/issues/147


⬆ Allow Starlette 0.39.x, update the pin to >=0.37.2,<0.40.0

I ran the tests (with Starlette 0.39.0) and did not observe any regressions.
https://github.com/encode/starlette/releases/tag/0.39.0

Thanks! This was included in https://github.com/fastapi/fastapi/pull/12431, so I'll close this one. Thanks for the help! :rocket:


The source train code of model provided in "model zoo"

By infer the "yolov5_tiny_face.tflite"(the input size is 192x192) model provided in "model zoo", the time cost is 360ms, but by infer the model provided in "https://github.com/Seeed-Studio/sscma-model-zoo/blob/main/docs/en/person_Detection_Swift-YOLO_192.md"(the input size is 192x192 as well, and it's structure is yolov5_tiny as well), the time cost is 600ms.
The reason is that he model structure of "yolov5_tiny_face.tflite" is different with normal yolov5 structure, would you please provide the structure code of "yolov5_tiny_face.tflite" in "https://github.com/Seeed-Studio/ModelAssistant"?

Hi, Yes, yolov5_tiny_face uses a different network structure, I'll let you know when I upload the specific network configuration structure

Hi, Yes, yolov5_tiny_face uses a different network structure, I'll let you know when I upload the specific network configuration structure

Thank you very much. It seems that the specific network configuration has not uploaded until today, could you please tell me the definite release time?

Hi, sorry, we've lost this config file and may not be able to provide it. can you try  96x96 swift-yolo?

Do you use this example? I will check it
https://github.com/Seeed-Studio/sscma-example-esp32/blob/main/examples/fomo_detection_demo/main/app_main.cpp

Hello,
I'm going to close this issue, feel free to re-open it if you have any other questions.
[Autocommentary]


What is the reference ESP32 development board / module you use ?

Hello, this is more a question than an issue.
Because I am having trouble with the BLE counting feature on some of my boards, I'd like to know what you - libpax developers - are using to develop and test the library ?
This way I could use the same and make sure the problem is not related to the specificities of my boards.
Thank you for your help.

I'm using mostly TTGO board, several variants, like T-Beam 1.0/1.1 and TTGO T3 v1.6 ("Paxcounter" branded), also Olimex ESP32 POE-ISO and LoPy4. Results usually differ only due to different type and quality of antennas. I did never see any differences in BLE behaviours of the ESP32 SoCs.

Thanks for the answer, I have some T-Beams so I'll have a go testing with those.
I have had 2 different issues :

On one board - Heltec wifi lora 32 - enabling the BLE counting crashes the board (stack dump displayed on the serial monitor).
On the other - a clone of DoIt ESPduino-32 - the counting always report 0 for BLE, even in an environment crowded with people.

I will open specific proper issues here when / if I find out that it is actually a libpax related problem and not something I have overlooked or an unrelated hardware specific issue.
Thank you for the help.

@zapoig Please use paxcounter > v3.0.0, not v2.x, for your tests. Because with v3 BLE sniffing on paxcounter runs without bluetooth stack, and the logic was outsourced to libpax lib. v2 runs without libpax and with bluetooth stack.
I currently have no idea how this could be hardware dependent, since the magic happenes inside of ESP32 SoC, so should be board independent. As long as all ESP32 SoCs have same behaviour. There a different chip silicium versions. Paxcounter prints ESP32 SoC revision on serial terminal during power up. Please compare.

I am not using paxcounter, I only need the counting feature so I use libpax directly.
I agree that it seems very unlikely that libpax behaves differently depending on the dev board used.
The root cause of my issues is probably elsewhere. I will let you know my findings.

Be aware to take care of timings of threads/tasks on a multitasking / RTOS system. BLE and Wifi sniffing tasks need approptiate CPU to operate, must not starve. Otherwise you will get lower or zero results.

@zapoig do you use libpax on framework ESP-IDF, or Arduino?

I use Arduino, but I could try ESP-IDF if needed.
One good news, I found a fix for the crash on the Heltec board :
I was building for it using the official Heltec board package from https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.
I just noticed that the Espressif arduino boards package from https://github.com/espressif/arduino-esp32 also have an entry for that Heltec board. When i switch to building with this, it no longer crashes.
I believe the Heltec board package uses an outdated build chain (gcc 5.2.0 versus 8.4.0 in the espressif package).

Problem with arduino-espressif32 framework is, that is has been stuck until today on Arduino v1.0.6, did not yet make the jump to Arduino 2.0, so will be outdated soon, if the community behind it does not manage the 2.0 challenge.I think it's better for ESP32 to develop on ESP-IDF.Libpax was tested on both, Arduino and ESP-IDF.Am 18.02.2022 10:54 schrieb "Guy P." @.***>:
I use Arduino, but I could try ESP-IDF if needed.
One good news, I found a fix for the crash on the Heltec board :
I was building for it using the official Heltec board package from https://github.com/Heltec-Aaron-Lee/WiFi_Kit_series.
I just noticed that the Espressif arduino boards package from https://github.com/espressif/arduino-esp32 also have an entry for that Heltec board. When i switch to building with this, it no longer crashes.
I believe the Heltec board package uses an outdated build chain (gcc 5.2.0 versus 8.4.0 in the espressif package).
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you commented.Message ID: @.***>


⚠ Bofrost.lu has degraded performance

In a41c5d8, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1256 ms

Resolved: Bofrost.lu performance has improved in d7b84a8 after 6 minutes.