Examples Cleanup

refactored examples/imagenet/resnet_imagenet.py to accept parameters instead of modifying them inside the script
added README.md for examples/imagenet/
removed unnecessary Lambda class from examples/mnist.py
moved global average pooling in examples/mnist_conv.py before the Linear layer

Added loss scaling parameter to elegy.Model for mixed precision
requirements_dev.txt for additional requirements for development

Codecov Report

Merging #113 (29bf0bd) into master (b5011fc) will increase coverage by 0.21%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
+ Coverage   77.24%   77.45%   +0.21%
==========================================
  Files         102      102
  Lines        4728     4764      +36
==========================================
+ Hits         3652     3690      +38
+ Misses       1076     1074       -2

Impacted Files
Coverage Δ

elegy/model/model.py
81.11% <ø> (ø)

elegy/model/model_base.py
74.80% <100.00%> (+0.49%)
:arrow_up:

elegy/model/model_test.py
100.00% <100.00%> (ø)

elegy/module.py
87.68% <100.00%> (+0.04%)
:arrow_up:

elegy/module_test.py
99.81% <100.00%> (+<0.01%)
:arrow_up:

elegy/data/array_adapter.py
88.52% <0.00%> (-0.19%)
:arrow_down:

elegy/callbacks/progbar_logger.py
76.88% <0.00%> (+0.53%)
:arrow_up:

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 b5011fc...29bf0bd. Read the comment docs.

Hey @alexander-g, thanks for this :)
A few comments:

I think the loss_scaling parameter could be avoided entirely on Model side and get pushed to the optimizer via optax.scale.
Thanks for cleaning up the other examples!

Loss scaling is 3 steps:

Up-scale the loss
Compute gradients with the up-scaled loss
Down-scale the gradients

Only the last part can be performed with optax.scale. For the first part the user would additionally need to multiply the loss function(s) manually. This is 2+ locations that the user has to think of, plus the up-scaled loss would be logged in the logs, making it more difficult to compare when changing the loss scale.
So I added a parameter to Model to make it more user friendly.

We use poetry as the package manager. So we don't need a requirements_dev.txt. Poetry handles this for you in the --dev dependencies. See https://github.com/poets-ai/elegy/blob/master/pyproject.toml#L32

@alexander-g I've been thinking about this and currently there are a couple of ways to go about this:

Using the weight argument that all losses accept + optax.scale.
Create a Scaled(Loss) class that handles other losses and uses loss partitioning to report them + optax.scale.

You method proposed method suggests modifying value_and_grad and accepting a parameter in Model.
I like that 1 and 2 don't require any changes to the internal and are quite general, on the other hand they require the user to be more careful. On the other hand, your method makes it simpler for the user for this specific but I wonder if its general enough, e.g. what if new methods use a more complicated loss scaling-like setup that renders this approach useless?
I like something like the custom LossScaleOptimizer from Keras. To be able to do this it would be required that we hand over more work to the Optimizer class (which wraps optax) such that it also performs the call to value_and_grad so that when we defineLossScaleOptimizer as a subclass we can make the appropriate changes.
I have a proposal: separate the cleanup of the examples from the loss scaling issue, you can use methods 1 or 2 for now, and send a PR with just the loss scaling stuff. I will also open a PR with the proposed changes to our Optimizer class such the the LossScaleOptimizer can be implemented.

removed loss scaling commits
removed requirements_dev.txt


feat: add option to orphan resources

Adds an option for the user to chose if resources should be deleted on aiven-side.
Resolves https://github.com/aiven/aiven-operator/issues/510

hey, @atarax! 👋
thank you for your contribution!
I'll run the CI now and we'll see if there's something missing!

Thanks for the quick revies @Serpentiel ! :)


Add empty lins between options and move documents

Summary
Reformat options.rs manually for better readability:

Add an empty line between options
Move the doc-comment above the attributes

Test Plan
cargo dev generate-all -> Generates no changes, all good

Current dependencies on/for this PR:

main

PR #7547   👈

This comment was auto-generated by Graphite.


Unhandled Exception c0000005 at address 00000000

In Combat Mission Beyond Overlord right at the launch. The log doesn't show anything obvious:
9016 07:39:26.134 Process path: E:\CMBO\Combat Mission.exe
9016 07:39:26.134 Loading DDrawCompat from E:\CMBO\DDRAW.dll
9016 07:39:26.136 DDrawCompat loaded successfully
9016 07:39:26.488 Installing DirectDraw hooks
9016 07:39:26.566 Installing GDI hooks
9016 07:39:26.571 Installing registry hooks
9016 07:39:26.571 Finished installing hooks
9016 07:39:29.310 GDI used DC cache size: 1

Is it the same with the experimental release?

Closing due to inactivity. Feel free to reopen if you have more info available.

Closing due to inactivity. Feel free to reopen if you have more info available.


IETF Agenda: Link for chat logs missing trailing /

Describe the issue
The IETF Meeting agenda page includes a link to the chat logs for a working group.    For example, the current link generated is  https://datatracker.ietf.org/meeting/119/materials/chatlog-119-dnsop-202403181530-00
However @rjsparks pointed out the correct link to use is this one:
https://datatracker.ietf.org/doc/chatlog-119-dnsop-202403181530/00/
Code of Conduct

[X] I agree to follow the IETF's Code of Conduct

Is the fix just to add a trailing slash at https://github.com/ietf-tools/datatracker/blob/main/ietf/settings.py#L1010 ?

