Prisma VS Sequelize (performance)

Hey guyz,
I have come up with an issue or say a confusion and that is i was previously using sequelize and then migrated all my queries and models to prisma
Everything is working fine and bugless
But when i compared the performance between prisma and sequelize, i found out that sequelize is faster than prisma
I have attached a pdf that you can see in the preview section
Can anyone please review this pdf and let me know that either it is realistic that prisma is slower than sequelize or i am on a wrong way
Thanks
Prisma vs Sequelize updated.pdf

Can you please try the NAPI feature flag once? It can significantly improves performance and we plan to make it the default: https://www.prisma.io/docs/concepts/components/prisma-engines/query-engine#enable-the-node-api-n-api-preview (rerun prisma generate after adding this)
If you can still reproduce the slower results, please share the benchmarking code.

(An easy mistake to make is to also measure the implicit connection creation on the first query for Prisma, while opening the connection explicitly on Sequelize for example - these things we usually only notice when we see the benchmark code.)

I have implemented NAPI in schema.It improved the performance but still the performance time of sequelize is faster than prisma.Latest performance results after implementaion of NAPI are attached below..
Prisma vs Sequelize updated1.pdf

@syed10015 Can you please share the benchmarking code. If you are not calling prisma.$connect() before doing the query calls, the benchmark is flawed as Prisma will open the connection pool in the first query while sequelize API connects to the database before you can query.
Please make sure you call await prisma.$connect() before measuring anything .

Read: https://www.prisma.io/docs/concepts/components/prisma-client/working-with-prismaclient/connection-management

Was looking into performance of prisma 2 and stumbled upon this post. Can u guys tell me why the default is to lazy connect as its not clear to me (and more frontend oriented guy)?

 Filling up your pool (even with a min amount of connections) is dangerous as you scale out, because you need to load balance on instances immediately after boot that have connections. If you hog all connections with a few instances, your scale out is hampered or faulty. The dynamic nature of lazy pools almost always circumvents any of these issues.
Also, connection pools is implementation detail of a Prisma connector, some connectors that we plan to make in future might not have a connection pool(take simple http API for example). So opening pool when instantiating the client object doesn't make sense in that case as well.
We do provide await prisma.connect() to explicitly start the pool for certain cases. Benchmarking is one of them.

@syed10015 Please share the benchmarking code, we can't assess anything here without it.

What about<EMAIL_ADDRESS>vs Sequelize ?

What about<EMAIL_ADDRESS>vs Sequelize ?

im looking for an answer too

Unfortunately, @syed10015 never shared his benchmark script with us, so we can not just rerun a piece of code we always used.
Generally, we expect Prisma and Sequelize to be on par now. Prisma might actually be a bit faster on startup, while Sequelize could potentially still be a bit faster on some queries.
We'll see if we get an opportunity to set up a similar setup to what was used above.


Error when trying to boot into rmAudio editor when adding Bard Engine to a project

This is for the GMS 2 beta (2022.600.0.143) with rollback netcode, which I have not yet used.
When run normally:
ERROR in
action number 1
of Other Event: User Defined 10
for object objAudioEditor:
JSON parse error
at gml_Object_objAudioEditor_Other_20 (line 3) - var project_data = json_parse(file_read_string(project_file)); //get data from project
############################################################################################
gml_Object_objAudioEditor_Other_20 (line 3)
gml_Object_objAudioEditor_Create_0 (line 81)
When run in Debug Mode:

############################################################################################
ERROR in
action number 1
of Create Event
for object :
global variable name '__project_directory' index (100641) not set before reading it.
at gml_Script__get_project (line 34) -         if (global.__project_directory == undefined)
############################################################################################
gml_Script__get_project (line 34)
gml_Script_get_project_directory (line 8) -         _get_project();
gml_Script_get_datafiles_directory (line 7) -             global.__project_datafiles = get_project_directory() + "datafiles\";
gml_Script_bard_audio_data_load (line 5) -         var _path = get_datafiles_directory()+_filename;
gml_GlobalScript_bard_audio_system (line 326) - bard_audio_data_load();
Probably a bug with the new version of game maker, but lemme know if there'd be a workaround. I'd love to prototype my multiplayer rhythm game with the rollback netcode!

hey! try running in debug mode. sorry about that
On Fri, Jul 1, 2022 at 11:11 PM SolidplasmaStudios @.***>
wrote:

This is for the GMS 2 beta (2022.600.0.143) with rollback netcode, which I
have not yet used.
When run normally:
ERROR in
action number 1
of Other Event: User Defined 10
for object objAudioEditor:
JSON parse error
at gml_Object_objAudioEditor_Other_20 (line 3) - var project_data =
json_parse(file_read_string(project_file)); //get data from project
############################################################################################
gml_Object_objAudioEditor_Other_20 (line 3)
gml_Object_objAudioEditor_Create_0 (line 81)
When run in Debug Mode:
############################################################################################
ERROR in
action number 1
of Create Event
for object :
global variable name '__project_directory' index (100641) not set before
reading it.
at gml_Script__get_project (line 34) - if (global.__project_directory ==
undefined)
############################################################################################
gml_Script__get_project (line 34)
gml_Script_get_project_directory (line 8) - _get_project();
gml_Script_get_datafiles_directory (line 7) - global.__project_datafiles =
get_project_directory() + "datafiles";
gml_Script_bard_audio_data_load (line 5) - var _path =
get_datafiles_directory()+_filename;
gml_GlobalScript_bard_audio_system (line 326) - bard_audio_data_load();
Probably a bug with the new version of game maker, but lemme know if
there'd be a workaround. I'd love to prototype my multiplayer rhythm game
with the rollback netcode!
—
Reply to this email directly, view it on GitHub
https://github.com/gl326/bard-audio/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3KFZRQFAQUTSEW3RV3ZADVR7MQRANCNFSM52ORWDHQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hey, thanks for the quick response. When trying in debug, I get the second error I posted, there are actually two there. Also upon loading the project, there's an empty object with no referenceID in the rmAudioEditor. I don't know if it's related.

Getting the same errors as above in the non-beta version, Game Maker ver 2.3.589. When I run the extension without merging it with my project in the beta build I used before, I get an empty black screen.

hi there, i am posting a new release shortly and as far as i can tell this
error isn't in it. the code errors you show don't make a ton of sense to me
because they don't actually match what is written in the code i am looking
at. so, i guess try the new one out and see how it goes!
On Mon, Jul 4, 2022 at 6:38 AM SolidplasmaStudios @.***>
wrote:

Getting the same errors as above in the non-beta version, Game Maker ver
2.3.589. When I run the extension without merging it with my project in the
beta build I used before, I get an empty black screen.
—
Reply to this email directly, view it on GitHub
https://github.com/gl326/bard-audio/issues/1#issuecomment-1173833464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3KFZW4DT6TDDGAAFVXMQ3VSLSLXANCNFSM52ORWDHQ
.
You are receiving this because you commented.Message ID:
@.***>

Hi, thank you so much for the update! So when I import the engine into my project, and disable the fiie system sandbox, it now launches in debug mode when I make rmAudioEditor the first room, but I still get the first error above when I launch the game regularly. Is this intended behavior?

Ah, that I should fix! That said, the audio editor should never ever be
exposed to a player, only devs. Never noticed this because I only let the
game visit that room when in debug mode 😝
On Sun, Jul 10, 2022 at 4:07 AM SolidplasmaStudios @.***>
wrote:

Hi, thank you so much for the update! So when I import the engine into my
project, and disable the fiie system sandbox, it now launches in debug mode
when I make rmAudioEditor the first room, but I still get the first error
above when I launch the game regularly. Is this intended behavior?
—
Reply to this email directly, view it on GitHub
https://github.com/gl326/bard-audio/issues/1#issuecomment-1179706762,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA3KFZWNH22NOXZDM72D6G3VTKVHVANCNFSM52ORWDHQ
.
You are receiving this because you commented.Message ID:
@.***>


Store the STI build command line to disk

This saves you from typing all parameters for sti build command. It stores them when you run the command for the first time and then you can just run sti build (without arguments).
It stores the options into .stifile (and attempts to read then from this location).
This also enable us to ship the .stifile in application GIT repositories, so if you want to build the application image, you don't need to search for the STI builder image name.
UPDATE:
You have to enable this behavior by using the --use-config flag.

@soltysh @bparees thoughts?

I like the concept, but i'm worried about the implementation.  At a minimum we need to add some informational messages to the user like "Using config from...." and show the values or something, otherwise i think users are going to be very surprised by this behavior.
also as i mentioned in the comments, it looks like this is going to save all the extraneous args (ie other than the "big 3") the first time, and then you have no way to override them after that because they get restored immediately.

After IRC discussion with @bparees I reworked this PR so it is not automatically storing/loading the configuration but you have to use --use-config option:
$ sti build file://$(pwd) openshift/ruby-20-centos myapp --clean --use-config # -> this will create .stifile
$ sti build --use-config # -> this will read from .stifile

We might enable this feature by default in future.

LGTM

@bparees ok with merge?

[merge]


[v3.1.0] [Macos] Failed to execute command sasquatch

[2024-11-09T08:49:59Z ERROR binwalk::extractors::common] Failed to execute command sasquatch["xxx/extact_HS8545M5_V500R020C00SPC200B459/extractions/flash_rootfs.extracted/2C1B054/squashfs_2C1B054.sqsh"]: No such file or directory (os error 2)
[2024-11-09T08:49:59Z ERROR binwalk::extractors::common] Failed to spawn external extractor for 'squashfs' signature: No such file or directory (os error 2)
[2024-11-09T08:49:59Z ERROR binwalk::extractors::common] Failed to execute command sasquatch["xxx/extact_HS8545M5_V500R020C00SPC200B459/extractions/flash_rootfs.extracted/2C1B054/squashfs_2C1B054.sqsh"]: No such file or directory (os error 2)
[2024-11-09T08:49:59Z ERROR binwalk::extractors::common] Failed to spawn external extractor for 'squashfs' signature: No such file or directory (os error 2)

Simply install https://github.com/devttys0/sasquatch in your system.

