Add achievement rarity to GameCenter plugin

Objective
Support the rarityPercent property that was added to GKAchievementDescription in iOS 17.0.
Doc: https://developer.apple.com/documentation/gamekit/gkachievementdescription/4273663-raritypercent
Changes

Add rarity_percents to the achievement_descriptions event dictionary and wire the value from the newly introduced property,
Fallback to -1 if the iOS version is below 17.0 or if the achievement doesn't have a rarity percent value (i.e. nil is provided by GameKit).

Testing
Tested with Godot 3.5.0 and iOS 17, fetching achievements that have and do not have rarities.

@Calinou Any interest in taking this one in?

This looks good to me, but CI is failing.

@Calinou @bruvzg Anything else preventing this PR to be merged?


Keras Support

Is your feature request related to a problem? Please describe.
Tensorflow is currently not directly supported by the library.
Since tensorflow allows to fairly easy export the layout of the model via json and yaml, it should be fairly straightforward to implement and encoder that can transform keras-model into a graph of  rfa_toolbox.graph.EnrichedNetworkNode objects.
Describe the solution you'd like
Externally, a function that work analog to create_graph_from_pytorch_model()
Additional context
Behind the scenes, the encoder could operate using the json and yaml export functions of keras-models to extract all necessary information to extract the graph.

Implemented


Fix HTTP/2 CVEs commit - how to work with change

Commit ab44985a9eeb1f664f38d6049a2532d83de7fa18 made it so my upload a file to server code stops at 20-30%.  I found some options that can be changed, but I'm not sure which to change.  Can you give some tips?
in someapp_app.erl in this code:
{ok, _} = cowboy:start_tls(https, [
{port, 8443},
{cacertfile, PrivDir ++ "/ssl/cowboy-ca.crt"},
{certfile, PrivDir ++ "/ssl/server.crt"},
{keyfile, PrivDir ++ "/ssl/server.key"}
], #{env => #{dispatch => Dispatch}})
Is there something I can change in the #{env => #{dispatch => Dispatch}} to allow up to 5 gig size files to be copied to the server?
Thanks

It's probably the max_received_frame_rate option. It is currently too low by default. It will be increased in 2.8.
You can probably make it x10 the default value.
https://ninenines.eu/docs/en/cowboy/2.7/manual/cowboy_http2/

OK.  I did something like this:
#{env => #{dispatch => Dispatch, max_received_frame_rate => {10000,
100000}}}
and it's working again.
Thanks!
On Tue, Jan 7, 2020 at 12:53 AM Loïc Hoguin<EMAIL_ADDRESS>wrote:

It's probably the max_received_frame_rate option. It is currently too low
by default. It will be increased in 2.8.
You can probably make it x10 the default value.
https://ninenines.eu/docs/en/cowboy/2.7/manual/cowboy_http2/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ninenines/cowboy/issues/1433?email_source=notifications&email_token=AACGP6CXTYPUH36TGSFXDULQ4QYF7A5CNFSM4KDRUY22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIAUQA#issuecomment-571476544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACGP6CXXJPLC55RNEV5JUTQ4QYF7ANCNFSM4KDRUY2Q
.

I just tried this and it worked:
#{env => #{dispatch => Dispatch, max_received_frame_rate => {10000, 10000}}}
I'll stick with this.
On Tue, Jan 7, 2020 at 8:15 AM Wes James<EMAIL_ADDRESS>wrote:

OK.  I did something like this:
#{env => #{dispatch => Dispatch, max_received_frame_rate => {10000,
100000}}}
and it's working again.
Thanks!
On Tue, Jan 7, 2020 at 12:53 AM Loïc Hoguin<EMAIL_ADDRESS>wrote:

It's probably the max_received_frame_rate option. It is currently too
low by default. It will be increased in 2.8.
You can probably make it x10 the default value.
https://ninenines.eu/docs/en/cowboy/2.7/manual/cowboy_http2/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ninenines/cowboy/issues/1433?email_source=notifications&email_token=AACGP6CXTYPUH36TGSFXDULQ4QYF7A5CNFSM4KDRUY22YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIIAUQA#issuecomment-571476544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACGP6CXXJPLC55RNEV5JUTQ4QYF7ANCNFSM4KDRUY2Q
.


Add chained handler for multiple bindings;

looks good, please rebase and squash your commits so we can merge it as one commit :+1:


Update PlatformIO demo to LVGL9.1

This pull request updates lv_platformio demo to use lvgl 9.1. The changes that are required are:

Bump lvgl version from 8.2 to 9.1
Remove dependency of lv_drivers. Lvgl 9+ has these included in the main repo under src/drivers
Simplify the SDL demo as the driver in 9+ provides lv_sdl_window_create et.al. which takes care of proper creation and initialization of a window and input devices
Update the demo for the lvgl 8->9 transition (e.g. lv_disp_drv_t -> lv_display_t, lv_indev_drv_t -> lv_indev_t)

NB!: SDL demo has been tested only on MacOS and Linux. I've also updated the STM Discovery demo to compile and very similar code works on other boards, but I don't have that particular board to test.

Awesome, thank you for this PR. Could you take a look at the failing CI? It seem on Mac it needs simply SDL.h.

Pushed an update that fixed the build failure. Looking at previous CI runs,  on x64 MacOS versions PlatformIO somehow managed to find SDL.h and libSDL2.a by itself, but on latest one it did not.
Initially tried adjusting build_flags to conditionally search for the correct paths (similar to what is done for hal/sdl2) but it ended up too convoluted, so used an additional extra_script that does the magic.
Note that it needs to be a 'pre' script, as build_flags cannot be modified by 'post' one - see https://docs.platformio.org/en/latest/scripting/launch_types.html

Awesome! Thank you very much!
I've shared it on LinkedIn too.


Automatic advertisement by IP address.

Feature Request
tikv --advertise-addr=... creates some difficulty to bringing up TiKV because the argument is dependent on the host where it is ran.
Is it possible we can have an alternate option --advertise-ip-address=true? When that option is set, PD will help advertise it by the IP address of TiKV that PD sees.
The work for this would actually be mostly in the PD repo, I can open an issue there.

This was originally suggested by @kolbe

I think this is also a problem for using TiKV with docker compose without host networking.

It seems like this --advertise-ip-address=true behavior should simply be the default if there's no --advertise-addr given. Unless told otherwise, PD will just assume the address TiKV is coming from is the one it should use for TiKV.


LinearEqualityToPenalty converter: accept list of penalty terms as input

Requested Feature
LinearEqualityToPenalty converter only accepts a single scalar input as penalty factor. Better results can be usually obtained by applying higher penalty factors to broken constraints. This requires LinearEqualityToPenalty to accept a list of penalty terms as input, including separate penalty factor for each constraint. If user provides none or a single value for penalty, the already existing process can be followed.
Why?
Once a solution is obtained, it is easy to evaluate the constraints and find the broken ones. Then the penalty terms for those broken constraints can be increased and the problem can be solved again. In the future, Qiskit may implement checking for broken constraints, but for time being this can be done by the user. Anyhow, having a list of penalties as input is mandatory for any iterative tuning.

@TDHTTTT @HassanNaseri
I forgot about this issue and the PR, https://github.com/Qiskit/qiskit-aqua/pull/1322. Is the PR ready? If so, can you make a PR in this qiskit-optimization as well?

@TDHTTTT @HassanNaseri
Are you guys still interested in this issue?

@a-matsuo I am interested. I am already using the feature on my local copy of qiskit. This is a minor change that got complicated. @TDHTTTT can you make a new PR?


New Confluent release to fix config copy/paste bug

New release to fix config copy/paste bug

Tested on a cluster.  All is as expected.  Corresponded with David from Confluent and he agreed to the new versioning scheme.


[Feature Request] :Browser using .net interactive instead of html

We look back in the past, html5 was a decade ago, and in the future when we have webassembly 2 / 3 / 4 / 5 / 6 we are going to look at webassembly right n like it's fossil, which is still on version 1 right now.
So I was thinking about webassembly, and I imagined if we have webassembly replace html for browser to just show stuffs based on a more useful language, but webassembly wouldn't be clear text and I kinda like html being human readable.
I recommend we try a little experiment, make the browser to be able to use any languages for their websites, as long the browser can recognize the kind of language it is for the website the server is serving and go download the compiler for this language that compiles it to run in the browser if it doesn't have the compiler installed yet. Now venders can make their own language and own compilers and people are welcomed to build their websites using whatever their languages are, but the dom api remains (ok maybe you don't need to build a new browser, unless you want to also have nicer dom api, work with google and apple and it's going to happen which is what should be done when you still are the top companies in the world before the landscape of big tech changes when a new start up does this on their own and the stock price for microsoft and other big tech companies drops) and when people open the developer tools in the browser they can see the source code being compiled to the website and they can modify the source code and since we are not using javascript we can actually call it an app which is something we do cool things with which is capable but also unappealing with javascript.

I also think that since there is a common language run time for all the languages that's going to be running on the web, this run time should have access to dom api, then venders can make this api available in their language as a component or a nuget package for c#, which contains the codes needed, for talking to the dom api and now we can have a project type using whatever synctax to represent and develop the presentation (please don't make me use Xamarin's XMAL, doesn't google have their own markup called fluent or something, but then I would really like microsoft to make the next generation XMAL instead and make it modern for 2050 and better)
The dom api package should implement an interface and be used as a dependency, because it's nice that we are building websites but maybe we are building an app out side of the browser tomorrow that doesn't use the same dom api (MAUI could be sticked to html for example) if at all, but the idea of dom is reusable for building AI for any applications, web or crossplatform


ref: (results 1/n) enable tracking original metric when step and epoch are both true

When logging step and epoch, the original metric was lost.
Fixes issues related to certain metrics not being available to be monitored by callbacks.
These PRs break down a much bigger PR to refactor results

Hello @williamFalcon! Thanks for updating this PR.

In the file tests/base/model_train_steps.py:

Line 179:19: E702 multiple statements on one line (semicolon)


Upgrade to React 0.14

Looks like the react google charts refers to deprecated methods in React 0.14. Opening an issue to track migration

Please Subscribe to Issue #13. Closing this as duplicate.
Cheers!


Review Foreign Key Processing during ingestion.