I realized this after the fact  the links are more different than my cursory glance gave it.
If I may vote, I like the info, nicer formatted page.

FWIW, although the proceedings and agenda views only link to the document file, the session view (/meeting/119/session/dnsop) links to the document info page as well:
(chatlog-119-dnsop-202403181530)```


article: javascript logical operators

LGTM, Can you update the date to coming Monday? Today we release a other one, but then monday we can release this


OSOE-128: Fix markdown files.

OSOE-128

I've allowed myself to add this missing PR myself.

Thanks!

Myself.


syntax highlighting

Is syntax highlighting supposed to work out of the box?

Fixed in #15. Thanks to @earlbread!


Update README URLs based on HTTP redirects

Created with https://github.com/dkhamsing/frankenstein
GitHub Corrected URLs

Was
Now

https://github.com/kitematic/kitematic
https://github.com/docker/kitematic

Other Corrected URLs

Was
Now

https://docs.docker.com/examples/
https://docs.docker.com/engine/examples/

https://docs.docker.com/project/who-written-for/
https://docs.docker.com/opensource/project/who-written-for/

Previously #18749

Thanks!
LGTM

LGTM


I'm looking for SNI configuration support for DTLS, using webRTC

Hi,
I understand there is SNI extension support for TLS, and that it was also extended for the DTLS, even though it is not in the standard or in any ietf draft.
I fail, however, to understand if this needs to be configured over the peer connection in some way, or it is the default.
Which kind of configuration is supposed to enable this, so that i'll be able to test it ?
If somebody has some snippet of code for checking it with the examples via Janus-Gateway for example, that would be great

Hi @RaniRaven
It is enabled by default! You can see the tests for it here
In the context of WebRTC I don't believe we can do SNI. DTLS is running over an ICE Connection (which can connect to multiple remote peers). Which remote host would the SNI be?
You also have Peer Reflexive Candidates. So if the remote host creates a Peer Reflexive candidate do we create the SNI for that?

I am going to resolve this as 'Not possible to implement'. We could possibly add a feature to the SettingEngine to force a SNI. I worry that could have a negative impact though. What are you trying to implement. Maybe it could be done a different way?
Thanks for using pion @RaniRaven and sorry this isn't an easy fix :/


support meta ssl

Codecov Report

Merging #23 (9e7248e) into master (cb1c22b) will increase coverage by 0.04%.
The diff coverage is 35.29%.

@@             Coverage Diff              @@
##             master      #23      +/-   ##
============================================
+ Coverage     27.47%   27.52%   +0.04%
  Complexity        6        6
============================================
  Files            24       24
  Lines          2042     2053      +11
  Branches        384      386       +2
============================================
+ Hits            561      565       +4
- Misses         1380     1386       +6
- Partials        101      102       +1

Impacted Files
Coverage Δ

...soft/nebula/exchange/processor/EdgeProcessor.scala
0.00% <0.00%> (ø)

.../nebula/exchange/processor/VerticesProcessor.scala
0.00% <0.00%> (ø)

...cala/com/vesoft/nebula/exchange/MetaProvider.scala
30.15% <30.00%> (-1.33%)
:arrow_down:

...la/com/vesoft/nebula/exchange/config/Configs.scala
64.83% <60.00%> (+0.13%)
:arrow_up:

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 cb1c22b...9e7248e. Read the comment docs.


Better feed implementation/interface

pyvespa should have a way to feed an iterable type with a callback (https://www.pythonlikeyoumeanit.com/Module2_EssentialsOfPython/Iterables.html) for example to feed https://huggingface.co/docs/datasets/v2.14.5/en/package_reference/main_classes#datasets.IterableDataset

def my_success(result:VespaResponse) -> Any:
  pass

def my_error(result:VespaResponse) -> Any:
  pass

vespa = Vespa(url="vespa-endpoint")
myiterable = load_dataset("some-dataset", streaming=True)
with vespa.io() as session:
  session.feed(myiterable, success_callback=my_success, error_callback=my_error)

Added in https://github.com/vespa-engine/pyvespa/pull/595


Add a section on how to adjust the background image alignment for iD web editor.

Title says it all :)

Hi recent updates to both the iD module in the Beginner section, and a new module within the hot-tips section should cover this. Closing this, but please reopen if more is needed.


How to get the maximum QPS in wrk2

Since the wrk2 using the --rate / -R to represent the constant throughput load (which is called RPS), I can't get a maximum RPS value by unsetting the --rate parameter, so how to get a maximum RPS via wrk2 just like the wrk do?

I would like to know the answer as well

A solution I use is to perform some sort of search algorithm (eg. binary/golden-section) with range of -R values till there’s no more increase in achieved-RPS to find max


Deprecate "Common" Usage

what

Do not like the common chart

why

Not easy to understand (even for an advanced user)
Still quite verbose
Hides magic
Currently in incubator status, thus building projects against it risks global stability

Fixed in https://github.com/cloudposse/charts/tree/master/incubator/monochart


Can't parser HDOJ group

Error executing vim.schedule lua callback: ...s/github.com/p00f/cphelper.nvim/lua/cphelper/prepare.lua:20: attempt to perform arithmetic on local 'sep_pos' (a nil value)

An example link is http://acm.hdu.edu.cn/showproblem.php?pid=1000 .

Fixed, thanks for reporting!


Terminal preview does not accept environment variables from parent process

Windows Terminal version
1.18.1421.0
Windows build number
10.0.22631.0
Other Software
No response
Steps to reproduce
Create a batch file "test.bat" with contents
echo %TEST%
pause

open cmd terminal profile
run SET TEST=wow
run wt test.bat
run ./test.bat
Expected Behavior
New terminal window should open up with output (this is the behavior in 1.16)
>echo wow
wow
>pause
press any key to continue . . .

Then outputs in parent window
>echo wow
wow
>pause
press any key to continue . . .

Actual Behavior
New terminal window is opened with output
>echo
ECHO is on.
>pause
Press any key to continue . . .

Then outputs in parent window
>echo wow
wow
>pause
press any key to continue . . .

This was already a bit "wacky" for window grouping, even in Preview 1.16 (and 1.15, 1.14, ...):
SET TEST=wow
wt -w 0 cmd

has different environment block behavior than...
SET TEST=wow
wt -w -1 cmd

Between the two, they are now at the very least consistent as of 1.18 😄

@ChrisKnue-MSFT Thanks for filing! Going to close this based on Dustin's responses.

We have hundreds of developers relying on windows terminal for running about 6 tabs of applications to run our platform. Not propagating environment variables is a pretty large breaking change--I hope you will provide a workaround for passing environment variables to new tabs or at least give us some time to rearchitect things before the preview becomes the standard version. @DHowett

(I'm gonna reopen this and mark it for discussion among the team.)
There's roughly one quarter of a year until this ships broadly, which is the big win we get from having a preview channel :smile:

quick notes

collect the env when wt is run. Package that up with the CommandlineArgs to send to the monarch
add a --flag to tell NewTab/SplitPane to use those env vars instead of the regenerated ones
don't just keep using those vars for future tabs/panes

Maybe the --flag should be to disable inheritancez

Argument for --flag disabling inheritance

this is how the wt CLI has always operated since inception in 0.9

Argument against:

Can we tell if wt was invoked for the commandline, vs just started by explorer.exe? There have been myriad issues in the past that our env vars are just plain wacky. I'd rather that a fresh "click the icon" launch not try to inherit, but idk if we can differentiate

Notes from discussion:
We're gonna approach this as many bits:

wt -E foo=bar to manually pass env vars to the NewTerminalArgs. This'll let a caller manually pass env vars on the commandline. Great!
wt --inheritEnvironment

This one's more complicated.
On wt launch, bundle the entire environment that wt was spawned with, and put it into the Remoting.CommandlineArgs, and give them to the monarch (and ultimately, down to TerminalPage with the AppCommandlineArgs). DO THIS ALWAYS.
IF there was no overridden commandline, anywhere, in any subcommand, then we'll default to what we're doing in 1.18 Preview - don't inherit. Terminal act's like file explorer, and just starts up the profile with a fresh env block[^1].
IF THERE WAS AN OVERRIDDEN commandline, then default this to "inherit from the caller of WT".

part the third: Convert the compatibility.reloadEnvironmentVariables setting to a per-profile one.

At the end of this:

wt, wt -p foo will still use a fresh env block, instead of the inherited one. Yay!
wt -- cmd, wt foo.bat, wt --inheritEnvironment will all use the inherited one. Just like in 1.17, yay.
set TEST=failure && wt -E TEST=wow cmd.exe /k echo such %TEST% will set TEST in the spawned cmd to wow, and that'll be a good boy.

[^1]: Plus the environment setting, of course.


more flexible cardpool import

Currently we require the Card Number field when importing from Deckbox. It would be good to just use the Name field for exports that don't have a card number.
We should also support simple decklist-style cardpools, for example:
4x Acclaimed Contender
4x All That Glitters
4x Archon of Absolution
4x Ardenvale Paladin
4x Ardenvale Tactician
4x Bartered Cow
4x Beloved Princess
4x Charming Prince
4x The Circle of Loyalty
4x Deafening Silence
4x Faerie Guidemother

Fixed via https://github.com/jjallaire/draftpod/commit/3a74457cab226523e23e8cc088c87d364fc45e7e and
https://github.com/jjallaire/draftpod/commit/c4659ed465fab3f89151bd410a89f70ea124be37


self-hosted-runner: detect Github large runners

Pre-submission checks

[X] I am not reporting a bug (crash, false positive/negative, etc). These must be filed via the bug report template.
[X] I have looked through the open issues for a duplicate request.

What's the problem this feature will solve?
Right now, the self-hosted audit assumes that having runs-on along with a defined Runners group  implies self-hosted Runners. However, Github large runners are also defined on top of Runner Groups, meaning that we may be flagging as self-hosted a Runner actually hosted by Github
Describe the solution you'd like
There are a couple of endpoints in the Github REST API related to runner groups, including listing self-hosted runner groups, and listing runners that belong to that group.
Perhaps we can query the Github API and match against the value defined in the Workflow. This solution requires a Github PAT with org:admin permission, though 💔
Additional context
No response

Thanks @ubiratansoares! We should definitely improve our handling here, but that level of permission in the API token is probably a dealbreaker 😞 -- we could tell users how to configure a stronger token here, but I'm concerned that documenting that will lead to people giving zizmor way overscoped tokens when then represent their own security issue.
Any thoughts on how we could overcome this, or maybe sidestep it with a heuristic?

Yeah ... The overscoping is an issue indeed 😭
I don't have any ideas on how to overcome this without the REST API. My first suggestion is flagging that group may imply self-hosting in the audit message, since the audit confidence is already set to low in this case.


Serial enumeration

Looks to be some registry parsing for Windows, but for Unix it's merely processing /dev/ entries.

Python's take on serial port enumeration.

This is definitely in the plans. I've done some groundwork for this already by implementing crates needed for listing serial ports on Linux (libudev) and OS X (IOKit and CoreFoundation). Using those APIs seems similar to Python's solution, which mentions using sysfs (libudev) and IOKit. I pasted some links in #14 in case someone wants to start working on this before me.

@dcuddeback Can you respond to my PR so we can ideally merge this code? I've been using it for a while in my own project and it works on Windows and Linux (appveyor fails because of another package not working on Rust 1.3).

@Susurrus I feel like my input has been mostly ignored up to this point, so I think it's a better use of my free time to work on this feature myself than to spend more time trying to guide the existing PRs into an acceptable solution.

Fair enough. In the mean time I'll use my fork for this functionality then. Any idea when this might be available in mainline? Additionally, let me know if there's any way I can help to speed this along beyond what I've already done.

@dcuddeback Any updates on this work and the big refactoring? I'm looking to push my project to crates.io, which requires that it only uses libraries with releases on there, so I'm blocking on serial enumeration in a release.

@dcuddeback any news about this? It would be a great addition to the library.

@dcuddeback is anyone working on this at the moment? If not, I might be able to look into it and make a PR.

Bump again for work? This is pretty important functionality for finding devices in a robust manner.


Fix code cov

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a96d56a) 0.00% compared to head (8b42efd) 91.89%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff            @@
##           main       #9       +/-   ##
=========================================
+ Coverage      0   91.89%   +91.89%
=========================================
  Files         0        5        +5
  Lines         0      111      +111
=========================================
+ Hits          0      102      +102
- Misses        0        9        +9

see 5 files with indirect coverage changes

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


Tool tweaks

See commit messages for a list of what has changed.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Arabic language not working

Tried your code using Arabic, this does not show in the dot-matrix.. any help please

The control only supports ASCII characters from 32-126. If you would like to use different characters you have to implement your own mapping like I did in the MatrixFont8x8 and MatrixFont8x11.


Module  'loguru' is missing in requirements_dev.txt

ModuleNotFoundError: No module named 'loguru'

Solution: add module loguru to requirements_dev.txt or install manually.

@xandrd Thanks, I updated the requirements_dev.txt file with an updated environment.  PR #170


Update dependency versions

In this PR we update third-party dependency versions. This includes the new Gradle 6.0.
The version of the lib is updated to 1.2.1.

@dmitrykuzmin, PTAL.


Add pooled event test fixtures

Hey Brandon!
I added some pooled event test fixtures:
http://pooled-event-fixtures.surge.sh/event-pooling
I'll follow up on https://github.com/facebook/react/pull/10237

This is great. thanks, Nate!


How should I understand validating the query implementations?

6.2 Running the Benchmark
Running the benchmark consists of three separate parts: (1) validating the query implementations, (2) warming the database and (3) performing the benchmark run.

Sorry for disturbing. But I'm really confused about the first point (1) validating the query implementations in the document of ldbc-snb-interactive-0.3.3. The further explain of the doc is that The queries are validated by means of the official validation datasets provided by LDBC consortium in their official software repositories. The auditor must load the provided dataset and run the driver in validation mode, which will test that the queries provide the official results.
I'm wondering what is the official results. My understanding is that the LDBC will give the corresponding result based on the corresponding data set for validation. So I tried to verify my guess by reading the code of ldbc_snb_interactive_driver and ldbc_snb_interactive_implementations. Then I found out that the LDBC doesn't give me such a result set and both cypher and postgres  use their own systems to generate result sets. So I wonder if that's all I need to do if I want to validate other systems？
Would you please help me out with this confusion?

Hi, busy day for me today, so just dropping the link for SF1...SF30 validation sets:
https://surfdrive.surf.nl/files/index.php/s/opeAtUOUSbxtXTQ

So, I'm getting back to this issue now -- you should either use the validation sets provided (which I've generated with Cypher/Neo4j recently).
If you would like to generate your own, run the Cypher/Postgres implementation in "create validation parameters" mode:
https://github.com/ldbc/ldbc_snb_interactive_implementations/tree/main#driver-modes
HTH


Cannot makepkg -Acs

-- Searching for xcbgen with python2
-- Searching for xcbgen with python3
-- Searching for xcbgen with python
CMake Error at lib/xpp/CMakeLists.txt:55 (message):
  Missing required python module: xcbgen

-- Configuring incomplete, errors occurred!
See also "/home/paul/git/polybar/src/polybar/build/CMakeFiles/CMakeOutput.log".
See also "/home/paul/git/polybar/src/polybar/build/CMakeFiles/CMakeError.log".
==> ERROR: A failure occurred in build().
    Aborting...

I installed from the AUR, and makepkg -Acs throws this error

Do you have xcb-proto installed, if yes what is the output of
pacman -Qi xcb-proto
pacman -Ql xcb-proto

Name            : xcb-proto
Version         : 1.12-3
Description     : XML-XCB protocol descriptions
Architecture    : any
URL             : http://xcb.freedesktop.org/
Licenses        : custom
Groups          : None
Provides        : None
Depends On      : None
Optional Deps   : None
Required By     : libxcb
Optional For    : None
Conflicts With  : None
Replaces        : None
Installed Size  : 827.00 KiB
Packager        : Bartłomiej Piotrowski<EMAIL_ADDRESS>Build Date      : Sat 24 Dec 2016 07:19:56 AM PST
Install Date    : Thu 07 Sep 2017 10:38:40 PM PDT
Install Reason  : Installed as a dependency for another package
Install Script  : No
Validated By    : Signature
$ pacman -Ql xcb-proto
xcb-proto /usr/
xcb-proto /usr/lib/
xcb-proto /usr/lib/pkgconfig/
xcb-proto /usr/lib/pkgconfig/xcb-proto.pc
xcb-proto /usr/lib/python3.6/
xcb-proto /usr/lib/python3.6/site-packages/
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__init__.py
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/__init__.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/align.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/error.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/expr.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/matcher.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/state.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.opt-1.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/__pycache__/xtypes.cpython-36.pyc
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/align.py
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/error.py
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/expr.py
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/matcher.py
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/state.py
xcb-proto /usr/lib/python3.6/site-packages/xcbgen/xtypes.py
xcb-proto /usr/share/
xcb-proto /usr/share/licenses/
xcb-proto /usr/share/licenses/xcb-proto/
xcb-proto /usr/share/licenses/xcb-proto/COPYING
xcb-proto /usr/share/xcb/
xcb-proto /usr/share/xcb/bigreq.xml
xcb-proto /usr/share/xcb/composite.xml
xcb-proto /usr/share/xcb/damage.xml
xcb-proto /usr/share/xcb/dpms.xml
xcb-proto /usr/share/xcb/dri2.xml
xcb-proto /usr/share/xcb/dri3.xml
xcb-proto /usr/share/xcb/ge.xml
xcb-proto /usr/share/xcb/glx.xml
xcb-proto /usr/share/xcb/present.xml
xcb-proto /usr/share/xcb/randr.xml
xcb-proto /usr/share/xcb/record.xml
xcb-proto /usr/share/xcb/render.xml
xcb-proto /usr/share/xcb/res.xml
xcb-proto /usr/share/xcb/screensaver.xml
xcb-proto /usr/share/xcb/shape.xml
xcb-proto /usr/share/xcb/shm.xml
xcb-proto /usr/share/xcb/sync.xml
xcb-proto /usr/share/xcb/xc_misc.xml
xcb-proto /usr/share/xcb/xcb.xsd
xcb-proto /usr/share/xcb/xevie.xml
xcb-proto /usr/share/xcb/xf86dri.xml
xcb-proto /usr/share/xcb/xf86vidmode.xml
xcb-proto /usr/share/xcb/xfixes.xml
xcb-proto /usr/share/xcb/xinerama.xml
xcb-proto /usr/share/xcb/xinput.xml
xcb-proto /usr/share/xcb/xkb.xml
xcb-proto /usr/share/xcb/xprint.xml
xcb-proto /usr/share/xcb/xproto.xml
xcb-proto /usr/share/xcb/xselinux.xml
xcb-proto /usr/share/xcb/xtest.xml
xcb-proto /usr/share/xcb/xv.xml
xcb-proto /usr/share/xcb/xvmc.xml```