@brainstorm is correct, this error simply means that sasquatch is not installed on your system.
Binwalk relies on several external utilities to perform extraction, these can be displayed by running binwalk --list.
FYI, there is a more recently maintained version of sasquatch here, but I don't know if Mac is supported.


How to integrate https letsencript

Hi,
This tutorial is awesome for me. Thank you so much sharing this tutorial.
If possible can you please let me know, How we can setup for https letsencript.
Thanks

Of course!
This post should help: https://medium.com/@pentacent/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71


MH-4158: Patched this class so that it doesn't generate an exceptio…

…n when it tries to swizzle things for database entities that don't have their associated classes in the project (e.g., DTDay for any of our apps).

You seem to have closed this without merging. Is there a problem that needs to be fixed?

I meant to use my own fork, sorry.


Parameterise the ClusterIssuers for components

Right now we have two ClusterIssuer installed with cert-manager letsencrypt-production and letsencrypt-staging. But all the components that use cert-manager have hardcoded letsencrypt-production in their ingresses.
https://github.com/kinvolk/lokomotive/blob/9e3eaf64546c2498485a26757be5ae0cc0adf7a2/pkg/components/dex/component.go#L188
https://github.com/kinvolk/lokomotive/blob/9e3eaf64546c2498485a26757be5ae0cc0adf7a2/pkg/components/gangway/component.go#L246
https://github.com/kinvolk/lokomotive/blob/9e3eaf64546c2498485a26757be5ae0cc0adf7a2/pkg/components/httpbin/component.go#L99
Provide a variable to the user in these components to change the ClusterIssuer.

Couple of notes:

This is to avoid hitting Let's Encrypt limits while testing. When testing, staging issuer should be used instead of production one, as it has much higher limits.
Which one should we pick up by default? Should we provider production-ready as default and let the user fall into the limits more often while testing or be staging by default and make sure specify production deployments explicitly?
Once implemented, CI configurations should be set to use staging certificates.


allow setting mutability

Adding an option to set the mutability for the repository. This is a backwards compatible change, omitting the option will not change the existing configuration.

Thanks for the PR @athurn!
Do you think it would make more sense to align with the AWS API and CLI here?
image-tag-mutability: IMMUTABLE

@72636c @faizhasan Thank you for your review! Sorry, I totally forgot about this PR.
I've applied your suggestions, could you please take another look? Thanks.

@athurn thanks for this change and your patience.
I made some minor amendments directly into your branch and ran tests against these, as that seemed fastest to facilitate release.

added a test of the input against the enum values
added a type (string) to the enum schema definition, to match JSON Schema specification (enums should have a type)
added region to logging header to match other headers (from a PR recently merged to master).


[XML] Update Fan Control Cluster XML to match updated spec

The data types names has been updated in Fan Control Cluster and must be updated in the XML as well.
Added:

FanModeEnum
FanModeSequenceEnum
RocktBitmap
WindBitmap

Spec PR: https://github.com/CHIP-Specifications/connectedhomeip-spec/pull/7210 (already merged)

Duplicate of https://github.com/project-chip/connectedhomeip/issues/27358


Automating backup

Any kind of backup must be automated to maximize its value. We should provide inspiration/scripts for how to do that for both enterprise and core users.

Closing in favor of https://github.com/cockroachdb/docs/issues/2447.


[Snyk] Security upgrade debian from 11.7-slim to bullseye-20231009-slim

This PR was automatically created by Snyk using the credentials of a real user.Keeping your Docker base image up-to-date means you’ll benefit from security fixes in the latest version of your chosen image.
Changes included in this PR

translations/ja-JP/content/actions/creating-actions/dockerfile-support-for-github-actions.md

We recommend upgrading to debian:bullseye-20231009-slim, as this image has only 53 known vulnerabilities. To do this, merge this pull request, then verify your application still works as expected.
Some of the most important vulnerabilities in your base image include:

Severity
Priority Score / 1000
Issue
Exploit Maturity

721
Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
Proof of Concept

721
Out-of-bounds Write SNYK-DEBIAN11-GLIBC-5927133
Proof of Concept

614
Out-of-bounds Write SNYK-DEBIAN11-NCURSES-5421197
No Known Exploit

614
Out-of-bounds Write SNYK-DEBIAN11-NCURSES-5421197
No Known Exploit

614
Out-of-bounds Write SNYK-DEBIAN11-NCURSES-5421197
No Known Exploit

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Duplicate of #


Fix TS H264 key frame detection (2)

When playing H264 video from a TS container, it seems the BUFFER_FLAG_KEY_FRAME in addition to being set on the actual IDR frames, is also wrongly set on each frame immediately preceding the IDR one.
In more detail the root cause seems to be the following. In streams with AUD, the consume at the beginning of the PES, on the AUD NAL, calls endNAlUnit() on the previous NAL (NAL_UNIT_TYPE_NON_IDR) and since randomAccessIndicator is set, this causes treatIFrameAsKeyframe to be true and so sampleIsKeyframe to be set while still on the previous sample (outputSample has not been called yet). The following NAL unit (SPS) causes endNAlUnit() to be called on the SampleReader for the AUD NAL which calls outputSample on the previous sample with sampleIsKeyframe wrongly set.
The proposed solution, with this PR, is to pass the randomAccessIndicator parameter in SampleReader in the startNalUnit() instead of the endNalUnit() and have it as a class variable in the SampleReader. With this change the randomAccessIndicator would only depend on the PES the current NAL belongs to and the issue described above would be resolved.

About the added unit test.
I've created sample_h264.ts by converting the existing sample_h265 end enforcing key frames at frame indexes 0, 10 and 20:
ffmpeg -i sample_h265.ts -c:v libx264 -x264-params keyint=10:min-keyint=10 sample_h264.ts

flags = 1 (i.e. key frame) show at the correct sample numbers in this branch and at the wrong sample numbers if commit c3fcac9 is applied (cherry picked) to the main branch.

Thanks for the fix! I will work on merging this.

I just realized that we don't have this push access to the branch for further changes. Would it be possible to open a new PR from an individual-owned fork? We can't push changes to organization-owned forks like this one. If that's not possible then we can still merge this PR but it will result in an 'evil' merge. See more info here: https://github.com/androidx/media/blob/release/CONTRIBUTING.md#push-access-to-pr-branches

Hi @tonihei, no prob we've had the same issue for previous PRs, I just gave you write access to our repo, so you should be ok, please let me know.


High contrast mode code example bug

@a-matusewicz opened the following issue at https://github.com/dotnet/AspNetCore.Docs/issues/28819
Some of the code examples do not render readably in high contrast mode. I have to highlight the sections to read them.
Ex.

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 47b14f57-82ac-a2e2-cbc7-22a81a60f4ac
Version Independent ID: bffca13c-223f-c61f-9cb2-9da8811eecfa
Content: Prevent Cross-Site Request Forgery (XSRF/CSRF) attacks in ASP.NET Core
Content Source: aspnetcore/security/anti-request-forgery.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

@a-matusewicz per @JasonWHowell
[1:53 PM] Jason Howell
Does it happen universally on the Learn site, or is it something exceptional about the page its on?
Edited[1:57 PM] Jason Howell
I can't repo in Edge on Windows 11. Maybe we need to know the browser and OS and make sure its a supported scenario.

See https://github.com/dotnet/AspNetCore.Docs/issues/28819


Update readme.md

Changes as part of https://www.pivotaltracker.com/story/show/152653609

Minor grammatical and wording changes to introduction
Remove getting started instructions and refer to PaaS technical documentation content
Update reference information on configuration options, applications flags and environment variables
Remove content on credentials and access as this is now part of PaaS tech docs

The build failure is fixed by #12 but could be disregarded for the purpose of reviewing this PR.

Happy with the content. Travis has been fixed by @dcarley and merged upstream.
I'm not merging as it would leave big gap in documentation - needs to be coordinated with alphagov/paas-tech-docs#85


data: rename wpp/2019/standard_projections to un/2019/un_wpp

We recently imported a fresh version of UN World Population Prospects. The new and old version currently don't use the same naming conventions or namespace. This PR brings them into alignment, by renaming the old version to match the new.

Rename to match naming scheme of new 2022 import by Lucas
Convert ipynb file to Jupytext python script

Thanks @lucasrodes ! I found one more spot where the reference was broken, and made sure to test rebuilding it now with an empty data/ dir, which seems to work.


multiple ringbuf_acquire() by one thread with one ringbuf_produce() call

Hi
If we have a situation where a producer thread issues multiple ringbuf_acquire(ringbuf, w, len)) so each successive call returns a different slot offset. Now let's say I do save one value into one of those slots and not the others. I then issue a single ringbuf_produce(ringbuf, w). From reading the code that will trick the consumer into reading from a range that don't have values in them because ringbuf_produce() will do a atomic_store_explicit(&w->seen_off, RBUF_OFF_MAX, memory_order_relaxed) for the whole producer thread.
Is the above correct ? It is probably a misuse of the ringbuffer I just wanted to confirm my understanding of your semantics.

Nested ringbuf_acquire() calls are not allowed by the API.  I just updated the documention to clarify this aspect.
Another ringbuf_acquire() call would behave almost like a ringbuf_publish() with the respect to previously acquired range. I say almost because it would not issue a relevant memory fence, so it would not guarantee that the previous range ("message") gets published correctly.

just to clarify when you say 'nested' I took it that you meant consecutive without intervening ringbuf_produce() calls between each ringbuf_acquire() call?

That's right. Perhaps "consecutive" is a better word here.

Thanks for confirming. I like the simplicity of your implementation, as you see what's going on underneath. And the test you provide is quite convincing. Is this work based on some known algorithm?

Not that I am aware of, but I was inspired by the quiescent state-based reclamation algorithms (like RCU or EBR). If you think about it, the consumer is just trying to reclaim the memory. Plus some usual lock-free programming tricks, e.g. sequence/generation number is a common way to solve an ABA problem.

Resolved.


Dropbox button hits 400 page (malformed request)

From https://leanprover.github.io/tutorial/index.html, clicking the Dropbox button sends me to a page with the following text:
Error (400)
It seems the app you were using submitted a bad request. If you would like to report this error to the app's developer, include the information below.
More details for developers
Invalid redirect_uri: "https://leanprover.github.io/tutorial/index.html". It must exactly match one of the redirect URIs you've pre-configured for your app (including the path)

