Please avoid "reset default software/app"

As we know, some software like chromium and Atom always has new version.
In that case, I just update them and cleanup the old version.
But every time I done that, I need to re-set up the default app.
For example:
Once I update the text editor Atom (which is the default app for all text-like files) and cleanup it.
And then, I want to open a python file or text file, system will ask me to choose the software to open that.

ref: https://github.com/lukesampson/scoop/issues/3271
I think this is due to Windows always pick ACTUAL execution file...

I think now you are using the shortcut which is the symbolic link.
Do you think the hard link will solve the problem?
(I do not know so much about windows, if it's wrong, please excuse...)

That is, scoop install apps in, e.g., $SCOOP\apps\xxx\1.3.4, and make a Junction in $SCOOP\apps\xxx\current, and all shortcuts and shims is target to later current dir. Since when update, the versioned dir is, e.g., apps\xxx\1.3.5, and current dir is the same. But Windows's default app is pointed to versioned dir which is deleted (by cleanup), so that's what you see now...

I see.
Maybe an idea is the command update will do the following jobs:

current version in folder $SCOOP\apps\xxx\ (no more version sub-folder)
update download the latest version to $SCOOP\apps\xxx\tmp\
copy all file to software file: copy $SCOOP\apps\xxx\tmp* $SCOOP\apps\xxx\ /y
rm the download files in $SCOOP\apps\xxx\tmp\

But this depends on Windows's default app is pointed by the path or others.
If the user do "Update", it means he/she wants the newer version. I do not know why scoop keep all the old version. In the special case. if user wants to collect, you could create a new command like $scoop install [app_name] -v 1.2.1. By doing this, scoop could create the folder like now, which is $SCOOP\apps\xxx\1.2.1

I think this is due to Windows always pick ACTUAL execution file

I think this is a problem specific to atom. It goes like this:

scoop shims atom.cmd
atom.cmd invokes nodejs.exe atom.js
atom.js has path.resolve(__dirname, '..', '..', 'atom.exe'); which resolves junctions.
And this is how you end up with the wrong path which has version in it instead of current

If you make a habit starting atom from the shortcut that scoop creates you will get the current one and that should work as expected. If you insist on starting that from command line... well either scoop can provide a different shim for the .exe instead of .cmd, or ask atom team to fix atom,js ;)


deezer api returns different release date than other platforms

problem description
compare these:

https://api.deezer.com/album/upc:739919148793 (https://api.deezer.com/album/385098657)
https://www.deezer.com/us/album/385098657

the deezer page says 2017-05-17, the correct release date that all other streaming platforms have as well, but the deezer api returns 2022-12-09
my guess is that the track was only later added to deezer and deezer for whatever reason returns the upload date as the release date in the api
this is also not an issue with a single track, i have seen this in a lot of cases
if you want i can give more examples, they are relatively trivial to find
suggested solution

give release date from the deezer api less precedence or ignore it completely
scrape deezer for the real release date
contact deezer so they hopefully fix their api

Actually the situation is quite contrary, Deezer is most likely the only platform which has the correct release date in this case.
Please note that I mean the release date as defined by MusicBrainz and not the original release date of the earliest release from a release group.
Have a look at the ISRC TL-REW-22-32114 from this single, the 22 indicates that the ISRC was assigned in 2022, so this specific release has to be from 2022 (or later).
(Another trick to approximate the correct release date is to have a look at the numeric IDs which are assigned to them by the platforms, Apple uses sequential IDs for example.)
Deezers API generally has the correct release date while their website displays the original release date. (This seems to be intended.)
Other providers rarely have the correct release date if it differs from the original release date.

Tidal seems to sometimes agree with Deezer on the different release date, but I haven't investigated this further.

can confirm that Deezer usually has better release data, especially on pre-streaming albums (i.e. albums originally released before streaming services were a thing). I won't say always, but quite often

I found some releases where tidal is the only one with a different date:

https://harmony.pulsewidth.org.uk/release?spotify=5eqyEKP83JQt8Tyu8Xlfld&gtin=193036666453&deezer=&itunes=&tidal=&region=GB&ts=1726069354
https://harmony.pulsewidth.org.uk/release?spotify=6XDFPgnhoii8GhwAD6vUQH&gtin=840092657016&deezer=&itunes=&tidal=&region=GB&ts=1726069441

Is this some kind of tidal exclusive early release?

Possibly, Tidal had exclusive contracts with artists in the past, but I am not familiar with the artist, so I can't say for sure. In case of date discrepancies I always try to investigate the original release date, check news and announcements to see how the dates might relate.
For examples like the last two, a metadata aggregator like Harmony can't do much more than showing the potential values. Only for way too early dates and extremely unlikely dates like the 1st January I plan to add warnings and not use them by default.
(There is no dedicated ticket for that yet, it is only one of my notes in #6.)

Alright I think this is resolved, maybe there should be a new issue on how to handle different release dates on streaming plaftorms.


De-duplicate NSX security groups

Description
Security groups for NSX-V has multiple sources

vm_type
bosh groups in create_vm env hash
nsx lbs

We need to gather all nsx-security-groups and deduplicate before calling API to add vm to these nsx-security-groups. It saves execution time. More robust code as we do not need to rely on some fragile logic to  not raise error if return code is 203 (vm already exists in Security group).
The issue is caused when upgrading from NSX-V 6.3.x to 6.4.2.
6.4.2 NSX manager's security group API return code is different from 6.3.x
Related PR and Issues
Fixes issue Object vm-32660 is already a member of Security5.
Impacted Areas in Application
Adding NSX-Security groups
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x]  Performance Improvement

@nehagjain15 : Can you review it once more?


feat: Sketch Tool

Related Issue
Closes #891

Description

Added Sketch Tool for UI/UX Design in product.json File.
This tool is free to use.

Screenshots

Checklist

[x] My code adheres to the established style guidelines of the project.
[x] I have included comments in areas that may be difficult to understand.
[x] My changes have not introduced any new warnings.
[x] I have conducted a self-review of my code.

Hi @JasonDsouza212 . Please Review on this PR


Decimal entries in Inspector for numbers less than 1 now require a preceding 0.

Windows 64-bit v3.1.alpha.custom_build.4b6846a
Small quality of life thing.  In previous versions it was fine to enter say .7, and it would understand that as 0.7.  Currently if you do that, it will revert back to the previous number and cancel your entry.

I think this is a regression from 934c641a15337201fe8877c6b28ee538882f5c2a

Have you tried .7+.2 or something in decimal arithmetic below 1.0??

I just tried it, same behavior.
Also tried .1+1.1 and nothing.

Yeah, I think I know what the problem is.

I noticed this too, I asked about it on Discord but that got overlooked.
note that even after non decimals you still have to use 0. in arithmetic e.g 5+.1 is now 5+0.1 I haven't tested it with expressions in parenthesis but I would guess that it's the same for any non integer expression

Have you tried .7+.2 or something in decimal arithmetic below 1.0??

@swarnimarun Good idea, just tried it out.  The only combination of values will compute and fill are 0.7+0.2.  If any parts are missing a leading 0, it will revert the entry.

Full disclaimer: This comment is based on the bug-hunting session I've had last night for several hours and hardly any sleep at all, so please don't take anything coming across as snarky to heart, they're probably just my inadequate attempts of seeming witty.
First, a bit of my background: I'm a Web Developer by day and my weapons of choice are C# and JavaScript, where you don't have to bend your brain muscles too hard to simply manipulate a string. I'm the Software Developer at my job, which makes most of the code I work on rather small and I basically only use Git so I can easily migrate from my home dungeon to the office without losing any work, meaning I use the most atrocious work flow when dealing with those repositories and have no prior experience at working on as big of a project as Godot, not to mention C++.
However, I was getting tired at working on Websites at work and more of the same at home, so I took a crack at Game Development in my free time instead to keep my sanity in check. I started out with Unity, but eventually came across Godot, which inspired my desire to contribute because I it looks like an amazing project to be part of. Since then (a long time has passed, like a week...), I've been working on learning using the engine, C++, and be on the lookout for small issues to tackle, such as this one (or so I thought).
So far so useless Information.
To get to the point, I've been struggling with a couple of things, and was wondering if anyone would be able to help out and/or point me towards the right direction. I realize this could be considered a more generic personal issue, but since my frustration/questions stem from trying to fix the one right here, I figured this is where I'd post it.
This list is in no particular order, basically just me rambling, but I added fancy numbers so there's at least a way to reference each one in particular!

