use bmap files to skip flashing unused blocks

Use .bmap files created by WIC tool the same way as bmaptool does, i.e. skip flashing irrelevant blocks.
This is a -raw2sparce extension.
By default, a file  with the same base name but  with "bmap" extension would be searched to get block map from.
An option '-no-bmap' would inhibit the search.
Also, a specific bmap file can be specified in the flash command via '-bmap' option.

Can you fixed CI build error?
/home/runner/work/mfgtools/mfgtools/libuuu/bmap.cpp: In function ‘bool parse_image_size(bmap_t&, const tinyxml2::XMLElement*)’:
/home/runner/work/mfgtools/mfgtools/libuuu/bmap.cpp:42:24: error: ‘const class tinyxml2::XMLElement’ has no member named ‘Unsigned64Text’; did you mean ‘UnsignedText’?
42 |  auto img_size = elem->Unsigned64Text();
|                        ^~~~~~~~~~~~~~
|                        UnsignedText
/home/runner/work/mfgtools/mfgtools/libuuu/bmap.cpp: In function ‘bool parse_block_size(bmap_t&, const tinyxml2::XMLElement*)’:
/home/runner/work/mfgtools/mfgtools/libuuu/bmap.cpp:53:24: error: ‘const class tinyxml2::XMLElement’ has no member named ‘Unsigned64Text’; did you mean ‘UnsignedText’?
53 |  auto blk_size = elem->Unsigned64Text();
|                        ^~~~~~~~~~~~~~
|                        UnsignedText
/home/runner/work/mfgtools/mfgtools/libuuu/bmap.cpp: In function ‘bool parse_blocks_count(bmap_t&, const tinyxml2::XMLElement*)’:
/home/runner/work/mfgtools/mfgtools/libuuu/bmap.cpp:64:25: error: ‘const class tinyxml2::XMLElement’ has no member named ‘Unsigned64Text’; did you mean ‘UnsignedText’?
64 |  auto blk_count = elem->Unsigned64Text();

Hi. I tried to use this PR as we have a very large image with a lot of empty space.
I built it on linux (wsl) first. At first it did not work with either the builtin scripts or a custom one. This is because the version number generated from tags was incorrect. After removing the tags "uuu_db_bmap" and db_bmap", it worked correctly and sped up the flash significantly.
Then, I tried to build for Windows. Same issue with tags. It also couldn't find tinyxml2.h even with the submodules checked out and I had to install tinyxml2 using vcpkg. After this, the build suceeded, but the binary did not work correctly. The flashing finished after a few seconds (way too fast) and the image in flash was corrupt and could not boot.
There seems to be an issue that occurs only on Windows and not on Linux.

@ondrejhennel Thank you for your testing this PR.

On Linux, with the bmap file available, with the same name as the image, the flashing time is considerably reduced (thanks!).
If modify the flashing script this way:
# @_image   [_flash.bin] [_bmap] | wic image burn to emmc.
...
FB: flash -raw2sparse -bmap _bmap all _image