What's the output of
python3 -c "import re,xcbgen;print(re.compile('/xcbgen/__init__.py.*').sub('',xcbgen.__file__))"
python3 --version

Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'xcbgen'
$ python3 --version
Python 3.6.1 :: Anaconda 4.4.0 (64-bit)

Alright, I see the problem, because you use anaconda, the library is not found.
Either find a suitable version of xcb-proto (or xcbgen) for anaconda or make sure that the regular python executable comes before the anaconda one in the path.

$  conda install -c conda-forge xorg-xcb-proto
$ makepgg -Acs
[ 75%] Building CXX object bin/CMakeFiles/polybar.dir/utils/http.cpp.o
/home/paul/git/polybar/src/polybar/src/utils/http.cpp:2:10: fatal error: 'curl/curlbuild.h' file not
      found
#include <curl/curlbuild.h>
         ^~~~~~~~~~~~~~~~~~
1 error generated.
make[2]: *** [bin/CMakeFiles/polybar.dir/build.make:1359: bin/CMakeFiles/polybar.dir/utils/http.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:553: bin/CMakeFiles/polybar.dir/all] Error 2
make: *** [Makefile:130: all] Error 2
==> ERROR: A failure occurred in build().
    Aborting...

Apply the commits from #648 and build again now additonally with the -e argument for makepkg

