send a different DM when ban reason contains "ice"

Closes #75
This is what it looks like for ice

This is what it looks like for normal bans

some things I want to say before merging this

I don't know if having ice-specific code is good. I think it's better to have a environment var which has keeps a list of banned words and compare those words to ban reason
Should I also include Reason in the DM because sometimes mods like to send some videos or some sort of message in the ban reason

I also agree that we shouldn't have ice-specific code (check #77)

@elkowar Can you please tell what you want :cry:

!ban @user nice try

Wait, why do I have the contributor badge?  And since when?  I don't appear on the contributors tab either.

@6gk we (lidl) commited the fetcher.sh stuff in a way that kept the commit history, thus probably that makes you contributor (as you "co-authored" that PR)

Interesting.
Was my concern actually valid?  I don't know rust, but it doesn't appear to
check if 'ice' was in the middle of a word.

Yes this would also trigger if it contains nice or similar words, from my understanding.

fix™

.split_whitespaces.any(|w| w == "ice")

https://github.com/unixporn/trup-rs/pull/78#issuecomment-82236820

Shit! :kekw:


router can fail to restart on reboot

When a machine reboots, the router can fail to start depending on the timing of the following:

router restarts, finds that the fastdp interface isn't there, terminates. docker restart/backoff logic kicks in and repeats.
proxy sees router start, calls weave attach-router, checks whether router is running (and not restarting). if that fails, terminates, otherwise creates bridge etc and attaches router.

So the stars have to align quite well for this to succeed, i.e. the router must restart, the proxy must notice that and attach it before the router trips over the missing interface.
I am amazed this doesn't fail nearly all the time.
This is not an issue when fastdp is disabled because then the router waits for the interface to appear.
Related to #2112, but more severe.

I am amazed this doesn't fail nearly all the time.

Perhaps it does. Our tests only bounce docker, not the entire host. That leaves the fastdp bridge in place.

I've just tested this on a VM and amazingly the restart did work the three times I tried.
But insert
diff --git a/weave b/weave
index 97f7c51..06293dd 100755
--- a/weave
+++ b/weave
@@ -1924,6 +1924,7 @@ EOF
         launch_router "$@"
         ;;
     attach-router)
+        sleep 5
         check_running $CONTAINER_NAME
         enforce_docker_bridge_addr_assign_type
         create_bridge

and it fails, with the proxy logs showing
INFO: 2016/03/30 11:20:51.850209 Attaching weave router container: 7f5f7c723751bb70faa50f6ee9eb7b37533d59688317e914b63a1a108d14202d
WARN: 2016/03/30 11:20:56.890641 Attaching container 7f5f7c723751bb70faa50f6ee9eb7b37533d59688317e914b63a1a108d14202d to weave network failed: weave container is restarting.

repeatedly, and the weave logs showing
INFO: 2016/03/30 11:22:14.175050 Command line options: map[name:66:03:80:3a:36:92 nickname:host1 port:6783 datapath:datapath dns-effective-listen-address:<IP_ADDRESS> dns-listen-address:<IP_ADDRESS>:53 http-addr:<IP_ADDRESS>:6784 ipalloc-range:<IP_ADDRESS>/12]
FATA: 2016/03/30 11:22:14.175321 netlink error response: no such device

repeatedly.


fix: Create Event Activity will finish after event is created