While ingesting foreign key constraint we do ES lookup to find the referred table's FQN https://github.com/open-metadata/OpenMetadata/blob/b2ce491ff1c2e473222b006a9e1c1915ed537e87/ingestion/src/metadata/ingestion/source/database/common_db_source.py#L539
because we do not get the database name of the FK from sqlalchemy dialect. This may lead into multiple issues, it may produce incorrect versioning in case the ES did not populate, also the FK information only gets reflected after the 2nd run.
To solve this we can modify/patch the SQA dialects, and grab the information about the database as well, for example snowflake stores the fk db name, once we have all the ingredients to generate FQN we will not have to make a call to ES, and FK can reflect from the first run itself.

I will work on this.


added error handler if .gitconfig is missing; fixes #90

fixes #90

Yes? No? Maybe?

Can somebody please review this! Thx!

LGTM!

I AM SO SORRY 🙀🙀🙀

@notwaldorf All good :balloon:


Deleted rosdep rules EOL - RPI

Hi, I notice that there was deleted ubuntu focal dependency i last commit by @tfoote. If it's intentional, is it necessary to edit sources.list.d now?
(changes in last commit, line 4508 in python.yaml: https://github.com/ros/rosdistro/commit/59517bc9c4241f16ede721aff4878f5ab1b748b4#diff-d8721f41777cc41754c7a34c95d1ef9c8f6fbce7575d129bcbcd32383cde667bL4508)

That looks like an over match in the regex cleanup. If you're using it please submit a PR to add it back.
python-rpi.gpio-pip:
  debian:
    pip:
      packages: [RPi.GPIO]
  fedora:
    pip:
      packages: [RPi.GPIO]
  ubuntu:
    pip:
      packages: [RPi.GPIO]

I'm not sure if i do it in recommended way, but there is a link to PR: #36891


Not able to attch certificate on SOAP call

Hi,
We are able to hit the endpoint from the SOAP UI and getting the proper response. But when we are trying to access the same endpoint using our codebase(using proxy ref) we are getting “Authication failure” message. As per our understanding we able to send the certificate along with the proxy call. We have tried most of the google findings but still no luck.  if you have any suggestion please let us know.
Regards,
Aniket

Let's get the issue to a team who will fix and backport it, as this repository is only for issues related to the AL compiler in latest developer preview environment for Dynamics 365 Business Central. We suggest that you open a support case or file a bug in Collaborate, to ensure that all Business Central users benefit from your catch as soon as possible.
To open a support case, you can:

Open a support request to CSS through the PartnerSource portal
Contact your Service Account Manager (SAM) in your local subsidiary to understand what is included in your contract as of support incident and PAH (Partner Advisory Hours). Your SAM might also direct you "step by step" how to open a support request or how to get credentials, if this is the first time for you or your company

If you file the bug in Collaborate, remember to include steps to reproduce the issue, and the Business Central build number and country version you're using.


Error while compiling...  Absent file 'src/arslogistic/arms.c', needed by `arslogistic'

Hi,
Following is the output of my make:
R CMD SHLIB src/C/util.c src/C/factor_model_util.c src/C/pagerank.c src/C/hierarchical.c src/C/factor_model_multicontext.c src/C/factor_model_util2.cpp -o lib/c_funcs.so
make[1]: Entering directory /home/Desktop/Latent-Factor-Models-master' make[1]: Nothing to be done forall'.
make[1]: Leaving directory /home/Desktop/Latent-Factor-Models-master' make: *** No rule to make targetsrc/arslogistic/arms.c', needed by `arslogistic'.  Stop.
Should there be an arms.c somewhere?
Thanks!

Please follow these steps:
(1) Download arms_method.zip from http://www1.maths.leeds.ac.uk/~wally.gilks/adaptive.rejection/web_page/Welcome.html
(look for C code)
(2) Unzip arms_method.zip and put arms.c and arms.h into src/arslogistic

That worked! Thank you!

Followed these steps, but got the "src/arslogistic/arsspline.c:95:6: error: conflicting types for 'ARSLOGISTICSPLINE'" error
I had to add the header #include "arsspline.h" in arsspline.c to fix it


Add IP-Geolocation

I also have this UDF which is a wrapper for the MaxMind GeoIP databases (http://dev.maxmind.com/geoip/legacy/geolite/).  I'm happy to contribute them to this, however before I do that I need some assistance with something.
These functions depend on the binary database file.  Right now, the path is hardcoded in the UDF.  Forgive my ignorance here (me != java dev) but what would be the best way to include the file and some sort of relative path to that file?
https://github.com/cgivre/drill-geoip-functions

Charles,
Isn't this best kept as a UDF?

Hi Ted,
Sorry, I wasn't clear.  I had the set of UDFs that I'd like to submit (as
UDFs) to the final PCAP package if there's interest.  I'd like to keep them
as functions, as it would hurt performance to geo-locate every IP.
-- C
On Thu, Apr 27, 2017 at 12:56 PM, Ted Dunning<EMAIL_ADDRESS>wrote:

Charles,
Isn't this best kept as a UDF?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mapr-demos/drill-pcap-format/issues/15#issuecomment-297775132,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFQfvj6Ad_YwN61ItkCrjSxtmb87WouEks5r0MijgaJpZM4NFSe_
.

Let's get them in separately. Their utility isn't bound together with the
PCAP stuff.
On Thu, Apr 27, 2017 at 10:07 AM, Charles S. Givre<EMAIL_ADDRESS>
wrote:

Hi Ted,
Sorry, I wasn't clear. I had the set of UDFs that I'd like to submit (as
UDFs) to the final PCAP package if there's interest. I'd like to keep them
as functions, as it would hurt performance to geo-locate every IP.
-- C
On Thu, Apr 27, 2017 at 12:56 PM, Ted Dunning<EMAIL_ADDRESS>wrote:

Charles,
Isn't this best kept as a UDF?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/mapr-demos/drill-pcap-format/issues/15#issuecomment-
297775132>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFQfvj6Ad_
YwN61ItkCrjSxtmb87WouEks5r0MijgaJpZM4NFSe_>
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/mapr-demos/drill-pcap-format/issues/15#issuecomment-297778106,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPSeklyq5SojSYFGNCUMvFpX5R-eSwBks5r0MtJgaJpZM4NFSe_
.

out of the scope of this project.


Breakpoints are ignored in packages

Hi @DonJayamanne ! :smile:

VSCode Version: 1.6.1
OS Version: Manjaro KDE Ellada 16.08

Steps to Reproduce: (when breakpoints are ignored)

Make a project with package myawesomepackage
Install Java Debugger in VSCode
Configure launch.json and tasks.json
Create breakpoints
Execute the debugger

Only Java Debugger exist for java debugging, and works very well. :+1:
When I try to debug netbeans | eclipse | mvn projects I just setup my launch.json and tasks.json in .vscode. But the brekpoints are ignored when a package is used for the project.
With package
I can debug the code by step but the breakpoints are ignored.

Without package
I fixed temporally removing the package line, then setup new classpath directory in launch.json and tasks.json

Maybe related? #1 #11 but my issue is when java package exist.
Bye! :raising_hand_man:

@faustinoaq Ah yes! I am having all the same experiences! I like how issues can be referenced! The above is the same for me.

Hi @faustinoaq ,how do you configure the build task?And this is my configuration:
tasks.json
{
    "version": "0.1.0",
    "command": "javac",
    "isShellCommand": true,
    "showOutput": "always",
    "isWatching": true,
    "suppressTaskName": true,
    "jdkPath": "/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin",
    "tasks": [
        {
            "taskName": "build",
            "args": ["-g", "${file}"]
        }
    ]
}

launch.json
{
  "version": "0.2.0",
  "configurations": [
    {
      "name": "Java",
      "type": "java",
      "request": "launch",
      "stopOnEntry": true,
      "jdkPath": "/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin",
      "cwd": "${workspaceRoot}",
      "startupClass": "${fileBasename}",
      "options": [
        "-classpath",
        "${workspaceRoot}"
      ]
    }
  ]
}

I don't have the package.the problem is could not find or load main class XXX(the java file name)

@sunnyliujing see my comment

ok I had a little look at this, but I'm by no means a JS/TS dev so I'm not sure how to fix it.
it looks like when registering the breakpoints with JDB its only giving it the class name and not the full qualified name with the package name.
I think its in main.ts around line 282 where it is trunkating the name to the base class name, but i would need to do more reading to work out what that needs changing to

Same problem here.
When i start debug it stops at the very first code line, i can walk trough all code by steps using F10 and F11, but i can´t use resume because the breakpoints are ignored.

Setting the "sourcepath" in launch.json fixes it for me. see #23

Hi @tcsx Thanks you for the suggestion but setting the sourcepath dont work for me.
Can you give a repo example where you use package and breakpoints works?

I found the problem. Is like @ThePhilderbeast said.
Breakpoints don't work in packages because setBreakPointsRequest generate className from path and ignore if the program is inside a package.
You can see the code here : L282
If I hardcode my className inside extension then breakpoints works well.

I fixed my issue using className = `${className.toLowerCase()}.${className}`; to follow Netbeans Project pattern where by default package name is the lowercase of the main class.

Perhaps a solutions is #25 However is hard to determine package because depent of project structure: maven, eclipse, netbeans, intellij, etc.

this isn't fixed so probably shouldn't be closed.

Yeah, I hacked the extension a bit, i 'll keep this issue open


Support for Pythia in Cluster mode

Right now Pythia is only tested in standalone mode, we need to ensure that Pythia can work as as a service in a k8s cluster and can be scaled to handle the volume of traces in production.
This means that the multiple Pythia containers might be running at the same time and we need to ensure that they don't step on each other and end up processing the same traces
Which means the pythia containers need to figure out how to co-ordinate amongst each other maybe using a distributed key value store like https://etcd.io/ ?

I took a look at the https://etcd.io/  project and for me look a little bit complicated maybe will be easier to use something like RabbitMq?  Anyway this change will require us to have a producer that will read unique traces from jaeger and put them to the queue/database, a consumer and also the service for queen or db.
This part will require some work but the gain will be processing power for traces using multiple consumers.


Incorrect Check Version Command

under the section 'How to check eraser version is using?'
kubectl get configmap -n kube-system eraser-manager-config | grep tag -C 3

should be
kubectl get configmap -n kube-system eraser-manager-config  -o yaml | grep tag -C 3

or
kubectl describe configmap -n kube-system eraser-manager-config | grep tag -C 3

otherwise , no results will be returned.
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: abf71794-7a2a-bc5c-1791-057dcbc33128
Version Independent ID: 389578e5-68f5-c634-875f-b9d991a251a7
Content: Use Image Cleaner on Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/image-cleaner.md
Service: azure-kubernetes-service
GitHub Login: @Nickomang
Microsoft Alias: nickoman

@tshaiman
Thanks for your feedback! We will investigate and update as appropriate.

@tshaiman
Thanks for reporting this! We have created a PR for this issue once the author will review and approve the changes should go live soon.


python310Packages.kiss-headers: 2.3.0 -> 2.3.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.kiss-headers is: "Python package for HTTP/1.1 style headers"
meta.homepage for python310Packages.kiss-headers is: "https://github.com/Ousret/kiss-headers"
meta.changelog for python310Packages.kiss-headers is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2.3.1 with grep in /nix/store/wkl1a56dsjqrvfajaskdjvgwgl02h7cf-python3.10-kiss-headers-2.3.1

found 2.3.1 in filename of file in /nix/store/wkl1a56dsjqrvfajaskdjvgwgl02h7cf-python3.10-kiss-headers-2.3.1

Rebuild report (if merged into master) (click to expand)

5 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
2 x86_64-darwin rebuild(s)

First fifty rebuilds by attrpath
cobang
python310Packages.kiss-headers
python39Packages.kiss-headers

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wkl1a56dsjqrvfajaskdjvgwgl02h7cf-python3.10-kiss-headers-2.3.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.kiss-headers https://github.com/r-ryantm/nixpkgs/archive/cc4c0bb4c6368db95555c4d7705359fcf472399e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wkl1a56dsjqrvfajaskdjvgwgl02h7cf-python3.10-kiss-headers-2.3.1
ls -la /nix/store/wkl1a56dsjqrvfajaskdjvgwgl02h7cf-python3.10-kiss-headers-2.3.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

cobang
python310Packages.kiss-headers
python39Packages.kiss-headers

Maintainer pings
cc @wolfangaukang for testing.

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

3 packages built:

cobang
python310Packages.kiss-headers
python39Packages.kiss-headers


I would like to know how to perform evaluation using the SGD dataset.

I see "Evaluation function call prediction in SGD dataset." listed under the evaluation section. Could you please provide a script to perform the same evaluation?
Thank you!

@khai-meetkai @jeffreymeetkai
Could you please take a moment to look into it and provide some feedback or direction?
Thank you very much for your time and assistance.

Hi, as of now, we have not decided when we will be releasing the data for evaluation. We will inform you when we release the data with the evaluation scripts. Apologies for any inconvenience caused and thank you for the request.


Class 'MongoDB\Driver\WriteConcern' not found

Hi, I'm having this problem with my project.
I've read some questions about this, but I can't solve it.
Fatal error: Class 'MongoDB\Driver\WriteConcern' not found in C:\xampp\htdocs.....
Message: Class 'MongoDB\WriteConcern' not found
Can you help me, please?
I'm using the version 1.1.3

Hi
Do you can solve this problem?
Can you help me?

do you can solve this problem?
Anyone?

Yes
I use other version of library and it is working good now
But i forgot where is other version of this library
I sent email to owner library email and he said how solve it

Its because Xampp doesn't come with mongodb driver/extension, you need to seprately download and install it.
Here is a video on that https://www.youtube.com/watch?v=r4NZ79uHJ1s


Rule evaluations results are scattered (deduplication)?

Query-HA:

On normal query it looks better, but somehow cannot access the newest data:

Ok, we found potential reason: We are randomly choosing all queries -> so we randomly scraped either deduplicated data and not.. This is why resulted data are extremely weird!

@fabxc we should add to the docs that all queries available from gossip should be equal.
Added issue to enabled no-dedup queries.


Standard extra Add a parallel branch option.

Describe the Bug with repro steps
1.Create a LA in standard and add stateful workflow.
2.Add http trigger and add parallelly compose action.
Actual: Extra add a parallel branch option.

Expected: Only add an action should be present.
Workflow JSON
No response
Screenshots or Videos
No response
Browser
Chrome
Additional context
Environmental Details:
URL: https://aka.ms/emastaging-flowstip1
Version : 2.30410.1.3

Was fixed with https://github.com/Azure/LogicAppsUX/pull/2002


[INCREASED HUB ACTIVITY] UofToronto

Summary

In https://2i2c.freshdesk.com/a/tickets/930 an expected increased activity over the next few months is being reported for https://jupyter.utoronto.ca, related to STA130 at UofT, which has ~576 students.
Event Info
There are multiple triggers for the increased hub activity as specified in the https://2i2c.freshdesk.com/a/tickets/930 ticket:

~576 students who will be working on (python) JuypterHub starting Sept 11 from Monday-Thursday for weekly Thursday 5 PM ET assignments (and perhaps a few irregular submission dates as well)
work on the course project will begin on Oct 13, with deadlines of Oct 16, Nov 3, and Nov 13;
a final project due date of Dec 7, which will necessitate increased JupyterHub usage from the period of approximately Nov 20 through Dec 7th

Additional info

The estimated required memory usage of this project is about 2MB

Hub info

Hub URL:  https://jupyter.utoronto.ca
Hub decommisioned after event?:  No

I have assigned @yuvipanda to lightly monitor next week's event given that he will be rotating through support during the start date (Sep 11th).

We didn't have to do anything yay.


usePropsFor conditional compilation

What

Adds conditional compilation to usePropsFor and selectors
Why

Allows us to conditionally compile out selectors for new components that might need them.

How Tested

Built locally, will export the repo to sample app to validate functionality of button is still happy
added type assertions to make sure the correct types come back from usePropsFor for different components

This PR should no longer be required. Can we close it?

no longer needed closing for now 😊


Investigate Scheme 3 Data-Recording Issue

The way in which scheme 3 records user interactions seems to be off. We should look more into this, and fix if needed.

This issue seemed to fix itself when I fixed the data-recording subcollection problem, issue #197. Since this is the case, I will be closing this issue.


[Feature Request]: Support metadata filters in OpenSearchVectorStore and use opensearch-py

Feature Description
The OpenSearchVectorStore is fairly bare bones and behind Langchain's implementation.  We need pre-filtering at the very least, and should be using opensearch-py
OpenSearch is an important vector store because it can be obtained from Amazon as a service, which makes it easier to experiment with cloud-based vector search at larger companies with information-security restrictions (that already have AWS as a vendor).
I will submit a PR for this, but just making the issue for visibility.
Reason
No response
Value of Feature
No response

Thanks for raising this and the contribution! 🙏


Error popup

I just installed the plug-in, but I still get an error when I don’t know how to use it.Please help.

Hello liujvnes,
this message is from ComfyUI. Looks like the node "Foooocus" has a problem.
The task has probably not been created correctly. Can you send it to me?
Currently the task creation is a bit difficult, I will adjust this sometime.
Otherwise you can activate the debug mode and see what the request looks like that LaizyPainter sends to ComfyUI.
https://github.com/DimaChaichan/LAizypainter?tab=readme-ov-file#debug-mode
Best regards

Hello liujvnes, this message is from ComfyUI. Looks like the node "Foooocus" has a problem. The task has probably not been created correctly. Can you send it to me?
Currently the task creation is a bit difficult, I will adjust this sometime. Otherwise you can activate the debug mode and see what the request looks like that LaizyPainter sends to ComfyUI. https://github.com/DimaChaichan/LAizypainter?tab=readme-ov-file#debug-mode
Best regards
fooocus_api.json

Hello liujvnes,
the json file looks correct at first glance. As I don't have your setup I can't test it. Try to make an API Comfy call : https://github.com/comfyanonymous/ComfyUI/blob/master/script_examples/basic_api_example.py
It may be that the Fooocus_node has problems with the API call. Then you have to contact the developer of the Fooocus_node.
Best regards


Model Does Not Appear As Expected in Google Model Viewer Compared to Other Viewers

I am having issues loading a GLB model with animations into the model viewer. When loading the model, it is just a white screen with nothing on it.

The warning error that was shown here does mention that there is a node with a skinned mesh that is not root, but that shouldn't be causing this type of issue in the model viewer.

When I take that same exported GLB into another model viewer, like Babylon, then the model appears as expected with the animation playing properly.

For reference, here are the components of the model within Blender:

When I place the model in another Google product like Google Poly, then the viewer is also initially blank, but when zoomed out, we start to see a large version of the model that is then clipped by the camera.

When launched in AR, this model similarly looks huge in comparison to what it should be in a normal viewer.

This is very strange that a viewer like Babylon was able to interpret the GLB correctly, but the model viewer here looks like it is either picking up a lingering default pose of the model, or just breaking a connection within the rig, which then breaks the model.
Browser Affected
[ X ] Chrome
OS
[ X ] Android
I can confirm that this model was created in meters and that there shouldn't be anything upscaling it to the degree that it is. In other viewers, the model looks exactly as expected and doesn't get blown up.

I cleared other earlier errors by exporting out only joints that were being used by the mesh. This outstanding error I have pictured was considered a semantic issue in the documentation and leads to only a warning flag vs an error flag. The warning itself also mentions that the parent transforms would not affect the skin mesh, which leads me to believe that it would cause something in my rig to not move vs. move at all, which is not the issue I've been encountering.

I'm happy to help clear that error, but the Blender file that the model is in is clean, so it's confusing where this issue is coming from since Google model viewer is where I'm having issues with it.

Here are my current export settings as well:

Any additional help would be appreciated!
Originally posted by @samdelara in https://github.com/google/model-viewer/discussions/2051#discussioncomment-419822

Please don't cross-post, it makes discussions much more difficult to follow. We pay just as much attention to discussions as to issues.

Please don't cross-post, it makes discussions much more difficult to follow. We pay just as much attention to discussions as to issues.

So sorry! I wasn't sure if discussions were also looked at like issues were. Won't happen again!

hello there!
did you solve it? having the same issue .. and don't know if is it a export settings problem or how to fix it..


Rivagan only supports 32 bits watermark now

Hi!
Thanks for your great work! How can I train a Rivagan that supports a 64-bit watermark?

Thanks for your great work again! For this question, I've already gotten my answer here.

Thanks for your great work again! For this question, I've already gotten my answer here.

Hi, do you know how to train the a 64-bit image watermark? The link seems like a video watermark and they did not provide the neural network pth file.


File input operator that emits the lines of the file

Ready to use implementation, refer MLHR-1858. @chandnisingh see

This is the order I have been using for a while
all java/javax
com
net
org
org.apache
gnu
com.datatorrent.lib
com.datatorrent.contrib
com.datatorrent.api
static imports
Why do you have org before com. com is more common than org.

Till now everyone has been using different order. This is a common one  which is  default Eclipse formatter configuration. The style for Malhar and Apex needs to be same.

What is the . imports in your list. Also is there a rationale for the eclipse order. For example the java/javax classes are more fundamental and are at beginning, why are the static imports before that, if there is a static inner class within a static import it could have name collision with java.* classes.

Some of us have been following this order from the start. I believe Netbeans is similar except the placement of static imports. Static imports are for members (static fields and methods)  of a class. I don't understand your point of name collision as those will result in compilation error and resolved at the time of writing code.
Also I am not sure if  the import order that you are proposing follows the order of most common package to least common package.
And isn't this discussion a little late? We have added the checks to Apex already. APEX-16 mentioned all the checkstyle rules being applied

You can also import inner classes with a static wildcard import. These would come before more fundamental classes which is contrary to the goal. The order is from more fundamental/lower level to more higher level.
The discussion is a little late and I think I missed the original discussion. Its too late to change it. Are these not enabled on malhar yet as I didn't see checkstyle errors.

Changed order to what you suggested but we should seriously take another look/discuss the order if there was no specific analysis done the first time around.

I don't see much value in doing that analysis. Static import documentation itself says to use it very sparingly.
https://docs.oracle.com/javase/1.5.0/docs/guide/language/static-import.html
So we should actually try avoiding static wildcard imports and moreover each of the popular IDE has different default placement for it. Eclibse - top, Intellij - bottom, Netbeans - doesn't differentiate between static and non-static.
So IMHO we just need to adopt one and follow that which we did.

Chandni - just a remark about "discussion is a little late". It's never too late. You have gotten the pass to discuss an issue a few months after the discussion had closed and it's only fair that others get the consistent treatment.
Pramod has made all the valid points. "Eclipse does it in some way" is not a valid argument. If it were so, we would not need other editors or other plugins. That said this is why I have always had a recommended order which most of the files I wrote have and I believe you also followed at some point:
The order is defined by our ability to influence the change in the package/class/code. The more we are in control of changing code, the lower the position of the package is in the import order. The idea being if there is ever a conflict we change the lower ordered code.
java,javax are global, backward compatible so go at the top. We never can modify these classes.
datatorrent packages are completely adaptable so go at the bottom.
In between, argument is to be made between org, gnu, com, net and we use our best judgement. Still I recommend that we follow alphabetical order except for com:
gnu
net
org
com - here because com is in most cases is likely to be less proliferated.
A quick glance at java source code will reveal that static import is reasonably common even for "java developers" and there is not a set pattern. Some of them use at the top, some at the bottom, some intermingled before the group or after the group. So static imports are here regardless of recommendation and people use it. Even though I use Netbeans, I do not follow Netbeans order (not sure if it has recommendation for one). There is another plugin called "organize imports" which is what I use to define custom ordering and it does allow various options and the one which looks properly grouped and aesthetically pleasing is putting static imports in alphabetical order at the bottom of the group to which the import would belong if it was not static.
Of course this is just one way of doing things but use the one which suits the most of you and keep the feedback channels open. There is no time expiry on a good idea.

@243826  About "You have gotten the pass to discuss an issue a few months after the discussion had closed and it's only fair that others get the consistent treatment."
I think you are just drawing parallels  between completely different discussions.
Moreover the main contention to re-opening the discussion you are referring to was that it was very hard to debug Mocha tests that takes developers time.
Here we just adopt a rule and enforce consistency. Good coding practices dictate using static imports sparingly so why should we spend  more time and effort in finding which is the best suitable place for it and debate about it.

Chandni if things are fine with the rest of it can you review it


paper？

I very like this paper！ I want this paper！

Update the article link and readme after publication.


Add fixed-step methods: RK TVD orders 2, 3 from Shu and Osher

Since you mentioned in fortran-lang.discourse that you are open to PRs, I went ahead and implemented two fixed-step RK TVD methods from Shu and Osher. These methods are classics, so I think it is worth having them in your lib.
I hope I made all the necessary updates, including the readme file. If I forgot something, please let me know.
I noticed that the performance tests show no significant difference between 2nd and 3rd or 4th and 5th order. That is weird, but then I suppose this is somehow a mathematical feature of the test problem?
I named the methods rktvd2 and rktvd3, but I am not sure this is the optimal choice. For reference/inspiration, the corresponding methods in DifferentialEquations.jl are named SSPRK22 and SSPRK33.

Great! Thanks! I merged it in. I'm ok with the names if you are.


Update scala-library, scala-reflect to 2.13.5

Updates

org.scala-lang:scala-library
org.scala-lang:scala-reflect

from 2.13.3 to 2.13.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-lang" } ]

labels: library-update, semver-patch

Superseded by #1379.


[Draft] Improved tree shaking code

Draft
This is a draft to improve tree shaking when bundling typia.
I created this PR to get early feedback.
When I have more time I will provide an example how I use this combined with a esbuild plugin to bundle typia automatically and that it tree shakes everything that it doesn't need.
Code changes:

Replaced namespace name {} with export * as namespaceName from "./name".
Added /** @__PURE__ */ to some exports that has Object.assign.

Example
I bundled the code below with esbuild and I was able to compress the bundle from 69827 characters down to 5804 (-92%). We also need to add "sideEffects": false to ret and randexp package.json files. I've made a PR to randexp but have to make another for ret.
import { IValidation, tags, validate } from "typia";

const res: IValidation<IMember> = validate<IMember>({
  id: 5, // wrong, must be string (uuid)
  age: 20.75, // wrong, not integer
  email<EMAIL_ADDRESS>});

if (!res.success) console.log(res.errors);

interface IMember {
  id: string & tags.Format<"uuid">;
  email: string & tags.Format<"email">;
  age: number
  & tags.Type<"uint32">
  & tags.ExclusiveMinimum<19>
  & tags.Maximum<100>;
}

Thanks for contribution, but bundled size is increased from 11.2kb to 11.5kb.

<EMAIL_ADDRESS><EMAIL_ADDRESS>
However, it seems like you're expert at the package bundling. I'm considering another bundling diet way through require() function. What about changing typia to generate require() function instead of using the namespace like below? If this way works, it may possible to diet near to the 0 byte.
// CURRENT
const $guard = typia_1.default.json.createAssertStringify.guard;

// HOW ABOUT THIS ONE?
const $guard = require("typia/lib/functional/$guard").$guard;

@samchon That is a even better improvements but requires a lot of rewriting. 🙂
The npm package might got bigger from my changes but when you try to bundle this as a dependency into a single file using tools like esbuild than you will see massive improvements. I need this when I write AWS lambda functions to improve performance.
I think you still need to consider tree shaking when you call functions in the root scope by Object.assign.

<EMAIL_ADDRESS>Succeeded to adjust the require function calling.
Bundling size dramatically reduced, and it would be suitable for the tree shaking.
I'll publish your PR as v5.3.12 version after detailed testing, and require statement version to be v6.
Thanks for contribution.

What do you think to extract the helpers into a separate library? What I read in some of the issues were that you couldn't have ESM output because ts-patch had some issues?
According to this comment.
https://github.com/samchon/typia/issues/752#issuecomment-1683044268
Is the ts-patch only used for the transformer? If so then we could have two seperate packages like @typia/core (dependency) containing the helper functions and @typia/typescript-plugin-transformer (devDependency). Then production builds only contains the helpers and not the actual compiler plugin.
One thing that I didn't tell was that I use a ESM output from typia but only the helpers. That is the last thing I needed to get dead code elimination to work.

This is my draft for esbuild plugin that intercept typescript files containing strings of "typia" or typia. It transpiles them using the normal typescript compiler then passes the result to esbuild so it could do the dead code elimination.
It probably needs some more love before I would consider it stable.
const typiaPlugin = (
  {
    tsconfigPath,
    cwd = process.cwd(),
    nodeModulesPath = path.join(cwd, "node_modules"),
  }: TypiaPluginOptions = {}
): esbuild.Plugin => ({
  name: "typia",
  setup(build) {
    const files: Record<string, string> = {};
    let loadedConfig = {};
    let baseDir = cwd;
    const fileName = ts.findConfigFile(
      cwd,
      ts.sys.fileExists,
      tsconfigPath
    );
    if (tsconfigPath !== undefined && !fileName) throw new Error(`Failed to open '${fileName}'`);
    if (fileName) {
      const text = ts.sys.readFile(fileName);
      if (text === undefined) throw new Error(`failed to read '${fileName}'`);

      const result = ts.parseConfigFileTextToJson(fileName, text);

      if (result.error !== undefined) throw new Error(`failed to parse '${fileName}'`);

      loadedConfig = result.config;
      baseDir = path.dirname(fileName);
    }
    const parsedConfig = ts.parseJsonConfigFileContent(
      loadedConfig,
      ts.sys,
      baseDir
    );

    // Rewrite to ESM files from typescript
    build.onLoad({ filter: /node_modules\/typia\/lib\/index\.js$/ }, async (args) => {
      const fileName = path.join(nodeModulesPath, "typia", "src", "index.ts");
      const contents = await fs.readFile(fileName, "utf8");
      return { contents, loader: "ts", resolveDir: path.dirname(fileName) };
    });

    // Look for strings in TypeScript containging "typia" or 'typia' and compile them.
    build.onLoad({ filter: /\.([cm]?ts|tsx)$/, namespace: "file" }, async (args) => {
      const source = await fs.readFile(args.path, "utf8");
      if (!/(["'])typia\1/.test(source)) return undefined;
      const program = ts.createProgram([args.path], parsedConfig.options);
      const sourceFile = program.getSourceFile(args.path);
      let contents;
      program.emit(sourceFile, (fileName, compiledSource) => {
        contents = compiledSource
      });
      return { contents, loader: "js" };
    });
  },
});

If above plugin code works, it would be nice. Thanks for research.
It is okay to publiish by your own package like typia-esbuild-plugin, and also okay to sending a PR to making a namespaced module @typia/esbuild-plugin (or better name) into the packages directory.
Also in the esbuild plugin case, no need to setup the ts-patch, so that ESM problem would not be happened.

Yes the plugins works. There might be some issues in watch mode but I will take a look at that. For instance if the "type" that is consumed by Typia is written in another file. I don't think it will rebuild then.

It doesn't include the source maps right but I will fix that too.

const createValidateDecodePure = /** @__PURE__ */ Object.assign<
  typeof createValidateDecode,
  {},
  {}
>(
  createValidateDecode,
  /** @__PURE__ */ Namespace.validate(),
  /** @__PURE__ */ Namespace.protobuf.decode("createValidateDecode"),
);
export { createValidateDecodePure as createValidateDecode };

@EloB Changed like above to hide namespace nested functions in the declaration files.
It seems all things are ready and if you agree, I'll publish it.

@samchon Thanks mate for such fast feedback, reviewing and merging. I don't know if you noticed my last push/commit there. I made a change to use the correct reference in the Object.assign. The dead code elimination in esbuild were to aggressive and were removing code that shouldn't be removed. The last commit corrected that so dead code elimination works as expected now.
Also want to thank you for this amazing tool/plugin/library! I'm really impressed what you have achieved.
Another interesting find
I discovered it's better to use typia like this if you want proper dead code elimination.
// Good, allowed proper dead code elimination.
import { is, tags } from "typia";

// Good, allowed proper dead code elimination.
import * as typia from "typia";

// Bad, was including everything in my bundle.
import typia from "typia";

// Bad, was including everything in my bundle.
import typia, { is, tags } from "typia";

Still on my wishlist


field_size

col-sm-{{ field_size|default:10 }}

I have a situation with this part of template. This value "field_size" in clean envronment is displayed correctly (field_size = 2) in "Contact" , but im  my production with same python and django versions but with installed many other modules (eggs) is displayed differently (field_size = 1).
I can't find where this value is stored or calculated.

this is setup in django-formaldehyde. maybe there is some other django app that defines this ?

Ok, i putted necessary value in settings.py and now is fixed.


engine: fix some bogus tests

Hello @maiamcc, @landism,
Please review the following commits I made in branch nicks/skip:
bff7bb485b3031b5bbf11521b313c15b1309f8bd (2018-09-26 15:17:33 -0400)
engine: fix some bogus tests

well, the test wasn't getting run because of the Skip(), and then when i removed the Skip() it was failing...


fix(Error Status): fixes bug where --help and --version return non-ze…

…ro exit code
Closes #333

@homu r+
Also, I have a big refactor of how errors are handled which I'm about to submit a PR for...so this will actually be moot shortly.

:pushpin: Commit 89b51fd has been approved by kbknapp

:hourglass: Testing commit 89b51fd with merge acf3f75...

:sunny: Test successful - status


community: fix imports to work with the latest version (YandexGPT)

community: fix of Yandex GPT integration.
After version v0.263.0 Yandex modified file names a bit so when using ChatYandexGPT or YandexGPTEmbeddings the following error (caused by unsuccessful imports like these) always occurs:
ImportError: Please install YandexCloud SDK with pip install yandexcloud or upgrade it to recent version.
The error cannot be solved by upgrading yandexcloud, but rather by downgrading. This PR fixes the imports for chat and embedding models (according to v0.267.0 so that the latest version of yandexcloud works properly).
New tests or documentation are not needed.
Twitter: @egor_krash

will this break the integration for anyone using older versions of yandex?

It will raise the same error as above with the message Please install YandexCloud SDK with pip install yandexcloud or upgrade it to recent version. which now seems more logical. Or it might be worth creating a check for the current version and making imports accordingly. Let me know what you think @baskaryan

believe #19341 fixes issue in a backwards compatible way. closing this pr but let me know if i'm missing something!

Hi there.
I'm on langchain==0.1.13
Yandex Embedding crashed with
ModuleNotFoundError: No module named 'yandex.cloud.ai.foundation_models.v1.foundation_models_service_pb2'
I have to figure out concrete version via blame
pip install yandexcloud==0.248.0
@tyumentsev4, wondering if there is a chance to improve usability of this library.

Hi there. I'm on langchain==0.1.13 Yandex Embedding crashed with ModuleNotFoundError: No module named 'yandex.cloud.ai.foundation_models.v1.foundation_models_service_pb2' I have to figure out concrete version via blame pip install yandexcloud==0.248.0 @tyumentsev4, wondering if there is a chance to improve usability of this library.

Hi Mikhail,
I guess the fix has already been pushed to the master, it should be released anytime soon.


Tree-mending breaks monaco-editor on Mac

The following code (https://github.com/microsoft/vscode/blob/main/src/vs/workbench/browser/parts/editor/editor.contribution.ts#L326-L337) breaks the demo and any monaco-editor on Mac once tree-mending was invoked. It works fine on Linux and Windows as the code path below is not taken. Quickest way to re-produce on a non-Mac is to replace isMacintosh with true. As you can see below I built a virtual Mac with Qemu/KVM (thanks to https://github.com/kholia/OSX-KVM) on Ubuntu/WSL (nested virtualization!) to re-produce the issue and find and understand the root-cause. 🤯
if (isMacintosh) {
    MenuRegistry.appendMenuItem(MenuId.TouchBarContext, {
        command: { id: NavigateBackwardsAction.ID, title: NavigateBackwardsAction.LABEL, icon: { dark: ( FileAccess.asFileUri('vs/workbench/browser/parts/editor/media/back-tb.png')) } },
        group: 'navigation',
        order: 0
    });
    MenuRegistry.appendMenuItem(MenuId.TouchBarContext, {
        command: { id: NavigateForwardAction.ID, title: NavigateForwardAction.LABEL, icon: { dark: ( FileAccess.asFileUri('vs/workbench/browser/parts/editor/media/forward-tb.png')) } },
        group: 'navigation',
        order: 1
    });
}

Tree mending introduced changes network.js that makes them use asFileUri and asBrowserUri which both expect window.monacoRequire to be existent. This above code path is taken as soon as you import
import * as monaco from 'monaco-editor/esm/vs/editor/editor.api'

Importing assets.js manually beforehand is a workaround, but it is not a fix.
What I don't yet understand who should be responsible for defining this function in vscode itself (I mean the application).. Ok, it relies on require/NodeRequire to be present.
Must this library embed monaco-editor completely, so we can ensure pre-conditions or lifecycle or should something extra code be added to treemending patch?

It's not related to the treemending I think, the crashing code is inside this library dist folder
It's already fixed in the next open PRs, I've backported the changed into https://github.com/CodinGame/monaco-vscode-api/pull/114
feel free to approve and merge if it's ok for you

It's not related to the treemending I think, the crashing code is inside this library dist folder

The treemending patch brings back the code in network.js in monaco-editor that now produces the error. Previously this was handled by the polyfill if I understand it correctly.


(wip) feat: add keyboard shortcut to buttons

📝 Summary

Fixes #633 . Buttons can now have shortcuts by declaring them
mo.ui.button(label='Add', value=0, on_click=lambda x: x + 1, keyboard_shortcut="Cmd-L")
Still WIP, deciding on hotkeys parsing, the react hook used.
🔍 Description of Changes

Adds a global listener for keyboard shortcuts when declared on a button, prevents default action
Uses the default hotkeys parsing
Adds a default tooltip for the keyboard shortcut

📋 Checklist

[X] I have read the contributor guidelines.
[ ] For large changes, or changes that affect the public API: this change was discussed or approved through an issue, on Discord, or the community discussions (Please provide a link if applicable).
[ ] I have added tests for the changes made.
[X] I have run the code and verified that it works as expected.

📜 Reviewers

@akshayka OR @mscolnick

thx for the comments. One more thing, the keyboard shortcuts should be universal right? Right now it only caters to certain combos.
We will need a function similar to https://github.com/adriangalilea/streamlit-shortcuts/blob/b2978ba52abd6e3e49089090aa53cb00a0f0dd60/src/streamlit_shortcuts/streamlit_shortcuts.py#L22

@Light2Dark yea I think universal makes sense as a default and can get more feedback.

For the normalize shortcuts, feel free to include that in this PR. We may also want to normalize the separator + and -, or validate.
Maybe worth some tests

I think it's ready @mscolnick , do you know why the dagger pipeline is failing? All the tests seem to pass 🤔


Internal Server Error

hello~
When i take a test in https://render-tron.appspot.com/ for my website http://laravel.suhanyu.top/
it's repsponse is:

Internal Server Error

Hi,
I couldn't reproduce this. Did you try 'Take a screenshot' or 'Render and serialize'?

Perhaps the netwrok problems few days ago.But now is ok.
Thank you!

No problemo 😄


Avoid using pickle files

To work most easily with Python 2 and 3, OG-USA should avoid using pickle files whenever possible. While one can read pickle files created in Python 2 into Python 3 with little modification to the code, reading those created in 3 into 2 is difficult (and maybe not possible).
Instead, we should use JSON files.
This includes:

Tax function parameter estimates (which is a dictionary of numpy arrays and other objects)
SS results (a dictionary of numpy arrays)
TPI results (a dictionary of numpy arrays)

Reading and writing from/to JSON files should work well straight forwardly for this.

In the nopickle branch, I've completed:

[x] Tax function parameter estimates (which is a dictionary of numpy arrays and other objects)
[x] SS results (a dictionary of numpy arrays)
[x] TPI results (a dictionary of numpy arrays)

All of these changes were relatively straightforward.  However, in these cases there is not significant Python 2 to 3 problem since the files are generally created and used in the same run of the model.
The data used for unit tests is saved as pickle files as well and those are more likely to run into conversion issues.  However, these pickle files have many (and sometimes very large) data objects , often of different type, saved in them.  Fixing this would be good, but would be a time consuming endeavor.

Closing this issue.  The tests data not includes more complex objects like custom classes and it would be hard to avoid using pickle files.


Today it stopped working

I don't know precisely how today I can't get orders from amazon using this library. Sourcecode didn't change.
$amz = new AmazonOrderList("xxxxxx"); //store name matches the array key in the config file
 $amz->setLimits('Modified', "- 96 hours"); //accepts either specific timestamps or relative times
 $amz->setFulfillmentChannelFilter("MFN"); //no Amazon-fulfilled orders
 $amz->setOrderStatusFilter(
                array("Unshipped", "PartiallyShipped", "Canceled", "Unfulfillable")
                ); //no shipped or pending orders

 $amz->setUseToken(); //tells the object to automatically use tokens right away
 $amz->fetchOrders(); //this is what actually sends the request

What error message are you getting? And is the problem still occurring? Sometimes Amazon performs maintenance on a service, but I can't be sure that this is the case unless I know what the error message is.

@g-alfieri Is there any update on this? Did you get it working again?

I am going to assume that the problem was not an issue with the library and was taken care of.


Homestead Port Forwarding

http://laravel.com/docs/5.1/homestead
The documentation states that port forwarding should be in this format in Homestead.yaml file:
ports:
- send: 93000
to: 9300
This is incorrect.
It has to be in this format to work:
ports:
- host: 93000
guest: 9300
That is because in homestead.rb file the code is this:
# Add Custom Ports From Configuration
if settings.has_key?("ports")
  settings["ports"].each do |port|
    config.vm.network "forwarded_port", guest: port["guest"], host: port["host"], protocol: port["protocol"] ||= "tcp"
  end
end

Please send a PR then.


[Android] Paste from keyboard clipboard button

Hello! excellent contribution, thank you very much!
Any chance to prevent paste from keyboard clipboard button

So I was looking into this, and found that gboard does not actually emit a paste event but rather types directly in the input box, so this sort of behavior cannot be prevented :S
That said, if images are to be paste, it does emit the paste event as it should.

I fixed same issue with samsung keyboadrd.
You need file PasteInputEditText.kt in lib.
Then you should find  onCreateInputConnection, and change
 EditorInfoCompat.setContentMimeTypes(outAttrs, arrayOf<String>("*/*"))
TO
EditorInfoCompat.setContentMimeTypes(outAttrs,
      arrayOf("image/gif", "image/*", "image/jpg", "image/png", "image/webp"))


Operator名変更

Operator名のConstをLiteralに変更した。

Codecov Report

Merging #49 (1bdb9a1) into main (714cd19) will not change coverage.
The diff coverage is 0.00%.

@@           Coverage Diff           @@
##             main      #49   +/-   ##
=======================================
  Coverage   10.73%   10.73%
=======================================
  Files          12       12
  Lines        3903     3903
=======================================
  Hits          419      419
  Misses       3454     3454
  Partials       30       30

Impacted Files
Coverage Δ

operator.go
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 714cd19...1bdb9a1. Read the comment docs.


Fix various line-height styles

Fix #26537
Use the same default line-height as "normalize.css" instead of "1". "1" is not right because it doesn't work with descent part and causes overflow problems.

Maybe normal is also a good default, but I see this 1.15 even survived into modern-normalize.
https://developer.mozilla.org/en-US/docs/Web/CSS/line-height
https://github.com/sindresorhus/modern-normalize/blob/c997a1e1d37aadbf9b6bc46ed396e7d9ebc8632f/modern-normalize.css#L29


Flutter run keeps installing latest archive version after distribution to App Store Connect

So far I've tried cleaning Android Studio's cache and restarting, uninstalling the app from the simulator, erasing all contents and settings and restarting the simulator, changing version name and build number in XCode. Nothing has worked so far.
Update
Running directly from XCode works, running from Android Studio will keep installing the ghost version.
Steps to Reproduce

Follow stept-by-step guide at https://flutter.dev/docs/deployment/ios
Deploy build to App Store Connect
Make any change to your app's code
Run your project

Target Platform: iOS 11
Target OS version/browser: iOS 11
Devices: IPhone 11 Pro Max (Simulator running on MacOS Mojave 10.14.4)
Logs
Full logs:
wrong_build_log.txt
Added logs in file above

Flutter analyze
Analyzing ivan_assistant...

   info • 'fromAsset' is deprecated and shouldn't be used • lib/ui/pages/map/map_page.dart:164:34 • deprecated_member_use
   info • 'fromAsset' is deprecated and shouldn't be used • lib/ui/pages/map/map_page.dart:188:34 • deprecated_member_use
   info • The value of the field '_photoBloc' isn't used • lib/ui/pages/photo/photo_detail_view.dart:11:13 • unused_field
warning • The parameter 'onPressed' is required • lib/ui/pages/photo/photo_detail_view.dart:60:26 • missing_required_param
warning • The parameter 'onPressed' is required • lib/ui/pages/photo/photo_detail_view.dart:64:26 • missing_required_param
warning • The parameter 'onPressed' is required • lib/ui/pages/photo/photo_detail_view.dart:68:26 • missing_required_param
warning • The parameter 'onPressed' is required • lib/ui/pages/photo/photo_page.dart:32:22 • missing_required_param

7 issues found. (ran in 4.4s)

Flutter doctor
[✓] Flutter (Channel unknown, v1.9.1+hotfix.2, on Mac OS X 10.14.4 18E226, locale en-CL)
    • Flutter version 1.9.1+hotfix.2 at /Users/felipemedeiros/Development/flutter
    • Framework revision 2d2a1ffec9 (5 weeks ago), 2019-09-06 18:39:49 -0700
    • Engine revision b863200c37
    • Dart version 2.5.0

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/felipemedeiros/Library/Android/sdk/
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.0)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.0, Build version 11A420a
    • CocoaPods version 1.6.1

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 39.0.3
    • Dart plugin version 191.8423
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] Connected device (1 available)
    • iPhone 11 Pro Max • 6F1E95A3-C37D-4698-ABF4-754BBED548BC • ios • com.apple.CoreSimulator.SimRuntime.iOS-13-0 (simulator)

• No issues found!

You mean you are editing your dart code, but aren't seeing the changes when you deploy to the simulator?
It seems to really be re-building.
[        ] executing: [/Users/felipemedeiros/StudioProjects/IVAN/ivan_assistant/ios/] /usr/bin/env xcrun xcodebuild -configuration Debug VERBOSE_SCRIPT_LOGGING=YES -workspace Runner.xcworkspace -scheme Runner BUILD_DIR=/Users/felipemedeiros/StudioProjects/IVAN/ivan_assistant/build/ios -sdk iphonesimulator -arch x86_64 FLUTTER_SUPPRESS_ANALYTICS=true COMPILER_INDEX_STORE_ENABLE=NO
...
[   +1 ms] Syncing files to device iPhone 11 Pro Max...

I suspect you are hitting some version of https://github.com/flutter/flutter/issues/24641.
Can you try a flutter clean and then re-run?

@jmagman Yes, exactly. From what I've found so far this may be an issue from the Android Studio plugin.
Running directly from XCode works fine
Running from CL with flutter run works fine
Running from Android Studio ('Run' button) will keep installing ghost version
Even if running flutter clean and invalidating caches and restarting Android Studio is trying to install some version from another dimension.

I think it will be ok to move it to intellij-idea repo


Recommended way to conda install pytorch, torchaudio, and ffmpeg without conflicts

I would like to build a linux-64 conda environment containing the following:

pytorch
torchaudio
ffmpeg at a recent version (I actually use ffmpeg via pyav, so it must be a recent version to allow using a recent python version)

The following approach results in a conflict:
$ CONDA_SUBDIR=linux-64 CONDA_CHANNEL_PRIORITY=strict conda create --name test -c pytorch -c conda-forge pytorch torchaudio 'ffmpeg>5'
[...]
LibMambaUnsatisfiableError: Encountered problems while solving:
  - package ffmpeg-5.1.2-lgpl_hd27bd3a_6 is excluded by strict repo priority

Because an old version of ffmpeg is available in the pytorch channel, so strict channel priority (recommended by conda https://docs.conda.io/projects/conda/en/latest/user-guide/tasks/manage-channels.html#strict-channel-priority) prevents using a lower priority channel.
torchaudio is not available in conda-forge so I need both channels. If I make the conda-forge channel higher priority than the pytorch channel then I end up with pytorch and torchaudio from different channels, which causes errors at runtime.
It seems like the only way to achieve this is to use flexible channel priority rather than strict, but conda discourage this and plan to make strict the default in future. Do you have any recommendations?

To avoid the conflict, can you install ffmpeg separately with the channel overridden, after creating the conda environment? Also note that the officially distributed TorchAudio binaries are not compatible with ffmpeg>5 — if compatibility is a requirement, please build TorchAudio from source (https://pytorch.org/audio/main/installation.html#optional-dependencies).

Installing ffmpeg afterwards isn't great for me, as then I can't define my conda requirements in a single file (I'm using conda-lock for this).
Thanks for the heads up about ffmpeg compatibility. I hadn't actually been aware that ffmpeg was an optional dependency of torchaudio, I'm using pyav separately and not using torchaudio.io so hopefully that won't be a problem.
It sounds like for now flexible channel priority might be the best option for me.

TorchAudio supporting FFmpeg5 is one thing I am planning to address, but the dual use of PyAV makes the thing complicated.
I doubt that installing separate FFmpeg would help. PyAV uses its own FFmpeg, therefore if you try to load another FFmpeg libraries after importing PyAV, I think the application will crash due to the duplicated symbols from FFmpeg. Therefore I do not think it is really a solution to install torchaudio with supported FFmepg alongside PyAV. I think one way to work around is to build torchaudio by linking against the FFmpeg bundled with PyAV.

We have updated the ffmpeg version to 5 in nightly build. Hopefully it will resolve in the next release.
But we cannot guarantee the compatibility with ffmpeg shipped with PyAV.

Thanks!


Re-initialize book contents after editing

Call initializeContents and trigger the onDidChangeData tree view event.
Previously, we called the fireBookRefresh but due to the debounce decorator the only book that was refreshed was the second one.
This PR fixes #14235

Pull Request Test Coverage Report for Build 560162655

5 of 10 (50.0%)  changed or added relevant lines in 1 file are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.002%) to 43.495%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/book/bookTreeView.ts
5
10
50.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

extensions/notebook/src/book/bookTreeView.ts
1
46.22%

Totals

Change from base Build 560144177:
-0.002%

Covered Lines:
24939

Relevant Lines:
52516

💛  - Coveralls


Plugin should hide headers optionally --no-headers

Make plugin behave just like --no-headers flag removes headers from kubectl output.

Merged to master. Will go out in next release.


ReverseDecorator missing "self" in implementation.

Seems like the ReverseDecorator currently lacks the "self" input to the .decorate function.

Thank you!


Feature Request

Hello,
Thank you for this best tool, I have a feature request about dragging 2-auth codes from up to down. e.g if i have 2 auth code added name ABC which shows in the top when i click on extension, so i wanted to move that down below to DEF and i want to move DEF on the top. I hope you understand it.
Thank you!

Do you mean if your list is like this before drag:
ABC
AAA
BBB
DEF
CCC

And after drag, it is like:
AAA
BBB
DEF
ABC
CCC

Do I understand correctly?

Yes, that's correct.

The latest version (v5.0.6) works as you want. The latest version is still in public preview, and will be pushed to all users days later.
This project has moved to https://github.com/Authenticator-Extension/Authenticator, please open new issues there if you have any other question.


Process Request Parsing fails if Archival Object has no Instance

Describe the bug
When an Archival Object in ASpace has no Instance, it can be indexed by DIMES, but adding it to My List causes an error when Request Broker parses the object.
is_submittable() assumes the preferred_instance format must be able to be lowercased.
https://github.com/RockefellerArchiveCenter/request_broker/blob/6578e594973679133e023b72ad23f3b5ec2e6a20/process_request/routines.py#L112C14-L112C50
But, get_preferred_format() allows for the case where there is no instances, and all properties are set to None.
https://github.com/RockefellerArchiveCenter/request_broker/blob/6578e594973679133e023b72ad23f3b5ec2e6a20/process_request/helpers.py#L162-L171
To reproduce
Steps to reproduce the behavior:

Create an ASpace object with no instance
Add the object to My List
Open My List
See error.

Expected behavior
Graceful failure, or no failure in the case where an Archival Object has no Instance.
Error message or screenshots
There was an error fetching data.

The request to https://[requst-broker.DOMAIN]/api/process-request/parse failed.

To report this problem, send us an email at archives-ref@[DOMAIN].

Error message:

ERR_BAD_RESPONSE: Request failed with status code 500

{"detail":"'NoneType' object has no attribute 'lower'"}

Request data:

{"item":"/repositories/10/archival_objects/515357"}

Impact on your work
This presents a failure message to the end user.
Additional context
Initially I wondered if this should be considered a data error, but the code allows for the condition of None being passed through, and it seems like we want these object to be indexed.

Initially I was super confused because this is a scenario that is accounted for in is_submittable (see https://github.com/ulsdevteam/request_broker/blob/main/process_request/routines.py#L104-L105) and is also tested (https://github.com/ulsdevteam/request_broker/blob/main/process_request/tests.py#L275-L280).
However, I was able to reproduce this, and what's happening here is that the strip_tags method is converting None into 'None' (i.e. a string) so in cases where there's no instances you get a preferred_instances dict that looks like:
{'format': None, 'container': 'None', 'subcontainer': 'None', 'location': 'None', 'barcode': None, 'uri': None}

I'm thinking the cleanest way to handle this is just to add a check in strip_tags so that if the user_string is None to just return it?

Yes, that makes sense to me.


[PERF] Improve SMTP performance

This change set proposes a 38% performance improvement for the
following workload (reduced CPU usage):
smtp-source -A -C100 -r 1 -l 500000 -m 5000 -s 20 -d -c -f<EMAIL_ADDRESS>-M other.com -t<EMAIL_ADDRESS>localhost:25

Rationals:

Submitted emails are read line by line and a couple of session
scoped values where retrieved from session attachment for each line:
mail size, header reached, etc. This causes not cheap HashMap reads
for each email line. This can easily be replaced by
getters/setters on the SMTP session to save the map read/writes.
The data was accessed with the following transformation chain:
ByteBuf -> NIO byte buffer -> byte[]. But expensive reference
counting is triggered by Netty under the hood. Doing directly
ByteBuf -> byte[] prevents this.
SMTP commands metric was incremented on each body line (!) which
also incurs a performance hit.
Immutable handlers where retrieved on each request while we could
save them to fields to avoid re-computation.
Avoid re-parsing charset.
Use Deque::peekFirst instead of Iterables::getFirst when looking
up for line overrides (same than IMAP).
Compute debug logs only if needed.
Fasten slightly parsing SMTP parameters

This can be seen in the follwoing flame graph:
smtp-cpu.zip

After

ssmcpu.zip

https://ci-builds.apache.org/job/james/job/ApacheJames/job/PR-1030/5/testReport/?cloudbees-analytics-link=scm-reporting%2Ftests%2Ffailed
I think those failed tests are related to this PR, please check


Add source hooks

Source plugins are hard, because they have to be loaded before the rest of the gemfile can even be evaluated. To begin with, let's require that source plugins must have no dependencies, and must be declared a different way:

# this type option maps to the plugin named "bundler-source-svn"
source "svn://svnhub.com/name/repo", type: "svn" do
  gem "my-cool-gem"
end

We can evaluate the Gemfile once with only the source method defined, looking for type arguments so that we know what source plugins need to be downloaded, installed, and loaded before we can evaluate the entire Gemfile. We will still need to handle cases like --local when the source plugin isn't installed.

Source plugins will need to register themselves with Bundler, but we're not yet sure where the hooks are. Extracting the Path and Git code into source plugins that are simply included with Bundler would be a good start.

Done in https://github.com/bundler/bundler/pull/4674


BUG FAQs

Describe the bug

FAQ test is very large and it is not matching with other texts in the website, as for a user friendly website the whole website should follow a pattern. Even it can be wriiten in one sentence instead of breaking it i.e enlarging its width (It will save the space).
Expected behavior

I will make sure the FAQs follow a pattern.
Screenshots (Mandatory)

Additional Context (Mandatory )
Are you contributing under any open-source program ?

GSSoC'24

@sharmi4590 this is a good issue .but i am not assigning you this right now As you already been assigned previous 2 issues .try to complete those at first

Hey @apu52 Since I completed the last two issues , could you assign me this.

@sharmi4590 u are assigned.


Split authenticate into separate overridable function

This PR splits the user authentication in the AssertionConsumerServiceView into a separate function that can be overridden separately. No functionality has been changed.
We've been using this library for a long time and have multiple IdPs that we connect to. Unfortunately that means we sometimes get duplicate user records created, where the same individual has accounts with more than one IdP. We're changing our flow to incorporate merging records together, but as part of that we need users to authenticate with their IdP for the second record / email address we will merge with. We want this to complete without them automatically then logging in to that account.
The cleanest way we can see to do this would be to override just the user authentication part of the post method of the AssertionConsumerServiceView meaning that we are confident that the user controls the account but we keep the user from their first auth available. This change means that we don't have to work around it with overrides to the backend and the handle_acs_failure methods, which would be possible but inelegant.
This small change would allow our flow to work tidily and be easy to understand. We appreciate any feedback you may have.
/cc @jafacakes2011 @lgarvey

Please can I ask you to increase the version number here as well?
https://github.com/IdentityPython/djangosaml2/blob/master/setup.py#L30
I don't see this as an additional feature, so I'd go for 1.5.7, but feel free to give your suggestions also for this

Absolutely - and yes agree it's not a feature; I've bumped it to 1.5.7
Thanks!


[ResourceManager] Remove subscription cache when get api version for GenericResource

Thi is the fix for issue #38154
The issue is about when we get a GenericResource under subscprtion, a GetApiVersion() operation will be called, this method will use cached ResourceProviderCollection (which consumes subscription id) if exists.
Then if we put a wrong subscription id at fist place, it will always fail on the Api version verify step.
This fix removes cache logic. It maybe not the best apporach, feel free to bring up any new ideas.

API change check
API changes are not detected in this pull request.


Implement auth and permissions caching

Auth backend might be actually remote thus auth request might take significant time espessialy on publish/subscribe request due to permissions lookup and math.
Need some interface AuthCache provided as option to each auth provider.
Implementation should cache only successful auth requests. Form of storing might be like that:
username:
auth: allow
permissions: []array of successful permissions
Each cache entry might be invalidated

Hi, I'm the author of Casbin. It is an authorization library that supports models like ACL, RBAC, ABAC.
Related to RBAC, Casbin has several advantages:

roles can be cascaded, aka roles can have roles.
support resource roles, so users have their roles and resource have their roles too. role = group here.
the permission assignments (or policy in casbin's language) can be persisted in files or database.

Casbin can also easily support authorization decision cache easily.
So please consider using Casbin when surgemq implements auth security. Also let me know if there's any question:)

@hsluoyz thanks a lot for pointing this out. I'll take a look


merge schism-dev/feature/schism into noaa-ocs-modeling/feature/schism

related: https://github.com/noaa-ocs-modeling/CoastalApp/issues/102

Please merge with new config files for DE/DKRZ/Levante HPC


Installation Windows 10

I have got this error while installing:
  Installing build dependencies ... done
    Complete output from command python setup.py egg_info:
    INFO:root:Building on Windows requires extra options to setup.py to locate needed GDAL files. More information is available in the README.
    ERROR: A GDAL API version must be specified. Provide a path to gdal-config using a GDAL_CONFIG environment variable or use a GDAL_VERSION environment variable.

    ----------------------------------------
Command "python setup.py egg_info" failed with error code 1 in C:\Users\Shakur\AppData\Local\Temp\pip-install-swfgy9pe\rasterio\

I am using Windows 10. Anaconda Environment.

@shakasom that error comes from install rasterio, which needs GDAL and a C compiler installed if you want to install it with pip from source on Windows.
But since you are using Anaconda, you can install pre-built packages with conda: eg conda install rasterio.
Contextily itself is also available on the conda-forge channel, so you can install this with conda as conda install contextily --channel conda-forge

I have already Rasterio installed in my Anaconda environment. Tried reinstalling Rasterio and then Contextily but that did not work either. I used the conda installation and it is working now.


[Docathon][Add API Legend No.19]+添加图例至paddle.scatter

添加了scatter的操作过程图示和对应描述文字
@sunzhongkai588
@FeixLiu

 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.

英文文档已提交
request地址  https://github.com/PaddlePaddle/Paddle/pull/69749
@sunzhongkai588


Add recipe to ClimWIP

Description
This PR adds an additional recipe to the ClimWIP diagnostic with reproduces (part of) the results from an earlier study (Brunner et al. 2019) as proposed in #2105. There are still some open design questions that need resolving, I will discuss those below.

Closes #2105
Link to documentation:

Before you get started

[x] ☝ Create an issue to discuss what you are going to do

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 Code is written according to the code quality guidelines
[ ] 🛠 Documentation is available
[ ] 🛠 Tests run successfully
[ ] 🛠 The list of authors is up to date
[ ] 🛠 Any changed dependencies have been added or removed correctly
[ ] 🛠 All checks below this pull request were successful

New or updated recipe/diagnostic

[ ] 🧪 Recipe runs successfully
[ ] 🧪 Recipe is well documented
[ ] 🧪 Figure(s) and data look as expected from literature
[ ] 🛠 Provenance information has been added

I reckon you're still working on this? If not, you can mark it ready for review.

Additional discussion:
Different regions: The original study looks at 8 European sub-regions, I've reduced them to 4 as the other 4 were very experimental and should not be used without careful evaluation.

[ ] Decide how to represent these regions

[ ] 4 different recipes
[ ] all in one recipe (requires the pre-processor to run 4 times - slow)
[ ] all in one recipe but all but one option commented out (current version)

Documentation: The current documentation focuses on explaining the core functionality of ClimWIP and how to write a basic recipe. This needs to be updated to also include this recipe.

[ ] Decide how to structure the documentation

[ ] If possible: add another level of headings

-ClimWIP
  |-Basic functionality and testing
    |-Overview
    |-... (current level 2 headings)
  |-Brunner et al. (2019)
  |-additional recipes to come...

[ ] Append the documentation to the existing one
[ ] Restructure the entire documentation and integrate documentation directly

I reckon you're still working on this? If not, you can mark it ready for review.

Yes and no. There are open questions where I'd be happy for feedback. Can you comment on the code already or do I need to hit the ready for review button?

* Decide how to represent these regions

I guess it depends on the diagnostic. If the results for the different regions need to be combined in one plot, then you would need a single recipe. If you don't, I would go for 4 different recipes. Although in that case, I would actually just add one recipe, and document how it can be changed in order to analyze a different region. Does that make sense?

* Decide how to represent these regions

I guess it depends on the diagnostic. If the results for the different regions need to be combined in one plot, then you would need a single recipe. If you don't, I would go for 4 different recipes. Although in that case, I would actually just add one recipe, and document how it can be changed in order to analyze a different region. Does that make sense?

Yes totally. I would say the idea here is to provide a template how to recreate the weights from the paper and there is no need to create a combined plot. This is basically what I have now I guess. Are you okay with commented lines (representing the other cases) in the recipe? As of now I would leave them in and describe what lines have to be changed to get each of the options from the paper.

Works fine with the shapefiles for MED, except the map looks not good, but I guess it needs #2107
Can we provide the shapefiles (at least for MED as this is the example we use here) somehow in ESMValTool? e.g. as in recipes/examples/recipe_extract_shape.yml?

Can we provide the shapefiles (at least for MED as this is the example we use here) somehow in ESMValTool?

Maybe @nielsdrost has some idea about that? Otherwise the best I can come up with is to upload them somewhere (maybe as a gist?) and then link to them in the documentation for this recipe.

About the shape files: I more and more get the feeling that it should be possible to include them in the diagnostic.
I've updated to use region ids
    extract_shape:
    shapefile: shapefiles/srex.shp
    decomposed: True
    method: contains
    crop: true
    ids:
      - 'South Europe/Mediterranean [MED:13]'

so we would only need one file for all SREX regions and the files are quite small
ls -hl srex.*
-rw-r--r-- 1 lukbrunn wheel 4.1K Jun 25  2015 srex.dbf
-rw-r--r-- 1 lukbrunn wheel  132 Jun 25  2015 srex.prj
-rw-r--r-- 1 lukbrunn wheel 4.6K Jun 25  2015 srex.shp
-rw-r--r-- 1 lukbrunn wheel  364 Jun 25  2015 srex.shx

These I've downloaded these from http://www.ipcc-data.org/guidelines/pages/ar5_regions.html
The only disadvantage in using this file directly is that it seems it requires the long name (South Europe/Mediterranean [MED:13]) instead of the more common abbreviations (MED) as ID.

Can we provide the shapefiles (at least for MED as this is the example we use here) somehow in ESMValTool?

Maybe @nielsdrost has some idea about that? Otherwise the best I can come up with is to upload them somewhere (maybe as a gist?) and then link to them in the documentation for this recipe.

Since they are so tiny perhaps simply include them with the diagnostic? Once ESMValCore gains support for named regions through https://github.com/ESMValGroup/ESMValCore/issues/758 we can migrate to using that.

Since they are so tiny perhaps simply include them with the diagnostic? Once ESMValCore gains support for named regions through ESMValGroup/ESMValCore#758 we can migrate to using that.

Thanks for the feedback @nielsdrost! I think this is my preferred approach as well at the moment. Is there a way of including them that will work without any further steps? Currently the file is located in my auxiliary data folder set in the config and this is where line in the recipe finds it:
shapefile: shapefiles/srex.shp

So I could now check it into a folder alongside the recipe but this would then require the user to copy it from there to their aux data folder, right? I guess ideally this would work without the user having to any additional copying? But if this is they way to do it its also fine, I was just wondering.

The diagnostic, as opposed to the recipe, has a dedicated folder. So I'd put it there, and then provide clear instructions (maybe even a direct download link to the file from github) on how to download it and where to store it. (Note that it doesn't need to be in the aux data dir per se, if you use an absolute path in the recipe.)

Hi @Peter9192 this is slowly getting into a form where I'm happy with it from a science perspective. @ruthlorenz said she will have a look at the documentation in the next couple of days.
If you have time could you look at the CI error? I don't really understand it. We get the same one in #2120. extract_shape should have the kwarg ids

If you have time could you look at the CI error? I don't really understand it. We get the same one in #2120. extract_shape should have the kwarg ids

It seems that the ids argument was added only recently, in https://github.com/ESMValGroup/ESMValCore/pull/764. The test is still using an older version of ESMValCore (esmvalcore=2.2.0=py_0).

I'm guessing it's related to https://github.com/ESMValGroup/ESMValTool/issues/2126

thanks for looking into that!

@ESMValGroup/esmvaltool-coreteam can you help us solve the CI issue?
The PR uses a new feature from https://github.com/ESMValGroup/ESMValCore/pull/764, where the ids argument was added to extract_shape. However, the tests complain that this is not a valid argument. Are they using an old version of ESMValCore? Is this something we can solve in this PR?

the CI tests are running against an old esmvalcore, if you install the latest esmvalcore from the master development branch, tests pass fine. This is happening because in the CI environment esmvalcore is installed from conda as the released package and I don't think the ID's PR went in before the release?

yeah no, the ID's stuff went in 12 March, we released 2.2.0 February 9th :+1:

@valeriupredoi thanks, so this is intended, and the solution is just to wait for the next release of the core?
I might have misunderstood that the container that runs the tests is the development version of the core...

Just to follow up on this (and so that I know what to do with this on my todo list): we have to wait for the next core release? @valeriupredoi

Yes, I thought I had now written this down in the developer documentation, but I cannot find it at the moment. The ESMValTool repo uses the latest released version of ESMValCore in order to provide a stable development environment to diagnostics developers. That way we have the freedom to make changes to the ESMValCore quickly, without worrying too much about breaking everything for everyone, as we'll probably catch the problem before making the next ESMValCore release.

You might want to add this pull request to the v2.3 milestone, to make sure it is visible.

ping @Peter9192 @valeriupredoi
I guess this should have worked now? It still fails with the same error though...

Here is the logfile from my run with 2.3.0
main_log.txt

You need to pull in ESMValCore 2.3 as a dependency, that will only work #2200 has been merged into main and you merge main into this branch.

@ESMValGroup/esmvaltool-coreteam this PR is ready for merge 👍

@ESMValGroup/esmvaltool-coreteam this PR is ready for merge 👍

Done!


Fix typo in readme

Hi @domoritz,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Display module landscape

The first step for the module landscape page is to be able to see the module dependencies (with a minimum cost for contributors). This page will then be used to chose multiple modules and apply them in one go.
I started a display on "fake" data, that looks like this

After looking for graph libraries I can't find anything I as happy with (either not the good features or bad licenses or bad packaging...) I ended up drawing this wit ha svg (generated in the JHlite vue app).
Now I have to find a way to generate the needed data on the backend...

This is related to https://github.com/jhipster/jhipster-lite/issues/1666 as this is the first feature creating a hierarchy between modules.
So I'll have to build the whole hierarchy in this PR BUT it's not a good idea since we also need automated test to ensure that those hierarchy are good (but we have to start that somewhere...).


Missing code for ODIN

In ODIN's code, args.correlation_with_length appears in the README.md, but it doesn't appear in other Python scripts or bash files.
Did the author forget to push the code of this part into this repo? I'm wondering about the detailed implementation of calculating Pearson correlation on the entire batch. This part of code seems to have relationship with args.correlation_with_length and is also missing in this repo.
Below are the calculation of Pearson correlation mentioned in ODIN's paper. Thanks a lot for answering!

Sorry for the confusions! Please check the version here: https://github.com/Lichang-Chen/RLHF-Reward-Modeling/blob/odin/odin/gemma_two_head.py. I also pull request to merge the code into the main branch. Let me know if you have further questions.


Step 15 in tutorial doesn't advance

This is an extremely minor issue but as a developer this is the kind of stuff I don't notice and wish people would report instead of complaining to their peers.
In Functions, functors, functoids, funky the last step is to type (1,"George"). If you put a space between the comma and double quote [(1, "George")] the lesson doesn't advance. To this point everything else seems to advance without this level of accuracy.
Hope this helps! This is day one of my journey and I have to admit that this is the most friendly tutorial I've experienced in my programming career. Well done!

As I move on it seems to be hit or miss requiring exact syntax. The biggest example is the quiz in Step 23; I put let (_,(x:_)) = (10,"abc") in x but it required let (_,(a:_)) = (10,"abc") in a. I'll write future occurrences and  if you want them I'll post them. I don't want to be listing each one if you deem this a low priority.


CP: Throw error when plural case had undefined behavior (#116622)

Fixes https://github.com/flutter/flutter/issues/119385
Cherrypick of https://github.com/flutter/flutter/pull/116622

All of the CI failures look to me like infra-issues related to the branch point, and not the change in question, except possibly customer_testing:
>> flutter analyze --no-fatal-infos
| Analyzing tests...
|
|   error • The method 'toleranceFor' isn't defined for the type '_SnappingScrollPhysics' • lib/pages/home.dart:985:23 • undefined_method
|
| 1 issue found. (ran in 23.7s)
ERROR: One or more tests from flutter_gallery failed.
Deleting temporary directory...
Contact<EMAIL_ADDRESS>
I'll check if this had to be fixed upstream around the time the original fix landed.


Move llmclient components out of internal packages

Would it be possible to make the llm implementation specific clients public? For example I would like to use pieces of the openaiclient rather than being forced to use the higher level openai LLM.

Realized I can accomplish what I want via CallOptions. Apologies for the noise.


[3pts] Write Testing for Recipe list - Team A

[ ] Write unit and integration test for app model, controller and view


Updated for more types (like integers...) and vectors of inputs

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (e754ef7) 91.89% compared to head (79fd7d4) 84.31%.

Files
Patch %
Lines

src/TemperatureCalculation.jl
50.00%
3 Missing :warning:

src/ResistancesITS90PT.jl
95.83%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   91.89%   84.31%   -7.58%
==========================================
  Files           6        6
  Lines          74      102      +28
==========================================
+ Hits           68       86      +18
- Misses          6       16      +10

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


✨ remote file downloading

✨ remote file downloading

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket: