RFC: Add params object to matchFields selector

Add params object to matchFields selector
Readable

If we think that params are important enough to match on, they deserve top level support in a matchParams facet of the selector.

@scothis yeah @emmjohnson suggested something similar in our community meeting. I'm happy to take that direction with this RFC. @sclevine I think you mentioned in the meeting that you preferred the RFC as written, any objections to making the above change?

Since matchFields is generic and able to match any field within the resource, I'd rather not overload that syntax by creating shortcuts for params.

@scothis We already have this shortcut in other places, and matchFields already uses non-standard notation for the field selector path (e.g., workload.spec instead spec). I suspect uses will assume that params works with matchFields, just as it works in other places. But no strong opinion.

Since matchFields is generic and able to match any field within the resource, I'd rather not overload that syntax by creating shortcuts for params.

Despite originally thinking that MatchParams was overkill, I think you're right. MatchFields has a clear context, and Params are the resolution of partial-tree. I think drawing a user's attention to this special case with this separate selector is more educational.

I think this rfc is important in it's ability to provide defaultable fields.

That's a compelling distinction as it is not possible with a vanilla field selector operating against the Workload structure directly. It requires a partial templating context to match against.
I'm still on the fence as to whether matchFields would be better actually as a vanilla field selector operating against the Workload structure directly and the new behavior be defined within a matchParam facet.

This strikes me as a bit of syntactic sugar. Params can be set in 4 places:

In the template
In the resource field of a supply chain
At the top level of a supply chain
In the workload

When specifying a MatchParam, the supply-chain author knows 3 of these values already. Ultimately they are just checking, has the supply chain overwritten the choices made at the other 3 levels. So they need only check if the param exists on the workload and if it has a given value.
I have no objections to the change, but I wonder at its utility.

I think I agree with @emmjohnson and @scothis that if we're going to inject the param hierarchy logic in this field, it deserves its own matchParams key to be explicit.

But as @waciumawanjohi said, I struggle to understand the practical use case for this.

But as @waciumawanjohi said, I struggle to understand the practical use case for this.

@martyspiewak @waciumawanjohi as @squeedee pointed out this is about providing a path for defaultable fields. I've updated the yaml in the RFC to better illustrate this use case.


fix: CometShuffleExchangeExec logical link should be correct

Which issue does this PR close?

Closes #323.
Rationale for this change

What changes are included in this PR?

How are these changes tested?

cc @sunchao @andygrove

cc @sunchao @andygrove

cc @andygrove Can you take a look if you have time? Thanks.

Merged. Thanks @sunchao


[ACS][CallAutomation] Updates to be aligned with GA version

Various that was made for GA that was not applied to main branch. This will align our main branch (i.e. alpha packages) to GA changes accordingly. This also applies all changes that was suggested by architects.

CallAutomationClient's Source is updated to be a property, instead of separate method that returns the source
SourceIdentity -> Source
AnsweredByIdentifier -> AnsweredBy
PlaySourceId -> PlaySourceCacheId
All postfix ...Url -> ...Uri
Input for List (IEnumerable) and its property (IReadOnlyList) have been updated to be consistent throughout the SDK
Dropped postfix ...InMs in variable name, when we are already using TimeSpan
All validation that supposed to be done on Service side have been dropped, as per guideline
All postfix ...Response -> ...Result. Such as, MuteParticipantResponse and UnmuteParticipantResponse

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.Communication.CallAutomation


Remove applications that depend on python2Packages

Motivation for this change
A first batch of application removals as well as python3 ports. Looked for application that depend on python2Packages.
https://github.com/NixOS/nixpkgs/issues/148779
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

 However,  I don't believe we need to mark wifite2 as broken, since pyrit is only an optional dependency for wifite2.

No objection from me for removing pyrit. However, I don't believe we need to mark wifite2 as broken, since pyrit is only an optional dependency for wifite2.

There is a failing test without it.
======================================================================
ERROR: testAnalyze (test_Handshake.TestHandshake)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/build/source/tests/test_Handshake.py", line 27, in testAnalyze
    hs.analyze()
  File "/build/source/wifite/model/handshake.py", line 127, in analyze
    self.divine_bssid_and_essid()
  File "/build/source/wifite/model/handshake.py", line 38, in divine_bssid_and_essid
    pairs = self.pyrit_handshakes()  # Find bssid/essid pairs that have handshakes in Pyrit
  File "/build/source/wifite/model/handshake.py", line 109, in pyrit_handshakes
    return Pyrit.bssid_essid_with_handshakes(
  File "/build/source/wifite/tools/pyrit.py", line 28, in bssid_essid_with_handshakes
    pyrit = Process(command, devnull=False)
  File "/build/source/wifite/util/process.py", line 93, in __init__
    self.pid = Popen(command, stdout=sout, stderr=serr, stdin=stdin, cwd=cwd, bufsize=bufsize)
  File "/nix/store/rppr9s436950i1dlzknbmz40m2xqqnxc-python3-3.9.9/lib/python3.9/subprocess.py", line 951, in __init__
    self._execute_child(args, executable, preexec_fn, close_fds,
  File "/nix/store/rppr9s436950i1dlzknbmz40m2xqqnxc-python3-3.9.9/lib/python3.9/subprocess.py", line 1821, in _execute_child
    raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'pyrit'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/build/source/tests/test_Handshake.py", line 29, in testAnalyze
    exit()
  File "/nix/store/rppr9s436950i1dlzknbmz40m2xqqnxc-python3-3.9.9/lib/python3.9/_sitebuiltins.py", line 26, in __call__
    raise SystemExit(code)
SystemExit: None

It should be skipped because it is decorated with
@unittest.skipUnless(Process.exists('pyrit'), 'pyrit is missing')

So I replaced that and it still tries to execute the test.
diff --git a/pkgs/tools/networking/wifite2/default.nix b/pkgs/tools/networking/wifite2/default.nix
index 44227dcce2a..9463c1c20c9 100644
--- a/pkgs/tools/networking/wifite2/default.nix
+++ b/pkgs/tools/networking/wifite2/default.nix
@@ -24,6 +24,11 @@ python3.pkgs.buildPythonApplication rec {
     })
   ];

+  postPatch = ''
+    substituteInPlace tests/test_Handshake.py \
+      --replace "@unittest.skipUnless(Process.exists('pyrit'), 'pyrit is missing')"<EMAIL_ADDRESS>+  '';
+
   propagatedBuildInputs = [
     aircrack-ng
     wireshark-cli

Feel free to push a fix.

@mweinelt I'm having trouble pushing my change to this branch. Either my permissions aren't sufficient or I'm doing it wrong.  But feel free to cherry-pick this commit: https://github.com/danielfullmer/nixpkgs/commit/5a50edf458772affeca8cc9f887989704478cce4

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

1 package blacklisted:

nixos-install-tools

2 packages built:

wifite2
zabbix-cli

Yes, look like tor-arm has reached the end of its road. Thanks for the heads up!

Should probably mention this in the release notes for 22.05


Depend on Firebase SDK ^4.1.1, removing loading caveat.

Since the newly-shipped 4.1 version of the Firebase JS SDK now supports lazy loading, we no longer need to provide guidance about how to load Polymerfire. It should "just work"!
/cc @jshcrowthe

Nice! 👏
When a new polymerfire release? :)

@abdonrd new release is out

@e111077 thanks! 👏

Does it mean that now it's possible to use https://github.com/Polymer/lazy-imports something like <link rel="lazy-import" href="bower_components/polymerfire/firebase-app.html" group="lazy"> or I don't understand something?

Is it possible to use async attribute? Something like
<link rel="import" async href="bower_components/polymerfire/firebase-app.html">

Sorry for the noob question, but what the difference between “lazy” and “async”? Is it possible to use them together?
Is it possible to use <link rel="preload"> and/or <link rel="prefetch"> for import web components? Something like
<link rel="preload" as="import" href="bower_components/polymerfire/firebase-app.html">

<link rel="prefetch" as="import" href="bower_components/polymerfire/firebase-app.html">

If yes, how it works together with “lazy” and “async”?
 The answer should be yes for all of the suggested loading techniques you asked about.
Though this is not necessarily the best place to discuss this:
Lazy loading is a concept where you load a resource when you need it instead of everything at once.
Lazy-import is just a declarative way to lazy-load and has some promise sugar to help with lazy loading.
Async imports are fetching immediately but do not block load or scripts. Without async, no scripts after the import will run, but with async they will run in parallel with the html import.
I recommend reading this, looking at the snippets here, reading up on async for scripts as it is the same concept, and probably suggesting using lighthouse if you're building a PWA and want simple metrics.
If you have any other suggestions, I recommend continuing this conversation on the Polymer Slack


PR to see additions/deletions in HW2

Тесты работают долго (около 50 минут), поэтому прикладываю лог тестирования:
ironman_translation_fast_0_10
  corners are loaded from 'results/ironman_translation_fast_0_10.pickle'
    23 frames, 3098 tracks
    points per frame: min=729, median=2304.0, max=2736
    connective points per frame: min=729, median=1864.0
    track lengths: median=15.0, max=23
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=1.1583014218430587, max=3.311668716482374
    translation error: median=0.11210880197833285, max=0.13695142547459174
    overall error measure: 0.5816627741438587
    OK
house_free_motion_0_10
  corners are loaded from 'results/house_free_motion_0_10.pickle'
    323 frames, 3193 tracks
    points per frame: min=705, median=1085.0, max=1279
    connective points per frame: min=705, median=1073.0
    track lengths: median=51.0, max=323
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=0.9012656656644855, max=3.3647801456021504
    translation error: median=0.006023710038860655, max=0.011211400338163272
    overall error measure: 0.9302811492066471
    OK
house_free_motion_30_60
  corners are loaded from 'results/house_free_motion_30_60.pickle'
    323 frames, 3193 tracks
    points per frame: min=705, median=1085.0, max=1279
    connective points per frame: min=705, median=1073.0
    track lengths: median=51.0, max=323
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=1.2359641121044544, max=3.381268996366325
    translation error: median=0.007307468888903818, max=0.015116176566031432
    overall error measure: 0.9180196379558421
    OK
bike_translation_slow_0_10
  corners are loaded from 'results/bike_translation_slow_0_10.pickle'
    61 frames, 1418 tracks
    points per frame: min=715, median=1166.0, max=1303
    connective points per frame: min=715, median=1126.0
    track lengths: median=61.0, max=61
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=0.13361165748710346, max=0.5455653898267686
    translation error: median=0.012997379226002134, max=0.02435987879635151
    overall error measure: 0.9415727530875496
    OK
bike_translation_slow_0_30
  corners are loaded from 'results/bike_translation_slow_0_30.pickle'
    61 frames, 1418 tracks
    points per frame: min=715, median=1166.0, max=1303
    connective points per frame: min=715, median=1126.0
    track lengths: median=61.0, max=61
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=0.10044186343107767, max=0.33671198194328256
    translation error: median=0.011700781439383159, max=0.01846895256346617
    overall error measure: 0.9537480831514347
    OK