Part of my debugging process so far has been traversing through the source code and setting break points in methods that seemed promising and looked like they could be related to the events I am trying to trigger (changing position values in a 2DNode, specifically). First, is this bottom-up approach the way to go? At times it felt like I was chasing my own tail in a method that wasn't even handling what I was looking for anyway, but I didn't have the overall knowledge of the code base to figure that out in the first place.
With a project of this size, where do you even start to grasp an understanding and become more comfortable? At times it felt like I was walking towards a dead-end and stepped out of a method, but at that point it instead felt like I was totally losing an overview of what was going on and had to start over.
I noticed that C++ seems to work with ticks and event chains, and after each tick, we evaluate the events that were triggered and act accordingly. Is that a correct assumption? How would you go about trying to filter the event you're looking for?
The debugger was evaluating variables into values that seemed like gibberish to me. Not just that everything seemed to be converted to HEX and ints (and Nulls... Lots and lots of Nulls...) but also that I wasn't able to find any values I put into the editor and I couldn't figure out how they connected (for example, I'd set the X-Position to 500, and then find a property of 'position', but its X-Value would be any other number imaginable.
I realize with a project such as this, one of the difficulties stems from adding and deleting the Nodes one adds to the editor during runtime and have properties be added and deleted smoothly (i.e. not every Node is able to transform, has scripts, etc.), but what's the easiest way to access, assess, and identify these Nodes during debugging? From what I can tell, it seemed like only one Node seemed to be in the buffer at a time, but that could stem from me being in the wrong section of the code base once again... But either way, even when I did find the Node, its properties didn't make sense to me (i.e. I could only infer its type, but not all the properties connected to it.

I realize these were plenty of questions, and maybe I'm not cut out for this kind of low-level programming and should simply return to the web, where everything is simple (right), but any pointers or even only partial answers would be greatly appreciated!
Please let me know if any of the questions were unclear and I'll try to clarify them! I'm gonna go grab a coffee now.
Thanks in advance!


[Apple Reminders] Grouping by Kanban column

Extension
https://www.raycast.com/raycast/apple-reminders
Description
Recently apple added a feature that allows to enable Kanban view in reminders app. So it would be great to be able to group tasks by the Kanban columns.
Who will benefit from this feature?
I think everyone who is using Kanban view in reminders app.
Anything else?
No response

That's unfortunately not possible as Apple's Reminders API doesn't provide support for sections 😕


SplitLayout divider position changes when moved between screens of different densities

This requires two monitors with different display densities (in my case MacBook with Retina display and 2560x1600 external monitor).

Create window containing split layout on low DPI screen
Move window to high DPI screen
Split layout position is to the left of where it was on the previous screen
If you then grab the divider to adjust it, it snaps back to where it should be

The opposite happens going from high-DPI to low-DPI (the divider moves to the right).

Probably related to the other bug

Relates to #589


Convert plant-utility association tables into dagster assets

[ ] plant_utility_association_eia860
[ ] plant_utility_association_ferc1

Duplicate of #2339


Updates to Fix Canonicalized Internal Links & Metadata

Attempt to fix several non-canonicalized internal links - please let me know if this is possible using absolute URLs the way that I am doing here.

Hello all! Just wanted to flag this with @imchairmanm - please let me know if you have any questions about these fixes.

Also flagging with @alex-emerich that I added our first batch of November metadata updates to this pull request as well

Drive by comment: Why absolute internal links?

I'm not sure about the absolute links as used here either.  As I think Jan was hinting at, I think Gatsby will generate the correct links automatically if you use links that are relative to the site root.  They won't have the whole URL though, for a number of reasons.
Usually I try to use links relative to the site root.  So for example, in this one that's originally this:
[foreign key constraints](correctness-constraints#on-the-database-foreign-keys)

Instead of changing that to:
[foreign key constraints](https://www.prisma.io/dataguide/datamodeling/correctness-constraints#on-the-database-foreign-keys)

I'd typically use this:
[foreign key constraints](/datamodeling/correctness-constraints#on-the-database-foreign-keys)

This ends up making the site more flexible and internally coherent (if you run it in a local test environment, the links will lead to the local test environment pages rather than the live site for instance).  This is something you'll lose if you put in the absolute link.  There's maybe a Gatsby setting to adjust to transform them into absolute links automatically if it's that important for SEO, but It'd be nice to figure that out first.

Hello @imchairmanm  and @janpio,
I do understand both of your notes regarding how Gatsby is generating links when using links relative to the site root. However, what I am saying is that for some reason, the links generated automatically in these instances (and thousands more that we've found in our multiple crawls) are not working. Instead, they are automatically generating non-canonicalized internal links. Using absolute links is a way to guarantee that the correct link we want to use is used.
I would be happy to walk you through our process of crawling the site and finding these errors, but my point is that for some reason (unbeknownst to me), the relative internal links generated in some cases are incorrect, and this is what we are trying to fix. This is also rather important for SEO, and leaving unresolved hinders performance.
Here's an article also explaining why absolute URL usage for SEO is a best practice (Moz is a trusted authority in the space): https://moz.com/blog/relative-vs-absolute-urls-whiteboard-friday
I do understand the constraints of not being able to test links in a staging environment as one downside of using absolute internal links, however the potential performance hinderance duplicate content caused by incorrectly generated internal links resulting from relative link use likely outweighs this cost.
Thanks so much - glad to answer any additional questions!

We are happy to spend the time to work on fixing the fundamental problems that create non canonical links (e.g. having a trailing slash) as that is a fundamental problem in our software that we want to fix. If you have a list of broken links, we can probably easily identify the pattern that lead to some being invalid (vs. the default of most internal links being perfectly fine).
On the Moz link I raise you https://twitter.com/johnmu/status/1014475679176577024?lang=en from 3 years later :D (I worked in the [technical] SEO business a few years ago, so please treat this response mostly as a joke. I know about the value of statement Google employees make, and why "just use absolute links" often is a simple, valid response. I totally understand where you are coming and appreciate you raising the problems you found - but prefer that we fix the underlying problems so we keep the optimal workflows.)

Hi Jan,
I mentioned this on the other thread as well, but really appreciate the collaboration.
What you offered above would actually be a huge help (offering to look at a list of non-canonicalized internal links) - perhaps there are instances where bug fixes could fix many of these issues in batches, thus saving us a lot of time having to manually go through and update/test the links.
inlinks_canonicalizationerrors.xls
I happen to have a crawl I performed just yesterday that I'm attaching to this message. I went ahead and isolated all the inlinks to non-canonicalized pages (the "from" column indicates the origin URL, the "to" column indicates the link that needs replacing, and the "anchor text" column indicates what anchor text in the page's body is being used to house the incorrect link).
You'll notice that there's a lot of strange stuff going on, and a lot of repetition/patterned problems. There appears to be almost 10k altogether, but I wonder if many of these are caused by loops that are being created, perhaps due to CTAs with non-canonicalized links showing up on several or more pages.
Hopefully this is a good starting point - would really appreciate your continued help on this (there are other technical bugs that require fixing, but this one seems to be the largest/most widespread).

I'll have a look at that Excel sheet later.

Another question for you - any chance you know who owns/how to alter the xml sitemap? Or does the team use a Plugin compatible with Gatsby that automatically generates it?

I see a plugin in use here: https://github.com/prisma/dataguide/blob/29c3bcbc87820cd831d6cf24b0d6c44707d8650d/gatsby-config.js#L58-L68

Thank you!
By the way - here's an updated list (as of today) of the re
inlinks_11.15.xls
maining canonicalized internal links to solve (looks like now there's a little over 8,900).

Discussion about Xls moved to internal Slack.


Fix typo

Github -> GitHub

@changeworld : Thanks for your contribution! The author, @dlepow, has been notified to review your proposed change.

Merging typo fix


Implement react and update_message for EmbeddedBotHandler

#17860
Testing plan:
Unit tests were added for testing react and update_message.
Side notes
The implementation for update_message is largely the same as that for the equivalent view update_message_backend as I extract part of it to reuse the code.
This PR doesn't yet introduce custom exceptions to embedded bot handlers, but it's worth considering to add it in the future as Anders suggests.
Currently, the implementation just returns a dictionary object containing the error message to be consistent with ExternalBotHandler.

Don't know why diff is somehow corrupted on message_edit.py.

I merged the first commit, thanks for catching and tracing the history!  For the message_edit commit, I think the issue is that you reordered functions as part of extracting that function -- I'd encourage you to split that to two commits, first one that just reorders code (if you think the reordering was a good idea, otherwise just undo it); git show can color-highlight moved code, making it really easy to review a commit that's supposed to just move code without changes.  And then your actual changes will be much clearer.

OK, I think I have fixed that by breaking the commit into two and move it below the original function instead. It appears that diff prefers to move the header instead of the body when the body is too long.

Thanks for working on this. I have mentioned some points for discussion.
Moreover, I would like you to have 2 separate commits for the EmbeddedBotHandler. one for message_update and the other for reactions, and each commit should have the tests for the feature implemented.

Thank you for reviewing! I think another reasonable change here might be moving check_update_message to zerver/lib/action.py.

Since the last review, I found that there was some problem with update_message as it wrongly considers id to be the key for the message's id. I also fixed the test case for update_message so it now correctly checks that the message is updated instead of being sent again.
Apart from that, previously, send_message and reply_message return None, which will make the incrementor fail to find the message to update. So I changed that as well to return the id as our API does.

I think everything should be working now. The PR is ready for another review

Thanks for all the changes. Added a few more comments. I think we would like to have a few more tests as mentioned and that's all.

@LoopThrough-i-j Thank you for spending so much time on reviewing this PR. I think it has become more complete now.

Thanks, things look better now. Great work soo far.

@zulipbot add "bots"

@zulipbot add "area: bots"

@PIG208 can your rebase this?

I merged a couple prep commits as the series ending with 35fae794221ee658d904e0a9ef1dcf58d7901a9f.

Yes. I will work on this once I'm available.

The PR has been rebased with some minor changes including adding comments explaining the test setup for react, and changing the return value of react and update_message to match with our API documentation (like this one).

I have added check_dict for both react and update_message. However, to have check_add_reaction available for embedded bots, we will first need to get #18117 merged.


Upgrade kotlin to release candidate for 1.2

Codecov Report

Merging #17 into master will decrease coverage by 0.08%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master      #17      +/-   ##
============================================
- Coverage     23.16%   23.08%   -0.09%
  Complexity      139      139
============================================
  Files            51       51
  Lines          1774     1772       -2
  Branches        303      299       -4
============================================
- Hits            411      409       -2
  Misses         1269     1269
  Partials         94       94

Impacted Files
Coverage Δ
Complexity Δ

...o-actor/src/main/kotlin/actor/proto/ActorClient.kt
45.83% <0%> (-2.17%)
4% <0%> (ø)

...-actor/src/main/kotlin/actor/proto/ActorContext.kt
32.19% <0%> (-0.47%)
32% <0%> (ø)

.../src/main/kotlin/actor/proto/router/RouterActor.kt
76.19% <0%> (ø)
7% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


v0.8.0 build fails on windows: "ld returned 1 exit status"

Issue summary
Good evening (or morning, depends where you live). I tried building this library from source after a friend told me the pypi versions are hacked and contain viruses. (I don't really believe that, but I wanted to be safe). I followed the build steps, installed msys2 64, git, cmake, and then gcc with pacman. Near the end (crash) of the build, it spits out a bunch of "multiple definition" errors and ultimately stops with "ld returned 1 exit status". Being a dummy around C, I didn't understand much. Am I doing something wrong?
System information

[Operating system] Windows 10
[Python version] 3.8.7
[Gym Retro version] 0.8.0

Full error attached.
log.txt

You'll need to apply #213 manually. It's already been fixed in master, but your local version is I guess older than master. Check the "changes" section to see what changes need to be made.

You'll need to apply #213 manually. It's already been fixed in master, but your local version is I guess older than master. Check the "changes" section to see what changes need to be made.

Thanks, that helped... to advance. Now, the build fails at this, and I'm unsure whether my compiler is having a stroke or not.
[ 95%] Building CXX object CMakeFiles/retro-base.dir/src/movie-bk2.cpp.obj

cccccc111pppllluusus.s.e.exexex:ee ::o uotu t o oufo
fctc   1mmoepefmlmuo osrmr.yeye m oaxarlely:ll  ooaolucclt aoaotctfiai ntnmgigne g m6o65 r558y 36a l5b3l7y6o1t c3a6bet8ysi t
nbegys t
6e5s5
36 bytes
make[3]: *** [CMakeFiles/retro-base.dir/build.make:101: CMakeFiles/retro-base.dir/src/data.cpp.obj] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/retro-base.dir/build.make:171: CMakeFiles/retro-base.dir/src/movie-bk2.cpp.obj] Error 1
make[3]: *** [CMakeFiles/retro-base.dir/build.make:157: CMakeFiles/retro-base.dir/src/movie.cpp.obj] Error 1
make[3]: *** [CMakeFiles/retro-base.dir/build.make:87: CMakeFiles/retro-base.dir/src/coreinfo.cpp.obj] Error 1
make[2]: *** [CMakeFiles/Makefile2:961: CMakeFiles/retro-base.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:996: CMakeFiles/retro.dir/rule] Error 2

I am not even joking. That's exactly what went out of it. I didn't write that gibberish above.
...perhaps my computer is telling me to quit programming.

Thanks, that helped... to advance. Now, the build fails at this, and I'm unsure whether my compiler is having a stroke or not.
[ 95%] Building CXX object CMakeFiles/retro-base.dir/src/movie-bk2.cpp.obj

cccccc111pppllluusus.s.e.exexex:ee ::o uotu t o oufo
fctc   1mmoepefmlmuo osrmr.yeye m oaxarlely:ll  ooaolucclt aoaotctfiai ntnmgigne g m6o65 r558y 36a l5b3l7y6o1t c3a6bet8ysi t
nbegys t
6e5s5
36 bytes
make[3]: *** [CMakeFiles/retro-base.dir/build.make:101: CMakeFiles/retro-base.dir/src/data.cpp.obj] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [CMakeFiles/retro-base.dir/build.make:171: CMakeFiles/retro-base.dir/src/movie-bk2.cpp.obj] Error 1
make[3]: *** [CMakeFiles/retro-base.dir/build.make:157: CMakeFiles/retro-base.dir/src/movie.cpp.obj] Error 1
make[3]: *** [CMakeFiles/retro-base.dir/build.make:87: CMakeFiles/retro-base.dir/src/coreinfo.cpp.obj] Error 1
make[2]: *** [CMakeFiles/Makefile2:961: CMakeFiles/retro-base.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:996: CMakeFiles/retro.dir/rule] Error 2

I am not even joking. That's exactly what went out of it. I didn't write that gibberish above.
...perhaps my computer is telling me to quit programming.


ADD Style to Typing Test Project

I want to add styling to typing test project.

@iamrahulmahato Please assign this issue to me..

Sorry, someone is already working on this. Do not be demotivated and raise a new issue.


Fix memory leaks

Which branch your pull-request should merge into?

2.1: BugFixes and Improvements for Current LTS branch

Describe your changes
Issue ticket number and link
Checklist before requesting a review
For each PR

[ ] Add Copyright if it missed:
- "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

[ ] I have performed a self-review of my code.
Optional:

[ ] I have checked readme and add important infos to this PR.
[ ] I have added/adapted some tests too.

For core/new feature PR

[ ] I have checked readme and add important infos to this PR.
[ ] I have added thorough tests.

I don't see a logged issue regarding the memory leaks, and there is no information included in the description of this PR, which would be helpful in order to give some context to the changes made in this PR.
Can you please provide that information?

I don't see a logged issue regarding the memory leaks, and there is no information included in the description of this PR, which would be helpful in order to give some context to the changes made in this PR.
Can you please provide that information?

I tested it on Windows 11.
You can check the memory leak by changing the main.cpp file as follows.
#include "main.h"
#include "AppDelegate.h"
#include "axmol.h"
#ifdef _DEBUG
#    include <stdlib.h>
#    include <crtdbg.h>
#endif

USING_NS_AX;

int WINAPI _tWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPTSTR lpCmdLine, int nCmdShow)
{
#ifdef _DEBUG
    _CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);
#endif

    UNREFERENCED_PARAMETER(hPrevInstance);
    UNREFERENCED_PARAMETER(lpCmdLine);

    // create the application instance
#ifdef USE_WIN32_CONSOLE
    AllocConsole();
    freopen("CONIN$", "r", stdin);
    freopen("CONOUT$", "w", stdout);
    freopen("CONOUT$", "w", stderr);
#endif

    // create the application instance
    AppDelegate app;
    int ret = Application::getInstance()->run();

#ifdef USE_WIN32_CONSOLE
    FreeConsole();
#endif
    return ret;
}

You can check the memory leak by changing the main.cpp file as follows.

I can see the output when the program exits, but it doesn't explain your changes.  Can you please information regarding your changes, and whether they resolve some or all of the apparent memory leaks.

@lich426
Please  add Copyright if it missed:

"Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

You can check the memory leak by changing the main.cpp file as follows.

I can see the output when the program exits, but it doesn't explain your changes. Can you please provide some information regarding your changes, and whether they resolve some or all of the apparent memory leaks.

The screenshot below is the log that comes out after the program ends. (not english)

before

after

well, the director leak, because it's was reinit after mainloop when purge requested.
we nee re-consider to solve both director and quad command indices leak

@rh101  @lich426 The PR #1638 will be more clearly.


Remove Feed - Scrolls to Top of Page

Recent Install, let me know what details are needed to help.
With a selection of Feeds added, either from the main Feeds page, or from the Edit Feed page, they both show a link like this for the "Remove" link:
https://rss.techzerker.com/feeds# (Feeds) or
https://rss.techzerker.com/feed/17/edit# (Edit Feed)
Subsequently, it does nothing but scroll to the top of that page, and I can't seem to remove any feeds.

@TechZerkerGit it's a JavaScript link, and it's supposed to show something like this on click:

Can you open the Developer Tools console and look for any JavaScript errors?

Good Morning @aeoris
That was the exact direction to point in, but worth noting as a 'caution', even just logged here on GitHub.
As soon as I had console open to look closer, loading the Feeds page was displaying a failed JavaScript error pointing at CloudFlare, as I am using CloudFlare for my entire domain as a CDN + MiniFlux is behind an SSL Nginx reverse proxy.
The interfering default CloudFlare setting was under Speed > "Rocket Loader", meant to improve Javascript load and page paint time...but instead it just reported the JavaScript it was trying to speed up or minify as invalid:

If it's of any value if it's an easy fix in the JavaScript that caused it to have an error, here was the Console Error with "Rocket Loader" on CloudFlare turned on:
Refused to load the script 'https://ajax.cloudflare.com/cdn-cgi/scripts/a2bd7673/cloudflare-static/rocket-loader.min.js' because it violates the following Content Security Policy directive: "default-src 'self'". Note that 'script-src-elem' was not explicitly set, so 'default-src' is used as a fallback.

Most CloudFlare optimizations will break the app.


Add email based password resetion for users

Coverage decreased (-0.3%) to 43.198% when pulling 008c7f08cebad730f31bebd33c27705f5259c3cc on password into ab6c956f900fdffab162ceee6b6ce70868d46d7a on master.


fix: Add missing fuzzystrmatch extension for levenshtein() method to postgresql schema.sql definition

Relates to:
No specific issue linked - database schema enhancement
Risks
Low - Adding a PostgreSQL extension that is commonly used for fuzzy string matching. This is a database schema change but only adds functionality without modifying existing structures.
Background
What does this PR do?
Adds the fuzzystrmatch PostgreSQL extension to the database schema. This extension provides several functions for determining similarities between strings and fuzzy string matching.
What kind of change is this?
Features (non-breaking change which adds functionality)
Documentation changes needed?
My changes do not require a change to the project documentation, as this is an infrastructure-level change that doesn't affect application interfaces.
Testing
Where should a reviewer start?

Review the schema.sql file in packages/adapter-postgres
Verify the fuzzystrmatch extension installation in a test database

Detailed testing steps

Create a fresh test database
Run the schema.sql migration
Verify the fuzzystrmatch extension is installed by running:

SELECT * FROM pg_extension WHERE extname = 'fuzzystrmatch';

Deploy Notes
Database changes

Requires PostgreSQL with fuzzystrmatch extension available
Schema change: CREATE EXTENSION IF NOT EXISTS fuzzystrmatch;

Deployment instructions
Standard deployment process applies:

Ensure the PostgreSQL server has fuzzystrmatch extension available
Run schema migrations as normal

Thanks for the great description this looks great LGTM!


Retrieve Token Error

I am trying to retrieve a token in Postman. The body is set to
{
  "guest": true,
  "username": "xxxxx",
  "password": "xxxx",
  "remember_me": true
}

But I get an error:
Autofac.Core.DependencyResolutionException: An exception was thrown while activating Nop.Plugin.Api.Controllers.TokenController.
 ---> Autofac.Core.DependencyResolutionException: None of the constructors found with 'Autofac.Core.Activators.Reflection.DefaultConstructorFinder' on type 'Nop.Plugin.Api.Controllers.TokenController' can be invoked with the available services and parameters:
Cannot resolve parameter 'Nop.Plugin.Api.Configuration.ApiConfiguration apiConfiguration' of constructor 'Void .ctor(Nop.Services.Customers.ICustomerService, Nop.Services.Customers.ICustomerRegistrationService, Nop.Services.Logging.ICustomerActivityService, Nop.Services.Orders.IShoppingCartService, Nop.Services.Authentication.IAuthenticationService, Nop.Core.Domain.Customers.CustomerSettings, Nop.Plugin.Api.Domain.ApiSettings, Nop.Plugin.Api.Configuration.ApiConfiguration)'.
   at Autofac.Core.Activators.Reflection.ReflectionActivator.GetAllBindings(ConstructorBinder[] availableConstructors, IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Activators.Reflection.ReflectionActivator.<ConfigurePipeline>b__11_0(ResolveRequestContext ctxt, Action`1 next)
   at Autofac.Core.Resolving.Middleware.DisposalTrackingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.Middleware.ActivatorErrorHandlingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.SharingMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.Middleware.CircularDependencyDetectorMiddleware.Execute(ResolveRequestContext context, Action`1 next)
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
   at Autofac.Core.Resolving.ResolveOperation.ExecuteOperation(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Microsoft.AspNetCore.Mvc.Controllers.ServiceBasedControllerActivator.Create(ControllerContext actionContext)
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextResourceFilter>g__Awaited|24_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Rethrow(ResourceExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.InvokeFilterPipelineAsync()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at WebMarkupMin.AspNetCore5.WebMarkupMinMiddleware.ProcessAsync(HttpContext context, Boolean useMinification, Boolean useCompression)
   at WebMarkupMin.AspNetCore5.WebMarkupMinMiddleware.ProcessAsync(HttpContext context, Boolean useMinification, Boolean useCompression)
   at WebMarkupMin.AspNetCore5.WebMarkupMinMiddlewareBase.Invoke(HttpContext context)
   at StackExchange.Profiling.MiniProfilerMiddleware.Invoke(HttpContext context) in C:\projects\dotnet\src\MiniProfiler.AspNetCore\MiniProfilerMiddleware.cs:line 104
   at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
   at Nop.Services.Authentication.AuthenticationMiddleware.InvokeAsync(HttpContext context) in C:\ann\NopCommerceTest\Libraries\Nop.Services\Authentication\AuthenticationMiddleware.cs:line 94
   at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.<Invoke>g__AwaitMatch|8_1(EndpointRoutingMiddleware middleware, HttpContext httpContext, Task matchTask)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Nop.Services.Installation.InstallUrlMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in C:\ann\NopCommerceTest\Libraries\Nop.Services\Installation\InstallUrlMiddleware.cs:line 52
   at Nop.Services.Common.KeepAliveMiddleware.InvokeAsync(HttpContext context, IWebHelper webHelper) in C:\ann\NopCommerceTest\Libraries\Nop.Services\Common\KeepAliveMiddleware.cs:line 49
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Builder.Extensions.MapWhenMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.StatusCodePagesMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.HandleException(HttpContext context, ExceptionDispatchInfo edi)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

HEADERS
=======
Accept: */*
Accept-Encoding: gzip, deflate, br
Cache-Control: no-cache
Connection: keep-alive
Content-Length: 112
Content-Type: text/plain
Cookie: .Nop.Customer=e25dcfeb-d48d-47a5-bfcc-fe83e1492a80
Host: localhost:44369
User-Agent: PostmanRuntime/7.28.4
Postman-Token: 8909b04a-4635-490f-b2a1-62079e01ddac

Picture is attached.
Any idea what I'm doing wrong.  I copied your project and added it as a plugin to a test NopCommerce.

Hi. There is a problem with dependency injection. Strange. What version of nopCommerce are you using? Are you using the latest bits from the develop branch? That might be the issue. This plugin may be outdated compared to the latest nopCommerce code. Try release 4.40.

I downloaded your code and NopCommerce code only this week - NopCommerce is version 4.40.4 so I have the latest of both.
Can you point me to where I would look for that dependency injection problem (this wouldn't be my strongest area!!) if you don't mind.
Many thanks for replying.

Hi - I somehow managed to get this working - downloaded both projects again.  I had to add in Microsoft.Identity.Client into the Nop.Core project.
Thanks.


Kamelet data type test failling with updated 4.4.1 kamelet

What happened?
The yak test kamelet-data-types.feature  fails when I update the data-type-action.kamelet.yaml file.
The other test timer-to-log.yaml also fails with the same result.
The main changes on the data-types are from these PRs:

https://github.com/apache/camel-kamelets/pull/1607
https://github.com/apache/camel-kamelets/pull/1732

Is this a real case of failling test (which would mean some bug somewhere) or should they be rewritten completly to fit the updated way of how the data types should be added with Camel 4.4.1 ?
Steps to reproduce
No response
Relevant log output
[1] 2024-05-20 08:02:02,068 ERROR [org.apa.cam.pro.err.DefaultErrorHandler] (Camel (camel-1) thread #1 - timer://tick) Failed delivery for (MessageId: 3B008C0D17120C0-00000000000001DE on ExchangeId: 3B008C0D17120C0-00000000000001DE). Exhausted after delivery attempt: 1 caught: org.apache.camel.CamelExecutionException: Missing data type transformer from camel:any to type camel:binary on the exchange: Exchange[]
[1]
[1] Message History (complete message history is disabled)
[1] ---------------------------------------------------------------------------------------------------------------------------------------
[1] Source                                   ID                             Processor                                          Elapsed (ms)
[1] event-source.kamelet.yaml:25             source/source                  from[timer://tick]                                            0
[1]
[1] Stacktrace
[1] ---------------------------------------------------------------------------------------------------------------------------------------: org.apache.camel.CamelExecutionException: Missing data type transformer from camel:any to type camel:binary on the exchange: Exchange[]
[1]     at org.apache.camel.processor.transformer.DataTypeProcessor.process(DataTypeProcessor.java:86)
[1]     at jdk.internal.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
[1]     at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
[1]     at java.base/java.lang.reflect.Method.invoke(Method.java:568)

Camel K version
main, 2.3.x

@lburgazzoli @oscerd


Extraneous ERR logs when starting and stopping containers

We're testing this release out in preparation for a Windows Server 2019 deployment and seeing two issues:

When stopping containers, the Nginx process detects a change in the certs and tries to reload, which fails because the container is being deleted.  That results in extraneous error logs visible to the customer like these:
OUT detected change in sdsfile: C:\etc\cf-assets\envoy_config\sds-server-cert-and-key.yaml
OUT envoy-nginx application: reload nginx: C:\etc\cf-assets\envoy\nginx.exe -p C:\Users\ContainerAdministrator\AppData\Local\Temp\nginx599244015 -s reload
ERR 2021/02/18 08:19:52 [notice] 29852#34280: signal process started
ERR 2021/02/18 08:19:52 envoy-nginx application: load: write tls files: get ca cert from sds server validation parser: Failed to read sds server validation context: open C:\etc\cf-assets\envoy_config\sds-server-validation-context.yaml: The process cannot access the file because it is being used by another process.
ERR open C:\ProgramData\winc\41ff293c-cbf9-4c4d-4855-cadc-envoy\state.json: The system cannot find the path specified.

There can be other variations of the error depending on the exact timing of the restart.  These don't appear to have any real impact but they will likely lead to customer queries/support requests.  I don't image there is an easy way for the process to know it's being killed, but is there some other logic that could be added to eliminate these errors?

When starting or stopping multiple containers simultaneously on the same cell (we're testing 3 at a time with diego.executor.create_work_pool_size and diego.executor.delete_work_pool_size), we frequently see a large number of errors like this:
ERR Failed to write to log, write 59268.winc.log: The pipe is being closed.
ERR Failed to write to log, write 59268.winc.log: The pipe is being closed.
ERR Failed to write to log, write 59268.winc.log: The pipe is being closed.
ERR Failed to write to log, write 59268.winc.log: The pipe is being closed.
ERR Failed to write to log, write 59268.winc.log: The pipe is being closed.
ERR Failed to write to log, write 59268.winc.log: The pipe is being closed.

Again there doesn't appear to be anything not working because of the errors, but it's noisy to see sometimes 10-20 of these messages mixed in the app logs when starting the containers.  If we only start a single container at a time we don't see these (or at least rarely) so it probably has to do with some sort of contention with the winc --log-handle logic, but we only ever see these logs from the Nginx sidecar ([PROXY/XX]).

This likely will not be addressed soon. This release is considered beta (intended to be replaced by something better) and not receiving much updates. Although erroneous logs are cumbersome as you pointed out, it is not a blocker.

Understood.  Are these known issues that others are experiencing as well?  Is there any timeline for the replacement with the real Envoy now that it's compiling on Windows?

No one has ever reported this, no.
And there's no timeline made known to me. Unfortunately, no one on this team is involved with that work.

Closing this issue with no activity.


No module named 'flash.core' and mentionning packages versions

📚 Documentation
Hi guys,
I am trying to run this finetuning with flash tutorial: https://lightning-flash.readthedocs.io/en/stable/general/finetuning.html
I pip installed flash package but as you can see below it doesn't find the core and image modules.

Your code doesn't mention the version of the flash package used for this tutorial. I don't know if it is what's causing the issue here but it would be great if you could mention the versions of packages you used to be able to reproduce your tutorials. Even though it would be ideal to have your doc the most up to date as possible, mentionning packages versions would make your doc more relevant through time.
Cheers
cc @borda
EDIT: I actually didn't install the right package. I installed flash instead of lightning-flash, which is different (still the remark on the version of packages still stands).
When lauching the tutorial, I get a missing "requests" package (shouldn't it get installed as well automatically)?
And also the following error  (I would expect to copy paste and run a tutorial without any problem):
PS D:\Dev\lightning_finetuning> & C:/Users/APU/.conda/envs/lightning-finetuning/python.exe d:/Dev/lightning_finetuning/main.py
C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\__init__.py:21: FutureWarning: In the future `np.object` will be defined as the corresponding NumPy scalar.
  if not hasattr(numpy, tp_name):
C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\__init__.py:21: FutureWarning: In the future `np.bool` will be defined as the corresponding NumPy scalar.
  if not hasattr(numpy, tp_name):
Global seed set to 42
data/hymenoptera_data.zip: 67335KB [00:09, 7266.38KB/s]
sys:1: FutureWarning: Please pass an instantiated object of the `InputTransform` class. Passing the Class and keyword arguments separately has been deprecated since v0.8.0 and will be removed in v0.9.0.
Traceback (most recent call last):
  File "d:\Dev\lightning_finetuning\main.py", line 16, in <module>
    datamodule = ImageClassificationData.from_folders(
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\image\classification\data.py", line 280, in from_folders
    return cls(
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\core\data\data_module.py", line 132, in __init__
    self.input_transform = create_or_configure_input_transform(
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\core\data\io\input_transform.py", line 726, in create_or_configure_input_transform
    return transform(**transform_kwargs)
  File "<string>", line 6, in __init__
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\core\data\io\input_transform.py", line 57, in __post_init__
    self._populate_transforms_for_stage(stage)
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\core\data\io\input_transform.py", line 650, in _populate_transforms_for_stage
    transform=self.__resolve_transforms(running_stage),
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\core\data\io\input_transform.py", line 670, in __resolve_transforms
    fn = getattr(self, method_name)()
  File "C:\Users\APU\.conda\envs\lightning-finetuning\lib\site-packages\flash\image\classification\input_transform.py", line 62, in train_per_sample_transform
    return T.Compose(
NameError: name 'T' is not defined

EDIT2: NameError in EDIT comes from the fact that I didn't have torchvision installed, only torch (it should be mentionned to install torchvision as well). So in input_transform.py, it wasn't entering the if:

After that, the code fails at model creation as shown below:

I have lightning-flash installed now but it is not sufficient apparently.
Running:

doesn't work, nor runing without quotes.
EDIT3: Managed to do a pip install lightning-flash[image] (without quotes contrary to what is written in this doc https://lightning-flash.readthedocs.io/en/stable/installation.html) after uninstalling lightning-flash.
But the code still doesn't find this dependency.
EDIT4: It works if I create an environment and only pip install "lightning-flash[image]==0.8.2" with double quotes instead of single ones, and without installing torch and torchvision separately first. However I am now left with the following error:
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
IPU available: False, using: 0 IPUs
HPU available: False, using: 0 HPUs
Missing logger folder: D:\Dev\lightning_finetuning\lightning_logs

  | Name          | Type           | Params
-------------------------------------------------
0 | train_metrics | ModuleDict     | 0
1 | val_metrics   | ModuleDict     | 0
2 | test_metrics  | ModuleDict     | 0
3 | adapter       | DefaultAdapter | 11.2 M
-------------------------------------------------
10.6 K    Trainable params
11.2 M    Non-trainable params
11.2 M    Total params
44.710    Total estimated model params size (MB)
Traceback (most recent call last):
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_fabric\loggers\tensorboard.py", line 202, in log_metrics
    self.experiment.add_scalar(k, v, step)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_fabric\loggers\logger.py", line 117, in experiment
    return get_experiment() or _DummyExperiment()
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_utilities\core\rank_zero.py", line 42, in wrapped_fn
    return fn(*args, **kwargs)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_fabric\loggers\logger.py", line 115, in get_experiment
    return fn(self)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_fabric\loggers\tensorboard.py", line 181, in experiment
    from torch.utils.tensorboard import SummaryWriter
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\torch\utils\tensorboard\__init__.py", line 4, in <module>
    LooseVersion = distutils.version.LooseVersion
AttributeError: module 'distutils' has no attribute 'version'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "d:\Dev\lightning_finetuning\main.py", line 50, in <module>
    trainer.finetune(model, datamodule=datamodule, strategy="freeze")
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\flash\core\trainer.py", line 164, in finetune
    return super().fit(model, train_dataloader, val_dataloaders, datamodule)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 608, in fit
    call._call_and_handle_interrupt(
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\pytorch_lightning\trainer\call.py", line 38, in _call_and_handle_interrupt
    return trainer_fn(*args, **kwargs)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 650, in _fit_impl
    self._run(model, ckpt_path=self.ckpt_path)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 1100, in _run
    self._log_hyperparams()
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\pytorch_lightning\trainer\trainer.py", line 1168, in _log_hyperparams
    logger.log_hyperparams(hparams_initial)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_utilities\core\rank_zero.py", line 42, in wrapped_fn
    return fn(*args, **kwargs)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\pytorch_lightning\loggers\tensorboard.py", line 181, in log_hyperparams
    return super().log_hyperparams(params=params, metrics=metrics)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_utilities\core\rank_zero.py", line 42, in wrapped_fn
    return fn(*args, **kwargs)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_fabric\loggers\tensorboard.py", line 233, in log_hyperparams
    self.log_metrics(metrics, 0)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_utilities\core\rank_zero.py", line 42, in wrapped_fn
    return fn(*args, **kwargs)
  File "C:\Users\APU\.conda\envs\flash\lib\site-packages\lightning_fabric\loggers\tensorboard.py", line 206, in log_metrics
    raise ValueError(m) from ex
ValueError:
 you tried to log -1 which is currently not supported. Try a dict or a scalar/tensor.

Sorry if this is messy I am modifying the issue as I progress into the tutorial and see stuff to improve or clarify!

@Antoine101 Thanks for the docs feedback. You may not have seen it but Lightning Flash is discontinued and archived. It won't receive any updates anymore so we can't take action on this ticket. If you are starting a new project, please reconsider using Flash, or take the bits and pieces that you need and copy them to your project.

Ok! thanks for the clarification.
I would suggest you remove it from the doc then because it's still part of the 2.2.1 doc if I'm correct and I didn't see any indication it is discontinued and archived, even after double checking just now.
But taking bits and pieces, do you mean scavenge parts of what was done in flash for finetuning?

Can you show me where you found a reference to Flash in the Lightning docs?

By taking bits and pieces, do you mean scavenge parts of what was done in flash for finetuning?

Yes

Any of the following links:

Third link, which is a lightning.ai page:

None of these pages indicate a deprecation. Or am i mistaken?

well, if you explicitly search for Flash docs you will find it :)

Well, yes, but originally I searched "lightning finetuning" and ended up on the third link which sends me to lightning.ai and shows doc version 2.2.1. So it's fair on my end to assume it's still a thing. :-)

@Antoine101 raises a good point. https://lightning.ai/docs/pytorch/stable/ecosystem/flash.html is still getting served from somewhere and appears through Google


Close button of Info Bubble not appear

Close button of Info Bubble not appear. Please help me. Thank you

It appears here:
https://googlemaps.github.io/js-info-bubble/examples/example.html
Have you a link?

You can see in your example, bubble style with black background (and scroll) dont have close button.

That one is not meant to have a close button.

In my demo, it not display close button. I will send you demo. Please open this issue.

The black info bubble has this setting:
          hideCloseButton: true,

Wow, it's working!! Thank you so much! I love Info Bubble.


Bash cell doesn't return output consistently

Environment data

VS Code version: 1.53.2
Jupyter Extension version (available under the Extensions sidebar): 2021.2.603412351
Python Extension version (available under the Extensions sidebar): 2021.2.582707922
OS (Windows | Mac | Linux distro) and version: Win 10
Python and/or Anaconda version: 3.7.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): venv
Jupyter server running: Local

Expected behaviour
<command 1 output>
<command 2 output>
Actual behaviour
<command 1 output header>
Steps to reproduce:
[NOTE: Self-contained, minimal reproducing code samples are extremely helpful and will expedite addressing your issue]

command 1
command 2

Logs

Output for Jupyter in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Jupyter)

XXX

Hi @srideep3, could you please provide a few more details? The commands you are trying to run? A screenshot of the result vs. the expected result?

@claudiaregio Were you able to look into this?

Hi srideep, would you be willing to try and repro this using VS Code Insiders? We have re designed our notebook support. So this bug may have been fixed.

Hi @greazer , unfortunately I cant install VS Code Insiders build in my work machine. I have moved to 1.56.2 though, and insiders for Python and Pylance are turned on.

closing for lack of activity.
@srideep3, please reopen if you can still repro on our latest release and in the new notebook interface.
To enable the new notebook interface, follow these steps: https://github.com/microsoft/vscode-jupyter/wiki/Native-Notebook-Support-in-VS-Code


Fix our kick motion

If we end up having time before the RoboCup we want to fix our current kick.
While it works ok in simulation in reality we fall over and often do not hit the ball.
Ideas to improve are:

change assumptions about splines (order, number, etc.)
potentially reduce the complexity of the current approach while also increasing the speed of the full motion
improve active stabilisation
improve current parameters

We don't want to use the dynamic kick in the near future


Commands not always listening??

As seen in picture

The image keeps being changed no problem but its not always seeing my commands in private messages, I -prune # my dms alot and its really annoying if im on my phone and -prune # doesnt work... I then have to teamviewer my computer and exit out and open it again.

Make sure you didn't highlight any text in the console/terminal. Also make sure your computer is on, but since you mentioned TeamViewer I doubt that could be the case.


Use lint-staged + husky to lint changes prior to git commit

We could add these libs to dev-utils if we think we will use them consistently, although they would need to be enabled within each app / project as we see here.
Add .jsx extension to our on-demand yarn lint command for completeness / as a template for apps that might have JSX files.

Hoist P/R Checklist
Review and check off the below. Items that do not apply can also be checked off to indicate they
have been considered. If unclear if a step is relevant, please leave unchecked and note in comments.

[x] Up to date with develop branch as of last change.
[x] Ready for review (or open as a draft PR / add wip label).
[NA] Added CHANGELOG entry (or N/A)
[NA] Reviewed for breaking changes (add breaking-change label + CHANGELOG if so, or N/A)
[NA] Updated doc comments / prop-types (or N/A)
[NA] Reviewed and tested on Mobile (or N/A)
[NA] Created Toolbox branch / PR (link provided here, or N/A)

Pull request reviewers: when merging this P/R, please consider using a squash commit to
collapse multiple intermediate commits into a single commit representing the overall feature
change. This helps keep the commit log clean and easy to scan across releases. PRs containing a
single commit should be rebased when possible.

@lbwexler I think this is worth trialing in hoist-react and toolbox (I didn't push a TB branch but it's the same change).
Seems to play well with committing files through IJ, which will stage them when you go to commit. If the linting fails on any changed file it will show an error notification and the commit won't have gone through.
If this is annoying / onerous in general we don't need to take it, but I would like to try and I think it's a popular / common approach.


[Beam 1702] Add support for local execution to BigtableIO using the google cloud emulator

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-1702>] Add support for local execution to BigtableIO using the google cloud emulator
[ ] Make sure tests pass via mvn clean verify.
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

@iemejia @dhalperi please check - thanks

Coverage decreased (-0.02%) to 70.171% when pulling a2be994599135e3d3b782b179af149dd29e625ea on hepeknet:BEAM-1702 into 15bd3a394e5c724216453a2098af117cac13778e on apache:master.

Please separate this into 2 PRs -- one for javadoc and one for autovalue. These are two separate features that should be judged independently.

@dhalperi I created https://github.com/apache/beam/pull/3113 - after that is merged I will modify this PR and resubmit...
hope that makes sense...
cheers

I was away last week so I couldn't follow this discussion, thanks @hepekhe for bringing this info (the documentation on how to make both IOs work with the google emulators).
One extra slightly related question. Have you tested the DatastoreIO with the Datastore emulator? (When I tried it didn't work, but I haven't checked recently).

Hi @dhalperi did not check DataStore - will do that today and let you know.

Closed - will submit new one containing only localhost options

Coverage remained the same at 70.225% when pulling 4eac73040410bcf1d09a500fd65420bb62c19eb4 on hepeknet:BEAM-1702 into 9a43da74a9005507acdc80524edc634c8318674d on apache:master.

Hi @iemejia I just tested DataStoreIO and it works with local emulator... at least basic reading and writing..using withLocalhost() does all the work... will play with it a bit

Thanks a lot for checking that DataStoreIO works ok and for all the other contributions.


Allow post-hydration callbacks to run

A field's fill() method can return a callback which will run after the model is hydrated. However, this is currently ignored by NovaDependencyContainer. This stops other custom fields such as Advanced Nova Media Library from being used with this field.
This change takes the return value of each field, filters anything that is callable, and returns a function which will then run all those callbacks.

Closing this because I figured that the HasDependencies trait already solves the problem.


Capture caching state for local load/store failure

So that task that fail because of a problem storing to the local cache show up as cacheable in Build Scans. Currently, the caching state is Not determined, so they show up as not cacheable.

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


[Runtime and Toolkit Bug]: HDRIs clipping/artifacting

Describe the bug
.exr/.hdr converted HDRIs with the NVIDIA Texture Tools Exporter using the BC6S format have severe clipping and artifacts inside the toolkit and runtime (with RR off, its a black dot, with RR on, the denoiser freaks out, causing artificing as seen in the video below)
https://github.com/user-attachments/assets/626e968f-45e9-433c-a4c2-960183fc7d47 (video)

How do you reproduce the bug?

Download a HDRI from PolyHaven or other CC0 source such this: https://polyhaven.com/a/rosendal_plains_1
Import the HDRI into NVIDIA Texture Tools, set the Format to BC6S HDR RGB, Save As... a DDS file in a place where both the toolkit and runtime can see it
Select a sphere/dome or other sky-like object, remove albedo map, set albedo color to 0, select the converted HDRI as a emissive map with the emissive intensity at 1 (changing it does not fix the issue)
Map gets lit as you would expect for a HDRI, but has black clipping or denoiser artifacts from areas of high luminance such as the sun or a bright light. This is observable in both the toolkit and in-game

What is the expected behavior?
The runtime should display the HDRI without clipping as shown inside NVIDIA Texture Tools/Photoshop

Version
dxvk-remix: 3b321ad
Logs
No response
Crash dumps
No response
Media
No response

duplicate


todo-txt-cli: bash completion not working

Describe the bug
Bash completion doesn't load
Steps To Reproduce
Steps to reproduce the behavior:

type todo.sh in terminal
press TAB

Expected behavior
completions appear
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.63, NixOS, 24.11 (Vicuna), 24.11.20241203.b681065`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.10`
 - nixpkgs: `/nix/store/w66xaybnxjf5zhxapxs3pd3zp7gxk9dw-source`

Notify maintainers

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

it's caused by this line:
https://github.com/NixOS/nixpkgs/blob/d510f60a4de5c252c5fd28937ae79480681b66e6/pkgs/by-name/to/todo-txt-cli/package.nix#L22
changing the destination filename to todo.sh fixes the issue


feat: preset for SAP Cloud Logging

closes https://github.com/cap-js/telemetry/issues/52
closes https://github.com/cap-js/telemetry/issues/58

👍🏻


CI mission tests add FW and cleanup

The last commit I pushed addresses https://github.com/PX4/Firmware/issues/9755. I'm not sure if there is a better way to fix this.

This LGTM assuming you're OK with the startup changes. The cleanup you did was way overdue. :+1:

Thanks @lamping7!


For me is not working

is almost one week that I try to make work this extension but, not save all messages on database, duplicate some messages ( just header and sidebar, not in body ), is not read every translated messages on database.
I tryed everything without success.
I hope someone else have more success than me

You should give more info.

I discovered this:
for the translated messages that are not working, if in amministration pannel, i select, the "translated" on the translation status, will show me the all translated messages ( from db ), plus the translated messages that are not working in the site and have in the status "not translated" ( not true ).
id 120 and 131 are complited translate
thanks for your time

i forgot an info, can help you to understand problem if there is an issue in your extension.
the 120 and 131 ID I imported by terminal, like is descript in the yii document.
The messages wan not imported by extension, it is like not see that messages and the debugger don't try to find that messages from query

I think it's import trouble.
No time for issue discovering. Sorry.
I will open this issue for other.

thanks, but i am sure.. is not bug from your extension.
working just everything is in layout and nothing from views
thanks


fix: isInstance of streamingResponse but content-type is application/json

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[ ] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[ ] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[ ] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[ ] Testing: Have you written and run sufficient tests for validating the changes?
[ ] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[ ] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry
Description
Fixes https://github.com/open-webui/open-webui/issues/3489
Fixed

[List any fixes, corrections, or bug fixes]
https://github.com/open-webui/open-webui/issues/3489

I applied this patch to the docker container for the open-webui:main, restarted the docker container and can confirm that it does fix the #3489 issue I reported. Thanks so much for finding the problem and a solution.

❤❤


Myraft

Project Deliver still need to pass test

Please ignore this pull request because it still not pass part of test


feat: export default config

Description
Makes the default config consumable by the user.
Use case
I'm developing a plugin that needs to access the build.outDir variable:
config: (conf) => {
    return {
      build: {
        rollupOptions: {
          plugins: [
            AnotherPlugin({
              outDir: conf.build.outDir,
            })
          ]
        }
      }
    };

However, conf.build.outDir variable is only defined if the user has provided that option in their own configuration file. If not, it will only be accessible on the configResolved hook, which makes our use case useless.
With this PR, we can make a graceful fallback:
config: (conf) => {
    return {
      build: {
        rollupOptions: {
          plugins: [
            AnotherPlugin({
              outDir: conf.build.outDir ?? configDefaults.build.outDir,
            })
          ]
        }
      }
    };

I ahve no idea what's wrong with the CJS build, I don't see where side effects are being introduced that pkg is required... 😅

Recently we considered exposing the default config values, but didn't do it, because we were not sure how to expose them in a intuitive way.
https://github.com/vitejs/vite/pull/18550#discussion_r1825608289
We need to solve this to expose the default values. Any suggestions are welcome 🙂.

@sapphi-red (if you want me to continue the discussion in the original place, please let me know)
What do you think it's exactly "unintuitive" with exposing the defuault object? In my opinion, it's as straightforward as it gets. If I want to just get a value of the default  config (like in my posted example, it's much simpler (and faster) to do configDefaults.build.outDir instead of mergeWithDefaults({}).build.outDir.
Also, as an FYI, after diving into Vite's  source code, I wanted (for another PR) to change the way the defaults are accessed: I believe they should be factory functions instead, so we always get copies of them and utils like deepClone will not be needed.

What do you think it's exactly "unintuitive" with exposing the defuault object?

build.outDir is one of the non-problematic ones. The problematic ones are, for example, build.cssMinify, resolve.conditions:

build.cssMinify: defaults to 'esbuild' for SSR and build.minify for non-SSR builds
resolve.conditions: defaults to DEFAULT_CLIENT_CONDITIONS for non-SSR and ssr.target: 'webworker', otherwise DEFAULT_SERVER_CONDITIONS

What should be set for these options?

@sapphi-red Oh I see what you mean now, thanks!
Wouldn't a function returning an object, like I suggested in my previous comment, solve exactly this? It could have a ssr?: boolean type signature for its parameters. Even I would say the mode can be inferred by the function directly thanks to closures?


add an order clause to eliminate an occasional error

Cherry-picked from #3675 (a parallel commit, a5cef34ba9d87ea5ea87d4ee4305aa292db5f876, was on #3568).

This fixes #3579.


Block pushes to master as work is done is aedev

Use master to synch with upstream.
Use aedev for development.
Merge changes from master into aedev.
Here: https://github.com/blog/2051-protected-branches-and-required-status-checks

Done.


Reduce scene spam

Currently if you drop Fido, the server sends two separate messages.  The first is an unrequested scene update that adds Fido to the room.  The second is a room naration of “You drop Fido”.  This renders as two panels, where only one is needed.

The unrequested scene panel displays the room description.  That's a narration.  We can merge narrations from the same source, but not currently from different sources.
Another solution would be to drop the room description from unrequested scene panels.  However, if there's a command that picks up and/or drops a dozen objects in the room, we don't want a dozen panels being drawn.


.circleci/config.yml: fix publish jobs

As a quick fix, the publish jobs will use an image with npm/yarn installed. Eventually we could use the license tarball from the build job.

:+1: Thanks!


Pub.dev packages review

Lead: @ksanty
Standard operating procedures for documentation here
The packages are published with updated documentation and example app. Links working
Please review the published version on pub.dev and provide feedback.
Also, any SEO keywords suggestion would be useful. See comments below. SEO and samples and examples pending.

[x] at_common_flutter
[x] at_onboarding_flutter
[x] at_backupkey_flutter
[x] at_contacts_flutter
[x] at_chat_flutter
[ ] at_events_flutter
[ ] at_invitation_flutter
[ ] at_location_flutter
[ ] at_notify_flutter
[ ] at_sync_ui_flutter
[ ] at_theme_flutter

at_common_flutter review:

[ ] Read and verify content for comprehension
[ ] Technical review of samples and examples
[ ] SEO included
[ ] Spelling, grammar
[ ] Verify links / badges work properly

at_common_flutter review:

[x] Read and verify content for comprehension
[ ] Technical review of samples and examples
[ ] SEO included
[x] Spelling, grammar
[x] Verify links / badges work properly

at_backupkey_flutter review:

[x] Read and verify content for comprehension
[ ] Technical review of samples and examples @nickelskevin
[ ] SEO included @nickelskevin
[x] Spelling, grammar
[x] Verify links / badges work properly

at_contacts_flutter review:

[x] Read and verify content for comprehension
[ ] Technical review of samples and examples @nickelskevin
[ ] SEO included @nickelskevin
[x] Spelling, grammar
[x] Verify links / badges work properly

@sarika01 The example for at_backupkey_flutter is not using null safety (trunk branch).

@ksanty Adding some more packages which were updated for documentation.

[ ] at_chat_flutter
[ ] at_events_flutter
[ ] at_invitation_flutter
[ ] at_location_flutter
[ ] at_notify_flutter
[ ] at_sync_ui_flutter
[ ] at_theme_flutter

at_contacts_flutter review:

[ ] Read and verify content for comprehension
[ ] SEO included  (need to open a new ticket once we've identified keywords)
[ ] Spelling, grammar
[ ] Verify links / badges work properly

at_events_flutter review:

[ ]  Read and verify content for comprehension
[ ]  SEO included (need to open a new ticket once we've identified keywords)
[ ]  Spelling, grammar
[ ]  Verify links / badges work properly

at_invitation_flutter review:

[ ]  Read and verify content for comprehension
[ ]  SEO included (need to open a new ticket once we've identified keywords)
[ ]  Spelling, grammar
[ ]  Verify links / badges work properly

at_location_flutter review:

[ ]  Read and verify content for comprehension
[ ]  SEO included (need to open a new ticket once we've identified keywords)
[ ]  Spelling, grammar
[ ]  Verify links / badges work properly

at_notify_flutter review:

[ ]  Read and verify content for comprehension
[ ]  SEO included (need to open a new ticket once we've identified keywords)
[ ]  Spelling, grammar
[ ]  Verify links / badges work properly

at_sync_ui_flutter review:

[ ]  Read and verify content for comprehension
[ ]  SEO included (need to open a new ticket once we've identified keywords)
[ ]  Spelling, grammar
[ ]  Verify links / badges work properly

at_theme_flutter review:

[ ]  Read and verify content for comprehension
[ ]  SEO included (need to open a new ticket once we've identified keywords)
[ ]  Spelling, grammar
[ ]  Verify links / badges work properly

Some more package document correction is yet to be published. Hence, moving to next sprint.

The pending packages have been published. @ksanty Please validate.

@sarika01 I see no info about getting an API for the app in the at_onboarding_widget package docs. Can you please have a look at that? (Hoping no need to raise another ticket for this)

@yahu1031 Can you please elaborate on the requirement or the use-case that you are looking at?

There is no information on how to get the API key for the app in the at_onboarding_flutter package documentation. But in the code snippet, We mentioned that API Key is mandatory for production environment.. So need at least a line about how to get the API key(mail to get-key@atsign.com). We used to have it, but on the docs update, there are no traces of it.


Need port Clear-RecycleBin cmdlet

We need port Clear-RecycleBin` cmdlet.
We already have Clear-RecycleBin code for Windows but we should fix issue #6743.
On Linux and MacOs we should implement the cmdlet.
Related links from Electron

for MacOs https://github.com/aichingm/electron/blob/893fc2cd539cb4ccef01833a1209696e448df8d9/atom/common/platform_util_mac.mm#L155
for Linux https://github.com/aichingm/electron/blob/893fc2cd539cb4ccef01833a1209696e448df8d9/atom/common/platform_util_linux.cc#L91

MacOs API https://developer.apple.com/documentation/foundation/nsfilemanager/1414306-trashitematurl?language=objc
From @mklement:

However, the Cocoa Foundation framework only supports moving an item to the trash, it doesn't support emptying the trash.

Hence my suggestion to use command-line utility osascript with a piece of AppleScript for simplicity.

We could do it in-process, because you can call AppleScript from Cocoa too, but I'm not sure it's worth the effort - unless it's trivial to call Cocoa from .NET Core - I have not looked into it.

So a couple things. The finder supports directly emptying the trash. Single command: tell application "finder" to empty. so a call to osascript -e works there
Since the cocoa frameworks allow moving to trash easily, i'd use them, as using osascript -e for that gets a little weird since you have to have a file object which you then use in: tell application "finder" to move  to trash. You can play some games with posix file et al, but any time the frameworks will do it, that's the better way to go.


GitLab and Bitbucket

Hey Luis, thanks for the extension.
You may want to see if you can do the same for GitLab and Bitbucket, I'm planning to add support for those providers soon.
Also, we will support browsing directories inside of Git History, maybe the button should appeare there too.

Hi, @pomber.
Ok, Just tell me. How could urls be?.
gitlab: https://gitlab.githistory.xyz/
bitbucket: https://bitbucket.githistory.xyz/?
To add a button in directories I think in two possible options

Button should be appear on all project path
https://git-provider.com/username/project-name/*

Button should be appear only when tree is in on path.
https://git-provider.com/username/project-name/tree/**

Second option, I think it's better because ensure is on git project. Tell me what do you think about this?
Cheers!

gitlab: https://gitlab.githistory.xyz/
bitbucket: https://bitbucket.githistory.xyz/?
:+1:

2. Button should be appear only when tree is in on path.
https://git-provider.com/username/project-name/tree/**

Second option seems better, it matches the behavior of the native GitHub "history" button.

@pomber Now this extension adds a button to gitlab and bitbucket, but I didn't publish it because in homepage: githistory.xyz says "GitLab and Bitbucket will come soon.".
Please, feel free to tell me when to publish this new version.

Thanks Luis!
You can publish it now if you want. I'll update the home page and readme after I add some more stuff.

On firefox I can't publish today because

Add-on submission will be disabled on Monday, February 25th, due a planned server migration.

Google Chrome not have problem. I have published.

Ok, now I pushed on firefox!


Expected result
-i https://pypi.org/simple
git+https://github.com/dfunckt/django-rules@master#egg=django-rules
Actual result
-i https://pypi.org/simple
git+https://github.com/dfunckt/django-rules@ec0d0905240cd1e4d79724fd53f7fd461023a3bf#egg=django-rules
Steps to replicate
pipenv install "git+https://github.com/dfunckt/django-rules@master#egg=django-rules"
pipenv lock -r

$ pipenv --support
Pipenv version: '2018.7.1'
Pipenv location: '/home/arappold/.local/lib/python3.6/site-packages/pipenv'
Python location: '/usr/bin/python3.6'
Other Python installations in PATH:

2.7: /usr/bin/python2.7

2.7: /usr/bin/python2.7

3.5: /usr/bin/python3.5m

3.5: /usr/bin/python3.5

3.6: /usr/bin/python3.6m

3.6: /usr/bin/python3.6

2.7.12: /usr/bin/python

2.7.12: /usr/bin/python2

3.5.2: /usr/bin/python3

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.6.6',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '4.15.0-24-generic',
 'platform_system': 'Linux',
 'platform_version': '#26~16.04.1-Ubuntu SMP Fri Jun 15 14:35:08 UTC 2018',
 'python_full_version': '3.6.6',
 'python_version': '3.6',
 'sys_platform': 'linux'}

System environment variables:

DBUS_SESSION_BUS_ADDRESS
DEFAULTS_PATH
DESKTOP_AUTOSTART_ID
DESKTOP_SESSION
DISPLAY
GDMSESSION
GDM_LANG
GNOME_DESKTOP_SESSION_ID
GPG_AGENT_INFO
GTK_MODULES
GTK_OVERLAY_SCROLLING
HOME
LANG
LANGUAGE
LC_ADDRESS
LC_IDENTIFICATION
LC_MEASUREMENT
LC_MONETARY
LC_NAME
LC_NUMERIC
LC_PAPER
LC_TELEPHONE
LOGNAME
LS_COLORS
MANDATORY_PATH
PATH
PWD
QT_ACCESSIBILITY
QT_LINUX_ACCESSIBILITY_ALWAYS_ON
QT_QPA_PLATFORMTHEME
QT_STYLE_OVERRIDE
SESSION_MANAGER
SHELL
SHLVL
SSH_AGENT_PID
SSH_AUTH_SOCK
TERM
USER
VTE_VERSION
WINDOWID
XAUTHORITY
XDG_CONFIG_DIRS
XDG_CURRENT_DESKTOP
XDG_DATA_DIRS
XDG_GREETER_DATA_DIR
XDG_RUNTIME_DIR
XDG_SEAT
XDG_SEAT_PATH
XDG_SESSION_DESKTOP
XDG_SESSION_ID
XDG_SESSION_PATH
XDG_SESSION_TYPE
XDG_VTNR
__fish_bin_dir
__fish_datadir
__fish_help_dir
__fish_sysconfdir
PYTHONDONTWRITEBYTECODE
PIP_PYTHON_PATH

Pipenv–specific environment variables:
Debug–specific environment variables:

PATH: /home/arappold/bin:/home/arappold/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games
SHELL: /usr/bin/fish
LANG: en_US.UTF-8
PWD: /home/arappold/git/cloud-backend-alice/scripts/pipenv

Contents of Pipfile ('/home/arappold/git/cloud-backend-alice/scripts/pipenv/Pipfile'):
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
django-rules = {ref = "master", git = "https://github.com/dfunckt/django-rules"}

[dev-packages]

[requires]
python_version = "3.6"

Contents of Pipfile.lock ('/home/arappold/git/cloud-backend-alice/scripts/pipenv/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "25313a7f522107a2f58a0d613208fa8b7656223bbf63ea143001d52250a789bb"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.6"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "django-rules": {
            "git": "https://github.com/dfunckt/django-rules",
            "ref": "ec0d0905240cd1e4d79724fd53f7fd461023a3bf"
        }
    },
    "develop": {}
}

It is not invalid. Did you try actually use the output? It totally works (except the egg=django-rules part because that package is not actually called django-rules).

Also see #2180 for explaination why this is done. The difference between branch and commit is similar to abstract and concrete versions—The locked result should contain commit info instead of branch so subsequent installations can reproduce the locked environment exactly.
I vaguely remember there is an issue about --outdated should report outdated branch-commit results, but I can’t find it now. @techalchemy do you remember?

Sorry! I agree. I might be a little frustrated by multiple issues stacking up.
The issue must then be in serverless-python-requirements (nodejs package).

No worrys. Please do report any potential issues when you find them! 🌌


Look into performance of large panel apps

The simple apps on our current panel app endpoint (https://bokeh-pangeo.usgs.gov/) are quite slow to load. Is this due to panel? The size of the instance it is backed by?
Will we be able to create a large model evaluation app using panel that can actually function?

[ ] asfasdf


Any Knowledge of old .RSS files?

This is really cool!!!
Do you guys have any knowledge of old? RSS files. I would really like to beable to read those

Hi,
I haven't looked at them, but this seems to have some information.
http://www.plctalk.net/qanda/showthread.php?t=54959&highlight=zip
Ben
On Sat, Oct 22, 2022 at 12:25 PM TheColonel2688 @.***>
wrote:

This is really cool!!!
Do you guys have any knowledge of old? RSS files. I would really like to
beable to read those
—
Reply to this email directly, view it on GitHub
https://github.com/hutcheb/acd/issues/2, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADXBWTHAPOTAZSZY4LTJK33WEQWRPANCNFSM6AAAAAARL6IPUI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


OutOfMemoryError when >= 200 entities & using GPU

I was investigating models to obtain rankings for pairwise comparison and wondered if this model would suit my needs.
In my project, I'd have < 10,000 entities that could be pairwise compared with each other.
I tried the current implementation on this repository and there is a memory allocation issue when the number of entities is larger (e.g. 200) and GPU is used. I don't have the theoretical background to evaluate the algorithm, but would this issue be related only to the implementation and not the algorithm, thus potentially resolvable, or not?
import ranking_models.asap.asap_gpu as asap_gpu
import numpy as np
N = 200
pwc_mat = np.random.randint(0, 100, size=(N, N))
pairs, scores_mean, scores_std = asap_gpu.ASAP(pwc_mat, mst_mode=True, cuda=True, get_scores = True)

print("Indeces from pwc_mat to compare:")
print(pairs)
print("Scores means \n",scores_mean)
print("Scores standard deviaion \n", scores_std)

Traceback (most recent call last):
  File "/root/test/test_asap_gpu.py", line 5, in <module>
    pairs, scores_mean, scores_std = asap_gpu.ASAP(pwc_mat, mst_mode=True, cuda=True, get_scores = True)
  File "/root/test/asap/asap_gpu.py", line 158, in ASAP
    G = torch.zeros(G0.size(0),I.size(0),G0.size(1)+1).to(G0)
torch.cuda.OutOfMemoryError: CUDA out of memory. Tried to allocate 35.23 GiB (GPU 0; 23.65 GiB total capacity; 1.52 MiB already allocated; 23.14 GiB free; 2.00 MiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

@Gintasz I have the same issue with GPU version - it doesn't scale well in terms of memory footprint. I have a couple of A100s and 128GB RAM at hand, but I still cannot run it for matrices bigger than 150x150 due to the allocation of G matrix that you mentioned.


improve accuracy of consensus section

Main improvements:

merge improvement proposals and consensus since CHIP is 95% intended for consensus
fix some minor typos on related changed lines (spelling, trailing whitespace, capitalization)
move BUIP to Bitcoin Unlimited since they are about BU as an organization, not BCH
remove link to general protocols for CHIPs since those are just the CHIPs that we worked on. Replaced with a list of known CHIPs and a separate link to the process itself.

Thank @emergent-reasons !!

Thank you! The amount of info in this site is wonderful. Also appreciate the link liveness checker.


tarhelper: Add support for custom entry handlers on tar/untar

This adds support for a CustomHandler slice onto Tar and Untar. This
allows the caller to pass in function handlers that can be called to
customize the handling around specific entries.
Support to inject custom transformations is necessary to handle inline
conversion handlers for multiple union filesystems in the Continuum
codebase. We'll have this work by on the fly adapting to/from what we'll
officially utilize in the base packages to what the local host is
configured to use.
Change is part of #ENGT-9504.
review: @zquestz @jpoler
cc: @earlruby

LGTM

LGTM, I like tests. Do we know specific use-cases for the custom handlers yet, or is this just a "We will probably encounter the need for this" kind of thing?

The PR description has the use case. It is around aufs and overlay compatibility.

Yeah, I was wondering what we would be changing specifically during the override, like changing particular header values, etc. The change looks good nonetheless.

It is for whiteout files, which indicate things like files deleted in from a lower layer in a higher layer. The referenced ticket has the full details on it.

Pausing the merged until the release is taken...


⚠ ClamAV has degraded performance

In d326f0f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 97 ms

Resolved: ClamAV performance has improved in 0f16841.


Unable to load types when wrapping module

I'm sorry for my noobish powershell question, but I'm unable to wrap your module inside my own utility module (for personal use). I used the using module statement over Import-Module and did reference your module als one of the ExternalModuleDependencies. I keep getting errors with the types you dynamically added inside SeleniumClasses.ps1
Cannot validate argument on parameter 'Browser'. Unable to find type [SeBrowsers].
Cannot find the type for custom attribute 'ValidateURIAttribute'. Make sure that the assembly that contains this type is loaded.

Did you perhaps try to reference your own module in another module? Any docs or help on how to solve this would be much appreciated.

@dc31xx  I am not very familiar with ExternalModuleDependencies.
From what I understand, this is mostly when you want to add a dependency that is not available from PowershellGallery.
I might be wrong on that and feel free to enlighten me but if you do not have specific reasons to use that, use RequiredModules instead.
I created a dummy module with Selenium as a RequiredModule and was able to use the module properly.
My Psm1
using module Selenium
function test-stuff {
    Start-SeDriver -Browser Chrome -Position 1920x0
    Stop-SeDriver
}

My psd1
Everything basic +
FunctionsToExport = @('test-stuff')
RequiredModules = @('Selenium')

Thanks al lot @itfranck . It was my lack of pwsh knowledge that led me to ExternalModuleDependencies.


using touchOnChange for a subset of fields

Hi! I'd like to set touchOnChange to true for a subset of fields. is this possible? I have text inputs which i'd like to touch on blur, but select inputs I'd like to touch on change.

It's a little hacky, but you could potentially use onBlur for onChange.
<input type="text" {...field} onChange={field.onBlur}/>

Maybe?

this worked wonderfully! thanks!


Compound Concepts/Linguistic Grouping

A big issue with many generations is 'prompt bleeding'. Descriptors meant to be assigned to one concept will apply to the whole image, ie red car producing a car, which may be red, but the red applying throughout the image, not just to the car (to clothing, to hair, to eyes, to background objects that are not cars). While colors are the most common issue here, there are plenty of other situations where the inability to group things into a single concept that will not apply to the whole image causes problems, ie attempting to make a dress made of vines will tend to cause vines everywhere in the image, and possibly not on the dress as the model does not have much training data with dresses and vines together.
The issue is that SD does not understand noun and adjective attachment naturally (ie does not know that a single concept is stated with multiple words in a particular sequence, and treats words individually) and there is not a way to indicate this grouping manually (parenthesis have been use to group for emphasis, but not to group syntactically). To avoid breaking existing prompts, I propose {red car} to indicate that the red should apply only to the car and not to any other part of the image. This would also allow for more precise and detailed images, as it will now be possible to specify different colors, styles, to force concepts that might otherwise not be understood by the model as grouped, etc. for different parts of the image without cross influence.
Example: Photo of a {{plate mail armored} rat}, standing on a {red car}, {modern street} with {{blue banners} flapping} in the wind, {cyberpunk crowd} walks past... This prompt would be a hard to prevent from becoming chaotic under the current system; the red being mentioned early would tend to go everywhere in the image rather than just sticking to the card (possibly even overriding the blue on the banner, unless you weight the blue, which then might overtake the red and back and forth), while the plate mail armor could have difficultly being mapped to the rat (as this is not something commonly in the training set, so most models would tend to end up producing an armored human and a rat separately).

Cutoff modules essentially do something similar to what this is about, but in a very complex, more limited, and unintuitive way.


Equivalent to Python atexit functionality

 Issue by bmurphy1976
Tuesday Jan 21, 2014 at 01:54 GMT
For earlier discussion, see https://github.com/rust-lang/rust/issues/11695
This issue was labelled with:  in the Rust repository

I can't always guarantee that users are going to properly use a library (calling init methods, cleanup methods, etc.).
Occasionally things die horribly and you want to provide stronger guarantees about when things fail.
Is there a way to hook up to an exit signal of sorts to execute code when a program exits regardless of the exit mechanism?  Something like Python atexit?

This currently exists as std::rt::at_exit: http://doc.rust-lang.org/std/rt/fn.at_exit.html
Though I believe the callbacks currently don't trigger due to some problems from runtime removal and I'm not sure if it'll be stable for 1.0.

@steveklabnik The link above to std::rt::at_exit is dead.  Is there a modern alternative currently in existence for Rust 2018 edition?  A colleague and I have run across the same need: we need to run some cleanup code when our (internal) library is not in use.

@jrop A quick search on crates.io shows

graceful
shutdown_hooks
But these are old, a more modern solution is ctor, you can use the #[dtor] attribute to hook into shutdown.


[Swift] Remove old pre-RemoteAST code path for getting field offsets

I merged this to upstream-with-swift a while back but it never ended up in the stable branch. What branch do changes have to go in these days?

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test

@slavapestov yes, merging to stable is correct (sorry, we changed our model several times in the past 4 months so things may be a little confusing).


Update Chinese translation

Closing as this PR needs to be submitted against another base branch (release-2.6)


feat(footerExample): Adding a footer example

Previews:

https://deploy-preview-922--boosted.netlify.app/docs/5.1/components/orange-footer
https://deploy-preview-922--boosted.netlify.app/docs/5.1/examples/footers/

https://github.com/Orange-OpenSource/Orange-Boosted-Bootstrap/pull/922/commits/9516ff509694c9ac1af94aea50e3d096ab70d19b is a proposal to improve the understanding of the extra CSS. I propose to embed it directly in the example so that the developers can access it directly in their browser (and copy it if needed) and see it in action. IMO, it is easier to understand. If you disagree, you can remove this commit and we'll find another way to tackle this.