$ makepkg -Acse                                                           ±[master]
==> Making package: polybar-git 3.0.5-2 (Sat Sep  9 08:58:10 PDT 2017)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting pkgver()...
fatal: Cannot change to 'polybar': No such file or directory
==> ERROR: pkgver is not allowed to be empty.
==> ERROR: pkgver() generated an invalid version:```
But installing polybar-git from the AUR (rather than stable) allowed makepkg -Acs to build without errors.

If you build without the -c argument, the polybar package should also work.


Question about multiple images in the same prompt

Hi! I saw this on huggingface, it says that if I want to use multiple images in the same prompt, I may receive inaccurate results. So how can I do this? I have the need to use text-image-mixed input to do things like "what are the difference between the first and second image I gave you?". Thanks a lot!!!

Hi @JesseZZZZZ , were you able to figure out how to input multiple images to the LLAVA model? Thanks


Update/remove virtual network

Description
Virtual Network is now in it's own dedicated repo. This PR removes both "virtual network" and it's legacy counterpart "vnet" from the codebase and links both of these to the new repo via submodule
Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings e.g. code analysis tooling or general use of the changed code

@tb-ans Removed vnet and tftest


Playing to player from Automation results in error

What version of Music Assistant has the issue?
2.0.0b147 (but in 145 and 146 too) (time didn't let me raise a case)
What version of the Home Assistant Integration have you got installed?
2024.5.2
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When trying to start a 'radio' station, but also a spotify playlist, from an automation with the service 'mass.play_media' it results in the following error:
Logger: homeassistant.helpers.entity
Bron: helpers/entity.py:950
Eerst voorgekomen: 04:00:18 (368 gebeurtenissen)
Laatst gelogd: 10:22:53

Update for media_player.kantoor_squeeze fails
Update for media_player.squeezeplay_34_92_1d_ca_f6_c7_2 fails
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 950, in async_update_ha_state
    await self.async_device_update()
  File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1293, in async_device_update
    await self.async_update()
  File "/usr/src/homeassistant/homeassistant/components/squeezebox/media_player.py", line 284, in async_update
    await self._player.async_update()
  File "/usr/local/lib/python3.12/site-packages/pysqueezebox/player.py", line 360, in async_update
    if "playlist_timestamp" in response and "playlist_tracks" in response:
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: argument of type 'bool' is not iterable

The same station to the same player works when using the GUI of Music Assistent
How to reproduce
Create an automation with the following action:
alias: Q music Nederland afspelen
service: mass.play_media
metadata: {}
data:
  media_id: 538
  media_type: radio
target:
  entity_id: media_player.kantoor_squeeze

Music Providers
Radio Browser
Spotify
Player Providers
Slimproto
Full log output
musicassistant.log
Relevant portion I guess:
2024-05-08 10:20:01.530 WARNING (MainThread) [music_assistant.webserver] Invalid command: players/queue/all
2024-05-08 10:20:42.011 WARNING (MainThread) [music_assistant.webserver] Invalid command: players/queue/all

Where it says it detected input at 10:27:55 I manually started the stream.
Additional information
No response
What version of Home Assistant Core are your running
2024.5.2
What type of installation are you running?
Home Assistant Supervised
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

You haven’t listed the correct integration version. Please refer to HACS and post that info

Erm, there is a 2024.5.0 available. Didn't see this yet in my updates. I'll frist try this.

Yes…

After updating, removing all players and restarting everyting again unfortunately it still doesn't work. The mentioned error is gone, but the automation doesn't seem to be doing anything at all.
Unfortunately no error in the logs from HA, but not in the logs from MA either.

I would start by using the service call tab in the dev tools and see if that part works. Is the radio station called 538? If not where did you get that number from?


glog print 某个参数数未尾字符是 "\n"，并且下一个参数是 nil 时报错

1. What version of Go and system type/arch are you using?
go version go1.16.7 windows/amd64
2. What version of GoFrame are you using?
v1.16.7
3. Can this issue be re-produced with the latest release?
yes
4. What did you do?
func Test_log(t *testing.T) {
	var b []int//所有 空值 的变量
	a := "test\n"
	glog.Print(a, b)
}

5. What did you expect to see?
6. What did you see instead?
panic: runtime error: index out of range [0] with length 0 [recovered]
panic: runtime error: index out of range [0] with length 0
相关的错误原因
https://github.com/gogf/gf/blob/a2c5c577dbfa5b5c3b0c0ba7b991013a3aa0a8c1/os/glog/glog_logger.go#L207

See https://github.com/gogf/gf/pull/1432

@danvinhe
这是我修改的版本,这个方式可能会好一些。

https://github.com/chenall/gf/commit/17344732daa685cb1af83da1b0c8f052bd10f32f


License and or attributions missing

Is this work all your own creation? If not, attribution is missing. If so please add a LICENSE file, perhaps a creative commons attribution-only one suits you?

Done, thanks. 739d24b9078fffb84408e7877862618d88d947dc


Problems with high coordinates rev2

It seems the 1.5RC has the high coordinate value floating point issue manifesting again.  A dataset in the UTM coordinate system, with Northings in the millions, jitters and shakes for a few seconds when the camera is moved.  The same dataset converted with 1.4RC candidate is fine.  It doesn't seem to be truncating values at all, so the point cloud looks normal apart from the jittery screen.
Any thoughts?
Thanks

Try to use the 1.5RC potree release instead of generating the page with PotreeConverter. Or you can try the dev branch.
It seems there is an issue with the page that's deployed witht the converter.

Yes, using the latest build of Potree from the main branch fixes this.  This is related to: https://github.com/potree/potree/issues/320


Support an option to create immutable set

I need to pass ordered set as function default argument, therefore, I need an immutable set. Please provide a way to create an immutable set.

I'm worried about scope creep.
An immutable version of OrderedSet would clearly be useful in a few cases, but maybe it should just be a different package. There's a lot of methods of OrderedSet that it wouldn't need.

But that means that lot's of code would be duplicated. Isn't possible to create a base class to implement all common functionality and create two subclasses?

I'm really not interested in writing extra code for this use case. When you need a small immutable sequence that you can use as a default argument, a tuple should do just fine.


style(.travis.yml): remove extra PR check

Testing the environment variable is redundant according to https://docs.travis-ci.com/user/deployment/#Pull-Requests
Thanks for noticing this detail @Joshua-Anderson.

No problem. I rewrote that part of the travis ci deployment code a little while ago, so that helped. :wink:


Add closing callout for state pension topup

Trello card
Description
This PR updates the start page for state pension topup with information
about the closing date for this smart answer
Only the test artefacts for the starting page has been affected.
##Factcheck
Preview link
GOV.UK
Expected changes

Addition of a closing callout

Before

After

@pmanrubia thanks that was quick


3D view options

We should provide to the user some view options:

[x] orthographic and perspective projections
[x] wireframe view
[x] clipping

We could get inspired by what https://old.opencascade.com/content/web-3d-demo is doing in terms of UX

Closed as resolved!


create a new post about webr in tlg-catalog

Thanks for the approval! It's difficult to catch anyone these days. I'm going to merge it now!
 Hope you are ok with that.


needed to change containers build dependency to compile

I was getting a conflict while building pads:
trying: pads-haskell-1.1 (user goal)
next goal: template-haskell (dependency of pads-haskell-1.1)
rejecting: template-haskell-<IP_ADDRESS>/installed-bde... (conflict:
template-haskell => containers==<IP_ADDRESS>/installed-0d8..., pads-haskell =>
containers><IP_ADDRESS>)

on GHC 7.8.3 and cabal-install <IP_ADDRESS>.

No conflict on the active repository (https://github.com/padsproj/pads-haskell)


Avoid getting "index out of range"

Hi,
I know I should issue a ticket or something, but it seems so easy to fix.
I do understand, if you decide not to merge this.
Anyway, feel free to review this and offer feedback.
Thanks.

LGTM

LGTM


[1:1]

Using a web component would be a good way to add in all the table goodies we'd need for apps as well as content writers, like:

DataTables or something similar for sorting and paging tables
TablesawJS for responsive tables
Auto-correcting poorly constructed tables, and providing the necessary IDs and headers attributes for accessibility

Could be as simple as
<rh-table responsive sorting paging ...>
  <table>
    ...
  </table>
</rh-table>

Keeping the <table> element inside the lightDOM / slot, we'd ensure that this is enhanced progressively.

@starryeyez024 Do we still need this issue? Tables are now in the design kit using these specs from PatternFly.
https://www.patternfly.org/v4/documentation/react/components/table/

cc @kylebuch8  @markcaron  please see Corey's question

@kylebuch8 @markcaron Checking back, do we still need this?

https://www.patternfly.org/v4/components/table

@heyMP The kit is using PatternFly's Table component 1:1, but regardless, let me know if you had any questions.

Thanks @coreyvickery!

Just to confirm, we do need a web component for tables - this will allow us to enhance the table with sortability and filters.

We can look here for functionality options: https://www.webcomponents.org/element/HTMLElements/smart-table

PF4 tables include designs for:
general

empty state

headers

tooltips
sortable

rows

selectable with checkbox
selectable with radio button
actions
expandable
editable
favoritable

@coreyvickery cc @ajacobs21e I think we might need designs for:
general

pagination
draggable columns/rows
export symbol
loading state

headers

filters

Pagination footer https://www.patternfly.org/v4/components/table/design-guidelines#table-elements
Draggable row https://www.patternfly.org/v4/components/data-list#draggable
Draggable columns https://www.patternfly.org/v4/components/table/react-demos/#column-management-with-draggable
Export symbol https://www.patternfly.org/v4/guidelines/icons#all-icons pf-icon-export
Loading state https://www.patternfly.org/v4/components/toolbar/design-guidelines#filter-group
Filters https://www.patternfly.org/v4/components/table/react-demos/#filterable or https://www.patternfly.org/v4/components/toolbar/design-guidelines#filter-group

@castastrophe Let me know if you need to see any designs beyond what Allie has shared.

Thanks @ajacobs21e!
Can you help me with where on this page the details of how to manage a loading state for a table is?

Loading state https://www.patternfly.org/v4/components/toolbar/design-guidelines#filter-group

@castastrophe sorry I pasted the wrong link. Are you searching PatternFly.org for these designs? That's how I found all of these.
https://www.patternfly.org/v4/components/table/react-demos/#loading

@ajacobs21e Yup,  that's where my list PF4 tables include designs for: above came from.

Hi,
Is a web components table still on the roadmap for Patternfly? If so, is it being developed and when will it land? Thanks!

@kylebuch8 @markcaron Should we discuss this in a future meeting? PatternFly has done a lot of work on this component already that we could adopt and turn into a web component for PFE.

@coreyvickery, yeah. We should prioritize this component, though we need to determine how we're going to tackle the styling, since there will likely be a majority of it done in the lightDOM. That's a separate discussion from the design, of course.

@coreyvickery we should bump this in our priority. Perhaps we can check the status cp-table with @rlahoda and/or @wesruv so we can migrate to PFE and then to RHDS.
CC: @bennypowers @heyMP @zeroedin

We received a request to implement expandable table rows

Closed by #2564. please open new issues for adding more features to pf-table


Update v2-protocols-oidc.md

Changed "token" to "access_token" to match parameters being sent back.

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

#sign-off

#please-merge
Thanks Sahil!

@maliksahil Hi. This pull request was opened in the public repo. PMs should work in the private repo, per the Microsoft Docs contributor guide. In the future, would you make content updates in the private repo? Thanks!


Updates PythOnBoardingBot tutorial sample to use latest bolt-python

Summary
This PR updates the dependencies and handlers on the PythOnBoardingBot tutorial app sample app.py to use bolt-python instead of slackeventsapi as described in #1037. I've also updated the **.md documentation code snippets accordingly.
Category (place an x in each of the [ ])

[ ] slack_sdk.web.WebClient (sync/async) (Web API client)
[ ] slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
[ ] slack_sdk.socket_mode (Socket Mode client)
[ ] slack_sdk.signature (Request Signature Verifier)
[ ] slack_sdk.oauth (OAuth Flow Utilities)
[ ] slack_sdk.models (UI component builders)
[ ] slack_sdk.scim (SCIM API client)
[ ] slack_sdk.audit_logs (Audit Logs API client)
[ ] slack_sdk.rtm_v2 (RTM client)
[ ] /docs-src (Documents, have you run ./docs.sh?)
[ ] /docs-src-v2 (Documents, have you run ./docs-v2.sh?)
[x] /tutorial (PythOnBoardingBot tutorial)
[ ] tests/integration_tests (Automated tests for this library)

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[ ] I've run python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.sh after making the changes.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Sarah Jiang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Enable porkchops between Orbit objects

With this modifications porkchops are able to plot figures between Orbit instances. Therefore, it is possible to create porkchops for asteroids by using the from_sbdb. I tried this option for Apophis:

Here you can compare with the porkchop figure for same launch and arrival spans: http://www.ssdl.gatech.edu/sites/default/files/papers/conferencePapers/AAS-2008-251.pdf

However, I would like to find a way of testing porkchops rather than visual one...

Regarding validation, I agree just looking at plots is not enought, but a porkchop plot in the end is "just" finding Lambert solutions in a double loop.
Perhaps we can draw inspiration from matplotlib itself:
https://matplotlib.org/devel/testing.html#writing-an-image-comparison-test

I took a look to the image comparasion example from matplotlib. However a warning about deprecation and further elimination of that module is given when the test is executed...
After some research I found that some people just compare the returned vector from the function with a previously computed solution. This means trusting that the figure will be the same as the expected :confused:

I took a look to the image comparasion example from matplotlib. However a warning about deprecation and further elimination of that module is given when the test is executed...

Can you paste the deprecation warning you are seeing? I didn't find anything relevant here:
https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/testing/decorators.py

The warning I am getting is the following one:
MatplotlibDeprecationWarning: The ImageComparisonTest class was deprecated in Matplotlib 3.0 and will be removed in 3.2.
-- Docs: https://docs.pytest.org/en/latest/warnings.html

I see where it was deprecated
https://github.com/matplotlib/matplotlib/pull/10906 but on the other
hand it's not mentioned in this documentation
https://matplotlib.org/devel/testing.html#writing-an-image-comparison-test
so I understand there's a simpler alternative now using those
decorators?
On Wed, Apr 3, 2019 at 3:31 PM, Jorge Martinez
<EMAIL_ADDRESS>wrote:

The warning I am getting is the following one:
MatplotlibDeprecationWarning: The ImageComparisonTest class was
deprecated in Matplotlib 3.0 and will be removed in 3.2.
-- Docs: https://docs.pytest.org/en/latest/warnings.html
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

The codecov check is failing because, even though the total coverage is increasing (which is not difficult, because this part was not tested before) it also checks what percentage of the lines being added is tested. For me it is not that strict, so I will make a review and, if everything looks good, merge it.

Merged! Thanks a lot @jorgepiloto :tada:


Firestore: Fix FAILED_PRECONDITION when writing to a deleted document in a transaction

This PR ports https://github.com/firebase/firebase-js-sdk/pull/6550, and its follow-up PR https://github.com/firebase/firebase-js-sdk/pull/6729. A similar port to the Android SDK was done in https://github.com/firebase/firebase-android-sdk/pull/4257.

FYI This fix has been incorporated into version 10.2.0 released November 15, 2022 https://firebase.google.com/support/release-notes/ios#version_1020_-_november_15_2022


Pancakeswap.finance is blocked?

I thought their site was down and I was screwed... why would you block this site?

Hi Will @Willhax thank you for your question.
Please see the readme for info about how all this works.  In short, we're mostly an aggregator of actively curated hosts files that we merge, de-duplicate, and package in various ways.
The pancakeswap.finance domain comes to us from upstream. The source is KADhosts, and you can make the case here.
Hi @krystian3w, do you have insight on pankakeswap.finance and www.pankakeswap.finance?

Will @Willhax I just followed the paper trail behind this inclusion, and I now understand why the domains pancakeswap.finance and www.pancakeswap.finance are blocked by KADhosts.
cc: Krystian @krystian3w unless you have anything else to add, I'm happy to close this issue.

OIC now, I can't read his language, but pancake.finance is a legitimate crypto defi site. Just a heads up. You can close, thank you!

Will @Willhax the translation option in Google Chrome is a big help here.
As far as I can tell there are a few facets to this.
The first appears to be an advisory from the government of Spain about CAKE either not meeting requirements, or failing to disclose. I'm actually fine with that because this could be just Spain being Spain.
 It's certainly not looking pretty. Have a look.
To be honest I think there's a lot more where that came from and, at some level, Ponzi demand has got to be recognized, and soon, in a wide swath shitcoinspace.
I'm certainly not qualified to make that call, and I have a enormous respect for the people who are sticking their necks out, and calling a spade a spade.
Let's see what @krystian3w says...

Yea that was the gist of what I got too, I used google translate but it was less than helpful. I could see how some governments would be against crypto defi as it's a volatile and risky space. Either way, there is always whitelisting as an alternative. I really like your project, so that as a work around is fine. Thank you for your follow up though.

It is as Willhax describes, organizations do not always verify to the maximum that the entity is secure.
We definitely need to implement more checking at the KAD level.

Thank you as always Krystian @krystian3w!
Will @Willhax the pancake.finance domains will be cleared and this will be reflected in the next release, coming soon. Thank you for opening this issue.
Closing.


actually check if the chunksize is exceeded

the chunksize limit is not enforced.

chunksize issue is fixed with e603a6315b173c062e566753c8f43ffc0b05332e but the filesize is still missing