bike_translation_slow_30_60
  corners are loaded from 'results/bike_translation_slow_30_60.pickle'
    61 frames, 1418 tracks
    points per frame: min=715, median=1166.0, max=1303
    connective points per frame: min=715, median=1126.0
    track lengths: median=61.0, max=61
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=0.3769399642200052, max=0.6856641615474773
    translation error: median=0.016532043089049497, max=0.024197996637281276
    overall error measure: 0.9266159026405892
    OK
fox_head_short_0_20
  corners are loaded from 'results/fox_head_short_0_20.pickle'
    98 frames, 2716 tracks
    points per frame: min=507, median=1576.0, max=1827
    connective points per frame: min=507, median=1571.0
    track lengths: median=55.0, max=98
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=0.1669658895044707, max=0.46470242308230486
    translation error: median=0.014915510365631643, max=0.05277682080122824
    overall error measure: 0.9271752122467101
    OK
fox_head_short_0_45
  corners are loaded from 'results/fox_head_short_0_45.pickle'
    98 frames, 2716 tracks
    points per frame: min=507, median=1576.0, max=1827
    connective points per frame: min=507, median=1571.0
    track lengths: median=55.0, max=98
    OK
  start scene solving
  scene solving succeeded
    rotation error (degrees): median=0.1414755822934286, max=0.4379143431047274
    translation error: median=0.011260395670697303, max=0.048966970285213504
    overall error measure: 0.9399529986449869
    OK
corners OK: 8/8
tracking OK: 8/8
total error measure: 0.9212749082040391


operator for styled-components in css

I have several styled components in a row with a image.
I just need to add a space between HeaderLinks.
I've tried following way but it doesn't work.
const HeaderLink = styled.a`
  color: #000;
  font-size: 1.5em;
`;

const Wrapper = styled.div`
  HeaderLink + HeaderLink {
      margin-left: 1em;
  }
`;

HeaderLink1|HeaderLink2|Image|HeaderLink3|HeaderLink4

So I want to add margin between HeaderLink1&HeaderLink2 and HeaderLink3&HeaderLink4.
How can I use styled component in styled css?

Ops, Just using ${HeaderLink} instead of HeaderLink solved problem.


Access to files on MWN unrelated to the dataset

Since I was interested in the dataset I naturally explored the annotated and additional data that can be reached by the provided links in the README.md. However, as exploring the additional data provided by the link http://go.mytum.de/928009 I realized one can open more directories than probably anticipated. In short by going up the directory path one can reach a directory called Studien containing files like Kennzahlensysteme_in_der_Automobillogistik.pdf. I am not providing the download link here as I am unsure whether this was intended but I wanted to raise awareness as it doesn't seem related to the LOCO dataset.

Hi, Many thanks for raising awareness about the accessability of other files on our NAS! In the mentioned folder structure, we gather all the resources we have published in various channels, so the access configuration is actually intended. Nevertheless, we double-checked the access rights and didn't find any unintended hole.
Best regards, Florian


Cross model relation with external-cloud-provider doesn't support node-selector

The node-selector applied to the daemonset after using the cross-model relation isn't something like
   juju-application=kubernetes-control-plane

but instead something like this.
   juju-application=remote-6a71fd569a2640d383ec2f02a74a6aa2

to work-around apply this:
APP=$(juju status -m $CLUSTER_MODEL | grep kubernetes-control-plane | head -n1 | awk '{print $1}')
juju config -m $K8S_MODEL vsphere-cloud-provider-operator control-node-selector='juju-application='$APP

yep, CMR no longer necessary


SecurityError: Operation is Insecure

Tokenizer wont work, every time I try to add a picture to it it gives me a security error and the token frames wont load saying "Failed to Load Frame." When disabled I can add tokens and portraits, and when Tokenizer is the only module it still gives the error, so I don't think it's anything else.

I should also mention I'm using Forge as a server host, if that makes any difference.

Okay, I think I know what this is, thanks for the report

v3.3.3 will resolve this.


i can't run Gimp in ubuntu 20.04.  libgdk_pixbuf-2.0.so.0 cannot open shared object file

The last time I tried to use GIMP couldn't run it from the application menu icon. When I use the terminal it returns the following message :
user@user-Inspiron-3585:~$ gimp /snap/gimp/367/usr/bin/gimp: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
There is a similar report here: https://github.com/snapcrafters/gimp/issues/102 but it has already closed and it is not detailed how the problem was solved
Operative system: Ubuntu 20.04

I also had this problem today, it looks like the auto refresh failed:
$ snap changes
ID   Status  Spawn                   Ready                   Summary
162  Error   yesterday at 14:50 BST  yesterday at 15:01 BST  Auto-refresh snap "gimp"

I reinstalled the snap and now it works fine
snap remove gimp
snap install gimp

I also had this problem today, it looks like the auto refresh failed:
$ snap changes
ID   Status  Spawn                   Ready                   Summary
162  Error   yesterday at 14:50 BST  yesterday at 15:01 BST  Auto-refresh snap "gimp"

I reinstalled the snap and now it works fine
snap remove gimp
snap install gimp

Thanks.  finally i had to remove and reinstall again.  Do you know if this problem is a gimp bug or what causes it?

@wpf500 could you run snap change 162 and paste the output please? That might show where the failure to refresh was...

Looks like the logs are gone unfortunately:
$ snap change 162
error: cannot find change with id "162"

Is there a backup somewhere?

Ah I found this in journalctl:
May 03 14:50:01 wfranklin-laptop systemd[1]: Starting Snap Daemon...
May 03 14:50:01 wfranklin-laptop snapd[1134]: AppArmor status: apparmor is enabled and all features are available
May 03 14:50:02 wfranklin-laptop snapd[1134]: AppArmor status: apparmor is enabled and all features are available
May 03 14:50:02 wfranklin-laptop snapd[1134]: daemon.go:347: started snapd/2.49.2 (series 16; classic) ubuntu/20.04 (amd64) linux/5.8.0-50-generic.
May 03 14:50:02 wfranklin-laptop snapd[1134]: daemon.go:440: adjusting startup timeout by 2m10s (pessimistic estimate of 30s plus 5s per snap)
May 03 14:50:03 wfranklin-laptop systemd[1]: Started Snap Daemon.
May 03 14:50:08 wfranklin-laptop snapd[1134]: storehelpers.go:551: cannot refresh: snap has no updates available: "boxy-svg", "code", "core", "core18", "gnome-3-28-1804", "gno>
May 03 15:00:38 wfranklin-laptop snapd[1134]: taskrunner.go:271: [change 162 "Download snap \"gnome-3-38-2004\" (39) from channel \"stable\"" task] failed: download too slow: >
May 03 15:00:39 wfranklin-laptop snapd[1134]: store_download.go:169: Cannot download or apply deltas for gimp: download too slow: 0.00 bytes/sec
May 03 15:01:35 wfranklin-laptop snapd[1134]: backend.go:575: remove late for snap gimp (347) type app
May 03 15:01:36 wfranklin-laptop snapd[1134]: storehelpers.go:551: cannot refresh snap "gimp": snap has no updates available
May 03 18:40:18 wfranklin-laptop snapd[1134]: storehelpers.go:551: cannot refresh: snap has no updates available: "boxy-svg", "code", "core", "core18", "core20", "gimp", "gnom>
May 03 18:40:18 wfranklin-laptop snapd[1134]: autorefresh.go:479: auto-refresh: all snaps are up-to-date
M

oof. download too slow sounds like a snapd bug.

I've made a Snapcraft forum post to discuss with the snapd developers what the issue might be and how to prevent it in the future:
https://forum.snapcraft.io/t/snap-left-in-unusable-state-after-failure-to-refresh/24253

I have this same bug I guess: /snap/gimp/436/usr/bin/gimp: error while loading shared libraries: libgdk_pixbuf-2.0.so.0: cannot open shared object file: No such file or directory
Nothing seems to fix it.

same here, i'm using ubuntu 24.04
$ lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.1 LTS
Release:	24.04
Codename:	noble

$ snap version
snap    2.66.1+24.04
snapd   2.66.1+24.04
series  16
ubuntu  24.04
kernel  6.8.0-51-generic

I have the same issue with ubuntu 24.04. Switched to sudo apt install gimp with much less download size and works without problems. Sorry, snap, why does the installation via application center of one of the most used applications fail in ubuntu?

Same problem with Ubuntu 24.04. Followed your advice and reinstalled with apt. Works fine ! Thanks !

I also had the same issue with GIMP not opening with the same error logs.  But following the solutions above i was able to resolve the issue and get it working and I also think the issue is with the "snap" since "apt" was able to insatll it without any issue. The solution used is below:
snap remove gimp
sudo apt install gimp
This should work.

Removing/reinstalling left me with the same error.

Did you do remove and install it through the terminal? If not do so through
the terminal, don't use the software installer in Ubuntu. You can purge the
gimp, you can find the commands in the earlier replies and Make sure to
"sudo apt update" before installing again. Before you start the procedures
make sure to restart your PC (there might be some issues after an update,
happened to me multiple times)
On Mon, Dec 30, 2024, 3:44 PM Edward Brown @.***> wrote:

Removing/reinstalling left me with the same error.
—
Reply to this email directly, view it on GitHub
https://github.com/snapcrafters/gimp/issues/149#issuecomment-2565571096,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BFKNBPNOXTD33OI6LE3KDRD2IFL4NAVCNFSM6AAAAABUC3TAUSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRVGU3TCMBZGY
.
You are receiving this because you commented.Message ID:
@.***>

I also had the same issue with GIMP not opening with the same error logs. But following the solutions above i was able to resolve the issue and get it working and I also think the issue is with the "snap" since "apt" was able to insatll it without any issue. The solution used is below:
snap remove gimp sudo apt install gimp
This should work.

This worked for me

Did you do remove and install it through the terminal? If not do so through the terminal, don't use the software installer in Ubuntu. You can purge the gimp, you can find the commands in the earlier replies and Make sure to "sudo apt update" before installing again. Before you start the procedures make sure to restart your PC (there might be some issues after an update, happened to me multiple times)

Thanks for the info. I meant remove/install via snap didn't help. I realise I can install via apt but want to avoid that.

For gimp starts after manual connections
snap connect gimp:gnome-3-38-2004 gnome-3-38-2004:gnome-3-38-2004
snap connect gimp:gtk-3-themes gtk-common-themes:gtk-3-themes
snap connect gimp:gtk-2-engines gtk2-common-themes:gtk-2-engines


[MTLS] Change endpoint format