Fixes #613
Changes: Create Event Activity will finish and send an intent to the fragment that started that activity, which is EventListFragment. (However, EventListFragment's parent activity is MainActivity, thus the intent will first be passed to the MainActivity) EventListFragment will then know that creating the event was successful as its onActivityResult function will be called.
Edit: Now just shows a toast instead.
Screenshots for the change:
In this GIF, we create an event named "lol"

@srv-twry @iamareebjamal Could you help me to review this?
However, EventListFragment does not automatically refresh after the event is created. I have tried calling the function getPresenter().loadUserEvents(true) inside onActivityResult to try to refresh the events list, but to no avail. Is there a way to refresh without the user having to swipe?

No need to make it that complicated. Just close the activity once it's done. This can be done in the fragment using getActivity().finish()

@iamareebjamal If I immediately closed the activity without sending any intent, I could not show the Snackbar with the message “Event Created Successfully” on EventListFragment. Is there a simpler way?

@iamareebjamal If I immediately closed the activity without sending any intent, I could not show the Snackbar with the message “Event Created Successfully” on EventListFragment.
The reason why I used onActivityResult was to display the Snackbar message at ViewUtils.showSnackbar(binding.getRoot(), message);
Is there a simpler way?

Show a Toast for the event creation message instead :smile:

Oh that sounds good! I'll try that instead!

@iamareebjamal Thank you for your help, the issue was simple after all ^^ll Is there a way to make EventListFragment refresh after the event is created?

@iamareebjamal Oh I see that another issue has been created for it haha.

@iamareebjamal Thanks for your help! Is this what you meant by creating a new method?
I have also tried to create a new unit test for it, or it is too similar to shouldShowSuccessOnCreated?

Please resolve conflicts


MERN_React: 2.3 Basics of React.createElement()

Description 📜

Instructions
Project directory
Branch MERN>MERN/Topic/Frontend/React/

Please read the contributing guidelines to get started
Why and What is React.createElement()?
Write a brief summary on what is React.createElement()? Why it is used and when to use it? Please refrain from coping from internet. You can use any source as inspiration.
Task

[ ] Audio
[ ] Documentation
[ ] Video

Domain of Contribution 📊

[X] MERN

@manjeetdhayal can you assign this issue to me.
I would like to work on the documentation part.
Ayush Jha
Batch - 3

/assign

@manjeetdhayal can you assign this issue to me.
I would like to work on the documentation part.
vaishnavi
Batch - 4

/assign

I would like to work on documentation part.
Batch - 3
Kindly assign this issue to me.

/assign


Moving companies logos

Closes #4214

Preview Link: https://dvc-org-moving-company--r5kosr.herokuapp.com/
inspirations from nextjs, vercel websites
used the logos provided by @jendefig
logos are set to gray color by default and colorful on hover

OMIGOD!!!!  LOOOOOOOVE!!!! 🙌🏼
Couple things:
Can we move the sentence under the logos. or in some way tighten it up because on my screen I can't see the logos when I arrive:

I'm noticing that if you put the sentence under the logos, it will look awkward with the next section.  (which looks a bit awkward now because white on white sections) We may need to do something about the background in the next section.
Possible easy fix that might be helpful in the meantime until we figure out the rest: Duplicate the bottom block to join the newsletter after the logos and then continue with the rest of the page. Might be nice to test if this makes an impact while we are figuring out next steps.  It has little function at the bottom of the page.  Most of our new newsletter emails are coming from the course.

Thanks @omesser  and @jendefig  for the suggestions.

tighten it up because on my screen I can't see the logos when I arrive

moved up to hero section so it should be visible now

it will look awkward with the next section

Again, now we moved to hero section the coloring looks good to me

join the newsletter after the logos and then continue with the rest of the page.

Sure, we can test that. I will push an update soon.

Can we increase the speed a bit?

I think it's more faster than previous and few other optimizations

Can you move UBS further up in the lineup - Let's put it after InLAB.

Done, right after InLAB. Let me know if we have more similar preferences.

Then I noticed that once they go through there is a flicker and they jump back after one cycle. Can you double the set of logos?

As mentioned, few optimizations are in place so that the flicker seems invisible or slight. We already had double set, now I multiplied it few more times and it should be negligible now.

Empowering thousands of users and customers from startups to fortune 500 companies

Updated title with

fortune -> Fortune
Also, added : to end similar to (https://iterative.ai/). Let me know if we have strong opinion on this.

fortune -> Fortune
Also, added : to end similar to (https://iterative.ai/). Let me know if we have strong opinion on this.

I personally think it looks a bit jarring and is slicker without the capital "F" and the ":". But I don't feel strongly about this that much 😄 , definitely not blocking
Will let you and @jendefig decide.
I think there's some restyler errors still - I'm approving to unblock  - great job @yathomasi 🙌

@yathomasi  - can you TAL at the restyled error please? is it a false negative?

@yathomasi - can you TAL at the restyled error please? is it a false negative?

Kind of, it's not actionable on our side. I had an issue open on their side https://github.com/restyled-io/restyler/issues/204 and as mentioned the solution is not applicable or worth the effort. So, I believe it's okay to skip that.

so that it doesn't look overflowing.

We want the logos to look overflowing.  Before the changes they went completely across my screen. See my previous picture.

We want the logos to look overflowing. Before the changes they went completely across my screen. See my previous picture.

This is how it would look and we wouldn't recommend it for a few good reasons:

we don't have content in the whole page overflowing outside the current container limit and we would want to be consistent

The main reason we don't want to hit the screen is it will not have great UX for large screens, wide screen monitors

Also, I don't think we want to overhaul with lots of logos

Merging this as we don't have any major blocker. We can definitely do follow-ups if anything comes up. cc: @jendefig

Great work @yathomasi @jendefig! Looks nice.


fix(portal/apps):修复proxy转发时遗漏args问题，问题导致VSCode无高亮等

proxy转发时未转发args，导致apps功能缺失。

Codecov Report
Base: 65.41% // Head: 65.41% // No change to project coverage :thumbsup:

Coverage data is based on head (d0cbbac) compared to base (1cbd1ce).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   65.41%   65.41%
=======================================
  Files          98       98
  Lines        2712     2712
  Branches      334      334
=======================================
  Hits         1774     1774
  Misses        896      896
  Partials       42       42

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


When show is called when annotation is already showing, it does not re-animate the annotation just re-renders it . To re-animate, call hide and then call show. This addresses https://github.com/pshihn/rough-notation/issues/27

Annotation object now lets you update the color, strokeWidth, animationDuration, animationDelay, padding, animate, iterations property so you can change them after showing an annotation. This addresses https://github.com/pshihn/rough-notation/issues/16

A seed is assigned to each annotation, so for every render, the hand-drawn randomness remains the same.

When show is called when annotation is already showing, it does not re-animate the annotation just re-renders it . To re-animate, call hide and then call show. This addresses Is it possible to .show() a second time, but with no animation? #27
Annotation object now lets you update the color, strokeWidth, animationDuration, animationDelay, padding, animate, iterations property so you can change them after showing an annotation. This addresses [Feature]: Change color or strokeWidth after annotate #16
A seed is assigned to each annotation, so for every render, the hand-drawn randomness remains the same.

Is there any way to get that seed ? For example to draw multiple "same" annotations (with the same seed)


I/O ordering requirements (for non-PCIe devices)

The OS-A platform spec used to have a requirement for strong point-to-point I/O ordering for most devices.  It was deleted last year with the remark "All the points specified in supervisor.adoc are already described in the new revamped platform spec", but I cannot find any statement to this effect.  The change was here: https://github.com/riscv/riscv-platform-specs/commit/3e12ad108b74b2852d8a8540350287114cb80174#diff-1d563824326d2cf24a223ae5c45f6247f5fd9a553acff627370ddd8f9e64b031L16-L17
I think we just need to add the following clause: "Unless otherwise specified by a given I/O device, I/O devices are on ordering channel 0 (i.e., they are point-to-point strongly ordered)."
I see that there are now some different requirements for PCIe.  That's OK; these statements don't conflict, because of the "unless otherwise specified" phrase.

Added this to PCIe section of the spec.
Thank You.

@kumarsankaran I'm reopening this issue to ask that you not place it in the PCIe section.  It is meant to apply to I/O devices in general (including things like PLIC/CLINT registers).  Maybe put it in the ISA requirements section (4.1.1)?

@aswaterman Since this applies to all IO devices and is a common requirement for all platforms, it would go into the ISA Requirements sub-section 2.1.1 within the OS-A Common Requirements section.
The OS-A Server Platform inherits all the requirements as defined in the OS-A Platform Common Requirements section.

My mistake, yeah, 2.1.1 is the right place.

Moved to section 2.1.1.
Closing. Thank You.

Thank you!


Set docker summaries for all extensions.

Description
Saw that it was missing on SqlServer during Damian's demo.
Checklist

Is this feature complete?

[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[ ] Yes
[x] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and  elements on your triple slash comments?

[ ] Yes
[ ] No

[x] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[x] No

Does the change require an update in our Aspire docs?

[ ] Yes

Link to aspire-docs issue:

[x] No

Microsoft Reviewers: Open in CodeFlow

/azp run

/backport to release/9.0

@eerhardt As I was writing what validation I had just done to ensure it's working, I realized that moving it to <remarks> is actually breaking it. Because it will now "inherit" the remarks tags. So the /// latest on the tags now need to be in /// <remarks> too.

So the /// latest on the tags now need to be in /// <remarks> too.

You mean "instead of" right?

"too" because I changed summary to remarks, so the Tags also need the change. But yes.
I applied the change on the backport PR, assuming we can then merge release/9.0 back to main. Not sure we need to update it in main in that case.

backport?

backport?

https://github.com/dotnet/aspire/pull/6433


Fix to query issues by state

Fixes #7
Depends on:

[x] #15
[x] #16

The following code:
var openState = new IssueState?[] { IssueState.Open }.AsQueryable();
var query = new Query().Repository("octokit", "octokit.net").Issues(first: 3, states: openState).Nodes.Select(i => i.Title);
var result = Enumerable.ToArray<string>(Connection.Run(query).Result);

Generates this incorrect query:
{query:
    {repository(owner:"octokit",name:"octokit.net")
    {issues(first:3,states:System.Nullable`1[Octokit.GraphQL.IssueState][]){nodes{title}}}}}

it should be
{query:repository(owner:"octokit",name:"octokit.net"){issues(first:3,states:[OPEN]){nodes{title}}}}

Hmm, I should add a test that checks this that isn't an integration test.

Unless you want to undo the recursion, i think we are done here.


Split readme into two docs, one for users, one for contributors

Reviewers please! (especially helpful would be reviewers who are not so familiar with the project)
I've followed @EmmaJP's idea of splitting into two guides and leaving the readme as more of a signpost...
Probably best to ignore the diff on this one, just read this and see if it makes sense: https://github.com/cucumber-ltd/bbc-a11y/blob/better-docs/README.md
Fixes #83 and #89

It would be nice to have a path to the standards so people know where to find the names of them to add for skipping @joshski

Is there a way to skip a standard for a list of urls or to I need to add it to every url @joshski?

Sorry me again, is there a way of running just one standard or would you just have to list out all of them in the skip except for the one you want to run @joshski?

Hi @greenc05, thanks!
This PR is just about improving the documentation for the existing features and installation process. Would you mind making other issues for these other bits:

a way to skip a standard for a list of urls
a way of running just one standard

Both of these are quick things to fix, but they aren't documented because they haven't been implemented yet.

Sure wasn't quite sure where to ask my questions, will do that now @joshski


Refactor towards ROP

What do you guys think about employing the Railway Oriented Programming in Paket codebase?
One obvious benefit would be that in case of any failure, no file would get modified. (yeah I know one could simply git reset, but that is probably not the best UX)
A command-line tool seems like a good candidate for the ROP technique.
As a volunteer I could do an experiment with the commands I'm most familiar with, i.e. convert-from-nuget and simplify to see where we can get to.
Edit:
List of paket commands that use ROP:

[ ] Init
[ ] Add
[ ] Remove
[ ] Install
[ ] Restore
[ ] Update
[ ] Outdated
[x] ConvertFromNuget
[ ] InitAutoRestore
[x] Simplify
[ ] FindRefs
[ ] Config

are you going to refactor other commands as well?

I plan to, but surely it can take more time.
Applying ROP gradually (i.e. not in a single PR) to the commands should be less error-prone

:+1

I wonder what Scott Wlashin is thinking about this!? It's becoming probably the biggest OSS project on ROP.

yeah, it'd be great if he could review the stuff one day when more commands use ROP, and tell whether that's what he meant :+1:


Fix renaming if shortNames parameter is true, fix #375

:white_check_mark: Build ConfuserEx 820 completed (commit https://github.com/mkaring/ConfuserEx/commit/d2da2d101f by @KvanTTT)

I used this version and things were going well for hours. Nothing wrong has ever occurred.


Gauge 1.1.1 in intelliJ IDE claims it cannot run with java 1.8 or use gauge-java 0.7.4 but picks latest java plugin

Describe the bug
Installed Gauge 1.1.1 and configured a plug-in in IntelliJ IDE.
The execution fails with error message
D:\software\Gauge1.1.1\bin\gauge.exe run --machine-readable --hide-suggestion --simple-console D:/specs/Dev.spec:125
This version of gauge-java plugin does not support Java versions < 1.9
Please upgrade your Java version or use a version of gauge-java <= v0.7.4
Error occurred while waiting for runner process to finish.
Error : exit status 1
What command(s) did you run when you found the bug?
D:\software\Gauge1.1.1\bin\gauge.exe run --machine-readable --hide-suggestion --simple-console D:/specs/Dev.spec:125

Output, stack trace or logs related to the bug
D:\software\Gauge1.1.1\bin\gauge.exe run --machine-readable --hide-suggestion --simple-console D:/specs/Dev.spec:125
This version of gauge-java plugin does not support Java versions < 1.9
Please upgrade your Java version or use a version of gauge-java <= v0.7.4
Error occurred while waiting for runner process to finish.
Error : exit status 1
Versions
C:>gauge -v
Gauge version: 1.1.1
Commit Hash: 6e0d83f
Plugins
html-report (4.0.12)
java (0.7.4)
json-report (0.3.3)
screenshot (0.0.1)
xml-report (0.2.3)
Gauge (Output of gauge -v)
C:>gauge -v
Gauge version: 1.1.1
Commit Hash: 6e0d83f
Plugins
html-report (4.0.12)
java (0.7.4)
json-report (0.3.3)
screenshot (0.0.1)
xml-report (0.2.3)
Node.js/Java/Python/.Net/Ruby version
Java
Operating System information
Windows 10
IDE information
IntelliJ Community

Are you using a build tool (maven or gradle) - if you do please check what version of gauge-java is added as a dependency. It should be 0.7.4
Java 1.8 has been announced to have "End of Public Updates", and it is recommended that users upgrade to a later version. While you may have your reasons to use an older jdk version, gauge does not support platforms that are not supported by the vendors themselves.
For example, if there's a bug in older versions of gauge, you'll have to update the plugin to receive the fix, and that would automatically make it incompatible with JDK 1.8.

Using Maven and using 0.7.4 itself.

com.thoughtworks.gauge
gauge-java
0.7.4

till that time where do i get old installer?

old installers of gauge and plugins can be found in the releases.
ex: https://github.com/getgauge/gauge/releases lists all releases of gauge.
Is this what you seek?

i kind of moved back to older IntelliJ, Gauge 1.0.8 and gauge-java older version with older java 1.8 it works.
but why this new release is not working fine?

Can you please be specific on what issue you are facing with the new version ? Like @sriv mentioned gauge-java does not support java1.8 any more.

Closing this as Gauge 1.1.1 does not work for Java 1.8 If you are using with the latest version of IntelliJ check JDK settings to pick up the latest version of Java

i happened to see that Gauge installed some things into C:\Users\xxxxx\AppData\Roaming\gauge\plugins
while from IntelliJ when i had given GAUGE_HOME as my installation path which is D:\Gauge111
That might be the cause for saying that its not finding the plug-in and tried installing each time i run and fails.


Copying and pasting broken

Copying and pasting will just teleport the selected region to the top left, instead of copying it.

arcade version:  1.8.22
Microsoft MakeCode version:  7.4.26

Tested and broken on both Chrome (99.0.4844.84 (Official Build) (64-bit) (cohort: Stable)) and Firefox (Version 99.0 (64-bit)) on Windows 10 Version 20H2 (Build 19042.1586).

Bug report is not complete. Please fill in the details on what location copy\pasted and screenshot if possible.

It appears that I cannot reproduce this anymore in the current Arcade version.

Fixed


Enhance IOOS colocate library for web-based query, preview and download of oceanographic data in ERDDAP

Project Description:
The ioos/colocate project started in OceanHackWeek 2019 as a way to find similar (colocated in space, time) oceanographic data hosted in ERDDAPs worldwide - see Awesome ERDDAP's server list for an idea of ERDDAP's popularity. The initial version was intended to be run as a lightweight UI in a Juypter Notebook environment, but it doesn't need to be limited to be notebook-based only. A number of enhancements can be made from the existing code base to extend colocate's capabilities:

improve query functionality and performance of colocate's ERDDAP query implementation, including update the erddapy API dependency and/or implement better parallelism in query algorithms
develop a standalone/webapp-like version to run via Panel or PyScript
allow interactive preview and/or download of ERDDAP datasets returned via user query (e.g. generate a timeseries plot for CF timeSeries or timeSeriesProfile datasets, scatter or profile plot for trajectory datasets)
build a colocate extension for Jupyter Lab

See the following issue in ioos/colocate for more info about the project and to get started: ioos/colocate#29.
Expected Outcomes:
The colocate package is a useful tool for lightweight discovery of in situ oceanographic data. IOOS sees benefit in developing tools to assist users in searching, previewing, and downloading oceanographic data from the constellation of ERDDAP servers operated worldwide. Any or all of the enhancements above will help to bring IOOS' and other organizations' oceanographic data to the fingertips (and data analysis environments) of scientists, data analysts, and general users worldwide.
Skills required:
Python, erddapy/ERDDAP, Panel/HoloViz/DataShader, PyScipt, Jupyter Notebook, Jupyter Lab, familiarity with netCDF and oceanographic data standards including Climate and Forecast (CF) conventions is helpful but not required - willingness to learn the data types is ok
Mentor(s):
Micah Wengren (@mwengren), Mathew Biddle (@MathewBiddle), Filipe Fernandes (@ocefpaf)
Expected Project Size (175 or 350 hours):
175 or 350 hours
Difficulty:
Medium/Hard

Closing to clean up for GSoC 2024 application


Swift 2.0 Human readable files requires Foundation

@objc attribute used without importing module 'Foundation'
@objc(Entity) // Error here
public class Entity: _Entity {
	// Custom logic goes here.
}

Fix - Add  Import Foundation

Hey Kostiantyn,
Thanks for the Pul Request. It looks like mogenerator 1.30 will be a Swift 2.0 release, which will be in the mainline instead of relegated to contributed templates. Please co-ordinate with @justin on #302.


Issue 205: Make iostream support optional.

You can disable references to *stream libraries by defining FMT_NO_STREAM_LIBRARIES before including the headers.
#define FMT_NO_STREAM_LIBRARIES
#include <format.h>

Bah, my build of the doc target works fine. So I don't know why the CI build is failing :-(

No worries, the doc build failure is unrelated.

To be honest, this seems to be utterly pointless, but to ones own I guess.

Merged with some changes in https://github.com/cppformat/cppformat/commit/b2714f83cc41ed84aff460161fbfa81f3d5e8882. In particular I changed FMT_NO_STREAM_LIBRARIES to FMT_USE_IOSTREAMS for consistency with similar macros and removed unnecessary checks mentioned above.
Thanks!

Thanks. I was going to do that today, but you beat me to it :-)


Update folder flattening so 'World' flattening does not reorder items

First, thank you for making this project available, it has been incredibly helpful in keeping my scenes organized!
While playing around with the folder options, I noticed that if you have folders nested under another object and the flattening method set to "World", it moves the objects to (usually) much earlier in the hierarchy, potentially affecting the render order of objects in the scene.
This is just a small change to use the hierarchy index of the root object, rather than the object itself, to position the "world" flattened hierarchy.  It still does not perfectly preserve the ordering of all nested objects (which depends on the order in which the folder scripts run), but it does prevent large changes in hierarchy position.

Thanks, this feature is still incomplete and needs a lot of improvement.


Nullpointer for InstagramGetInboxRequest.getPending_requests_users()

I assume this is supposed to return a list of name of users which have sent a direct message request.

Addressed in rewrite or no longer relevant.


MLDBFB-724 fix classifier segfault

Crash occurred when boundDataset.dataset->config_ was nulptr.
May not be the proper fix.

This feels more like a bandaid.  Can you look quickly at why config_ wasn't set, and fix it there if not?

Actually we should add a getId() function to MldbEntuty that will return sing kind of default if config is not set and use that instead of config_

Fixed in #770


Enhancement: Include incomplete revlogs even when training

In the past, I suggested excluding the incomplete revlogs from training because we didn't have any reasonable formula to calculate their memory states. However, now we do have a formula. So, including these revlogs makes sense now.
Corruption of the weights is not really a problem (now) because the effect of these revlogs on the weights will depend on their number. And if a user has a large number of such cards (for e.g. they deleted the old revlogs for most of their cards), they will want the optimizer to ensure that the RMSE is minimized for these cards as well.
The only problem I see is that the weights will depend on the input value of SM-2 retention.

It’s necessary to include them?

I know that this issue is closed but I still wanted to mention why I now think that this was a bad idea (for future reference).
RMSE or log loss is not an absolute measure of accuracy. With this idea, I was trying to minimize these metrics.
Surely, the optimizer would have succeeded in decreasing the values of the metrics. But, by working on incomplete revlogs, the optimizer could not have obtained accurate values of the parameters; it would just get some values that minimize the log loss.
I think using the default weights or training on complete revlogs is much better than training on "garbage".


Doc: comment mips/proof.rs

Maybe leave the doc comment for WitnessColumns but remove the ones for the iterators

Done. I also added more documentation regarding the structure.


ML-Agents results not on leaderboard

I noticed the ML-Agents results are not on the leaderboard.  Feel free to close this if the decision was made to not include them.

Hey there 👋 , yes the MLAgents are not on the leaderboard because we don't have an evaluation tool yet for MLAgents we're working on it 🤗

Hey there 👋 which model? If it's AI vs AI we have a leaderboard. Else we don't plan to add an evaluation tool for MLAgents for now.

Hey there 👋 which model? If it's AI vs AI we have a leaderboard. Else we don't plan to add an evaluation tool for MLAgents for now.

Hi! this model it should appear in this leaderboard afaik

Hey there 👋 your model is on the leaderboard https://huggingface.co/spaces/huggingface-projects/Deep-Reinforcement-Learning-Leaderboard we just display the first 100 models but if you type your user id in the search bar Karlpy you'll find them (rank 42 and rank 1230)

Now I can see it! Had to wait for 24h it seems, thank you! :)


Document broken: https://metadrive-simulator.readthedocs.io/en/latest/sensors.html

https://metadrive-simulator.readthedocs.io/en/latest/sensors.html

I left this here on purpose. I wanna know if the readthedoc sever can render 3D scenes and this bug occurs. It is likely we can fix it. I will do this when I am free, so we can generate 3D content in the doc compile time.

It can be solved by #644

How I make this notebook compiled again? The #644 should already fix this?

Firstly, you can build the doc locally, to see if this cell runs and outputs the expected results. If the cell does not run, you have to enable the running in compiling time for that .ipynb according to the readme in the documentation. If the cell runs and produces correct results, that means it is still not fixed by #644. As when you merge #644, the doc should be compiled again...


[Question]Can Open-adas run in CPU environment without using GPU ?

Initially, the source is written on the CPU side and after execution on the CPU side, profiling and performance wise the code is shifted to the device side like on the GPU side.
So I would like to know is open-adas source is available for non-Cuda i.e CPU source code and runs only in the CPU environment.

It cannot run on non-CUDA devices due to the dependency on TensorRT engine.

@vietanhdev
is the perception modules can be implemented with tvm which supports cpu backend deployment.


punycode failures, you can't @ a punycode handle, and handles render incorrectly

Steps to Reproduce
Someone has registered a handle with a punycode domain -
bsky-bsky-bsky.p-256.移动 which, correctly you are mapping underneath to bsky-bsky-bsky.p-256.移动
However, a couple of problems occur in the web app.

View that profile (https://bsky.app/profile/bsky-bsky-bsky.p-256.xn--6frz82g)
Now @ them, either via the compose button on their profile, or by following them and then using the search ahead (which works)
Add some more text
Create the post
Marvel as you get a post but the @ is not active. There are no underlying facets in the post record (e.g. at://did:plc:hfgp6pj3akhqxntgqwramlbg/app.bsky.feed.post/3laxkj2ww422c)
You're displaying the punycode handle on their profile page and search ahead. You should probably convert it back.

Attachments
No response
What platform(s) does this occur on?
iOS, Web (Desktop)
Device Info
No response
What version of the app are you using?
Build version: 1.93.0; Bundle info: 7731136 (prod); Bundle date: 24110818; Platform: web
Additional Information
No response

I can confirm, same problem here.


Can not see Toggle UE Link Visibility

Updated UE pack, Updated Comfy, can not see Toggle UE Link Visibility when right clicking?

Could you (a) post a workflow and (b) give me a list of custom nodes that you have loaded, so I can try to reproduce this?

Actually - first, try this:

stop ComfyUI
go into the ComfyUI directory and then into web/extensions
delete the folders cg-nodes, use_everywhere, and any javascript files with use_everywhere names
restart ComfyUI

I think that there might be a problem with old versions of the code hanging around... let me know if this helps, because I can put this into the installer if it fixes it.

Hi after doing what you said the things that were not working are working ok now, the only problem i am having trouble with is condictioning Positive, i have 5 nodes that have positive input (all using the same positive prompt) 1 main Ksampler 1 Face Detailer 1 Hand detailer &  2 different upcalers,
Can i just use 1 Anything Everywhere? and have the input_regex as positive or do i gave to have 5 seperate ones? as using one i am having problems that no pictures get generated after the Ksamplier... if i connect using the old noodles all are working?

Maybe you could post the workflow? It's hard to diagnose otherwise!
Have you tried turning the UE link visibility on? That might help.

Here is the workflow im working on rename . txt to json...
Custom Nodes used: Impack Pack, WAS node, ComfyUI_Comfyroll, Image chooser, UltimateSD upscale... ive removed some of the different type of prompting nodes to make things smaller for you, but the problem still happens.. please take a look. ive checked with UE link visibility on and everything looks connected
Broken workflow.txt

UPDATE Everthng is working great.. my problem as that the preview image after the Ksampler was out of order it started to show a preview image after it has been passed through other nodes with preview images and because i have a image chooser node the pauses the workflo it you cellect an image and press go it wass not letting the ksampler show the image... (hope this makes sence). The bottom line is IT WORKS... thank you for a great set of cutom nodes very useful...


add an alternative to find_by_text that looks at all inner text

The current implementation of find_by_text uses the following xpath: //*[text()="some text"], which only looks at the first text node within an element. This makes it difficult to query for elements with text split across multiple text nodes.
I think it would be useful to add an alternative that acts more like element.textContent(), querying against all inner text of an element rather than its first text node. This can be done with the following xpath: //*[.="some text"]
It could be called find_by_text_content or find_by_inner_text or something along those lines.
I'm happy to do the implementation and make a pull request if people agree that there's a need / desire for this

This seems like something better served by an example in the documentation for now. Since it's essentially:
some_text = "some text spread across multiple elements"
find_by_xpath(f'//*[.="{some_text}"]')

A well documented example scenario showing the limitations of find_by_text with a solution would be helpful to anyone facing the same situation.

I seem to have run into this also, where an HTML document had been built up like:
someElem.appendChild(document.createTextNode('some');
someElem.appendChild(document.createTextNode('text');
someElem.appendChild(document.createTextNode('spread');
...

In order to search for a single term in the middle of that content, this is the only XPath selector I've been able to get working in Splinter: //descendant::*/text()[contains(., "spread")].
I'm not an expert in XPath by any means, so it's possible there's a better selector; there were others that worked in the browser dev tools console, but not in Splinter. I tried the selector mentioned in the previous response and it didn't work for my scenario, so I wanted to add my solution to the mix.

Hi, is this issue up for grabs?

Hi, is this issue still open?

Hi, is This issue Still Open?


Enhancement: Upload of Documents/files to use as input in models (not using RAG)

What features would you like to see added?
We would like the ability to upload any type of file or document to LibreChat's local storage (similar to images approach). We then intend to use these files as input context in our models, particularly when the RAG_API_URL is not set. Setting up RAG is not a viable workaround for us.
There are already a few similar issues, such as https://github.com/danny-avila/LibreChat/issues/2755, but with slightly different preferred solutions or workflows.
For us, the two approaches, RAG and file input context, are not mutually exclusive. Therefore, we are not criticizing the current implementation, but we believe that LibreChat users should be able to configure how files are used in their models and within librechat.
This would be an addition to the current setup options.
More details
We will provide a workable "draft" implementation to show what would need to be enhanced/changed to make this work. We can also discuss about further or different implementations for the file upload.
Which components are impacted by your request?
Endpoints, Other
Pictures
Here is a screen recording of our local librechat with the relevant changes.
https://github.com/user-attachments/assets/45d9648c-6d0f-4629-a011-bc3a225eab72
Code of Conduct

[X] I agree to follow this project's Code of Conduct

https://github.com/danny-avila/LibreChat/issues/2755#issuecomment-2429418819


Hide footer from print view

Currently the footer is shown on the print view

Assigning to myself for implementation

Reassigning to @Coenego for review.

Coverage remained the same at 100.0% when pulling 76ff6cbcd8f848d979a40e349abbef4356857ebe on bp323:issue-425 into 142e7e7ecb30ab1988559d30f0c4bb29f7d20218 on CUL-DigitalServices:master.


Custom exception handler

Description
I offer functionality for global handling of custom exceptions.
An exception for handling will be defined through the interface
namespace CodeIgniter\Exceptions;

use CodeIgniter\HTTP\RequestInterface;
use CodeIgniter\HTTP\ResponseInterface;

interface CustomExceptionHandlerInterface
{
    public function renderResponse(RequestInterface $request): ResponseInterface;
}

An exception can be thrown from anywhere in the application.
Checklist:

[x] Securely signed commits
[ ] Component(s) with PHPDoc blocks, only if necessary or adds value
[x] Unit testing, with >80% coverage
[x] User guide updated
[x] Conforms to style guide

Thank you.
Please fix coding style,
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style
and failed test.

There was 1 failure:

1) CodeIgniter\Commands\CommandTest::testRoutesCommand
Failed asserting that '+---------+----------------------------+-----------------------------------------------------+\n
| Method  | Route                      | Handler                                             |\n
+---------+----------------------------+-----------------------------------------------------+\n
| GET     | /                          | \App\Controllers\Home::index                        |\n
| GET     | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| HEAD    | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| POST    | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| PUT     | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| DELETE  | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| OPTIONS | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| TRACE   | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| CONNECT | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
| CLI     | migrations/([^/]+)/([^/]+) | \CodeIgniter\Commands\MigrationsCommand::$1/$2      |\n
| CLI     | migrations/([^/]+)         | \CodeIgniter\Commands\MigrationsCommand::$1         |\n
| CLI     | migrations                 | \CodeIgniter\Commands\MigrationsCommand::index      |\n
| CLI     | ci(.*)                     | \CodeIgniter\CLI\CommandRunner::index/$1            |\n
| CLI     | exception                  | \Tests\Support\Controllers\Popcorn::customException |\n
+---------+----------------------------+-----------------------------------------------------+\n
\n
' contains "| testing".

/home/runner/work/CodeIgniter4/CodeIgniter4/tests/system/Commands/CommandTest.php:114

https://github.com/codeigniter4/CodeIgniter4/runs/4250147232?check_suite_focus=true

I modified the test by creating new class instances.
But the behavior of CommandTest :: testRoutesCommand seems to be wrong to me.

@iRedds

But the behavior of CommandTest::testRoutesCommand() seems to be wrong to me.

What do you mean? If something wrong, please create an issue or a PR.

@iRedds You mean changing another test makes CommandTest error?
If so, you're correct. It should not happen.
But in reality, there seems to be tests depending on other test results (global state).

@iRedds You mean changing another test makes CommandTest error? If so, you're correct. It should not happen.
@kenjis Yes, that's what I meant.

In CodeIgniterTest, all tests use a closure, and the closure is excluded when generating the list of routes.
Therefore, up to this point, all tests passed without errors.

I'm not convinced this is the best solution. This was something I had been thinking about implementing and hadn't gotten to it quite yet.
The first thing is that we already have a custom exception handler, and this solution is bypassing that and catching the exception before it makes it to the handler. The second is that it doesn't seem to allow custom handling of generic errors.
Here's where I was heading with my thinking of how to do it:
The exception handler that we already register simply:

catches all catchable errors
checks to see if a custom handler has been specified for the specific error/status code, or the type of exception.
If a custom handler has been found - run it.
If not run our normal functions, which is now split out into a handler.

Whether the handlers are defined in a config file, or in an overridden function, I'm not sure. Maybe a combination of the two?

@lonnieezell Only exceptions that implement the CustomExceptionHandlerInterface interface are caught.
By your logic, any try..catch block in the application " is bypassing that and catching the exception before it makes it to the handler."

In fact, my PR is a replacement for the following code

//controller method
public function someMethod()
{
    try {
      //throws MyException
    } catch (MyException $e) {
      return //response
    }
}

public function someMethod2()
{
    try {
      //throws MyException
    } catch (MyException $e) {
      return //response
    }
}

by moving the try..catch block up one level.

My implementation allows to apply filter "after" to response.
All exceptions except custom ones will be handled as before.

At the expense of configuration files. I believe the config files should be config files. That is, they should not contain logic.
If you put it in a separate file, then it will have to be registered in the config file, because you cannot call it directly from the core of the framework. Since for some unthinkable reason, someone decided that it was necessary to give the opportunity to change the namespace of the application.
All of this creates an extra overhead, as with registering custom exception handlers separately.
Although initially I planned to make just a general exception handler, in which it would be possible to catch not only custom exceptions, but also exceptions of third-party libraries. It seems like it was in Laravel.


Adding Counter16 Benchmark in microbenchmarks

Motivate of the pull request

[ ] To address an existing issue. If so, please provide a link to the issue:
[x] Breaking new feature. If so, please describe details in the description part.

Describe the technical details

What is currently done? (Provide issue link if applicable)

What does this pull request change?

Which part of the code base require a change

[ ] RTL
[ ] Gate-level netlists
[x] Design Verification
[ ] Physical Design
[ ] Timing characterization
[ ] Documentation
[x] Regression tests
[x] Continous Integration (CI) scripts

Impact of the pull request

[ ] Require a change on Quality of Results (QoR)
[ ] Break back-compatibility. If so, please list who may be influenced.


ADD Cards in Book list and make searchbar work

I plan to use React glassmorphism to add cards in the booklist and make the searchbar work among this list

@PRIZZA21 go for it
make sure things are responsive and you have read the guidelines for contributing


Setting Security Policy when creating vswitch

Hello,
I'm having an issue when trying to set the security policy when creating a vswitch. It works just fine if I don't add the security policy to the vswitch_spec instance below; but once I do it complains.
Here is the code snippet:
def AddHostSwitch(host, vswitchName):
    vswitch_spec = vim.host.VirtualSwitch.Specification()
    vswitch_spec.numPorts = 32
    vswitch_spec.mtu = 9000
    #Set security policies. For this use case need it wide open
    network_policy = vim.host.NetworkPolicy()
    network_policy.security = vim.host.NetworkPolicy.SecurityPolicy()
    network_policy.security.allowPromiscuous = True
    network_policy.security.macChanges = True
    network_policy.security.forgedTransmits = True

    vswitch_spec.policy = network_policy
    host.configManager.networkSystem.AddVirtualSwitch(vswitchName,vswitch_spec)

Here is what vswitch_spec looks like before calling  host.configManager.networkSystem.AddVirtualSwitch(vswitchName,vswitch_spec):
(Pdb) print vswitch_spec
(vim.host.VirtualSwitch.Specification) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   numPorts = 32,
   bridge = <unset>,
   policy = (vim.host.NetworkPolicy) {
      dynamicType = <unset>,
      dynamicProperty = (vmodl.DynamicProperty) [],
      security = (vim.host.NetworkPolicy.SecurityPolicy) {
         dynamicType = <unset>,
         dynamicProperty = (vmodl.DynamicProperty) [],
         allowPromiscuous = true,
         macChanges = true,
         forgedTransmits = true
      },
      nicTeaming = <unset>,
      offloadPolicy = <unset>,
      shapingPolicy = <unset>
   },
   mtu = 9000
}

Here is the error message returned:
(Pdb) host.configManager.networkSystem.AddVirtualSwitch(vswitchName,vswitch_spec)
*** vmodl.fault.InvalidArgument: (vmodl.fault.InvalidArgument) {
   dynamicType = <unset>,
   dynamicProperty = (vmodl.DynamicProperty) [],
   msg = 'A specified parameter was not correct: ',
   faultCause = <unset>,
   faultMessage = (vmodl.LocalizableMessage) [],
   invalidProperty = <unset>
 #}

Is this truly an issue or am I incorrectly setting the arguments for the security policy?
thanks.
-J

Did this go into null? :-)

Sorry, I did not respond to this earlier and lost track of it.
I don't know the rationale for it, but I believe if you specify any policy spec, then you have to specify all of the fields.
So you need nicTeaming and shapingPolicy completely filled out as well. I don't think you need to fill out the deprecated offloadPolicy.


Fast_SCNN based on the original config yaml cannot reproduce the mIoU?

Without any change, I train with 8 gpus but only get 59.0 mIoU on cityscapes. But using your trained fast_scnn_segmentron.pth can reproduce 68.9
Did you change something later about the config yaml?
Thanks for your nice work!

repeat #18


Read Access Violation on invalid response

I used some bogus server URIs.
At some point, some server returned a very basic html response.
The parse function, in this case the sync_folder_items_result::parse(...),
used the get_element_by_qname(...) function to get the "SyncFolderItemResponseMessage" xml tag.
But since the response was bogus, the function returned a nullptr.
This nullptr is dereferenced to the parse_response_class_and_code(...) function and first_attribute is called on it, causing a Read Access Violation.
What is the intended way to handle this?

This is the case for every parse function. If I'm not mistaken.

Yes, access violations (or at least SIGABRT via a failed assert()) are expected when the XML returned from the server is not as expected.
It seemed a good idea back when development of the library started because you'd see immediately where mistakes are being made in the parsing code.
In production, I think, this is not such a good idea to take a whole process down just because a remote server answers in an unexpected way.

This is the case for every parse function. If I'm not mistaken.

You're correct.

57ede1d should solve items 1. and 2. of the list above.

Since PR #112 has been merged I like to close this issue. @SebastianBecker2 is this fine with you?

Works like a charm. Thanks a lot!


virtualization: Remove temporary comments.

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Do not merge now. Under investigation of @vefimova.

@vefimova PTAL again.
I tested this locally (i know, this deserves for additional testcase). This works and removes regression mentioned in #157

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion, some commit checks pending.

pkg/libvirttools/virtualization.go, line 327 at r2 (raw file):

		if domain != nil {
			if domainID, err := v.GetDomainUUID(domain); err == nil {
				//TODO: This is temp workaround for returning existent domain on create container call to overcome SyncPod issues

This comment still should be left, as we discussed if evething worked as designed, it's kubelet job to decide when to request container creation, and we should return error in case it exists

Comments from Reviewable

Reviewed 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

pkg/libvirttools/virtualization.go, line 327 at r2 (raw file):
Previously, vefimova (Victoria Efimova) wrote…
This comment still should be left, as we discussed if evething worked as designed, it's kubelet job to decide when to request container creation, and we should return error in case it exists

Done

Comments from Reviewable


Fix dependent Oracle library paths embedded in sqlplus and Oracle libraries.

OS X executables and libraries include dependent dynamic shared library paths.
For example:
$ otool -L sqlplus
sqlplus:
	/ade/dosulliv_sqlplus_mac/oracle/sqlplus/lib/libsqlplus.dylib (compatibility version 0.0.0, current version 0.0.0)
	/ade/b/2475221476/oracle/rdbms/lib/libclntsh.dylib.11.1 (compatibility version 0.0.0, current version 0.0.0)
	/ade/b/2475221476/oracle/ldap/lib/libnnz11.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

sqlplus tries to use libsqlplus.dylib in DYLD_LIBRARY_PATH. If it fails, it tries to use the embedded full path(/ade/dosulliv_sqlplus_mac/oracle/sqlplus/lib/libsqlplus.dylib) and then tries to use libsqlplus.dylib in DYLD_FALLBACK_LIBRARY_PATH.
The default value of DYLD_FALLBACK_PATH includes /usr/local. Thus if brew --prefix is /usr/local, sqlplus works without DYLD_LIBRARY_PATH. But if brew --prefix isn't /usr/local, sqlplus doesn't work without DYLD_LIBRARY_PATH.
This pull request fixes the embedded paths as follows:
$ otool -L sqlplus
sqlplus:
	/brew_prefix_path/lib/libsqlplus.dylib (compatibility version 0.0.0, current version 0.0.0)
	/brew_prefix_path/lib/libclntsh.dylib.11.1 (compatibility version 0.0.0, current version 0.0.0)
	/brew_prefix_path/lib/libnnz11.dylib (compatibility version 0.0.0, current version 0.0.0)
	/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 159.1.0)

sqlplus works without DYLD_LIBRARY_PATH even though brew --prefix isn't /usr/local.
This also fixes embedded paths in other libraries such as libclntsh.dylib.11.1.

Thank you for the fix! I haven't tested whether it works but I believe it does.


Refactor @defered to a synthetic structural directive

The source of https://github.com/dart-lang/angular/issues/1539 is that @deferred tries to be clever, and implements itself similar to a structural directive but doesn't go through all of the steps. It's trivial to add a workaround to fix #1539, but in the future it would be nice if:
<custom-comp @deferred></custom-comp>

... was basically a direct sugar of:
<template>
  <custom-comp></custom-comp>
</template>

... where <custom-comp> is constructed lazily (using the loadDeferred() logic).

Isn't it already a direct sugar for
<template>
  <custom-comp></custom-comp>
</template>

?
https://github.com/dart-lang/angular/blob/75d190d59efd7795355649d995e94403ce351e59/angular_ast/lib/src/visitors/desugar_visitor.dart#L101-L105

You're right. Then I have no idea why it generates different code than a typical <template>. :)


[NetAppFiles] bump to 2024-07-01

https://github.com/Azure/azure-cli/pull/30093

https://github.com/Azure/azure-cli/pull/30093


No module named 'BVH_mod'

It does look like there is a file missing, the scripts split_joint and bvh_parser both try to import BVH_mod.
but this file is not in the directory.
Is this module in another directory or is this some mistake ?

it´s in utils folder, my bad


feat(typeahead): handles min-length of 0

Correctly handles min-length of 0 (i.e. will keep typeahead popup open even when all input has been deleted).
Still uses a default value of 1 for backward compatibility (when min-length is falsy but not === 0).

What's the status on this?

LGTM


VAAPI wayland support patch

Would you please add this patch for VAAPI support for Wayland, from chromium-wayland-vaapi?
Thanks

I usually try to stay as close to extra/chromium as possible, maybe it would be better to have the patch be part of the arch or chromium upstream?

I'd request it there then.
I doubt if there would accept it, as that's might be why chromium-wayland-vaapi came

Pretty please.... We would appreciate it so much

How is the patch licensed?

this is where the patch comes from: https://github.com/OSSystems/meta-browser

Alright, I will look into adding the patch for the next release. It seems like chromium upstream will also include fixes for wayland in the future, according to the description of the patch

Thank you

As mentioned in the commit, 101.0.4951.41-1 does not include the patch as it hasn't updated yet and causes conflicts. I will create a new release as soon as possible

I messed up the pull request mentions in https://github.com/ungoogled-software/ungoogled-chromium-archlinux/releases/tag/103.0.5060.53-2 but the next release should include the patch again


Allow for optional parameters to be passed into BuildVariables

Also update URIs for gitlab docs concerning group and project
build variables.
This addresses https://github.com/NARKOZ/gitlab/issues/527

Thank you ❤


feat/support screen data in components

feat: WIP
feat: adding a screen class

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


README.md title URL points to another site

The makeitopen.com title in the README file is pointing to some path in the same repo, which is weird after I cross checked its markdown and it clearly should point to its actual URL.
Please fix this and enlighten me about how this is happening.

Could you look into this @matthewjohnston4 ?

Fixed!


trimNodeRange in conditionals

If you have a function that ends with a conditional, the close-of-function }) can get written before the close-of-conditional }, due to the fact that functions trim trailing whitespace and conditionals do not.
This adds trimming to conditionals. It's possible that other block forms suffer the same bug and will also need to start trimming in case they appear at the end of a function.

Thanks! Released in v1.16.0.


wslapi.h not found

Greetings Team,
Seems I'm missing a library package somewhere, but not finding much online about where to get this header file.
Severity	Code	Description	Project	File	Line	Suppression State	Suppression State
Error	C1083	Cannot open include file: 'wslapi.h': No such file or directory	C:\Users\nandesu\source\repos\WSL-DistroLauncher\DistroLauncher\DistroLauncher.vcxproj	C:\Users\nandesu\source\repos\WSL-DistroLauncher\DistroLauncher\stdafx.h	27
Any assistance is greatly appreciated.

Update Windows SDK to latest version.


pull request for e2e test at 12/24/2016 03:56:10

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


Optimize fast codepath for applying limits

Often, we will specify a LIMIT on the result of a complex query, which can potentially leave us with a Dask dataframe with several empty partitions (in my case, I encountered this with cross-join operations). In these cases, checking the length of the dataframe's first partition doesn't really give us a good idea of if we can apply a LIMIT on the dataframe with minimal persists using head(), as the first partition actually containing data could be the Nth partition of the dataframe.
This PR resolves this by expanding the partition length check to grab the length of the first nonempty partition; this new check ideally shouldn't result in any significant extra persists, as the only additional dataframes we are loading into memory are empty.
cc @ayushdg @randerzander

Also, I'm kinda scratching my head as to why we're doing this check in the first place - perhaps I need to look into Dask's implementation of head(), but I would assume that if we don't have to apply an OFFSET that head() would always be the optimal way to grab the requested data in terms of persists?

Superceded by #696


HA 2022.6 brakes Toyota

Describe the bug
Setup failed for custom integration toyota: Requirements for toyota not found: ['mytoyota==0.7.7'].
To Reproduce
Upgrade HA to 2022.6

Logger: homeassistant.util.package
Source: util/package.py:99
First occurred: 20:41:07 (9 occurrences)
Last logged: 20:43:18
Unable to install package mytoyota==0.7.7: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb635deb0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb5a331c0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb5a33400>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb5a335e0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb5a33790>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb5a33940>: Failed to establish a new connection: [Errno -2] Name does not resolve')) WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Unable to install package mytoyota==0.7.7: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f92458640>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f920462e0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f92046520>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f92046700>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f920468b0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/5d/33/1be94b3e56576736dddc7cfc4cbc5faf5511e689c70c18eae119b199be8e/mytoyota-0.7.7-py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7f92046a60>: Failed to establish a new connection: [Errno -2] Name does not resolve')) WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Unable to install package prettytable==3.0.0: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1746850>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1746d00>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1746f40>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb161a040>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb161a2e0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb161a490>: Failed to establish a new connection: [Errno -2] Name does not resolve')) WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Unable to install package prettytable==3.0.0: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fae73ea60>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fae73ed60>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fae73efa0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fae111190>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fae111340>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fae1114f0>: Failed to establish a new connection: [Errno -2] Name does not resolve')) WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.
Unable to install package prettytable==3.0.0: WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb22705b0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1e5d280>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1e5d4c0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1e5d6a0>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1e5d850>: Failed to establish a new connection: [Errno -2] Name does not resolve')': /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl ERROR: Could not install packages due to an OSError: HTTPSConnectionPool(host='files.pythonhosted.org', port=443): Max retries exceeded with url: /packages/71/4f/82c03ec59c6b9b1caaa60e1e7d7713f4587a75824207e41698effc8ca5b7/prettytable-3.0.0-py3-none-any.whl (Caused by NewConnectionError('<pip._vendor.urllib3.connection.HTTPSConnection object at 0x7fb1e5da00>: Failed to establish a new connection: [Errno -2] Name does not resolve')) WARNING: You are using pip version 22.0.3; however, version 22.1.2 is available. You should consider upgrading via the '/usr/local/bin/python3 -m pip install --upgrade pip' command.

It seems to be a DNS problem connecting to Toyota's servers, not much i can do about it.

We recently released version 2.0.0 of the Custom Component with major changes and support for the new Mytoyota API.
As we unfortunately cannot provide support for Custom Component versions < v2.0.0, I hereby close your issue.
If the issue still applies to the current version, you are of course free to open a new issue. 😊


add timeout for pushgateway

close https://github.com/juicedata/juicefs/issues/3038

Codecov Report
Base: 58.39% // Head: 58.40% // Increases project coverage by +0.00% :tada:

Coverage data is based on head (fdf41ca) compared to base (64affb2).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #3044   +/-   ##
=======================================
  Coverage   58.39%   58.40%
=======================================
  Files         141      141
  Lines       24925    24925
=======================================
+ Hits        14556    14558    +2
+ Misses       8460     8457    -3
- Partials     1909     1910    +1

Impacted Files
Coverage Δ

pkg/chunk/utils_unix.go
66.66% <0.00%> (-25.00%)
:arrow_down:

pkg/meta/tkv.go
74.00% <0.00%> (-0.45%)
:arrow_down:

pkg/meta/sql.go
63.39% <0.00%> (-0.24%)
:arrow_down:

pkg/meta/redis.go
69.01% <0.00%> (+0.04%)
:arrow_up:

pkg/chunk/cached_store.go
73.89% <0.00%> (+0.18%)
:arrow_up:

pkg/vfs/reader.go
78.99% <0.00%> (+3.36%)
:arrow_up:

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Dart Analyzer becomes unresponsive

This tracker is for issues related to:

Analyzer
Dart version 2.13.1
MacOSX

I have searched for a bug on the issues list but couldn't find anything, sorry if there's already an issue for this.
I can recreate the bug when running commands in this order, in the IDE terminal, sometimes it happens when only running the build_runner command. This occurs on all IDE's that supports flutter when following the below steps.
Steps to reproduce

run flutter pub run build_runner build --delete-conflicting-outputs
run flutter clean
run flutter pub get

https://user-images.githubusercontent.com/2182638/121373356-486a9800-c93f-11eb-8fae-1b19f4883fae.mov
When restarting the dart analyzer using the refresh arrows on the IDE the problem is resolved.
Please see this thread for more information.
IntelliJ version info
IntelliJ IDEA 2021.1.2 (Community Edition)
Build #IC-211.7442.40, built on June 1, 2021
Runtime version: 11.0.11+9-b1341.57 x86_64
VM: Dynamic Code Evolution 64-Bit Server VM by JetBrains s.r.o.
macOS 11.4
GC: ParNew, ConcurrentMarkSweep
Memory: 1979M
Cores: 16
Registry: ide.balloon.shadow.size=0
Non-Bundled Plugins: com.mallowigi (36.0), com.xinkun.theme.md (1.7.12), Dart (211.7233), org.toml.lang (<IP_ADDRESS>11-211), io.flutter (57.0.5), Docker (211.7442.9), org.jetbrains.kotlin (211-1.5.10-release-891-IJ7142.45), pl.pszklarska.pubversionchecker (1.2.5), com.chrisrm.idea.MaterialThemeUI (6.6.0)
Kotlin: 211-1.5.10-release-891-IJ7142.45

VS Code version info
Version: 1.56.2
Commit: 054a9295330880ed74ceaedda236253b4f39a335
Date: 2021-05-12T17:44:30.902Z (4 wks ago)
Electron: 12.0.4
Chrome: 89.0.4389.114
Node.js: 14.16.0
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 20.5.0

Most likely duplicate of #45996. Please try reproducing on master channel.


“python_requires” should be set with “>=3.7”, but dask-ml 2022.5.27 set as ">=3.6".

Currently, the keyword argument python_requires of setup() is set as ">=3.6", but I found it is not compatible with Python<3.7. My local Python version is 3.6, and I encounter the following error when executing “pip install dask-ml==2022.5.27”
Collecting dask-ml==2022.5.27
  Downloading dask_ml-2022.5.27-py3-none-any.whl (148 kB)
     |████████████████████████████████| 148 kB 544 kB/s
Collecting scipy
  Downloading scipy-1.5.4-cp36-cp36m-manylinux1_x86_64.whl (25.9 MB)
     |████████████████████████████████| 25.9 MB 134 kB/s
Collecting multipledispatch>=0.4.9
  Downloading multipledispatch-0.6.0-py3-none-any.whl (11 kB)
Collecting numba>=0.51.0
  Downloading numba-0.53.1-cp36-cp36m-manylinux2014_x86_64.whl (3.4 MB)
     |████████████████████████████████| 3.4 MB 643 kB/s
Collecting dask[array,dataframe]>=2.4.0
  Downloading dask-2021.3.0-py3-none-any.whl (925 kB)
     |████████████████████████████████| 925 kB 617 kB/s
Collecting packaging
  Downloading packaging-21.3-py3-none-any.whl (40 kB)
     |████████████████████████████████| 40 kB 566 kB/s
Collecting dask-glm>=0.2.0
  Downloading dask_glm-0.2.0-py2.py3-none-any.whl (12 kB)
ERROR: Could not find a version that satisfies the requirement scikit-learn>=1.0.0 (from dask-ml) (from versions: 0.9, 0.10, 0.11, 0.12, 0.12.1, 0.13, 0.13.1, 0.14, 0.14.1, 0.15.0b1, 0.15.0b2, 0.15.0, 0.15.1, 0.15.2, 0.16b1, 0.16.0, 0.16.1, 0.17b1, 0.17, 0.17.1, 0.18, 0.18.1, 0.18.2, 0.19b2, 0.19.0, 0.19.1, 0.19.2, 0.20rc1, 0.20.0, 0.20.1, 0.20.2, 0.20.3, 0.20.4, 0.21rc2, 0.21.0, 0.21.1, 0.21.2, 0.21.3, 0.22rc2.post1, 0.22rc3, 0.22, 0.22.1, 0.22.2, 0.22.2.post1, 0.23.0rc1, 0.23.0, 0.23.1, 0.23.2, 0.24.dev0, 0.24.0rc1, 0.24.0, 0.24.1, 0.24.2)
ERROR: No matching distribution found for scikit-learn>=1.0.0

Dependencies of this distribution are listed as follows:
    "dask[array,dataframe]>=2.4.0",
    "distributed>=2.4.0",
    "numba>=0.51.0",
    "numpy>=1.20.0",
    "pandas>=0.24.2",
    "scikit-learn>=1.0.0",
    "scipy",
    "dask-glm>=0.2.0",
    "multipledispatch>=0.4.9",
    "packaging",

I found that scikit-learn>=1.0.0 requires Python>=3.7, which results in installation failure of dask-ml in Python3.6.
Way to fix:
modify setup() in setup.py, amend python_requires keyword argument
setup(…
     python_requires='>=3.7'
     …)

Thanks for your attention.
Best regrads,
PyVCEchecker

Thanks @PyVCEchecker -- see https://github.com/dask/dask-ml/pull/944 which updates python_requires

Just for my own understanding: what will happen once #944 is merged? I suspect it'll be exactly the same right, since pip will skip our next release?
In theory, if we had bumped our python_requires when we bumped our scikit-learn then pip would have kept going backwords until it found a version of dask-ml that supported our pyhton_requires (likewise for our dependencies)?

Yes, the result of pip install dask-ml is unchanged after merging #944 , but pypi shows an error message, where users using python3.6 mistakenly think they can install the latest desk-ml when in fact they can't. Not fixing is OK, fixing is better, right?


Description refactoring

This goes along https://github.com/UniversalRobots/Universal_Robots_ROS2_Description/pull/114, hence the draft status.

Probably we need to branch out for iron, as well, since https://github.com/UniversalRobots/Universal_Robots_ROS2_Description/pull/114 is only for rolling and will probably not be backported.


Angular + Browserify

Hi Ben. I like your idea of moving away from bower and sticking with npm for managing both, frontend and backend packages. In particular, I am interested in combining Angular 1.x with Browserify. I would appreciate if you could answer a few questions:

What's your overall experience of running Angular and Browserify? Besides requiring modules in a CommonJS way, does it have additional impact on how the rest of the Angular code and tests will be written? I've read somewhere that directive tests get more complicated with Browserify, but not sure if it still holds true.
What's your experience with being able to find the latest front-end packages on npm? Are they maintained and kept up-to-date?
Can you recommend a good resource for integrating Browserify with Angular?
Do you have a sample Angular/Browserify repo to share as reference? Would help with our own shift to Browserify.

Thank you very much.

general experience

It's the least bad solution for a portion of software dev that's suffering from a serious lack of quality tooling and expertise right now. I wouldn't say directive tests get worse with it by any stretch. They get better. You can use something like partialify and require html files. Here's an example of what would normally be an enormous string stuffed in an html file that becomes nice with browserify:
https://github.com/bendrucker/angular-credit-cards/blob/master/test/expiration.js#L12
Yes, there's way to do this with Karma. And those ways are wrong. It's always better to import your dependencies from your code and using something like html2js means tightly coupling your test runner to your test files. What happens when you decide you want to use jsdom and test in Node instead? You can't.

npm availability

If it's not on npm, there's a good chance that it's not good, to put it bluntly. Bower is still fine for front end asset dependencies like bootstrap which npm is certainly not made to handle. I don't use 3rd party stylesheets or massive component libraries (e.g. bootstrap) so that's irrelevant to me. There's a lot of truly awful front end code being written right now. I'm talking shipping massive libraries that are un- or under-tested, writing poor docs, and creating a case study in {insert framework here} anti patterns only to get hundreds of GH stars. Curation is poor, so you have to be vigilant about your deps.
The fact that a package is published to npm and has a proper "main" entry in its package already puts it ahead of quite a number of popular angular modules.

I've yet to see a good article describing what I do. This is something I'm interested in blogging about and am in the early stages of putting together ideas and outlines for posts. Full plate this year.

Stay tuned on this front. I've been thinking about ways to help people go from the duct tape approach of shipping barely functional monstrosities to breaking their code down into packages and keeping well organized. The best idea I've got at the momentum is to totally open source my startup so people can see what I consider a really good application. Figure that could happen sometime in Q2 of this year. TBD.

Thank you for complete answer as usual. Would be very interesting to read your blog about this. Hopefully, you'll find some time to write it sooner. What's the best way to be notified about your new blog posts?

This list has been silent for a long time, but for when I revive it:
http://druckeronlinemedia.us1.list-manage1.com/subscribe?u=198496c3af3245d3e00853796&id=a286d314b0
Also https://twitter.com/bendrucker
Lastly I'm considering doing some on-the-road teaching and trying to build a critical mass of quick workshops, meetups, conferences, etc to cover the cost of flying and staying in a few cities.
Current thoughts are:

LA
SF / Valley
Seattle

If you know folks using any of the stuff I work on (Node REST APIs, SQL, Firebase, Angular, Browserify) feel free to spread the word. Not looking to transition to full time consulting but more a quick change of pace + and excuse/budget to travel a bit.


Keep_alive not working

I have set the thermostat with keep_alive to control a shelly device. On the shelly I have set a timeout of 10 minutes and the keep_alive is set to 1 minute. The shelly device turns off after 10 minutes and then immediately turns on again. It seems like the keep_alive is not working which makes the heater cycle every 10 minutes
climate:
  - platform: dual_smart_thermostat
    name: House Underfloor Heater
    heater: switch.heater
    target_sensor: sensor.floor_temperature
    openings:
      - entity_id: binary_sensor.balcony_window
        timeout: 00:02:00
      - entity_id: binary_sensor.house_entrance_door
        timeout: 00:02:00
      - entity_id: binary_sensor.living_room_right_window
        timeout: 00:02:00
      - entity_id: binary_sensor.living_room_left_window
        timeout: 00:02:00
    min_temp: 16
    max_temp: 31
    precision: 0.1
    target_temp_step: 0.5
    cold_tolerance: 0.1
    hot_tolerance: 0
    min_cycle_duration:
      seconds: 10
    away_temp: 19
    home_temp: 20
    comfort_temp: 21
    keep_alive: 60

Your scheduled turn-off triggers a cycle in the thermostat. The HVAC mode is strictly tied to the state of the switch entity you use. So when it is turned off after 10 minutes, the thermostat checks if the target temperature is reached and, if not, turn the switch back on.
The keep alive is intended to check the need for heating or cooling and the act. The above state change triggers the same logic.
So far, it works as intended.
I suggest trying to control your switch only with the thermostat.

The problem with controlling only from thermostat, is that if HA goes down, the heater will continue to be turned on. That is the reason I added the timeout inside the shelly device.
Keepalive works fine with the generic climate, it resets the 10 minute countdown. As a workaround I have made an automation that sends a "turn on" every minute to the shelly device and it is working fine

I just checked it with version 9.8.3, It is not working


Ember-model  compatible with Ember-1.11.1

I have change the Ember.Model load property.
You acces the meta form  Ember.meta and it return a cashObject.
this object no longer has the property of sersc so i changed it to proto
relationship = meta.dersc[relationshipKey];
relationship = meta.proto[relationshipKey];

Where did you make this change? I've just begun to upgrade from 1.10.1 to 1.11.1 and I'm seeing errors with hasMany:

meta.descs was removed here: https://github.com/emberjs/ember.js/pull/10323

Ruis functioneren: descs to proto
load: function(id, hash) {
var data = {};
data[get(this.constructor, 'primaryKey')] = id;
set(this, '_data', Ember.merge(data, hash));
this.getWithDefault('_dirtyAttributes', []).clear();
this._reloadHasManys();

// eagerly load embedded data
var relationships = this.constructor._relationships || [], meta = Ember.meta(this), relationshipKey, relationship, relationshipMeta, relationshipData, relationshipType;
for (var i = 0, l = relationships.length; i < l; i++) {
  relationshipKey = relationships[i];
  relationship = meta.descs[relationshipKey];
  relationshipMeta = relationship.meta();

  if (relationshipMeta.options.embedded) {
    relationshipType = relationshipMeta.type;
    if (typeof relationshipType === "string") {
      relationshipType = Ember.get(Ember.lookup, relationshipType) || this.container.lookupFactory('model:'+ relationshipType);
    }

    relationshipData = data[relationshipKey];
    if (relationshipData) {
      relationshipType.load(relationshipData);
    }
  }
}


undefined reference to `asn_set_add'

I have a simple asn file compiled using asn1c <filename>.asn
The C code generated is compiled using gcc testasn.c -I. -o testasn It says:
/tmp/cc5CObhF.o: In function main: testasn.c:(.text+0xdb): undefined reference to asn_set_add collect2: error: ld returned 1 exit status
When I execute it using cmd: gcc testasn.c -I. *.c  -o testasn it says:
/tmp/ccekA8vz.o: In function main: testasn.c:(.text+0x58): multiple definition of main /tmp/cc3FYI9p.o:testasn.c:(.text+0x58): first defined here collect2: error: ld returned 1 exit status
Kindly help me with the issue.
@vlm  @wiml  @akire @daa

I was calling testasn.c  twice, *.c and just testasn.c , issue resolved.


Unwanted downgrade

Given a Gemfile with only therubyracer included like this one and the corresponding Gemfile.lock.
Currently, the most recent version of therubyracer (0.12.3) depends on libv8 (~> <IP_ADDRESS>).
Actually, therubyracer removed its dependency with version 0.11.0 and reintroduced it with 0.11.1.
However, depfu proposes to major upgrade libv8 to 6.3.292.48.1 by downgrading therubyracer to minor 0.11.0.
Is this intended behaviour?
This is a copy of the PR in our repo. I'll try to reproduce the behavior in a separate repo:

We've updated a dependency and here is what you need to know:

gem name
version specification
old version
new version

libv8
indirect dependency
<IP_ADDRESS>
6.3.292.48.1

To resolve a dependency conflict, the update changed a few other dependencies as well:

action
gem name
old version
new version

removed
libv8
<IP_ADDRESS>

updated
therubyracer
0.12.3
0.11.0

You should probably take a good look at the info here and the test results before merging this pull request, of course.
What changed?
↗ libv8 (indirect, <IP_ADDRESS> → 6.3.292.48.1) · Repo · Changelog

Commits
See the full diff on Github. The new version differs by 1 commit:

binary release basis v6.3.292.48.1

✳ therubyracer (0.12.3 → 0.11.0) · Repo · Changelog

Commits
See the full diff on Github. The new version differs by more commits than we can show here.

Thanks for reporting this, Roman!
Since therubyracer removed the lib8 dependency temporarily, Bundler things that those are valid versions to satisfy the libv8 ~> <IP_ADDRESS> requirement, which is technically true, but not really expected behavior :)
I'll investigate if running with BUNDLE_ONLY_UPDATE_TO_NEWER_VERSIONS is an option for Depfu. In this case it would produce  a conflict, which is correct, but I have to check if it has any downsides in other scenarios.

@theflow We have observed several PRs with downgrades (down to v0.1.0 for some gems) now. Is BUNDLE_ONLY_UPDATE_TO_NEWER_VERSIONS still in place?

yeah, I noticed that as well, I think it's a bug in Bundler 1.16. I'll have a look at it this week.

This has been fixed for a while now.


BGFX crashes with seemingly normal (albeit long) shader in D3D11

I'm currently trying to port a shader written in standard HLSL to work with BGFX. However, the resulting .bin file for D3D11 is unusually small relative to other shaders that were converted at the same time, and the resulting .bin files for all other platforms are unusually large relative to the others.
I've attached the .sc files for the vertex shader and fragment shader that I'm using, as well as the original HLSL .fx file.
I'm not quite sure what's going wrong here.
The crash that I'm currently getting gives me this callstack:

mametiny64d.exe!bgfx::read(bx::ReaderI * _reader, bgfx::DxbcInstruction & _instruction) Line 1194	C++
mametiny64d.exe!bgfx::parse(const bgfx::DxbcShader & _src, bool(*)(unsigned int, const bgfx::DxbcInstruction &, void *) _fn, void * _userData) Line 1889	C++
[External Code]

But oddly, the result changed to this after seemingly minimal changes to the shader, because before it was tripping a fatal error inside bgfx's D3D11 renderer stating that the shader failed to compile, even though shaderc processed it just fine.
Any help would be appreciated.
vs_ntsc.sc.txt
fs_ntsc.sc.txt
ntsc.fx.txt

I built fs_ntsc.sc and it's all good...

Here is D3D11 binary:
fs_ntsc.bin.txt


Add Pixie as an eBPF project

Signed-off-by: Zain Asgar<EMAIL_ADDRESS>Add Pixie as a project. I added Pixie here as a major project since it's deployed in production on a large number of systems. Here is some information about that:
https://newrelic.com/platform/kubernetes-pixie
https://aws.amazon.com/blogs/opensource/gathering-insights-on-kubernetes-applications-services-and-network-traffic-with-pixie/
If it makes more sense to be an emerging project, please let me know. Thanks!

I added Pixie here as a major project since it's deployed in production on a large number of systems. ...
If it makes more sense to be an emerging project, please let me know. Thanks!

https://ebpf.io/projects#requirements-for-a-project-to-be-listed currently has as one of the requirements for listing as major:

The project must have more than 50 contributors.

Github currently shows 25 contributors.   Do you have any additional evidence that can be provided about contribitors beyond the set that github shows?   If not, then unless/until the criteria is changed we can list it as Emerging, as I agree it meets all the other criteria.

Thanks @dthaler, I updated it to be "emerging" for now. I'll reach back when we have 50 contributors to move it.


Since version 0.19.0, the build command's env has been set to DEV: true.

Describe the bug
I'm reporting an error encountered when trying to bump from version 0.18.15 to 0.19.x.
The error occurs in the production build during the React render, with the message jsxDevRuntimeExports.jsxDEV is not a function. This error doesn't occur in development.
After inspecting the output, it seems there's an issue with the environment. Debugging the environment shows that while the MODE is set to production, import.meta.env.DEV is still true.
I suspect this inconsistency might be causing discrepancies in the bundled output.
Screen shots
with pnpm build

with pnpm dev

Reproduction
https://github.com/wxt-dev/examples/pull/2
Steps to reproduce
cd examples/react-content-script-ui
pnpm i

no problem
pnpm dev
has problem
pnpm build
System Info
System:
    OS: macOS 14.2.1
    CPU: (8) arm64 Apple M1
    Memory: 144.42 MB / 8.00 GB
    Shell: 3.7.0 - /opt/homebrew/bin/fish
  Binaries:
    Node: 20.16.0 - ~/.asdf/installs/nodejs/20.16.0/bin/node
    npm: 10.8.1 - ~/.asdf/plugins/nodejs/shims/npm
    pnpm: 8.15.8 - ~/.asdf/installs/nodejs/20.16.0/bin/pnpm
    Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 126.0.6478.183
    Safari: 17.2.1
  npmPackages:
    wxt: 0.19.1 => 0.19.1

Used Package Manager
pnpm
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I noticed the same issue, with react.development.js appearing in my production build.

me too

I noticed the same issue, with react.development.js appearing in my production build.
Significantly increased build size.

@aiktb @yebei199 I can't reproduce this with the reproduction above. Can one of you create a new issue with a reproduction?

my-trans-master.zip
This is my project. Removing 'jiti' will replicate the previous results.

@aklinker1 Sorry, it seems there may be some confusion between issues. I haven't see the build size increase problem. @yebei199 says "me too" because I guided from this discussion(#874), and both of us are mainly referring to the React runtime error issue.
Are you not able to reproduce the React jsxDev runtime error and the environment inconsistency with the https://github.com/wxt-dev/examples/pull/2 on your machine?
@yebei199 Are you facing both the React runtime error and an increase in bundle size? Or only the runtime error?

Just to clarify, here is a screenshot that the bundle size hasn't increased in my machine at https://github.com/wxt-dev/examples/pull/2.

0.18.7
0.19.1

Alright, this issue is also cause by vite-node... When I call vite.createServer, vite is defaulting the environment variable to "development", which is then used by future vite builds, causing the error. Fix coming soon.

@1natsu172 I think only runtime error , but I haven't run any tests on it, but feel free to download my project and test it.

Fix released: https://github.com/wxt-dev/wxt/releases/tag/wxt-v0.19.2

@aklinker1 Thanks for great speed fix. I tried it right away on my project, and the issue is resolved. The jsxDev runtime error also has been resolved. That's awesome!


Add shell completions by shtab

pip install 'pygments[completion]'
pygmentize --print-completion tcsh | sudo tee /etc/profile.d/pygmentize.completion.csh
pygmentize --print-completion bash | sudo tee /usr/share/bash-completion/completions/pygmentize
pygmentize --print-completion zsh | sudo tee /usr/share/zsh/site-functions/_pygmentize

❯ pygmentize -<TAB>
option
-a                   Formatter-specific additional argument for the -S (print style sheet) mode.
-C                   Like -N, but print out a lexer name based solely on a given content from standard input.
-F                   Add a filter to the token stream.  (Query names with -L.) Filter options are given after a colon if necessary.
...
❯ pygmentize -L <TAB>
L
filters     formatters  lexers      styles
❯ pygmentize -S <TAB>
S
abap                bw                  friendly_grayscale  inkpot              murphy              paraiso-light       solarized-dark      tango
algol               colorful            fruity              lilypond            native              pastie              solarized-light     trac
...

BTW, it should be faster than https://github.com/zsh-users/zsh-completions/blob/master/src/_pygmentize, because the latter uses slow _gnu_generic.

The bug about choices have fixed.

Can anyone approve running workflows? Thanks.

OK, pygmentize -x allows user to use pygmentize -{l,f} /path/to/file. I have
fixed this bug and pytest can pass.
❯ pygmentize -f <TAB>
file
formatter
16m                 bmp                 description.rst     img                 latex               pangomarkup         README.rst          setup.py*           tests/
256                 CHANGES             doc/                IMG                 LICENSE             png                 requirements.txt    svg                 tex
AUTHORS             console             external/           irc                 Makefile            ptt_files/          roff                terminal            text
bb                  console16m          gif                 IRC                 MANIFEST.in         pygments/           rtf                 terminal16m         tokens
bbcode              console256          groff               jpeg                null                Pygments.egg-info/  scripts/            terminal256         tox.ini
bitmap              Contributing.md     html                jpg                 pango               raw                 setup.cfg           testcase            troff

Any other problem?

should external/pygments.bashcomp really be deleted

Right.

In the beginning, these shell completion is written by developer manually, which
is must updated when new command line options is added. Now they have be changed
to be generated automatically from argparse.ArgumentParser, and can be
easier to support more shells.

it doesn't seem to work for me

You can check

/usr/share may change
cat /usr/share/zsh/site-functions/_pygmentize
autoload -Uz compinit && compinit
grep -w pygmentize ~/.zcompdump

I'm missing some documentation

Added.