I've added the followings to the Redirect URIs:

https://leanprover.github.io/tutorial/index.html
https://leanprover.github.io/tutorial/?live


kore-config.js

file with config is here: UI/kore-config.js
This file has clientSecret prop.
Is this secret value should be secret or it is not secret? Point is that anyone can "borrow" this info.

Hi @vit100 This SDK is a reference implementation and useful to give quick demos your management or clients with no code changes. As a best practice JWT token will be generated at the backend. So while integrating SDK code in the website,  Client Id & Secret will be maintained at backend to generate JWT token and never exposed in the SDK code.


Location.path not working in services/factories for lazyloaded modules.

$location is not working in factory services loaded later using lazyroute in ui router.

How is it not working ? An error in the console ?

No error. Its work properly when for modules loaded on page load. But as i load more modules in ui router and inject them to root module. It doesn't work in newly added factories. I have using it http resolve. Is returns the promise but not change the location if http get failed.
LazyLoad.factory("DetailService", ['$q', '$http', '$location',
function($q, $http, $location){
return {
getDetail: function (slug) {
var deferred = $q.defer();
    $http.get(apiPath + "/hotel/" + slug + "/")
      .then(function(response){
        deferred.resolve();
      }, function(error) {
        $location.path("/");
        deferred.reject(error);
      });
    return deferred.promise;
  }
}

}
]);

And you're positive that the failed request executes your error callback?
If you load the same module without ocLazyLoad it works?

Yes its work fine without lazyload. While looking into the issue, i found a more exact situation for it. Its not working inside $http request. If i place $location & reject it before the http request. It works fine.

Hi, I think i found the issue. Its not with lazyload. Its when we use ui router and location service, then location service doesn't work inside http request. Earlier i was using route provider, so its working for me at that time. As i had changed it to ui router and lazyload, what i am thinking is that its not working bz of lazyload. But its the issue for angular ui router.

ok, that makes more sense.
You're supposed to use $state.go with ui router


argument error when runing examples/design_search/viewer.py

Hi, got this error when I ran the example code. Any helps or hints about it? Thanks!
Using optimization seed: 360342674
Traceback (most recent call last):
File "examples/design_search/viewer.py", line 258, in
main()
File "examples/design_search/viewer.py", line 156, in main
input_sequence, result = simulate(robot, task, opt_seed, args.jobs,
File "/home/wenhao/2_pytorch_ws/RoboGrammar/examples/design_search/design_search.py", line 124, in simulate
value_estimator.get_observation(main_sim, obs[:,j])
TypeError: get_observation(): incompatible function arguments. The following argument types are supported:
1. (self: pyrobotdesign.ValueEstimator, arg0: pyrobotdesign.Simulation, arg1: numpy.ndarray[float64[m, 1], flags.writeable]) -> None
Invoked with: <pyrobotdesign.NullValueEstimator object at 0x7ff6c8faf930>, <pyrobotdesign.BulletSimulation object at 0x7ff6c8f97b70>, array([], dtype=float64)

I have exactly the same error when trying to run
python3 examples/design_search/viewer.py RidgedTerrainTask data/designs/grammar_apr30.dot -j12 0, 7, 1, 13, 1, 2, 16, 12, 13, 6, 4, 19, 4, 17, 5, 3, 2, 16, 4, 5, 18, 9, 8, 9, 9, 8 -o
I am using python 3.8.13 and cmake 3.16.3.

I've pushed a fix, please let me know if it still doesn't work.
(It seems like pybind11 is more strict in which array shapes it accepts now. Previously it would allow passing in an array with zero rows in that case.)

It works as expected now. Thanks a lot!


1.0.1 Deeplinks

Short description of the problem:
Since 1.0.1 I cannot use deeplinks.
What behavior are you expecting?
Preprocess should not failed. I worked in 1.0.0
Steps to reproduce:
This is my IonicModule config.
IonicModule.forRoot(AppComponent, {
			locationStrategy: true ? 'hash' : 'path',
			pageTransition: 'ios',
		}, {
			links: [
				{ component: TabsPage, name: 'Tabs', segment: 'tabs' },
				{ component: HomePage, name: 'Home', segment: 'home' },
				{ component: AboutPage, name: 'About', segment: 'about' },

				...playerRouting,
				...userRouting,
			],
		})

ionic serve

[12:42:48]  preprocess failed: Expected 0 names in deep link config, found the following: Tabs,Home,About
[12:42:48]  ionic-app-script task: "serve"
[12:42:48]  Error: Expected 0 names in deep link config, found the following: Tabs,Home,About

Which @ionic/app-scripts version are you using?
1.0.1
NOTE : It doesn't detect other links from other modules (playerRouting, userRouting)
Thanks !

Sorry, use 1.0.0 now. A breaking API change may have slipped through the cracks here.
Thanks,
Dan

Ok thanks for the explanation.
Maybe you should explain this in your release notes ?

And I honestly think this should not be a minor release.
Thanks !

Yeah, since the API broke we should have did a major release. Sorry about that, we did not realize we broke the API. We have tests but the tests are using the new API. We didn't plan to cut the release - we needed to do another for beta testing a different Ionic functionality.
Thanks,
Dan

This is really bad and scary as a developer using this product.  We just got bit by this as well.  We are rolling back to 1.0.0

@ncapito,
Yeah, it was a mistake. We're sorry about that. It's behind a flag in 1.1.0. I would use that.
Thanks,
Dan


[BEAM-13825] [Playground] updated click_run and run_time events with correct label

I updated click_run and run_time events to have the correct label:

If selected example has not changed -> use the example path as the label
if selected example is changed -> use Custom code, sdk Python/Java

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

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

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

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

LGTM thanks!


Problem with README.md when displayed on home page

Hello, I'm not experienced with GitHub so I apologize for any mistakes.  I'm just dropping in to note that on the home page available at https://javacc.github.io/javacc/ there is a display problem with the section labeled 'Example'.  Specifically, the examples of legal and illegal strings are not displaying correctly.  I suspect it is because some of the braces are being interpreted by the web server as actual flow control symbols rather than simply as strings.
This section looks fine as README.md on the GitHub repository page, but it's getting a little garbled on the home page.  Thanks!

The README file is valid markdown code, and displays correctly in Safari, Chrome, and Firefox when viewed via the GitHub repository. The problem is specific to GitHub Pages, which is used to render the home page. Short of migrating off GitHub Pages, I am not aware of any fix we can practically do here.

As noted above, when browsing (Safari) to https://javacc.github.io/javacc/
The correct example    "{}", "{{{{{}}}}}", etc.           becomes       {}, }}} // … etc
And viewing the source html, I see the problem on line 179 which says
{}, }}} // … etc
I guess that html is automatically generated from the README by  GitHub Pages? (I don’t see a separate gh-pages branch.)
A JavaCC rookie like me, on browser, might love a comment or link to the README.

As already mentioned this is an issue with GitHub Pages. The markdown is correct.
GitHub Pages is rendered from /docs.
There is already a link “View on GitHub”

Can we use zero-width space to fix this issue like https://github.com/javacc/javacc/pull/231 ?


Internal Server Error

When trying to send a transaction I am getting the error:
Error: Internal Server Error(…)
Here is my code:
All variables resolve to their proper values (e.g. privKeyWIF,  $("#sendAddress").val(), db.get("address"))
bitcoinTransaction.sendTransaction({
from: db.get("address"),
to: $("#sendAddress").val(),
privKeyWIF: privKeyWIF,
btc: btcAmount,
network: "mainnet",
fee: "halfHour"
}).catch(function(error) {
console.log(error)
if(error == "You do not have enough in your wallet to send that much."){
alert("You are sending more than you have! \n (Keep in mind you need to supply a miner fee)")
clearSend();
setError();
}else if(error == "BitCoin amount must be larger than the fee. (Ideally it should be MUCH larger)"){
alert("You are not sending enough! (Bitcoin amount is smaller than the fee!)")
clearSend();
setError();
}else{
alert("There was an error sending your transaction. Please try again later.")
clearSend();
setError();
}
}).then(function() {
if(!getError()){
console.log("transaction sent;")
alert("The transaction has been sent successfully. \n It should be confirmed within the next few minutes.")
clearSend()
}
});

Sounds like an issue with one of the providers. Since these are free Bitcoin services, they may not be fully reliable. Look at the network tab in Chrome developer tools and find which request is failing. There should be requests to:
providers.fees.mainnet.earn;
providers.utxo.mainnet.blockexplorer;
providers.pushtx.mainnet.blockchain;

Should I  switch them all to the their second option?

I would first see which one is the problem then yes try the secondary option. If it is the fees endpoint then unfortunately there is only one endpoint for that one. You can override the automatic fee calculation by setting a number measured in sats / byte if that is the case.


add Python3.8 support

We want to use Anaplan API on constrained environments like Composer that only provision Airflow images shipped with Python 3.8
PR Lulu-Bertin:feat/add_support_for_py38 fbc8383

Hi, thank you for contributing, I merged the branch, but remember that Python 3.8 is near the end-of-life: https://devguide.python.org/versions/


vimPlugins.numb-nvim: init at 2021-07-05

vimPlugins: update
vimPlugins.numb-nvim: init at 2021-07-05

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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.

@ofborg eval


Adding NotConvertableBecomesNil to Subscripting options

Consider that the api responses changes the return value from one format to another. I know that server responses should not change the value type, but if it ever get change shouldn't just make the value to nil instead of failing? Thus, I would like to make this pull request to giving an option if the server return different value, it return nil type.

I'm not sure this should be part of Freddy directly; data type mismatch errors seem more serious than trying to wrangle null or missing keys. I guess I mean if you can handle an error of that magnitude (by assuming the value is nil), could this be accomplished by using try? at the call site?

Let's say I have a model like below:
final public class ListingDetail: NSObject, JSONDecodable {
    public let statusCode: Int?
    public let price: Double?