right now we use
/connect/token/mtls
given that this will affect multiple endpoints, we should do
/connect/mtls/[token|introspection|revocation]
a) easier for our middleware
b) allows for a single HTTPS setting in IIS for /connect/mtls/*

How about we just re-write /connect/mtls/* to /connect/* and apply the challenge for x509. This way anybody can add new MTLS secured endpoints.

done


YJDH-160 | Backend: Adjust audit logging

Description :sparkles:
Audit logging is now saved in the database instead of a file based solution.

Create a model AuditLogEntry to save the audit logs.
Add a log field "provider" where the backend / provider of the actor/user is saved. So for example Azure ADFS / Helsinki profile.
Wrap the create, update and delete methods in atomic transactions so that both the operation and audit logging succeed / fail jointly.

Issues :bug:
YJDH-160
Testing :alembic:
Screenshots :camera_flash:
Additional notes :spiral_notepad:

Codecov Report

Merging #193 (bdfe617) into develop (d2278c2) will increase coverage by 27.90%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##           develop     #193       +/-   ##
============================================
+ Coverage    67.24%   95.14%   +27.90%
============================================
  Files          283       68      -215
  Lines         6078     1915     -4163
  Branches       464        0      -464
============================================
- Hits          4087     1822     -2265
+ Misses        1954       93     -1861
+ Partials        37        0       -37

Impacted Files
Coverage Δ

...seteli/applications/tests/test_applications_api.py
100.00% <100.00%> (ø)

backend/kesaseteli/kesaseteli/settings.py
93.18% <100.00%> (+7.46%)
:arrow_up:

backend/shared/shared/audit_log/audit_logging.py
100.00% <100.00%> (ø)

backend/shared/shared/audit_log/enums.py
100.00% <100.00%> (ø)

backend/shared/shared/audit_log/mappings.py
100.00% <100.00%> (ø)

...shared/shared/audit_log/migrations/0001_initial.py
100.00% <100.00%> (ø)

backend/shared/shared/audit_log/models.py
100.00% <100.00%> (ø)

...hared/shared/audit_log/tests/test_audit_logging.py
100.00% <100.00%> (ø)

backend/shared/shared/audit_log/viewsets.py
91.37% <100.00%> (+0.99%)
:arrow_up:

backend/shared/shared/audit_log/tests/utils.py
40.00% <0.00%> (-20.00%)
:arrow_down:

... and 221 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 d2278c2...bdfe617. Read the comment docs.


Delete AWS_PROFILE, so that boto doesn't try and use it

Had an issue that produced the following stack trace:
raceback (most recent call last):
  File "/usr/local/bin/aws-mfa", line 337, in <module>
    main()
  File "/usr/local/bin/aws-mfa", line 86, in main
    validate(args, config)
  File "/usr/local/bin/aws-mfa", line 235, in validate
    get_credentials(short_term_name, key_id, access_key, args, config)
  File "/usr/local/bin/aws-mfa", line 257, in get_credentials
    aws_secret_access_key=lt_access_key
  File "/Library/Python/2.7/site-packages/boto3-1.4.4-py2.7.egg/boto3/__init__.py", line 83, in client
    return _get_default_session().client(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/boto3-1.4.4-py2.7.egg/boto3/__init__.py", line 72, in _get_default_session
    setup_default_session()
  File "/Library/Python/2.7/site-packages/boto3-1.4.4-py2.7.egg/boto3/__init__.py", line 34, in setup_default_session
    DEFAULT_SESSION = Session(**kwargs)
  File "/Library/Python/2.7/site-packages/boto3-1.4.4-py2.7.egg/boto3/session.py", line 80, in __init__
    self._setup_loader()
  File "/Library/Python/2.7/site-packages/boto3-1.4.4-py2.7.egg/boto3/session.py", line 120, in _setup_loader
    self._loader = self._session.get_component('data_loader')
  File "/Library/Python/2.7/site-packages/botocore-1.5.6-py2.7.egg/botocore/session.py", line 701, in get_component
    return self._components.get_component(name)
  File "/Library/Python/2.7/site-packages/botocore-1.5.6-py2.7.egg/botocore/session.py", line 897, in get_component
    self._components[name] = factory()
  File "/Library/Python/2.7/site-packages/botocore-1.5.6-py2.7.egg/botocore/session.py", line 181, in <lambda>
    lambda:  create_loader(self.get_config_variable('data_path')))
  File "/Library/Python/2.7/site-packages/botocore-1.5.6-py2.7.egg/botocore/session.py", line 265, in get_config_variable
    elif self._found_in_config_file(methods, var_config):
  File "/Library/Python/2.7/site-packages/botocore-1.5.6-py2.7.egg/botocore/session.py", line 286, in _found_in_config_file
    return var_config[0] in self.get_scoped_config()
  File "/Library/Python/2.7/site-packages/botocore-1.5.6-py2.7.egg/botocore/session.py", line 358, in get_scoped_config
    raise ProfileNotFound(profile=profile_name)
botocore.exceptions.ProfileNotFound: The config profile (ptml) could not be found

I could work around it by creating an empty section inside ~/.aws/credentials.  This is possibly a bug in boto3, but this PR provides a cleaner workaround.

Can you please provide some more context around how you get this error? e.g. How your configs are setup, etc. I am unable to reproduce this. The latest version should gracefully handle this. Please let me know. Thanks

Hi @broamski,
This is still an issue:
environment setup:
export AWS_PROFILE=s2s-testing
export MFA_DEVICE="arn:aws:iam::123456789012:mfa/testing"

Then I just run aws-mfa:
INFO - Validating credentials for profile: s2s-testing
INFO - Short term credentials section s2s-testing is missing, obtaining new credentials.
Enter AWS MFA code for device [arn:aws:iam::123456789012:mfa/testing] (renewing for 43200 seconds):123456
Traceback (most recent call last):
  File "/usr/local/bin/aws-mfa", line 348, in <module>
    main()
  File "/usr/local/bin/aws-mfa", line 88, in main
    validate(args, config)
  File "/usr/local/bin/aws-mfa", line 242, in validate
    get_credentials(short_term_name, key_id, access_key, args, config)
  File "/usr/local/bin/aws-mfa", line 264, in get_credentials
    aws_secret_access_key=lt_access_key
  File "/Library/Python/2.7/site-packages/boto3/__init__.py", line 83, in client
    return _get_default_session().client(*args, **kwargs)
  File "/Library/Python/2.7/site-packages/boto3/__init__.py", line 72, in _get_default_session
    setup_default_session()
  File "/Library/Python/2.7/site-packages/boto3/__init__.py", line 34, in setup_default_session
    DEFAULT_SESSION = Session(**kwargs)
  File "/Library/Python/2.7/site-packages/boto3/session.py", line 80, in __init__
    self._setup_loader()
  File "/Library/Python/2.7/site-packages/boto3/session.py", line 120, in _setup_loader
    self._loader = self._session.get_component('data_loader')
  File "/Library/Python/2.7/site-packages/botocore/session.py", line 726, in get_component
    return self._components.get_component(name)
  File "/Library/Python/2.7/site-packages/botocore/session.py", line 922, in get_component
    self._components[name] = factory()
  File "/Library/Python/2.7/site-packages/botocore/session.py", line 184, in <lambda>
    lambda:  create_loader(self.get_config_variable('data_path')))
  File "/Library/Python/2.7/site-packages/botocore/session.py", line 279, in get_config_variable
    elif self._found_in_config_file(methods, var_config):
  File "/Library/Python/2.7/site-packages/botocore/session.py", line 306, in _found_in_config_file
    return var_config[0] in self.get_scoped_config()
  File "/Library/Python/2.7/site-packages/botocore/session.py", line 383, in get_scoped_config
    raise ProfileNotFound(profile=profile_name)
botocore.exceptions.ProfileNotFound: The config profile (s2s-testing) could not be found

This was after doing a pip install -U aws-mfa.
Patched with my patch from above, and the issues is resolved.
Further info:
Mac OSX El Capitan
System python (2.7.10)
aws-mfa (0.0.10) [from pip list]

I'd like to get more insight so we can potentially properly handle this exception. A few questions:

What are the contents of your ~/.aws/config file?

Does your credentials file have a section for s2s-testing?

Can you please provide the version of boto3 you are using via pip show boto3 | grep Version?

Thanks!


Investigate image decoding and deprecated atributes

Looking briefly through the code I noticed that the Yoti attributes might be deprecated. Also, I'm not sure if the image is returned properly. Will investigate once back from holiday.

Should be fixed by #3


Proxmox 7 installation not possible - Pip error

Script
nginx-proxy-manager
Describe the bug
I run the script in the proxmox shell and received following error...i dont know how to fix this but it seems there is a problem with Pip. Please help me i used the default scipt options
System info:

Proxmox Version: 7.1-11
Alpine Version: dont know

Screenshots

Additional context
Please help me to fix this

same here

There is a solution in #74 for this that worked for me

This can be solved by updating pip to version 22.x
For me python3 -m pip --upgrade pip has worked

wasnt that fixable cuz in /etc/enviroment were trash cuz it didnt start with PATH="
what does "dpkg --configure -a" and "apt -f install" say?


[BUG] YOU MUST INSTALL OR UPDATE .NET TO RUN THIS APPLICATION

Acknowledgement of preliminary instructions

[X] I have read the preliminary instructions, and I am certain that my problem has not already been addressed.
[ ] My answer given in the checkbox above is a lie.

What problem did you encounter?

you clicked submit too early lmao

Did you install the .NET runtime?


Create a staging directory on the Salt Master

Clone this repo to /opt/woodscloud-operations, that will be the base directory in Salt configuration.
Later, we'll clone from a Phab instance, to deploy from our infrastructure and not from a third party one.

Works fine.
$ salt-call --local state.apply bootstrap-woodscloud-repo
[ERROR   ] Command 'test -f /opt/woodscloud-operations/LOCKED' failed with return code: 1
[ERROR   ] output:
[ERROR   ] Command '['git', 'rev-parse', '--show-toplevel']' failed with return code: 128
[ERROR   ] stderr: fatal: Not a git repository (or any of the parent directories): .git
[ERROR   ] retcode: 128
local:
----------
          ID: staging_repo
    Function: file.directory
        Name: /opt/woodscloud-operations
      Result: True
     Comment: Directory /opt/woodscloud-operations updated
     Started: 23:08:04.633748
    Duration: 197.932 ms
     Changes:
              ----------
              /opt/woodscloud-operations:
                  New Dir
----------
          ID: staging_repo
    Function: git.latest
        Name: https://github.com/woodscloud/ops.git
      Result: True
     Comment: https://github.com/woodscloud/ops.git cloned to /opt/woodscloud-operations
     Started: 23:08:05.006892
    Duration: 4246.524 ms
     Changes:
              ----------
              new:
                  https://github.com/woodscloud/ops.git => /opt/woodscloud-operations
              revision:
                  ----------
                  new:
                      adbb162fc1008aefda495faa7be3364bfcb7ee94
                  old:
                      None

Summary for local
------------
Succeeded: 2 (changed=2)
Failed:    0
------------
Total states run:     2
Total run time:   4.444 s

On a second run :
$ salt-call --local state.apply bootstrap-woodscloud-repo
[ERROR   ] Command 'test -f /opt/woodscloud-operations/LOCKED' failed with return code: 1
[ERROR   ] output:
local:
----------
          ID: staging_repo
    Function: file.directory
        Name: /opt/woodscloud-operations
      Result: True
     Comment: Directory /opt/woodscloud-operations is in the correct state
              Directory /opt/woodscloud-operations updated
     Started: 23:08:56.644758
    Duration: 29.337 ms
     Changes:
----------
          ID: staging_repo
    Function: git.latest
        Name: https://github.com/woodscloud/ops.git
      Result: True
     Comment: Repository /opt/woodscloud-operations is up-to-date
     Started: 23:08:56.751584
    Duration: 2694.249 ms
     Changes:

Summary for local
------------
Succeeded: 2
Failed:    0
------------
Total states run:     2
Total run time:   2.724 s


Remove Codecov from standard test; gcov C++

This PR will stop npm test from running codecov, and also provide coverage of C++ files via gcov

Codecov Report

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

@@           Coverage Diff           @@
##           master     #445   +/-   ##
=======================================
  Coverage   48.83%   48.83%
=======================================
  Files          36       36
  Lines        2152     2152
=======================================
  Hits         1051     1051
  Misses       1101     1101

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 46b82eb...3b43c0f. Read the comment docs.

LGTM


feat: Support batch stake and unsake

Summary
feat: support one-click functions for claim

LGTM, Please add a test if you have time. Thanks for your congratulations.

added it.


Your Methods have no Body 77 Errors

Which VS Version?
I think it's because i used C# 6 features like Expression bodies

Hi,
I am using visual studio 2013
i have 141 Errors
attached screen shots..

Can you try VS 2015?

I just tried to compile the project in visual studio 2015 => Build: 2 succeeded, 0 failed, 0 up-to-date, 0 skipped.
@fizmhd I think, you just need use Visual Studio 2015, because project contains C# 6 features :)

Hi,
Excuse me Mr Round Robin.
I am Persian language and Iranian them. Please let me help her in Farsi.
سلام. دوست عزیز شما برای استفاده از این ای.پی.آی , باید از ویژوال استادیو 2015 به همراه دات نت فریم ورک 4.5 استفاده کنید.
بهترین راه حل برای استفاده از این ای.پی.آی استفاده از دستور زیر در کامندر خود ویژوال استادیو هستش.
چون نیازمندیهاش رو خودش نصب میکنه و در صورتی که آپدیت بشه راحت میتونی با جابجایی یه فایل دی.ال.ال سریعتر کارت رو پیش ببری.
Install as NuGet package:
Install-Package Telegram.Bot

installation link:
https://www.nuget.org/packages/Telegram.Bot/

Hi,
Its about 10 hours that my bots are not working.I have been installed telegram.bot.dll and other categories from Mr.Round Robin Nugets post and use webhook method to receive and answer for my bots.
but unfortunately unexpectedly all my bots were stopped several hours ago.I checked my the SSL ,It was ok.I dont realy undrestand the problem

so, do you have any errors, exceptions or other logs? can you confirm that your webhook receives any requests from telegram?
has this anything to do with this issue?

from https://telegram.me/pwrtelegram
Hello.
Please reset the webhooks of all of your bots, because they were all reset by the telegram bot API.
This request applies both to bots that use the official bot API and bots that use the PWRTelegram bot API. You do not need to reset the webhook if you are using long polling (getUpdates).
The webhooks were probably reset because Telegram's making some server side changes or simply messed up the webhook database.

Share this message around to all of your groups and channels, please.

hello MrRoundRobin
I dont receive any webhook request on my server from telegram so I dont get any errors.
I have reset one of my bots token ,actually i delete my bot and again create a bot with the same username , but still it doesnt work.
Mr Gorniv did you test it ?i thenk it doesnt work

so if you have set the webhook correctly and don't get updates that is a problem is not related to the library. maybe check this faq and ping BotSupport

Thanks for your reply
I had ping BotSupport and after several hours they replied me :
"Hi, we had an issue last night that caused this problems If you call again setWebhook, it should be solved."
I revoke my tokens and set them again and the problem solved easily.It seems it was not necessary to revoke but i have done that before getting BotSupport help.

Hi, I try many times but unable to ping the bot to my code part, but earlier it was working fine now its not working.

Anyone can help with this? Everything in the code is correct but still not getting a response from the bot? I check the windows firewall and Telegram.dll and bot.dll and every solution but still not working?
using System;
using Telegram.Bot;
using Telegram.Bot.Types.Enums;
   namespace HelloBot
{
    class Program
    {

    static string token= "******";

        static TelegramBotClient Bot = new TelegramBotClient(token);

    static void Main(string[] args)
    {
        Bot.StartReceiving();
        Bot.OnMessage += botmessage;

        Console.ReadLine();
    }

    private static async void botmessage(object sender, Telegram.Bot.Args.MessageEventArgs e)
    {

        if (e.Message.Type == MessageType.Text)
        {
            await Bot.SendTextMessageAsync(e.Message.Chat.Id, "Hello "+e.Message.Chat.Username);

            Console.WriteLine(e.Message.ToString());

        }
    }

    }

}


Truncate LRP failure reason to 10,000 characters.

A failure reason is generated by user provided LRPS. This could be
abused either maliciously or unknowingly to cause resource issues in
Cloud Foundry.
For example, a large failure reason (from a stack trace) caused memory
contention downstream in the CCDB. See https://github.com/cloudfoundry/cloud_controller_ng/pull/2370
CAPI has mitigated this already but this adds protection to intermediate
steps in the CF stack.

We added a commit to truncate the middle of the crash reason rather than the end.


Error install plugin in Visual Studio

I can't install this plugin in Visual Studio 2015. (Error: Visual Studio can't analyze plugin.xml)

try adding this xmlns:android="http://schemas.android.com/apk/res/android" at line 3 after
xmlns:android="http://schemas.android.com/apk/res/android"


AuthenticationManager.SignOutAsync broken in beta6?

From @r2musings on July 28, 2015 15:29
In beta4, I was able to logout a user with Context.Response.SignOut(..).  This method did not appear exist in beta6.  So, I switched over to Context.Authentication.SignOutAsync(..) and instead of logging the user out and dropping them on the Office 365 login page as I was expecting, it just throws them back to the Home page still logged in.
Is SignOut broken or should I be doing it a different way?
I created a SO post on this at:  http://stackoverflow.com/q/31679790/4149685
Thanks for any guidance on this.
Copied from original issue: aspnet/HttpAbstractions#355

Based on the answer to the Stack Overflow referenced in my original question, I am no longer calling RedirectToAction in the LogOut of my Controller.  This resolves the issue for me.


Internet Explorer supported?

Sorry for the dumb-ass question, but I can't make any of the QuaggaJS examples work in any version of IE. I've tried IE11/10 in Windows 8.1 & IE on Windows Phone 8.1.
All of these browsers support the File API and Canvas, so I figured the images should be getting into Quagga, just no further?

I haven't paid any attention to IE so far, but I was curious enough to try after your question. And indeed, it did not work for me either (IE11). There is no visible error in the console, nor any other indication why it should not work.  The problem in IE <= 11 is, that it does not support Math.imul (see here) out of the box. This must be solved using a polyfill, which you can include yourself if you want.
If I find more time, I'll continue digging around in the IE case. But it is not high on my priority list, simply because most of the awesome features are going to be included in Microsoft Edge anyway :smiley:

Thank you - that's helpful. My reason for asking is that we're working on an implementation of QuaggaJS that we're hoping we can make work in a web app on mobile devices - this necessitates operation on at least iOS, Android and Windows Phone.
Performance isn't too much of an issue because we're unlikely to be using getUserMedia at the moment due to lack of cross-browser support, so I'll take a look at the polyfill and see if we can get it to work.

@tyrex1975 - any luck with this?  I'm about to try the same.  I was debugging a prettified version of the minimised JS in the examples and figured I should check the issues list instead :)  I'll probably get around to trying this in the next few days and will report back if you don't first.

Hi Ian - yes the Math.imul polyfill described in Serratus' post pretty much does the trick, that should be all you need.

Thanks - that's great to hear :+1:

With the newest update of quagga (e5acf19e08c34ef4c63d95061810bc7781f2108e), the Math.imul polyfill is now included in the package. So, there is no need for any additional code to work within IE browsers. I've also fixed the problem with web-workers, making it safe to use with any number of workers.

@Serratus: am just looking into the new update of quagga, still am facing issue while using IE browser, error: SCRIPT5022: SecurityError, HTML7007: One or more blob URLs were revoked by closing the blob for which they were created. These URLs will no longer resolve as the data backing the URL has been freed.

@KarthikDP Which versions (IE and Quagga) did you try?


Typography - bold style usage

If a typeface has it's own bold weight, don't let the browser determine the font weight.
Notice how blur the text in navigation are, and that alphabets are bumping into each other in the built:

Modify font family names should fix this:

substitution could be "Georgia-Bold"

Worked in Safari
in Chrome somehow the text are really blurred

navigation links work in Safari and chrome. looks like the active page title is having the same problem, and it can't be clicked on book page?

The top page name is still having the same bolded problem as the navigation links use to have: it's bolded by adding outline by the browser, not calling the actual bold weight of the font - alphabets are bumping into each other.

@xinyil Not sure how you are getting that on the top page name? Looks like it is using the font-family bold and the font-weight is set to normal...

ah it's letter spacing!

I can't get to the values, says the style is inherited, but it definitely looks bolder than the navigation title in both Sarafi and Chrome.
remove letter spacing
substitution font should also be the bold one such as  "Georgia-Bold"

@xinyil I believe you are seeing some odd issues with the differing bold based on your .mov, but I am not able to replicate it at all! I have updated the letter-spacing and tried to find the closest web fonts available for the -Bold, -Italic. Those aren't common typesets for the web... typically there would be a basic Family and with different styles included, not a completely separate set dedicated for a style. I tested and found that Georgia-Bold and Georgia-Italic are available as well as Helvetica-Bold and Helvetica-Oblique (I know oblique isn't the same as italics, but there wasn't a Helvetica-Italic that loaded). Arial doesn't have separate sets at all, so I substituted with Tahoma-Bold. I was unable to find a sans-serif font that had an italic or oblique set.

@kevinglover Thanks for diving into of world of fonts!
Many sans-serif typefaces only have Oblique, that's just slanted shape from roman, so they don't have a whole set of glyphs that are designed to be italic like Humanist sans-serif typefaces do.
Verdana-italic seems to work, although I don't know if we should add italics when calling the font. Do you find browser handle italic style well?

@xinyil Browsers seem to handle italics fairly well, although not when we explicitly set a glyph set (a italic font-family with an italic font-style). That's where we got the odd rendering of fonts that were extra bold or had a text outline. Since we are taking the route of setting the font-family for each type, we just have to adhere to that pattern for the fallback font stack. If we are confident the embedded webfonts will load, then this is more of a precaution.

Adding -webkit-font-smoothing: antialiased will fix the issue.
a post on this:
http://usabilitypost.com/2012/11/05/stop-fixing-font-smoothing/

WebKit gives designers three font smoothing modes:

Nothing, which gives you jagged fonts
Subpixel-rendering, i.e. the default font smoothing mode that is used for most other stuff on your desktop OS (mobile devices don’t use subpixel rendering due to having to suport both vertical and horizontal screen orientations)
Antialiased, which disables subpixel-rendering and smoothes the font on the level of the pixel, as opposed to the subpixel.

I tried in Chrome, and it will solve #143 as well.
We might still declare default weight and style to normal (see comment in #143 ).

@xinyil just to confirm - we want to try this on all light-on-dark text?

@thatbudakguy that sounds right


Show hint text everywhere it exists

I don't like the spacing between the title and the hint text on the name question. 🤔

I don't like the spacing between the title and the hint text on the name question. 🤔

You can set a margin_bottom: 3 on L16

I don't like the spacing between the title and the hint text on the name question. 🤔

Agreed! Let's shrink the headings first and check again - we can apply spacing override classes if we need to


Attack range now shows with melee/no weapon equipped

Also the tile you are stood on is no longer included in the highlighted area, which in my opinion doesn't look as visually pleasing

Fixed with 5ac533f and 15d9442


Policies page enhancements

@chipzoller , @JimBugwadia, I made a few improvements based on some cards that Chip created.
Improvements

Add note to the top of the policies page
extend code blocks' width
Improve filter on mobile
Add a back to all policies button
Remove url query from policy single pages

@onweru Looks good, and thanks much! One thing I see is the code block functions don't seem to be active on mobile. Is that by design? Also, the wrap line function doesn't seem to be taking into consideration the expanded code block window. See with https://deploy-preview-255--kyverno.netlify.app/policies/other/unique-ingress-paths/

@onweru Looks good, and thanks much! One thing I see is the code block functions don't seem to be active on mobile. Is that by design? Also, the wrap line function doesn't seem to be taking into consideration the expanded code block window. See with https://deploy-preview-255--kyverno.netlify.app/policies/other/unique-ingress-paths/

@chipzoller, I'll double check that.

@onweru awaiting checks...

Looks great, thanks @onweru!


[frontend] operation module (sql record) finished

operation module (sql record) finished

Codecov Report
Base: 73.83% // Head: 73.83% // No change to project coverage :thumbsup:

Coverage data is based on head (002cf1b) compared to base (fac5155).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##               main      #15   +/-   ##
=========================================
  Coverage     73.83%   73.83%
  Complexity     1430     1430
=========================================
  Files           154      154
  Lines          5889     5889
  Branches        670      670
=========================================
  Hits           4348     4348
  Misses         1261     1261
  Partials        280      280

Flag
Coverage Δ

unittests
73.83% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Ignore number stored as text errors

Before this pull request, when a number is stored as text, Excel displays errors (with a green triangle in the top left corner of the cell).

After this pull request, the errors are gone.

Thanks, @0xced.

Thanks for the heads up!


In admin-area user page, sort users

I'd say:

current superuser first,
other superusers next, sorted by some property
normal users next, sorted by the same property

The property can be either ID or email

Done in 5e1fa857ffb1bf70839f8a8272bc3374bc6cc4c5. I've sorted by email, there is a unit test for the sorting.


python311Packages.optax: fix build and bump version

Description of changes

https://github.com/NixOS/nixpkgs/commit/2c3b68180ad12169d3fd32ea2da2ab1ef3c82194 (an update from 0.1.7 to 0.2.1) breaks the build as https://github.com/google-deepmind/optax/commit/f0dfdaa8fa3d673aa56882da2edc26f93834bdf3 removed setup.py in 0.1.9. This PR switches to the pyproject format and also bumps the version. Note that this PR depends on https://github.com/NixOS/nixpkgs/pull/297146.
Diff: https://github.com/google-deepmind/optax/compare/refs/tags/v0.2.1...v0.2.2
Changelog: https://github.com/deepmind/optax/releases/tag/v0.2.2
cc @mweinelt
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Superseded by https://github.com/NixOS/nixpkgs/pull/297146.


Can't load DMF with duplicate elements

BYOND apparently not only allows this, but still displays both options and they both work as expected:
elem "icon64"
    name = "&64x64 (2x)"
    command = ".winset \"mapwindow.map.icon-size=64\""
    category = "&Display"
    can-check = true
    group = "size"
    saved-params = "is-checked"
elem "icon64"
    name = "&48x48 (1.5x)"
    command = ".winset \"mapwindow.map.icon-size=48\""
    category = "&Display"
    can-check = true
    group = "size"
    saved-params = "is-checked"
    ```

   Need to make a test case to see if BYOND can only refer to the first or the last element with name `icon64`.

I tested in BYOND with:
menu "menu"
    elem "foo"
        name = "Show Popup"
        command = ".winset \"testwindow.is-visible=true\""
        category = "Menu"
    elem "foo"
        name = "Hide Popup"
        command = ".winset \"testwindow.is-visible=false\""
        category = "Menu"

usr << "[json_encode(winget(usr, "menu.foo", "category"))]" returns an empty string
usr << "[json_encode(winget(usr, "menu.*", "category"))]" returns both elements


fix: update to eye v10.19.8

fix: update to eye v10.19.8

:tada: This issue has been resolved in version 16.20.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release
v16.20.2

Your semantic-release bot :package::rocket:


ECER-2932: Wording mismatch in stepper

Description

Copy changes

Related Jira Issue(s)

ECER-2932

Checklist

[X] I have tested these changes locally.
[ ] Changes to backend endpoints are covered by passing integration tests.
[ ] I have added or updated the necessary documentation.

Screenshots (if applicable)
Include screenshots to demonstrate the changes visually.
Additional Comments (optional)
Any additional context or information that might be helpful for the reviewer.

I think we will also have to do these changes to the renewal flows too?

Right... Good catch will update those now!


Could someone do me a favor to tell me how the energy eq. (6) is obtained?

Hi,
I am reading the technical report. In Eq(6), it is said that $\bar{H}{k+1} = \bar{H}{k}$ holds.
Could someone tell me why it holds?
Thanks in advance!

Solved. Thanks.


document browser usage

We should document the various <script> tags one needs, and the various aliases one may wish to define (e.g. window.S = window.sanctuary).

One blocker to this is that things like pipe() barf on special DOM objects:
Uncaught TypeError: Unrecognized value

pipe :: Array Function -> a -> b
                          ^
                          1

1)  [object HTMLButtonElement] :: (no types)

The value at position 1 is not a member of any type in the environment.

The environment contains the following types:

  - Function
  - Arguments
  - Array ???
  - Boolean
  - Date
  - Error
  - Null
  - Number
  - Object
  - RegExp
  - StrMap ???
  - String
  - Symbol
  - Undefined
  - FiniteNumber
  - NonZeroFiniteNumber
  - Either ??? ???
  - (??? -> ???)
  - GlobalRegExp
  - NonGlobalRegExp
  - Integer
  - Maybe ???
  - Pair ??? ???
  - RegexFlags
  - ValidDate
  - ValidNumber

Good point, @krainboltgreene. We should include an example such as the following:
const {create, env} = window.sanctuary;
const $ = window.sanctuaryDef;

//    HtmlElement :: Type
const HtmlElement = $.NullaryType(
  'my-package/HtmlElement',
  '',
  x => /^\[object HTML.*Element\]$/.test(Object.prototype.toString.call(x))
);

const S = create({
  checkTypes: true,
  env: env.concat([HtmlElement]),
});

S.I(document.body);  // works!

@davidchambers I think we should also explain why such a type isn't included by default.


how to support multi threaded jblas

Is it possible to give a detailed tutorial for  the multi threaded version jblas? Thanks.

Hi wudikua,
you have to recompile ATLAS for with multithread support. Unfortunately, it has been quite a while since I last did this, so I'd need to dig into that as well... .


Adds front-end page for custom settings

Simple form with CSS styling.
@ptai7 , @chrisc94 , @maricarol3355 , @cjhbh3

Can you include a link to the deployed website? Especially since this is an interface change.


head() method doesn't return anything

My code :
$curl = new CurlWrapper();
$response = $curl->head('https://google.com/');
echo $response;

Output : blank page
However, when I edit the method setDefaultOptions() and set CURLOPT_HEADER to TRUE, it works and it returns :
HTTP/1.1 301 Moved Permanently
Location: https://www.google.com/
Content-Type: text/html; charset=UTF-8
Date: Sat, 13 May 2017 08:21:37 GMT
Expires: Mon, 12 Jun 2017 08:21:37 GMT
Cache-Control: public, max-age=2592000
Server: gws
Content-Length: 220
X-XSS-Protection: 1; mode=block
X-Frame-Options: SAMEORIGIN

Is this a normal behavior ?
Thanks.

Yes, it is normal.

The HEAD method is identical to GET except that the server MUST NOT return a message-body in the response. The metainformation contained in the HTTP headers in response to a HEAD request SHOULD be identical to the information sent in response to a GET request.

More info here: https://www.w3.org/Protocols/rfc2616/rfc2616-sec9.html


Sema: Allow non-final classes to satisfy properties and subscripts with covariant Self

Hopefully, whatever complications were impeding this in 926e3711d0dc are long gone.

Should I be adding some execution tests?

@swift-ci please smoke test

@swift-ci please smoke test and merge

@swift-ci please smoke test

@swift-ci please smoke test Windows


[Bug] Forward and backslashes are being mixed up when hosted on Windows

Description
When hosting FOSSBilling on Windows using Apache via Xampp, templates can't be found because forward and backslashes are both used like in "Unable to find template "page_name.html.twig" (looked into: C:\xampp\htdocs\fossbilling-dev/themes\theme-name\html)". This is probably because Linux as the hosting OS is assumed and Linux uses forward slashes, while Windows uses backslashes for paths.
To reproduce
Steps to reproduce the behaviour:

Install FOSSBilling on Windows using Apache via Xampp
Create a theme where a file is missing
Make sure debug mode is enabled
Send a GET request to the url that should be showing this theme file

Expected behaviour
Only forward slashes should be used on Linux and only backslashes should be used on WINNT.
Screenshot
https://i.imgur.com/x9jaLjU.png

Resolved by #671

I have just found that there are more places where this happens.

I think

https://github.com/FOSSBilling/FOSSBilling/blob/main/src/install/install.php#L85
It is the same

No if is is only the installer that is the issue we should only update it there... For access via the web / is still good enough

https://github.com/FOSSBilling/FOSSBilling/pull/675
Should work fine can't test ... And it is to much work to setup a vm for it...


Bug when bumping pre-label

My parse, serialize and [tool.bumpversion.parts.pre_label] are pretty much a paste-in from the Automate the pre-release numbering section of the docs:
Configuration
parse = """(?x)
    (?P<major>0|[1-9]\\d*)\\.
    (?P<minor>0|[1-9]\\d*)\\.
    (?P<patch>0|[1-9]\\d*)
    (?:
        -                             # dash separator for pre-release section
        (?P<pre_label>[a-zA-Z-]+)     # pre-release label
        (?P<pre_n>0|[1-9]\\d*)        # pre-release version number
    )?                                # pre-release section is optional
"""

serialize = [
    "{major}.{minor}.{patch}-{pre_label}{distance_to_latest_tag}",
    "{major}.{minor}.{patch}",
]

[tool.bumpversion.parts.pre_label]
values = ["dev", "rc", "final"]
optional_value = "final"

My show-bump shows pre_label bumping up to rc as expected:
Pre-bump State
$ bump-my-version show-bump
0.1.2-dev2 ── bump ─┬─ major ───── 1.0.0-dev2
                    ├─ minor ───── 0.2.0-dev2
                    ├─ patch ───── 0.1.3-dev2
                    ╰─ pre_label ─ 0.1.2-rc2

After Bump
Instead of bump-my-version bump pre_label giving me 0.1.2-rc2, I get rc2 inserted in front of dev2
[tool.bumpversion]
current_version = "0.1.2-rc2-dev2"

The docs don't show any changes to the parse value. Am I missing something?
Originally posted by @dougscc in https://github.com/callowayproject/bump-my-version/discussions/271

The bug happens when the labels of the parsing do not match the labels of serialization, and the value is required.
In this example, when the pre_label is dev or rc and the pre_n value is greater than 0, it evaluates the labels_for_format against the version.required_components().
The required labels are {'patch', 'pre_label', 'minor', 'pre_n'}, while the correct serialization labels are {'minor', 'distance_to_latest_tag', 'patch', 'pre_label', 'major'}. The pre_n and the distance_to_latest_tag are equivalent but not currently recognized. When this happens, it defaults to the "{major}.{minor}.{patch}" format.


Fix path to build dir in run-debug.sh

I prefix all the scripts with ./.
So I applied an additional patch and merged:
diff --git a/run-debug.sh b/run-debug.sh
index 4525835..71e30a1 100755
--- a/run-debug.sh
+++ b/run-debug.sh
@@ -8,4 +8,4 @@ cd "$(dirname "$0")"

 xcodegen # https://github.com/yonaskolb/XcodeGen
 ./build-debug.sh
-.build/AeroSpace-Debug.app/Contents/MacOS/AeroSpace-Debug
+./.build/AeroSpace-Debug.app/Contents/MacOS/AeroSpace-Debug

I prefix all the scripts with ./.

I'm wondering why.

Because otherwise, it might look like you're trying to run a program from the $PATH. When you see ./something you immediately understand that it's an executable file that is located relative to PWD.
The second point is that if the script is located in the PWD. Then you can't run it by just doing script, right? You need to do ./script. So it's a unification. All non-$PATH scripts are run with ./ prefix
I won't be surprised if the rule I'm describing is checked by some of the shell linters


Python impl

WIP to evaluate the effort to port the original implementation to Python.

As this is the first implementation other than the original one there are a few changes/improvements to the testing setup.
As soon as we consolidate and close the remaining issues I'll add detailed instructions on how to add a new language.

FYI: getting to Level 4 and passing all of the tests took just a few hours 🙂  (with the initial help of ChatGPT).
This was an experiment to evaluate the effort of adding more languages, I'm pretty satisfied!
cc. @baywet @darrelmiller

my python is weak. Maybe @samwelkanda can help with this one?
Sam: the goal here is to come up with a bunch of canonical implementations that'd be hosted under the organization that owns the RFC and would be really lightweight. Finding good URL template implementations that don't bring tons of other things and are maintained has been a challenge across languages.

probably going to drop this implementation, as I'm going to care a bit more about performance.

Superseded by #11


Bypassing the lock UI

Is there a way to bypass the lock UI and directly authenticate with a social provider?
In my app, I have buttons 'login to Facebook', and I hope to be able to have the user not need to tap twice (once on login to Facebook, then on Auth0's login to Facebook button).

There is a method in lock https://github.com/auth0/react-native-lock/blob/master/auth0-lock.js#L40 to authenticate with a specific connection without showing lock. Sadly it only works in iOS now.
We are evaluating adding it for Android but no ETA


When install @slidev/cli globally, we are forced to globally install @slidev/client and katex

Describe the bug
https://github.com/slidevjs/slidev/blob/2acab57e93b069a35541a4598df37a6c576b1d28/packages/slidev/node/plugins/extendConfig.ts#L57-L60
The L58 code resolves to extenal dependancy of slidev/cli and not internal ones, running slidev trigger the following error :
Error: Cannot find module<EMAIL_ADDRESS>
But client is already install as internal dependancy in :
/home/alex/.local/lib/node_modules/@slidev/cli/node_modules/@slidev/client/

This force us to install @slidev/client and katex globally to get rid of the module error (but i think is not the intended behavior).
To Reproduce
Steps to reproduce the behavior:

npm install -g @slidev/cli
create slides.md
slidev
answer yes to install default theme globally

Desktop (please complete the following information):

OS: arch linux
Browser: firefox
Slidev version: 0.27.13

I think we should rewrite a new resolveGlobal function (another issue #403)?
And when global installed, resolve the @slidev/client from __dirname.


MB-9844 cleanup

Description
Consolidated some styles and a component. Fixed a lot of import paths (I don't think I got all of them, I only did the ones in the files I touched).
Reviewer Notes
Everything still look ok?
Setup
Add any steps or code to run in this section to help others prepare to run your code:
make office_client_run
make server_run

Code Review Verification Steps

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] Tested in the Experimental environment (for changes to containers, app startup, or connection to data stores)
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change

Screenshots
If this PR makes visible UI changes, an image of the finished UI can help reviewers and casual
observers understand the context of the changes. A before image is optional and
can be included at the submitter's discretion.
Consider using an animated image to show an entire workflow instead of using multiple images. You may want to use GIPHY CAPTURE for this! 📸
Please frame screenshots to show enough useful context but also highlight the affected regions.

Messages

:book:
:link: MB-9844

  Generated by :no_entry_sign: dangerJS against f8930445ad38684ae092f354597c4700de71652d


Make cycle information available to the client

This allows the clients of llbuild to decide how to present cycle diagnostics instead of doing this internally. When using the llbuild CLI, the previous way of reporting cycles is retained.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Phrase all settings in human English

I sentence well, very. Ik spreek perfect English, native like.
When is this closed?

The todo is deferred. I have the fork to chip away at it.


Call Spots Diagnostics

New call spots has many independent steps in each iteration, so need to be able to see what each one is doing.

Maybe you can store this in the notebook in the future? Once we have them in the notebook it will be easy for us to build any diagnostics we want for them in the future.


Added single quote to last option for registering

az provider register --namespace 'Microsoft.AzureArcData'

@EricBuMSFT : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Looks good; thanks @EricBuMSFT.


Pages Router catchAll route with fallback:false cause 404 on api route

My company has a large project built with Next.js 12. As Next.js 12 is now outdated, we updated our project to Next.js 14 while keeping the Pages Router structure. Previously, we were using cdk-nextjs-standalone to deploy the application to AWS, and everything was working fine.
However, after upgrading to Next.js 14 and deploying, our API routes topped functioning. To resolve this, we decided to migrate to the SST framework (v3). Despite completing the migration and configuration, our API routes are still not working and continue sending us to 404 page.
Versions:
Next.js: v14.2.20
SST: v3.3.65
OpenNext.js: 3.2.2

Steps Taken:
Updated Next.js from v12 to v14 (keeping the Pages Router structure).
Migrated deployment from cdk-nextjs-standalone to SST (v3).
Configured the SST project following the documentation.
Even after successfully deploying the project with SST v3, our API routes are unresponsive.
Another point to add is that we performed a fresh install deployment of Next.js v15 using the Pages Router, and the APIs are not working either.

You need to provide more info here or even better a reproduction.
What's in your next-config ?

My project is a monorepo with Lerna

Are you using tRPC or anything special with those API routes?

Whats in your package.json?

Hi,
The issue also happens on Next 15 (Pages Router).
Steps to Reproduce

Create a project using the create-next-app
Add a catch-all dynamic route at the top level of the pages directory
Make sure there is at least one API route in the pages/api directory

Environment

Node.js
20.14.0

Next.js
15.1.0

SST
3.4.2

OpenNext
3.2.2

Are you using fallback:false ?

Are you using fallback:false ?

Yes!
There is also a dynamic route using fallback: blocking (in the monorepo project mentioned by @gabriel-wow ) that works fine.

We need to change that, right now catchAll fallback:false route takes precedence over everything else.
As a workaround set it to fallback:true and return notFound for paths you don't want https://nextjs.org/docs/pages/api-reference/functions/get-static-props#notfound

Got it! We'll make the changes, and update this thread with the results.
Thanks for your quick reply @sommeeeer @conico974

Hi,
Your tip did the trick... Both Pages and APIs are working as expected.
Out of curiosity... Are you guys planning to release a fix soon?
Big thanks for your help!!!  And since there is a very simple workaround it's not high priority.
I'll keep this open until we fix it, but i'll rename the issue

Hi @sommeeeer @conico974,
Thank you so much for help and the quick response, it seems to have worked!!


PAGO -  The job location displayed on scraper-UI is "Bucharest" instead of "Bucuresti"

ENVIRONMENT: production
URL: https://scrapers.peviitor.ro/
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the URL in the browser
Search for "pago" Company
Click on "Run Scraper" button
Check the job locations

EXPECTED RESULTS:
The job locations displayed on scraper-UI should be "Bucuresti".
ACTUAL RESULTS:
The job location displayed on scraper-UI is "Bucharest" instead of "Bucuresti"
ATTACHMENTS:

This is not a bug, the end user will not see the scrapers-ui result only the result from the peviitor.ro "https://peviitor.ro/rezultate?company=pago&country=România&page=1".

fixed can you retest

Retested, all good.


search behaviour

Currently when you search on  "protein kinase" in Amigo
GO:0004672 Name	protein kinase activity
is not one of the term suggestions
is the best way to improve this to add "protein kinase"  as an exact synonym, or is these a  better way?

Furthermore, it isn't even the top hit if I type the whole term  name (protein kinase activity), which is a tad bizarre???

The is already captured in a lot of other tickets, including #102.


How to make a hack undetected

My question is how to compile a hack undetected

Osiris is undetected. Just compile it and enjoy!

k thanks


Is it possible to make (or add the feature to make) the calendar view in a weekly instead of monthly base?

I am making my own weekly review note and an entire month of recap as in the current month view is a bit much. It would fit better if a simpler week-by-week view were available.
Current Behavior

Possible Solution
One solution could be to set the startDate to the start of the week and only show the corresponding week

Adding +1 to the feature request.
Ideal requirements would also include:
It would be nice if we could use Month: with start and end date, and then have the map render based on the number of dates in the data set, in multiples of 7, up to the full month.
So if I have a data set that runs from Sunday - Saturday, it shows a single week.  If it runs Wednesday - Tuesday, then it renders it as 2 weeks.  If it's 15 days long, and runs Tuesday - Monday, it shows 3 weeks.
Dates that are rendered but not part of the dataSet window because of this could be shown in a muted red color that matches the "off" days.
If a dataSet is more than a month, or crosses over months, then you should render the calendar as normal.


Task: Dialect Detection | Subtask: Arabic

This adds a new classification task (dialect detection) and sets up the subtask for Arabic dialects: Gulf, Levantine, Maghrebi, Egyptian, and Modern Standard Arabic (MSA)
I don't include a citation in the subtask yaml. Let me know if I should cite one or multiple papers on this
What can we use to train an adapter? Here's a post that I wrote comparing Arabic dialect datasets: https://medium.com/@mapmeld/embeddings-for-arabic-dialect-classification-1cf84f336044
Dataset options

Qatar University’s DART
University of British Columbia (no Maghrebi labeled data)
Johns Hopkins University
Combination (had best global accuracy)

Hi @mapmeld,
Thanks for your contribution! The files you added both look good.
Do you plan to add an adapter for this dataset? It would be great to merge an adapter together with the task description to show an example/ baseline adapter performance for this task and also to avoid adding empty tasks.

I would add one; currently I'm working through your tutorial. I'm trying to make a PyTorch Dataset and convert each row of the CSV into something which would be accepted by the model, got stuck
https://colab.research.google.com/drive/1iGRRWpDK1ye6FiWZVvTYkdViYVXnZLcv?usp=sharing

Great!

I'm trying to make a PyTorch Dataset and convert each row of the CSV into something which would be accepted by the model, got stuck
https://colab.research.google.com/drive/1iGRRWpDK1ye6FiWZVvTYkdViYVXnZLcv?usp=sharing

The error I see in your notebook exists because the model expects the input features of each dataset sample to be named input_ids rather than sentence, i.e.:
class Result():
    def __init__(self, x, y):
        self.input_ids = x
        self.label = y

Otherwise, training seems to run fine for me.

@calpt thanks for your feedback! I've added an adapter which I've trained. The notebook link from earlier documents the updated training / evaluation process.


AUDIO: Audio fails to work in 2nd cycle (of loop mode)

Original ticket:
https://sourceforge.net/p/djv/bugs/100/

This should be fixed with the new audio system.

Just a sidenote: I have the impression this problem also occurs in 2.0.3 with clips containing no audio. Awaiting 2.0.4 to see how it works.


When Mesh in the RigidBody moves left or right by setLinvel, Mesh moves out of sync with the RigidBody, causing Mesh to shake back and forth

wrong position left

wrong position right

right position

The mesh position is interpolated to allow smoother simulations on all framerates.
What happens if you do interpolate={false} or timeStep={'vary'}?

Duplicates #181

thanks


Allow multiple connections to be defined

@blaisedufrain thanks a ton for doing this! Could you provide me with a better description of what it is you're changing and adding?

I added some to the read me.  I am adding the ability to boot eloquent for multiple named connections.  For example if you need to connect to a second mysql instance in the same request depending on the eloquent model.  See https://laravel.com/docs/5.4/database#using-multiple-database-connections.
In my case I want to pull a record from one mysql instance, transform it, and save it as a new record in a different mysql instance.
I added a new function to allow a user to create multiple connections by passing an array of connection configurations.  This is a non breaking change, as a configuration using your original structure will continue to produce a single connection, but if you set a new config option multiple_connections to true, then it will run the new process.
Let me know if you need more.

Is there anything else you needed for this?  Everything look ok?

@blaisedufrain apologies. I will have one last look tonight and merge :)

I'm actually going to close this PR and open an identical one coming from a non master branch from my repo.  That way I can use my master branch on the forked repo while waiting on this to merge.  Sorry for confusion.


Add conformance tests for web

Add conformance tests for web. Uses webdriverio package to spin up local browsers and run tests. Currently tests on Chrome, Firefox and Safari (if available).

We only run 28 tests - is this correct, or are we inadvertently skipping important tests with our config?

This is because we are still at rc1 and rc2 has a bug which is fixed in the latest runner. The latest runner runs 946 tests with the same config.

Debugging browser tests - can we get access to the network inspector and logs?

Yes added a section for running on a local browser, we can get access to both.

Transports from @bufbuild/connect-web on Node.js - it supports fetch, and running the transports on Node is a valid use case that we cover with the make target testwebnode. How can we replace this coverage with conformance tests?

Good point! I just included node as a browser option. Seemed straightforward. There's some more code we can share but I'll do that change in the conformance client PR for cloudflare.

Great idea! Also added a flag to open the devtools on startup in local mode.


Input size is 224x224 instead of ~80x80 for mini-imagenet?

Hi,
Thanks for your greate work! It seems that the defualt input image size for mini-imagenet in the released code is 224x224. Are the results of the paper all use 224x224 as input for mini-imagenet? Thanks!

Hello,
This is because ViT backbones work better with 224x224. With this change, TBH it becomes tricky to compare applies to bananas so it would be better to redo ResNet mini-Imagenet experiments with 224x224. We recommend to use our PMF setting as a new setting (i.e., introducing self-supervised pre-training) to few-shot learning and only compare methods in this new setting.

Got it. Thank you very much for your reply.


Add support for adding custom attributes for elements

Similar to #447, this is to add a new Add-PodeWebAttribute function, which will allow the setting of custom attributes on an element - for cases where Pode.Web doesn't support certain HTML element attributes:
For example, if you wanted to use the HTMX library to add a "confirm" pop-up to a button:
New-PodeWebButton -Name 'Google' -Url 'https://google.com' |
    Add-PodeWebAttribute -Value @{ 'hx-confirm' = 'Are you sure you want to navigate away?' }

This should add an Attributes property on the element's hashtable. The template.js should set the attributes on the elements accordingly.

Resolved by #467.


Request to Wait for Manual Approval Conclusions

This is a request to treat action_required not as a conclusion, but instead to pause the workflow and wait for the manual approval conclusion. This approach would ensure that the workflow remains pending until explicit approval is granted, allowing for necessary validations before proceeding.
The reason for this request is that when first-time contributors' PRs require the workflow to be approved and run, the "action-wait-for-workflow" action defined in the pull request target trigger starts running immediately. During the "action-wait-for-workflow" step, it receives an action_required conclusion and proceeds right away. However, it would be more suitable for the step to pause and wait for the manual approval before continuing.

I'm still unsure how to handle this situation. In fact, we don't have a way to truly suspend a job and wait for the completion of another workflow (unless Actions offers support for this). Instead, we are just continuously polling the status and sleeping in between checks. For scenarios requiring manual approval, unless you approve the workflow to run in a very short amount of time, even if we wait there, our job is highly likely to be forcibly terminated due to a timeout (or incur excessive costs if you're on a paid plan).
Do you have any good suggestions for this?

Thanks for responding! I’m also unsure how to handle this, and after discussing it with the team, they suggested opening a discussion in the GitHub Community Discussions. Hopefully, someone there might offer a different approach to resolve this. I’m linking it here to follow along if that helps.
Discussion: https://github.com/orgs/community/discussions/145056


Zooz ZSE11-800LR supports Supervision

https://github.com/zwave-js/node-zwave-js/pull/6990 removed supervision support. Zooz told me that the 800LR (FW 2.0+) works.
Also, we need to update the config file for the 800 series version.

fixed by #7186


[9.x] Return exit status instead of booleans from GeneratorCommand::handle()

This PR updates the GenertorCommand::handle() method to return exit code instead of boolean and adds 3 new tests. The unit tests help to understand why this update is needed.
#43889
Besides, it replaces a couple of calls to the application instance as an ArrayAccess with a make() method calls. This practice makes it easier to be tested. It does not change the behavior as the \Illuminate\Container\Container::offsetGet() uses the same logic.
https://github.com/laravel/framework/blob/45cd804928f4c1a42fafd2b78c7fa023a59c542a/src/Illuminate/Container/Container.php#L1413-L1416

Reverted - breaks other commands that extend GeneratorCommand and check === false from parent::handle. See ComponentMake.

Thanks @taylorotwell
I'll work on it and resend the PR.

@imdhemy I guess you are going to send it to 10.x, as there are third-party packages which use this behavior, for example https://github.com/spatie/laravel-view-models
https://github.com/spatie/laravel-view-models/blob/9c1877f4f99e2c373ac3f432fe6313f09323c674/src/Console/ViewModelMakeCommand.php#L16-L23
This way a note should be added to the upgrade guide so these packages can update accordingly without any breaking changes.

@rodrigopedra
Exactly. 👍


AzCopy run inside a cronned script outputs 0-byte blobs when piped

Which version of the AzCopy was used?
azcopy version 10.1.2
Which platform are you using? (ex: Windows, Mac, Linux)
Ubuntu 18.04.2
The problem

When a bash script containing azcopy is run via cron and azcopy is set to copy something from Blob Storage and the result is piped (to gzip / tar / dd / etc.), the Blob is not read properly (0 bytes are returned). Additionally, if SAS token includes Write permission, the remote Blob in Storage Account gets overwritten and becomes a 0-byte-long one.

When a bash script containing azcopy is run via cron and azcopy is set to copy something from Blob Storage and the result is not piped, the problem does not occur.

When a bash script containing azcopy is run manually, the problem does not occur in either case (pipe or no pipe).

Details
There is a following script:
#!/bin/sh
azcopy cp "path/blob?sas_token" /target/dir
azcopy cp "path/blob?sas_token" | dd of=/target/dir

Running it manually via ./script.sh results in both files being written properly.

Running it via cron 0 0 * * * root /usr/local/sbin/script.sh >> /var/log/output.log 2>&1 results in first file being written properly, the second one is written with a length of 0 bytes. If SAS token includes Write permission, the remote Blob in Storage Account gets overwritten and becomes a 0-byte-long one.

Have you found a mitigation/solution?
Unfortunately not.

Thanks for reporting this.

I guess it's worth noting that in a very similar environment (although not identical - see below), copying data to Storage Account (not from) in a "piped cron" works perfectly: azcopy version 10.1.1 + Ubuntu 16.04.6
0 0 * * * root /usr/local/sbin/script.sh >> /var/log/output.log 2>&1

#!/bin/sh
tar cf - directory --absolute-names | pigz | azcopy cp path/blob?sas_token

Thanks @schybbkoh for the detailed description!
It looks like the tool was somehow tricked into thinking there's data coming in from the stdin(here). We'll investigate and update this thread accordingly.

Experiencing the same thing with a script that copies data from Azure to stdout which is piped to another command, then the whole script invoked from a Java app. I created a simple Python/shell script (running on Ubuntu 18.04) that does something similar:
testazcopy.sh
#!/usr/bin/env bash
azcopy copy 'https://mystorageaccount.blob.core.windows.net/container/foo.txt?sas_token' | cat > foo.txt

testazcopy.py
from subprocess import Popen, PIPE
Popen("./testazcopy.sh", stdin=PIPE, shell=True)

Running the Python script will not only emit a zero byte "foo.txt", but it will also truncate the file in the storage account to zero bytes as well. I think this is because azcopy sees stdin as a pipe and thinks it should do a PUT rather than a GET.
Not sure if this explains the problem within the context of cron though.

Hi @ampedandwired, thanks for your feedback! I've logged this item for further investigation.

Thanks @rsheptolut thanks for the insights!
Is it possible that one of the jobs got cancelled mid-way? There's a known issue (which we are solving) that cancellation is not cleaning up the in-flight transfers correctly.

(Tagged with needs-retest not because it exactly needs retesting by the project team, but really just to mean, "needs active investigation".)  First step is to hear back from @rsheptolut re Ze's question above.

@zezha-msft Yes. This is a script that I run manually after changing a couple of files, it syncs changes in my local folder to Azure Storage. Then on another PC I run the opposite to sync Azure Stotage to a local dir, which then automatically syncs with SharePoint with OneDrive sync. We have a lot of "security"-induced workflows like this - have to use an intermediate PC though RDP because of the corporate firewall. And I might have ran those scripts a couple times in different combinations to make sure everything is synced. At some point I definitely remember getting tired of waiting and closing the cmd window, to resume later. The expectation there was that I can cancel it at any time and it will leave the files in a consistent state - just not fully synced yet, but I can always rerun the script (the script simply runs azcopy sync for several containers) to finish the sync. Closed the script because for some reason it started doing hunderds of file transfers, even though I only changed a couple of files. Dates may have changed, but not contents or md5, oh well. And I'm temporarily on a 4mbit connection now and needed to take my internet back urgently for something: it's impossible to do anything on a poor connection when you have azcopy running, it somehow exhausts the entire connection. That's the entire story and the reasoning. Sorry that I don't remember the exact proper repro steps, and thank you for looking into it!

Hi @rsheptolut, thanks for the detailed explanation!
Ah yes, if the tool is killed while running, the inflight transfers would not complete, and the destination files could be left in a corrupt state.
That's a great insight though. We'll think about how we can make the experience better. Perhaps we could keep the incomplete files with a suffix ".partial", and rename them to the real name once download completes.

@zezha-msft Something like that would be neat!

Actually though, it would make sense if stdin for cron was a pipe. Perhaps we should use a flag for pipe up/download so we don't get confused by this. Thoughts, @zezha-msft?

Closing due to age of issue. Please let us know if you are still experiencing difficulties, we can reopen if needed.

Personally I'm not experiencing difficulties anymore since I've moved to a more reliable cloud provider ;) Whether the issue occurs anymore or got fixed in one of the commits since the issue got reported that I do not know. If anyone reading this struggles with this please do comment.

@shybbko sorry to hear that 😢


bug: Gaps appearing in :Lazy when in tmux

Did you check docs and existing issues?

[X] I have read all the lazy.nvim docs
[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)
0.9.1
Operating system/version
WSL: Ubuntu
Describe the bug
There appears to be a gap specifically after the text saying lazy.nvim when in tmux
Tried with both no config and my normal config nothing is different between them concerning the gaps

Steps To Reproduce

Open Tmux
Open Neovim
Run :Lazy
Check after the text that says lazy.nvim
Find gap after the m

Expected Behavior
No gaps appear
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")

-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
  vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. na
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath, })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  "folke/tokyonight.nvim",
  -- add any other plugins here
}
require("lazy").setup(plugins, {
  root = root .. "/plugins",
})

vim.cmd.colorscheme("tokyonight")
-- add anything else here

Obviously a tmux config issue then?

When I said I tried no config and normal config, I was talking about tmux

Then it's your terminal related to width of multi byte characters


Typst built with nix does not build on aarch64-darwin

Description
I get an error:
error: a 'x86_64-linux' with features {} is required to build '/nix/store/jnh2wzsph4q4cy2na4zwz83hka35l6ly-cargo-1.81.0-x86_64-unknown-linux-gnu.tar.gz.drv', but I am a 'aarch64-darwin' with features {benchmark, big-parallel, nixos-test}

When I do nix run github:typst/typst.
Reproduction URL
No response
Operating system
No response
Typst version

[x] I am using the latest version of Typst

Whoops, missed that on the review, sorry.


Data Market V2 Port - Use Cases

This is a master issue for tracking the porting of specific use cases to the V2 snapshotter architecture.

[x] ETH UniswapV2

[x] ETH UniswapV3

[x] Base UniswapV2

[x] Base UniswapV3

[x] ETH AaveV3

[x] Base AaveV3

Initial implementation is done as shared in https://powerloomhq.slack.com/archives/C06RRBMA3F1/p1729046849889699, moving to testing and review phase.

Moving to the current iteration for review.


Is't possible to use BrowserSync?

Is't possible to use BrowserSync?
If yes, How to include into?

You'd have to include a devserver setup that is invoked in npm start, that included the webpack-dev server middleware, without invoking webpack dev server directly.
First example that came to mind is a React seed project (sorry) but the BrowserSync + WebpackDevMiddleware setup should be pretty similar:
https://github.com/coryhouse/react-slingshot/blob/master/tools/srcServer.js

this maybe ?
https://www.npmjs.com/package/browser-sync-webpack-plugin

What does browsersync  add to the current setup?
On 30 Mar 2017 10:06, "phil123456"<EMAIL_ADDRESS>wrote:

this maybe ?
https://www.npmjs.com/package/browser-sync-webpack-plugin
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/preboot/angular-webpack/issues/309#issuecomment-290334268,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWx9vFZCugQvhmP_PY3QsC5myFHM-3yks5rq2J-gaJpZM4MIcpN
.

I dont know, cos indeed my browser if refreshing so I guess it's not needed

@biapar see https://github.com/preboot/angular-webpack/pull/182 and https://github.com/preboot/angular-webpack/issues/180

@maxx0r, @phil123456, browser-sync doesn't just refresh, it allows you to sync interactions across multiple browser instances at once. i.e. I can pull up the same ui in Chrome, FF, and Edge, and test all three at the same time, or the same UI at different browser sizes at the same time.
Not essential, but it is pretty handy.


Class Method Executed Twice

I have encountered some strange scenarios where class methods appear to be executed twice, but only in statements where a new class is instantiated and the method is run.
Consider Foo.java
package org.example;

public class Foo {

    static Integer barCount = 0;
    static Integer bazCount = 0;
    static Integer quxCount = 0;

    public String bar() {
        barCount++;
        return "bar";
    }

    public void baz() {
        bazCount++;
    }

    public Integer qux() {
        quxCount++;
        return null;
    }

}

And a basic Main.java
package org.example;

import org.mvel2.MVEL;
import java.util.HashMap;

public class Main {
    public static void main(String[] args) {

        var vars = new HashMap<String, String>();
        vars.put("foo", "initial");

        var compiledMvel = MVEL.compileExpression("""
            import org.example.Foo;
            foo = new Foo().bar();
            new Foo().baz();
            new Foo().qux();

            localFoo = new Foo();
            localFoo.bar();
            localFoo.baz();
            localFoo.qux();
        """);
        MVEL.executeExpression(compiledMvel, vars);

        System.out.println(vars.get("foo"));
        System.out.println(Foo.barCount);
        System.out.println(Foo.bazCount);
        System.out.println(Foo.quxCount);
    }
}

I would expect methods bar, baz, and qux to each be called 2 times, but baz and qux have been called 3 times.
        new Foo().baz();
        new Foo().qux();

These two lines result in their methods being called twice.

it seem this condition cause the problem
NewObjectNode.getReducedValueAccelerated
it's commented
/**     * Check to see if the optimizer actually produced the object during optimization.  If so,     * we return that value now.  */
so if called in chain like new Foo().baz();  and baz() return value is null or void type
it will treat as optimizer actually not produced the object during optimization, and call newObjectOptimizer.getValue(ctx, thisValue, factory) later.
as a workaround, we can call foo = new Foo(); and then foo.baz()
or remove the optimizer.getResultOptPass()  condition maybe ok?

