fix(clustermesh): mesh connection mode

There is a bug on cilium cli during clustermesh connection of some clusters, example of command:
cilium clustermesh connect --destination-context kindB,kindC,kindD,kindE --connection-mode mesh
This bug only appears in Mesh connection mode, the helm upgrade command did not apply the correct Helm values to the clusters.
For example:
cluster A helm values => Cluster A (no issue in the current context)
cluster B helm values => Cluster C
cluster C helm values => Cluster B
cluster D helm values => Cluster E
cluster E helm values => Cluster D
It fixes into:
cluster A helm values => Cluster A
cluster B helm values => Cluster B
cluster C helm values => Cluster C
cluster D helm values => Cluster D
cluster E helm values => Cluster E
The bug is: https://github.com/cilium/cilium/blob/main/cilium-cli/clustermesh/clustermesh.go#L1682
The issue was caused by adding Helm values to a list during a loop over a map in Mesh connection mode. Since a map is unordered, this led to Helm values being randomly applied to remote clusters.
To fix this, I changed the Helm values list to a Helm values map, where each cluster name maps to its Helm values (for both Mesh and Bidirectional modes). This ensures that the correct Helm values are applied to the appropriate cluster.
Please ensure your pull request adheres to the following guidelines:

[x] For first time contributors, read Submitting a pull request
[x] All code is covered by unit and/or runtime tests where feasible.
[x] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[x] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[x] All commits are signed off. See the section Developer’s Certificate of Origin
[x] Provide a title or release-note blurb suitable for the release notes.
[x] Are you a user of Cilium? Please add yourself to the Users doc
[x] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

@thorn3r Could you check my PR? 🙂

/test


Update how paging request attribute are defined

As expected by PaginatorHelper in CakePHP 4+

@burzum Can we merge and release a bugfix tag?

@burzum Can we merge and release a bugfix tag?


Adjust Readme maven settings to new repositories

https://github.com/medizininformatik-initiative/feasibility-backend/blob/develop/README.md?plain=1#L148

This will be included in #32


add test for kwarg in OrdinaryDiffEq.solve

lindblad_problem and sesolve pass kwarg through to OrdinaryDiffEq.solve but no test confirms this works as intended

Not relevant anymore since the solvers have been removed


VideoParameters not exported