 public required init(json: JSON) throws {
   statusCode = try json.int("data","data","statusCode", alongPath: [.MissingKeyBecomesNil, .NullBecomesNil])
   price  = try json.double("data","price",alongPath: [.MissingKeyBecomesNil, .NullBecomesNil])
 }
}

So if my json has a statusCode but with string value the whole model get to failed. And in this situation I can't use 'try?' because i'm using 'let' inside my model. With this model if the value is not convertible, the model actually get EXC_BAD_ACCESS error.
I thought maybe it would be a great if I could satisfy the Freddy if the value i'm looking for is not exactly the same type, then just return nil value instead.

Two questions for you:

Can you explain what you mean by "I can't use try? because I'm using let inside my model"? Since your properties are optionals, that should work fine.
Where are you getting an EXC_BAD_ACCESS? That shouldn't be happening from the code you've posted, unless you're try!-ing the model creation somewhere else.

Closing for now - if this is still an issue please re-open. Thanks!


Failed to connect to Elevation API in EarthMesh node

I followed the instructions, including setting up my Google Maps Elevation API, and installing the python libraries.
I tested the API and confirmed that it's working via web requests.
However, when I try to use the EarthMesh HDA, I get the following errors:
Houdini Terminal where I launch Houdini from the command line:
Failed to connect to Elevation API, defaulting to zero.
<urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)>
failed to connect to geographiclib.sourceforge.io, defaulting to zero.