Sounds good. I've used the workaround approach in a few places, but I feel like the optimizer should be aware of "side effects" from constructors and methods.

We use MVEL and Groovy in our workflow engine, but this issue is preventing from replacing Groovy in its entirety, which would be our preference as we use scripting as a very thin layer over the top of our internal Java libraries, so we don't need the vast majority of the Groovy ecosystem/libraries.
Is there any plan to address this issue?


remove symlinks in crashReporter ios framework

Does a native crash send the report to Rollbar?

I just removed the crashReporter symlinks. it was causing an error during the ios build

@am this PR just removes the symlinks.
How can we test whether the crashes go to rollbar or not?

@gonzaloserrano With the android reporter what I did was to read the source code of the plugin and find a place to make a simple call to Rollbar api using the reporter and see if it arrived the Rollbar servers.


Better layout for multisig

This is how it looks on my 15" retina, is this PR just for the reorganization of the elements? In that case I'll merge

Right, the PR implements the new layout and number of keys logic. @marianorod will put some style into this later.


Fix using no-cache option for the container build

If we specify no-cache, we should not add the local cache with the from-cache and to-cache parameters. Otherwise, we get the error
WARNING: local cache import at /home/adminuser/.holoscan_build_cache
not found due to err: could not read
/home/adminuser/.holoscan_build_cache/index.json: open
/home/adminuser/.holoscan_build_cache/index.json: no such file or directory

being adminuser the user that runs the build.
This is important for CI, where we do not have any cache to start with.
This should fix https://github.com/Project-MONAI/monai-deploy-app-sdk/issues/469

Hi @jordimassaguerpla,
Thanks for opening an MR. We are working on this fix and will include it in the upcoming release.
Best,
Victor

Hi, I've confirmed with @mocsharp that this issue is addressed in the latest Holoscan 1.0.3 release. I will close this PR as resolved. Please open an issue in Holoscan SDK if your issue persists. Thanks!


media import

Out of scope for what I want to do with this.

makes sense, it was just a thought i had while testing the url-replacement code