request a function sample which is greatly needed

For months, I've seen this repository with amazing functions, and I would like to request your Team to include a function that checks the position of the image (EXIF profile) before it is uploaded to the storage bucket, this is a very specific issue with iPhones and other iOS devices when taking a picture in portrait mode, the thumbnails generated with the thumbnails function, would obviously export the thumbnail in the wrong direction (landscape). This however, does not happen with an Android mobile phone.
Best regards.

Hi @inglesuniversal, we already have a sample that checks EXIF data: https://github.com/firebase/functions-samples/tree/master/exif-images
Is there specific behavior missing from it that you'd like to see added?

Hello @jhuleatt as a matter of fact I would like to request a feature that I haven't seen available. First it would be to auto-orient (using imagemagick) any photo taken by an iOS device and do so prior to storing the data on GCP (default project bucket), instead of doing the process afterwards, and second, while creating the thumbnails with the available plugin function, it would be really awesome to be able to extract from the EXIF data, the date the photo was taken and the location (City, State, Country) so it can be store on firebase firestore database to be used thereafter on the client app (thus avoiding the default naming from the iOS device (e.g. afas989-41234213.xadsfasdf.jpeg).
Best regards


bad rendering if I lower the number of frames

Hi, when I lower the number of frames I get this result :

cogvideox_I2V_example_01
RTX3090 24Gb

Yes, the I2V model only supports 49 frames, if you want to do shorter you can use the CogVideoX-Fun -versions.

thanks for the answer, unfortunately the fun is not as good, I lower to 10 steps and I wait ^^


Mysterious 404 on reload

Bug report
Describe the bug
After starting my server and loading an initial URL, everything appears to work fine until I either navigate to any other URL and then hit the reload button, or just paste a different URL from the app into the address bar and go.  At that point, I get a 404 and no other error information anywhere.  I can reload that initial URL just fine, and I can navigate via Links to any other URL in my app without seeing an issues.  However, reloading or manually visiting any page that was not the first page the server loaded after being started results in a 404.
This bug appears to have come into existence between 6.0.2 and 6.0.3-canary.0 and is still present in 6.1.1.  If I revert back to 6.0.2, this issue disappears.
When running in 6.0.2, I am not seeing any component errors.  Looking through the commits between 6.0.2 and 6.0.3-canary.0, I don't see much that could have changed to cause this behavior.  It's baffling.  It might be related to #4458, but none of the commits leading up to 6.0.3-canary.0 look like they'd be doing something that would cause an error in any of my components.  Further, I'm not getting any error information logged anywhere.
The worst part is, I can't reproduce this in a small app.  It's only happening in a big, complex app that I can't share in any useful manner.  It's entirely possible that I'm doing something I shouldn't be doing, and that it's my own code to blame.  I was really hoping to spot something in the commits between 6.0.2 and 6.0.3-canary.0 that might point me in the right direction but I've come up empty after a good 8 hours of poking at this.  The fact that I'm not getting any errors anywhere, just a 404, is a big problem in trying to track down what's going on.  If that 404 is caused by #4458, is there a known workaround for that issue?  That might help me uncover some underlying component error that's currently being buried.
To Reproduce
Unable to reproduce outside of the primary app I'm working on right now.
System information

OS: macOS
Version of Next.js: 6.0.3-canary.0 - 6.1.1

Additional context