Here are the errors I get in the EarthMesh node:
Invalid source /obj/geo1/EarthMesh1/3D_Tiles.
(Error: Python error: Traceback (most recent call last):
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1348, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1294, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1340, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1289, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1048, in _send_output
self.send(msg)
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 986, in send
self.connect()
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1466, in connect
self.sock = self._context.wrap_socket(self.sock,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket
return self.sslsocket_class._create(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1108, in _create
self.do_handshake()
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1383, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1006)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "", line 141, in
File "", line 19, in bytes_from_url
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 216, in urlopen
return opener.open(url, data, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 519, in open
response = self._open(req, data)
^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 536, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
result = func(*args)
^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1391, in https_open
return self.do_open(http.client.HTTPSConnection, req,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/Houdini/Houdini20.5.278/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1351, in do_open
raise URLError(err)
urllib.error.URLError:
).

What am I missing? Here is my Houdini setup.
Houdini 20.5.278 - Py3.11
OS: MacOS Sonoma 14.1
Hardware: MacBook Pro M1 (2021)

It's an issue with Mac and Linux. I have to investigate this. I am very busy with other things right now, but I will check it as soon as I can.

In that case, I'll try your EarthMesh HDA in Houdini on Windows.
Thanks

In the meantime, it might be helpful to others that you add to the documentation that EarthMesh HDA has only been tested on Windows.

I managed to get EarthMesh working on Windows.
Many thanks
Please close this issue, as I'm not seeing that option available for me.

I managed to get EarthMesh to work on Windows!
Many thanks.


Question about weight_sparsity

Environment

GPU properties

GPU name  NVIDIA  A800
GPU memory size  80GB

Libraries

TensorRT-LLM branch or tag  0.10.0.dev2024043000
TensorRT  9.3.0.post12.dev1
AMMO  0.9.3
CUDA  12.2
transformers  4.38.2
torch  2.2.2
accelerate  0.25.0

NVIDIA driver version  535.54.03

Reproduction Steps
I want to use TensorRT-LLM to deploy a llama2 model with semi-structured sparsity(2:4) to get inference acceleration.
So i use Wanda to implement semi-structured pruning(2:4) to a llama2 model.
Then convert the model into TensorrtLLM checkpoint format:
python convert_checkpoint.py --model_dir /mnt/disk1/hcy/wanda/results/wanda/llama2-7b-semi  --output_dir tllm_checkpoint/llama2-7b-wanda-2:4 --dtype float16
When compiling model, i set --weight_sparsity to enable the sparsity feature:
trtllm-build --checkpoint_dir tllm_checkpoint/llama2-7b-wanda-2:4  --output_dir trt_engines/llama2-7b-wanda-2:4  --gemm_plugin float16  --weight_sparsity
Actual Behavior
The TensorRT logs doesn't report any information about the sparsity.

And when i use benchmark.py to test the pruned model, there is no acceleration:
python /mnt/disk1/hcy/TensorRT-LLM/benchmarks/python/benchmark.py  -m llama_7b  --mode plugin  --batch_size "1"  --input_output_len "128,128"  --engine_dir trt_engines/llama2-7b-wanda-2:4
model with semi-structured sparsity(2:4) ,   generation_tokens_per_second 52.829

original model without  sparsity,  generation_tokens_per_second 52.386

It seems that the --weight_sparsity doesn't work.
So how can i get acceleration of semi-structured sparsity using TensorRT-LLM?
Thanks!
Additional Notes
I have confirmed that the model has semi-structured sparsity (Among each group of four contiguous values, at least two must be zero) by outputting some weights.

Please remove the --gemm_plugin float16 because sparsity is only supported by TRT.

Please remove the --gemm_plugin float16 because sparsity is not supported by gemm plugin.

Thanks!😊 It works!

@hcy682 hi, I'm also trying to use tensorrt-llm to speed up sparse llama. How much can llama2-7b model with semi-structured sparsity(2:4) be accelerated? Can you tell me? It would be greatly appreciated if you could.

@hcy682 hi, I'm also trying to use tensorrt-llm to speed up sparse llama. How much can llama2-7b model with semi-structured sparsity(2:4) be accelerated? Can you tell me? It would be greatly appreciated if you could.

original llama2 model:

unstructured pruning (50%):

semi-structured pruning (2:4):

@hcy682 hi, I'm also trying to use tensorrt-llm to speed up sparse llama. How much can llama2-7b model with semi-structured sparsity(2:4) be accelerated? Can you tell me? It would be greatly appreciated if you could.

original llama2 model:
unstructured pruning (50%):
semi-structured pruning (2:4):

Thank you so much!

Do you see the similar latency reduction under INT8 and FP8 mode?

Is it just about "gemm_plugin float16" or any gemm_plugin? For instance, when int8 matmul or fp8 matmul is enabled, will sparsity still help?

Please remove the --gemm_plugin float16 because sparsity is not supported by gemm plugin.

Thanks!😊 It works!

Another question is on the direction of 2:4 sparsity: for example, my weights are something like the following . Does it work or it has to be transposed first before pruning? Thanks.
weight-check tensor([[  0, -21,   0, -35],
        [  0, -46,   0,  29],
        [-22,   0,  48,   0],
        [  0,   0, -46,  33]], dtype=torch.int8)

As long as your weights have semi-structured sparsity (for example 2:4--at least two '0' in four contiguous values), you can get acceleration by setting --weight_sparsity when compiling model.
I haven't tried FP8 mode. I have tried INT8 mode, and it is more fast than semi-structured sparsity.


feat: cache textobjects created from a ts query

Problem
When the user opens a file with this plugin installed (most notably latex, dart, zig and rust files), a slow ts.get_query will get called, that can take 3500ms for a latex file on an older machine. The reason for this is tree-sitter is trying to do some aggressive initial analysis of the query (eg. latex/textobjects.scm).
Neovim acknowledged that this function call is slow and memoized it, however it doesn't get cached for too long, as the cache gets garbage collected. For me this cache gets cleared after opening 2-3 files, so it's not that useful.
This PR's solution
This PR puts computed queries in a cache which lives as long as neovim is open.
Further work
A proper upstream fix would be the best, but this performance issue is present for months and I don't see any progress on it.
In order to persist the cache between neovim sessions, we could store the cache somewhere in probably ~/.local/state/nvim. And for cache invalidation, we could also store the hash of the .scm files and invalidate the cache when the hash changes.
Other issues and PRs
Helps a lot with #461, #627.
Upstream issue this PR is working around: https://github.com/tree-sitter/tree-sitter/issues/973.
In neovim a similar caching system was implemented in https://github.com/neovim/neovim/pull/24222, but got replaced with the garbage collected memoization in https://github.com/neovim/neovim/pull/25201.
Other plugins are resorting to this kind of workaround, for example noice.

Thank you, but the master branch is basically frozen; any development now happens on the main branch which will become the default (and which already contains caching).

(And if you add a cache, you need to make sure it gets invalidated on changes!)

@clason Thanks for the info. I just tried loading a dart file on main and it's instant, even for the first try, very impressive work! Latex may be a little slower if not the same speed, or at least I can feel the sometimes fast, sometimes slower loading that I noticed with neovim's garbage collected memoize.
How stable is the main branch? Since it's not the default I assume most users and distro package maintainers shouldn't switch yet, is there some tracking issue?
(Since AFAIK the query won't change during runtime, I deliberately didn't invalidate it.)

It's not stable yet; there's some regressions and some more work to be done that could be breaking (see open PRs labeled NEXT). No ETA but we hope those will get resolved in a timely manner. It's volunteer work, though, so impossible to plan.

Note that this will likely be helped greatly by https://github.com/neovim/neovim/pull/30227, as it will allow the query.get memoization to use a strong table and be manually invalidated only when necessary (e.g. after query.set)

Thanks for your work in upstream and linking it here, that will also help other plugins :)


Cryptic failures in gitreceive

t=2015-09-03T00:11:06+0000 lvl=info msg="request started" component=gitreceive req_id=7262d879-9b53-4c6a-9243-3ddf6bbe7484 method=GET path=/conv-integration-teamcity-radiator.git/info/refs client_ip=<IP_ADDRESS>
t=2015-09-03T00:11:06+0000 lvl=info msg="request completed" component=gitreceive req_id=7262d879-9b53-4c6a-9243-3ddf6bbe7484 status=401 duration=81.376µs
t=2015-09-03T00:11:07+0000 lvl=info msg="request started" component=gitreceive req_id=7a96b64f-0709-4036-988f-83f3a431b696 method=GET path=/conv-integration-teamcity-radiator.git/info/refs client_ip=<IP_ADDRESS>
t=2015-09-03T00:11:07+0000 lvl=info msg="request completed" component=gitreceive req_id=7a96b64f-0709-4036-988f-83f3a431b696 status=401 duration=78.468µs
t=2015-09-03T00:11:07+0000 lvl=info msg="request started" component=gitreceive req_id=eb21c0f2-3bcd-4340-995f-6a5e7bbe58dd method=GET path=/conv-integration-teamcity-radiator.git/info/refs client_ip=<IP_ADDRESS>
t=2015-09-03T00:11:08+0000 lvl=info msg="request completed" component=gitreceive req_id=eb21c0f2-3bcd-4340-995f-6a5e7bbe58dd status=200 duration=640.165189ms
t=2015-09-03T00:11:08+0000 lvl=info msg="request started" component=gitreceive req_id=06c8cef2-174f-4cec-b735-03eee9951eea method=POST path=/conv-integration-teamcity-radiator.git/git-receive-pack client_ip=<IP_ADDRESS>
t=2015-09-03T00:11:08+0000 lvl=info msg="request completed" component=gitreceive req_id=06c8cef2-174f-4cec-b735-03eee9951eea status=200 duration=33.214589ms
t=2015-09-03T00:11:08+0000 lvl=info msg="request started" component=gitreceive req_id=258cc2da-8013-4aab-ba07-f1aa1ea3b7fc method=POST path=/conv-integration-teamcity-radiator.git/git-receive-pack client_ip=<IP_ADDRESS>
t=2015-09-03T00:11:08+0000 lvl=eror msg="handlePostRPC write to subprocess" component=gitreceive req_id=258cc2da-8013-4aab-ba07-f1aa1ea3b7fc error="write |1: broken pipe"
t=2015-09-03T00:11:08+0000 lvl=info msg="request completed" component=gitreceive req_id=258cc2da-8013-4aab-ba07-f1aa1ea3b7fc status=500 duration=284.103863ms
t=2015-09-03T00:51:50+0000 lvl=info msg="request started" component=gitreceive req_id=e8bde48d-56dc-4091-8faa-a97cac3ebe6d method=HEAD path=/ client_ip=<IP_ADDRESS>

Only appears to happen on some pushes; my initial application still pushes just fine. https://gist.github.com/7853e4cc14f8dc80b343 has the full debug info from the cluster.

Are there any errors on the client side when this appears in the log?

Publishing doula to flynn-ci-us-east-1.nexus.bazaarvoice.com
Counting objects: 9002, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (3017/3017), done.
Writing objects: 100% (9002/9002), 1.28 MiB | 87.00 KiB/s, done.
Total 9002 (delta 4003), reused 8904 (delta 3933)
error: RPC failed; result=22, HTTP code = 500
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
Everything up-to-date

Reproduces on every cluster.

This looks like a dupe of #1799. Is it a specific repo that is failing every time?

It appears to be consistent across repo and endpoint, let me check some others.

Yep: same failure for this repo against all endpoints. Trying out another repo, so far not getting it anywhere with that one.

K, I'm going to try to track down a few larger OSS repos to try out (we haven't seen this for any of our example apps), if you can come up with any commonalities between failing repos or can provide me with an example repo that fails it would be really helpful.

Unfortunately, my instance of this is from a private repo. I'll talk with the team it comes from in the morning, see if they have any objection to giving you access to a copy.

I now have a repro case, I'm going to close this as a dupe of #1799 since the error messages on both sides are exactly the same.

Hmm. Not sure if this is related, but it's in a similar place, and is easy to reproduce:
t=2015-09-03T01:50:35+0000 lvl=info msg="request started" component=gitreceive req_id=69388fc3-2722-4764-bb87-e38d0cac19d9 method=GET path=/conv-integration-teamcity-radiator.git/info/refs client_ip=<IP_ADDRESS>
t=2015-09-03T01:50:35+0000 lvl=eror msg="handleGetInfoRefs wait for subprocess" component=gitreceive req_id=69388fc3-2722-4764-bb87-e38d0cac19d9 error="exit status 128"
t=2015-09-03T01:50:35+0000 lvl=info msg="request completed" component=gitreceive req_id=69388fc3-2722-4764-bb87-e38d0cac19d9 status=200 duration=8.001935ms

and from the CLI
Publishing upstreamtest-teamcity-radiator to flynn-ci-us-east-1.nexus.bazaarvoice.com
fatal: protocol error: bad line length character: fata

I can also reproduce the first error with this one's open source predecessor: https://github.com/gogobot/teamcity-radiator

I believe this error happens on the second push after the initial 500 error. I can now reliably reproduce both errors, so I'm working on tracking down the cause.

Good to hear. Let me know if I can help.


Idea Ultimate download fails with 403

Issue description
Idea Ultimate download fails with 403 error. It seems we need to update it, because they don't server old versions long enough.
Steps to reproduce
% nix-env -iA nixpkgs.idea.idea-ultimate
installing 'idea-ultimate-2018.1'
these derivations will be built:
  /nix/store/hn7lylbpq0bnbx8vi1627d9hmvskmyzf-ideaIU-2018.1-no-jdk.tar.gz.drv
  /nix/store/ass43bbsrzigcvg38009vczp017syg47-idea-ultimate-2018.1.drv
building '/nix/store/hn7lylbpq0bnbx8vi1627d9hmvskmyzf-ideaIU-2018.1-no-jdk.tar.gz.drv'...

trying https://download.jetbrains.com/idea/ideaIU-2018.1-no-jdk.tar.gz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   154  100   154    0     0    911      0 --:--:-- --:--:-- --:--:--   911
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (22) The requested URL returned error: 403 Forbidden
error: cannot download ideaIU-2018.1-no-jdk.tar.gz from any mirror
builder for '/nix/store/hn7lylbpq0bnbx8vi1627d9hmvskmyzf-ideaIU-2018.1-no-jdk.tar.gz.drv' failed with exit code 1
cannot build derivation '/nix/store/ass43bbsrzigcvg38009vczp017syg47-idea-ultimate-2018.1.drv': 1 dependencies couldn't be built
error: build of '/nix/store/ass43bbsrzigcvg38009vczp017syg47-idea-ultimate-2018.1.drv' failed

Technical details
Please run nix-shell -p nix-info --run "nix-info -m" and paste the
results.

system: "x86_64-linux"
host os: Linux 4.14.41, NixOS, 18.03.132405.ee80654b526 (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0.1
channels(pascal): "nixpkgs-18.03.132536.fdb5ba4cdf9"
channels(root): "nixos-18.03.132405.ee80654b526"
nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

cc @Mic92 @kirelagin

I am looking at the expression in master and it has version 2018.1.3 in it, so, I guess, you just need to upgrade your nixpkgs. Moreover, judging by the history, @jokogr is running an automatic script that bumps the version.

I'm using 18.03. Then maybe we should cherry-pick the update.

I have made PR #41410 for master, I will make one for 18.03 once it gets accepted.
Unfortunately the update script we are using to update Jetbrains' products has been recently broken, I will try to fix it, too.

I back ported all jetbrains update back to 18.03: https://github.com/NixOS/nixpkgs/compare/320e278ffb40...7295e175bf6c

Thank you very much!

@Mic92 IDEA 2018.1.4 is not included in the commits you mentioned, please have a look at #41410, it is still open and not for 18.03.


barrier lockup

I have an unusual setup ...
an hpx thread is working on some message sending, to improve latency, I call parcelport->progress() which jumps into the parcelport code and in effect triggers the background work - this functionality is exposed in my libfabric branch and I was hoping to move it into the main branch at some point.
the task on rank 0 looks like this
loop
    send some messages
    if messages_in_flight>threshold
        parcelport->progress (and reduce the number in_flight)
    endif
endloop
hpx::distributed::barrier::synchronize();

The task on other ranks  looks the same.
Unfortunately, I get deadlocks because during the call to progress on rank 0 - rank 1 might enter the barrier and send a barrier related message to rank 0 - which has not yet entered the barrier - rank 0 responds by suspending the thread from inside barrier_node::set_event() which then stops the task on rank 0 from ever reaching the barrier on rrank 0 - so resulting in a deadlock
<DEB><PHONE_NUMBER> -------------- 0x7ffff138d640 cpu --- oryx2(-1)     PPORT   Rank                 00 Suspended threads Stack trace 0 : 0x555555fdf6c0 :
19 frames:
0x7ffff673b04c  : hpx::threads::execution_agent::do_yield(char const*, hpx::threads::thread_schedule_state) [0x296] in /home/biddisco/build/hpx-rma/lib/libhpx_cored.so
0x7ffff673ac66  : hpx::threads::execution_agent::suspend(char const*) [0x2c] in /home/biddisco/build/hpx-rma/lib/libhpx_cored.so
0x7ffff652b930  : hpx::execution_base::agent_ref::suspend(char const*) [0xca] in /home/biddisco/build/hpx-rma/lib/libhpx_cored.so
0x7ffff664c786  : hpx::lcos::local::detail::condition_variable::wait(std::unique_lock<hpx::lcos::local::spinlock>&, char const*, hpx::error_code&) [0x12a] in /home/biddisco/build/hpx-rma/lib/libhpx_cored.so
0x7ffff7574bbc  : /home/biddisco/build/hpx-rma/lib/libhpxd.so.1(+0x8aebbc) [0x7ffff7574bbc] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff75629fd  : hpx::distributed::detail::barrier_node::set_event() [0x135] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff741a2bd  : hpx::lcos::base_lco::set_event_nonvirt() [0x23] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff74250a0  : /home/biddisco/build/hpx-rma/lib/libhpxd.so.1(+0x75f0a0) [0x7ffff74250a0] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff7424b6a  : /home/biddisco/build/hpx-rma/lib/libhpxd.so.1(+0x75eb6a) [0x7ffff7424b6a] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff742371c  : /home/biddisco/build/hpx-rma/lib/libhpxd.so.1(+0x75d71c) [0x7ffff742371c] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff741ce0d  : void hpx::actions::transfer_continuation_action<hpx::lcos::base_lco::set_event_action>::schedule_thread<>(hpx::util::pack_c<unsigned long>, hpx::naming::gid_type const&, void*, int, unsigned long) [0x343] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff741aee1  : hpx::actions::transfer_continuation_action<hpx::lcos::base_lco::set_event_action>::schedule_thread(hpx::naming::gid_type const&, void*, int, unsigned long) [0x3d] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff741b007  : hpx::actions::transfer_continuation_action<hpx::lcos::base_lco::set_event_action>::load_schedule(hpx::serialization::input_archive&, hpx::naming::gid_type&&, void*, int, unsigned long, bool&) [0x79] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff7713362  : hpx::parcelset::detail::parcel::load_schedule(hpx::serialization::input_archive&, unsigned long, bool&) [0x1c2] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x7ffff772bf17  : hpx::parcelset::parcel::load_schedule(hpx::serialization::input_archive&, unsigned long, bool&) [0x81] in /home/biddisco/build/hpx-rma/lib/libhpxd.so.1
0x555555611825  : /home/biddisco/build/hpx-rma/bin/network_storage(+0xbd825) [0x555555611825] in /home/biddisco/build/hpx-rma/bin/network_storage
0x55555560eafe  : /home/biddisco/build/hpx-rma/bin/network_storage(+0xbaafe) [0x55555560eafe] in /home/biddisco/build/hpx-rma/bin/network_storage
0x55555560e779  : /home/biddisco/build/hpx-rma/bin/network_storage(+0xba779) [0x55555560e779] in /home/biddisco/build/hpx-rma/bin/network_storage
0x55555560b50e  : /home/biddisco/build/hpx-rma/bin/network_storage(+0xb750e) [0x55555560b50e] in /home/biddisco/build/hpx-rma/bin/network_storage

This behaviour is obviously not standard practice for hpx since I am progressing the network on an hpx task - however, I'd like to know if this is actually a bug in the barrier code - it has not been reached on rank 0 (it may not be the first time it is used and after N uses, it might not be reset correctly hpx::distributed::barrier::synchronize(); uses a global barrier) - it should not be yielding before the local rank has entered the barrier.
Can this be fixed? or is it a show stopper that prevents my use case?

John,
the barrier (local and distributed) API by design requires for all parties to join before any party can join a second time. The user code is required to ensure this.
Since HPX uses a global barrier internally only during startup and shutdown (i.e. before hpx_main is executed and after it exited), it should be possible for you to enable your own progress functionality only if hpx::threads::threadmanager_is(hpx::state::running) returns true.

These conditions are satisfied. hpx::distributed::barrier::synchronize(); is used during startup, so _"requires for all parties to join before any party can join a second time" is always true - the barrier has always been entered and exited on all ranks durin startup, so when my user code is reached, the barrier should have been initialized and threadmanager_is(hpx::state::running) must be true since the runtime is always up and running when the tests are run.
In addition, the barrier lockups do not happen on the first iteration, but usually later on after the barrier has been used several times. When running on 3 ranks, I have noticed that a lockup only ever happens when ran 1, rank 2 enteer the barrier and rank 0 receives messages from the other ranks before rank 0 has entered the barrier. In other words, when rank 0 is last to enter the barrier on the non first execution of the barrier.
Is it possible the barrier reset/wait is the victim of a condition variable style wait that is triggered before the thread that wants to wait for it has started waiting?

The global barrier by default simply uses a local barrier on locality 0 for the synchronization (see; https://github.com/STEllAR-GROUP/hpx/blob/master/libs/full/collectives/src/detail/barrier_node.cpp#L308). The local barrier arrive_and_wait() is here: https://github.com/STEllAR-GROUP/hpx/blob/master/libs/core/synchronization/include/hpx/synchronization/barrier.hpp#L214-L223.
Essentially, everything happens under a lock, so I don't see a way for it to misbehave. However, as always with concurrent code, a second pair of eyes might see more...

This was fixed on master. Please reopen if needed.


How to define an array value?

containsValue takes an array for its first argument, but there is no doc on how to provide an array. I've tried using containsValue(['windows', 'linux32'], parameters.platform), but that failed with error Unexpected symbol: '['..

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 77c58a78-a567-e99a-9eb7-62dddd1b90b6
Version Independent ID: 680a79bc-11de-39fc-43e3-e07dc762db18
Content: Expressions - Azure Pipelines
Content Source: docs/pipelines/process/expressions.md
Product: devops
Technology: devops-cicd
GitHub Login: @andyjlewis
Microsoft Alias: alewis

@stephenmichaelf can you help me understand the correct syntax and where that function can be used? I don't mind to update the doc, once I get a little help.

From reference, here is the updated documentation:

There is no literal syntax in a YAML pipeline for specifying an array. This function is of limited use in general pipelines. It's intended for use in the pipeline decorator context with system-provided arrays such as the list of steps.


Update query being build is missing from clause

Environment
Knex version: "^2.4.2",
Database + version: "pg": "^8.9.0"
OS: windows + linux
Select applicable template from below.
If issue is about oracledb support, tag @ atiertant. For MSSql tag @ smorey2.
Rest of dialects don't need tags.
If issue is about TypeScript definitions, tag @ lorefnon.
Bug
I got a Bug trying to build the following SQL:
WITH s AS
(
 SELECT ('{'||idx-1||',value}')::text[] AS path
   FROM buildings
  CROSS JOIN jsonb_array_elements(additional_data)
   WITH ORDINALITY arr(j,idx)
  WHERE j->>'key'='phase' and j->>'value'='0'
)
UPDATE buildings
   SET additional_data = jsonb_set(additional_data,s.path,'"1"',false)
  FROM s
  where id='id'

This is my code:
const knex = require('knex')(
    {
        client: 'pg',
        connection: '',
        searchPath: ['public'],
        debug: true
    }
)

let sql = knex.with('s', function () {
    this.select(knex.raw("('{'||idx-1||', value}')::text[] AS path"))
        .from('buildings')
        .crossJoin(knex.raw('jsonb_array_elements(additional_data) WITH ORDINALITY arr(j,idx)'))
        .where(knex.raw('j->>\'key\''), 'phase')
        .where(knex.raw('j->>\'value\''), '50')
})
.from(knex.raw('s')).update({
    additional_data: knex.raw('jsonb_set(additional_data, s.path, \'"51"\', false)')
})
.into('buildings')
.where('id', 'id').returning('*')
.toSQL();

console.log(sql);

the result is missing the from clause:
with "s" as (select ('{' || idx - 1 || ', value}')::text[] AS path
             from buildings
                      cross join jsonb_array_elements(additional_data) WITH ORDINALITY arr(j, idx)
             where j ->> 'key' = ?
               and j ->> 'value' = ?)
update buildings
set "additional_data" = jsonb_set(additional_data, s.path, '"51"', false)
where "id" = ?
returning *

same as this https://github.com/knex/knex/issues/5412
I ended up using something like:
const selectClause = knex("table").select("a");
await knex.raw(`
with "s" as (:selectClause:)
update "b"
  set "c" = "s"."a"
where id = :id
returning *
`, {selectClause, id:1});


⚠ Processors has degraded performance

In cea1a94, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 162 ms

Resolved: Processors performance has improved in 9cecb1e.


add nonlinear test

this merge request translates the tests string, circle and gasnet from SCIP to PySCIPOpt
it also allows to set lb = None when creating a variable for having -infinite lower bound

I am guessing this is timing out because there is no ipopt

The time outs are annoying...

Maybe adding  a time limit might be a solution to produce a valid status for the test.

don't get it, how would this timelimit work? I guess the best would be able to have ipopt, either by having an installer that contains it or compile it there?

We could check for the right result or status time limit. This would
effectively skip the test. Sure, in a perfect world we would always have
Ipopt available...
On Sun, Mar 4, 2018, 22:37 fserra<EMAIL_ADDRESS>wrote:

don't get it, how would this timelimit work? I guess the best would be
able to have ipopt, either by having an installer that contains it or
compile it there?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/SCIP-Interfaces/PySCIPOpt/pull/135#issuecomment-370266348,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABb-s6-OzK0mYcI3LWSsOB961vdr71-6ks5tbF5_gaJpZM4SbQ2I
.


1.4.6 and 1.5.0 ForkId Incompatibility

I have a network with 2 peers with different versions, 1.4.6 one and 1.5.0 the other.
A fix for private network forkIds was introduced between 1.4.5 and 1.5.0 which made them incompatible with one another.

2020-11-04 15:56:15.385+01:00 | nioEventLoopGroup-3-1 | DEBUG | EthProtocolManager | Disconnecting from peer with matching network id (2018), but non-matching fork id: ForkId(hash=0x925b4351, next=0)

11-04 15:56:15.385+01:00 | nioEventLoopGroup-3-1 | DEBUG | AbstractPeerConnection | Disconnecting (0x10 SUBPROTOCOL_TRIGGERED) from PeerInfo{version=5, clientId='besu/v1.5.0/linux-x86_64/oracle-java-15', capabilities=[eth/62, eth/63, eth/64, IBF/1], port=30303, nodeId=0x2594301886259d7b58a56d00ec91aa426d19b14b27ad913b3038b8f308ae7f911ca4c41a8fc0ea23e935a6ff1f73c4a1c6311247ef51fa69dd6bc9881cab1126}

This seems related to https://github.com/hyperledger/besu/issues/1534

Yes, #1534 was reported by a consortium colleague on rocketchat, but it is the same issue as this one.
We have also tested this on an internal network.

@jorgesanjose @JaimeGomezGarcia this should be fixed by https://github.com/hyperledger/besu/issues/1541, which will be part of today's 20.10.1 release. Please reopen if you still see issues. Thank you!


add acceptableApplicationBundleIDs feature

A new key acceptableApplicationBundleIDs is now available.
  "optionalFeatures": {
    "acceptableApplicationBundleIDs": [
      "us.zoom.xos"
    ]
  },

Addresses: https://github.com/macadmins/nudge/issues/180

@erikng One word: Sweetness!
Works precisely as advertised.
(What kind of a special headache would it be to log when the acceptableApplicationBundleIDs condition is met?)

It does actually
2021-08-18 08:03:18.212022-0500 Nudge[1819:21838336] [user-interface] acceptableApplication (us.zoom.xos) is currently the frontmostApplication

Excellent; I'm not seeing any related entries on my single test machine.
(I am redirecting Nudge's logging, FWIW.)

Those log events are a higher priority so they would only be set if you increased the log level. This is mainly due to wanting to keep the noise ratio down on what the logger writes to disk (and the health of SSD's).


Add docstrings for namespaces and common fns

Sometimes this weekend, I plan on adding docstrings for namespaces and common developer fns in preparation for next week's unsession:

[ ] cmd/command
[ ] behavior
[ ] object/{raise,create,update-in,assoc-in}
[ ] pool/{last-active,*path}
[ ] files/*
[ ] platform/open
[ ] notifos/*

These are just off the top of my head and may think of more while doing this

Done plus ns docstrings


Phantom process dies after first execution

My project contains few methods that uses node-horseman, but after every server restart, the process will die after I executed something, whatever method it is. For example, I have one method that retrieves a list of Alerts I have in Google Alerts:
* getRSSNames() {
  return new Promise((resolve, reject) => {
    horseman
      .userAgent(this.userAgent)
      .open('https://www.google.com/alerts')
      .evaluate(function() {
        var item = []

        jQuery('#manage-alerts-div li').each(function(key, val) {
          item.push({
            dataId: jQuery(val).attr('data-id'),
            name: jQuery(val).find('.query_div').text(),
            url: jQuery(val).find('a').attr('href')
          })
        })

        return item
      }).then(function(data) {
        resolve(data)
      })
      .close()
  })
}

Success, if I've just initiated the local server. Then, rendering the list in a select, choose one and try to delete it:
* deleteRSSFeed() {
  let feedID = this.feedID.replace(/%3A/g, ':')

  return new Promise((resolve, reject) => {
    horseman
      .userAgent(this.userAgent)
      .open('https://google.com/alerts')
      .evaluate(function(selector) {
        return jQuery('[data-id="' + selector + '"]').find('.delete_button').click()
      }, feedID)
      .then(function(data) {
        resolve(data)
      })
      .close()
  })
}

It will cause the error:
Unhandled rejection HeadlessError: Phantom Process died
    at poll_func (/home/gabriel/Sites/co-report/api/node_modules/node-phantom-simple/node-phantom-simple.js:584:10)
    at /home/gabriel/Sites/co-report/api/node_modules/node-phantom-simple/node-phantom-simple.js:52:7
    at ClientRequest.<anonymous> (/home/gabriel/Sites/co-report/api/node_modules/node-phantom-simple/node-phantom-simple.js:501:11)
    at emitOne (events.js:96:13)
    at ClientRequest.emit (events.js:188:7)
    at Socket.socketErrorListener (_http_client.js:308:9)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at emitErrorNT (net.js:1272:8)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

I also have a function that logs in in Google. If I login and I refresh my page with the server running, since I logged in and when refreshing it will retrieve the feed list, it will cause the same error. Please, help me.

Is horseman the same instance in the two functions? Once you call .close(), the corresponding PhantomJS instance goes away. You need to either not call .close() or create a new instance.

I am closing this because there has been no activity for a while, so I will assume what I suggested was correct.


[Display news, Gallery view] Image is not aligned to Content according to mockup in screen resolution 768px.

Environment: macOS High Sierra 10.13, Google Chrome 81.0.4044.129 (64-bit)
Reproducable: always
Build found: commit 07bfeb2
Preconditions:

https://ita-social-projects.github.io/GreenCityClient/#/news is opened.

Steps to reproduce

Change screen resolution on News page in Gallery view to 768 px

Actual result:

Image is not aligned to Content according to mockup in screen resolution 768px

Expected result:

Image is aligned to Content according to mockup in screen resolution 768px

User story: #459

Fixed and verified:
https://github.com/ita-social-projects/GreenCity/issues/793


Add case study in English

The Case Studies are in Chinese language only. I have added the text in English for easy understanding of beginners. Will be making a video tutorial for money bot in English as well next after translated texts are added for all case studies.
Files changed :

docusaurus/docs/case-study/money-bot.mdx
docusaurus/docs/case-study/coaxer-bot.mdx
docusaurus/docs/case-study/assistant-bot.mdx

Let me know your thoughts on this.

Thank you so much for the translations, @Suomi7 !
It is great for us to have the English version of the case study.
Appreciate your efforts in making the tutorials better!


Yeti Integration

Name and Version
charts/osdfir-infrastructure
What is the problem this feature will solve?
Add Yeti integration into OSDFIR Infrastructure for open source threat intel monitoring
FYI @tomchop
What is the feature you are proposing to solve the problem?
Specifically create a standalone Yeti Helm chart then integration it as a dependency that can be enabled through OSDFIR Infrastructure or used standalone.
What alternatives have you considered?
No response

I've hacked together a very basic working yeti chart this weekend on my homelab cluster.
Still needs quite a bit of work but would be happy to contribute it here eventually.

Hi @hur thank you for the contribution!
We also hacked something similar for Yeti recently (apologies issue wasn't updated  in time to reflect that): https://github.com/wajihyassine/osdfir-infrastructure/tree/yeti
We can still take a look at how you approached it to see any major differences. There may also be some follow up work that will come out of the initial chart and if so can let you know about it then.


ci(docker): incorporate docker release enhancements from uv

Summary
This PR updates ruff to match uv updated docker releases approach. It's a combined PR with changes from these PR's

https://github.com/astral-sh/uv/pull/6053
https://github.com/astral-sh/uv/pull/6556
https://github.com/astral-sh/uv/pull/6734

Summary of changes / features

This change would publish an additional tags that includes only major.minor.
For a release with x.y.z, this would publish the tags:

ghcr.io/astral-sh/ruff:latest
ghcr.io/astral-sh/ruff:x.y.z
ghcr.io/astral-sh/ruff:x.y

Parallelizes multi-platform builds using multiple workers (hence the new docker-build / docker-publish jobs), which cuts docker releases time in half.

This PR introduces additional images with the ruff binaries from scratch for both amd64/arm64 and makes the mapping easy to configure by generating the Dockerfile on the fly. This approach focuses on minimizing CI time by taking advantage of dedicating a worker per mapping (20-30s~ per job). For example, on release x.y.z, this will publish the following image tags with format ghcr.io/astral-sh/ruff:{tag} with manifests for both amd64/arm64. This also include x.y tags for each respective additional tag. Note, this version does not include the python based images, unlike uv.

From scratch: latest, x.y.z, x.y (currently being published)
From alpine:3.20: alpine, alpine3.20, x.y.z-alpine, x.y.z-alpine3.20
From debian:bookworm-slim: debian-slim, bookworm-slim, x.y.z-debian-slim, x.y.z-bookworm-slim
From buildpack-deps:bookworm: debian, bookworm, x.y.z-debian, x.y.z-bookworm

This PR also fixes org.opencontainers.image.version for all tags (including the one from scratch) to contain the right release version instead of branch name main (current behavior).
> docker inspect ghcr.io/astral-sh/ruff:0.6.4 | jq -r '.[0].Config.Labels'
{
  ...
  "org.opencontainers.image.version": "main"
}

Test Plan
Approach mimics uv with almost no changes so risk is low but I still tested the fill workflow.

I have a working CI release pipeline on my fork
The resulting images were published to https://github.com/samypr100/ruff/pkgs/container/ruff

CC @zanieb

We haven't restructured the Ruff documentation to have integration guides like uv, so... eventually but not yet.


ODIS: Base quota off fees paid (investigation)

See Notion doc for more details.
Investigate potential designs and trade-offs. How do signers reliably track fees paid over time? Should we estimate the cost in USD?

Closing in favor of https://www.notion.so/clabsco/ODIS-Rate-Limit-v2-2d3e7bcf01cf4fd19f00b1542ae862b9


scipy.special.kl_div not available in 0.14.1

scipy.special.kl_div not available in 0.14.1, even though documentation states it's new from 0.14.0

That looks like a mistake in the docstring.  The release notes say it was added in 0.15: http://docs.scipy.org/doc/scipy/reference/release.0.15.0.html#scipy-special-improvements

hm right, the same should also be true for entr and rel_entr.


The patcher got patched in the latest release

Dear FurryMLG,
There is a contingency plan set just for this issue. Look for the "README.md" link on the main page here. Super simple instructions

I'm using the patch nabber, and I followed all the instructions. I ran the script, nothing

Just delete roblox reinstall it then install this custom launcher

I did.
It does nothing.

The patcher got patched in the latest release #60

Ah yes, I hate when roblox patches the ability to use your own computer's file system.


Install latest git before checkout

Installs the latest git version before checking out code to address CVE-2022-41903 and CVE-2022-41953. The extra steps take less than a minute, so I don't think the hit to the build time will be too big. I considered pushing a custom image, but decided against it, since the build time hit isn't too big and this approach is a bit more readable IMO.
Testing
CI passes

LGTM


Editor sidebar: Implement "Who's working on this?" on new API

This is a port of
https://github.com/orbiting/haku-frontend/blob/master/lib/github/components/UncommittedChanges/index.js
Works as before, but note that the one-time call of subscribeToNewChanges() has moved to componentWillReceiveProps for reasons mentioned there. Open to better suggestions, but that's currently the only way I can make things work.

Thanks for the comments, done as suggested.


[Question] JS - Enum/struct as parameter to function

In the Browser (not Node.js) I'm trying to invoke a contract function but one of parameters is a Enum in Rust.
How do I build and pass an instance of MyEnum to the function?
I'm using this to import the JS SDK:
<script src="https://cdnjs.cloudflare.com/ajax/libs/soroban-client/0.8.0/soroban-client.js"></script>

This is the the code I'm trying to fix:
let transaction = new SorobanClient.TransactionBuilder(account, {
  fee: config.fee,
  networkPassphrase: config.networkPassphrase,
})
  .addOperation(
    contract.call(
      "myfunc",
      SorobanClient.xdr.ScVal.scvU32(param1),
      SorobanClient.xdr.ScVal.scvSymbol(param2),
      // <- how to pass an MyEnum instance here?
    )
  )
  .setTimeout(30)
  .build();

In the above code, the function myfunc receives two parameters, the first one is of type u32, and second one is of type Symbol.
But in my contract, there's a third parameter of type MyEnum, which is an Enum:
#[derive(Clone, PartialEq, Debug)]
#[contracttype]
pub enum MyEnum {
    Identifier(Symbol),
    Count(u32),
}

...

fn myfunc(env: Env, param1: u32, param2: Symbol, param3: MyEnum) -> Option<u32>;

Also, if param3 was struct instead of Enum, how would I build and pass the struct to the function?

By looking at the Python Soroban SDK Enum implementation, it seems that enums can be converted into vectors:
def to_xdr_sc_val(self) -> stellar_xdr.SCVal:
    vec: List[stellar_xdr.SCVal] = [
        stellar_xdr.SCVal(
            stellar_xdr.SCValType.SCV_SYMBOL,
            sym=stellar_xdr.SCSymbol(self.key.encode()),
        ),
    ]
    if self.value is not None:
        vec.append(self.value)
    return stellar_xdr.SCVal.from_scv_vec(stellar_xdr.SCVec(vec))

So I was able to get it working by using a vector to represent the enum:
SorobanClient.xdr.ScVal.scvVec([
  SorobanClient.xdr.ScVal.scvSymbol(
    ethereumjs.Buffer.Buffer.from("Identifier", "utf-8")
  ),
  SorobanClient.xdr.ScVal.scvSymbol("IDENT1"),
])

Updated code:
SorobanClient.TransactionBuilder(account, {
  fee: config.fee,
  networkPassphrase: config.networkPassphrase,
})
  .addOperation(
    contract.call(
      "myfunc",
      SorobanClient.xdr.ScVal.scvU32(param1),
      SorobanClient.xdr.ScVal.scvSymbol(param2),
      SorobanClient.xdr.ScVal.scvVec([
        SorobanClient.xdr.ScVal.scvSymbol(
          ethereumjs.Buffer.Buffer.from("Identifier", "utf-8")
        ),
        SorobanClient.xdr.ScVal.scvSymbol("IDENT1"),
      ])
    )
  )
  .setTimeout(30)
  .build();

It would be nice to have built-in support for enums in JS SDK, similar to the Python SDK.


feat(metamodel): align with output from concerto codegen

A minor change to align the base concerto types with the output of the latest C# codegen from concerto-tools
Author Checklist

[x] Ensure you provide a DCO sign-off for your commits using the --signoff option of git commit.
[x] Vital features and changes captured in unit and/or integration tests
[x] Commits messages follow AP format
[x] Extend the documentation, if necessary
[x] Merging to master from fork:branchname

@rkotangoor @bergeron


Displays blurry when scaled to non-integer factors, displays clearly when scaled to integer factors.

It's a really great plasmoid!That's a really great idea, but I'm running into this annoying problem.
200% scale factor:

150% scale factor:

When you talk about scale factor, do you mean the Global scale in System Settings > Display Configuration?
Can you confirm if you have the same issue using the Plasma Web Browser widget and going to https://duckduckgo.com/chat?

The Web Browser widget have some scaling configuration that I can use if it fixes your problem.

Thanks for your reply.
Yes,I mean  the Global scale in System Settings > Display Configuration.
The Plasma Web Browser widget has the same problem.
My opera system is archlinux based system.
This is my other running environment:

When you talk about scale factor, do you mean the Global scale in System Settings > Display Configuration? Can you confirm if you have the same issue using the Plasma Web Browser widget and going to https://duckduckgo.com/chat?

The Web Browser widget have some scaling configuration that I can use if it fixes your problem.

If the Web Browser widget has the same problem, it will be difficult to know what is causing this, but I'll have a look.
Changing the scaling options in the configuration of the Web Browser didn't change anything?

If the Web Browser widget has the same problem, it will be difficult to know what is causing this, but I'll have a look. Changing the scaling options in the configuration of the Web Browser didn't change anything?

No,Changing the scaling options  didn't solve the problem.

i'm facing to th esame issue:
2 screen withe globale system resolution : 1920 x 1080
laptop hdpi 125% =>

This is no longer an issue with Qt 6.8 and KDE Frameworks 6.7

This is no longer an issue with Qt 6.8 and KDE Frameworks 6.7

I am glad to know.
In this case, I'll close the issue.


Update common initialisms list

Adds ACL, SQL and XMPP to match upstream golint list.

LGTM, thanks very much!


In Plain Sight BSL videos: tagging video play button

We want to know if the following change has improved the user experience
User experience of exhibition is enhanced by BSL videos.
Definition of success is
Users view the videos.
We'll know if we're succeeding if we measure the following metric and this happens
By tagging each BSL video for both QR and non-QR users, "event" data for the different stops can be collected which shows users viewing videos beyond the first stop.
Definition of failure is
Users don't view the videos.
We'll know if we're failing if we measure the following metric and this happens
There are few events beyond the first stop.

Video tagging will also allow analysis of traffic source for those users who haven't used the QR code to access the videos. It's possible there is a link on social media that is directing users to our site.

This work is now covered by #9038


Trigger Live / Camera Cycling Back to Default Not Functional

Checklist:

[X ] I updated to the latest version available
[X ] I cleared the cache of my browser

Release with the issue: - 6.0.0-beta.2
Last working release (if known): 5.2.0?
Browser and Operating System: - Edge/Chrome/HA App.
Description of problem:
When using triggers to select camera based on occupancy/motion, the live camera does switch to the proper camera, but does not reset to default when occupancy/motion clears.  I would expect it to swap back to primary camera when untriggered, or at least after the untrigger_seconds time passes.
Frigate card diagnostic information

card_version: dev+7fd6bc6 (Sat, 21 Sep 2024 23:08:09 GMT)
browser: >-
  Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like
  Gecko) Chrome/<IP_ADDRESS> Safari/537.36 Edg/<IP_ADDRESS>
date: 2024-09-22T17:59:50.719Z
frigate_versions:
  33b94b614d9a45ff24f7de852bbbb308: 5.4.0/0.14.1-f4f3cfa
lang: en
timezone: America/Los_Angeles
git:
  hash: 7fd6bc6
  build_date: Sat, 21 Sep 2024 23:08:09 GMT
  commit_date: Sat, 21 Sep 2024 15:39:18 -0700
ha_version: 2024.9.2
config:
  type: custom:frigate-card
  cameras:
    - camera_entity: camera.front_walkway
    - camera_entity: camera.driveway
    - camera_entity: camera.front_door
    - camera_entity: camera.living_room_slider
    - camera_entity: camera.bedroom_slider
    - camera_entity: camera.side_yard
    - camera_entity: camera.pergola
      triggers:
        entities:
          - binary_sensor.0x3425b4fffe64e3f0_occupancy
  cameras_global:
    live_provider: go2rtc
    go2rtc:
      modes:
        - mse
    dependencies:
      all_cameras: true
  view:
    triggers:
      actions:
        trigger: live
        untrigger: default
        interaction_mode: all
      filter_selected_camera: false
      untrigger_seconds: 10
    default_reset:
      interaction_mode: all
    default: live
    camera_select: live
  menu:
    buttons:
      substreams:
        icon: mdi:high-definition
        priority: 100
      frigate:
        enabled: false
      cameras:
        enabled: false
      live:
        enabled: false
      clips:
        enabled: false
      snapshots:
        enabled: false
      recordings:
        enabled: false
      download:
        enabled: false
      camera_ui:
        enabled: false
      expand:
        enabled: false
      timeline:
        enabled: false
      media_player:
        enabled: false
  live:
    transition_effect: none
    controls:
      thumbnails:
        mode: below
        show_favorite_control: false
        show_timeline_control: false
        show_download_control: false
    preload: true
    auto_play:
      - selected
      - visible
  visibility:
    - condition: numeric_state
      entity: sensor.sun_solar_elevation
      above: -4
  dimensions:
    aspect_ratio_mode: static
    aspect_ratio: '16:11'
  status_bar:
    style: none

Looks like adding:
default_cycle_camera: true
To the view section fixed the problem.   May want to update Documentation to reflect this?  https://card.camera/#/examples?id=trigger-live
Thanks!!

default_cycle_camera should not be necessary in this case, so I think you're correct this is a bug.

Fix will be in the next build.


HTML, CSV and JSON views should support ?_col=&_col=

To support whitelisting columns to display.

This is already covered by #292


[FAB-17128] Make channel name an env var

In channel update, change command to
make the channel name an environment
variable, rather than hard coded
Change-Id: Ifc5c3e7907672fce798bf44022d3184415e85e0a
Signed-off-by: joe-alewine<EMAIL_ADDRESS>Type of change

Documentation update

Description
Commands in this tutorial should make the channel name an environment variable, rather than hard coded.
Additional details
It's only two lines --- super easy.
Related issues
https://jira.hyperledger.org/browse/FAB-17128?page=com.atlassian.jira.plugin.system.issuetabpanels%3Aall-tabpanel

Same change as this one, only against 1.4: https://github.com/hyperledger/fabric/pull/301

@denyeart

/azp run

/ci-run

/azp run

@btl5037 Brett - is there a something we can do to this PR now to make it eligible to merge?


[BUG] Fix Language buttons from footer

🙁 Actual behavior
these are redundant and non functional right now giving error on clicking
🙂 Expected behavior
better to remove untill we add machine translated strings
🔢 Steps to Reproduce the Problem
No response

hello, i can help  you with this issue if it still open

send the PR for review,
let me know if I need to  update anything.
Thanks


unpin nbconvert

A try to fix #247.
The version 6.10.0 of nbconvert is released already, maybe the issue is fixed.
Closes #247

Codecov Report

Merging #269 (f7346d1) into master (7e8c469) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #269   +/-   ##
=======================================
  Coverage   86.39%   86.39%
=======================================
  Files           5        5
  Lines        1029     1029
=======================================
  Hits          889      889
  Misses        140      140

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 7e8c469...f7346d1. Read the comment docs.

It seems to work!

That's great. LGTM.


Fix typos in french language

Types of changes

[X] Translation
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[X] I have read the CONTRIBUTING document.

All Submissions:

[X] Have you followed the guidelines in our Contributing document?
[X] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Hopefully the last update 'till you add some new text.


Added registration errors and tutorial teleporter error

Added registration errors, tutorial teleporter error, + proofreading and fix of one typo.

Currently in conflict with #84. Conflict is being resolved...