There are no VideoParameters (or VideoParametersPresets) available in the package.
It's missing an export 'src/types/video_parameters.dart'; on livekit_client.dart
note there are other src/types files not being exported, but I'm not sure if they all need to
tested on v0.5.9 (main doesn't seem to have it either)

Nice find !, advanced uses would need these types.


Extra card appearing in search window

When searching for nêhiywi-kiskinwahamâkosiw, we get three results, of which the first and third are to be expected, but the second one not (and is anyhow lacking information).

To be explicit, we should not get/show the second card at all.

This is a backend issue. The frontend displays all search results given in the API. When you look at the API for this word, an extra search result is given which contains no definitions. This would be the second card


Preprocessor for inlining SVG

Context
Very often we need to inline svg as svelte components, typically for color styling. Naive solution is to make a svelte component for each svg, but that's not particularly ergonomic.
Prior Arts

svelte-inline-svg

operates at runtime, can be used for dynamic svg loaded from network, which is versatile and can utilize caching. Although it may not be very performant?
wraps with a dedicated Svelte component -> not easy to style without tailwind or global styles.

vite-plugin-svelte-svg

a vite plugin, very minimal, use a ?component enhanced import so
has svgo support as a global plugin option, which is a big plus.

Inception
What if we can provide a more minimal interface like this:
<svg data-inline-src="../image.svg" data-inline-svgo-...></svg>

where:

data-inline-src: a path to the svg asset, relative to the current file
data-inline-svgo-...: per-case option to transform the svg, typically will be merged with the global config. Ex: data-inline-svgo-removeDimensions for removing width & height, or ="false" to disable (inline each prop here in
any other attributes will be merged with those in the svg asset

Pros:

No additional imports
No wrapping in component -> allow styling and using all other vanila svg attributes

Cons:

What if data-inline-src is invalid? Error? (JS import is handled by vite so it'll be more easy)
What about svg loaded from network? Maybe we can also include something like what svelte-inline-svg does, but with an action?? -> lower priority

Can this be a vite plugin instead of a svelte preprocessor?

preprocessor is done and published as @svelte-put/preprocess-inline-svg, but keeping issue open because:

comprehensive docs page is in progress
a complementary runtime action should also be required to cover dynamic use cases

runtime solution implemented in https://github.com/vnphanquang/svelte-put/commit/b66beaf82a936b5d94cac6b81854bf3cce4f0586; let's consider this issue as done


don't work groups with gitlab

When I import github projects, I only appear on the team, even though I have other people in the group. To show everyone I have to manually insert into the users_has_organizations table, and whenever I import a new one I have to do the same thing

Hi @devalexandre,
How are you? Can you update the GitScrum?


fix: handle corrupt help file cache

fix #1754
This catches corrupt/unreadable JSON help cache files and deletes those automatically.

Thanks for working on this,This PR had a few issues. I just pushed a different fix.

As long as the problem gets fixed I am super happy :)


⚠ GitLab Server has degraded performance

In e1cd501, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 6894 ms

Resolved: GitLab Server performance has improved in 6f7bbbc.


MAAS-2702 | Aiohttp documentation lies. Plan B on Useragent.

Coverage remained the same at 86.806% when pulling 71c5fe19e5d052c65c1646f49a98f1a0ff3a361d on maas2702 into 0eb88e9e86519267432857979b2d4edba66088fd on develop.


Update structs

to have objects with nested object arrays/list to use hashSet of object ids*

makes it easier to manage relationships between objects and ensure that changes are reflected correctly*

Codecov Report
Patch coverage: 6.36% and project coverage change: -3.33 :warning:

Comparison is base (41e9eb3) 56.87% compared to head (17a818b) 53.55%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master      #40      +/-   ##
============================================
- Coverage     56.87%   53.55%   -3.33%
- Complexity      401      405       +4
============================================
  Files            86       89       +3
  Lines          1570     1686     +116
  Branches        135      143       +8
============================================
+ Hits            893      903      +10
- Misses          645      751     +106
  Partials         32       32

Impacted Files
Coverage Δ

src/main/java/seedu/address/model/Vehicle.java
0.00% <0.00%> (ø)

...va/seedu/address/model/entity/person/Customer.java
0.00% <0.00%> (ø)

.../java/seedu/address/model/entity/person/Staff.java
0.00% <0.00%> (ø)

.../seedu/address/model/entity/person/Technician.java
0.00% <0.00%> (ø)

...ain/java/seedu/address/model/entity/shop/Shop.java
0.00% <0.00%> (ø)

...ress/model/exception/VehicleNotFoundException.java
0.00% <0.00%> (ø)

...rc/main/java/seedu/address/model/service/Part.java
0.00% <0.00%> (ø)

...main/java/seedu/address/model/service/PartMap.java
0.00% <0.00%> (ø)

...main/java/seedu/address/model/service/Service.java
0.00% <0.00%> (ø)

...address/model/service/appointment/Appointment.java
0.00% <0.00%> (ø)

... and 3 more

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Google.Cloud.TextToSpeech.V1 2.2.0 dependency chain broken

Environment details

OS: Windows 10
.NET version: 4.0
Package name and version: Google.Cloud.TextToSpeech.V1 2.2.0

Steps to reproduce

Install package (and dependencies)

Issue is that the dependency chain is broken.
Dependency Google.Api.Gax.Grpc.3.3.0 has strong reference to Google.Apis.Auth <IP_ADDRESS>
Dependency Grpc.Auth has strong reference to Google.Apis.Auth <IP_ADDRESS>
Due to this the dependency requirements can never be met and Assembly can not be loaded.

We don't support .NET 4.0 (and neither does Microsoft). I'm not sure what you mean by "strong reference" but I've just tried  Google.Cloud.TextToSpeech.V1 2.2.0 in both a .NET 4.6.1 (the oldest version of the .NET Framework we support) and .NET Core 3.1, and it worked fine in both places.
For the .NET 4.6.1 project, an assembly binding redirect was generated automatically:
  <runtime>
    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
      <dependentAssembly>
        <assemblyIdentity name="Google.Apis.Auth" publicKeyToken="4b01fa6e34db77ab" culture="neutral" />
        <bindingRedirect oldVersion="<IP_ADDRESS>-<IP_ADDRESS>" newVersion="<IP_ADDRESS>" />
      </dependentAssembly>
    </assemblyBinding>
  </runtime>

... that resolves absolutely fine.
I don't think there's any problem here.

By strong reference, i mean that it is requiring the exact versions listed in my OP. Not sure why this is. I have looked up the dependencies on NuGet and they say for Grpc.Auth, >=1.46 and Google.Api.Gax.Grpc >=1.48.
Not sure why my NuGet is not resolving these dependency requirements but it doesn't seem to be an issue with the package.


Combination of unique and size is not supported and Help text tag is not found in the migration docs

Issue

Contentful website is supported the combination of unique and size validation on a field, but not through the migration script
HelpText in the Contentful website is not supported in migration script or atleast not found in the documentation

Steps to Reproduce

Create a field with size and unique validations in the migration script
Try to run the migration script, you will get that error mentioned in the screenshot

I wasted a chunk of time last week trying to figure out how to set the help text.


Closes: #1

Updated validations.py python script.
Fixed the behavior of validate_user function in validations.py.
Fixes #<issue_number_goes_here>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

click on the details and at the end new contributors click the link and rescan the cla


Feature Request: ability to add GPS location data to EXIF header

ability to add GPS location data to EXIF header
perhaps by CLLocation parameter or other...
Thanks for considering...

Hi @isaac-oshima...thanks for taking the time to put together this suggestion!
IMO, I don't think this type of functionality matches the current AFI feature set. We don't have any support right now for editing image metadata in any way. We only deal with raw pixel manipulation.

With that said, if you feel strongly that this is something that belongs in AFI, we love pull requests and would certainly consider it!

Cheers. 🍻


feat: check if path folder given by user exists

i think we should check folder path from user before to execute other part of script.
also i think main.py should not have as much code as is have actually this should gather inside a function and move to anohter module. and just to finish. and also is a good practice to push on main branch only when the code is ready to use i means we should not see many comments like we are still testing for something.

Makes sense
I'm with u on pythons as less functional code in main.py as possible.
About the multiple pushes to main.py, yes I agree with you here too. I had failed to maintain the stability of the main branch which is bad. Correcting that actively and working in branches; following a good structure and QOL practices.
Will review the changes and merge once I'm at my desk. Currently AFK.
Thanks for the inputs 😄


Fix link text in high contrast mode in IE

What
The -ms-high-contrast-adjust property prevents IE modifying the background colour and hiding the text and image in high contrast mode.
Why
When Windows is in high contrast mode, IE will remove convert any transparency and this element will then block the image and title text being visible. High contrast mode also seems to disable the z-index.
Visual Changes
Before:

After:

Hi @glombek thanks for raising this - we did notice! This is definitely an issue we want to address and we'll try to look at it properly as soon as we can.

Hi @glombek and thank you for raising this! Exciting to see the community contributing to this repo. When you have a moment, would you be able to rebase to master to see if we can get the CI to pick this up? If not I'm going to cherry-pick your commit in a separate one to get this ready for review.

Hi @alex-ju  - I was about to rebase this tonight, and found you'd done it for me! Many thanks!


find in page

Task/Issue URL: https://app.asana.com/0/392891325557410/726029989564774
Tech Design URL: https://app.asana.com/0/392891325557410/1109036713293814
CC:
Description:
Adds find in page functionality.
Steps to test this PR:
Basic functionality

Load some pages and select find from page in the menu.
Use 'next' on the keyboard to move forward through the results
Use the arrows to move back and forward through the results
Hit done to close find in page and remove highlighted results
Dismiss the keyboard by tapping the page - find in page will stay open and move to the bottom of the screen
Switch orientation - it will stay attached to the keyboard (or bottom of the screen) but will be limited to 768pt width
Change theme
Navigate to another page - find in page is dismissed

New tab

With find in page open with some results open a new tab
Use find in page here - it should reflect this tab
Dismiss find in page and switch to previous tab
Find in page should still be active
Switch back to the other tab and then clear tabs and data - find in page will be dismissed

Updated shortcuts

Cmd-F now launches find in page
Cmd-L now focusses the address bar

Pixels

mb_fp should be fired when launching find in page from the menu

Internal references:
Software Engineering Expectations
Technical Design Template

@bwaresiak I'm just trying to figure out this last keyboard problem but otherwise is good to re-review.


Laravel 9 support

Hello,
Could you please update your great package to support Laravel 9 ?

Hey @beeyev,
glad you like it. However, there are no plans to update the package to L9 as the route:list command provided by the framework itself got much more sophisticated and similar to this package. Therefore, when upgrading to L9 you can safely remove wulfheart/pretty-routes.


What does cargo supply-chain update do?

On my machine it hangs indefinitely without a progress bar. Presumably this isn't the intended behavior.

Oh I see, it's documented in the readme. It would nice to also put it in --help or -h. Currently both of those give an error.

It would also be nice to have a progress bar.

On my machine it hangs indefinitely without a progress bar. Presumably this isn't the intended behavior.

Do you have some timing data for this? It downloads a whole data dump (~250Mb) so that could just be a missing progress bar.

Ok yeah, the issue was a missing progress bar. It finishes after about 30 seconds.


⚠ Redacted has degraded performance

In 5451ee1, Redacted ($RED) experienced degraded performance:

HTTP code: 200
Response time: 7591 ms

Resolved: Redacted performance has improved in 6b2a431 after 8 minutes.


Mixer Tests are failing

Related to https://github.com/istio/istio/issues/6164, but I unfortunately called out dashboard tests but not the others.
Example:
https://circleci.com/gh/istio/istio/110782
https://k8s-testgrid.appspot.com/istio-postsubmits#e2e-suite-rbac-auth
https://k8s-testgrid.appspot.com/istio-daily#daily-e2e-rbac-no_auth
These are blocking daily releases.
The test job failed without running the tests apparently in postsubmit, but some tests did get to run in the release tests.
We need to figure out why the behaviors are different between postsubmit and daily tests, and why they failed (for different reasons).

Ingressgateways failures are expected, since ingressgateways segfaults with mixer filter.
Ratelimit test failure is also expected, until RDS lands in pilot.

The fix for the dashboard test is out.  I'll look at MixerReportingToMixer next.

Per @kyessenov, the issue appears to be that ingress is no longer integrated with Mixer properly:

mixer_test.go:938: Expected at least two metrics with 'istio-policy' as the destination (srcs: istio-ingress, productpage), got 1

mixer_test.go:955: Expected at least two metrics with 'istio-telemetry' as the destination (srcs: istio-ingress, productpage), got 1

Actually, it doesn't really matter. The queries were relying on source.service for distinguishing between them. That attribute doesn't get populated at all any more, so everything collapses into a single metric instance with { destination_service="istio-policy", source_service="unknown" }.

See: https://github.com/istio/istio/pull/6253 for related fix to TestMixerReportingToMixer

With @geeknoid's fix for caching, I now also see TestCheckCache working again. It is a pity the nodePort issues were hiding these failures, as that should have been our canary for the perf issues we also saw.
From a local e2e test:
$ make e2e_mixer E2E_ARGS="--use_local_cluster --test.run=TestCheckCache --skip_cleanup" HUB=localhost:5000 TAG=latest
...
--- PASS: TestCheckCache (31.97s)
	mixer_test.go:712: Query prometheus to get baseline cache hits...
	mixer_test.go:718: Baseline cache hits: 1
	mixer_test.go:719: Start to call visit function...
	mixer_test.go:725: Query promethus to get new cache hits number...
	mixer_test.go:731: New cache hits: 99
PASS
...
ok  	istio.io/istio/tests/e2e/tests/mixer	250.206s

TestRateLimit... test exhibits odd behavior. It appears to be enforcing the override quota at each service. This appears to be resulting in a minimal amount of traffic actually reaching the targeted service, leading to just failures based on volume. More debugging needed.
cc: @mandarjog

Looking at the logs for istio-policy, I see they are full of:
2018-06-14T02:03:01.085077Z	error	Requested quota 'RequestCount' is invalid
2018-06-14T02:03:01.085814Z	error	api	Quota failure:performing quota alloc failed: 1 error occurred:

* requested quota 'RequestCount' is invalid

TestIngress is failing due to the way pilot constructs gateway routes. Gateway is treated as a source of the traffic, and filters are applied to outbound routes. That changes ingress to be the source, rather the destination, as was before. We need to modify the test to take this into account.

So, it turns out that quota enforcement is case-sensitive.

See: https://github.com/istio/istio/pull/6271 for a fix.


Lgtm alerts

A collection of the safer, trivial to fix alert fixes from LGTM (plus a few syntax warnings from is not == "" which is incorrect)
I was careful to test that PyCMDS still ran and could take a scan, though admittedly did not venture to make sure all code paths were accessed.
That said, all of the changes are pretty easy to tell that they are correct, in my opinion
I avoided messing with files I am touching in #278, largely avoided the opas folder (aside from the is None, which raises a warning in python these days)
I largely did not touch internal library imports, focusing on removing unused imports of stdlib and 3rd party packages, though the scattered importing of project globals where there was no need was addressed.
I did not address unused variables, as it takes more thought than I was willing to give to determine if there are side effects or the line should just be gone (or indeed if it is an error that it is unused), that accounts for ~30 of the remaining LGTM warnings (we were at 106)

I did mean to split 54a8fb6 into the unused imports commit and the is not commit, ahh, well


Adding Integration Test for Index_Node_Left_Delayed_Timeout setting

Description
This change adds an integ test to simulate the behaviour called out in #13962.
Related Issues
Resolves #[Issue number to be closed when this PR is merged]

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[ ] API changes companion pull request created.
[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing this PR. It has been addressed as part of this test.


License

Since we are hosting this publicly, it should have a license. I personally like MIT or BSD3.

We have depedencies having: Python Software Foundation Licence, Apace 2.0 Licence, MIT Licence which are OK for more or less everything.
Unfornutely: python-Levenshtein and ansi2html are under GPL. We need to replace them if we want to have a less restrictive licence.

ansi2html is used in the logbook which serves the experiments log in a web app. We can replace it with this http://www.pixelbeat.org/scripts/ansi2html.sh which is under LGPL.

OK, lets make a checklist:

[ ] banish Levenshtein
[ ] replace ansi2html
[ ] select a reasonable license

How are the data for the ACL MMMT licensed? Can I put a subset of them on my web at ufal and have Travis download them and run tests on them?

The data is licensed under Creative Commons: Attribution-NonCommercial-ShareAlike 4.0 International. (http://www.statmt.org/wmt16/multimodal-task.html) I think you can.

OK, python-Levenshtein is now replaced by difflib, ansi2html changed to ansiconv. I would prefer BSD licence because it is more restrictive in acknowledging the authors, but does not restrict the use at all. Do you agree, @tomasmcz and @jindrahelcl?

I couldn't care less.


Expand Coverage Open Cookie DB

PSAT uses the Open Cookie Database, which is an open source repository compiling descriptions and categories for major cookies. All cookie descriptions are saved in a downloadable CSV file. All contributions to the CSV file are welcomed.
Description:
The purpose of this Feature/Task, is to systematically analyze cookie usage on websites, and determine the use and categorization for cookies which are not currently part of the cookie DB.
Motivation:
Increase the classification accuracy of the open cookie DB, and therefore enhance the capabilities of PSAT for providing insight nd guidance to user.
Acceptance Criteria:

[ ] The Open Cookie DB is expanded by 20-30% coverage and accuracy
[ ] Iterate; this task will span multiple releases

31 dec 2023
1308 cookies
26 jan 204
1395 cookies (6.65% increase)
Thank you @milindmore22, @fellyph and @mohdsayed for the additions. Hopefully we can hit the 20% / 30% increase in the near future. I will try to add more cookies in the upcoming weeks.

22 march 2024
1448 cookies (10.7% increase compared to 31 dec 2023)

@gagan0123 @fellyph @milindmore22 Nice to meet you in person!
I have added a Github action for validating the following criteria:

CSV structure check
Unique UUID check
Cookie category check
Logging if cookie names are not unique. This is a warning instead of an error because duplicate cookie names do exist.

This should make contributions and maintenance easier.
Kind regards,
Jack Kwakman

july 6
2080 cookies (59% increase compared to 31 dec 2023)

I have added @fellyph as a collaborator to the Open Cookie Database repo. This will help with the database's ongoing maintenance and improvement and long-term health. More collaborators can be added when needed.

@jkwakman I will create a PR now for the Open cookie DB

@fellyph @milindmore22 @gagan0123
Since the maximum size of a CSV for Github has been reached, I have created a separate HTML file so that you can easily continue searching, see:
https://jkwakman.github.io/Open-Cookie-Database/open-cookie-database.html

@jkwakman This is wonderful 👍🏼


Fix unpinned version of swagger2openapi; add regression test; build dist

This PR addresses the regression to #182 noted here: https://github.com/LucyBot-Inc/api-spec-converter/pull/218#discussion_r323446374
I tried to add a regression test, and the Mocha tests are succeeding, but when run in Karma they're failing for some reason.
PTAL @rbren

Pushing this through, will fix locally


Add 'trackVisits' configuration option

Add trackVisits config option that can be used to disable client-initiated visit tracking
Useful when you are tracking events and visits on a third party server, designed to be used with a server that automatically registers visits when the first event is logged. (In ankane/ahoy, see :when_needed option)
My use case is my your ahoy cookies being set on a third party domain by a

Thanks @pelletencate 👍


Certificate.sha256Hash() method

As used in https://en.wikipedia.org/wiki/HTTP_Public_Key_Pinning

The HPKP policy specifies hashes of the subject public key info of one of the certificates in the website's authentic X.509 public key certificate chain (and at least one backup key) in pin-sha256 directives, and a period of time during which the user agent shall enforce public key pinning in max-age directive, optional includeSubDomains directive to include all subdomains (of the domain that sent the header) in pinning policy and optional report-uri directive with URL where to send pinning violation reports. At least one of the public keys of the certificates in the certificate chain needs to match a pinned public key in order for the chain to be considered valid by the user agent.

Failure makes no sense
<img width="810" alt="image" src="https://user-images.githubusercontent.com/231923/88431371-1701e000-cdf2-11ea-9e9a-f4fa4c38688b.png">


docs(readme.md): update README documentation

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[CSL-1295] Request missing headers in a worker

To be honest, I couldn't reproduce the issue in the exact way it was reported. In particular, I didn't get the "Header c3f52eb6 potentially represents good alternative chain, requesting more headers" message at all, and "Action Recv from NodeId <IP_ADDRESS>:3000:0 in conversation took more than 4s" were not grouped.
Furthermore, I see errors like this in the log: "Error in conversation to NodeId <IP_ADDRESS>:3001:0: NoParse".
Anyway, I don't know whether this is something wrong with the code or my testing setup. I've implemented the changes as discussed with @georgeee, but I'm hoping someone else could verify that they help (and don't break anything).

I am transferring review request from me to Misha as he is more familiar with the blocks' exchange machinery.

Also keep in mind https://issues.serokell.io/issue/CSL-1295#comment=96-5020


[NFR] "Checkbox" plugin - ability to prevent node de-selection if parent node is checked.

Hi Ivan,
I am using cascading 'checkbox' plugin as follows:
checkbox: {
    cascade: 'down',
    three_state: false
},

I would like to prevent de-selection of any child node whose parent's checkbox is checked. Disabling children does not suit my needs.
Looking in the code I don't see any way of canceling the event:
https://github.com/vakata/jstree/blob/master/dist/jstree.js#L3229
It would be nice to have a checkbox config that would address this problem.
Cheers!

How about creating "Conditionalunselect" plugin which essentially mirrors what "Conditionalselect" does, only applies to node deselection?

Ping @vakata Any thoughts on this?

@temuri416 Sorry for taking so long to respond, yes - I will give the plugin some thought. It sound like a reasonable request. I would probably include it in the additional plugins file, not in the core (as I did with conditionalselect). If it is used frequently (as was the case with conditionalselect) I will include it in the core.
I will also check if this is a good candidate for extending the conditionalselect plugin itself - it is - I will add it straight to the core.

I just added a sample plugin that handles deselect_node only - you can find it in misc.js:
https://github.com/vakata/jstree/blob/master/src/misc.js#L603
Unfortunately I can not add a solution to the core, as the feature is incomplete and with the current design - it can never be completed: the problem is with deselect_all - it does not call deselect_node on each selected node as that would be too slow, so the conditionaldeselect plugin will not capture deselection via deselect_all. The conditionalselect plugin works based on the activate_node function which is only triggered on user input, so the code can not be used when dealing with node deselection.
Which leads me to my next point - actually the conditionalselect plugin will also capture deselection events - see if it fits in your use case, or use the plugin in misc.js
I will think of a more elegant way of approaching this in v.4.


Set Gradle version to 6.9.1, fix Junit and test case

duplicated https://github.com/apache/openwhisk-runtime-python/pull/130


Entire graphic driver crash Nvidia 1050 Ti

Windows 10 1909 18363.900
Nvidia driver 451.67 07/09/2020
ncnn waifu2x-ncnn-vulkan-20200606-windows
waifu2x-ncnn-vulkan.exe -i "D:\temp\photo_2020-01-29_21-10-29.jpg" -o "D:\temp\demo.png" -n 3 -x

[0 GeForce GTX 1050 Ti]  queueC=2[8]  queueG=0[16]  queueT=1[2]
[0 GeForce GTX 1050 Ti]  buglssc=0  bugsbn1=0  buglbia=0  bugihfa=0
[0 GeForce GTX 1050 Ti]  fp16p=1  fp16s=1  fp16a=0  int8s=1  int8a=1
vkWaitForFences failed -4
vkQueueSubmit failed -4
vkQueueSubmit failed -4
vkAllocateMemory failed -2

Just shows this and screen black for a while, then Windows shows "restarted graphic driver"

Try setting smaller tile size like -t 100 or even -t 32

@nihui Will test soon once I got free time

This can solve the problem, thank you!


OPENCAST-2886 - Removed External API publication for studio upload

Just remove it, don't comment it out.

You can remove AWS and OAI-PMH operations while you're about it.


If add multiple Subject Alternative Names (SANs), must join them with '&'.

[Enter feedback here]
"To specify a Subject Alternate Name (SAN), add it in the [Extensions] section of your INF. For example:" has the following explanation:
[Extensions]
<IP_ADDRESS> = "{text}"
_continue_ = "DNS=example.com"
_continue_ = "DNS=www.example.com"
_continue_ = "IP Address=<IP_ADDRESS>"

However, the correct statement is:
[Extensions]
<IP_ADDRESS> = "{text}"
_continue_ = "DNS=example.com&"
_continue_ = "DNS=www.example.com&"
_continue_ = "IP Address=<IP_ADDRESS>"

If you add multiple Subject Alternative Names (SANs), you must join them with '&'.

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

ID: 912a2faa-63c4-43c7-056b-16f5a5c71038
Version Independent ID: cbec348f-53ad-a5b7-5a6e-f1cc5540d212
Content: certreq
Content Source: WindowsServerDocs/administration/windows-commands/certreq_1.md
Service: windows-server
Sub-service: administration
GitHub Login: @JasonGerend
Microsoft Alias: wscontent

Was having same problem, this fixed the issue

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Added a GUI to change frame options when holding Shift + Capturing keybind

It's so annoying to go every time to Mod Options to change video's width, height, frame rate and etc. so I added a GUI with fields to change those. I also added an optional text field to give a name to the video, a button to go directly to Minema's mod options and you can use enter key to start recording.
Feel free to try it out and adjust. 😁

🥳


Non-interactive version?

I'm in the process of building a community for celebrating code-based art:
http://www.artywidget.com/
http://www.artywidget.com/about/
… and I'd love to include The Polygon Shredder. The focus for that site is passive art; think of a TV or photo frame on the wall where there may not even be an option for interaction. For that reason, I'd love to be able to programmatically hit the "close controls" and "close this message" buttons (e.g. with a URL parameter) so the audience can kick back and enjoy the art without extra visual distraction. Would that be okay with you? I'm happy to make a patch to this effect, but I wanted to check with you first.

Yes, absolutely: adding #frame.{size} to the URL will create a {size}x{size} polygon shredder without HUD or UI. Here's the code that handles that: https://github.com/spite/polygon-shredder/blob/master/js/main-boxels.js#L44
Size has to be a number between 1 and something like 2048 or 4096, depending on the hardware, ideally a power of two. The polygon shredder runs by default at 256.
For example: https://www.clicktorelease.com/code/polygon-shredder/#frame.512
Let me know if that helps!

Wow, yes, that's exactly what I was hoping for! Beautiful :-)
… And here it is on the site:
http://www.artywidget.com/artwork/59c49dc4c383e88db9eb5820/
Thank you!


[SPARK-44134][CORE] Fix setting resources (GPU/FPGA) to 0 when they are set in spark-defaults.conf

What changes were proposed in this pull request?

https://issues.apache.org/jira/browse/SPARK-44134
With resource aware scheduling, if you specify a default value in the spark-defaults.conf, a user can't override that to set it to 0.
Meaning spark-defaults.conf has something like:
spark.executor.resource.{resourceName}.amount=1
spark.task.resource.{resourceName}.amount =1
If the user tries to override when submitting an application with spark.executor.resource.{resourceName}.amount=0 and spark.task.resource.{resourceName}.amount =0, the applicatoin fails to submit.  it should submit and just not try to allocate those resources. This worked back in Spark 3.0 but was broken when the stage level scheduling feature was added.
Here I fixed it by simply removing any task resources from the list if they are set to 0.
Note I also fixed a typo in the exception message when no executor resources are specified but task resources are.
Note, ideally this is backported to all of the maintenance releases
Why are the changes needed?

Fix a bug described above
Does this PR introduce any user-facing change?

no api changes
How was this patch tested?

Added unit test and then ran manually on standalone and YARN clusters to verify overriding the configs now works.

This is not a release blocker because the affected version is 3.2.0.
BTW, if you don't mind, could you participate Apache Spark 3.4.1 RC1 vote, @tgravescs ?

thanks Dongjoon.  Sure, I'll look at the rc1.

Thank you, @tgravescs !


Build and deploy ARM-based containers

Depends on https://github.com/byu-oit/terraform-aws-fargate-api/pull/38, which I'm assuming will be released as v5.0.0.
Closes #389

Correct. Check out the linked issue for more details. 🙂

@stuft2 - We should document this, but I'm not sure where that belongs in the README.

Once https://github.com/actions/runner-images/issues/5631 is resolved, we may be able to remove the QEMU step.


TempHPandStatus fails to load

I pasted the TempHPandStatus.js file into the API and when the sandbox resets it files to list the version number indicating the script has loaded.
Other scripts are working.
The code does not actually work in a game session either.

This is an older script and I haven't added the announce code to it to state it's version.  It also does not have fantastic configuration options.  By default, it looks at the 3rd bar (the one that is the left one when the token is selected, defaults to red).  When that bar is adjusted, it will add one of 3 different statuses depending on the ratio of current to max:

half to max - Nothing
1 to half - broken heart
-half+1 to 0 - Dead X
-half - Crushed skull

If this isn't working for you, post in the API forum and I'll try to help you debug it.  I don't believe anyone watches the bugs here.


Refetch download source when variable changes

Allow refresh data from "download source" when it changes.

Hi crash already in roadmap

@CrashLaker - Checkout my basic workaround for this:
https://github.com/molnar-gabi/flowcharting-repository/blob/master/archives/agenty-flowcharting-panel-1.0.0b-molnar-gabi-fix-SNAPSHOT.zip

hi, master , Is it supported now?

hi, master , Is it supported now?

hi, master , Is it supported now?

,

Hi crash already in roadmap

hi, master , Is it supported now?

@CrashLaker - Checkout my basic workaround for this: https://github.com/molnar-gabi/flowcharting-repository/blob/master/archives/agenty-flowcharting-panel-1.0.0b-molnar-gabi-fix-SNAPSHOT.zip

wall, how to use it?


In-Reporting condensed view cards are missing tentative winner and support or dispute button

Build:

Design:

https://www.figma.com/file/Do4qnkCNM8P7lwBmCdYZCS4X/Market-Cards?node-id=2102%3A25088

Closing but opening a new ticket related to a couple of issues on this view


[Docs] Syntax Cheatsheet: two "Blocks" headings are confusing

Disclosure: I've heard of Reason before today, but I am brand new to the language!
On the Syntax Cheatsheet page, there are two "Blocks" sections with similar code examples:

Javascript → Blocks
Blocks

Based on the content of the latter Blocks section, it might benefit from a different title, depending on whether the intended audience is JavaScript developers (like me) or OCaml devs (I'm not sure what they'd think of this heading).
Some early suggestions:

"Immediately Invoked Function Expressions" (arcane and scary, but I'd say IIFEs are relatively familiar to JS devs?)
"Sequence Expressions" (the terminology used in Reason, which I'm not familiar with, but seems like a more specific term to use when asking for help in the future)

I'm taking the time to write this up since:

The cheatsheet's very useful!
The duplicate "Blocks" headings (whose contents are similar on first glance, but subtly quite difference) left me wondering which commonly used term to use in the future when referring to either the JS or Reason construct of interest

Cheers!

Thanks for the feedback! Actually, those are indeed talking about the same block, and both referring to the Reason side. The first block:
let myFun = (x, y) => {
  let doubleX = x + x;
  let doubleY = y + y;
  doubleX + doubleY
};

Is actually a real Reason block returned from function. Same applies for if-else, etc. There's no real multi-line functions in OCaml/Reason (and no such need).
Is that clearer? How should this be reworded?

Closing for now =)


TS Server

The basic LanguageService interface puts some requirements on the "host", such as an implementation of a ScriptSnapshot system to support incremental parsing, managing contexts, monitoring files on disk, scheduling diagnostic queries, maintaining line map for line/column for positions for files, etc.. Every editor plugin is required to implement the expected host functionality, possibly in different languages.
This change exposes a new interface to the Services layer (ts server), through a JSON-based communication protocol. Behind the protocol, the server supports all the common host functionality,:

A ScriptSnapshot management system with support for diffing script snapshots to allow efficient incremental parsing. A client would send a stream of text changes, and the server will maintain an updated version of the text in memory that can then be used to drive LS requests.
A Project management service that allows for figuring project structure a la VS Virtual Projects, allowing the client to ignore resolving references, and maintaining project structure. The project management service also should supports different modes e.g. lose files, ts config, /// references, and imports. The client just informs the server about open files, and the server takes the responsibility of figuring out what files are interesting to this context. the client then asks for operations like completions, quick info, etc.. directly on the file.
Managing closed file state without requiring the client to monitor them. The server adds file watches to all files in a project, and triggers re computation for errors and updates context once a file has changed on disk.
Diagnostics update scheduling, the client does not need to trigger diagnostics update requests; the server sends events with errors whenever this is needed.
A line/column interface with no need to keep a line map for all files. the server does not request any positions in its calls.

The server is mainly available as an IO process that a client would create in a separate process and communicates with it over stdin/stdout.
The change also adds a JS client implementation as a reference implementation to a client, and also used for tests.
The protocol definitions are all in protocol.d.ts.
Note: Reviewing the final change is probably easier.

I reviewed the TSServer code today as it exists in https://github.com/Microsoft/TypeScript/tree/master/src/server
I think its really nicely done in that it takes the burden of watching files + efficient snapshoting off of editor package authors.
The limitations for us is that it does not (and cannot easily using stdout) expose getProgram. This means that for really advanced features we would either need to wait for them to become a part of languageService or reimplement the stuff from TSServer. Also I use a globbing that isn't there in TSServer.
I am okay with using TSServer as a reference implementation and copying all the good stuff over. But just wanted to leave this feedback about my reasons for doing so (and potentially other package authors might end up doing the same thing). Thanks again for the initiative :heart:
ref : Based on https://github.com/TypeStrong/atom-typescript/issues/91 /cc @csnover


Documentation of the different methods and parameters available in the pathfinder

Can we add in the readme a summary of the parameters and what they mean in plain text?
Which parameters are available in CLI / server and what they do. Such as hops, maxTransfers etc.
This is essential for having a clear API documentation later on that will be used by various clients.

This can be based on the existing documentation in https://hackmd.io/Gg04t7gjQKeDW2Q6Jchp0Q
https://github.com/CirclesUBI/pathfinder2/blob/4846da28161055617d790e3ce09613b5c4a528aa/README.md?plain=1#L21
https://github.com/CirclesUBI/pathfinder2/blob/4846da28161055617d790e3ce09613b5c4a528aa/README.md?plain=1#L54
Let's also keep in mind that the README is the primary entry point for developers who have no preliminary knowledge about the Parthfinder, and should therefore be complete in information or references to such. The README from the gh-pages branch is also used to render https://circlesubi.github.io/pathfinder2/, so it can be good to keep it in a good shape.
When merging the current dev to main, we could also build from that branch instead, reducing the maintenance overhead with the additional gh-pages branch, before even attempting an actual documentation website with a technical (API) reference and a human manual.
Also the CLI should ideally be self-describing, which counts as suitable documentation for me as well. @ingoCollatz has previoulsy volunteered to investigate improving on this end, when time comes. Currently there we have:
~/src/github.com/CirclesUBI/pathfinder2$ ./target/debug/cli --help
Usage: cli [--csv] [--safes] <from> <to> <edges.dat> [--dot <dotfile>]
Usage: cli [--csv] [--safes] <from> <to> <edges.dat> <max_hops>  [--dot <dotfile>]
Usage: cli [--csv] [--safes] <from> <to> <edges.dat> <max_hops> <max_flow> [--dot <dotfile>]
Usage: cli [--csv] [--safes] <from> <to> <edges.dat> <max_hops> <max_flow> <max_transfers> [--dot <dotfile>]
Option --csv reads edges.dat in csv format instead of binary.
Option --safes reads a safes.dat file instead of an edges.dat file.
~/src/github.com/CirclesUBI/pathfinder2$ ./target/debug/convert --help
Usage: convert <input> <input_file> <output> <output_file>
  Where <input> is one of:
    --safes-json
    --safes-bin
    --edges-csv
    --edges-bin
  and <output>is one of:
    --edges-csv
    --edges-bin
~/src/github.com/CirclesUBI/pathfinder2$ ./target/debug/server --help
thread 'main' panicked at 'Could not create server.: Error { kind: InvalidInput, message: "invalid socket address" }', src/server.rs:36:49
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Writing an actual man page could make life easier for some developers as well. Yet then the binary file names should eventually be reconsidered, to map well into a global $PATH.


If no custom JTX file is supplied, ensure it's not null

If no custom JTX file is supplied, ensure it's not null
Signed-off-by: Mesbah-Alam<EMAIL_ADDRESS>

Test : Grinder_JCK/655


PeoplePicker component with SPBrowser

Category
[ x] Question
Version
Please specify what version of the library you are using: [ 3.10.0 ]
Question
While not able to deploy a solution as Spfx. . . have a react app loaded to sharepoint page via content editor webpart. Using SPBrowser from @pnp/sp to handle authentication, the react app is able to read people fields from a list and display these in a desired table format.
Is it possible to use the PeoplePicker component from @pnp/spfx-controls-react also in the same react app? When attempting, see error "PeoplePicker' cannot be used as a JSX component.
Its instance type 'PeoplePicker' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'ReactElement<IPeoplePickerProps, string | JSXElementConstructor>' is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'ReactElement<IPeoplePickerProps, string | JSXElementConstructor>' but required in type 'ReactPortal'.ts(2786)
index.d.ts(181, 9): 'children' is declared here.
here is the full PeoplePicker component and how it is currently setup.
import * as React from 'react';
import styles from './SpfxPnpPeoplepicker.module.scss';
import { ISpfxPnpPeoplepickerProps } from './ISpfxPnpPeoplepickerProps';
import { ISpfxPnpPeoplepickerState, IUserDetail } from './ISpfxPnpPeoplepickerState';
import { PeoplePicker, PrincipalType } from "@pnp/spfx-controls-react/lib/PeoplePicker";
import { autobind } from 'office-ui-fabric-react/lib/Utilities';
import { spfi, SPBrowser } from "@pnp/sp";
import "@pnp/sp/webs";
import "@pnp/sp/lists";
import "@pnp/sp/items";

const myTenant: string = 'xxx'
const mySite: string = "xxx"

 // you should use the baseUrl value when working in a SPA to ensure it is always properly set for all requests
 const sp: any = spfi().using(SPBrowser({ baseUrl: "https://"+myTenant+".sharepoint.com/sites/"+mySite }));

export default class SpfxPnpPeoplepicker extends React.Component<ISpfxPnpPeoplepickerProps, ISpfxPnpPeoplepickerState> {
  constructor(props: ISpfxPnpPeoplepickerProps, state: ISpfxPnpPeoplepickerState) {
    super(props);
    sp.setup({
      spfxContext: this.props.context
    });
    this.state = { SuccessMessage: '', UserDetails: [], selectedusers: [] };
    this._getListItem();
  }

  @autobind
  private async _getListItem() {
    const item: any = await sp.web.lists.getByTitle("Teams").items.getById(1).select("Title", "Team/Name").expand("Team").get();
    let usernamearr: string[] = [];
    item.Team.forEach((user: { Name: string; }) => {
      usernamearr.push(user.Name.split('|membership|')[1].toString());
    })
    this.setState({
      selectedusers: usernamearr
    });
  }

  public render(): React.ReactElement<ISpfxPnpPeoplepickerProps> {
    return (

        <PeoplePicker
          context={this.props.context}
          titleText="People Picker"
          personSelectionLimit={3}
          showtooltip={true}
          isRequired={true}
          selectedItems={this._getPeoplePickerItems}
          showHiddenInUI={false}
          principalTypes={[PrincipalType.User]}
          defaultSelectedUsers={this.state.selectedusers}
          resolveDelay={1000} />

        <button className={styles.button} onClick={this._updateListItem}>Save</button>

        {this.state.SuccessMessage}

    );
  }

  @autobind
  private _getPeoplePickerItems(items: any[]) {
    let userarr: IUserDetail[] = [];
    items.forEach(user => {
      userarr.push({ ID: user.id, LoginName: user.loginName });
    })
    this.setState({ UserDetails: userarr })
  }

  @autobind
  private async _updateListItem() {
    let userids: object[] = [];
    this.state.UserDetails.forEach(user => {
      userids.push({ key: user.LoginName });
    })
    const updatedItem = await sp.web.lists.getByTitle("Teams").items.getById(1).validateUpdateListItem(
      [{
        FieldName: "Team",
        FieldValue: JSON.stringify(userids),
      }]);
    this.setState({ SuccessMessage: 'Successfully saved' });
  }
}

3.13.0 does not work with es6.
'PeoplePicker' cannot be used as a JSX component.
Its instance type 'PeoplePicker' is not a valid JSX element.
The types returned by 'render()' are incompatible between these types.
Type 'ReactElement<IPeoplePickerProps, string | JSXElementConstructor>' is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'ReactElement<IPeoplePickerProps, string | JSXElementConstructor>' but required in type 'ReactPortal'.ts(2786)
index.d.ts(192, 9): 'children' is declared here.

Thanks for responding on this. Will mark this closed since using the PeoplePicker outside of SPFx is not possible.


Add find-includes script

This is a "good enough" script to quickly find included headers. Runs in seconds.  Not ported to Windows or VMS.
I think this will also be useful for generating the FIPS checkums to have just the header files.
Needs work, hence a draft, but would like feedback from @levitte, @mspncp , @t8m who have commented on these issues already.

Might the -MM option to GNU's cpp circumvent a lot of the need for this?

@t8m, @levitte is this useful for adding the headers to the checksum? Is anything missing?
Also, is there interest in using this on Windows and/or VMS? I think it's much faster, @mspncp.
If it's not of interest to either use, please let me know and I will close it.

I rather suspect that #15365 is a more robust approach to this.  It's a lot slower.

I rather suspect that #15365 is a more robust approach to this. It's a lot slower.

Wanna run a diff to see if this is missing things?  I will in a few hours if I have time.

So the question now becomes, is this worth doing for non-gcc platforms to speed up their build times?
Ping @levitte to answer about VMS, and I don't know who knows anything about Windows.

Here I am, trying to help platforms I don't support (windows and vms) and make their builds faster and it gets ignored :)
Closing for lack of interest.

@richsalz Actually this might be a way how to fix #15639. I think this can still be considered and used in that context after the beta1 release.

We do use -MM (in fact, -MMD) with gcc like compilers. A very simple grep in Makefile on most Linux boxes would have answered that.
We do the same thing on VMS already, and we have a similar albeit a bit clumsy variant on Windows too.
What's needed to find the appropriate header files for the FIPS module is to find all the object files that went into it, and read the corresponding .d files. They have the dependency info.

So in the end it was not necessary to use the script to fix #15639. So this can be closed IMO.


Question regarding vllm's lack of KV cache clearing?

Hello everybody,
During my development of candle-vllm and before my recent work developing PagedAttention, I added some methods to clear the KV cache (deallocating the old tensors) of the models between requests. This is because I noticed a shape error occurs if the same model was run with a KV cache from an old inference cycle (even with the same prompt). Is this a recognized error, or perhaps a bug with the old KV cache implementation for the Llama-2 model?
I have not run my implementation (although it is based on the vllm implementation), and am not sure if this cache-clearing is still necessary. I use the vllm CUDA kernels as well as basing my implementation on vllm as closely as the language and framework difference allows.
I cannot seem to find any explicit cache clearing happening between inference request, but deallocating the cache would induce a dramatic performance overhead and defeat the point of PagedAttention, so I think that this is probably not being done?
@WoosukKwon, could you please clarify why vllm does not need to clear the cache - is it a bug with my old KV cache implementation, or does it have to do with vllm's batching or something else?
Thanks!

I see the following code in both the non-beam search and beam search cases, which looks like freeing parts of the KV cache? Please correct me if I am wrong.

https://github.com/vllm-project/vllm/blob/60dc62dc9e53428912953276e0d12a034b353fb6/vllm/engine/llm_engine.py#L429-L435


We can connect to WSS easily, but can we get the online status of a person without authentication? ie without scanning the QR code?

We can connect to WSS easily, but can we get the online status of a person without authentication? i.e without scanning the QR code? I found that to find online status, the WhatsApp web subscribes to the online status of a particular phone number & then the server sends all the online statuses of that particular number. I want to do this without authentication with a QR code. Is it possible?

No, the messages are transferred using websockets where authentication is pre-requisite.


Page-level CRC checksum verification for DataPageV1

Now that the specification with respect to page level checksums has been clarified (see https://jira.apache.org/jira/browse/PARQUET-1539), we can actually implement it. What needs to be done:

Implement calculating and writing checksums on write path
Implement checksum validation on read path
Make writing out checksums and validation on reads optional (default off)
Implement tests

Reporter: Boudewijn Braams / @bbraams
Assignee: Boudewijn Braams / @bbraams
Related issues:

Changed the data order after DataFrame reuse (causes)

PRs and other links:

GitHub Pull Request #647

Note: This issue was originally created as PARQUET-1580. Please see the migration documentation for further details.

Gabor Szadovszky / @gszadovszky:
[~natang.salgia], I would rather not backport it to 1.10.1. This is an improvement/feature not a bug fix. We need add the required changes only into a patch release so we have a lower risk that we introduce a regression.

Natang:
Can this be backported to 1.10.1?

Steve Loughran / @steveloughran:
My IDE is flagging Checksum.update(byte[]) as since java9, though it is clearly there in openjdk "1.8.0_362". It may be one of those changes backported to some java8 releases but not all....


train qwen1.5B by lora_sft: ValueError: Target module Identity() is not supported. Currently, only the following modules are supported: torch.nn.Linear, torch.nn.Embedding, torch.nn.Conv2d, transformers.pytorch_utils.Conv1D.

Reminder

[X] I have read the README and searched the existing issues.

System Info
[2024-10-09 15:45:28,576] [INFO] [real_accelerator.py:203:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[WARNING]  On Ampere and higher architectures please use CUDA 11+
[WARNING]  On Ampere and higher architectures please use CUDA 11+
[WARNING]  On Ampere and higher architectures please use CUDA 11+
[WARNING]  On Ampere and higher architectures please use CUDA 11+
[WARNING]  On Ampere and higher architectures please use CUDA 11+
[WARNING]  On Ampere and higher architectures please use CUDA 11+

llamafactory version: 0.9.1.dev0
Platform: Linux-5.4.0-91-generic-x86_64-with-glibc2.31
Python version: 3.10.14
PyTorch version: 2.1.2+cu118 (GPU)
Transformers version: 4.45.0
Datasets version: 2.21.0
Accelerate version: 0.34.2
PEFT version: 0.12.0
TRL version: 0.9.6
GPU type: NVIDIA GeForce RTX 3090
DeepSpeed version: 0.15.1

Reproduction
script: LLaMA-Factory/examples/train_lora/llama3_lora_sft.yaml
model
model_name_or_path: /Qwen2-1.5B
method
stage: sft
do_train: true
finetuning_type: lora
lora_target: all
dataset
dataset: sft_1k
template: qwen
cutoff_len: 1024
max_samples: 1000
overwrite_cache: true
preprocessing_num_workers: 16
output
output_dir: saves/Qwen2-1.5B/lora/sft/20w_1k
logging_steps: 10
save_steps: 500
plot_loss: true
overwrite_output_dir: true
train
per_device_train_batch_size: 1
gradient_accumulation_steps: 8
learning_rate: 1.0e-4
num_train_epochs: 3.0
lr_scheduler_type: cosine
warmup_ratio: 0.1
bf16: true
ddp_timeout: 180000000
eval
val_size: 0.1
per_device_eval_batch_size: 1
eval_strategy: steps
eval_steps: 500
##detail error message:
10/09/2024 15:42:09 - INFO - llamafactory.model.adapter - Fine-tuning method: LoRA
10/09/2024 15:42:09 - INFO - llamafactory.model.model_utils.misc - Found linear modules: gate_proj,q_proj,down_proj,up_proj,default,k_proj,base_layer,v_proj,o_proj
Traceback (most recent call last):
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/bin/llamafactory-cli", line 8, in
sys.exit(main())
File "/home/lijiaqi/LLaMA-Factory/src/llamafactory/cli.py", line 111, in main
run_exp()
File "/home/lijiaqi/LLaMA-Factory/src/llamafactory/train/tuner.py", line 50, in run_exp
run_sft(model_args, data_args, training_args, finetuning_args, generating_args, callbacks)
File "/home/lijiaqi/LLaMA-Factory/src/llamafactory/train/sft/workflow.py", line 48, in run_sft
model = load_model(tokenizer, model_args, finetuning_args, training_args.do_train)
File "/home/lijiaqi/LLaMA-Factory/src/llamafactory/model/loader.py", line 171, in load_model
model = init_adapter(config, model, model_args, finetuning_args, is_trainable)
File "/home/lijiaqi/LLaMA-Factory/src/llamafactory/model/adapter.py", line 299, in init_adapter
model = _setup_lora_tuning(
File "/home/lijiaqi/LLaMA-Factory/src/llamafactory/model/adapter.py", line 250, in _setup_lora_tuning
model = get_peft_model(model, lora_config)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/mapping.py", line 183, in get_peft_model
return MODEL_TYPE_TO_PEFT_MODEL_MAPPING[peft_config.task_type](
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/peft_model.py", line 1542, in init
super().init(model, peft_config, adapter_name, **kwargs)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/peft_model.py", line 155, in init
self.base_model = cls(model, {adapter_name: peft_config}, adapter_name)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/tuners/lora/model.py", line 139, in init
super().init(model, config, adapter_name)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/tuners/tuners_utils.py", line 175, in init
self.inject_adapter(self.model, adapter_name)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/tuners/tuners_utils.py", line 431, in inject_adapter
self._create_and_replace(peft_config, adapter_name, target, target_name, parent, current_key=key)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/tuners/lora/model.py", line 224, in _create_and_replace
new_module = self._create_new_module(lora_config, adapter_name, target, **kwargs)
File "/home/lijiaqi/.conda/envs/llama_factory_ljq/lib/python3.10/site-packages/peft/tuners/lora/model.py", line 346, in _create_new_module
raise ValueError(
ValueError: Target module Identity() is not supported. Currently, only the following modules are supported: torch.nn.Linear, torch.nn.Embedding, torch.nn.Conv2d, transformers.pytorch_utils.Conv1D.
Expected behavior
No response
Others
No response

I already pretrained the qwen2-1.5B by llama-factory. I don't know whether my configure or paras is wrong..?

try lora_target: q_proj,k_proj,v_proj,o_proj,gate_proj,up_proj,down_proj

Solved! Thanks ♥ @hiyouga


Updated pagico (7.4.1868)

Thank you for the contribution. It was merged directly as 70f11eb2d497f08b0eda9a6c7cdf18da16936090 to keep commit history cleaner. Your contribution is still credited to you.


Replace camera modell with the skull

Could we maybe adjust the position of the skull? Currently it's not nicely visible on my MacBook.

Could we maybe adjust the position of the skull? Currently it's not nicely visible on my MacBook.

Did so, but needed to add also some local scales. The algorithm doesnt seem to bother.

Just out of curiosity: what's the implications for the benchmark? Any difference?

Could we maybe adjust the position of the skull? Currently it's not nicely visible on my MacBook.

Did so, but needed to add also some local scales. The algorithm doesnt seem to bother.

No, why should the algorithm bother? The algorithm currently simply ignores what you type in there ✌

The gap increased a little:


[New game]: Falling Ball

🎮 Game Request
"Falling Ball" is a fun game that tests your reflexes and coordination. In this game, your aim is to guide a ball along an unending vertical maze studded with holes.
This game tests your agility, timing, and decision-making abilities. It provides a thrilling and fast-paced gaming experience that will keep you engaged as you strive to beat your high score.
Point down the features
How to Play

Launch the game "Falling Ball" on your device.
As the game starts, you will see a ball at the top-center of the screen, ready to descend.
Your task is to control horizontal movement of ball to pass through the holes in the walls.
Use the  left and right controls to guide the ball .Time your movements carefully to ensure that the ball aligns with the gap in each wall as it descends.
The ball must pass through each hole to increase your score. The more holes you successfully navigate, the higher your score will be.
.Be cautious not to let the ball touch the top of the screen, as this will instantly end the game.
Keep your focus, maintain good hand-eye coordination, and stay alert to anticipate upcoming gaps and obstacles.
Try to beat your own high score or challenge friends to see who can achieve the longest hole-passing streak.

Enjoy the fun and thrilling gameplay of "Falling Ball" and have fun!
Remember, practice makes perfect, so keep playing and aim for new high scores with each attempt!
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @Harshit-Chordiya !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

/assign

Hey @Harshit-Chordiya 👋!
@kunjgit here,
We have this annoucement to make 📢!!
💥 Special Announcement:
It's the Call to all the designers 🔥 🎨
As you all know that GameZone has crossed 100 games 💗 , it's time that we all come up together and make the UI even better!!
We are redesigning the thumbnails, make sure you come up with the aesthetic and cool ideas 🚀 !
You are supposed to share the 4 different templates that can be used. Make sure that the size is: 1280 px X 720 px.
The frame should be such that there is only a single image of the game that's taking up the major portion of the frame. Any kind of text should not be there.
The design should be catchy and aesthetic! 🔥
Note: You are not supposed to create any issue right now for the same.
You have to share different designs right now in Discord  and Project Admin would be selecting one design and would be assigning the issue. After that only, you have to start working on it.

Hello @Harshit-Chordiya, Time's Uppp!⏰
Sorry for closing your issue!
But it's more than a week since we haven't received anything from your side 😢 .
Come up with new ideas, create a new issue and make sure you finish it within a week! 🔥
All the best! 🚀
Happy Hacking! 💗

Hey @Harshit-Chordiya ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


[T4A2][T09-B4] Ze Xuan

Ready for review (aware that push from wrong branch)

If it is wrong branch then please close this and resubmit.


check for email-validator version >= 2.0

Change Summary
check for email-validator version >= 2.0
will use email_validator.__version__ if available (https://github.com/JoshData/python-email-validator/commit/68b9d1892dc6007844a80acf5677cf6166bf5533)
Related issue number
fix #5739
Checklist

[ ] Unit tests for the changes exist
[ ] Tests pass on CI and coverage remains at 100%
[ ] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

@commonism are you still interested in getting this merged? I'm not seeing email_validator.__version__ even in the latest releases of email_validator — was this PR assuming that that would eventually be added? Or am I misunderstanding something?

Hi,
I've had this merged in https://github.com/JoshData/python-email-validator/pull/110
https://github.com/JoshData/python-email-validator/commit/5abaa7b4ce6677e5a2217db2e52202a760de3c24
I think it is beneficial to check extras for version requirements which are not satisfied/guaranteed when upgrading pydantic within a venv.

@commonism,
Looks as though this PR has become a bit stale. Are you still interested in working on this?

How is this supposed to proceed?

This change raised the following error in my deployment: "No package metadata was found for email-validator".
That happened because you are now using importlib.metadata to check the version and I was not packaging the dist-info directory.
Adding the dist-info directory to my package solved the problem.
Some tools, such as Serverless Python Requirements, remove metadata, test files, cache files and others in order to generate smaller packages.
Hopefully other people with the same issue will find this comment and save the debugging time.


Rename RunService to Run Service, like in normal Roblox

For whatever reason, RunService in actual Roblox is "Run Service" (game["Run Service"]). This change emulates that behavior.

Coverage remained the same at 96.68% when pulling f06d78539d18c7930115e29b295a65d928de1ade on Kampfkarren:runservice into 852c71b897ff346f6a76796a418b9da4255d04b1 on LPGhatguy:master.

Agh, I forgot about this. This is kind of important.
Can we make RunService rename itself instead of telling game to rename RunService?

@LPGhatguy Any particular reason? Or just want to keep RunService stuff in the same file?

Just keeping RunService stuff isolated.

Done

And, last thing, can you add a test for RunService to validate that the name stays funky (and someone doesn't "fix" it in the future)?

@LPGhatguy Done!

Thank you! I wouldn't have caught this myself for sure.

This PR ended up breaking any code using game:GetService("RunService"). I'll be fixing that today.

I didn't factor that in, it's probably time to just remake GetService if that's the case (plenty of people rename services).

I ended up rewriting GetService in c8e9f2d to use FindFirstChildOfClass instead.


ERROR: text "2016-08-1" is not like DateTime

This is the error I see in clickhouse when trying to batch insert
2019.04.17 00:08:45.729957 [ 264 ] {0e04b028-f581-4c85-a668-1b3c1d744863} <Error> HTTPHandler: Code: 27, e.displayText() = DB::Exception: Cannot parse input: expected \t before: \'2016-08-12 13:21:32\'\t32767\t\'<IP_ADDRESS>\'\t\'<IP_ADDRESS>\'\t1522\t1\t0\t0\t0\t1000003\t1000010\t8080\t12724\t16\t\'128110002367193\'\t\'116530121835\'\t968\t968\t968\t\'\'\t\'Amste: (at row 1)

Row 1:
Column 0,   name: received_at,     type: DateTime, ERROR: text "<SINGLE QUOTE>2016-08-1" is not like DateTime

I'm using the same code as is in test here https://github.com/yandex/clickhouse-jdbc/blob/d75f1594b9eebcab200b27bc426b136233b1b927/src/test/java/ru/yandex/clickhouse/integration/BatchInsertsTest.java#L99 Even the same value.
Thus I blame the newer ClickHouse version I'm running (<IP_ADDRESS>).

Also this doesn't work:
statement.setString(1, format.format(new Date(long * 1000L))); same error
I changed the DateTime to UInt32 and all inserts pass through without problem statement.setLong(1, long);

I just noticed it inserts string values with quotes. Like '<IP_ADDRESS>' instead of <IP_ADDRESS>. That will be the problem.

And this works:
SimpleDateFormat format = new SimpleDateFormat("yyyy-MM-dd hh:mm:ss");
statement.setBytes(1, format.format(new Date(long * 1000L)).getBytes());

So the problem is in escaping I guess https://github.com/yandex/clickhouse-jdbc/blame/149967fd91d3d1191254188603951df09c6061bb/src/main/java/ru/yandex/clickhouse/ClickHousePreparedStatementImpl.java#L208 Can't help further tho, don't really undestand what happens there.

I also encountered this issue today, as it turns out, when you use prepared statement to batch insert values, if you see
Like '<IP_ADDRESS>' instead of <IP_ADDRESS>

it means in PreparedStatementParser.java,  your sql is not classified as "valuesMode".
https://github.com/yandex/clickhouse-jdbc/blob/master/src/main/java/ru/yandex/clickhouse/PreparedStatementParser.java#L19
    private static final Pattern VALUES = Pattern.compile(
"(?i)INSERT\\s+INTO\\s+.+VALUES\\s*\\(");

Then, it turns out my SQL is multiple line. like:
insert into table1
  (col1, col2)
values
  (?, ?)

this will not match the regex. So, my work around is, before send sql to clickhouse's prepare, I replace all \r  \n  with empty space. Then, the datetime can be inserted into database successfully.
Is this also your case?

Yes, definitelly. I import huge sql file with INSERT statement that is pretty-formatted. When I one-line it it passes.

Looks like fixed at 0.1.54

I can confirm it's fixed. Thanks!

I am also facing this issues. And I really do not want to  convert string to Date using dateformat?


Run extensions in worker threads

Using worker threads

Ref: https://github.com/pop-os/launcher
Another reference, raycast seems to use simple pid and fd based communication.


Enhancement (multi), 429

Hi,
I found you very nice repro. For me some little feature were missing, but nothing big. I added them and as I noticed at least one feature request I added by pure luck, I wanted to give it back to you.
So what was added and for what reason:

added a bit of Windows support (Ansi colours & Home Env); still working under Linux
A 429 response handling (added a wait timer for retry same address), with 1.6 s the file check sometimes runs into 429
I added the Breach Info (DataClasses) the the output (as I like the idea of directly see what was breached); Maybe not for everyone wanted
Added a similar to domain check a breach check (check by name)
added to the domain check a Description (reformatting from HTML)
Outputfile: That was the initial use case. I run ~ 200 addresses and some are pawned. And so I want in the end a file with the exposed mails. And use this file to get a second run and grab the output of your nice program :-)

Sorry to put everything one pr, but that was not done intentionally.  - I did not expected to make some useful adjustments.
Please check and feel free to comment, change. I tried to stick to your coding.
Alex / uptoratlen

I noticed just as I committed, I left a unused code in side in def read_config()global key, useragent, idle_time
That was from a state where I added the idle_timer to the config file. Sorry.....

Will the PR be merged? Love improvements


Increase the size of our large message test

~1MB --> ~1GB

Jenkins: test this please

Tests seem unhappy: https://grpc-testing.appspot.com/job/gRPC_pull_requests_linux/2949/

Extremely... this may have been a good thing to do.

Might be worth bumping to 2GB instead to test against the protobuf limit.

This PR has been broken for a while. Can we get an update on the status ? Would it make sense to at least identify the message size up to which the test reliably passes ?

I honestly forget why this was broken (as does Jenkins apparently). Have been meaning to circle back to this soon, but other properties have been much much higher.
Jenkins: test this please

Performance differences noted:
Benchmark                                          allocs_per_iteration    atm_add_per_iteration    atm_cas_per_iteration      cpu_time  locks_per_iteration      real_time  writes_per_iteration
-------------------------------------------------  ----------------------  -----------------------  -----------------------  ----------  ---------------------  -----------  ----------------------
BM_IsolatedFilter<DummyFilter, SendEmptyMetadata>                                                                                +5.50                               +5.50

[trickle] No significant performance differences

is this PR still a thing?

@dgquintas - not sure
@lyuxuan @vjpai  - it's moved onto some other PR now right?

yes. I continued this PR's work on #10716. And now the work moves to #11889 and @vjpai is working on.

This is not important anymore then


Add structure to a generator

Not sure how this generalises, but it would be nice if you could click on a generator and say make it a monoid.
With #522 and #523, you could do this by inserting your monoid signature and then merging your original generator and the new generator, but it would be nice if we could do this automatically. Maybe it would only work for signatures with a single 0-generator.

Also what if I wanted to make a 1-cell f into a monoid but my monoid signature is defined on a 0-cell x. We should be able to lift the monoid signature one dimension higher by literally replacing x with f.

I have wanted this feature for years, but I thought it was predicated on a greater understanding of what it means to have a functor on signatures. I've forgotten why I thought this though, so it might not be relevant.

I don't see how this is related to functors. This is about adding stuff to the signature.

Because 'equipping a 1-cell $f$ with the structure of a monoid' is like having a functor (in an appropriate sense) which sends $f$ to the carrier of a monoid object in some category freely generated by a different signature. I don't know if it has to be thought of this way; I remember talking to @alexarice about this, maybe he can add?

I don't really see that. You can't send a 1-cell $f$ to the carrier of a monoid object which is 0D.


Error while generating class images

Describe the bug
(diffusers) user@powerpc:~/github/diffusers/examples/dreambooth$ ./my_training.sh
The following values were not passed to `accelerate launch` and had defaults used instead:
        `--num_cpu_threads_per_process` was set to `12` to improve out-of-box performance
To avoid this warning pass in values for each of the problematic parameters or run `accelerate config`.
Fetching 16 files: 100%|█████████████████████████████████████████████████████████████| 16/16 [00:00<00:00, 16221.63it/s]
Generating class images:   0%|                                                                   | 0/25 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "/home/user/github/diffusers/examples/dreambooth/train_dreambooth.py", line 658, in <module>
    main()
  File "/home/user/github/diffusers/examples/dreambooth/train_dreambooth.py", line 389, in main
    with context:
AttributeError: __enter__
Traceback (most recent call last):
  File "/home/user/anaconda3/envs/diffusers/bin/accelerate", line 8, in <module>
    sys.exit(main())
  File "/home/user/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/accelerate_cli.py", line 43, in main
    args.func(args)
  File "/home/user/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/launch.py", line 837, in launch_command
    simple_launcher(args)
  File "/home/user/anaconda3/envs/diffusers/lib/python3.9/site-packages/accelerate/commands/launch.py", line 354, in simple_launcher
    raise subprocess.CalledProcessError(returncode=process.returncode, cmd=cmd)
subprocess.CalledProcessError:
Command '['/home/user/anaconda3/envs/diffusers/bin/python',
'train_dreambooth.py',
'--pretrained_model_name_or_path=CompVis/stable-diffusion-v1-4',
'--use_auth_token',
'--instance_data_dir=training',
'--with_prior_preservation',
'--prior_loss_weight=1.0',
'--instance_prompt=a photo of a dog',
'--class_prompt=a photo of dog',
'--resolution=512',
'--train_batch_size=1',
'--gradient_accumulation_steps=2',
'--gradient_checkpointing',
'--use_8bit_adam',
'--learning_rate=5e-6',
'--lr_scheduler=constant',
'--lr_warmup_steps=0',
'--max_train_steps=800',
'--class_data_dir=classes']' returned non-zero exit status 1.

 It seems your CUDA installation and/or the GPU is not being detected in WSL.

That's actually what I also just found out. Do you have a reddit link for me please so I can read along?

@InB4DevOps here https://www.reddit.com/r/StableDiffusion/comments/xtc25y/comment/iqxl54g/

Turns out my Ubuntu on WSL was version 1 although the default version was set to 2. 🤷♂
wsl -l -v
make sure your distro is version 2


Add Badges, Fix Random Build Failure

Fixes a random build failure due to the off-chance that the client init, and first call has a chance to complete before the gRPC Server is fully constructed. This would only happen during tests

Thanks!


MacOS Desktop App - Backspace, Delete, Arrows Keys not working

When editing text within the Cell, some keys are not working in the MacOS desktop app created from Flutter.
I tried Flutter stable, dev, master channels. Still the same

It seems like Windows also have the same issue. Just checked

The post below seems to suggest it was resolved in MASTER channel but I could't get cell editing to work with Backspace for PlutoGrid
https://github.com/flutter/flutter/issues/78629

On windows 10 i also meet same problem. but windows 7 is not meet this error. Don't know why

Resolved PlutoGrid 2.6.0

Hello, could someone help me?
I tested moving between table cells using the keyboard arrows on Windows and web, and it works well. However, when using Linux (Ubuntu version 22.04.4), the arrows do not work.

I have the same problem here. It works fine on Windows and Web but didn't on Linux (Ubuntu 24.04)


Error in weathermap install Centos 7

Hi
i have a error when i start weathermap :
[systemadmin@weathermap html]# ./weathermap
PHP Strict Standards:  Non-static method PEAR::isError() should not be called statically, assuming $this from incompatible context in /usr/share/pear/Console/Getopt.php on line 109
anyone know this error ?
CentOS Linux release 7.3.1611
Installed packages, channel pear.php.net:
Package          Version State
Archive_Tar      1.3.11  stable
Console_Getopt   1.3.1   stable
PEAR             1.9.4   stable
Structures_Graph 1.0.4   stable
XML_Util         1.2.1   stable
PHP 5.4.16
regards
olivier

Please implement the one-line change in 1dfdf250a9776ecf713fae8032c83ca6bdae6c64

Duplicate of  #37

Sorry - this isn't a duplicate, but it IS fixed in 0.98 (which is what causes the problem for older PHP in #37). Which version are you using?

Hi
i use the latest version i thinks:
php-weathermap-0.98.zip
regards

I don't have the good version ?


[Release] sdk/resourcemanager/mobilenetwork/armmobilenetwork/1.0.0

https://github.com/Azure/sdk-release-request/issues/3527

Approved.


Fix kubectl command in the interactive shell

Probably best to use the right name.

Probably best to use the right name.

That does sound like a solid idea :+1:
Thanks @SEJeff !


Add a test for searching the projects on the home page

Closes #3363.

Merging since expected electron suites pass, and this PR only touches an electron test spec


Where is newest version (13.2.0)?!

I have this problem and @pouladpld finally forwarded us to version 13.2.0 but its linked Nuget address is different with Nuget address of homepage of this project. It gose to https://www.nuget.org/packages/Telegram.Bot.Core/
I want resolve this problem in my bot and i should fix it fast but I confused!
Should I uninstall Telegram.Bot package from my project and continue this project by Telegram.Bot.Core from today? Or ...

@Ramin-Bateni It's been a while that @MrRoundRobin isn't active here so I fixed some bugs (see milestone v13.2.0) and updated .Core package.
Using that package shouldn't introduce any breaking change into your app and you can continue using the original package whenever @MrRoundRobin updates that.


Ensure we install Azurite

Description
Fix code coverage upload (job) in CD pipeline.
References
https://github.com/Energinet-DataHub/geh-message-archive/runs/6170301147?check_suite_focus=true
https://app.zenhub.com/workspaces/mighty-ducks---the-outlaws-6193fe815d79fc0011e741b1/issues/energinet-datahub/the-outlaws/258

Codecov Report

Merging #41 (63ec247) into main (1d01e48) will increase coverage by 40.32%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main      #41       +/-   ##
===========================================
+ Coverage   40.53%   80.85%   +40.32%
===========================================
  Files          45       45
  Lines         935      935
  Branches       76       76
===========================================
+ Hits          379      756      +377
+ Misses        545      144      -401
- Partials       11       35       +24

Impacted Files
Coverage Δ

...int/Functions/RequestResponseLogTriggerFunction.cs
0.00% <0.00%> (ø)

...ginet.DataHub.MessageArchive.EntryPoint/Program.cs
0.00% <ø> (ø)

...chive.Processing/Handlers/BlobProcessingHandler.cs
86.66% <0.00%> (ø)

...b.MessageArchive.Processing/Models/BlobItemData.cs
100.00% <0.00%> (+5.00%)
:arrow_up:

...ryPoint.WebApi/Controllers/SearchLogsController.cs
40.00% <0.00%> (+40.00%)
:arrow_up:

...ataHub.MessageArchive.EntryPoint.WebApi/Startup.cs
42.64% <0.00%> (+42.64%)
:arrow_up:

...WebApi/Controllers/DownloadLogContentController.cs
53.57% <0.00%> (+53.57%)
:arrow_up:

...Hub.MessageArchive.Reader/Models/SearchCriteria.cs
100.00% <0.00%> (+66.66%)
:arrow_up:

...ageArchive.Reader/Handlers/ArchiveSearchHandler.cs
76.92% <0.00%> (+76.92%)
:arrow_up:

...ve.Reader/Factories/StorageServiceClientFactory.cs
80.00% <0.00%> (+80.00%)
:arrow_up:

... and 13 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more


chore(LinearAlgebra): split Quotient.lean into Defs and Basic

This PR rearranges the definitions of quotient modules as follows:

LinearAlgebra/QuotientPi.lean is renamed LinearAlgebra/Quotient/Pi.lean
LinearAlgebra/Quotient.lean is split into

LinearAlgebra/Quotient/Defs.lean (with the definition and module structure of the quotient module)
LinearAlgebra/Quotient/Basic.lean (with some basic maps for the quotient)

[x] depends on: #18348

Thanks :tada:
If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.
bors d+

bors merge


Data Exports download page

This is an enhancement request -
On the user page that allows for downloads of data it would be nice to be able to sort by oldest to newest (by dag run date). https://sul-libsys-airflow-dev.stanford.edu/data_export_download/

Fixed by https://github.com/sul-dlss/libsys-airflow/pull/963


Rename Cloud-PTF repo to just PTF

This changes the path to match what's introduced by
https://github.com/crowbar/crowbar/pull/2108 and
https://github.com/crowbar/barclamp-provisioner/pull/441
Signed-off-by: Tim Serong<EMAIL_ADDRESS>

@bmwiedemann, good point, added.

LGTM

looks good now, but we need to wait for the other changes to be merged


can't open dir or files .JPG  can Open other files such as .png, .tif ....

https://ibb.co/i3QLvU

OS: mac os high sierra 10.13.5
PyQt version:  4

Closing due to inactivity.


Update languages.html

addition of javascript projects

please add hacktober fest and gssoc labels along with level label

Closing pull request due to inactivity.


Running via 'uvicorn' from scratch on M2 Macbook fails

Describe the bug or question
When running the project's "From Scratch" instructions, I get this error:
❯ poetry run uvicorn src.app.main:app --reload
INFO:     Will watch for changes in these directories: ['/path/to/project']
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     Started reloader process [37118] using StatReload
INFO:     Started server process [37122]
INFO:     Waiting for application startup.
ERROR:    Traceback (most recent call last):
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/starlette/routing.py", line 734, in lifespan
    async with self.lifespan_context(app) as maybe_state:
  File<EMAIL_ADDRESS>line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/path/to/project/src/app/core/setup.py", line 92, in lifespan
    await create_tables()
  File "/path/to/project/src/app/core/setup.py", line 34, in create_tables
    async with engine.begin() as conn:
  File<EMAIL_ADDRESS>line 210, in __aenter__
    return await anext(self.gen)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/ext/asyncio/engine.py", line 1055, in begin
    async with conn:
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/ext/asyncio/base.py", line 121, in __aenter__
    return await self.start(is_ctxmanager=True)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/ext/asyncio/engine.py", line 270, in start
    await greenlet_spawn(self.sync_engine.connect)
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 197, in greenlet_spawn
    result = context.throw(*sys.exc_info())
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3279, in connect
    return self._connection_cls(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 145, in __init__
    self._dbapi_connection = engine.raw_connection()
                             ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/engine/base.py", line 3303, in raw_connection
    return self.pool.connect()
           ^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 449, in connect
    return _ConnectionFairy._checkout(self)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 1263, in _checkout
    fairy = _ConnectionRecord.checkout(pool)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 712, in checkout
    rec = pool._do_get()
          ^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 179, in _do_get
    with util.safe_reraise():
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/impl.py", line 177, in _do_get
    return self._create_connection()
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 390, in _create_connection
    return _ConnectionRecord(self)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 674, in __init__
    self.__connect()
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 900, in __connect
    with util.safe_reraise():
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/util/langhelpers.py", line 146, in __exit__
    raise exc_value.with_traceback(exc_tb)
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/pool/base.py", line 896, in __connect
    self.dbapi_connection = connection = pool._invoke_creator(self)
                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/engine/create.py", line 643, in connect
    return dialect.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/engine/default.py", line 616, in connect
    return self.loaded_dbapi.connect(*cargs, **cparams)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/dialects/postgresql/asyncpg.py", line 937, in connect
    await_only(creator_fn(*arg, **kw)),
    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 127, in await_only
    return current.driver.switch(awaitable)  # type: ignore[no-any-return]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/sqlalchemy/util/_concurrency_py3k.py", line 192, in greenlet_spawn
    value = await result
            ^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/asyncpg/connection.py", line 2329, in connect
    return await connect_utils._connect(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 1017, in _connect
    raise last_error or exceptions.TargetServerAttributeNotMatched(
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 991, in _connect
    conn = await _connect_addr(
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 828, in _connect_addr
    return await __connect_addr(params, True, *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 873, in __connect_addr
    tr, pr = await connector
             ^^^^^^^^^^^^^^^
  File "/Users/username/Library/Caches/pypoetry/virtualenvs/fastapi-boilerplate-lraqQfQg-py3.12/lib/python3.12/site-packages/asyncpg/connect_utils.py", line 744, in _create_ssl_connection
    tr, pr = await loop.create_connection(
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "uvloop/loop.pyx", line 1978, in create_connection
socket.gaierror: [Errno 8] nodename nor servname provided, or not known

ERROR:    Application startup failed. Exiting.

Description
As you can see, Redis & PostgreSQL containers are running as per the instructions:

I'm running this example on an M2 Macbook Air with macOS 14 (Sonoma), and every "solution" I could dig up so far (changing hostname, adding stuff to /etc/hosts) did not work ..

Mhh, after further investigation, this problem has nothing to do with your code, so I'm closing this issue!


Removing check if player is in town when taking tp causes kurast chest run to bug

Details
the removal of the following code :
if d.PlayerUnit.Area.IsTown() {return}
during the refactor of tp_actions.go, makes the lower kurast chest run bug (the player tries to open a portal in town).
Version
dev

When is this happening? When going back to sell junk or what?

This is sometimes happening with other runs too, it's not specifically the lower kurast chest run. I fixed it by reverting the code change to the ReturnTown() function in tp_actions.go
full code :
`func (b *Builder) ReturnTown() *StepChainAction {
return NewStepChain(func(d game.Data) (steps []step.Step) {
if d.PlayerUnit.Area.IsTown() {
return
}
	return []step.Step{
		step.OpenPortal(),
		step.InteractObject(object.TownPortal, func(d game.Data) bool {
			return d.PlayerUnit.Area.IsTown()
		}),
	}
}, Resettable())

}`


Dropdown not closing when item clicked

I notice in 1.7.0 that when I click a link in a dropdown the dropdown no longer closes.
Change that causes this is https://github.com/CenturyLinkCloud/Cyclops/commit/0e7dd7b688ef8a8afc417287db2417a3620d251d
Compare clicking a link in the dropdowns in the 2 example pages:

In http://assets.ctl.io/cyclops/1.6.0/buttons.html#dropdowns clicking a dropdown link takes you to the top of the page and when you scroll back down to the dropdown it is closed.

In http://assets.ctl.io/cyclops/1.7.0/buttons.html#dropdowns clicking a dropdown link takes you to the top of the page and when you scroll back down to the dropdown it is still open.

Is this intentional behavior now?
Thanks

Yes this was intentional, Links should take the user away from the page or cause some navigation. If they preform an action a button should be used instead.


UMD entry point not automatically executed in AMD-enabled cases

Feature request

I have a use case where we want our library to be in umd  format but want the amd part of it to works like amd-require format. Basically we expect a global endpoint even if there is an alternative module system in place.
Here is a use case that is very similar to what I have: https://www.haykranen.nl/2013/05/10/the-problem-with-combining-umd-require-js-modules-and-non-umd-modules/
What is the expected behavior?
When our umd library is used in a require.js-active environnement we still want the entry point to be executed and a global entry available.
What is motivation or use case for adding/changing the behavior?
We have reports our library when used in require.js enabled use case does not execute its entry, which is required for some "environmental" preparation of our library and to coordinate with other loosely-dependent modules that may or may not be required to be bundled with client code.
How should this be implemented in your opinion?
Allow a amd-require-like variant of umd library target.
Are you willing to work on this yourself?
no

@tri170391 Sorry fr delay, problem still exists?

Is there an option similar to amd-require mode but for UMD instead in latest version og webpack?


Unauthorized on SELL order

This call looks like it should be exactly right according to the specs. I am getting 401 Unauthorized (sending token in header) and all other calls work with token in header.  Did I miss something?
Sanity Checks: Its after hours (hence limit order)
Token is valid: Used it on other calls (like position, accounts, etc)
Have stock: i have exactly 1 share of PEB
Sending as post data: yes
account=https://api.robinhood.com/accounts/XXXXXXXX/&instrument=https://api.robinhood.com/instruments/cdb032fb-3738-4390-9594-0d0b90f231c5/&symbol=PEB&type=limit&time_in_force=gfd&trigger=immediate&quantity=1&side=sell&price=34.47

I was dumb it works. I had a flag for adding token to all outgoing requests and i somehow had it off for that request >.<.