I use a custom server.
I have a custom _app and _document.
I wrap _app with several higher order components (but removing them doesn't resolve the problem)
The getInitialProps of all the HOCs wrapped around my _app are running without error and their expected output props are present in the render method of _app.
Logging the custom route handling from my server, I can see the requests coming in, and I can see the correct routing happening.  This is definitely not a case of a missing as on a Link, and not caused by a failure to route a pretty URL to a Next URL.
Sometimes, the 404 page will attempt to reload on its own after a minute or so and I'll get an error in one of my components that looks like the component is being called with no properties being passed.  This error is definitely outside of my code, and probably just a side effect of whatever is going wrong further up the rendering path.
It doesn't seem like the change in hot-loader made for 6.0.3-canary.0 has anything to do with this, but I can't entirely rule it out as a possibility.
My entire app works fine, no errors and no reload issues, on 6.0.2.

It's so bizarre for this to pop up between two releases that have only one tiny and seemingly unrelated code difference between them, but maybe I'm overlooking something.

I'm not sure what to do with this without a reproduction.

@timneutkens I realize not having a repro makes this challenging, but let me reiterate that the entire app works completely fine in 6.0.2, and then exhibits this problem from 6.0.3-canary.0 onward.  I'm trying to find any hint at what happened between those two versions that would take down a previously working app.
If my routes were not configured, then my app wouldn't work in 6.0.2 and prior versions.

Solved
I unknowingly caused the same issue raised in #2584.  I needed Webpack's ModuleConcatenationPlugin and, short of having gone into github's search, had no way of knowing the plugin was known to cause issues in dev.  It also appears to cause much more severe issues if included twice in the plugins list (which occurs in a production build if it has been manually added in next.config.js)
As a very low-priority feature request, it would be helpful to have next scan the webpack config for known issues specific to next and provide warnings.


make _matches_coupling_map check only multi qubit ops

Summary
Fixes #1015
Details and comments

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Support private endpoint related command for Azure Data Factory

Is your feature request related to a problem? Please describe.
This is the swagger commit: https://github.com/Azure/azure-rest-api-specs/commit/08c507864c686ee9cdbbeb4a3d12cdccd591afc8#diff-70731da8ee74a2c2d94d6cce21b715ca2e36ce87ebb2dd732a459a28ba5b28cb
Describe the solution you'd like

Describe alternatives you've considered

Additional context

network


SLP

single layer perceptrons

#2 with abalone dataset

#3 with pulsar dataset

#4 with steel dataset


Mindmap 3D R4

@opentecture/the-brains

Ryan and Michal
I note you both like SVG files. So I'm thinking that whatever we have as a 3D mindmap should be able to import SVG files. I'm not sure where this is going, but this is just to let you know that we can import SVG files of significant complexity. And we can have fun with them and attach various behaviors to them in a 3D world and so on.
The code is very messy. I did almost no cleanup. In any case, who knows what will happen in the next release so maybe it does not matter. The big change is that items can move anywhere in 3D space. Once moving the items issues are fixed we should start to have some fun.
Mindmap 3D R4

Very different approach from R3
Items can be anywhere in 3D space

Item positions are editable (albeit with a number of deficiencies )

Cubes have been replaced with sample SVG files

Issue: each SVG is loaded from file each time it's used
Animals to be replaced with logos of other similar symbology

Switch over to trackball controller allows more flexible 3D rotations

Wishlist

Add new items and more

@theo-armour - also, I do like the idea of .svg.
I noticed a comment about how .svg are loading slowly. Therefore, they are not necessary, but a nice to have. Would loading non-svg files improve performance at all? How about non-3d text as well?

@theo-armour  - the ability to load an .svg exists in /build now. Trackball controls are also included. Thanks!
How we wire up the .svg into a Feature, like a Node Style, can be sketched out in an Issue.


The download button appears to be clickable but the actual download always fail

My network is connected via ethernet and I tried to execute python NeteaseMusicProxy.py before starting the NeteaseMusic. The NeteaseMusic is 1.5.9 and I'm using python 2.7.
The song appears to be downloadable as the download button is solid black instead of greyish. However, the download will fail immediately.
Is this happening for all songs or few? Are they playable? if only few songs, could you name one so I can test on?

In fact, this tool has never been tested with music downloading. Seems many songs cannot be downloaded due to url errors. No plan for this feature now, don't wanna be involved in (more severe) copyright issues.
Some other similar tools replace the download url somehow. More than welcome to any contribution!
In short, sorry! this is going to be marked as "won't fix"

I have tried again today but it appears the probelm has magically fixed itself. However, I agree that it is better to not support the download function.


issue where connection is already open

Hi @verdie-g
Could you have a look and see whether this causes any problems on your side.
On my side I had exceptions thrown when the stored proc lib is used where a connection was already used before invoking the sp. Crashing with following error :
System.InvalidOperationException: The connection was not closed. The connection's current state is open.
   at System.Data.ProviderBase.DbConnectionInternal.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry)
   at System.Data.SqlClient.SqlConnection.Open()
   at StoredProcedureEFCore.StoredProcBuilder.OpenConnection() in C:\Git\gravitymain\StoredProcedureEFCore\StoredProcBuilder.cs:line 214
   at StoredProcedureEFCore.StoredProcBuilder.Exec(Action`1 action) in C:\Git\gravitymain\StoredProcedureEFCore\StoredProcBuilder.cs:line 87

Thanks a lot for this lib. It may be because it is being used in a project mixed with EF.

Hi,
Thanks for your PR. Someone once told me to make these checks, but I wasn't listening. Do you have any steps to reproduce? The connection is supposed to be closed after each stored procedures.


Improve field validation and increase CMDT tests

Changes
Closing some ambiguity in how field validation is handled.
Bypassing some fflib "help" that causes relationship names to resolve to fields.
Adding in more tests focused on using CMDTs as well as exercising more validation logic.
Issues Closed
#749

After Merge QA:

First Header
Second Header

1. Change Relationship field - Before save

2. Change relationship field to invalid value

3. Change relationship field to value that does not exist

4. Change relationship field to value that would previously be valid but break on trigger execution.

5. Change relationship field back to valid value

6. Change field to aggregate to value that would previously work but break on trigger exectution

7. Test realtime trigger works on updated lookup fields - before

8. Test realtime trigger works on updated lookup fields - after

Before Merge QA:

First Header
Second Header

1. Save relationship value to invalid lookup field name (FFlib allows this)

2. Try to run rollup in realtime on record edit (fails)

3. Save relationship value to invalid lookup field name with __r (fflib allows this)

4. Try to run rollup in realtime on record edit (fails)


DBZ-5440 Fix typo in sqlserver document.

Link https://issues.redhat.com/browse/DBZ-5440 .

Applied to main (=2.0) and branch 1.9.  Thanks @GOODBOY008.


add AVL Tree

Codecov Report

Merging #15 (ae36f76) into master (21a2a0d) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##            master       #15    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files            6         7     +1
  Lines          367       551   +184
  Branches        98       154    +56
==========================================
+ Hits           367       551   +184

Impacted Files
Coverage Δ

src/AVLTree.ts
100.00% <100.00%> (ø)

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


[help needed] using gremlin server for data output in kubehound

after configuring gremlin server which is running on different host in kubehound I am getting below errors:
Error occurred during operation gremlinServerWSProtocol.readLoop(): 'E0703: expected string Key for map, got type='0x%!x(MISSING)''
2024/03/01 11:05:27 Read loop error 'E0703: expected string Key for map, got type='0x%!x(MISSING)'', closing read loop.
2024/03/01 11:05:27 Connection error callback invoked, closing protocol.
2024/03/01 11:05:27 Error occurred during operation gremlinServerWSProtocol.readLoop(): 'E0703: expected string Key for map, got type='0x%!x(MISSING)''
2024/03/01 11:05:27 Read loop error 'E0703: expected string Key for map, got type='0x%!x(MISSING)'', closing read loop.
2024/03/01 11:05:27 Connection error callback invoked, closing protocol.
can anyone help me in configuring kubehound and gremlin properly to work together. its bit urgent. Thanks in advance!

I am not doing any src changes, i have used package directly, hence some config file changes help expected

Can I check are you using our custom kubegraph image for the gremlin server or something else? We make extensive tweaks to janusgraph to support KubeHound so a standard gremlin server will not work.
I would recommend following the instructions to start the backend on your host, then run kubehound with a bespoke config that points to the remote server for janusgraph/mongo URLs

Thanks for the reply, i am not using kubegraph, i have downloaded using janusgraph package separately and kept it in /opt/janugraph
I would recommend following the instructions to start the backend on your host, then run kubehound with a bespoke config that points to the remote server for janusgraph/mongo URLs -> i have done this.
Now i am trying with kubehound's notebook, but i would like to try the approach with kbegraph

Can I check are you using our custom kubegraph image for the gremlin server or something else? We make extensive tweaks to janusgraph to support KubeHound so a standard gremlin server will not work.
I would recommend following the instructions to start the backend on your host, then run kubehound with a bespoke config that points to the remote server for janusgraph/mongo URLs

Thanks for the reply, i am not using kubegraph, i have downloaded using janusgraph package separately and kept it in /opt/janugraph
I would recommend following the instructions to start the backend on your host, then run kubehound with a bespoke config that points to the remote server for janusgraph/mongo URLs -> i have done this.
Now i am trying with kubehound's notebook, but i would like to try the approach with kbegraph, can you please help in understanding how to use custom kubegraph image for the gremlin server

the kubegraph image is running as part of the backend stack in the docker compose. If you dont want to use the notebook you can connect directly to the gremlin server on localhost:8182. The compose files that define all of this are here:
https://github.com/DataDog/KubeHound/tree/main/deployments/kubehound


Clarify UK-english in coding conventions

Discussed with @tractorcow - we're mostly using NZ spelling already, e.g. ViewableData->customise() and CLI::supports_colour(). It's not entirely consistent (e.g. ShortcodeParser::$error_behavior is US spelling)
https://docs.silverstripe.org/en/4/contributing/documentation already contains this:

Use UK English and not US English. SilverStripe is proudly a New Zealand open source project we use the UK spelling and forms of English. The most common of these differences are -ize vs -ise, or -or vs our (eg color vs colour).

I would add a caveat "except when necessitated by third party or platform conventions. E.g using color for css styles."

Done. I've also changed to "UK-English" since that was already contained in the documentation guidelines elsewhere. Shouldn't make much difference in practice, and UK spelling will cause less uncertainty.

This gets my vote but would be good to get some yes/no votes from others.
The main alternative would be US English. This is probably more standard in other tech projects but given our stronger uptake in Europe / Oceania I think UK English is a good standard.

I'm basically documenting the status quo. More occurrences:

i18n::pluralise()
SSTemplateParser::finalise()
HTMLEditorSanitiser

@silverstripe/core-team any objections to blocking in UK english as our convention?

I have a biased opinion... UK English makes sense especially if it already has the majority.

I think that using UK English is the best choice.

Is UK English more natural for Europeans than US English?

Is UK English more natural for Europeans than US English?

Probably not? But what's the point in documenting something that's wrong and where's the benefit in changing all the spelling now? Efforts could be better spent else-where.
I'm :+1: for keeping the status quo


Flutter Screen Language issue

Hello,
My Android Studio Flutter is Chenese after update. Please help to fix it to English.
Thanks

Hi @faridalizade,
This issue doesn't seem to describe a bug or a feature request. Please see https://flutter.dev/community for resources and places where you can ask questions like this.
You may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Hello @danagbemava-nc,
REFERENCE FROM GOOGLE!
https://issuetracker.google.com/issues/267486722
Changed
status:  New  →  Infeasible
<EMAIL_ADDRESS>added comment #2:
Thank you for the feedback. For issues related to Flutter in Android Studio, please file an issue with the Flutter team at https://github.com/flutter/flutter-intellij#filing-issues.

Reference Info: 267486722 Android Studio Flutter is Chenese after update
component:  Android Public Tracker > App Development > Android Studio
status:  Infeasible
reporter<EMAIL_ADDRESS>cc<EMAIL_ADDRESS>type:  Bug
priority:  P3
severity:  S3
retention:  Component default

The plugin for intellij lives in a different repo, not the main flutter repo
https://github.com/flutter/flutter-intellij/issues?q=is:issue+is:open+sort:updated-desc


[Feature] Support Changing the bucketing mode of the table from Hash Distribution to Random Distribution

Proposed changes
Issue Number: close #8258
Problem Summary:
Describe the overview of changes.
Checklist(Required)

Does it affect the original behavior: (Yes/No/I Don't know)
Has unit tests been added: (Yes/No/No Need)
Has document been added or modified: (Yes)
Does it need to update dependencies: (No)
Are there any changes that cannot be rolled back: (No)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

LGTM


Running updated version

Do you need Git/Github clients to run the new program from github? I can't find a .exe in the downloaded folder.

You downloaded the source code.  You'll need to compile it.

That's frustrating, considering you used to be able to download the already-compiled app.

What's more frustrating is that I don't see any instructions for compiling.

Okay, building it with Visual Studio was fairly straightforward.  Here's a link to the build I compiled.  With a quick test on a 1.3 world it seems to work: https://mega.nz/#!2l0h1DpA!grecpjA224zF0SHbzUpzssVHGj9tYLTIOmEBFe_JhXQ

We are working on getting the option to download the compiled exe. Sorry for the inconvenience.
Sent from my Windows Phone

From: Zauber<EMAIL_ADDRESS>Sent: 7/11/2015 3:14 PM
To<EMAIL_ADDRESS>Subject: Re: [MoreTerra] Running updated version (#3)
Okay, building it with Visual Studio was fairly straightforward.  Here's a link to the build I compiled.  With a quick test on a 1.3 world it seems to work: https://mega.nz/#!2l0h1DpA!grecpjA224zF0SHbzUpzssVHGj9tYLTIOmEBFe_JhXQ

Reply to this email directly or view it on GitHub:
https://github.com/mike-mo/MoreTerra/issues/3#issuecomment-120653111

Works great, thanks! I couldn't bother figuring out how to compile it...

It was fairly easy, actually.  I went into the WorldView folder, opened the MoreTerra.sln file in Visual Studio 2013 (community edition, which is free), and then used the Build Solution option from the Build menu.  The results were placed in the WorldView/bin/debug folder

I now see the link for downloading binaries under Code > Releases.
Here is an example for MoraTerra 1.13 binaries.
Maybe this issue can be closed now.


haskell: doJailbreak pulls in GHC 7.8.x

I have a project here where I'm using 7.10 Haskell package set but I have to manually jailbreak the package. This causes Cabal-1.20.x being pulled in which causes GHC 7.8.4 to be pulled in, at least if I'm reading the dependency graph correctly.
It'd be great if it could just use 7.10 instead of pulling a second compiler just to perform a jailbreak.
cc @peti

:+1: to using 7.10

Using the 7.8.x-built version of jailbreak-cabal in the 7.10.x package set was a workaround for https://github.com/peti/jailbreak-cabal/issues/9. I believe the issues we've had have been fixed with the latest Cabal release, so maybe we can get rid of that dependency now.

ed739e3 improves the situation somewhat by removing the run-time dependency on ghc. A real fix will come a little later.

The "real fix" is not possible right now. The only version of Cabal that doesn't break Cabal files during pretty-printing is 1.20.x, but that version cannot be built with GHC 7.10.2 because it requires certain core libraries that this compiler doesn't have (deepseq ==1.3.*, filepath >=1 && <1.4, time >=1.1 && <1.5). We have no choice but to use a binary compiled with GHC 7.8.4 at the moment.

is there an upstream Cabal ticket?


Add the --no-edit option for ammending a commit

Hi,
what do you think about changing

to
git commit --amend --signoff --no-edit

to prevent a new editor window poping up?

I think it's a very good idea! Would you like to send a pull request?

Sure, will do!

Sure, will do!


Fix authCopilot to work without copilotApiKey present

The purpose of auth is to obtain the key so it should not be checking for said key's presence.

Fixed by #29


[FEATURE REQ] AzureEventSourceListener should provide DisableAllEventSources to unsubscribe all EventSource

**Library or service name.**
What library or service is this request related to?
Azure.Core
Is your feature request related to a problem? Please describe.
What feature would you like to get added? What problem is it solving?
AzureEventSourceListener enables some EventSources internally but does not expose these subscribed EventSources instances, so I have no way to pass in EventSource instance if want to disable all EventSources by calling DisableEventSources(EventSource). Expect provide one method DisableAllEventSources, otherwise I have to rewrite my own EventListener.

AzureEventSourceListener is disposable, disposing it would unsubscribe from all the listeners.

I thought Dispose(), but I have concern whether it would cause ObjectDisposedException.


Demo server CCR1072 not reporting online

Login information in notes of the demo server.

This is a host issue, not a script issue.

the host is not using the latest script

Also, the host notes have no login information:


iOS Deployment Target 5.0   ERROR！How Can I Fix it?

@property (nonatomic, strong) dispatch_queue_t          reachabilitySerialQueue;
property with 'retain (or strong)' attribute must be of object type
How Can I Fix it?

The simplest thing would be not to compile for iOS5 - its not supported any more. If you are using HEAD then the minimum spec is now iOS6 try one of the older tags or change the strong to assign but you will have to retain the dispatch queue yourself


[Bug]: Ошибка при запуске the long dark

All of the following criteria must be met

[X] All Requirements must be installed.
[X] Full Latest.log file included. If no file exists then leave this unchecked and state so.

All of the following are optional to answer

[X] Tried reinstalling the Game.
[X] Tried reinstalling MelonLoader.
[X] Tried restarting PC.
[ ] Was able to see the Start Screen.

Describe the issue.
Доброго времени суток. Играл в игру the long dark с  модами. Недавно вышла новая сборка. И игра перестала запускаться с модами. Если стираю Melonloader всё работает.
[10:29:24.129] ------------------------------
[10:29:24.129] MelonLoader v0.5.5 Open-Beta
[10:29:24.132] OS: Windows 10
[10:29:24.132] Hash Code:<PHONE_NUMBER>8555350515452101521025297995653101559949575755515399509950
[10:29:24.133] ------------------------------
[10:29:24.134] Game Type: Il2Cpp
[10:29:24.134] Game Arch: x64
[10:29:24.134] ------------------------------
[10:29:24.135] Core::BasePath = B:\Program Files (x86)\Steam\steamapps\common\TheLongDark
[10:29:24.135] Game::BasePath = B:\Program Files (x86)\Steam\steamapps\common\TheLongDark
[10:29:24.136] Game::DataPath = B:\Program Files (x86)\Steam\steamapps\common\TheLongDark\tld_Data
[10:29:24.137] Game::ApplicationPath = B:\Program Files (x86)\Steam\steamapps\common\TheLongDark\tld.exe
[10:29:24.645] ------------------------------
[10:29:24.646] Game Name: TheLongDark
[10:29:24.646] Game Developer: Hinterland
[10:29:24.651] Unity Version: 2021.3.6f1
[10:29:24.652] Game Version: 2.04
[10:29:24.652] ------------------------------
[10:29:25.099] Preferences Loaded!
[10:29:25.106] [Il2CppUnityTls] Patching mono_unity_get_unitytls_interface...
[10:29:25.107] [Il2CppUnityTls] Patching il2cpp_unity_install_unitytls_interface...
[10:29:25.462] [Il2CppUnityTls] Calling Il2CppInstallUnityTlsInterface...
[10:29:25.491] Loading Plugins from 'B:\Program Files (x86)\Steam\steamapps\common\TheLongDark\Plugins'...
[10:29:25.492] --------------------------------------------------------------------------------------------
[10:29:25.500] Melon Assembly loaded: '.\Plugins\AutoUpdatingPlugin.dll'
[10:29:25.501] SHA256 Hash: 'f9b7149de2361dc0b515f01563c5212b2343ebdca11d03924957b2ecad9c589b'
[10:29:25.567] ------------------------------
[10:29:25.567] AutoUpdatingPlugin v1.2.0
[10:29:25.569] by ds5678
[10:29:25.573] Assembly: AutoUpdatingPlugin.dll
[10:29:25.574] ------------------------------
[10:29:25.575] --------------------------------------------------------------------------------------------
[10:29:25.576] 1 Plugin loaded.
[10:29:26.083] [AutoUpdatingPlugin] Fetching updater version data...
[10:29:26.101] [AutoUpdatingPlugin] Attempting to get version information from the repository...
[10:29:26.431] [AutoUpdatingPlugin] [ERROR] Failed to update mods:
System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) [0x00037] in :0
at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in :0
at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in :0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in :0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in :0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in :0
at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in :0
at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in :0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in :0
at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in :0
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadDataInternal (System.Uri address, System.Net.WebRequest& request) [0x00072] in :0
at System.Net.WebClient.DownloadString (System.Uri address) [0x00020] in :0
at System.Net.WebClient.DownloadString (System.String address) [0x00016] in :0
at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadString(string)
at AutoUpdatingPlugin.SelfUpdater.GetVersionJsonText () [0x0002b] in :0
at AutoUpdatingPlugin.SelfUpdater.CheckVersion () [0x0000a] in :0
at AutoUpdatingPlugin.Implementation.OnPreInitialization () [0x0000a] in :0
[10:29:27.239] [MelonStartScreen] Initializing...
[10:29:27.281] [MelonStartScreen] Using Start Screen Theme: "Default"
[10:29:28.786] Loading Il2CppAssemblyGenerator...
[10:29:28.804] [Il2CppAssemblyGenerator] Contacting RemoteAPI...
[10:29:29.207] [Il2CppAssemblyGenerator] RemoteAPI.DumperVersion = null
[10:29:29.208] [Il2CppAssemblyGenerator] RemoteAPI.UnhollowerVersion = null
[10:29:29.209] [Il2CppAssemblyGenerator] RemoteAPI.ObfuscationRegex = null
[10:29:29.211] [Il2CppAssemblyGenerator] RemoteAPI.MappingURL = null
[10:29:29.212] [Il2CppAssemblyGenerator] RemoteAPI.MappingFileSHA512 = null
[10:29:29.216] [Il2CppAssemblyGenerator] Using Dumper Version: 2022.1.0-pre-release.7
[10:29:29.217] [Il2CppAssemblyGenerator] Using Il2CppAssemblyUnhollower Version = <IP_ADDRESS>
[10:29:29.219] [Il2CppAssemblyGenerator] Using Unity Dependencies Version = 2021.3.6
[10:29:29.220] [Il2CppAssemblyGenerator] Using Deobfuscation Regex = null
[10:29:29.221] [Il2CppAssemblyGenerator] Downloading Cpp2IL...
[10:29:29.224] [Il2CppAssemblyGenerator] Downloading https://github.com/SamboyCoding/Cpp2IL/releases/download/2022.1.0-pre-release.7/Cpp2IL-2022.1.0-pre-release.7-Windows-Netframework472.zip to B:\Program Files (x86)\Steam\steamapps\common\TheLongDark\MelonLoader\Dependencies\Il2CppAssemblyGenerator\Cpp2IL_2022.1.0-pre-release.7.zip
[10:29:29.385] [Il2CppAssemblyGenerator] [ERROR] System.Net.WebException: Error: SecureChannelFailure (The authentication or decryption has failed.) ---> System.IO.IOException: The authentication or decryption has failed. ---> System.IO.IOException: The authentication or decryption has failed. ---> Mono.Security.Protocol.Tls.TlsException: The authentication or decryption has failed.
at Mono.Security.Protocol.Tls.RecordProtocol.EndReceiveRecord (System.IAsyncResult asyncResult) [0x00037] in :0
at Mono.Security.Protocol.Tls.SslClientStream.SafeEndReceiveRecord (System.IAsyncResult ar, System.Boolean ignoreEmpty) [0x00000] in :0
at Mono.Security.Protocol.Tls.SslClientStream.NegotiateAsyncWorker (System.IAsyncResult result) [0x00071] in :0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslClientStream.EndNegotiateHandshake (System.IAsyncResult result) [0x00032] in :0
at Mono.Security.Protocol.Tls.SslStreamBase.AsyncHandshakeCallback (System.IAsyncResult asyncResult) [0x0000c] in :0
--- End of inner exception stack trace ---
at Mono.Security.Protocol.Tls.SslStreamBase.EndRead (System.IAsyncResult asyncResult) [0x0004b] in :0
at Mono.Net.Security.Private.LegacySslStream.EndAuthenticateAsClient (System.IAsyncResult asyncResult) [0x0000e] in :0
at Mono.Net.Security.Private.LegacySslStream.AuthenticateAsClient (System.String targetHost, System.Security.Cryptography.X509Certificates.X509CertificateCollection clientCertificates, System.Security.Authentication.SslProtocols enabledSslProtocols, System.Boolean checkCertificateRevocation) [0x0000e] in :0
at Mono.Net.Security.MonoTlsStream.CreateStream (System.Byte[] buffer) [0x0007b] in :0
at System.Net.WebConnection.CreateStream (System.Net.HttpWebRequest request) [0x00073] in :0
--- End of inner exception stack trace ---
at System.Net.WebClient.DownloadFile (System.Uri address, System.String fileName) [0x000ad] in :0
at System.Net.WebClient.DownloadFile (System.String address, System.String fileName) [0x00016] in :0
at (wrapper remoting-invoke-with-check) System.Net.WebClient.DownloadFile(string,string)
at MelonLoader.Il2CppAssemblyGenerator.FileHandler.Download (System.String url, System.String destination) [0x0005b] in <6a20eda6bdde464e9f7670a65ebff2fb>:0
[10:29:29.385] [INTERNAL FAILURE] Failed to Download Cpp2IL!
Did you attach your log file?

[X] Yes, I attached my log file to the text box above.
[ ] No, I could not find a log file at {Game_Directory}\MelonLoader\Latest.log


Feedback migration

Enabling GitHub integration for feedback

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Atbash Cipher

Before jumping into Pr first comment for assign.All Problem from Edabit. Link is mandatory to add
**Problem statement:The Atbash cipher is an encryption method in which each letter of a word is replaced with its "mirror" letter in the alphabet: A <=> Z; B <=> Y; C <=> X; etc.
Create a function that takes a string and applies the Atbash cipher to it.**
Problem Link:https://edabit.com/challenge/MGALfBAXhXqqdFyqo

Before submitting a PR please Check some details.Check Edabit for problem task

[ ] fileName formet should be in camelcase
example- returnTheNextNumber.py
[ ]  Add label for Problem
[ ]  In file there should be problem statement and link to probelm
example -

'''
    Probem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

@aayushi-droid Much appreciated if this issue would be assigned to me, Thank you for your time

Please assign this issue to me.Thanks


ARM Support Cannot Presuppose URL for Storage

The template hard codes a piece of the URI (blob.core.windows.net), and this will not work for China and Government clouds.

I'm closing this as a dupe of #218, which is the real issue.


High CPU throttling when running torchscript inference with triton on high number cores node

/kind bug
What steps did you take and what happened:
When running KFS triton torchscript inference on kubernetes nodes with high number of cpu cores, the inference requests get heavily throttled leading to poor performance because the torchscript library by default spawns number of intra-op threads which is equal to the number of cores available on the nodes the pod is scheduled to. If there are 40 cores on a node and cpu limit is set to 4, each thread only gets 4*100(cfs cpu period)/40=10ms to run for a given period and throttled for the next 90ms(stop the world).
What did you expect to happen:

According to the torch doc we can set OMP_NUM_THREADS(openmp) and MKL_NUM_THREADS(mkl) to control the number of threads, KFS can set these environment variables by default based on the cpu limit.
I think this is not just for triton, sklearn, xgboost, tensorflow might need similar fix.

Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
CPU throttle metrics

Latency(ms) based on input length

Environment:

Istio Version: 1.6.2
Knative Version: 0.12.1
KFServing Version: 0.4
Kubeflow version:
Kfdef:[k8s_istio/istio_dex/gcp_basic_auth/gcp_iap/aws/aws_cognito/ibm]
Minikube version:
Kubernetes version: (use kubectl version):
OS (e.g. from /etc/os-release):

now with KFS 0.5 you can set the OMP_NUM_THREADS env variables.

now with KFS 0.5 you can set the OMP_NUM_THREADS env variables.


Raise an InvalidRequestError when accessing a deleted customer

Fixes #432

I really dislike doing it like this, but the alternative of adding a custom exception class which we then have to add a catch for all over the place is worse imo. Simulating a "no such source" error is fine, as this is a case where there legitimately is no such source.

Using InvalidRequestError (or something derived from it) works for my company's use case.  We catch StripeError/InvalidRequestError when processing webhooks to log but effectively ignore conditions like this in our deployment.

It's failing travis though, I don't fully understand why.

Looks like the unit tests are not expecting the InvalidRequestError being thrown. Sorry if I'm pointing out what's already known :)

Yeah but why would this be thrown in those instances? If "sources" is missing then customer.sources.retrieve(...) would fail.

@jleclanche: stripe.Customer.retrieve was incompletely faked because we didn't need to check the return value in the previous implementation. Your change is probably checking if "sources" not in MagicMock():. Should be as easy as adding a valid return value to the fakes.
This assumption was made based on the first failing test

Ok, fixed.


Error on deploy command due to regression on dependency(prettyjson)

After prettyjson patch update(1.2.1 --> 1.2.2), deploy commands fail on line
https://github.com/netlify/cli/blob/d9a41aa0d2508892d592e025bba42f2dc5e49626/src/commands/deploy/deploy.js#L517
because the logged object has some properties undefined (when the site has no functions or config).
In the previous version prettyjson simply skipped undefined properties, now crashes the process.
Linked issue: https://github.com/rafeca/prettyjson/issues/58

fixed by prettyjson v.1.2.5

Reported in https://github.com/netlify/cli/issues/4012 too


improve coordiantor

name: Pull request
about: Tell us about your contribution
labels: ["pr/release/none-required"]

Thanks for contributing !
Before submitting a pull request, make sure you read about our Contribution notice here: https://spidernet-io.github.io/spiderpool/contributing/development/pullrequest/#need-review
What this PR does / why we need it:
improve coordiantor
Which issue(s) this PR fixes:
https://github.com/spidernet-io/spiderpool/issues/1870
https://github.com/spidernet-io/spiderpool/issues/1869
Special notes for your reviewer:
make sure your commit is signed off

---------spiderpool-agent-4rnwt--------
error, in spiderpool-agent-4rnwt, found error, Goroutine took lock !!!!!!!
{"level":"WARN","ts":"2023-06-07T03:39:03.036Z","logger":"Debug-Lock","caller":"lock/lock_debug.go:110","msg":"Goroutine took lock for more than 0.20 seconds","Seconds":0.221635749,"Goroutine":" 3570"}

PTAL
/cc @weizhoublue

pelease update

可以在 doc/concept 放一份 md，说明下 配置

可以在 doc/concept 放一份 md，说明下 cni 配置

在 https://github.com/spidernet-io/spiderpool/pull/1934 中一并处理

/cc @weizhoublue 可以合入了


rex var expansion is broken in multiple shells

Shells: pwsh, csh (other?)
In shells whose variable expansion syntax does not match native rex (ie, $FOO, ${FOO}), variable expansion is broken. The tests don't catch this because these shells tend to deal with var expansion (via their convert_tokens func) in the info command - which is also used to get output from a shell to check the results(!).
A quick glance shows that the fix is probably to use convert_tokens in the expand_string function, so that var expansion happens in all relevant places.
A test should also be added that makes sure this expansion happens, when it is supposed to. For example, consider the following bash:
export FOO=A
export BAH="hey $FOO"
export FOO=B

The rex equivalent in a test would be able to detect that $FOO was expanded when it was supposed to, like so:
env.FOO = "A"
env.BAH = "hey $FOO"
env.FOO = "B"
info("$BAH")

The test would then verify that the output is "hey A".

I am wondering if I get this right, since this seems to pass in Windows @ py2.7:
    def test_variable_expansion(self):
        def _rex():
            env.FOO = "A"
            env.BAH = "hey $FOO"
            env.FOO = "B"
            info("$BAH")

        self._test(func=_rex,
                   env={},
                   expected_actions = [
                       Setenv('FOO', 'A'),
                       Setenv('BAH', 'hey ${FOO}'),
                       Setenv('FOO', 'B'),
                       Info('${BAH}'),
                   ],
                   expected_output = {
                       'FOO': 'B',
                       'BAH': 'hey A'
                    })

Maybe it's correctly implemented in cmd? I'd have to have a look at the
code. Best bet is to start by looking at the generated cmd code, with
rez-context -i.
A
On Wed, Nov 6, 2019 at 7:01 AM Blazej Floch<EMAIL_ADDRESS>wrote:

I am wondering if I get this right, since this seems to pass in Windows @
py2.7:
def test_variable_expansion(self):
    def _rex():
        env.FOO = "A"
        env.BAH = "hey $FOO"
        env.FOO = "B"
        info("$BAH")

    self._test(func=_rex,
               env={},
               expected_actions = [
                   Setenv('FOO', 'A'),
                   Setenv('BAH', 'hey ${FOO}'),
                   Setenv('FOO', 'B'),
                   Info('${BAH}'),
               ],
               expected_output = {
                   'FOO': 'B',
                   'BAH': 'hey A'
                })

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/768?email_source=notifications&email_token=AAMOUSUBIFA67C7RVKOLBODQSHGH3A5CNFSM4JDKL2RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDEEBSQ#issuecomment-549994698,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMOUSSXXRMXVONAPTYSUWLQSHGH3ANCNFSM4JDKL2RA
.

I've added @per_available_shell and it would pass with all of them. I'll try to dig down as proposed.


ExitDetector is missing a visit method for SwitchExpression

The class ExitDetector is missing a visit method for SwitchExpression. This causes an exception to be thrown.
It might also need support for the rest of the patterns feature.

@scheglov @srawlins As the most recent contributors to this class.


Bug: cmdline parm "--forward-all-clicks" prevents start

I extracted the west scrcpy v3.0 on my Windows 10 system
I connected my Samsung Galaxy Android 14 smartphone via USB cable with my computer.
When I enter now (on CmdPrompt):
scrcpy-noconsole.vbs --kill-adb-on-close
The Android screen is shown.
When I enter:
scrcpy-noconsole.vbs --kill-adb-on-close --forward-all-clicks
then nothing happens.
Whats wrong?

It does not exist anymore, use --mouse-bind.
Run from the console, you will have the error message.

Thank you, but the problem persist:
scrcpy-noconsole.vbs --kill-adb-on-close
works, but
scrcpy-noconsole.vbs --kill-adb-on-close --mouse-bind
works not

scrcpy-noconsole.vbs --kill-adb-on-close --mouse-bind

You must run scrcpy, not scrcpy-noconsole.vbs.
And read this doc: https://github.com/Genymobile/scrcpy/blob/master/doc/mouse.md#mouse-bindings
--mouse-bind=++++

ok, works.
Thank you


get_adj_cars efficiency

So after doing the pruning on is_crash, the next fattest function is get_adj_cars(::Array{CarState,1}). The main reason I can think of for it being bad is that its a very naive approach. I'm fairly certain there's some smart dynamic programming style way to get the adjacent cars for all of the cars in one shot instead of the O(n^2) way that it's operating at now.

function no longer used


fix for creating TLorentzVectorArray from JaggedArray slices

See #128.

I had to stare at this for a long time to understand what it's doing, but I'm convinced now that it's right.
It might be a little better to say
index[~good] = 0

though I don't see any reason why this multiplication would do anything wrong. It doesn't change the type of index, for instance, and good is definitely 0 and 1. And all the tests pass; I'll accept it.
Incidentally, this _tojagged (which changes the layout of one jagged array to match another) will eventually be replaced by the method developed in awkward-numba of converting both jagged arrays to their canonical "compact" form.
Thanks!


Add .vscode to .gitignore

Move the .vscode config files into the extra folder so that can serve as template config files.


Optimize vacuum command by adding a minor GC step

this PR optimizes vacuum command by adding a new minor GC step to the existing vacuum algorithm.
the new GC algorithm will be composed of two steps:

[step1] Minor GC: use the delta snapshot to determine the tracked files that should be removed and delete them. We don't need to do any recursive listing and this can be done in the same pass that is extracting the valid paths.
[step2] major/full GC: same current behavior.

the major GC will benefit from the minor GC since all the tracked files to delete will be already deleted and only untracked files/dirs will need to be cleaned in this step. Also, empty dirs because of files deleted by the current vacuum will not wait until the next vacuum to be deleted and will be vacuumed during the same GC cycle.

@JassAbidi what's the status of this PR? I see that Ryan Johnson last commented on it on Jan 11 2022. Can you please respond to his PR comments?

@JassAbidi What is the performance impact of this change? How is it tested to verify correctness? The PR description contains no information about either one.

it's tested using the already existing vacuum correctness test. more scenarios were added to that test to covert situations where major GC is impacted by the minor GC ( directory emptied by minor GC should be deleted by the major GC of the same vacuum and should not wait for the next vacuum to be removed).
I'm not sure how can I test performance, should I build the branch and run on an EMR cluster for example or can I do it in a unit test?


docs: updated sequence diagram

Diagrams LGTM 👍

Merged in 2192f54
Included exports fecdda2

Shelved commit to next PR


关于多标签掩码的处理

我的训练集的图像和标签都是3d的，但是标签是多标签在同一个通道中，用不同的像素值标记的结构。但是我看了一下pre_CT_MR.py文件中的预处理，只判断了一个像素值大于0也就是前景，那么我有一个问题，如果是我这样的多标签的应该如何处理。或者说需要单独将每个标签单独做成图像和其对应的二值掩码。

Hi there,
You don't need to convert the masks into one-hot encodings or create separate binary masks for each label. When you mentioned foreground values, I assume you were referring to line 130 in the script. The purpose is to identify slices that contain the organs/lesions of interest by checking if any labeled pixel values are greater than zero in ground truth, and we are only retaining slices that contain the organs/lesions of interest that are relevant for training.

Hello,
I saw that all the slices that were judged to be foreground pixel values were selected. That means I don't need to convert the mask to a one-hot or binary mask separately. In other words, can the labels of multi-organ masks also be processed and directly trained?

In addition, one label 12 is removed. If I need to perform segmentation training for each label, should I set this to an empty list, line 75 in pre_CT_MR.

Hello, I saw that all the slices that were judged to be foreground pixel values were selected. That means I don't need to convert the mask to a one-hot or binary mask separately. In other words, can the labels of multi-organ masks also be processed and directly trained?

That's correct. The preprocessing script can handle the multi-label masks.

In addition, one label 12 is removed. If I need to perform segmentation training for each label, should I set this to an empty list, line 75 in pre_CT_MR.

Yes, you will need to empty that list so that no label values are excluded from your dataset.

Thank you for your answer. Best wishes.


How to compile desktop app

I want to make an ARM build of the macOS desktop app, is there any documentation on how to compile the desktop app?
Thank you for taking your time in making this.

Clone the repository
Navigate to the root directory of the repository
run yarn to install the packages
run yarn make --armv7l to build the desktop app.

These steps assume that you have yarn installed.

Sorry for the late response, when I first saw you're answer it wasn't working because when yarn tried to download electron-v23.2.0-darwin-arm64.zip from Electron's repo, it failed with a 404 error. But now I tried to recompile it today and it's working now. Thank you for your help.


fix:pyee latest version

Summary by CodeRabbit

Chores

Updated the import statement for the ExecutorEventEmitter class to reflect its new source.
Revised the version constraint for the pyee package in requirements.txt, increasing the minimum required version.

Tests

Adjusted the import path for ExecutorEventEmitter in unit tests to align with the updated module structure.

not sure why tests are failing and no time to bug hunt, so i'll leave this on hold for now unless someone wants to take over, expected a quick fix but instead...
ovos_bus_client/client/client.py:10: in <module>
    from pyee.executor import ExecutorEventEmitter
E   ModuleNotFoundError: No module named 'pyee.executor'


Sort List by vac/game/trade ban date

can we have sorting by vac/game/trade ban date inside the list?

I can have option to sort by only vac ban and only game ban on list, but I have no plans to allow sorting by trade ban, or community bans


khepri_machine: Add command deduplication mechanism

Why
The "client" side of khepri_machine implemented in process_sync_command/3 have a retry mechanism if ra:process_command/3 returns an error such as noproc, nodedown or shutdown.
However, this retry mechanism can't tell if the state machine already received the command and just couldn't reply, for instance because there is a node stopping or a change of leadership.
Therefore, it's possible that the same command is submitted twice and thus processed twice.
That's ok for idempotent commands, but it may not be alright for all transactions for example. That's why we need a deduplication mechanism that ensures the same command is not applied multiple times.
How
Two new commands are introduced to implement the deduplication system:

#dedup{} which is used to wrap the command to protect and assign a unique reference to it
#dedup_ack{} which is used at the end of the retry loop to let the state machine know that the "client" side received the reply

When the state machine receives a command wrapped into a #dedup{} command, it will remember the reply for the initial processing of that command. For any subsequent copies of the same #dedup{} (based on the unique reference), the state machine will not apply the wrapped command and will simply returned the reply it remembered from the first application.
Later when the state machine receives a #dedup_ack{}, it will drop the cached reply for that reference.
Just in case the client never sends a #dedup_ack{}, the state machine will drop any expired cached entries. The expiration time is based on the command timeout. If it's infinity, it defaults to 15 minutes.
This whole deduplication mechanism can be enabled or disabled through the new protect_against_dups command option which takes a boolean. This option is off by default, except for R/W transactions.
Thus if the caller knows the transation is idempotent, it can decide to turn the dedup mechanism off.

I need to bump the state machine version and convert the state.

The pull request is ready for review. The machine version is taken into account, so if the machine is too old, the public API won’t use the dedup mechanism.


'TensorBoard' object has no attribute 'sess'

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Mac Os
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary):binary
TensorFlow version (use command below):1.12
Python version:3.6
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version:N/A
GPU model and memory:N/A

You can collect some of this information using our environment capture script
You can also obtain the TensorFlow version with
python -c "import tensorflow as tf; print(tf.GIT_VERSION, tf.VERSION)"
v1.12.0-rc2-3-ga6d8ffae09 1.12.0
Describe the current behavior
I want to use the tensorboard callback in keras to show the embeddings in the projector view
Describe the expected behavior
I'm getting an error while training.
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
    tensorboard = keras.callbacks.TensorBoard(
        log_dir='./logs',
        batch_size=128,
        histogram_freq=1,
        embeddings_freq=1,
        embeddings_metadata='./metadata.tsv',
        embeddings_data=X_Test
    )
    history = model.fit(ready_data, ready_labels, batch_size=128, epochs=20,validation_data=(X_Test,Y_test),callbacks=[tensorboard])

Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Traceback (most recent call last):
  File "/Users/alcaljos/Projects/issue-classifer-ml/src/main.py", line 193, in <module>
    history = model.fit(ready_data, ready_labels, batch_size=128, epochs=20,validation_data=(X_Test,Y_test),callbacks=[tensorboard,checkpointer])
  File "/Users/alcaljos/anaconda/envs/issue-classifier/lib/python3.6/site-packages/tensorflow/python/keras/engine/training.py", line 1639, in fit
    validation_steps=validation_steps)
  File "/Users/alcaljos/anaconda/envs/issue-classifier/lib/python3.6/site-packages/tensorflow/python/keras/engine/training_arrays.py", line 239, in fit_loop
    callbacks.on_epoch_end(epoch, epoch_logs)
  File "/Users/alcaljos/anaconda/envs/issue-classifier/lib/python3.6/site-packages/tensorflow/python/keras/callbacks.py", line 214, in on_epoch_end
    callback.on_epoch_end(epoch, logs)
  File "/Users/alcaljos/anaconda/envs/issue-classifier/lib/python3.6/site-packages/tensorflow/python/keras/callbacks.py", line 1144, in on_epoch_end
    self.sess.run(self.assign_embeddings, feed_dict=feed_dict)
AttributeError: 'TensorBoard' object has no attribute 'sess'

This issue is more suitable for Tensorboard repo. I apologize for the redundant work you have to do, but please post this issue on Tensorboard repo. Thanks!

This issue is actually with Tensorboard Callback, not with Tensorboard itself. In on_epoch_end, the callback attempts to run a Session from the attribute self.sess but self.sess has never been set.
This portion of the callback code that set this attribute was reworked for the 1.12rc but there is no unit test for using embeddings with this callback:
      # TODO(psv): Add integration tests to test embedding visualization
      # with TensorBoard callback. We are unable to write a unit test for this
      # because TensorBoard dependency assumes TensorFlow package is installed.

Could we re-open this?


Ads not showing until next page load ajax infinite scroll

I've been wrangling with trying to get DFP ads to refresh on Infinite Scroll pages on Wordpress using a combination of jquery.dfp  and Ajax Load More.
Currently, I have got it working...sort of.
I'm using the current code in my header.

And then on page sidebar, which reloads with each scroll event I'm calling the ads with:

&

My problem is as such:   On the first page load, both ads load.  The 300x600 and the 300x250 both load fine and in their expected positions.
On scroll event, the next page loads, but the ads don't load with the page.  However, the ads in the initial page refresh.
Scrolling down a second time to the third post, the ads from the first post refresh again, the ads in the second post fill-in, and now the third post has blank divs.
Can anyone provide any insight on why this might be happening?  Banging my head against this for a couple weeks now and this is as close to my expected outcome as I've gotten.
What I'd like to accomplish is simply for the ads to load on scroll event, whether that's scrolling down a page or up a page.  I would like it to be treated as a page/ad refresh on scroll.
Any help or insight would be appreciated greatly!

Found my solution.

Ok, so I figured out my original problem but in doing so I realized that it was bigger than just getting the ads to populate in div on scroll.
Each ad unit is refreshing on each new scroll event to the next page.  So as you can imagine after five pages or so it can get quite heavy on the load side.
Anyone have any insight as to making ads in the previous post not reload unless they are scrolled back to?


make compression optional, and support legacy, uncompressed strings

This makes compression optional, for the backwards compatibility suggested here:
https://github.com/uProxy/uproxy/pull/1880

:+1:


Question: why doesn't partitionByKey's third argument default to the identity function?

I agree, it certainly should. I will be addressing this shortly.


Enable editing on double click

I am trying to implement ngx-inline-editor in tab. I have HTML form with multiple tabs.
When user double clicks on the tab, tab name should become editable. ngx-inline-editor (which is my natural choice for inline editing) displays textbox for editing, as soon as user clicks on tab.
Is it possible to implement double click functionality for enabling editing also?

Hi Sir,
Can u provide some working example for beginner level like me ?

I tried below code
import { InlineEditorComponent } from '@qontu/ngx-inline-editor';
@ViewChild('InlineEditorComponent') private _child: InlineEditorComponent;
myHandleError(){
this._child.edit({ editing: true, focus: true, select: true });
}
But getting error "Cannot read property 'edit' of undefined"
Can you please help me where I'm doing mistake

@sric88: Unless you have given your the <inline-editor> element id of "InlineEditorComponent" in the template your code will fail, as the @ViewChild() decorator expects a string argument to match a template element id. If the argument is a component class token, it will pick up the first instance of that component in the template. So just take the single-quotes off:
@ViewChild(InlineEditorComponent) private _child: InlineEditorComponent;

Thanks Keith. It works fine 👍

Hi, is it possible to keep focus on input, when an error is occurred? So, when I call (onError)="myHandleError()" to put a similar code as above in it?
Example:
myHandleError(){
//some code
this._child.edit({ editing: true, focus: true, select: true });
}
I tried this, but nothing happens, I am not sure what I need to pass as a parameter in html/ts component. When I call console.log(this._child); current element is displayed, which is good. But unfortunately editor closes.


update e2e Verify Upgrading Operator from v1.1.7

What problem does this PR solve?
What is changed and how does it work?
Check List
Tests

Unit test
E2E test
Stability test
Manual test (add detailed scripts or steps below)
No code

Code changes

Has Go code change
Has CI related scripts change
Has Terraform scripts change

Side effects

Breaking backward compatibility

Related changes

Need to cherry-pick to the release branch
Need to update the documentation

Does this PR introduce a user-facing change?:

NONE

/merge


any benchmark against https://github.com/naskitis/HAT-trie?

any benchmark against https://github.com/naskitis/HAT-trie ?
and
c++
https://github.com/Tessil/hat-trie ?

is this for production use?


chromium rendering overflows

Describe the bug
The sidebar anchored on the right overflows out of the bound of the browser's window and scrollbar, so far I have seen this in Vivaldi, and Microsoft Edge which leads me to believe that rendering isn't broken in just my preferred browser.
To Reproduce
Steps to reproduce the behavior:

Go to https://docs.pixielabs.ai/installing-pixie/install-guides/#3.-install-the-pixie-cli
resize canvas to 1614x1289
See that "invite others to your organization (optional)" overflows over the scroll bar and maybe even the browser window.

Expected behavior
renders correctly
Screenshots

Additional context
I also have found that keyboard navigation (i.e. pressing space bar to scroll down) doesn't work on the pixie doc site.
Environment

Noteworthy: In Firefox (Gecko), it instead word wraps with no indentation:

This sidebar is just a div full of a tags. A positive left margin and a negative text-indent on the a tags themselves, as well as fixing the container's dimensions, should be enough to fix both browsers.


How to embed a Viser visualization in another HTML page?

There is a nice embedded 3D demonstration in https://lerftogo.github.io/desktop.html
It seems like they are running Viser demos on GitHub Pages somehow.
Can you please advise me on how I can do the same thing? Is it possible to host the visualization through GitHub Pages, or can I save it in some intermediate format that can later be rendered in three.js?

Hi!
We're planning on it, but unfortunately this functionality hasn't been cleaned up / documented / supported. If it's important to you and you want to figure it out, you can reference the implementation that still lives in this branch: https://github.com/nerfstudio-project/viser/tree/brent/record
The most relevant class is RecordHandle. Combined with the client built from that branch, RecordHandle can be used to produce a .viser file that can be optionally gzipped and loaded in a URL like:

https://brentyi.github.io/rotateit-embed/?playbackPath=https://brentyi.github.io/rotateit-embed/trajectories/-1_0_0_ycb_072-a_toy_airplane.viser.gz
https://brentyi.github.io/viser-embed-test/?playbackPath=https://brentyi.github.io/viser-embed-test/trajectories/black_handle_sem.viser


[release-1.22] cni: properly cleanup completed pods

Manual cherrypick required.
#51713 failed to apply on top of branch "release-1.22":
Applying: cni: properly cleanup completed pods
Using index info to reconstruct a base tree...
M	cni/pkg/iptables/iptables_linux.go
M	cni/pkg/nodeagent/informers.go
M	cni/pkg/nodeagent/net.go
M	cni/pkg/nodeagent/net_test.go
M	cni/pkg/nodeagent/server.go
M	cni/pkg/nodeagent/ztunnelserver.go
Falling back to patching base and 3-way merge...
Auto-merging cni/pkg/nodeagent/ztunnelserver.go
Auto-merging cni/pkg/nodeagent/server.go
Auto-merging cni/pkg/nodeagent/net_test.go
Auto-merging cni/pkg/nodeagent/net.go
Auto-merging cni/pkg/nodeagent/informers.go
CONFLICT (content): Merge conflict in cni/pkg/nodeagent/informers.go
Auto-merging cni/pkg/iptables/iptables_linux.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 cni: properly cleanup completed pods
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

fixed by https://github.com/istio/istio/pull/51734


Support 'publish' like what poetry does

Problem description
This feature should be very similar to what poetry has right now. By typing 'pixi publish', user should be able to upload their package to pypi or similar organizations.
right now I use pixi as my dependency management tool, but whenever i need to publish my package to pypi, i have to switch back to poetry to get the job done, which feels cumbersome to do so.

We're currently working on pixi build which would be the first step towards a publish.

Do note that as a small workaround you can use pixi tasks for this.
E.g something like:
#... rest of toml
[tool.pixi.feature.publish.dependencies]
# For building wheel using hatch
hatch = "*"
# Uploading package
twine = "*"

[tool.pixi.environments]
# Use this env for publishing:
publish = { features = ["publish"] }

# This has tasks for building and uploading
# to custom GCP instance
[tool.pixi.feature.publish.tasks]
# Build into a wheel using hatch
build = { cmd = "hatch build", inputs = ["say_hi/*"], outputs = ["dist/*"] }
# Upload to custom GCP registry using twine
publish = { cmd = "twine upload --skip-existing dist/*", depends-on = [
  "build",
] }


1000 upem outlines for NotoColorEmoji or NotoEmoji-Regular

Hi!
Is there a NotoEmoji font with 1000 upem outlines, or are there any plans to support it in the future? This would be great to have to merge it with other Noto Fonts using fonttools' pyftmerge.

No such plan at time of writing.
The COLRv1 version could readily be recompiled so using https://github.com/googlefonts/nanoemoji. You would add upem = 1000 to the config file in  https://github.com/googlefonts/noto-emoji/tree/colrv1/colrv1.

You would add upem = 1000 to the config file

I added the line upem = 1000 in all.toml and compiled using the command time nanoemoji all.toml as mentioned in the Readme.  NotoColorEmoji.ttf file is generated (with empty characters - see screenshot below) in /colrv1/build folder along with a bunch of warnings (excluded similar warnings for brevity) -
W0806 11:18:17.111457<PHONE_NUMBER>71264 glyph_reuse.py:69] affine_between failed: M361.9800109863281,720.72802734375 L373.2239990234375,675.6319580078125 L343.78802490234375,703.6279907226562 C355.8000183105469,703.7000122070312<PHONE_NUMBER>105469,703.5560302734375<PHONE_NUMBER>703125,703.1959838867188 L350.73602294921875,675.907958984375 L361.9800109863281,720.72802734375 M387.39599609375,577.7839965820312 L400.0680236816406,523.9759521484375 L366.9000244140625,557.9959716796875 C380.4360046386719,557.7559814453125<PHONE_NUMBER>550781,557.251953125<PHONE_NUMBER>167969,556.4840087890625 L374.73602294921875,524.9119873046875 L387.39599609375,577.7839965820312

Following is the first section of the generated NotoColorEmoji.toml in /colrv1/build folder.
family = "Noto Color Emoji"
output_file = "NotoColorEmoji.ttf"
color_format = "glyf_colr_1"
upem = 1000
width = 1275
ascender = 950
descender = -250
linegap = 0
transform = "translate(0, 0)"
version_major = 1
version_minor = 0
reuse_tolerance = 0.1
ignore_reuse_error = true
keep_glyph_names = false
clip_to_viewbox = true
clipbox_quantization = 32
pretty_print = false
fea_file = "features.fea"
glyphmap_generator = "nanoemoji.write_glyphmap"
bitmap_resolution = 128
use_zopflipng = true
use_pngquant = true
pngquant_flags = "--speed 1 --skip-if-larger --quality 85-95"

I am new to typography and need to merge this font with Noto Sans font in order for emojis to show up while generating PDF from DOCX using Carbone

hi - how can we build our own 1000 upem noto emoji ttf files please?


Question: Error codes

Hi, can anyone paste a link to all error codes?
I mean i want remove "wrong" token i have in my DB but don't see any links about error codes.
And i don't know what error codes i should resolve as "bad/invalid token" code.
Thank you.
This is a question, not a bug.

https://developer.apple.com/library/content/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/CommunicatingwithAPNs.html#//apple_ref/doc/uid/TP40008194-CH11-SW2


Remove version: Principle.Lusun version 2.1.2

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://releases.lusun.com/lusun-2.1.2-win-x64.exe
Response Error: The remote server returned an error: (403) Forbidden.
(Automated message - build 911)

https://github.com/microsoft/winget-pkgs/issues/142854


argo_tunnel: make V4 API response compatible

While diagnosing some issues implementing the cloudflare_argo_tunnel
resource in Terraform, I noticed that the API response was lacking the
outer response structure that the other V4 endpoints have.
The early implementation of Argo Tunnel endpoints didn't conform to the
V4 API standard response structure. This has been remedied going forward
however to support older clients this isn't yet the default. An explicit
Accept header is used to get the V4 compatible version.
Along with this change, is removing the use of the context package in
favour of existing request helpers. I opted not to reinvent a specific
case for this right now because:

It's highly unlikely these requests will need to be cancelled; and
This is currently a snowflake scenario and I didn't want to build a
new interface after only needing it once. I'd prefer to wait for more
use cases before expanding it.

As this change is internal, it won't impact clients and we can revert
this once the default response is the V4 compatible version without
interruption.

I'd prefer we kept context in these functions (the idea is to refactor all remaining functions in #324 by 0.14 release). Because we don't have makeRequest... with headers and context, we should add one.

I'd prefer we kept context in these functions (the idea is to refactor all remaining functions in #324 by 0.14 release). Because we don't have makeRequest... with headers and context, we should add one.

Sure thing. I didn't really want to copy paste as is due to the confusion around which method you should be using for what purposes. Alongside that, the method signatures are quite long which makes determining parameters a little more confusing again.
I'll add a new method that follows the same patterns and we can always rejig it once we get a bit more usage under our belt.

Sure thing. I didn't really want to copy paste as is due to the confusion around which method you should be using for what purposes. Alongside that, the method signatures are quite long which makes determining parameters a little more confusing again.
I'll add a new method that follows the same patterns and we can always rejig it once we get a bit more usage under our belt.

f90d9754aa1f14cd0bc24245f2789c41da784a35 has the changes I've mentioned above.

f90d9754aa1f14cd0bc24245f2789c41da784a35 has the changes I've mentioned above.

No worries, they are internal to the library (lowercased name), we will likely clean them up during refactor by allowing optional arguments.

No worries, they are internal to the library (lowercased name), we will likely clean them up during refactor by allowing optional arguments.


Purge warning

Hi,
I made the stupid mistake to enter
ee stack purge --all
when I meant to clean the cache for all servers
It would be great to have a warning because now I lost all my settings. Is it possible to restore them or are they gone for good? I have backups for my blogs but also stupidly no backups for my server conf. Any suggestion?
Best,
L-E

Hi!
So am I right to think that there is no way to get my config files back?
Best,
L-E

@lemartinet ya. Sorry to say there is no way to get them back unless you have an external backup.
If you have few sites, may be you can run EE commands to generate config on a different server and then copy files from /etc/.
We already added warning as per your suggestion - https://github.com/rtCamp/easyengine/commit/9cb97cdba9324033dd7d15babef52aa162bdce66

All right, thanks for your message, and it's great that you added the warning.
Best
L-E

@lemartinet Thanks for your understanding.
Sorry for inconvenience you have faced.
If you have any more suggestions to improve EasyEngine, please let us know.


platformio-core: install shell completion

Description of changes

Install bash, zsh and fish completions for platformio and pio executables.

Tested with bash and zsh.

meta.mainProgram set to platformio

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[X] Fits CONTRIBUTING.md.

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

thanks!


Feature suggestion: Cleaner URIs

It would be nice to have this URI shortened to have just the number in the end:

https://pmb.acdh.oeaw.ac.at/apis/entities/entity/work/31857/detail

like this:

https://pmb.acdh.oeaw.ac.at/apis/entities/entity/work/31857

and since we're at it and since the numbers are actually unique event though they are different classes, this would also be a nice feature:

https://pmb.acdh.oeaw.ac.at/apis/31857

or

https://pmb.acdh.oeaw.ac.at/31857

i.e. be able to access all numbers without clarifying which class they are

to make it concise and easy I decided for {BASE_URL}/entity/ID
E.g. https://pmb.acdh.oeaw.ac.at/entity/31857

to make it concise and easy I decided for {BASE_URL}/entity/ID
E.g. https://pmb.acdh.oeaw.ac.at/entity/31857

does this involve a change/rewrite of already existing non external URIs like e.g. those eos.arz... or whatever other uris we have in all the apis projects using some made up base-uri and the entities ID? Or should someone provide a script which checks all existing URIs and changes them in a clever way?

no, we need to do that manually.
I started with cleaning the URIs for apis-edits. But I guess we need to decided per project how to proceed...for PMB for example we might not want to delete the old URIs - as someone could already have used one of the old URIs somewhere - but rather additionally add the new cleaner URIs?

or even better contains the title/name instead of the id:
https://pmb.acdh.oeaw.ac.at/work/zwei_gluckliche_tage

semantic clutter in URIs?
please, no.

yes, already decided against it, its {BASE_URL}/entity/ID for all the new entities and we change to this structure in the instances were URIs havent been used and/or published yet.
For projects like PMB we need to discuss whether we change uris or only add the new style uris and keep the old ones.
The old style uris apis/api2/entity will still resolve, but if we remove the old style uris the RDFs will miss the same as links

Currently I believe it would still be possible to change PMB-URIs. But that is my opinion and @ingoboerner has a say in it just as much as I have.


Crash when triggering .validate() twice

I got this exception when user clicking validate button twice
E/AndroidRuntime: FATAL EXCEPTION: main
                  Process: br.com.moneto, PID: 19109
                  java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.
                      at android.view.ViewGroup.addViewInner(ViewGroup.java:4937)
                      at android.view.ViewGroup.addView(ViewGroup.java:4768)
                      at android.view.ViewGroup.addView(ViewGroup.java:4708)
                      at com.basgeekball.awesomevalidation.utility.ViewsInfo.restoreViews(SourceFile:32)
                      at com.basgeekball.awesomevalidation.validators.UnderlabelValidator.halt(SourceFile:81)
                      at com.basgeekball.awesomevalidation.AwesomeValidation.clear(SourceFile:190)
                      at br.com.moneto.presentation.maqvirtual.MaqVirtualClientsNewActivity.saveClient(MaqVirtualClientsNewActivity.kt:77)
                      at br.com.moneto.presentation.maqvirtual.MaqVirtualClientsNewActivity$onCreate$1.onClick(MaqVirtualClientsNewActivity.kt:68)
                      at android.view.View.performClick(View.java:6294)
                      at android.view.View$PerformClick.run(View.java:24770)
                      at android.os.Handler.handleCallback(Handler.java:790)
                      at android.os.Handler.dispatchMessage(Handler.java:99)
                      at android.os.Looper.loop(Looper.java:164)
                      at android.app.ActivityThread.main(ActivityThread.java:6494)
                      at java.lang.reflect.Method.invoke(Native Method)
                      at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
                      at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)

Actually in the library's code, it restoreViews only when the ViewGroup is not original (!mIsOriginal).  I can imagine the only possibility of crashing here is it runs into race condition - calling multi-times in parallel.
I can try to investigate code from my side.  Meanwhile, could you please share some code snippets to help me reproduce the crash?  Thanks in advance.

I'm not sure if the same that happened to @pedrovilela is happening to me, but the thing is that I get the crash he's describing if I run 2 times the clear method of the AwesomeValidation object.
Aside from that, I'm seeing the validation errors as many times as I hit on validate(). I've attached a screenshot.
I just want to validate my form (simple form, 3 fields), but every time I press on "Register", it validates again and concatenates the previous validation. Even though I've called to AwesomeValidation.clear() before.
The validation clearing only works if I call to AwesomeValidation.clear() without calling to validate, right after that.
This is my code:
val mAwesomeValidation = AwesomeValidation(ValidationStyle.UNDERLABEL)
mAwesomeValidation.setContext(activity)
mAwesomeValidation.addValidation(activity, R.id.nameEditText, Pattern.compile("\\w+", Pattern.UNICODE_CASE), R.string.EmptyUserName)
mAwesomeValidation.addValidation(activity, R.id.emailEditText, android.util.Patterns.EMAIL_ADDRESS, R.string.EmailInvalid)
mAwesomeValidation.addValidation(activity, R.id.passwordEditText, Pattern.compile("\\w+", Pattern.UNICODE_CASE), R.string.EmptyPassword)
mAwesomeValidation.validate()

It only happens with the UNDERLABEL version. With other validation styles works like a charm.

Thanks @carlos-mg89 for reporting it.  May I ask where your above code snippet is triggered please?  Could you please also divide your code into different places?  For instance, the initialization of AwesomeValidation and addValidation at the beginning of the activity, then validate() inside some onClick method?


Frontend dep update

I tried updating the dependencies of the front end but ended up with a strange bug where the background images are incompletes or does not even load.
Any advice on this ?

I'm closing this PR as i'm merging it into the other since I found and fixed the background image bug.


Thoughts on allowing structured classes as a querystring parameter definition

This may be a little too over-engineered, but felt it was worth asking. Instead of baking the list of querysting params into the method definition, would it be possible and prudent to accept a structured dataclass (including a Pydantic class) as a defined object, passing that as query_params (or some other argument)?
class MySearchFilter(BaseModel):
    executed: Optional[str] = None
    trusted: Optional[str] = None
    transaction_hash: Optional[str] = None
    ordering: Optional[OrderEnum]
    limit: Optional[int] = 10
    address: str
    ...
    model_config = ConfigDict(use_enum_values=True)

class MyClient(Client):
    def __init__(self, session: ClientSession, txs_url: str) -> None:
        self.base_url = txs_url  # Related to #68

    @endpoint('/v1/search')
    async def get_search(self, query_params: MySearchFilter) -> MySearchResults
        ...

client = MyClient(txs_url=...)

filter = MySearchFilter(executed=True, limit=5, address='0x1234')
results = await client.get_search(query_params=filter)

This way, the definition for the arguments remains defined, but doesn't overcomplicate the function signature.
In turn, this could make building the querystrings a little easier on end-user code, as they can modify a "Filter" class or similar naming convention.
Granted, I imagine you could **unpack it yourself, but you'd still have to define them in the function signature, and if those options ever change, I feel I'd rather update a Filter spec than the signature, especially when you get over a few options (one API endpoint I work with has 27!).

Thank you for sharing this feature request. It is indeed something I would like to support.
I shared below the example behaviour I am considering.
class TimeRange:
   start: datetime.datetime
   end: datetime.datetime

def format_time_range(time_range: TimeRange) -> dict[str, Any]:
    return {"start": time_range.start.strftime("%Y-%m-%d"), "end": time_range.end.strftime("%Y-%m-%d")}

class Store(Client):
  def __init__(self) -> None:
    super().__init__(session)

   @endpoint("/api/v1/transactions")
   async def get_transactions(
      self, time_range: Annotated[TimeRange, api_ref(unwrap=format_time_range)]
   ) -> list[Any]:
            ...

The improvement is available in v0.1.12

Thank you for adding based on my suggestion! I am having some trouble resolving this for my example, and I just want to make sure I'm on the right track. The parameters I'll be working with will have many different datatypes instead of the clean, specific ones you posted, so I'm hoping something generic could be used here.
Taking my original example (modified to add a datetime field to match yours)
class MySearchFilter(BaseModel):
    ...
    execution_date__lte: Optional[datetime] = None
    limit: Optional[int] = 10
    address: str

    @field_serializer('execution_date__lte')
    def format_date(self, dt: datetime, _info):
        return dt.isoformat(timespec='seconds')

class MyClient(Client):
    def __init__(self, session: ClientSession, txs_url: str) -> None:
        self.base_url = txs_url

    def parse_querystring(model: BaseModel) -> dict[str, str]
        return model.model_dump(mode='json', exclude_unset=True)

    @endpoint('/v1/search')
    async def get_search(self, query_params: Annotated[MySearchFilter, api_ref(unwrap=parse_querystring)]) -> MySearchResults
        ...

client = MyClient(txs_url=...)

filter = MySearchFilter(execution_date__lte: datetime.now(tz=UTC), limit=5, address='0x1234')
results = await client.get_search(query_params=filter)

Thank you for describing your use case in more detail. I wrote a test based on your example to confirm the library works as intended (source: https://github.com/pmateusz/meatie/blob/master/tests/examples/aiohttp/test_pydantic_query.py). Could you review it?
I don't see any issues preventing the use of more complex data types as long as they are paired with the unwrap method that knows how to convert them into dict[str, Any], preferably dict[str, str].

While I admit I don't understand why this is Annotated with api_ref (and not just a direct argument pass), I can confirm this does work!
I ended up subclassing into a FilterModel that has the field serializers (since all of the APIs I work with generally take dates in the same way) that also contains the static method for the unwrap. Thanks for your help.


Index signatures in mapped types override property types

TypeScript Version:  nightly (2.2.0-dev.20161204)
Code
type T1 = {a?: number};
let o1: T1 = {a: 'no'}; // error: Type '{ a: string; }' is not assignable to type 'T1'
let p1: Partial<T1> = {a: 'no'}; // same error

type T2 = {a?: number, [key: string]: any};
let o2: T2 = {a: 'no'}; // error: Type '{ a: string; }' is not assignable to type 'T2'
let p2: Partial<T2> = {a: 'no'}; // ok - expected same error
let p3: {[P in keyof T2]: T2[P]} = {a: 'no'}; // also ok - expected same error

Expected behavior:
Applying Partial<T> to a type T that has an index signature should not modify the expected property types. The issue is the same regardless of whether the properties of T are optional or not and for the identity type mapping {[P in keyof T]: T[P]}.
The problem seems to be that the type mapping elevates the index signature to a higher priority in the mapped type than in the original type.
Actual behavior:
Partial<T & {[key: string]: any}> is identical to {[key: string]: any} for all types T, making Partial useless for types that have an index signature.

keyof T2 is "a" | string and since string subsumes "a" then you are left with string.
the issue here is index signature on a type is a general constraint on "all" properties on the type. it is not meant to apply to "other properties that are not called a". so your type declaration is too loose originally.

In our case, the original type is the Angular IScope which we do not have the option of tightening.
I feel like this is a real problem that would be solved by allowing type mappings to treat index signatures differently. In particular, it's meaningless for Partial to map index signatures.

This is not special to index signatures. the indexes from keyof are just types, and they flow in the system the same way all other type do. from a type system perspective, string is a super type of a literal type "a". and in places where the subtype reduction process takes place, the "a" will always be lost.
this is similar to saying something like var x: "a" | string it is still a string, and so is var x: any | string it is an any.


[CELEBORN-171] Support JDK11.

What changes were proposed in this pull request?
To support JDK11.
I referred the spark patch
https://issues.apache.org/jira/browse/SPARK-24421?page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel&focusedCommentId=16680169#comment-16680169
Why are the changes needed?
Does this PR introduce any user-facing change?
How was this patch tested?

IMO we'd better split this pr into two prs:

Refactor PartitionFileSorter
Support Java11

I'll close this pr and refactor it.


Add in example application with basic Graph.

I set up a new project with Finch today and it was a little difficult. I feel like it would be much easier to be able to look at a boilerplate and get examples or potentially scaffold an entire project.

It would be nice for it to be in typescript and have a codegen setup.


feat: add entry to .gitignore file to ignore hygencook dir

Sets an entry in the gitignore file to ignore the _hygencook directory unless an entry already exists. If a gitignore file does not exist it will be created.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feature: tests: update tests to the new ZTEST APi

@microbuilder PTAL, not sure if this was the intention, but using the ZTEST_SUITE and ZTEST macros made the tests self contained and more organized.


newews() misconfigures the EWS object when username property is set

The email address associated with one's Exchange mailbox is not always equal to said user's username. In such cases, the newews() function failed. Only when this->username is null should we assume we can substitute the email address for the username.

I have added this to the psr-4 branch.


Configuration is not working

I am using this extension from openvsx in OSS Code, specifically version 1.9.0. When I go to the meson tab and click "Meson: Configure", I get the notification on the bottom right that configuration is done. Yet, it isn't done, nothing has happened at all. I can manually force configuration with meson setup $builddir in a terminal, but not via the extension.
I can also do something like
...
my_exe = executable(...)
test('basic', my_exe)

configure via the terminal, then remove that line, click "Meson: Configure", and try to run that test (which the extension thinks is still there despite configuring).
I'm uncertain how to debug this if it's not reproducible, but I'm willing to try given some instructions.
Other info:

OS: Arch Linux
VSCode: OSS Code, specifically https://archlinux.org/packages/community/x86_64/code/
meson: 1.1.0

I think this was fixed by 6ed0fb2fa76f298dc522752792e607f17648ab5d


Support for some optional features

[ ] tls, bool, default false

Set to true if LDAP server should use an encrypted TLS connection, either with StartTLS or regular TLS.

[ ] startTLS, bool, default false

If set to true, instructs this filter to issue a StartTLS request when initializing the connection with the LDAP server. If the startTLS setting is enabled, it is important to ensure that the tls setting is also enabled.

[ ] insecureSkipVerify, bool, default false

When TLS is enabled, the connection to the LDAP server is verified to be secure. This option allows the filter to proceed and operate even for server connections otherwise considered insecure.

If there are any other optional features or requirements you need, welcome to propose relevant suggestions.

oh, I think we better use camelCase arg name.
here is a nice example, as @spacewander has suggested before.
https://plugins.traefik.io/plugins/628c9eb7ffc0cd18356a979c/ldap-auth

[ ]  tls, bool, default false

If set to true, instructs this filter to issue a StartTLS request when initializing the connection with the LDAP server.

Do you mean a regular TLS request? The StartTLS request is different from the TLS one.

Do you mean a regular TLS request? The StartTLS request is different from the TLS one.

Yes, I apologize for the confusion. What I meant is a regular TLS request, which is a request made over a secure TLS connection.

I see


Rename PythonCall annotation to PythonMacro

We don't always specify calls in their call specification. This parameter should be called specification instead. We may also allow it for attributes.

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

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.14.0
GitHub release

Your semantic-release bot :package::rocket:


The extension no longer automatically starts ZLS

As of 0.5.3, the extension no longer automatically starts ZLS when booting up VS Code, and I need to run "Zig Language Server: Start / Restart Server" from the command palette to get it to run.
Downgrading back to 0.5.2 fixes this issue and makes ZLS start automatically, so something introduced in 0.5.3 broke this behavior.
My zig.zls.path and zig.sls.buildRunnerPath options are set to a manual build of the zls repo (master branch), if that matters.

I'm guessing fcc58024c50ee6bfd020978103a86e10f09e0aeb is the cause. Is your zig.path set to ""? In that case setting it to the actual path should function as a workaround. I'll be able to release an update with a fix in a few days.

I have the same issue, setting the zig.path or zig.zls.path doesn't fix it for me, as soon as I switch back to 5.2 with or without paths in the settings the zls server starts.