I see:
3:644>Start Cmd:FB: flash -raw2sparse -bmap /home/mathieu/tmp/s0-image-imx93-var-som.wic.bmap all /home/mathieu/tmp/s0-image-imx93-var-som.wic.zst/*
which is expected, but then it fails:
3:644    4/ 6 [partition does not exist              ] FB: flash -raw2sparse -bmap /home/mathieu/tmp/s0-image-imx93-var-som.wic.bmap all /home/mathieu/tmp/s0-image-imx93-var-som.wic.zst/*

@nxpfrankli @ondrejhennel I can't deduce how the tags thing should work. The build is not working without a tag.

@nxpfrankli @ondrejhennel I can't deduce how the tags thing should work. The build is not working without a tag.

During the build, git describe is used to generate a version number from the latest tag. The build will be successful if there is any tag. However, the version number is used to check compatibility with the scripts. If there is a tag like uuu_db_bmap, uuu will think it is incompatible with the builtin scripts and fail to run.
I think the easiest solution to make the build work is to just use the tags that are in the original repo and not add any others.

@nxpfrankli I have fixed CI issues
@ondrejhennel @mothacehe I fixed the found issues. Please, give it another try. Also, note that I restored the default behavior in order to not surprise badly existing automation. Use either -bmap global option or -bmap binding to the flash command.

The flashing with bmap now works correctly on Windows. However, there is some strange behavior with the command-line switches.
Here are some examples:
> uuu -b emmc_all .\imx-boot .\image.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-15-g5283d01

Wait for Known USB Device Appear...
Error: Missed file name

-----------------------------------------------------------------------------------------------

> uuu -no-bmap -b emmc_all .\imx-boot .\image.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-15-g5283d01

Wait for Known USB Device Appear...
Error: Missed file name

-----------------------------------------------------------------------------------------------

> uuu -bmap .\image.bmap -b emmc_all .\imx-boot .\image.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-15-g5283d01

Success 0    Failure 0

2:3      1/ 0 [                                      ]
# gets stuck like this forever

The flags only work correctly in a custom script in a command such as FB: flash -raw2sparse -bmap image.bmap all image.wic or FB: flash -raw2sparse -no-bmap all image.wic. When no flag is specified (FB: flash -raw2sparse all image.wic), Error: Missed file name occurs.

@ondrejhennel Thanks for reporting. I found where I screwed with the command line parsing. Could you try with the fix? I locally verified so it should work as expected.

When using the -bmap command line flag, it still gets stuck like this.

> uuu -bmap .\image.bmap -b emmc_all .\imx-boot .\image.wic
uuu (Universal Update Utility) for nxp imx chips -- libuuu_1.5.125-15-g5283d01

Success 0    Failure 0

2:3      1/ 0 [                                      ]
# gets stuck like this forever

Other than that, it works correctly now.

When using the -bmap command line flag, it still gets stuck like this.

> uuu -bmap .\image.bmap -b emmc_all .\imx-boot .\image.wic
# gets stuck like this forever

This is an incorrect usage. The global -bmap option doesn't take an an argument. I'm not sure thath the stuck is related to the command handler itself.

I've tested this PR locally with success.


AxisProvider method removePlotLine won't remove the plot line

After analysing the problem why removePlotLine in Component PlotLine.componentWillUnmount won't kick in is that the argument (id) won't be passed to highcharts in "raw" format.
I've traced this code:
this.props.removePlotLine("SomeID");
and landed in the raw function removePlotBandOrLine in highcarts. What I saw is, that the argument, which is passed though the boundContextHelper, seems to be messy:
removePlotBandOrLine({ 0: "SomeID" })
What I've expected is just:
removePlotBandOrLine("SomeID")
This is happening because removeProviderProps in the cleanPropsBeforeUpdate.js expects an object, which is not given in this method thus return omit(config, getProvidedProps()); turns the config, which needs to be flat, into an object.
After removing the wrapper function cleanPropsBeforeUpdate from the AxisProvider for the removePlotLine method, removing a plot line works like a charm, but I don't think this is a perfect solution (There is surely a good reason, why you guys wrapped the remove methods with cleanPropsBeforeUpdate) due it seems to be a general problem (same applies to removePlotBand).
Maybe the function removeProviderProps (or cleanPropsBeforeUpdate) needs to be modified properly.
In fact, Ive tried just for fun to pass multiple arguments to native highcharts methods by using getBoundAxisMethod which results in passing only the first argument (depending on whether I am wrapping the method with cleanPropsBeforeUpdate which indeed passes multiple arguments as an object like described above)
I've posted a quick dirty solution to fix this bug in #16
Gonna post a little snippet how to reproduce the problem.

Thanks very much for this detailed bug report and fix! I've modified the removePlotLine and removePlotBand functions as you highlighted in the commits above.


Split IOI graph by QKV, fix missing head in GreaterThan

Note: this PR needs to change some hook_resid_mids to hook_mlp_ins

Yeah I think this should be merged after the full current batch of PRs (fix test bug, poetry, etc.)
And we should test how much loss the new canonical graphs have.

I think this is ready for review but we do need to test the new graphs. Maybe in the next PR.

@rhaps0dy I think we can i) merge https://github.com/ArthurConmy/Automatic-Circuit-Discovery/pull/48 into this branch
then ii) merge this branch into main.
I ran make canonical in the plots_data directory and most of the results for docstring were created. I then ran make docstring.gv and make docstring in the canonical_circuits directory and the correct circuit was generated :+1:

Sure, let's do that!
The test metrics for docstring are kind of crappy but I guess that's just what the canonical circuit is.


Entirely black image, on various (Linux) systems

Hi, we're trying to get the Python API wrappers to work but we're getting entirely black/transparent images on both 10.0.0 and 10.1.1, just like #99, #100 and #102. We've tried two different Linux systems without Nvidia GPUs (integrated Intel graphics), one with a GTX 645 (we're getting desperate) both with default drivers and nvidia-driver-470, as described in #102 (have yet to test nvidia-driver-515), all four configurations had the same problem, some with, some without GL error messages as in #100.
Until this is fixed, I would like to get any working system up due to an upcoming presentation, so:

Is there any way to know in advance whether a system is going to work?
What hardware/OS/driver configuration(s) did you test the current API version with?
Could switching to Windows for the time being help, even if using the API with Linux on the same machine is broken?

If so, does the API require a dedicated graphics card on Windows or would integrated graphics also work?

we are investigating the root cause, at this point we don't have additional information on driver/gpu combinations that fail. If you are able to use a Windows systems, it should work well in the meantime.

We have a new version out 10.2.2 which we recommend upgrading to - we have not fixed the opengl issue, however this version will allow you to connect to a probe without having to keep the Clarius App at the same version
Once you have upgraded, we would like to provide the next alpha library to test potential fixes. I can put this in the releases section under pre-release. To minimize uploads, please provide the python version and Ubuntu version you're using.

@genericusername3 if this is still an issue, can you send over the GL error messages being shown, thanks

sounds good, thank you!


chore: Upgarde all dependencies to latest

Updating all dependencies to latest available.
Test Plan

[ ] acceptance tests

[ ] …

References

Go 1.17 keeps references to the dependency graph for Go 1.16 as it made the breaking change to how go mod tidy worked. Essentially, if the go directive in our go.mod file is "1.17", go mod tidy changes its behavior. I ran the tests and it doesn't seem like we have any references to the specific behavior of go version 1.16, so I have changed our go mod tidy commands to use go mod tidy -compat=1.17 instead to remove the references. I think the security scanner simply looked at the go.sum file and associated the CVEs with the versions, but it doesn't seem like we actually use them.

I've also incorporated an exclude directive because there was a breaking change in one of the terraform-exec packages that no longer exists. The exclude directive should prevent us from accidentally upgrading to that version and breaking things. From what I gathered it was still a requirement by another dependency of Hashicorp so until they update, we will have to keep that exclude in there.


Choose CLI commands handling

Alternatives:

Golang flag package
Cobra (https://github.com/spf13/cobra)
Codegangsta CLI (https://github.com/urfave/cli)
Goptions (https://github.com/voxelbrain/goptions)

P.S. Keep in mind, that it should be not "over-complex" for this simple project.

I tend to use "plain" Golang plain package for CLI commans handling, because it's simple to start and I don't have to set up dependencies with Godeps etc.


npy file size limit

I am sucessfully using cnpy for the conversion of a custom .fld format to .npy, however, i have lately observed issues with very large files. my npy files are written to a maximum size of 6.81GB - then writing stops but the process continues without any errors.  the resulting npy is faulty because the array size specified in the header does not match the data.

Hi, you can try to change lines 85 and 133 in the "cnpy.cpp" file to:
shape.push_back(std::stoul(sm[0].str()));

The original implementation uses std::stoi which cannot support shape dimension > 2,147,483,647.

Great. Thanks guys, that solved my issue!


Multi-language support for extension

Not sure how well the Firefox version will handle such things though.

https://developer.chrome.com/webstore/i18n
https://developer.chrome.com/extensions/i18n

Init: https://github.com/david-sabata/web-scrobbler/compare/master...inverse:i18n?expand=1

Latest Firefox handles it fine.
You could find relevant info at MDN

Thinking about it more it feels like for a lot of the pages we should be using a templating library to make this easier to work with. so we can generate the strings with chrome.i18n.getMessage and passing them through. Any suggestions of a library to use?

We just use static pages, so won't something like this
$(function () {
	$('*').each(function () {
		if (this.prop('i18n-text')) {
			this.text(chrome.i18n.getMessage(this.prop('i18n-text')));
		}
	});
});

be enough?

What about placeholder? Where we concatenate? Also it's not just text we replace, we also update titles and placeholders

What about placeholders, e.g. where we build sentences up. Also what about title and placeholder attributes?

What's wrong with i18n.getMessage() second parametr?
https://developer.mozilla.org/en-US/Add-ons/WebExtensions/Internationalization

@marsjaninzmarsa what would you put here?

@inverse any replaceable string part we need.

Example of implementation and the project page on Transifex. Probably missed some strings, please let me know if you find non-localized text (I know "Accounts" section is not localized yet).
@f1u77y any comments about RU localization?

Looks good :)

I've requested Polish language.

Requested German :)

How does the process go for getting new strings translated going forward? or pulling them out of the tool? Let me know if you need me to review any documentation.

@inverse Translations can be downloaded or uploaded by using Transifex client. I pushed configuration file of Transifex client to i18n branch.
Optionally this can be automated by adding Grunt task executed before publishing new releases.

I also updated source locale and added missing strings. I didn't change source messages too much, but some of them look outdated a little. Changes are welcomed.

Merged i18n branch into master branch.
Currently, only RU locale is ready for use. Feel free to translate source strings to other locales.

:+1:

Finished Polish and added Transifex link to wiki.


imported revive function and islands from script into browser is not taking basepath into account

Trying to add a basepath /neoplayer/ to a deno fresh app, with another app (node project) at the root.
Basepath is setup in deno fresh config and import in main.ts. Everything works fine except the islands.
In the html file loaded in the browser, basepath is applied to src and href (like said in the docs)

At the end there is a script that imports the revive function from main.js and islands from there own js files. Those imports are not prefixed with the basepath.

So the request is on the root and the js is not load which leads me to this error in the browser because my root application returns a 404 error page :

deno version : 1.36.1
deno fresh version : 1.6.5

Hi @Bramart, I coded this feature. There is a test for it here:
https://github.com/denoland/fresh/blob/46eaef0181cba60a5e0284f58b24925e762c7784/tests/base_path_test.ts#L130
which uses:
https://github.com/denoland/fresh/blob/46eaef0181cba60a5e0284f58b24925e762c7784/tests/fixture_base_path/routes/islands.tsx#L4
Can you provide some more details? They should all be redirected like this:

Hi, here is a fresh repo I just create and still facing the same issue with : https://github.com/Bramart/fresh-project (deno fresh example with basepath config ...)
In local, it works for me too, they are redirected (I have interactivity) :

But once deployed behind another app, they are not (and no interactivity) :

In local, the redirection is made by fresh because fresh manage the whole app, but once deployed to a basepath and next to another app, those requests just hits on the root application like they are supposed to ?

You are very right there. I have a fix and I'm working on a test. Oops 😅


Add Basic Auth per Frontend

Fixes #751
Currently, only Basic Auth and the docker & rancher provider are supported.

@SantoDE Kubernetes please :)

Hey @cemo ,
Sadly I've personally used Kubernetes so it's really hard for me to add it. However, if you're experienced in Kubernetes let's meet on Slack ;-)

Yes, support for Kubernetes would be nice as well 👍

beautiful!  I will test this out very soon

@SantoDE, maybe you can blind code, just with unit tests ;-)

Adding to consul_catalog backend would be great

Is there any scope to add support for an identify provider ? i.e. LDAP / OAUTH ?

I haven't tested this branch yet, but does it support the functionality added in https://github.com/containous/traefik/pull/889 where the authenticated user is added to the header?

Seems to be a good first step to me :D

Will this work with the file backend as well?

@OlivierCuyp awesome men, I look forward to this merge

@SantoDE Hey, just opened https://github.com/SantoDE/traefik/pull/1 adding support for basic auth in kubernetes :)

@SantoDE Does this allow use of a htpasswd file? Thank you!

@SantoDE We should move on this one, could you add support for traefik.<servicename>.* properties (https://github.com/containous/traefik/pull/1257)?

Yeah @emilevauge , will do tonight or tommorow :)

It's such a shame that this Feature / Pull Request is still not merged, because dynamic basic auth is such an important feature! :(

@tha80

It's such a shame that this Feature / Pull Request is still not merged, because dynamic basic auth is such an important feature!
Then, Traefik is free, you did not pay anything to use it.
Finally, like all other contributors, you are welcome to create a PR on this :)
Therefore it's difficult to say that it's "a shame" if a feature is missing...

docs updated @vdemeester 👼

Oh man, @SantoDE is soooo fast !

@SantoDE Are we able to use a htpasswd file with this? Thanks again!

Typos fixed @timoreimann :) So feel free to merge! :D cc: @containous/traefik

Hi,
I need this feature too, do you know how many time it usually takes between the merge and the next release ?
Best regards,

@jri-sp if you look through the releases page it might give you an indication. Hint; look for the time between 2.1 and 2.2.

@jri-sp @Starefossen previous release cycles are probably not a good indication anymore as we are currently trying to release more frequently. The goal is to ship every other month.
Code freeze is supposed to happen at the end of April. Depending on how much feedback we get during the release candidate phase, 1.3 should be out sooner or later. I'd think on the order of 2-3 weeks.

@Starefossen @timoreimann
Alright! thanks both of you for your quick answer!


Subclass link error

Hi vsimon!
I got a lot link errors recently. I finally locate the problem after testing.
When extending subclass from some webrtc class ie rtc::Thread, g++ will say undefined reference to `typeinfo for rtc::Thread'.
Code:
#include <iostream>
#include "webrtc/base/thread.h"

class GangCapturerThread: public rtc::Thread {
public:
	explicit GangCapturerThread() {
	}
	virtual ~GangCapturerThread() {
	}

	void Print() {
		std::cout << "ok" << std::endl;
	}
};

int main(int argc, char **argv) {
	GangCapturerThread thread;
	thread.Print();
}

Command:
g++ ./main.cc    `pkg-config --cflags --libs --define-variable=prefix=/home/savage/soft/webrtc/webrtc-linux64 libwebrtc_full` -o "ic-webrtc"

Error:
./main.o:(.rodata._ZTI18GangCapturerThread[_ZTI18GangCapturerThread]+0x10): undefined reference to `typeinfo for rtc::Thread'
collect2: error: ld returned 1 exit status

Another Test:
#include <iostream>
#include "webrtc/base/thread.h"

int main(int argc, char **argv) {
	rtc::Thread* thread = rtc::Thread::Current();
	std::cout << thread->IsCurrent() << std::endl;
}

Everything's ok!
I've no idea what's wrong with the subclass.

OH, It's my fault!
The "explicit", sorry.

I think the no-rtti option solved the problem.But how can i mix -fno-rtti and -frtti in projects?

Thanks for the updates! I'll look into mixtures of -fno-rtti (for webrtc) and -frtti (user apps).as well.

You're right it seems webrtc builds with no-rtti by default. I read that having libraries linked with different RTTI flags is not a very good idea and may lead to a lot of surprises. I think user projects are likely to have it on by default so I pushed a patch to enable rtti on osx and linux here https://github.com/vsimon/webrtcbuilds-builder/commit/954e00430209f3c585eade96056343f7deee3285
If it turns out this is not the case, I can revisit this patch later, closing issue for the time being.
P.S. The latest builds for osx and linux starting from revision 9388 onward will be compiled with this patch.


fix: only import from bluetooth_adapters when running on linux

This avoids an exception on Windows because socket.CMSG_LEN is only available on UNIX platforms.
  File "bleak_retry_connector/__init__.py", line 18, in <module>
    from bluetooth_adapters import load_history_from_managed_objects
  File "bluetooth_adapters/__init__.py", line 12, in <module>
    from .dbus import (
  File "bluetooth_adapters/dbus.py", line 10, in <module>
    from dbus_fast import BusType, Message, MessageType, unpack_variants
  File "dbus_fast/__init__.py", line 1, in <module>
    from . import aio, glib, introspection, message_bus, proxy_object, service
  File "dbus_fast/aio/__init__.py", line 1, in <module>
    from .message_bus import MessageBus
  File "dbus_fast/aio\message_bus.py", line 29, in <module>
    from .message_reader import build_message_reader
  File "dbus_fast/aio/message_reader.py", line 7, in <module>
    from .._private.unmarshaller import Unmarshaller
  File "dbus_fast/_private/unmarshaller.py", line 16, in <module>
    UNIX_FDS_CMSG_LENGTH = socket.CMSG_LEN(MAX_UNIX_FDS_SIZE)
AttributeError: module 'socket' has no attribute 'CMSG_LEN'

I think we should fix bluetooth-adapters to not require dbus-fast on windows

Sure that's also a possibility.
I think both would probably make sense because the use of the import here is guarded by the IS_LINUX constant anyway.


upstream Active health checks unsupport input host_header

KONG v2.0.1 is suported Active health checks set host_header,
but konga upstream Active health checks unsupport input host_header in the window

Why was it closed


solution to ex5.

(last commit)
Author's name: Valerio Bitetta
score: 3
chemical accuracy: 3.8499589892779795 mHa,
number of parameters in the ansatz: 2

Sorry for the delay. Thank you very much for your submission!


Generate enum validation on type not property

Pull Request Test Coverage Report for Build 121940430

-10 of 10 (0.0%)  changed or added relevant lines in 1 file are covered.
190 unchanged lines in 4 files lost coverage.
Overall coverage increased (+5.2%) to 36.603%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

hack/generator/pkg/astmodel/enum_definition.go
0
10
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/zips/env.go
3
0%

pkg/zips/types.go
25
54.76%

pkg/zips/client.go
75
3.96%

pkg/zips/template.go
87
26.32%

Totals

Change from base Build 121876907:
5.2%

Covered Lines:
694

Relevant Lines:
1896

💛  - Coveralls


[Feature request] show SQLite column type

I think that its easy to show: column_name [VARCHAR(10)]
https://sqlite.org/datatype3.html

yes


Readme Update (gcloud to google-cloud)

Hello @idoshamun
Code block in readme file is need to update like:
  const gCloud= require('google-cloud')({
    projectId: 'your-google-cloud-project-id-123456789'
  })
  const pubsub = gCloud.pubsub()
  const io = require('socket.io')(3000)
  const pubsubAdapter = require('socket.io-pubsub')
  io.adapter(pubsubAdapter(pubsub))

Have a great day!

Updated, thanks for the feedback!
Feel free to submit a pull request next time


Series names with a comma are split in two

Came across this minor issue, but thought would report anyway, Series:Warhammer_40,000 was split into two different series at the comma when fetching metadata.

Thanks for reporting!
Do you know of any game pages that have multiple series listed? Want to make sure any changes I make here cover those as well

Fixed in 1.2.1

Do you know of any game pages that have multiple series listed? Want to make sure any changes I make here cover those as well

Here are a couple useful test cases;
Black Widow: Recharged and Centipede Recharged, have two series listed, among other things in Series:Atari Recharged
Series:Cook, Serve, Delicious! has two commas in the series name~


Failed to play music lavaplayer

Describe the bug
Can't play music trough the bot

Windows Server 2019

To Reproduce
Steps to reproduce the behavior:

reinstall java https://adoptopenjdk.net/index.html (tried 8 and 11)
Restart Music bot
Shutdown and start

Expected behavior
Replace this text with a clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem here.
Debug Info
[09:16:18] [INFO] [Startup]: Loaded config from D:\Bots\MC_Nassie\config.txt
[09:16:19] [INFO] [JDA]: Login Successful!
[09:16:19] [INFO] [WebSocketClient]: Connected to WebSocket
[09:16:20] [INFO] [JDA]: Finished Loading!
[09:16:48] [WARN] [LocalAudioTrackExecutor]: Suspicious exception for playback of 7DZsIknkKJg
com.sedmelluq.discord.lavaplayer.tools.FriendlyException: Track information is unavailable.
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadTrackBaseInfoFromEmbedPage(DefaultYoutubeTrackDetailsLoader.java:199)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadBaseResponse(DefaultYoutubeTrackDetailsLoader.java:83)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.load(DefaultYoutubeTrackDetailsLoader.java:54)
at com.sedmelluq.discord.lavaplayer.source.youtube.DefaultYoutubeTrackDetailsLoader.loadDetails(DefaultYoutubeTrackDetailsLoader.java:40)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.loadBestFormatWithUrl(YoutubeAudioTrack.java:76)
at com.sedmelluq.discord.lavaplayer.source.youtube.YoutubeAudioTrack.process(YoutubeAudioTrack.java:42)
at com.sedmelluq.discord.lavaplayer.track.playback.LocalAudioTrackExecutor.execute(LocalAudioTrackExecutor.java:105)
at com.sedmelluq.discord.lavaplayer.player.DefaultAudioPlayerManager.lambda$executeTrack$1(DefaultAudioPlayerManager.java:349)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630)
at java.base/java.lang.Thread.run(Thread.java:832)
Caused by: java.lang.IllegalStateException: Expected player config is not present in embed page.
... 11 common frames omitted
Additional context
The music bot's failed to load tracks from youtube (only links i use)
i had no clue how to use the debug command. but i sended the information wich i got from the console.

issue fixed config

issue fixed config


Naviagtion between Pages

As a User I want to be able to navigate back from a page to its previous layer.
e.g. When in a specific Lesson and clicking on "Back" the User is directed to the Subtopicpage with all its lessons.
AC:
[] Back-Button on every page leading to previous page

I would suggest create a controller class to handle all the navigation (of course, if we would decide to take on the suggestion to use model-view-controller pattern).


Bug: unsupported-features/node-builtins-modules doesn't work for semver range in v17

Environment
Node version: v20.12.2
npm version: 10.5.0
ESLint version: 8.57.0
eslint-plugin-n version: 17.2.1
Operating System: macOS
What rule do you want to report?
unsupported-features/node-builtins-modules
Link to Minimal Reproducible Example
https://eslint-online-playground.netlify.app/#eNpdkl1PwyAUhv8K4Woma7cmxmnNduW9N8abMROkx6WzBTzAnNn63z2U7pMr+nJ4eDh0zx2qCexkaxvIN46XXBntPJPOAXo2Zwg/oUYYCZ4iwe+ehdbwO5TkCBtQ3o1izMc8B9fU2qMimtHE2wvNmOCw86ArJ3jJlvTVF5UIyrQt5VAJPqYq24R1rUs9uVpZjRPDSqQjX62vyTGSenZPV618B3S0EHPBG+nBkWy/M1Y4E1DB25+FVNCaKjQ0j+vdwEdKLrlpCK4n2mRBu2CtQQ9V9gXSBwRHeQXZZ6gbXyej5XknWSEaPDnEcQPeXiov5k/5NJ8mpTS643TVawrdUYetVN9yHV/rqr+aGndlT95kl9gfxX1ezPIpOxzYYl48nA863r2C7QvY2HCt6htOeq1Eerzoacqz9GjZcI1iNoDJlv6I7h9Tur5F
What did you expect to happen?
This works fine (expectedly fail),
"n/no-unsupported-features/node-builtins": ["error", {version: "9.0.0"}]

but this doesn't work (unexpectedly success) in v17: demo
"n/no-unsupported-features/node-builtins": ["error", {version: ">=9.0.0"}]

v16 works fine: demo
Participation

[ ] I am willing to submit a pull request for this issue.

Additional comments
Since specifying the version by range is common in the engines field of package.json, this bug is likely to occur in many cases.
However, this is not included in the test cases.
The logic of this range comparison seems to be the cause.
https://github.com/eslint-community/eslint-plugin-n/blob/eb11b5b35a6a797dc7fba6df53b1c4dada3a2a55/lib/util/check-unsupported-builtins.js#L40-L53

Thank you for this report!
We have two options here:

Convert the range to a minimum version
Throw an error to state that the config must not be a version

I think in this context that converting it to a minimum version is the best course of action.
What do you think @aladdin-add?

Throw an error to state that the config must not be a version range

What about the engines field of package.json? Mostly range is used there.

Convert the range to a minimum version

When the engines field is >=18.10.0 || >= 20.0.0, it should be converted to 18.10.0 ? When supported versions are ["20.1.0", "18.9.0"], it cannot be determined whether it is supported using the minimum version.
It would be better to use the same logic as before.
https://github.com/eslint-community/eslint-plugin-n/blob/16.6.2/lib/util/check-unsupported-builtins.js#L54-L60

The same section you highlighted can be found here on master:
https://github.com/eslint-community/eslint-plugin-n/blob/master/lib/util/check-unsupported-builtins.js#L40-L47

The difference:

v16: return !configured.intersects(unsupportedRange) (configured is expected to be range)
v17: return configured.intersects(supportedRange)　(configured is expected to be only minimum version)

yes, the configured version should be a subset of the supported range. I have made a fix: #252

A fix was implemented in #252, but due to an issue in semver we needed to revert it.
For now I wonder if we can solve this another way 🤔


Symlinking html page does not always trigger change ng serve

Which @angular/* package(s) are the source of the bug?
compiler-cli, Don't known / other
Is this a regression?
No
Description
In order to provide whitelabelling we symlink some of our pages to a customer directory. Making changes in that customer directory (as long as "that file is linked to the src folder of the original page" triggers the change tracking of ng serve.
It just doesn't always trigger it, and once it "breaks" it breaks until the symlink is removed, and rebuild again.
The output of ng serve doesn't see the change.  Important is that the tenants are "outside" of the app folder. And again, it does work, untill it doesn't.
|-- tenant
|   |-- login
|   |   |-- login.page.html <--- LINK A-src
|   |   |-- login.page.scss <---- LINKB-src
|-- app
|   |-- @core
|   |   |-- api
|   |   |   |-- api.service.spec.ts
|   |   |   `-- api.service.ts
|   |-- app.component.html
|   |-- app.component.scss
|   |-- app.component.spec.ts
|   |-- app.component.ts
|   |-- app.routes.ts
|   |-- login
|   |   |-- login-routing.module.ts
|   |   |-- login.module.ts
|   |   |-- login.page.html <--- LINK A-dest
|   |   |-- login.page.scss <--- LINK B-dest
|   |   |-- login.page.spec.ts
|   |   `-- login.page.ts
|   |-- tab1
|   |   |-- tab1.page.html
|   |   |-- tab1.page.scss
|   |   |-- tab1.page.spec.ts
|   |   `-- tab1.page.ts
|   |-- tab2
|   |   |-- tab2.page.html
|   |   |-- tab2.page.scss
|   |   |-- tab2.page.spec.ts
|   |   `-- tab2.page.ts
|   |-- tab3
|   |   |-- tab3.page.html
|   |   |-- tab3.page.scss
|   |   |-- tab3.page.spec.ts
|   |   `-- tab3.page.ts
|   |-- tab4
|   |   |-- tab4.page.html
|   |   |-- tab4.page.scss
|   |   |-- tab4.page.spec.ts
|   |   `-- tab4.page.ts
|   |-- tab5
|   |   |-- tab5.page.html
|   |   |-- tab5.page.scss
|   |   |-- tab5.page.spec.ts
|   |   `-- tab5.page.ts
|   `-- tabs
|       |-- tabs.page.html
|       |-- tabs.page.scss
|       |-- tabs.page.spec.ts
|       |-- tabs.page.ts
|       `-- tabs.routes.ts
|-- custom.scss
|-- environments
|   |-- environment.prod.ts
|   `-- environment.ts
|-- global.scss
|-- index.html
|-- main.ts
|-- polyfills.ts
|-- test.ts
|-- theme
|   `-- variables.scss
`-- zone-flags.ts

Please provide a link to a minimal reproduction of the bug
To inconsistant
Please provide the exception or error you saw
No errors

Please provide the environment you discovered this bug in (run ng version)
Angular CLI: 15.2.8
Node: 18.12.1
Package Manager: npm 8.19.2
OS: win32 x64

Angular: 15.2.9
... cdk, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1502.8
@angular-devkit/build-angular   15.2.8
@angular-devkit/core            15.2.8
@angular-devkit/schematics      15.2.8
@angular/cli                    15.2.8
@schematics/angular             15.2.8
rxjs                            7.5.7
typescript                      4.8.4

Anything else?
No response

Can you setup a minimal repro please?
You can read here why this is needed. A good way to make a minimal repro is to create a new app via ng new repro-app and adding the minimum possible code to show the problem. Then you can push this repository to github and link it here.
This might be related to your directory structure so its really important to get an accurate repro to diagnose this.

Its to inconsistant to reproduce, I created the issue as a +1 for people running into it, as a datapoint. Ill close the issue


Add Nong Song:

Song Name
Rhythm Hell
Artist Name
Tvasko
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=a-EI30uucng
Direct File Link
No response
Song ID
1213840
Start Offset [ms]
10
Extra
Used in "Rhythm Hell" - 90609201

accept

accept

reject
incorrect offset


Mission Control needs to be updated for 1920 Source

Needs to be able to create prepend, postpend and testcases.

Handled by https://github.com/source-academy/cadet-frontend/pull/594
already?


GCM - "Push.appCollection" is empty

Hi!
I have tried to connect my app using the basic guide but still ends up with "Push.appCollection" is empty...
I have created an app in Developer Console.
I have enabled Google Cloud Messaging for Android.
In my config.push.json I have:
{
  "gcm": {
    "apiKey": "AIzaSyCD4fDb2OZPzvRQxjWxxQ_XXXXXXXXX",
    "projectNumber":<PHONE_NUMBER>63
  },
  "production": false,
  "sound": true,
   "alert": true,
  "vibrate": true
}

In my client/client.js I have:
Push.addListener('token', function(token) {
  console.log('Token: ' + JSON.stringify(token));
  alert('Token: ' + JSON.stringify(token));
});
console.log('Push.id(): ' + Push.id());

In my server/pushServer.js I have:
Push.allow({
  send: function(userId, notification) {
    return true; // Allow all users to send
  }
});
Push.debug = true;

And in client/details.js I call the Push.send like so:
function sendPush(pushObject){
    console.log('Pushing: ' + JSON.stringify(pushObject));
    Push.send({
        from: pushObject.from,
        title: pushObject.title,
        text: pushObject.text,
	query: {}
    });
}

And the console outputs:
=> App running at: http://localhost:3000/
I20150408-13:11:24.084(2)? Push.Configure { gcm: { apiKey: 'AIzaSyCD4fDb2OZPzvRQxjWxxQ_XXXXXXXXX' },
I20150408-13:11:24.086(2)?   production: false,
I20150408-13:11:24.086(2)?   sound: true,
I20150408-13:11:24.086(2)?   alert: true,
I20150408-13:11:24.086(2)?   vibrate: true }
I20150408-13:11:24.086(2)? GCM configured
I20150408-13:11:44.735(2) (android:http://meteor.local/client/client.js:5) Push.id(): tANjKGjGT67XDL28M
I20150408-13:12:53.843(2)? Push: Send message "Aktivitet tillagd" via query {}
I20150408-13:12:53.844(2)? Push: Sent message "Aktivitet tillagd" to 0 ios apps 0 android apps
I20150408-13:12:53.847(2)? Push, GUIDE: The "Push.appCollection" is empty - No clients have registred on the server yet...

Where XXXXXXXXX is just for posting this issue.
Could you guide me in the right direction?
I have also tried uploading the app to heroku, but with the same result.
/Pelle

Does the app it self show the token alert? if so you should set the --mobile-server setting

The app does not show the token alert.
And I have the --mobile-server set

Try running $ meteor run android-device -production

Ok I tried  meteor run android-device --production
Was that correct?
It didn't work.

the mobile-server setting

Thank you for the quick response!
When I run meteor run android-device --moibile-server -production  I get following error in terminal:
XMLHttpRequest cannot load http://<IP_ADDRESS>:3000/sockjs/info?cb=_g4v01y1xi. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://meteor.local' is therefore not allowed access. The response had HTTP status code 404.

And the Meteor.status().status;  just says "waiting" and never gets connected.
If I use the android device I am able to browse http://<IP_ADDRESS>:3000
Thanks for all the help :-)

meteor run android-device --moibile-server http://<IP_ADDRESS>:3000 -production
It's your cordova app not connecting to the meteor server - maybe have a visual clue while testing.
  Template.clue.helpers({
    connected: function() {
      return Meteor.status().connected;
    }
  });

I ran meteor run android-device --mobile-server http://<IP_ADDRESS>:3000 --production
With two -- before production, otherwise I got some errors complaining of port.
The Meteor.status().connected says true.
And still no devices...
My "Key for server applications" has allowed IPs set to <IP_ADDRESS>/0
I don't know any more settings I have made.

@Alacon, can you try setting configuration parameter like so?
https://github.com/dennisharrison/mapp-skeletor/blob/master/app/mobile-config.js#L13

I haven't had time to test until now, damn those bosses at work... :)
So now I have tried it, with and without --production.
But still no connected devices.
I tried the example project https://github.com/elvismercado/meteor-raix-push-demo but still no luck.

What type of network are you on? try going off wifi

I deployed server to heroku and client to phone, disabled wifi but that didn't' work either.
Still no clients have registered...

I have the same issue here. Do I need to release the app in the market place, in order to get the token? Could I make notification work in emulator? I have dug around for a few hours... no luck so far.
I couldn't get pass the token part... no log on:
Push.addListener('token', function(token) {
	console.log('Token: ' + JSON.stringify(token));
	alert('Token: ' + JSON.stringify(token));
});

Anyone one help?

I managed to get my push to work.
I don't know exactly what the difference were but I altered my app to look like meteor-raix-push-demo
Maybe my gcm-key needed some time to activate? :-)
Thanks for an awesome package!

I'm stuck on this same issue.  I've read all the threads about this but I never get prompted on my android app to allow notifications.  This is Android 4.4.
Anybody?

I have found that if I "mup deploy" to my server, then do "meteor run --android-device --mobile-server http://mymeteorappdomain.com", and then do "mup logs", it looks like notifications are being sent, and in fact on my server (but not on my local database), I do see documents in _raix_push_app_tokens, and I see as in the following snippet from "mup logs" (but I never see a notification on my phone):
[<IP_ADDRESS>] ANDROID: Result of sender: {"multicast_id":5702351191758314000,"success":1,"failure":0,"canonical_ids":1,"results":[{"registration_id":"APA91bHqRpAdKFSpdDxFtoPdV5k9MzHGnxX6a3IxfiwISvE3PMY31GnX0iq522LVhMNW0a_yCBJZbXARIeiLFLiffoO0Hj8fgr7vmwi1hugOagoIhSpOq1px_qeu5QYUKcaSCxappN28","message_id":"0:1437631167246491%84aa6b390034af1a"}]}[my.ip.addre.ss]
[<IP_ADDRESS>] Token: {"gcm":"APA91bG6_ZuqxILurzZeHHR1oXnaIKuSQ3-szTUIfNFj5bRBbnWr4mFE0p-zXJphSb35rgjiyrGy904TUCP0wpKDHSw6SPyNw3PlgQQXcrfb3WEadAEsvfmi9ke3ee_CGY2Jnzi3jsef"}[my.ip.addre.ss]

OK I finally got a push notification.  Believe it or not, in my googling I ran across this Push Notification Tester app.  I installed it.  The test worked.  I then closed this Push Notification Tester app, went back to my app, having changed nothing in my code, nor rerun meteor, nothing, and clicked the button I had set up to send a test push notification, and it simply worked.
I'd really like to know what running this third party tester app did to make my notifications work, but since I've been at this for 12 hours straight, I'm done for the day.

Hey @chrisco23 can you pass along the 3rd party tester app that you got to work?

it was literally what I get when I google "push notification tester".  pink logo.

Cool thanks
I just got raix working !
Harry Ward
Technical Product Manager & Engineer
mobile:<PHONE_NUMBER>

On Aug 29, 2015, at 6:59 PM, Chris Cortese<EMAIL_ADDRESS>wrote:
it was literally what I get when I google "push notification tester". pink logo.
—
Reply to this email directly or view it on GitHub.

Hi!
I am struggling with the exact same issue for a couple of hours now. I am trying to set up GCM notifications, but the server logs tell me that the "Push.appCollection" is empty
I use

Meteor <IP_ADDRESS>
<EMAIL_ADDRESS>
I followed the documentation, edited my mobile-config.js as suggested, and tried to switch networks.
Any suggestions would be appreciated greatly!

@wvanooijen92 does the app have connection to the server, if not set the mobile-server flag. Also check if Push.id() is set on the client

Thanks for your quick response @raix.
I have deployed the application to our dev environment and  used it's address in the mobile-server flag.
The Push.id() is set on the client.
When is the package supposed to fill the appCollection actually?

Does it work locally?

I used<EMAIL_ADDRESS>is it works with meteor <IP_ADDRESS>

No I didn't got it to work locally.
I updated to raix:push 3.0.3-rc.5 and meteor <IP_ADDRESS>.
The build logs told me the usage of config.push.json is deprecating so I moved the following to client/client.js
// Common client api
Push.Configure({
gcm: {
// Required for Android and Chrome OS
projectNumber: xxxx
},
bagde: true,
sound: true,
alert: true
});
And:
Push.Configure({
    gcm: {
        apiKey: 'xxx'
    },
    production: true, // use production server or sandbox
});

to server/server.js
Now the build fails, the logs say:
=> Errors executing Cordova commands:
While adding plugin<EMAIL_ADDRESS>to Cordova project:
Cordova error: Variable(s) missing (use: --variable SENDER_ID=value).

No I didn't got it to work locally.
I updated to raix:push 3.0.3-rc.5 and meteor <IP_ADDRESS>.
The build logs told me the usage of config.push.json is deprecating so I moved the following to client/client.js
// Common client api
Push.Configure({
gcm: {
// Required for Android and Chrome OS
projectNumber: xxxx
},
bagde: true,
sound: true,
alert: true
});
And:
Push.Configure({
    gcm: {
        apiKey: 'xxx'
    },
    production: true, // use production server or sandbox
});

to server/server.js
Now the build fails, the logs say:
=> Errors executing Cordova commands:
While adding plugin<EMAIL_ADDRESS>to Cordova project:
Cordova error: Variable(s) missing (use: --variable SENDER_ID=value).

No I didn't got it to work locally.
I updated to raix:push 3.0.3-rc.5 and meteor <IP_ADDRESS>.
The build logs told me the usage of config.push.json is deprecating so I moved the following to client/client.js
// Common client api
Push.Configure({
gcm: {
// Required for Android and Chrome OS
projectNumber: xxxx
},
bagde: true,
sound: true,
alert: true
});
And:
Push.Configure({
    gcm: {
        apiKey: 'xxx'
    },
    production: true, // use production server or sandbox
});

to server/server.js
Now the build fails, the logs say:
=> Errors executing Cordova commands:
While adding plugin<EMAIL_ADDRESS>to Cordova project:
Cordova error: Variable(s) missing (use: --variable SENDER_ID=value).

https://github.com/raix/push/tree/fix-device-dependency-deprecate-json-format#config

That did the trick thank you very much!


Add default command to add spacer tiles to dock

The persistent-apps key allows to add spacer tiles to the dock (see screenshot), by appending a specific string to the array of the key.
This time I also tried to add some recording for this default key. I just faced one challenge: there is no -array-remove command, so that I can programmatically remove the spacer tile. That's why I described the manual steps in the logRollbackInfo(). It would be great it this can be automated though.. Do you happen to have an idea on how to achieve this?
However, this also affects the generated page for this command, as I don't think it should contain the defaults delete com.apple.dock persistent-apps command. (I didn't try to run it, but I guess it will remove all apps from the dock?). Is there any way to not show the delete command for a key?
TODOs

[ ] Record real screenshots (the ones in this PR are just created with the touch command to be able to run the server)

Screenshot

Wow. Nice job!

Is there any chance you tried to save your entire Dock setup by saving your defaults read com.apple.dock persistent-apps output?

Hmm.. that's unfortunate. For the command in #46, the delete is fine, since it only stores additional information, but deleting the whole dock setup is not great 😄
Saving and restoring with defaults read sounds like a good idea for recording the screenshots! But for the rendered website, we would probably need some advanced behavior, as we would add the spacers with array-add, but write a textual description of the manual steps to delete the spacers, as this is not possible with the defaults command.
I'll try the saving + restoring during the weekend

What if we provide a way to hide the "delete" section? Or add a markdown comment on it?

So I've tried some stuff, what do you of having a custom alert before the delete command?

We could display it by adding a deleteAlert section in the defaults.yml file:
        deleteAlert:
          type: danger
          message:
            "This command will remove all saved Apps from your Dock!<br>
            Make sure to save your config using
            ```bash
            defaults read com.apple.dock persistent-apps > dock-persistent-apps.txt
            ```
            You can restore it using
            ```bash
            defaults write ... TODO
            ```"

Let me know what you think!

I really like the customizable message above the delete command! This promotes transparency over hiding possibly destructive actions

Thanks for your help, I'm finishing the job 🙂

Looks great, thank you for finishing it! And I also learned something new again because of this project: defaults export and defaults import 🥳


ols: 0-unstable-2024-07-01 -> 0-unstable-2024-08-01

Description of changes

Things done

Built on platform(s)

[ ] 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

[ ] 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.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

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

1 package failed to build:

ols


Don't fail when listing dir content that is ignored

This is to address syncthing/syncthing#4885.
The source of the problem is, that children of a watched directories are loaded with ioutil.ReadDir which stats all the contents and returns any occurring error. Ignoring (not watching) happens at a later stage.
Now reading the children is done without ioutil and ignoring happens before stating, thus preventing ignored items to produce an error.
Testing: It builds and notify and syncthing tests pass locally (linux).
This doesn't need to be upstreamed because they didn't want ignoring before (it admittedly isn't complete, but very tailored to our needs).

@imsodin: thanks for fixing it. How can I build this one? Will it be included in 14.47release?

It first needs to be included in syncthing's vendoring and for that this needs to be merged. And yes I believe this should be in 0.14.47. I'll try to do it quickly, so that you can go on working on the Android app.
@calmh @AudriusButkevicius @Zillode Anybody interested in giving this a quick sanity review? Just giving you a heads up before merging it unilaterally (which will happen soon ;) ).

LGTM

@imsodin considering the weirdness found so far and that we're 2/3 through the 0.14.47 cycle I'm considering pulling back the "fs watcher is on by default" change one release. We then reintroduce that in 0.14.48 and hopefully that RC cycle doesn't reveal more badness.
(This doesn't prevent running with it on in Android for example, if you like)

I don't think it's so bad, this is only the second problem and both were very narrow, as in only affecting few cases. However I wouldn't mind pushing it back one release. I think it should be "all or nothing", i.e. also remove the web UI part. Otherwise users will stumble over the watcher settings, so the explanatory banner in 0.14.48 will be useless.


Add support to query signature requests list

Add the ability to use the "query" parameter for ListSignatureRequests requests.
Workaround:
You can use a requests library to build a raw HTTP request and send it through like that. An example using RestSharp:
        static void querySignatureRequests(string apiKey)
        {
            var key = apiKey;
            var httpClient = new RestClient("https://:@api.hellosign.com/v3/");
            httpClient.Authenticator = new RestSharp.Authenticators.HttpBasicAuthenticator(key, "");
            string urlString = "signature_request/list/?query=created:[2020-07-15+TO+2020-07-15]";
            var request = new RestRequest(urlString);
            IRestResponse response = httpClient.Execute(request);
            var status = response.Content;
            Console.WriteLine(status);
        }

Related ticket number: 386925
Internal reference number:

I've added this support locally (I guess I could have used the "AdditionalParameters" but this was easier).  However, searching doesn't work, my query looks like this "complete:false+AND+declined:false" and it fails all the time.  Is their online documentation just bogus?  Are there supposed to be "+" signs between the "AND/OR" conditions?

Hi @tmccurdy! I added in the workaround above. I believe my coworker Hazem also relayed the workaround to you. Hope that helps!


Family intersection types

I think this is okay for pretypes, but I don't think it naively works for Kan types.

After the Enlightenment of Kinds this of course works for discrete types. What do we want except embedding the entire Nuprl type theory?

@favonia Indeed!
By the way, Mark Bickford has proved that some version of family intersections are Kan for the CCHM type theory; see the bottom of http://www.nuprl.org/wip/Mathematics/cubical!type!theory/.
I wonder if we can get such a result in our setting (low priority, but interesting).
/cc @cangiuli

At least, I think he is proved this; I'm not familiar enough with that development to really understand it.

Just to update the public record, Mark Bickford has defined family intersections for CCHM cubical sets, but has not proven they are Kan.

Mark Bickford has defined family intersections for CCHM cubical sets, but has not proven they are Kan.

Alright. It should be possible to add them for discrete Kan types and stable ones to RedPRL, and that more or less matches Mark's progress, I guess.


Abandoned?

Last release was February, no commits in 6 months, issues piling up, open PRs are ignored.
Images from the docker compose file have been removed from dockerhub ☹
If this project is abandoned please update the readme to reflect that before people spend time trying to use it.

Still an ongoing thing...
https://github.com/rhasspy/wyoming-satellite/issues/251


Recertify latest Kabanero Collection images with RedHat

As the Collections have been updated, the docker images should be recertified with the RedHat certification to ensure they still pass.

@kilnerm - An update will be welcomed for this issue.


RFC: Replace unibool with uniprop-bool in S15

The current spec says uniprop returns the narrowest numerical type for numerical properties and boolean for boolean properties, and returns Str for all other properties.
It also mentions a unibool function. At the moment we have uniprop-bool, uniprop-int, uniprop-str in Rakudo, but they are not in the docs or Roast. I think the only useful one of these we might want to keep would be the uniprop-bool function, which could be used to check the absence of a property.
This code below shows an example I think makes logical sense, and is also currently what Rakudo does.
'a'.uniprop-bool('Numerical_Type') #> False
'a'.uniprop-bool('Hangul_Syllable_Type') #> False
'a'.uniprop('Numerical_Type') #> None
'읔'.uniprop('Hangul_Syllable_Type') #> NVT

See discussion here:
https://irclog.perlgeek.de/perl6/2016-12-16#i_13751405
@jnthn

Nobody has commented yet. Can anybody weigh in? @perl6/perl6
If no objections I would like to update the spec and add some tests into roast for this.

To be honest, I'm not sure I understand what is going to happen after this change.

I think the only useful one of these we might want to keep would be the uniprop-bool function, which could be used to check the absence of a property.

Can't we have something that is more consistent with the rest of the language? For example, uniprop can return an undefined value in case of the absence of a property. Or we can add :exists or something like this.

Well, just :exists is pretty vague when you want to return whether or not the property is True or False. Could be other wording, but there should be an easy way to check if
'a'.uniprop('Numerical_Type') #> None
'a'.uniprop-bool('Numerical_Type') #> False
All the different enumerated properties have mostly different values for codes without the property OR which have been explicitly specified as having that value.
:exists, well that codepoint does have said property, and returning undefined for standard uniprop would not be correct.


chore(expansion-panel): pass event to the component callbacks

CF-494
General summary

When the expansion panel is used inside a dropdown, the click on the expansion panel closed the dropdown, we need to have the MouseEvent to prevent this behavior.
This PR pass the onClick event to the onOpen, onClose and onToggleOpen callbacks of the ExpansionPanel component.

Test OK


Custom error messages with variables

In yup you can pass the error message as a second argument, the same as in zod.
The difference is that in yup it can be a string or a function that returns a string.
Here's an example:
// Passing a string (same as zod)
string().max(64, "Max: 64");

// Passing a function
string().max(64, ({ max }) => `Max: ${max}`)
string().min(2, ({ min }) => `Min: ${min}`)
string().length(64, ({ length}) => `Length: ${length}`)

Originally posted by @bulicmatko in https://github.com/colinhacks/zod/discussions/1909#discussioncomment-4731518

@JacobWeisenburger I will make a PR for this mind assigning it to me

thanks

@JacobWeisenburger not sure when should i call the passed function.
possible options

"errorMap"
"when checks are done"
or there is any other way to implement this that I am not aware of

@JacobWeisenburger I have taken a look into this not sure where should i call the passed function
possible places

"when checks are done"
"errorMap"
or there is another way to implement this

I'm not sure. I don't really know enough about this to give an educated answer. Sorry.

I would highly appreciate it, one of the last steps from moving away from yup.

Hi @RG7279805! Any progress with the PR?
Is there anything I can do to help?

@bulicmatko nay help would be appreciated if you have any idea about the questions i have asked.
Also I haven't worked on this issue for a while


type "mediapipe.CalculatorOptions" has no field named "ext".

Thanks for your hard work.
Unfortunately, I keep running into this problem.
Among two blocks of code, first one is a warning which goes away later, but the second one is the error that breaks my code.
Could you give me some advice on how to solve this issue?
p.s. Not related to this, but I was somehow able to get normal x86_64 mediapipe run on my M1 chip a year ago. Perhaps I did something with Rosetta somehow, but I couldn't reproduce it. Have you heard of anyone who successfully ran x86_64 mediapipe on M1?
objc[99670]: Class CaptureDelegate is implemented in both /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/cv2/cv2.abi3.so (0x15650e538) and /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/mediapipe/.dylibs/libopencv_videoio.3.4.16.dylib (0x130a4c860). One of the two will be used. Which one is undefined.
objc[99670]: Class CVWindow is implemented in both /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/cv2/cv2.abi3.so (0x15650e588) and /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/mediapipe/.dylibs/libopencv_highgui.3.4.16.dylib (0x1305d4a68). One of the two will be used. Which one is undefined.
objc[99670]: Class CVView is implemented in both /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/cv2/cv2.abi3.so (0x15650e5b0) and /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/mediapipe/.dylibs/libopencv_highgui.3.4.16.dylib (0x1305d4a90). One of the two will be used. Which one is undefined.
objc[99670]: Class CVSlider is implemented in both /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/cv2/cv2.abi3.so (0x15650e5d8) and /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/mediapipe/.dylibs/libopencv_highgui.3.4.16.dylib (0x1305d4ab8). One of the two will be used. Which one is undefined.

[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/text_format.cc:335] Error parsing text-format mediapipe.CalculatorGraphConfig: 22:9: Message type "mediapipe.CalculatorOptions" has no field named "ext".

Code
import cv2
import mediapipe as mp
mp_drawing = mp.solutions.drawing_utils
mp_drawing_styles = mp.solutions.drawing_styles
mp_face_mesh = mp.solutions.face_mesh

# For webcam input:
drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
cap = cv2.VideoCapture(0)
with mp_face_mesh.FaceMesh(
    max_num_faces=1,
    refine_landmarks=True,
    min_detection_confidence=0.5,
    min_tracking_confidence=0.5) as face_mesh:
  while cap.isOpened():
    success, image = cap.read()
    if not success:
      print("Ignoring empty camera frame.")
      # If loading a video, use 'break' instead of 'continue'.
      continue

    # To improve performance, optionally mark the image as not writeable to
    # pass by reference.
    image.flags.writeable = False
    image = cv2.cvtColor(image, cv2.COLOR_BGR2RGB)
    results = face_mesh.process(image)

    # Draw the face mesh annotations on the image.
    image.flags.writeable = True
    image = cv2.cvtColor(image, cv2.COLOR_RGB2BGR)
    if results.multi_face_landmarks:
      for face_landmarks in results.multi_face_landmarks:
        mp_drawing.draw_landmarks(
            image=image,
            landmark_list=face_landmarks,
            connections=mp_face_mesh.FACEMESH_TESSELATION,
            landmark_drawing_spec=None,
            connection_drawing_spec=mp_drawing_styles
            .get_default_face_mesh_tesselation_style())
        mp_drawing.draw_landmarks(
            image=image,
            landmark_list=face_landmarks,
            connections=mp_face_mesh.FACEMESH_CONTOURS,
            landmark_drawing_spec=None,
            connection_drawing_spec=mp_drawing_styles
            .get_default_face_mesh_contours_style())
        mp_drawing.draw_landmarks(
            image=image,
            landmark_list=face_landmarks,
            connections=mp_face_mesh.FACEMESH_IRISES,
            landmark_drawing_spec=None,
            connection_drawing_spec=mp_drawing_styles
            .get_default_face_mesh_iris_connections_style())
    # Flip the image horizontally for a selfie-view display.
    cv2.imshow('MediaPipe Face Mesh', cv2.flip(image, 1))
    if cv2.waitKey(5) & 0xFF == 27:
      break
cap.release()

Entire Error Message
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
Input In [1], in <cell line: 52>()
     50 drawing_spec = mp_drawing.DrawingSpec(thickness=1, circle_radius=1)
     51 cap = cv2.VideoCapture(0)
---> 52 with mp_face_mesh.FaceMesh(
     53     max_num_faces=1,
     54     refine_landmarks=True,
     55     min_detection_confidence=0.5,
     56     min_tracking_confidence=0.5) as face_mesh:
     57   while cap.isOpened():
     58     success, image = cap.read()

File /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/mediapipe/python/solutions/face_mesh.py:94, in FaceMesh.__init__(self, static_image_mode, max_num_faces, refine_landmarks, min_detection_confidence, min_tracking_confidence)
     69 def __init__(self,
     70              static_image_mode=False,
     71              max_num_faces=1,
     72              refine_landmarks=False,
     73              min_detection_confidence=0.5,
     74              min_tracking_confidence=0.5):
     75   """Initializes a MediaPipe Face Mesh object.
     76
     77   Args:
   (...)
     92       https://solutions.mediapipe.dev/face_mesh#min_tracking_confidence.
     93   """
---> 94   super().__init__(
     95       binary_graph_path=_BINARYPB_FILE_PATH,
     96       side_inputs={
     97           'num_faces': max_num_faces,
     98           'with_attention': refine_landmarks,
     99           'use_prev_landmarks': not static_image_mode,
    100       },
    101       calculator_params={
    102           'facedetectionshortrangecpu__facedetectionshortrangecommon__TensorsToDetectionsCalculator.min_score_thresh':
    103               min_detection_confidence,
    104           'facelandmarkcpu__ThresholdingCalculator.threshold':
    105               min_tracking_confidence,
    106       },
    107       outputs=['multi_face_landmarks'])

File /opt/homebrew/Caskroom/mambaforge/base/envs/basketball/lib/python3.8/site-packages/mediapipe/python/solution_base.py:247, in SolutionBase.__init__(self, binary_graph_path, graph_config, calculator_params, side_inputs, outputs)
    244 if calculator_params:
    245   self._modify_calculator_options(canonical_graph_config_proto,
    246                                   calculator_params)
--> 247 self._graph = calculator_graph.CalculatorGraph(
    248     graph_config=canonical_graph_config_proto)
    249 self._simulated_timestamp = 0
    250 self._graph_outputs = {}

RuntimeError: Failed to parse: node {
  calculator: "ImagePropertiesCalculator"
  input_stream: "IMAGE:image"
  output_stream: "SIZE:image_size"
}
node {
  calculator: "PreviousLoopbackCalculator"
  input_stream: "MAIN:image"
  input_stream: "LOOP:face_rects_from_landmarks"
  output_stream: "PREV_LOOP:prev_face_rects_from_landmarks"
  input_stream_info {
    tag_index: "LOOP"
    back_edge: true
  }
}

... omitted since it was too long

Hi and thanks for your issue. First of all, I guess it is possible to run x86-/x64 mediapipe on MacOS M1 but you have to install python x64 for it and use Rosetta. I used this in the beginning, when a lot of packages were not compatible with M1.
Regarding the warnings, they show up because OpenCV is bundled into this MediaPipe build too and as soon as opencv-python is installed, there is a dependency conflict. But this should not be a problem.
Protobuf version could maybe be a problem, could you install the following version and try it again?
pip install protobuf<=3.20.1

Otherwise, which protobuf version is installed on your system?

Thanks! It works after installing pip install protobuf==3.20.1!
(decided to throw in a screenshot for a bit of humanity ☺)

Great, I have added a hint to the readme!

Great, I have added a hint to the readme!

Didn't work with the readme hint (3.19.2 was installed, neither switching to 3.11.0). Worked with 3.20.1.

@martin-etchart Thank you for the hint, I will check it out and change the readme accordingly.


New version: Chemfiles v0.10.40

Registering package: Chemfiles
Repository: https://github.com/chemfiles/Chemfiles.jl
Created by: @Luthaf
Version: v0.10.40
Commit: abf5ce948f6cbbb421681f98b2be49689603bf5c
Git reference: v0.10.40
Description: Julia bindings to chemfiles

Does not meet sequential version number guideline: version 0.10.40 skips over 0.10.32

As in https://github.com/JuliaRegistries/General/pull/79885, I'm trying to keep the C++ and Julia package version numbers somehow in sync, hence the version skip here.


CRAYSAT-1542: Fix ansible failure in fresh install

This commit adds a task to check if the SAT config file exists
prior to setting the permissions on the file. To avoid repeating
the path of the SAT config file, a new variable, "sat_config_file"
is added to defaults/main.yml.
This commit also increments the version.
Test Description:

Installed this branch on an internal system
I manually removed the SAT config file from ncn-m002, and then
ran NCN personalization. Verified that the task succeeded on
both ncn-m001 and ncn-m002.

Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[X] CHANGELOG.md updated
[X] Testing is appropriate and complete, if applicable
[X] HPC Product Announcement prepared, if applicable

Test output: https://gist.github.hpe.com/eli-kamin/ba39392e4ac3ac1fbe008ece1d17c4dd


[FEATURE] Move host label parsing to clap

Is your feature request related to a problem? Please describe.
The current way we parse labels from environment variables is inside of library code rather than being at the level of command line arg definition with clap. This is an artifact from moving things over from the OTP host and makes it hard to follow what is going on with parsing data
Describe the solution you'd like
The label parsing code should be moved from https://github.com/wasmCloud/wasmCloud/blob/b07302fe0befb3c04cc4f3f4c3c58f8fd35be04a/crates/host/src/wasmbus/mod.rs#L1782 to the top level clap args in the src directory

Hello @thomastaylor312 I would like to work on this issue can you please tell me where should change needs for this issue

Hey there @MeenuyD! Thanks for being willing to help. So the logic inside of this block: https://github.com/wasmCloud/wasmCloud/blob/b07302fe0befb3c04cc4f3f4c3c58f8fd35be04a/crates/host/src/wasmbus/mod.rs#L1770-L1793 should be handled somewhere right after here: https://github.com/wasmCloud/wasmCloud/blob/e4889ae8af1d404521ce0c823399e768f59733c8/src/main.rs#L345. If this is your first time contributing to a Rust project, please feel free to open a draft PR and we can help walk you though!

Should I do the whole logic from the mod.rs to the main.rs

Or we can create it as the function

hey @thomastaylor312, I tried to resolve the issue and raised the PR.
Please take a look and let me know any changes you want. I am newbie with rust and its first time to contributing to WASMCLOUD.


Remove redundant functions

This PR removed redundant build functions and simplified the API.
https://github.com/kampersanda/sucds/issues/37

@hirosassa
I removed build functions of WaveletMatrix other than from_ints.
Do you agree?


notifications on broken builds

Can I sign up to be notified if my push breaks the build at
https://www.fstar-lang.org:3443/fstarlang/fstar/ ?

notifications would be good, but we really shouldn't count on notifications to check that a push didn't break the build. Run 'make -C src test' before pushing.

I can't run make -C src test on my phone, yet.

but you're pushing from your phone?

Sometimes, e.g. https://github.com/FStarLang/FStar/commit/6deaca05c0c64947e33c95d5982e134ab01c947a

don't push from a device on which you cannot test. it's simple.

Is it?
https://github.com/FStarLang/FStar/commit/03630dc1f1c025ba676ecc604eea478eaf3a6095#diff-471b8499b494bb70885f8ddce5a4583cR31

I'm not saying that I have never broken the build. I have never committed from a device on which I cannot test.

Notifications on broken builds would indeed be useful and could be sent directly to<EMAIL_ADDRESS>Who's the admin for the Strider project? @ad-l? Can Nik and me also get added please?

Admin for Strider is a bit funny. It sends invitation emails that never arrive. Maybe same reason why I (we?) don't get too many build notifications. I can add you manually to Strider, and hopefully you can help improve the situation.

We are tracking the issue with Strider SMTP configuration in #317.
I do get e-mail notifications from Travis for builds triggered by my commits, so this issue is resolved.


Final Exalate Functional Test

This should come into the PROXY backlog with a link to the original GitHub Issue (traceability) and as issue type "Community" for future filtering.  It should remain on Github "OPEN" status until Jira Status is changed to "DONE".   All comments should sync (both ways)>

Alan Sorber commented: Rats, it does not have attribution (original GitHub Repo Link nor number)…need to figure out how to get that in here somewhere.


WalletConnect connection success no callback

WalletConnect connection success,but "OnConnectedCallback" not executed

Can you try this with the latest release/new Prefab_ConnectWallet? The callback should work as long as you've added an event listener from the inspector or code.


[readme] : add bdd badge

Codecov Report

Merging #85 (ee75125) into master (26355a4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #85   +/-   ##
=======================================
  Coverage   95.73%   95.73%
=======================================
  Files           7        7
  Lines         446      446
=======================================
  Hits          427      427
  Misses         19       19

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


smooth coollisable

hai, i am looking for smooth collapse which is inside SmoothAppBarLayout contain viewpager and outside that are recycle view. the problem that facing right now is that when i press and scroll in the middle of recycle view view pager is not hidden and when i scroll up the recycle view then viewpager not show again

Can you post your full layout here?


Can't build an apk using publish dotnet 6

a bug in the Maui apk build using Dotnet 6. Whenever I use publish, the screen flickers, the RAM gets full, and then crashes with an exception outofmemory (windows explorer restarts ). Is this normal  ?

Can you provide all the steps you followed and a sample repro please?


Finish moving data package to data providers

It's not finished yet, finish it

This will be a breaking change, so this should be part of the v3 work.

Putting this off for now.

Re-added since #10 failed.


Complete rework of the autonity library

Complete rework of the autonity library.

Remove most of the old code
Add Makefile for auto-generating contract wrappers with pyabigen
Add the generated contract wrappers for the following contracts:

Accountability
ACU
Autonity
Liquid
Oracle
Stabilization
Supply Control

Add autonity.networks module with parameters for Piccadilly and Bakerloo testnets
Check the current contract version & protocol version against the supported versions
Add test generator for very basic sanity checks

The new library doesn't contain any of the Web3 helper functions of the old library because they mostly re-implemented existing Web3.py functionality and are out of scope of autonity.py.
All code of the autonity.contracts module have been auto-generated. Note that the contract ABIs are now included in the generated Python files as Python dictionaries.
Closes #43 because Web3.py >=6.19.0 depends on eth-rlp 1.0.1 that includes https://github.com/ethereum/eth-rlp/pull/19 i.e. the typing-extensions dependency could be removed.

@aiman I'm done with the contract wrapper factories as discussed, this is now ready for review.

I've been tracking the PR for a couple of days, there seem to be daily changes, so I'm not entirely if it's ready for final review or you need more time... Let me know @szemate

I've also moved a commit into https://github.com/autonity/autonity.py/pull/60

I've merged a number of bugfixes to pyabigen and re-generated the contracts in this pull request.

Updated the list of excluded contract functions

I propose exposing all the factory functions at the top-level, rather than having to import factories:
from web3 import Web3
from autonity import networks, Autonity
w3 = Web3(networks.piccadilly.http_provider)
autonity = Autonity(w3)
ntn_supply = autonity.total_supply()

Minor suggestion would be to use the singular autonity.factory (the factory module) instead of autonity.factories (where the factories are), because the former is shorter.

I've addressed the comments from https://github.com/autonity/autonity.py/pull/59#issuecomment-2373888818

I'm reviewing a final time, this time from the point of view of a user, and also thinking about what the Changelog entry/entries should be... Any ideas?

what the Changelog entry/entries should be... Any ideas?

Add bindings for the Accountability, ACU, Inflation Controller, Non-Stakable Vesting, Oracle, Stabilization, Supply Control and Upgrade Manager protocol contracts
Replace bindings for the Autonity and Liquid protocol contracts, which involves breaking changes in the API
Add constants for Autonity network parameters
Create bindings via factory functions that fetch the actual protocol contract addresses on the given Autonity network

I'm having trouble running the tests for this branch inside of a devenv:
$ git checkout master
git checkout master
Switched to branch 'master'
Your branch is up to date with 'origin/master'.

$ git clean -x -d -i

$ hatch
bash: hatch: command not found

$ which python
/usr/bin/python

$ devenv shell
• Building shell ...
• Using Cachix: nixpkgs-python, devenv
warning: Performing inefficient double copy of path '«github:cachix/devenv-nixpkgs/4267e705586473d3e5c8d50299e71503f16a6fb6»/' to the store. This can typically be avoided by rewriting an attribute like `src = ./.` to `src = builtins.path { path = ./.; name = "source"; }`.
✔ Building shell in 6.3s.
• Entering shell

$ which python
~/.local/share/hatch/env/virtual/autonity/H65cO8gT/autonity/bin/python

$ python --version
Python 3.11.8

$ which hatch
/nix/store/87gcqzg7cra5nrfvfilrffmv9cgp7bad-hatch-1.9.0/bin/hatch

$ hatch run +py=3.12 test:all
...
Success: no issues found in 27 source files

$ exit
exit

$ git checkout rework
Switched to branch 'rework'
Your branch is up to date with 'origin/rework'.

$ devenv shell
• Building shell ...
• Using Cachix: nixpkgs-python, devenv
warning: Performing inefficient double copy of path '«github:cachix/devenv-nixpkgs/4267e705586473d3e5c8d50299e71503f16a6fb6»/' to the store. This can typically be avoided by rewriting an attribute like `src = ./.` to `src = builtins.path { path = ./.; name = "source"; }`.
✔ Building shell in 6.1s.
• Entering shell
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
autonity 4.0.0 requires web3==6.19.0, but you have web3 7.2.0 which is incompatible.

$ hatch run +py=3.12 test:all
──────────────────────────────────────────────────────────────────────────────────────────────────────────────────── test.py3.12 ─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
autonity 4.0.0 requires web3==6.19.0, but you have web3 7.2.0 which is incompatible.
Traceback (most recent call last):
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/bin/pytest", line 5, in <module>
    from pytest import console_main
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/pytest/__init__.py", line 9, in <module>
    from _pytest.assertion import register_assert_rewrite
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/_pytest/assertion/__init__.py", line 11, in <module>
    from _pytest.assertion import rewrite
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/_pytest/assertion/rewrite.py", line 32, in <module>
    from _pytest.assertion import util
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/_pytest/assertion/util.py", line 24, in <module>
    from _pytest.config import Config
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/_pytest/config/__init__.py", line 58, in <module>
    import _pytest.hookspec
  File "/home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/_pytest/hookspec.py", line 305, in <module>
    @hookspec(
     ^^^^^^^^^
TypeError: HookspecMarker.__call__() got an unexpected keyword argument 'warn_on_impl_args'

Notice the error line:

autonity 4.0.0 requires web3==6.19.0, but you have web3 7.2.0 which is incompatible.

This appears both on entering the devenv shell, and also when running the tests.

Notice the error line:
autonity 4.0.0 requires web3==6.19.0, but you have web3 7.2.0 which is incompatible.

This appears both on entering the devenv shell, and also when running the tests.

This error doesn't seem to be related to devenv. I got the same without entering the devenv shell, after switching branches:
git checkout master
hatch run true
git checkout rework
hatch run true

and it shows
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.
autonity 4.0.0 requires web3==7.2.0, but you have web3 6.19.0 which is incompatible.

Could it be that Hatch doesn't update the dependencies properly after switching branches?

It may be better to drop the devenv support for the moment, as I notice Hatch in the repo devenv-nixpkgs/rolling seems to be at version 1.9.0 from Dec 2023, which may be related to these issues, and in future it may be worth considering a different Python framework than Hatch since the landscape is changing quite fast.

TypeError: HookspecMarker.__call__() got an unexpected keyword argument 'warn_on_impl_args'

This error appears to be a result of conflicting dependencies. As Hatch doesn't generate lockfiles, I've added the hatch-pip-compile plugin to inspect dependencies, however adding the lockfile itself resolved the error.

It may be better to drop the devenv support for the moment, as I notice Hatch in the repo devenv-nixpkgs/rolling seems to be at version 1.9.0

Yes this might be a Hatch bug that has been fixed, I only got the error with Hatch 1.9.0 but not with 1.12.0.

Can we address these test warnings?
tests/test_sanity.py::test_bindings_with_arbitrary_inputs[Stabilization.debt_amount]
  /home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/plum/signature.py:361: UserWarning: Could not resolve the type hint of `eth_typing.evm.ChecksumAddress`. I have ended the resolution here to not make your code break, but some types might not be working correctly. Please open an issue at https://github.com/wesselb/plum.
    annotation = resolve_type_hint(p.annotation)

tests/test_sanity.py::test_bindings_with_arbitrary_inputs[Stabilization.debt_amount]
  /home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/plum/type.py:265: UserWarning: Could not resolve the type hint of `eth_typing.evm.ChecksumAddress`. I have ended the resolution here to not make your code break, but some types might not be working correctly. Please open an issue at https://github.com/wesselb/plum.
    return _is_faithful(resolve_type_hint(x))

tests/test_sanity.py::test_bindings_with_arbitrary_inputs[Stabilization.debt_amount]
  /home/test/.local/share/hatch/env/virtual/autonity/H65cO8gT/test.py3.12/lib/python3.12/site-packages/plum/type.py:265: UserWarning: Could not determine whether `eth_typing.evm.ChecksumAddress` is faithful or not. I have concluded that the type is not faithful, so your code might run with subpar performance. Please open an issue at https://github.com/wesselb/plum.
    return _is_faithful(resolve_type_hint(x))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html

Can we address these test warnings?

I've suppressed these warnings in ef53d77a26313adfff9476ca99af1dbe57cd7d95 and opened https://github.com/clearmatics/pyabigen/issues/7 to investigate the issue further.
These warnings are raised by the plum library that is used to handle overloaded contract functions, of which there is only one in autonity.py and it seems to be working as expected.


Generalize isAlwaysEmpty and streamline isBoxedCaptured

isBoxedCaptured no longer requires the construction of intermediate capture sets.
isAlwaysEmpty is also true for solved variables that have no elements

Superseded by subsequently merged branch cc-ex-2


Flutter crash report when I run iOS emulators

Flutter crash report; please file at https://github.com/flutter/flutter/issues.
command
flutter emulators --launch iOS Simulator
exception
_TypeError: type '_TypeError' is not a subtype of type 'String'
#0      EmulatorsCommand._launchEmulator (package:flutter_tools/src/commands/emulators.dart:75:20)
<asynchronous suspension>
#1      EmulatorsCommand.runCommand (package:flutter_tools/src/commands/emulators.dart:47:13)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:347:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async/runtime/libasync_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1134:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1031:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:129:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:638:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:667:32)
#9      Future._complete (dart:async/future_impl.dart:472:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async/runtime/libasync_patch.dart:33:20)
#12     _rootRun (dart:async/zone.dart:1126:13)
#13     _CustomZone.run (dart:async/zone.dart:1023:19)
#14     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:949:23)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#17     _runPendingImmediateCallback (dart:isolate/runtime/libisolate_patch.dart:113:13)
#18     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:166:5)

flutter doctor
[✓] Flutter (Channel beta, v0.5.6-pre.202, on Mac OS X 10.13.5 17F77, locale zh-Hans-CN)
    • Flutter version 0.5.6-pre.202 at /Users/jackcooper/flutter
    • Framework revision e7832a3897 (3 days ago), 2018-07-14 09:32:41 -0700
    • Engine revision c5a63d28bf
    • Dart version 2.0.0-dev.67.0.flutter-84ca27a09e

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /Users/jackcooper/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /Users/jackcooper/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)
    • All Android licenses accepted.

[!] iOS toolchain - develop for iOS devices (Xcode 10.0)
    • Xcode at /Applications/Xcode-beta.app/Contents/Developer
    • Xcode 10.0, Build version 10L176w
    • ios-deploy 1.9.2
    ✗ CocoaPods not installed.
        CocoaPods is used to retrieve the iOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without resolving iOS dependencies with CocoaPods, plugins will not work on iOS.
        For more info, see https://flutter.io/platform-plugins
      To install:
        brew install cocoapods
        pod setup

[✓] Android Studio (version 3.1)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 26.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01)

[✓] VS Code (version 1.25.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 2.16.0

[!] Connected devices
    ! No devices available

! Doctor found issues in 2 categories.

Looks like a dup of #19387.
Please upvote this issue instead.


Naming regex patterns?

Suppose I have this lexical syntax for a token:
Identifier ::= <Initial> <Subsequent>*
Initial ::= a..z
Subsequent ::= Initial | ...

Here the Initial part is used in both Identifier and Subsequent. As far as I understand, currently the only way to do this in plex's lexer! is by duplicating Initial part, something like:
lexer! {
    ...
    r"[a-z]([a-z]|[<subsequent>])*" => ...
}

In the simplified example above the repetition of [a-z] is not too bad, but in the actual use case the syntax is much more complex and the repetition is a real problem.
Ideally I should be able to give this regex [a-z] a name and use it in other regex patterns. Maybe something like:
lexer! {
    ...
    let initial = "[a-z]"
    let subsequent = "..."
    r"$initial($initial|[$subsequent])*" => ...
}

Is this currently possible with plex? If not I think this would be a useful addition to it.

This isn't possible today. It's a good idea though! Unfortunately I don't have much time these days to work on plex :(


Add ability to set args when defining a plugin

This is a key way in which people may customize their plugins.
Minor fixup to some language on other flags too.
Ref #405
Signed-off-by: John Schnake<EMAIL_ADDRESS>Release note:
Added --arg flag to `sonobuoy gen plugin` to set args on the plugin container.

Codecov Report

Merging #693 into master will increase coverage by 0.06%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #693      +/-   ##
==========================================
+ Coverage   42.77%   42.84%   +0.06%
==========================================
  Files          62       62
  Lines        3432     3436       +4
==========================================
+ Hits         1468     1472       +4
  Misses       1866     1866
  Partials       98       98

Impacted Files
Coverage Δ

cmd/sonobuoy/app/gen_plugin_def.go
90.76% <100%> (+0.6%)
: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 bf155c8...ec77d33. Read the comment docs.


Simplify steps to add dataset

Changes proposed in this pull request:

Remove the Save button on the Dataset screen. Automatically import the dataset once it is added from the file, URL, benchmark, or extensions.

super nice!!!


关于4DSH的疑惑

作者好啊，我有一个问题，我发现论文里面的4DSH部分公式是 cos(2npi* t /T) ，但是在代码里为什么 t 变成了 mu_t - t 呢

The $t$ in equation 11 is the time difference between the expectation of the given Gaussian and the viewpoint, as mentioned in the same section.


Removing comments from Json

This may be a feature request.  I cannot find a way to easily remove comments from a json string.  Is this a feature of Newtonsoft.Json or could it be added?

Just load/parse your json into a Newtonsoft.Json.Linq.JToken representation and then write the JToken back to a file/TextWriter or get the json string from it. JToken and its derived types JObject/JArray/etc... do not preserve json comments as far as i can tell, so this seems to be the quickest way to achieve what you want with the least amount of effort.
(Please close this issue if this resolves your problem. If my suggestion does not resolve your issue, i would recommend to ask on stackoverflow.com instead.)

@elgonzo , thank you for the tip.  I don't know how this solution didn't show up in my online searches, which included stackoverflow.


Allows the location of the "joken_config" config property to be configured

See #54
This PR contains the following changes:

The joken_config property can be placed in any config block. This is done with a use expression with an otp_app property.

use Joken, otp_app: :my_app

Joken.encode and Joken.decode are now encode_token and decode_token respectively

Further work needs to be completed to allow the config key to be customized

I guess this is not going to matter once #62 is implemented. Perhaps we should close this?

You are correct. Closing now.


Thank You and Happy Diwali! 🌟

Hola, amigos
As our open-source event is coming to an end, I want to take a moment to express my heartfelt gratitude for your contributions. Your hard work, dedication, and creativity have made a significant impact on this project, and I am truly thankful for each of you.
As we celebrate Diwali in just two days, I wish you all a very Happy Diwali! May this festival of lights bring joy, prosperity, and success to you and your families. 🌼✨
I encourage each of you to share your achievements and this repository on your social media and leave a 🌟 if ShopSmart added a little bit of smartness and value to you. Let’s spread the word about our amazing work and inspire others to join our journey!
Thank you once again for being a part of this incredible community. Enjoy the festivities!

@yuvrajsinghgmx This might be one of the best projects I’ve contributed to in GSSoC. I had a lot of fun working on it! Even beyond the event, I’d love to continue contributing to your repository. Happy Diwali to everyone who has contributed, directly or indirectly! :)

@Avinash-Codes
@iAmAjayTeli
@yasheela-alla
@Shreyansh1563
@rajdeepchakraborty-rc
@Yashvardhan-17
@Farhan-Ahmad01
@EvanSingee
@Satyajit0003
@J-B-Mugundh
@Nikhil0-3
@ark0078
@AnleaMJ
@Aman-G-upta
@Ankesh-erek
@Rohityadav9575
@Varsha567
@AndroidLord
@23WH1A0507
@KiranBaliga
@milansamuel609
@Muhasif-Hafiz
@rees8
@Shariq2003
@Shasha004
@aditya07389
...

Hola, amigos
As our open-source event is coming to an end, I want to take a moment to express my heartfelt gratitude for your contributions. Your hard work, dedication, and creativity have made a significant impact on this project, and I am truly thankful for each of you.
As we celebrate Diwali in just two days, I wish you all a very Happy Diwali! May this festival of lights bring joy, prosperity, and success to you and your families. 🌼✨
I encourage each of you to share your achievements and this repository on your social media and leave a 🌟 if ShopSmart added a little bit of smartness and value to you. Let’s spread the word about our amazing work and inspire others to join our journey!
Thank you once again for being a part of this incredible community. Enjoy the festivities!

Thank you very much and also a very happy diwali 🎇🪔

Happy Diwali @yuvrajsinghgmx and everyone

@yuvrajsinghgmx Hola!
Thank you so much for your kind words! It's been an incredible journey working alongside such talented individuals. I'm grateful for the opportunity to contribute to this project. Thanks for your hard work in reviewing all the PRs and going through tons of issues each day. You alongside the other admins and mentors are responsible for making the process smooth for us.
Wishing you all a very Happy Diwali! May this festive season bring joy and prosperity to you and your loved ones too. 🌟✨
It was great contributing to ShopSmart and have already started the repository! Let’s keep coding and inspiring each other!
Thanks again, and enjoy the celebrations!

Thankyou for the opportunity @yuvrajsinghgmx
Hoping to continue contributing to this project .
Happy diwali 🌟✨

Thanks @yuvrajsinghgmx
all the brainstorming issues, code solutions, excitement for a merged PR in the morning were all memories for my life.
This being my first repo worked on Github feels even more special.
Happy Diwali everyone guys!🌟

@yuvrajsinghgmx
Hola! 🎉
Thank you for the warm message and the opportunity to be part of this open-source journey with ShopSmart. It’s been an incredible experience collaborating with such talented and driven individuals. I’m grateful for the chance to contribute, learn, and grow together.
Wishing everyone a bright and joyful Diwali! May this festival fill your homes with light and your lives with happiness and success. 🌟✨
Happy Diwali to all, and thank you once again for this inspiring journey!

@yuvrajsinghgmx aren't we going to get any certificate

@Muhasif-Hafiz Program ends on 10th November....If you have gained 60 points , you will get a certificate


Fix fullscreen button not working correctly

lol wtf

as seen from the image above when pressing the fullscreen button located at the bottom of the player

I don't see any references to fullscreening or the fullscreen button in the code.
@papertek does it work correctly in a plain cytube room?
Seems like the embedded fullscreen button (yt player / native player) still works as expected, which is a workaround for now

@airforce270 yes, it works correctly in a plain cytube room. just not in the main room (just found out 😞 )


ValueSet pre-expansion - need to account for existing ValueSets and user-assigned IDs.

ValueSet pre-expansion - need to account for existing ValueSets and user-assigned IDs.

Existing ValueSets - if pre-expansion is enabled on a repository with existing ValueSets, we need to figure how to trigger pre-expansion for these ValueSets.

User-assigned IDs - TermValueSet entity works well with numeric resource ideas but we also need to handled custom IDs (e.g. ValueSet/LG16738-3).

Pull request: #1458


Add Rollout Health Metrics

Summary
We should add Rollout Health Metrics for each type using the phase information in status.
Use Cases
Health metrics will be used for incident indication.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

I had thought about the implementation about it, where the metrics data should looks like below, But if the phase changes then it will be a new metrics all together will be become problem.
numaplane_rollout_health_status{intuit_alert="true",phase="Deployed",type="isbservice-rollout-controller"} 0
numaplane_rollout_health_status{intuit_alert="true",phase="Deployed",type="pipeline-rollout-controller"} 0
numaplane_rollout_health_status{intuit_alert="true",phase="Deployed",type="numaflow-controller-rollout-controller"} 0

We can refer to how numaflow is adding the health metrics.


rknn_init error ret=-5

型号RK3588 系统Ubuntu20.0.4
官方demo 编译后运行报错：
root@firefly:/home/firefly/Desktop/rknpu2/examples/rknn_yolov5_demo/build# ./rknn_yolov5_demo ../model/RK3588/yolov5s-640-640.rknn ../model/bus.jpg
post process config: box_conf_threshold = 0.50, nms_threshold = 0.60
Read ../model/bus.jpg ...
img width = 640, img height = 640
Loading mode...
sdk version: 1.6.0 (9a7b5d24c@2023-12-13T17:31:11) driver version: 0.8.2
model input num: 1, output num: 3
E RKNN: [07:13:44.229] rknn_query, info_len(372) < sizeof(rknn_tensor_attr)(376)!
rknn_init error ret=-5

hey, have you fixed it yet? i meet the same error

use old demo

hey, have you fixed it yet? i meet the same error

use old demo code

what 's your old vesrsion?

what 's your old vesrsion?

I forgot, it's been a long time since I last worked on this project


Add "other" data to the API

https://github.com/ishaberry/Covid19Canada/tree/master/other

Four basic supplementary data files have been added to the /other route.

Four basic supplementary data files have been added to the /other route.