fix for server performing redundant operations when 'server controlled'

Backport of https://github.com/GodotNetworking/network_synchronizer/pull/4

Thanks!!


[Improvement]: MongoDB database selected on local run

Describe the improvement
Hello,
I test mongodb shared databases and if I understand correctly we have an error.
The databases selected on local-run is alway "admin". Or admin is a reserved databases for mongodb.
mongodb://mongodb:password@localhost:16352/admin
I see on the code :
provisioner/tests/helpers.rs

/// Execute commands in `mongosh` via `docker exec` against the provided `database_name`
/// or against the `admin` database by default
pub fn exec_mongosh(command: &str, database_name: Option<&str>) -> String {
    let output = Command::new("docker")
        .args([
            "exec",
            MONGODB_CONTAINER_NAME,
            "mongosh",
            "--quiet",
            "--username",
            "mongodb",
            "--password",
            "password",
            "--authenticationDatabase",
            "admin",
            database_name.unwrap_or("admin"),
            "--eval",
            command,
        ])
        .output()
        .unwrap()
        .stdout;

    String::from_utf8(output).unwrap().trim().to_string()
}

I suppose it's for local run.
And for shuttle side :
provisioner/src/lib.rs
            shared::Engine::Mongodb(_) => {
                let database_name = format!("mongodb-{project_name}");

If it's possible to confirm to me it's not the behaviour we want.
And say to me what is the fix you want :

Create mongodb-{project_name} database for be exactly like the production mode

We can create specific user with right ?
I don't known if we need test (and behaviour) when we run two shuttle instance with mongodb shared db

Or only create a static database shuttle-local to have empty database not use by mongodb system ?

I am interested to do the PR. I am not very experimented on Rust but I can do it with help (I am on shuttle discord) 😉
Thank you
Duplicate declaration

[X] I have searched the issues and this improvement has not been requested before.

Hi! We're currently in the process of actually deprecating our MongoDB addon. We're planning to add some replacements in lieu of it and will release an update when we are able to do so.

@joshua-mo-143 , Please assign me this issue.


Permission denied errors on ghost image

Ghost tags tried: latest, 0.11.7 (equivalent tags)
Docker version: v17.03.0-ce
OS: macOS
Type: docker-machine
Failing cases
All cases start with an empty directory

$ docker run --rm --name myblog -p 8080:2368 -it -v $(pwd):/var/lib/ghost:rw ghost:latest
mkdir: cannot create directory '/var/lib/ghost/apps/': Permission denied

$ docker run --rm --name myblog -p 8080:2368 -it -v $(pwd):/var/lib/ghost:rw ghost:0.11.7 bash
root@9acbe98bd181:/usr/src/ghost# npm start
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>...

><EMAIL_ADDRESS>start /usr/src/ghost
> node index
...

ERROR: SQLITE_CANTOPEN: unable to open database file

 Error: SQLITE_CANTOPEN: unable to open database file
    at Error (native)

npm info poststart<EMAIL_ADDRESS>npm info ok

[Continued from (2)]. Still empty directory

root@9acbe98bd181:/usr/src/ghost# /entrypoint.sh npm start
mkdir: cannot create directory '/var/lib/ghost/apps/': Permission denied

Passing --user. As per Dockerfile, ghost image uses a user called user

$ docker run --rm --name myblog -p 8080:2368 -it --user="user" -v $(pwd):/var/lib/ghost:rw ghost:0.11.7
mkdir: cannot create directory '/var/lib/ghost/apps/': Permission denied

Passing cases

Without mounting volumes. Useless, but oh well

$ docker run --rm --name myblog -p 8080:2368 -it ghost:0.11.7
npm info it worked if it ends with ok
...

><EMAIL_ADDRESS>start /usr/src/ghost
> node index
...

Migrations: Creating tables...
...
Migrations: Creating owner
Ghost is running in development...
...
Ctrl+C to shut down

[Basically copy-pasting entrypoint.sh]

$ docker run --rm --name myblog -p 8080:2368 -it -v $(pwd):/var/lib/ghost:rw ghost:0.11.7 bash
root@cfe4b0069a1a:/usr/src/ghost# baseDir="$GHOST_SOURCE/content"
root@cfe4b0069a1a:/usr/src/ghost#     for dir in "$baseDir"/*/ "$baseDir"/themes/*/; do
>         targetDir="$GHOST_CONTENT/${dir#$baseDir/}"
>         mkdir -p "$targetDir"
>         if [ -z "$(ls -A "$targetDir")" ]; then
>             tar -c --one-file-system -C "$dir" . | tar xC "$targetDir"
>         fi
>     done
root@cfe4b0069a1a:/usr/src/ghost#
root@cfe4b0069a1a:/usr/src/ghost#     if [ ! -e "$GHOST_CONTENT/config.js" ]; then
>         sed -r '
>             s/127\.0\.0\.1/<IP_ADDRESS>/g;
>             s!path.join\(__dirname, (.)/content!path.join(process.env.GHOST_CONTENT, \1!g;
>         ' "$GHOST_SOURCE/config.example.js" > "$GHOST_CONTENT/config.js"
>     fi
root@cfe4b0069a1a:/usr/src/ghost# npm start
npm info it worked if it ends with ok
npm info using<EMAIL_ADDRESS>npm info using<EMAIL_ADDRESS>...

><EMAIL_ADDRESS>start /usr/src/ghost
> node index
...
Migrations: Creating tables...
...
Ghost is running in development...
Listening on <IP_ADDRESS>:2368
Url configured as: http://localhost:2368
Ctrl+C to shut down

Subsequent runs of (2). All the content folders, themes etc are now in pwd

$ docker run --rm --name myblog -p 8080:2368 -it -v $(pwd):/var/lib/ghost:rw ghost:0.11.7 bash
root@fc4a80a12525:/usr/src/ghost# npm start
npm info it worked if it ends with ok
...

><EMAIL_ADDRESS>start /usr/src/ghost
> node index

WARNING: Ghost is attempting to use a direct method to send email.
...

Ghost is running in development...
...
Ctrl+C to shut down

Note: Running
$ docker run --rm --name myblog -p 8080:2368 -it -v $(pwd):/var/lib/ghost:rw ghost:0.11.7 npm start

(or without any args) instead of (3) doesn't work. I have to run bash and then run npm start
I am at loss for an explanation as to why the cases that work do work, and the cases that don't, don't. This is voodoo stuff.

Failing cases:

doesn't work on docker-machine/boot2docker since the shared folder from the host is owned by 1000:50 and ghost entrypoint process drops to "user" which is 1001:1001.
not quite the same as a default run since things need to be copied like in the entrypoint
not sure I see what is different here from 2.
that is basically the same as 1, that user still cannot access the shared folder.

Successful:

no comment
this work because you skip the drop down to "user", but makes node run as root and thus all you files in the shared folder will be root owned.
yup, skipping the entrypoint to run as root is one workaround

For boot2docker/docker-machine on OSX (or Windows), you should be able to just run as 1000:50 and everything will be owned properly since the entrypoint script only switches to "user" if the command is npm start and the current user is root.
$ docker run --rm --name myblog -p 8080:2368 -it -v $(pwd):/var/lib/ghost:rw --user 1000:50 ghost:latest

Thank you so much @yosifkit ! That makes sense. You're awesome! 🎉
I'm going to close this as this answers my query

zsh: permission denied: ./ghost


Use default timezone

@vsoch: the calendar so far had the UTC timezone, although I think it would be better to use the local one. This works fine for the list view, but it might be a bit misleading for the calendar as the submission deadlines allDay events get shifted to a different day...

here are the corresponding docs:
https://fullcalendar.io/docs/timeZone
one possibility would be, to format the start time like {{ deadline }}T23:59:59 (i.e. without the leading Z) for these background events. We don't display the exact timing of the deadline here anyway.

That might work!

another option would be to not add it as a background element, but rather as a block

I think I like that better, actually.

me too. So let's make a choice:
Option 1:

Option 2:

Option 3:

I'd go for 1 or 3 (but obviously we can also change this later, the decision here does not need to be final)

I like 3.

alright. are you okay with that? I also modified the time such that they show up exactly at midnight UTC
https://537-267395254-gh.circle-artifacts.com/0/SORSE/programme/calendar/index.html
https://537-267395254-gh.circle-artifacts.com/0/SORSE/programme/index.html

It looks fantastic @Chilipp - really good work :)

great! thanks for your quick and helpful input :smiley: I'm off now for the rest of the night


Update about-code-owners.md

Adds some more clarification on the use of statements like:
/apps/github

Users might be confused thinking that this means that the ownership reverts back to some previously defined owner, but that is not the case.

Why:
Closes: #34699

What's being changed (if available, include any code snippets, screenshots, or gifs):

Adds additional/more explicit information on how these statements in the CODEOWNERS file work.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline (this link will be available after opening the PR).

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

Preview of changes can be found here and it looks as intended:

Thanks @daczarne—normally I'd recommend that anyone should raise an issue first before raising a PR, as it means a better experience for everybody. However, I think there's a worthwhile change to be made here: let me know what you think of my comment, and we can go from there and get something merged 👍

Hi @subatoi. Thanks for taking a look at it. The associated issue is #34699. I'll reply to your comments in the comments themselves.

Hi @daczarne — just to reply to individual points:
Apologies you had a poor experience with the article and thanks for taking the right steps to try to help other users. I do appreciate you've raised an issue first here and that's absolutely the right thing to do.
For full transparency: as you can imagine we receive a large volume of issues and pull requests, and generally it's ideal if users give us a chance to discuss potential changes there before they go ahead and raise a PR. That's because sometimes the changes don't make sense for whatever reason. Clearly in this case that's not true, but I'd be remiss if I weren't consistent 😉
I hope the changes we've agreed on here do make things clearer, but we'll certainly keep an eye out for further feedback. If you'd consider raising a Discussion as well, then it'll make it easier for us to see where other users might be struggling, even after the changes.
Many thanks again for your help!

Duly noted. It makes sense. I'll keep that in mind for next ones.

Thank you! Obviously for typos or mistakes, or very arguably situations like this, it's less important and perhaps I was a bit overzealous 😀

Can you offer some guidance regarding the discussion topic? I don't mind opening one, just not sure what exactly to include since this issue will be resolved. You want to have it for future reference?

In hindsight, it probably isn't necessary—I really meant in case you weren't 100% sure the changes we agreed would solve your issue if you went back in time, so it would give us a chance to track the article with the new changes and see if anyone was still struggling. It sounds like we probably don't need to bother with the discussion, after all, though 👍


Retrain models

Hi all
It's possible to retrain (also known as Transfer Learning) models like AlexNet?
Regards

Also linking to the issue over on Caffe2 proper
https://github.com/caffe2/caffe2/issues/1850


Added Navigation

Added Navigation
1)Responsive Header Navigation
2)Tabs Navigation

Please make a component from the figma file. Closing this PR. @Anuragwagh


Question:  Does Macaw have eraser functionality built in?

Im in desperate need of a vector library that has an eraser tool built in, and can erase paths drawn over images.  Can Macaw do this?
What would the lines of code look like?  Just a sample of initiating the eraser tool if it has one...

Hi @jforward5,
There is no build-in erase tool, however you may use clip/mask properties of a Node to implement it.


WhenAsync doesn't execute predicate

I've got my logic:
this.RuleFor( x => x.SubTypeId )
    .NotEmpty()
    .WithMessage( "Must choose a SubType" );

 this.RuleFor( x => x.StartTime )
    .NotEmpty()
    .WithMessage( "Must choose a Start Time" );

WhenAsync( WhenDurationExists,
                     () => this.RuleFor( x => x.Duration ).IsValidTime( errorMessage: "Duration has to be a valid minute starting at 15 with a maxium of 480 in 15 minute intervals" ) );

And my WhenDurationExists:
    public async Task<bool> WhenDurationExists(
        SlotSearchRequest request,
        CancellationToken cancellationToken )
    {
        var typeModels = (await this.referenceDataProvider.GetReferenceDataAsync()).Types;
        var typesBySubtypeId = typeModels
                                         .SelectMany( x => x.SubTypes.Select( y => new
                                                                                {
                                                                                x.TypeId,
                                                                                y.SubTypeId,
                                                                                y.Duration
                                                                                } ) )
                                         .ToLookup( x => x.SubTypeId, x => x );

        var subType = typesBySubtypeId[request.SubTypeId].FirstOrDefault();
        if ( subType == null )
        {
            return false;
        }

        return request.Duration > subType.Duration;
    }

What I've found is that with a break point over WhenAsync that causes a break, but with a break point inside the WhenDurationExists function that never gets called, the next execution is actually this.RuleFor(x => x.Duration)... so it seems to not actually evaluate the WhenAsync predicate...

Hi, which version of FluentValidation are you using?
Also, could you confirm if you're calling Validate or ValidateAsync on the root validator?

I'm not calling ValidateAsync I know that - that would make sense then as to why it isn't calling WhenAsync..

Using 7.5.2, but I can update that

Yep, you need to call ValidateAsync on the root-level validator if you want to invoke async rules or async conditions.
With 7.6, they'll be invoked even if you call Validate (but it'll run them synchronously), so regardless of whether you upgrade you should call ValidateAsync.

Yeah sure, of course all the sync stuff still runs as excepted when ValidateAsync


Fixed a few typos

Pull Request Test Coverage Report for Build 31

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 71.72%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/src/swiper.dart
0
1
0.0%

Totals

Change from base Build 30:
0.0%

Covered Lines:
492

Relevant Lines:
686

💛  - Coveralls


Deploy endpoint needs model access??!

Hello!
So, Im doing everything correct.
I used llama3 as base to fine tune the model.
But when I deploy to the endpoint it gives me the error:
I need to request access to the model.
To accept the terms.
But I already did that, so my guess is that when I create the endpoint Im not autenticate with my hugging face token.
Because even if this pass, using other models, is going to have trouble when access my fine tuned model.
So the question is, what I need to do?

this is not autotrain issue. its an Endpoints issue. please email<EMAIL_ADDRESS>with details.
or,
merge the model weights manually.


HEAD request parameter introspection

HEAD requests, like GET, should by default look at query params

this pr breaks the build

this pr breaks the build


"construct does not have an associated node. All constructs must extend the "Construct" base class" error when pushing with Amplify v11

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
16.19.0
Amplify CLI Version
11.0.3
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
After upgrading to amplify cli v11, I get error on pushing as follows:
"🛑 construct does not have an associated node. All constructs must extend the "Construct" base class"
I reported this 3 weeks ago at https://github.com/aws-amplify/amplify-cli/issues/12221#issuecomment-1470885867, and was asked to create new issue. The issue remains with latest version of amplify cli. @ykethan was working on a repro and asked me to create new issue.
Expected behavior
amplify push should work.
reverting to v10.8.1 resolves the issue.
Reproduction steps
Upgrade to amplify v11 and do a push. I sent more details on my environment to<EMAIL_ADDRESS>on March 14.
Project Identifier
3def1a2bd59d61900f734d59f169a578
Log output

# Put your logs below this line

🛑 construct does not have an associated node. All constructs must extend the "Construct" base class

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

Thank you two for debugging this. I have now released the required changes in https://github.com/flogy/graphql-ttl-transformer/releases/tag/2.0.1
Thank you very much for your contribution! 🥳


javascript code instead of lyrics for https://open.spotify.com/track/51YEsxj20DD3BkAbEoSUjo

"var CURRENT_USER = null;
var CANONICAL_DOMAIN = "genius.com";
var CANONICAL_DOMAIN_PARTS_LENGTH = 2;
var CURRENT_CHANNEL = "rock";
var CURRENT_TAG = {"tag":{"always_allow_personal_annotation":null,"beefy":true,"created_at":"2013-12-11T08:56:58Z","deleted_at":null,"description":"Welcome to Rock Genius, where people just like you break down lyrics by your favorite rockers past and present.  Wondering about whether all that glitters is gold?  Wanna know if Jimi actually kissed the sky?  Need to keep up on Against Me!'s historical references?  Curious about why The Shins got back together with Zach Braff?  We've got it all!\r\n\r\nWhile you're here, follow us on Twitter and Facebook","designation":"featured_music","google_analytics_table_id":"ga:87826506","id":567,"image_url":"https://images.rapgenius.com/db11f012cb5d0a3066272732495b6ad3.480x360x12.gif","implied_channel_id":2,"languages_store":{},"logical_name":"rock","name":"Rock Genius","slug":"rock","taggings_count":148298,"twitter_name":"rockgenius","updated_at":"2015-07-30T21:10:50Z"}};
var TRACKING_DATA = {"Song ID":2831858,"Title":"Electromod","Primary Artist":"Cachorro Grande","Primary Artist ID":361288,"Primary Album":"Electromod","Primary Album ID":162131,"Primary Tag":"rock","Primary Tag ID":567,"Has Relevant Videos?":false,"Music?":true,"Annotatable Type":"Song","Annotatable ID":2831858,"featured_video":false,"cohort_ids":[],"has_verified_callout":false,"has_featured_annotation":false,"created_at":"2016-08-03T18:31:37Z","created_month":"2016-08-01","created_year":2016,"song_tier":"E","Has Recirculated Articles":false};
var VALID_SUBDOMAINS = ["x","news","rap","law","history","tech","rock","country","r-b","lit","pop","screen","meta","sports"];
var EMBEDLY_KEY = "fc778e44915911e088ae4040f9f86dcd";
var MOBILE_DEVICE = false;
var APP_CONFIG = {"env":"production","api_root_url":"/api","facebook_app_id":"265539304824","facebook_opengraph_api_version":"2.5","pusher_app_key":"6d893fcc6a0c695853ac","embedly_key":"fc778e44915911e088ae4040f9f86dcd","app_store_url":"https://itunes.apple.com/us/app/genius-by-rap-genius-search/id709482991?ls=1&mt=8","play_store_url":"https://play.google.com/store/apps/details?id=com.genius.android","soundcloud_client_id":"632c544d1c382f82526f369877aab5c0","annotator_context_length":32,"comment_reasons":[{"_type":"comment_reason","context_url":"http://genius.com/8846441/Genius-how-genius-works/More-on-annotations","display_character":"R","handle":"Restates the line","id":1,"name":"restates-the-line","raw_name":"restates the line","requires_body":false,"slug":"restates_the_line"},{"_type":"comment_reason","context_url":"http://genius.com/8846441/Genius-how-genius-works/More-on-annotations","display_character":"S","handle":"It’s a stretch","id":2,"name":"its-a-stretch","raw_name":"it’s a stretch","requires_body":false,"slug":"its_a_stretch"},{"_type":"comment_reason","context_url":"http://genius.com/8846441/Genius-how-genius-works/More-on-annotations","display_character":"M","handle":"Missing something","id":3,"name":"missing-something","raw_name":"missing something","requires_body":false,"slug":"missing_something"},{"_type":"comment_reason","context_url":"http://genius.com/8846441/Genius-how-genius-works/More-on-annotations","display_character":"…","handle":"Other","id":4,"name":"other","raw_name":"other","requires_body":true,"slug":"other"}],"filepicker_api_key":"Ar03MDs73TQm241ZgLwfjz","filepicker_policy":"eyJleHBpcnkiOiIyMzIyMjM4OTI3IiwiY2FsbCI6WyJwaWNrIiwicGlja0FuZFN0b3JlIiwicmVhZCIsInN0b3JlIiwic3RhdCJdfQ==","filepicker_signature":"d155a1c0e33688b9bf17de68465df1ec0bfd18d7c5e95c944468f1ad5e9fc656","filepicker_s3_image_bucket":"filepicker-images-rapgenius","available_roles":["moderator","mega_boss","in_house_staff","verified_artist","meme_artist","engineer","editor","educator","staff","whitehat","tech_liaison","mediator"],"zeroclipboard_swf_path":"https://assets.genius.com/flash/ZeroClipboard.swf?1478704484","canonical_domain":"genius.com","enable_angular_debug":false,"airbrake_project_id":"7530","airbrake_key":"dcd059598ee876ad6f624f97647f0a8d","airbrake_development_mode":false,"fact_track_launch_article_url":"http://genius.com/a/genius-and-spotify-together","bad_words":["4r5e","5h1t","5hit","a55","anal","anus","ar5e","arrse","arse","ass","ass-fucker","asses","assfucker","assfukka","asshole","assholes","asswhole","a_s_s","b!tch","b00bs","b17ch","b1tch","ballbag","balls","ballsack","bastard","beastial","beastiality","bellend","bestial","bestiality","bi+ch","biatch","bitch","bitcher","bitchers","bitches","bitchin","bitching","bloody","blow job","blowjob","blowjobs","boiolas","bollock","bollok","boner","boob","boobs","booobs","boooobs","booooobs","booooooobs","breasts","buceta","bugger","bum","bunny fucker","butt","butthole","buttmuch","buttplug","c0ck","c0cksucker","carpet muncher","cawk","chink","cipa","cl1t","clit","clitoris","clits","cnut","cock","cock-sucker","cockface","cockhead","cockmunch","cockmuncher","cocks","cocksuck","cocksucked","cocksucker","cocksucking","cocksucks","cocksuka","cocksukka","cok","cokmuncher","coksucka","coon","cox","crap","cum","cummer","cumming","cums","cumshot","cunilingus","cunillingus","cunnilingus","cunt","cuntlick","cuntlicker","cuntlicking","cunts","cyalis","cyberfuc","cyberfuck","cyberfucked","cyberfucker","cyberfuckers","cyberfucking","d1ck","damn","dick","dickhead","dildo","dildos","dink","dinks","dirsa","dlck","dog-fucker","doggin","dogging","donkeyribber","doosh","duche","dyke","ejaculate","ejaculated","ejaculates","ejaculating","ejaculatings","ejaculation","ejakulate","f u c k","f u c k e r","f4nny","fag","fagging","faggitt","faggot","faggs","fagot","fagots","fags","fanny","fannyflaps","fannyfucker","fanyy","fatass","fcuk","fcuker","fcuking","feck","fecker","felching","fellate","fellatio","fingerfuck","fingerfucked","fingerfucker","fingerfuckers","fingerfucking","fingerfucks","fistfuck","fistfucked","fistfucker","fistfuckers","fistfucking","fistfuckings","fistfucks","flange","fook","fooker","fuck","fucka","fucked","fucker","fuckers","fuckhead","fuckheads","fuckin","fucking","fuckings","fuckingshitmotherfucker","fuckme","fucks","fuckwhit","fuckwit","fudge packer","fudgepacker","fuk","fuker","fukker","fukkin","fuks","fukwhit","fukwit","fux","fux0r","f_u_c_k","gangbang","gangbanged","gangbangs","gaylord","gaysex","goatse","god-dam","god-damned","goddamn","goddamned","hardcoresex","hell","heshe","hoar","hoare","hoer","homo","hore","horniest","horny","hotsex","jack-off","jackoff","jap","jerk-off","jism","jiz","jizm","jizz","kawk","knob","knobead","knobed","knobend","knobhead","knobjocky","knobjokey","kock","kondum","kondums","kum","kummer","kumming","kums","kunilingus","l3i+ch","l3itch","labia","lmfao","lust","lusting","m0f0","m0fo","m45terbate","ma5terb8","ma5terbate","masochist","master-bate","masterb8","masterbat*","masterbat3","masterbate","masterbation","masterbations","masturbate","mo-fo","mof0","mofo","mothafuck","mothafucka","mothafuckas","mothafuckaz","mothafucked","mothafucker","mothafuckers","mothafuckin","mothafucking","mothafuckings","mothafucks","mother fucker","motherfuck","motherfucked","motherfucker","motherfuckers","motherfuckin","motherfucking","motherfuckings","motherfuckka","motherfucks","muff","mutha","muthafecker","muthafuckker","muther","mutherfucker","n1gga","n1gger","nazi","nigg3r","nigg4h","nigga","niggah","niggas","niggaz","nigger","niggers","nob","nob jokey","nobhead","nobjocky","nobjokey","numbnuts","nutsack","orgasim","orgasims","orgasm","orgasms","p0rn","pawn","pecker","penis","penisfucker","phonesex","phuck","phuk","phuked","phuking","phukked","phukking","phuks","phuq","pigfucker","pimpis","piss","pissed","pisser","pissers","pisses","pissflaps","pissin","pissing","pissoff","poop","porn","porno","pornography","pornos","prick","pricks","pron","pube","pusse","pussi","pussies","pussy","pussys","rectum","retard","rimjaw","rimming","s hit","s.o.b.","sadist","schlong","screwing","scroat","scrote","scrotum","semen","sex","sh!+","sh!t","sh1t","shag","shagger","shaggin","shagging","shemale","shi+","shit","shitdick","shite","shited","shitey","shitfuck","shitfull","shithead","shiting","shitings","shits","shitted","shitter","shitters","shitting","shittings","shitty","skank","slut","sluts","smegma","smut","snatch","son-of-a-bitch","spac","spunk","s_h_i_t","t1tt1e5","t1tties","teets","teez","testical","testicle","tit","titfuck","tits","titt","tittie5","tittiefucker","titties","tittyfuck","tittywank","titwank","tosser","turd","tw4t","twat","twathead","twatty","twunt","twunter","v14gra","v1gra","vagina","viagra","vulva","w00se","wang","wank","wanker","wanky","whoar","whore","willies","willy","xrated","xxx"],"user_authority_roles":["moderator","editor","mediator"],"user_verification_roles":["community_artist","verified_artist","meme_artist"],"user_vote_types_for_delete":["votes","upvotes","downvotes"],"brightcove_account_id":"4863540648001","mixpanel_delayed_events_timeout":"86400","brightcove_p_relevant_web_player_id":"B18DMWtt","brightcove_hyper_relevant_web_player_id":"SJnP34Jh","brightcove_tag_relevant_web_player_id":"HJwZpTzT","brightcove_modal_web_player_id":"S1LI5bh0","brightcove_amp_p_relevant_web_player_id":"Bkw8GqGkg","brightcove_hot_swap_web_player_id":"SkVaza9A","brightcove_article_web_player_id":"S1ZcmcOC1x"};
var SESSION_CONFIG = {"current_user":null,"chat_enabled":null,"dfp_enabled":true};
var AD_CONFIG = {"dfp":{"desktop_home_leaderboard":{"sizes":[[970,250],[728,90]],"kv":{"is_atf":true}},"mobile_home_adhesion":{"sizes":[[320,50]],"kv":{"is_atf":true}},"desktop_home_medium1":{"sizes":[[300,600]],"kv":{"is_atf":false}},"desktop_song_leaderboard":{"sizes":[[970,250],[728,90]],"kv":{"is_atf":true}},"desktop_article_leaderboard":{"sizes":[[970,250],[728,90]],"kv":{"is_atf":true}},"desktop_song_medium1":{"sizes":[[300,600],[300,250]],"kv":{"is_atf":false}},"desktop_song_inread":{"sizes":[[1,1]],"kv":{"is_atf":false}},"desktop_song_lyrics_footer":{"sizes":[[1,1],[300,250],[300,600]],"kv":{"is_atf":false}},"mobile_song_adhesion":{"sizes":[[320,50]],"kv":{"is_atf":true}},"mobile_song_medium1":{"sizes":[[300,250]],"kv":{"is_atf":false}},"mobile_song_footer":{"sizes":[[320,50],[300,250]],"kv":{"is_atf":false}},"amp_song_medium1":{"size":[300,250],"kv":{"is_atf":false}},"amp_song_sticky":{"size":[320,50],"kv":{"is_atf":false}},"amp_song_medium_footer":{"size":[300,250],"kv":{"is_atf":false}},"amp_song_below_player":{"size":[300,250],"kv":{"is_atf":false}},"amp_song_below_song_bio":{"size":[300,250],"kv":{"is_atf":false}},"mobile_article_adhesion":{"sizes":[[320,50]],"kv":{"is_atf":true}},"mobile_article_medium1":{"sizes":[[300,250]],"kv":{"is_atf":false}},"app_song_inread":{"sizes":"MEDIUM_RECTANGLE,BANNER"},"desktop_home_skin":{"sizes":[[1,1]],"kv":{"is_atf":true}},"desktop_song_skin":{"sizes":[[1,1]],"kv":{"is_atf":true}},"desktop_song_annotation":{"sizes":[[300,250],[357,95]],"kv":{"is_atf":false}},"mobile_song_annotation":{"sizes":[[300,250]],"kv":{"is_atf":false}}},"dfp_network_id":"342026871","prebid_placements":{"desktop_728x90":[{"bidder":"aol","params":{"placement":"4166613","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9345913"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}],"desktop_300x600":[{"bidder":"aol","params":{"placement":"4166614","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9345919"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}],"desktop_160x600":[{"bidder":"aol","params":{"placement":"4166615","network":"10604.1"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}],"desktop_300x250":[{"bidder":"aol","params":{"placement":"4166616","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9319415"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}],"mobile_300x250":[{"bidder":"aol","params":{"placement":"4166676","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9345910"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}]}}
var TOP_LEVEL_BLOCK_CONTAINERS = ["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","menu","nav","ol","p","pre","section","table","ul"];
var TOP_LEVEL_STANDALONE_BLOCKS = ["img","hr"];
window._taboola = window._taboola || [];
_taboola.push({article:'auto'});
!function (e, f, u, i) {
  if (!document.getElementById(i)){
    e.async = 1;
    e.src = u;
    e.id = i;
    f.parentNode.insertBefore(e, f);
  }
}(document.createElement('script'),
document.getElementsByTagName('script')[0],
'//cdn.taboola.com/libtrc/genius/loader.js',
'tb_loader_script');

var _qevents = _qevents || [];
(function() {
var elem = document.createElement('script');
elem.src = (document.location.protocol == 'https:' ? 'https://secure' : 'http://edge') + '.quantserve.com/quant.js';
elem.async = true;
elem.type = 'text/javascript';
var scpt = document.getElementsByTagName('script')[0];
scpt.parentNode.insertBefore(elem, scpt);
})();
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-10346621-1']);

var VISITOR_LEVEL = 1
var SESSION_LEVEL = 2
var PAGE_LEVEL = 3

var logged_in = !!window.CURRENT_USER
_gaq.push(['_setCustomVar', 1, 'Logged in', String(logged_in), SESSION_LEVEL])
_gaq.push(['_setCustomVar', 2, 'Controller action', 'songs#show', PAGE_LEVEL])

if (window.TRACKING_DATA) {
  if ("Primary Tag" in TRACKING_DATA) {
    _gaq.push(['_setCustomVar', 3, "Primary tag", TRACKING_DATA["Primary Tag"], PAGE_LEVEL])
  }

  if ("Music?" in TRACKING_DATA) {
    _gaq.push(['_setCustomVar', 4, "Music", String(TRACKING_DATA["Music?"]), PAGE_LEVEL])
  }
}

_gaq.push(['_trackPageview']); // this was causing duplicate pageviews (untill i killed jquery-address)

(function() {
  var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
  ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();

(function(g, e, n, i, u, s) {
  g['GoogleAnalyticsObject'] = 'ga';
  g.ga = g.ga || function() { (g.ga.q = g.ga.q || []).push(arguments) };
  g.ga.l = Date.now();
  u = e.createElement(n);
  s = e.getElementsByTagName(n)[0];
  u.async = true;
  u.src = i;
  s.parentNode.insertBefore(u, s);
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js');

ga('create', "UA-10346621-14", 'auto');
ga('set', 'dimension1', String(logged_in));
ga('set', 'dimension2', "songs#show");
ga('set', 'dimension3', TRACKING_DATA['Primary Tag']);
ga('set', 'dimension3', String(TRACKING_DATA['Music?']));
ga('send', 'pageview');

var
adUnits.push({"code":"div-gpt-ad-Iy2WXzH_mzcKREKyIZh8Mw","sizes":[[300,250]],"bids":[{"bidder":"aol","params":{"placement":"4166616","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9319415"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}]});
adUnits.push({"code":"div-gpt-ad-Iy2WXzH_mzcKREKyIZh8Mw","sizes":[[300,600]],"bids":[{"bidder":"aol","params":{"placement":"4166614","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9345919"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}]});
adUnits.push({"code":"div-gpt-ad-4t797_MP6H-EH_99eaQsnQ","sizes":[[300,600]],"bids":[{"bidder":"aol","params":{"placement":"4166614","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9345919"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}]});
adUnits.push({"code":"div-gpt-ad-4t797_MP6H-EH_99eaQsnQ","sizes":[[300,250]],"bids":[{"bidder":"aol","params":{"placement":"4166616","network":"10604.1"}},{"bidder":"appnexus","params":{"placementId":"9319415"}},{"bidder":"rubicon","params":{"accountId":"15874","siteId":"107816","zoneId":"513532"}}]});
pbjs.que = pbjs.que || [];

pbjs.que.push(function() {
  pbjs.addAdUnits(adUnits);
  pbjs.requestBids({
    bidsBackHandler: sendAdserverRequest
  });
});

function sendAdserverRequest() {
  if (pbjs.adserverRequestSent) return;
  pbjs.adserverRequestSent = true;

  });
}

setTimeout(function() {
  sendAdserverRequest();
}, PREBID_TIMEOUT);

})(
return {refresh: function() {
});
});
{{:: 'cloud_flare_always_on_short_message' | i18n }}
Check @genius for updates. We'll have things fixed soon.

GENIUS
Rap
Pop
Rock
R&B;
Country
France
Deutschland
Polska
Lit
News
Screen
Sports
    {"@context":"http://schema.org","@type":"MusicRecording","byArtist":{"@context":"http://schema.org","@type":"MusicGroup","name":"Cachorro Grande","url":"http://genius.com/artists/Cachorro-grande","description":"Get all the lyrics to songs by Cachorro Grande and join the Genius community of music scholars to learn the meaning behind the lyrics.","image":"https://images.genius.com/4f78ff6671d43f28ce787f0c0b06dfce.600x399x1.jpg"},"image":"https://images.genius.com/d1c0677d1650e6c12d112a9a931867cf.1000x1000x1.jpg","inAlbum":[{"@context":"http://schema.org","@type":"MusicAlbum","byArtist":{"@context":"http://schema.org","@type":"MusicGroup","name":"Cachorro Grande","url":"http://genius.com/artists/Cachorro-grande","description":"Get all the lyrics to songs by Cachorro Grande and join the Genius community of music scholars to learn the meaning behind the lyrics.","image":"https://images.genius.com/4f78ff6671d43f28ce787f0c0b06dfce.600x399x1.jpg"},"image":"https://images.genius.com/d1c0677d1650e6c12d112a9a931867cf.1000x1000x1.jpg","name":"Electromod","url":"http://genius.com/albums/Cachorro-grande/Electromod","datePublished":"2016-08-03","numTracks":10}],"name":"Electromod","url":"http://genius.com/Cachorro-grande-electromod-lyrics","datePublished":"2016-07-29"}

Electromod
Cachorro Grande
Produced By
Edu K.
Album
Electromod
Electromod"

I think this is fixed.


CSS transitions don't work

Adding CSS transitions doesn't work, I'm using CSS from your example: http://dinbror.dk/blog/blazy/#Transitions
Seems like adding a CSS class with javascript prior to document.ready makes the browser immediately apply the finishing styles, skipping any transition (In Firefox at least). The two workarounds would be:
1 - Fire only on document.ready
2 - Apply a timeout to applying the "b-loaded" class:
setTimeout(function() {
                        ele.className = ele.className + ' ' + options.successClass;
                    }, 100);

Here's a simple test page that demonstrates this:

foo

The document.ready is deterministic. It can be replaced with a timeout, which makes the animations sometimes work, and sometimes get skipped. Trying to apply the new class immediately always results in the animation being skipped.

I'm having a similar issue. I've tried various different ways of implementing the css, and even tried having jQuerydo it in the success callback through either css, fadeIn(), or show(), and none of them will show any transitions, it just pops in.

Not an issue anymore


Slow Training Speed compared to Yolov5

Prerequisite

[X] I have searched Issues and Discussions but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version (master) or latest version (3.x).

Task
I'm using the official example scripts/configs for the officially supported tasks/models/datasets.
Branch
master branch https://github.com/open-mmlab/mmdetection
Environment
/opt/conda/lib/python3.8/site-packages/mmcv/init.py:20: UserWarning: On January 1, 2023, MMCV will release v2.0.0, in which it will remove components related to the training process and add a data transformation module. In addition, it will rename the package names mmcv to mmcv-lite and mmcv-full to mmcv. See https://github.com/open-mmlab/mmcv/blob/master/docs/en/compatibility.md for more details.
warnings.warn(
fatal: detected dubious ownership in repository at '/home/jovyan/train-volume-big/mmdetection'
To add an exception for this directory, call:
    git config --global --add safe.directory /home/jovyan/train-volume-big/mmdetection

sys.platform: linux
Python: 3.8.13 | packaged by conda-forge | (default, Mar 25 2022, 06:04:18) [GCC 10.3.0]
CUDA available: True
GPU 0: Tesla V100-SXM2-16GB
CUDA_HOME: None
GCC: gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
PyTorch: 1.8.1+cu111
PyTorch compiling details: PyTorch built with:

GCC 7.3
C++ Version: 201402
Intel(R) Math Kernel Library Version 2020.0.0 Product Build 20191122 for Intel(R) 64 architecture applications
Intel(R) MKL-DNN v1.7.0 (Git Hash 7aed236906b1f7a05c0917e5257a1af05e9ff683)
OpenMP 201511 (a.k.a. OpenMP 4.5)
NNPACK is enabled
CPU capability usage: AVX2
CUDA Runtime 11.1
NVCC architecture flags: -gencode;arch=compute_37,code=sm_37;-gencode;arch=compute_50,code=sm_50;-gencode;arch=compute_60,code=sm_60;-gencode;arch=compute_70,code=sm_70;-gencode;arch=compute_75,code=sm_75;-gencode;arch=compute_80,code=sm_80;-gencode;arch=compute_86,code=sm_86
CuDNN 8.0.5
Magma 2.5.2
Build settings: BLAS_INFO=mkl, BUILD_TYPE=Release, CUDA_VERSION=11.1, CUDNN_VERSION=8.0.5, CXX_COMPILER=/opt/rh/devtoolset-7/root/usr/bin/c++, CXX_FLAGS= -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -fopenmp -DNDEBUG -DUSE_KINETO -DUSE_FBGEMM -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DUSE_XNNPACK -O2 -fPIC -Wno-narrowing -Wall -Wextra -Werror=return-type -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-unused-local-typedefs -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Wno-stringop-overflow, LAPACK_INFO=mkl, PERF_WITH_AVX=1, PERF_WITH_AVX2=1, PERF_WITH_AVX512=1, TORCH_VERSION=1.8.1, USE_CUDA=ON, USE_CUDNN=ON, USE_EXCEPTION_PTR=1, USE_GFLAGS=OFF, USE_GLOG=OFF, USE_MKL=ON, USE_MKLDNN=ON, USE_MPI=OFF, USE_NCCL=ON, USE_NNPACK=ON, USE_OPENMP=ON,

TorchVision: 0.9.1+cu111
OpenCV: 4.6.0
MMCV: 1.7.0
MMCV Compiler: GCC 7.3
MMCV CUDA Compiler: 11.1
MMDetection: 2.25.3
Reproduces the problem - code sample
Train the YOLOX-s model.
Compare the time per epoch to that of YOLOv5s model.
MMdetection YOLOX-s: 20min/epoch on V100
YOLOv5-s: 7:30min/epoch on V100
I know that those are not the exact same models, but they are kind of similar in sizes.
Why is the training speed so different?
Reproduces the problem - command or script
Run YOLOX training and YOLOv5 training on same dataset
Reproduces the problem - error message

Additional information
Training speed should be somewhat similar

@sebos123 YOLOv5 has many optimizations in loss calculation, while YOLOX does not. We will reconstruct the YOLOX loss calculation process in the future in MMYOLO https://github.com/open-mmlab/mmyolo

Thank you for the info!


why loggregator's loglevel default value is info?

can i change it  in config file,such as error or warn?

@kinghw is this still an issue for you?
If not, or if we don't hear back by Friday, April 10, we'll close this issue.
Thanks!


Fix gdscript language server auto completion compatibility with external text editors.

The gdscript language server changes the content of insertText during resolve.
But, by the lsp specs, that should not happen, as pointed out https://github.com/godotengine/godot-vscode-plugin/issues/142#issuecomment-699625127 (his emphasis):

The request can only delay the computation of the detail and documentation properties. Other properties like sortText, filterText, insertText, textEdit and additionalTextEdits must be provided in the textDocument/completion response and must not be changed during resolve.

Because of this, bugs in external text editors regarding auto completion happen.
By removing the changes to insertText in the language server, this commit ensures better compatibility with external editors.
This commit removes the parenthesis addition to functions in auto complete. This feature should exist in the text editor and not in the language server.
Bugsquad edit:

Fixes #48436
Fixes godotengine/godot-vscode-plugin#184
Fixes godotengine/godot-vscode-plugin#142
Fixes godotengine/godot-vscode-plugin#323

Does this happen to fix https://github.com/godotengine/godot/issues/48116, or is that a different issue?

Does this happen to fix #48116, or is that a different issue?

I'm not sure, but I think that is a different issue.

CC @Razoric480

I disagree with the statement that this feature should be moved into the language client.
Adding parentheses to function calls is something that should definitely be the responsibility of the language server.
That is the whole point of a language server. The server should be the only implementation for autocompletion (towards which I'd count adding function parentheses since that is also the default behavior in the internal Godot editor).
A language client should only be responsible for inserting the text which it receives from the language server into its respective editor. If we say that this feature shouldn't be part of the language server then each client would be required to implement the logic independently which is exactly the problem the LSP was supposed to solve in the first place.
Also @igordreher said that "The gdscript language server changes the content of insertText during resolve." That's not really true. Or at least that's not the cause of the bugs. The insertText field is initialized in resolve. We could just as well move that block into the completion method which would make us compliant to the LSP specs. However that would not fix the bugs.
The problem is not that we're "changing the content of insertText". The problem is that the autocompletion in the language server is not behaving as expected. It's true that deleting these lines would fix the mentioned bugs. But I think in the long run they should instead be replaced by a better implementation.

I believe I found a better solution. See #59482
Note that neither this nor my own pull request would fix #48436 and godotengine/godot-vscode-plugin#142
Fixing the unwanted quotes is a more complex issue.

If we say that this feature shouldn't be part of the language server then each client would be required to implement the logic independently which is exactly the problem the LSP was supposed to solve in the first place.

Good point.
As @kurtlachmann pointed out https://github.com/godotengine/godot/pull/49391#issuecomment-1075556243,
this PR would only be a work around and not the correct approach.
And so, I'm closing this PR in favor of https://github.com/godotengine/godot/pull/59482


WIP: Upgrade to D8 compiler

Docs & Res:

https://android-developers.googleblog.com/2017/08/next-generation-dex-compiler-now-in.html
https://r8.googlesource.com/r8/+/master/
https://developer.android.com/studio/write/java8-support
https://proandroiddev.com/the-d8-dexer-6736deb55fb8
https://developer.android.com/studio/command-line/d8
https://jakewharton.com/androids-java-8-support/

[java] Error: Cannot fit requested classes in a single dex file. Try supplying a main-dex list.
[java] # methods: 88939 > 65536
[java] Compilation failed
[java] Nov 21, 2018 3:04:48 PM com.google.appinventor.buildserver.Compiler runD8
[java] WARNING: YAIL compiler - D8 execution failed.

@ewpatton Can you please help me in building a main-dex list?

@pavi2410 @ewpatton I'm opposed to this change for now. I experimented with using d8 while working on the WebRTC code. It wasn't much of an improvement, and I suspect it generates code that will not run on older devices. The real work to upgrade to d8 isn't putting the jars in the source tree and getting things to compile, it is the extensive testing that needs to be done. This will take significant resources which we currently do not have to spare.

Can one of the admins verify this patch?

@jisqyv Can you please reconsider this PR? I hope the following links may help you see the improvements which D8 brings to the table over dx
https://jakewharton.com/androids-java-8-support/
https://jakewharton.com/androids-java-9-10-11-and-12-support/
https://jakewharton.com/avoiding-vendor-and-version-specific-vm-bugs/
https://jakewharton.com/d8-optimizations/

@pavi2410 Does the code produced by the d8 compiler run on Android 2.2 (Froyo)?

Indeed, it supports all of the API levels starting from 1 (the default min API level)
Source: https://r8.googlesource.com/r8/+/refs/heads/master/src/main/java/com/android/tools/r8/utils/AndroidApiLevel.java

Can this PR be reopened? I am starting to work on this again as I am gaining some success by having generated main-dex-list. Also, I want to keep the discussions in place.


Skip first party jwt on k8s 1.21+

For https://github.com/istio/istio/issues/31964

In response to a cherrypick label: new pull request created: #32066


iter: adding new iterators

This PR adds 4 new iterators useful for generating ranges of numbers.
Functions are documented and tested.

I'l merge this once v fmt is executed 👌🏻


Only reset pointer if it is freed.

Signed-off-by: Andrea Odetti<EMAIL_ADDRESS>Not 100% sure it is a bug, but very suspicious.
If it is not a bug, indentation should be fixed instead.

While it probably causes no error — it sets a pointer to zero that's already zero, I think? — it's certainly not intentional and I agree completely that the brackets were intended!
Before I merge, though: does this take our libpng from a pristine = upstream state and move it into a state where now it no longer matches upstream? I don't know the history of that part of this codebase. If we're now forking libpng and maintaining our own patched version, we might need to squirrel away a .patch file with this change that we re-apply when we upgrade libpng in the future, if libpng hasn't adopted this fix already. Do we know where this libpng came from?

I am not too sure what the advantage would be.
This is what that function looks like now
https://github.com/glennrp/libpng/blob/a37d4836519517bdce6cb9d956092321eca3e73b/pngwutil.c#L637
It is very different.
In linux at least, you could probably just apt install libpng-dev and be done with it.

It is very different.

Wow, yep, it looks like the library has moved very far along from where it was when XEphem copied it! Thanks for doing that footwork and finding the modern code: I agree that the difference means we can merge this change without worry of needing to forward-port the change if we upgrade the library in the future.


Stack error occurred during training

Hello, may I ask why there is a
RuntimeError: stack expectations each tense to be equal size, but got [256, 540] at entry 0 and [256, 868] at entry 1
during my training. I tried and found an error in for batch_idx, (data, target) in enumerate (self. train_loader):, and the type and length of self. train_loader are<class' torch. utils. data. dataloader DataLoader and 500. May I ask how to solve the problem of image size stitching.

Hi thank you for your interest, the error was raised because the number of descriptors per image differs. So you can not run the training with batch size > 1. You can change the batch size to 1. It shouldn't occur this error anymore. Otherwise, you have to create the dataset in which all images have the same number of keypoints descriptors=2048 (change this when you run Hloc and config the superpoint to force 2048 keypoints)

Hello, thank you very much for your reply. I changed the batch size to 1 and found that it can indeed be trained. I also understand what you mean. But there is one more question. According to your instructions, I changed the superpoint configuration in Hloc from 4096 to 2048 keypoints during data preprocessing, but still encountered the problem mentioned earlier. I would like to know the reason. Another issue is that when I tried to evaluate and test using your pre-trained model, I obtained a result where the proportion under all thresholds was 0. I looked at the code but couldn't figure out where the problem was. I would like to know if you have any suggestions.

I think you forgot to set an additional superpoint config. You must set 'keypoint_threshold': 0.0 instead of 'keypoint_threshold': 0.005 by the default of superpoint, then the error should not be occurred


How to close Calendar when using Tab key

Hi , I Use Several Date Picker and I use tab key to go to the next ones. When I use Tab I need my previous calendar to close, but it stays open.
I would appreciate it if you can help me.
thanks

Hi
Thank you. Yes something like that,
but I have multiple Date picker one after another.
should I do this for every one of them?
is there any simpler solution?

Hi
You need to close the previous calendar when the input is blurred.


136 DHCD DFD Pipeline

Submitting this PR now to get it in; addresses issue #136....
--meg

Great! Thanks @dogtoothdigital ! Is this ready for a review? I can do a quick version tomorrow, but heads up that unless @jkwening gets to it before me it'll be Sun/Mon before I can do a thorough review and test.

Sure...  (In the meantime I was going to work on resolving the Nlihc_id and detecting duplicate records and the like for DHCD/DFD project entries, which I can roll into a future PR.)
--meg

@dogtoothdigital I did a quick run of the code and successfully created the 4 csv files. I did a quick skim of the code and approach looked good, but I have not yet dug in deeply on the get_data method that comprises the bulk of the code. It might help to get a quick summary from you to know what is best to QA, as that section is rather dense.
Next up we'll need to figure out how to match these data up to our project and subsidy tables; I sent an email to DHCD (bcc'ed you) to clarify a couple things about their project table. If you're there tonight it would be good to have a discussion w/ you, me and @jkwening about this data and next steps.


Fixes #2147 - Remove unnecessary assertions

Deleted assertions are covered by PortIndicesValidator
I added new test case in V2AppdefinitionTest that was broken
before, because of those assertions.

Hey @janisz thanks for that!


Add testing jobs for rust

Key Features of This Workflow:

Workspace Support:

The --workspace flag ensures that commands like cargo build, cargo test, and cargo tarpaulin operate on all crates in the Rust workspace.

Matrix Builds:

Tests are executed on both stable and nightly versions of Rust to ensure compatibility.

Code Coverage Without External Services:

The workflow uses cargo-tarpaulin to generate a local HTML coverage report stored as an artifact (./coverage-report/).
You can download this artifact from GitHub Actions after the workflow completes.

Linting and Formatting:

Ensures code quality by running cargo fmt and cargo clippy.

Caching:

Speeds up builds by caching dependencies (~/.cargo/registry, ~/.cargo/git) and build artifacts (target).

Artifacts:

The generated HTML coverage report is uploaded as an artifact so it can be reviewed or downloaded directly from GitHub Actions.

@grebnetiew, I added some common Rust jobs including building, linters and unit testing (+coverage report artifact)


Setting weights in combined columns not working intuitively

Workflow:
Combine Age and Height columns, then change the weight of age to 60% and confirm (leave height at 50%).
Resulting weights are 54.5% and 45.5%.
I know this is the result of proportional scaling of the 60+50%  to a total of 100%, but everyone who tried it when playing with the tool was confused by this and expected that only the "other" weight would be adjusted - i.e. if you set 60% to age, then height would automatically change to 40%.

what should happen if there are more than 2 columns?

The remaining ones should be adjusted proportionally, that's what I would expect at least.

current dev version:


zsh command not found

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/install
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
I get command not found when i try to execute mlnet from the command line.
I use zsh. I see the instruction about needing to give executable permission, but I'm not sure how to do that.
If I go into bash it looks like it's running from a location somehow, but if I do which to try to add that to my path in zsh profile I get nothing.

did you add dotnet-tool path to the Path environment?
export PATH="$PATH:~/.dotnet/tools"

Going to close this issue since no one responses for over 7 days, feel free to re-open it though


Support of Artifact/Achievement Scanner

All existing Genshin Impact scanners only work on Windows. Is there any workaround to make any one of them work with yaagl?
https://frzyc.github.io/genshin-optimizer/#/scanner

https://github.com/wormtql/yas
try it


anyone apply moco to new dataset(not imagenet ) to get a better result

I got worse results

I'd like to ask if there are anyone who apply contrastive learning methods to face recognition successfully?

my experience is that a lots of paper about contrastive learning use resnet as backbone,  maybe get a better reuslt, but it's a old network, a efficientnet may be better than contrastive learning, or the same result


Use PyPy for pure python code

On the current Readme it states:
"But there are also a number of libraries in CPython that are C extension modules that need to be rewritten. This includes re, itertools and others."
I think that at least itertools is implemented in app level python on PyPy, why not just use them instead of rewriting modules?

It's MIT licensed, so that shouldn't be a concern. Seems like it would save a lot of work.

Definitely support this but from my brief look at PyPy stdlibs it seemed like there was a fair bit of weirdness going on with some of the PyPy code, e.g. https://bitbucket.org/pypy/pypy/src/61294de6f130/pypy/module/itertools/?at=default
I have no problem begging, borrowing and stealing what we have to to get the stdlib functional.

Yeah, that is strange. Definitely optimized for PyPy. That module in particular depends on PyPy's jit package.

Another option is https://github.com/pybee/ouroboros

Interesting I did not know about that project! I'm a little unclear about the origin of the libraries. Seems like some of it's from PyPy.
I'm concerned about the licensing. It looks like a non-standard license in addition to PSF: https://github.com/pybee/ouroboros/blob/master/LICENSE
Does anybody know if that project includes novel code or is it all from other places?

666

@trotterdylan It looks like most of it is from PyPy/Python, so you can just grab the standard licensed files.

@trotterdylan You should ask @freakboy3742. He's the mastermind behind BeeWare (pybee)

You can certainly use PyPy code as a starting point - but "Just Use PyPy" isn't a complete solution, because there will always be system native components. For example, you can't implement a socket library without being able to access sockets.
I've got similar needs to Grumpy on my projects pybee/batavia and pybee/voc, which is why I started pybee/ouroboros. Most of the code that is already there has originated from either PyPy or CPython.
I'd be delighted to collaborate on Ouroboros with anyone from the Grumpy team (and any other Python implementations, including PyPy) who shares the need of having a Python standard library that isn't derived from CPython.

Thanks for sharing, Russel. A collaboration sounds really interesting. A common pure-Python subset of the standard library that could be shared by all the different interpreters would make implementing Python runtimes a lot less of a chore. It reminds me a bit of the old STLPort project that was so useful when every C++ compiler had its own STL quirks and limitations.
Things get really interesting when you start to think about how to pare down the native integrations to get platform-specific features working. Like, if a runtime implements and exposes a POSIX interface to Python then most stuff should "just work".
Another area for investigation is how to enable optimization. ISTM that the design of many of the CPython libraries was dictated by what needed to be written in C. The re library is the obvious example here. If there was a more generic and flexible way to specify what ends up being implemented natively, then maybe it'd be easier for many runtimes to share the same standard library.
Anyway, happy to chat about this more. It'd be really cool if Grumpy could just use Ouroboros more or less as-is. Ideally the Grumpy repo would not include the stdlib or it would include Ouroboros wholesale rather than piecemeal from CPython and PyPy.


Document  in a

Let it be known.
Side note: A number of links in the API section of the website are non-functional right now. There are duplicate ids for props that have the same name/type in multiple components.

Thanks, @pshrmn :)
Just FYI, @ryanflorence has a master plan for working on the website. My goal with the recent reorganizing work was to just get all of the links working on GitHub so people can browse the docs on GitHub and we can link to them.


gNMIc doesn't display subscription data paths

Hi, we are testing a simple gNMI Server to stream arbitrary data.
However, gNMIc doesn't display the data paths when subscribing to it. A local client would. See the outputs below.
Before I dig deeper, I wanted to make sure I'm not missing anything obvious. Thanks.

I think your server uses the deprecated path element field.

Beautiful, that did the trick.
$ gnmic -a [::]:9339 --skip-verify --target dev1 subscribe --path "a" --format prototext
sync_response: true

update: {
  timestamp: -6795364578871345150
  prefix: {
    target: "dev1"
  }
  update: {
    path: {
      element: "a"
      element: "b"
      element: "d"
      element: "e"
    }
    val: {
      int_val: 166
    }
  }
}

Thank you, we'll update the server side. Keep it up!


v2.0.0 Progress: Server-Side Integration

When the mod is loaded on the server, it should allow players with level 2 OP or above to do:

[x] Item Editing

[x] Inventory in survival
[x] Containers in world
[x] Enderchest

[x] Block Editing

[x] NBT
[x] Container
[x] Block states
[x] Name
[x] Lecturn book
[x] Signs
[x] Unbind skulls

[x] Entity Editing

[x] NBT
[x] Container
[x] Name
[x] Attributes

[x] Importing & Exporting

[x] Block -> /setblock, /get block, file
[x] Entity -> /summon, /get entity, file
[x] Block -> Block Item
[x] Entity -> Spawn Egg

I've now added this in v2.0.0!


Add Spec version in the beginning of generated .proto

https://github.com/open-traffic-generator/openapiart/pull/27


AMO feed is blank

Hello, I've tried to add this feed (which has always worked in Firefox):
https://addons.mozilla.org/it/firefox/extensions/format:rss?sort=updated
It is added to the Bookmarks Bar but it is always empty.
Tried in Nightly
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:64.0) Gecko/20100101 Firefox/64.0
Thanks for your attention and for maintaining this addon (I've been using Live Bookmarks since Firefox version 1.0)

Livemarks like other WebExtensions can not access addons.mozilla.org in any way. You need to use some kind of proxy. For example http://feeds.feedburner.com/mozilla/ZUrm should work instead of your feed URL.

Reported upstream. https://github.com/mozilla/addons/issues/816


Change numDays in README to startDate

Since numDays is deprecated, I change numDays in README to startDate.

good catch, thanks @kaacun!


Issue #41 - Remove keys

Resolves issue #41.
Main changes to look at:
-backend/src/modules/key/key.service.ts
-frontend/src/app/admin/screener/screener-toolbar/screener-toolbar.component.ts
Once I got it working without keys, I removed the key object from the frontend in many places, so a lot of the changes are due to that.
Notes:

Since you cannot remove mappings in elasticsearch (see here), I chose to back up the queries, delete the index, and upload the queries and the new mappings every time save screener is clicked.
If a question belongs to a query and then that question is removed from the screener, I made it so that the conditions with that question are removed from the queries. If there are no conditions left in a query, then that query is deleted. This all happens when re-indexing.
Queries in elasticsearch now contain a questionTexts object under meta to map the question ID to question text
I replaced the key object

export interface Key {
  name: string;
  type: 'boolean' | 'integer' | 'number' | 'invalid' | '';
}

with
export interface QuestionKey {
    text: string;
    id: string;
    type: 'boolean' | 'integer' | 'number' | 'invalid' | '';
}

I was going to call this new data type Question, but there is already a type called Question and I didn't want to confuse the two. I went with QuestionKey to also distnguish it from a key. I wasn't sure of a good name for the object. This object type is used on both the frontend and the backend.

Question texts appear for conditions instead of the key name
For the most part, key.name has been replaced with questionKey.id. In some cases it has been replaced with questionKey.text, such as when displaying the question texts.
Multiselect options now have an ID associated with them.
Keys section has been removed.
Key filter has been removed.
There is no longer a drop down menu to select a key for questions and for multiselect options.
Question_2 interface has been removed.
The Key attribute of the Question interface has been removed.
The NumberSelect type of question (select one from the following) has been disabled. I could update it so that it handles this, but for now I left it disabled.
I haven't changed the name of KeyService or KeyModule in the backend.
Many tests need to be updated.
I pulled from release/10 to get Steven's work with mine and resolved the merge conflicts.
To test it out, you must use Init and then create programs, questions, queries. Uploading an old backup will not work because the key names need to be replaced with question ID's, along with some other stuff. I can convert our current backup to this new format later.

Any feedback would be great.

I intend to review this before the weekend.

Hi Steven,
Thanks for reviewing my pull request. I'll remove some of those comments and that data service. I also pushed a few more changes:

Replaced the key module with a question module that has two functions: updateQuestions() and getQuestions()
Moved the following functions from the old key service to EsQuery.service.ts: backup queries, update queries, delete query index, create query index, put mappings, upload queries
Renamed the object QuestionKey to Question and the object for the screener questions from Question to ScreenerQuestion
Combined the backend update questions function and the update screener function so that both are called at protected/screener/ and only one request is sent when the save screener button is clicked
Added a snackbar for the save screener response

As for the error that you ran into, I think the error only comes up when the current database is uploaded. I will have to transform the current database to this new format.

Woohoo community!! 🎉
@CodyGramlich Once you've got most of our comments addressed, please make sure the seed script works with our integration tests, and make sure you have a transformed backup.json that we can play around with in the test environment, just to prove we can rebuild ES entirely from within YCB.
Great job!

I shared the transformed backup on slack.
We will need to do some adjusting of the query display to accommodate for question texts. We also could remove the Type column as the type can be implied from the question text or value.

i'm working on dry-run queries (#11) so I'll see if I can address the query display.


soc: esp32c2: esp8684: Console baudrate from device tree

Get console baudrate property from device tree to allow proper configuration for 26 and 40 Mhz devices.

LGTM


Can't start because of Env Var Issues.

Describe the bug
A clear and concise description of what the bug is.
next-forge version
I am using version 2.16.12.
To Reproduce
Steps to reproduce the behavior:

Do the setup
Insert DATABASE_URL= "{neon_key}"
Run pnpm dev, face error:

app:dev:
app:dev: > app@ dev /Users/andrewsiah/Documents/socialchat/apps/app
app:dev: > next dev -p 3000 --turbopack
app:dev:
app:dev: ❌ Invalid environment variables: {
app:dev:   CLERK_SECRET_KEY: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "sk_"'
app:dev:   ],
app:dev:   CLERK_WEBHOOK_SECRET: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "whsec_"'
app:dev:   ],
app:dev:   RESEND_AUDIENCE_ID: [ 'String must contain at least 1 character(s)' ],
app:dev:   RESEND_FROM: [ 'String must contain at least 1 character(s)', 'Invalid email' ],
app:dev:   RESEND_TOKEN: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "re_"'
app:dev:   ],
app:dev:   STRIPE_SECRET_KEY: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "sk_"'
app:dev:   ],
app:dev:   STRIPE_WEBHOOK_SECRET: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "whsec_"'
app:dev:   ],
app:dev:   BETTERSTACK_URL: [ 'String must contain at least 1 character(s)', 'Invalid url' ],
app:dev:   SVIX_TOKEN: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "sk_"'
app:dev:   ],
app:dev:   LIVEBLOCKS_SECRET: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "sk_"'
app:dev:   ],
app:dev:   FLAGS_SECRET: [ 'String must contain at least 1 character(s)' ],
app:dev:   NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "pk_"'
app:dev:   ],
app:dev:   NEXT_PUBLIC_GA_MEASUREMENT_ID: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "G-"'
app:dev:   ],
app:dev:   NEXT_PUBLIC_POSTHOG_KEY: [
app:dev:     'String must contain at least 1 character(s)',
app:dev:     'Invalid input: must start with "phc_"'
app:dev:   ],
app:dev:   NEXT_PUBLIC_POSTHOG_HOST: [ 'String must contain at least 1 character(s)', 'Invalid url' ]
app:dev: }
app:dev: /Users/andrewsiah/Documents/socialchat/node_modules/.pnpm/@t3-oss+env-core@0.11.1_typescript@5.6.3_zod@3.23.8/node_modules/@t3-oss/env-core/dist/index.js:109
app:dev:         throw new Error("Invalid environment variables");
app:dev:

Expected behavior
A clear and concise description of what you expected to happen.
Was expecting to get a webpage started. Are all these services required before starting? Is there a way to bypass them initially if I just want to test \app?
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. MacOS]
Browser [e.g. chrome v130, safari]
MacOS

Hey @andrewsiah, this isn’t a bug or issue - it’s a requirement.
We’re discussing making env vars optional here: https://github.com/haydenbleasel/next-forge/issues/251
We welcome your ideas and feedback!

Ah got it, thanks for letting me know!
Is there a temporary solution if I want to get started quick?
e.g.
# Server
CLERK_SECRET_KEY=""
CLERK_WEBHOOK_SECRET=""
RESEND_AUDIENCE_ID=""
RESEND_FROM=""
DATABASE_URL=""
RESEND_TOKEN=""
STRIPE_SECRET_KEY=""
STRIPE_WEBHOOK_SECRET=""
BETTERSTACK_API_KEY=""
BETTERSTACK_URL=""
FLAGS_SECRET=""
ARCJET_KEY=""
LIVEBLOCKS_SECRET=""

# Client
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=""
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/"
NEXT_PUBLIC_GA_MEASUREMENT_ID=""
NEXT_PUBLIC_POSTHOG_KEY=""
NEXT_PUBLIC_POSTHOG_HOST=""
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NEXT_PUBLIC_WEB_URL="http://localhost:3001"
NEXT_PUBLIC_DOCS_URL="http://localhost:3004"
NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL="http://localhost:3001"

which of these besides DATABASE_URL and CLERK can I skip?
Can you share a quick instruction on how to skip them? Do I comment them out on turbo.json alone?
Thanks for the help, sorry if the questions are naive, I'm trying to use this to build and deploy something to share!

Sure thing, try this one! Although you will need a real Clerk Secret Key I think:
# Server
CLERK_SECRET_KEY="sk_test_JA=="
CLERK_WEBHOOK_SECRET="whsec_test"
RESEND_AUDIENCE_ID="test"
<EMAIL_ADDRESS>DATABASE_URL="postgresql://owner:password@test.us-east-1.aws.neon.tech/neondb?sslmode=require"
RESEND_TOKEN="re_test"
STRIPE_SECRET_KEY="sk_test"
STRIPE_WEBHOOK_SECRET="whsec_test"
BETTERSTACK_API_KEY="test"
BETTERSTACK_URL="https://test.com"
FLAGS_SECRET="test"
ARCJET_KEY="ajkey_test"
SVIX_TOKEN="testsk_test.eu"
LIVEBLOCKS_SECRET="sk_dev_test"

# Client
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY="pk_test_JA=="
NEXT_PUBLIC_CLERK_SIGN_IN_URL="/sign-in"
NEXT_PUBLIC_CLERK_SIGN_UP_URL="/sign-up"
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL="/"
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL="/"
NEXT_PUBLIC_GA_MEASUREMENT_ID="G-test"
NEXT_PUBLIC_POSTHOG_KEY="phc_test"
NEXT_PUBLIC_POSTHOG_HOST="https://test.com"
NEXT_PUBLIC_APP_URL="http://localhost:3000"
NEXT_PUBLIC_WEB_URL="http://localhost:3001"
NEXT_PUBLIC_DOCS_URL="http://localhost:3004"
NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL="http://localhost:3002"


Number of queries fetched from duckduckgo is not equal to the num value

As shown in image even if the value of num is set to 10 we are getting 30 results.
URL: http://<IP_ADDRESS>:7001/api/v1/search/duckduckgo?query=fossasia&format=json&num=10
Issue with Duckduckgo search engine only. For rest it's working fine.

This issue is not that tough, but I would like to work on this and fix it.

Yes i know this.
When i developed this "num" parameter I was not able to make it for duckduckgo because they have infinite scroll search.
Therefore the num feature does not work for duckduckgo.  If you would like to make it possible please go ahead.
:+1:


Can Add this in Phones and Manufacturers

CodeIgniter/application/config/user_agents.php
'huawei'		=> 'Huawei',
'xiaomi'		=> 'Xiaomi',
I think now 'sony' is just 'Sony'
I hope I can help in something. Thank you.

You can submit a pull request ...


0xmovses/aptos event monitoring

Summary
Implements Stream for MovementCounterpartyMonitoring. We cannot subscribe to a ws on aptos-core because this functionality is not provided out-of-the-box, additionally the indexer only streams transactions no events. So we must query the rest end point directly.
MovementCounterpartyMonitoring must be Stream in order for the BridgeService to correctly operate, this is exemplified in the shared/tests code, it is also a trait bound.
Changelog

Implements Stream for MovementCounterpartyMonitoring
Uses `try_stream!
Updates move module to correctly capture all the events in a struct and query by field. (I borrowed this pattern from the aptos governance module)

Testing
More top-level code needs to be added before I can integrate test this. In an attempt to keep the PR small. Will add that in a separate PR.

closing as all these changes are in #399


Column Dropdown Filter exact match

I am not sure if this is where I should post this or not, but I do not see anywhere else to post..
Is there any chance you would be willing to add a parameter to the filterText functionality so we can do an exact match of the filter value and target value instead of just checking to see if the filter value is in the target value? In my scenario, I have 3 different filter options of Undelivered, Delivered and Acknowledged. When I do a filter to only see the Delivered options, I am still getting all of the Undelivered results.
When looking through the code, you are taking the targetVal and checking to see if there is an indexOf the filterVal and then returning a result based on that. Maybe having the option to do a direct comparison of the two values and only returning the results that match exactly? This is the code in question -
key: 'filterText',
    value: function filterText(targetVal, filterVal) {
        targetVal = targetVal.toString().toLowerCase();
        filterVal = filterVal.toString().toLowerCase();
        if (targetVal.indexOf(filterVal) === -1) {
            return false;
        }
        return true;
    }

Since there is the option to just do a search of Delivered and get both results, I think having the option of having a direct comparison for the filter dropdown would be beneficial when two of your values are similar like it is in my case.
Or if there is a better way of handling this, I would be open to it.
Thanks.

@mkasek, there's always have any conditions in any filter, just like your case, so in my opinion, a custom filter will be a better solution :)
check https://github.com/AllenFang/react-bootstrap-table/blob/master/examples/js/column-filter/custom-filter.js
Feel free to discuss with me 👍

I briefly looked at the custom filter but did not spend much time on it. I will look at more closely and see if I can get it working how I want it to.
Thanks for the reply and info.


Hero: add designs for medium breakpoint

Right now, the Hero only has two breakpoints:

Mobile (<1024px)
Desktop  (<1024px)

This leads to some not great layouts at tablet sizes (between 610px and 1024px). See example.
We should add a tablet design to handle this situation.

All tablet sizing where added to the templates. Check the file here

Thanks @beatrizmartinmartins I'll review this with @justintemps and will let you know if we have any questions.

Looks like this should be assigned back to @beatrizmartinmartins


Error doing job: Exception in callback WebSocketClient._on_close(>)

It was working fully for a day, and since today I keep getting a notification to reconfigure it.
It asks for the capcha, it tries to inisializate and it goes back to reconfigure.
This error originated from a custom integration.
Logger: homeassistant
Source: custom_components/eufy_security/eufy_security_api/web_socket_client.py:63
Integration: Eufy Security (documentation, issues)
First occurred: 23:46:20 (1 occurrences)
Last logged: 23:46:20
Error doing job: Exception in callback WebSocketClient._on_close(>)
Traceback (most recent call last):
File "/usr/local/lib/python3.11/asyncio/events.py", line 80, in _run
self._context.run(self._callback, *self._args)
File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 81, in _on_close
self.close_callback(future)
File "/config/custom_components/eufy_security/eufy_security_api/api_client.py", line 308, in _on_close
_LOGGER.debug(f"on_close - executed - {future} = {future.exception()}")
^^^^^^^^^^^^^^^^^^
File "/config/custom_components/eufy_security/eufy_security_api/web_socket_client.py", line 63, in _process_messages
async for msg in self.socket:
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_ws.py", line 297, in anext
msg = await self.receive()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client_ws.py", line 229, in receive
msg = await self._reader.read()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 657, in read
return await super().read()
^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/streams.py", line 616, in read
await self._waiter
asyncio.exceptions.CancelledError
and
Logger: homeassistant.config_entries
Source: config_entries.py:426
First occurred: 23:46:41 (1 occurrences)
Last logged: 23:46:41
Config entry '<IP_ADDRESS>' for eufy_security integration could not authenticate: Captcha code is required, please revalidate on Integrations page

follow the bug template and fill out all required fields


Add test information in cli_version_test.go

Ⅰ. Describe what this PR did
Add test information in cli_version_test.go.
Ⅱ. Does this pull request fix one issue?

NONE
Ⅲ. Why don't you add test cases (unit test/integration test)? (你真的觉得不需要加测试吗？)
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

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

LGTM


.NET 6 Migration Including Blazor

In the migration to .NET 6 documentation it states:

To adopt all of the new 6.0 features for Blazor apps, we recommend the following process:
Create a new 6.0 Blazor project from one of the Blazor project templates. For more information, see Tooling for ASP.NET Core Blazor.
Move the app's components and code to the 6.0 app making modifications to adopt the new 6.0 features.

This documentation seems to fail to address applications that include Blazor within it. In my case, I have a very large MVC application that also includes Razor pages for Identity (started out in .NET Core 2.2 and migrated to 3.1) which I have added Blazor to in .NET Core 3.1.
With .NET Core 3.1 reaching end of life, does this mean that when an application is updated to .NET 6 it won't be able to take advantage of any new updates to Blazor?
Link to documentation here.

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

ID: 5bec61f9-7298-170d-5e12-abb27cde584e
Version Independent ID: 27a43e3f-149d-9058-f937-0eda1d6dd4f2
Content: Migrate from ASP.NET Core 5.0 to 6.0
Content Source: aspnetcore/migration/50-to-60.md
Product: aspnet-core
Technology: aspnetcore-migration
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @fceci90 ... Migrating to the 6.0 shared framework will brings in all of the features across these app models. You'll get all of the Blazor 6.0 release feature updates along with all of the MVC/Razor Pages 6.0 feature updates. Just make sure that you update all packages to 6.0.


Support spaces in Windows user paths

I tried using Arkade on a Windows system using git bash. My username has a space in it, so the helm directory ~/.arkade expands to C:\Users\Ross Work\.arkade. Arkade does not support this.
Expected Behaviour
Arkade should work seamlessly on Windows when the user path contains a space.
Current Behaviour
When helm is invoked, the first part of the user path before the first space (C:\Users\Ross in my case) is treated as the command to execute and the remaining parts (Work\.arkade\bin\helm3) are treated as arguments.
Possible Solution
I hacked together a solution for my purposes, but there's probably a better fix. My solution was to change uses of execute.ExecTask to populate Args instead of concatenating everything into Command, so that...
	task := execute.ExecTask{
		Command:     fmt.Sprintf("%s repo add %s %s", env.LocalBinary("helm", subdir), name, url),
		Env:         os.Environ(),
		StreamStdio: true,
	}
	res, err := task.Execute()

...became:
	task := execute.ExecTask{
		Command:     env.LocalBinary("helm", subdir),
		Args:        []string{"repo", "add", name, url},
		Env:         os.Environ(),
		StreamStdio: true,
	}
	res, err := task.Execute()

I then had to modify the external package go-execute in the function Execute() (ExecResult, error) so that...
		if strings.Index(et.Command, " ") > 0 {
			parts := strings.Split(et.Command, " ")
			command := parts[0]
			args := parts[1:]
			cmd = exec.Command(command, args...)

		} else {
			cmd = exec.Command(et.Command, et.Args...)
		}

became just:
cmd = exec.Command(et.Command, et.Args...)

Otherwise, exec.Command would still get only part of the path as it's first argument.
This golang issue indicates there may be a more general problem, but Arkade works for me with the changes listed above. FYI I'm using go 1.14.4.
Steps to Reproduce (for bugs)

Follow standard instructions to install Arkade on Windows using Git Bash.
Use Arkade in a way that tries to invoke Helm, for example: arkade install nginx-ingress.

Context
Using arkade at all on a Windows system with a space in its user path seems to be impossible. Some users may have no control over this, and in any case creating a brand new user account for this is very high-friction.
Your Environment

What Kubernetes distribution are you using?

N/A

Operating System and version (e.g. Linux, Windows, MacOS):

Windows 10 64-bit

What arkade version is this?

0.3.3

We should be using command for the full path and then the args for everything subsequent.
If you want to test and propose a fix in a PR, I'll take a look.


ujust dx-group doesn't work

Describe the bug
ujust dx-group doesn't add the current user to dev groups, even after restart.
❯ ujust --choose
sudo usermod -aG docker $USER
[sudo] password for developer:
sudo usermod -aG incus-admin $USER
sudo usermod -aG lxd $USER
sudo usermod -aG libvirt $USER
Logout to use docker, incus-admin, lxd, libvirt

After logout / restart:
❯ groups
developer wheel

What did you expect to happen?
To register the user in the development groups
Output of rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:79fe03796db8afa2817cdbc4884b139183a84ac146a309f462c04e00bd834931
                  Version: 40.20241007.0 (2024-10-08T05:44:22Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:latest
                   Digest: sha256:541d688e32fd93d81fce6cdacfa710cc37fafeb9fb4b3487c0b87d1a2d3d9b1b
                  Version: 40.20241010.0 (2024-10-11T22:19:23Z)

Output of groups
developer wheel
Extra information or context
No response

Thanks for reporting!
We have a fix ready to be merged any minute now, so should be solved (hopefully) in the next update
https://github.com/ublue-os/bluefin/pull/1767

Go it. What's the fix until then?

Also have same issue and a workaround would be very much appreciated

Pushed out this build earlier tonight, can everyone do an update and report back? I'll need to see rpm-ostree status too please, thanks!

Also have same issue and a workaround would be very much appreciated

grep "docker" /usr/lib/group | sudo tee -a /etc/group > /dev/null
grep "incus-admin" /usr/lib/group | sudo tee -a /etc/group > /dev/null
grep "lxd" /usr/lib/group | sudo tee -a /etc/group > /dev/null
grep "libvirt" /usr/lib/group | sudo tee -a /etc/group > /dev/null

Pushed out this build earlier tonight, can everyone do an update and report back? I'll need to see rpm-ostree status too please, thanks!

Give me 10 min

❯ cat /usr/lib/group
...
docker:x:954:
lxd:x:953:
incus-admin:x:952:
incus:x:951:

State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: no runs since boot
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:7c90ded30f79f6d597e6d1b39e121b3c55c081874905bef54a0ae6ed407f5c30
                  Version: 40.20241011.0 (2024-10-12T22:40:00Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/bluefin-dx-nvidia:stable
                   Digest: sha256:79fe03796db8afa2817cdbc4884b139183a84ac146a309f462c04e00bd834931
                  Version: 40.20241007.0 (2024-10-08T05:44:22Z)

Seems the groups are added now.

Legend. I completed the update, rebooted and I have access to docker with my user. Thanks


bqplot 0.12.17 Error displaying widget: model not found

I just installed jupyter lab 2.2.8 and bqplot 0.12.17 on a windows 10 machine (Python 3.8.3 in venv). The bqplot example line chart displays OK in Jupyter notebook but fails in Jupyter Lab with the message "model not found".

In the js console are numerous error messages of the form widget model not found, Could not instantiate widget, and Could not create a model.
Further down are some more interesting error messages of the form Error: Module bqplot, semver range ^0.5.17 is not registered as a widget module
I tried jupyter lab clean and jupyter lab build but no change.

Any idea what's going wrong? Feels like my js code is out of sync with the python code, but I don't know how to debug or fix.

Did you run the following commands after installing bqplot?
$ jupyter labextension install @jupyter-widgets/jupyterlab-manager # install the Jupyter widgets extension
$ jupyter labextension install bqplot

Oh, thanks. I didn't see that in the docs - did I miss something? Regardless, all good now.


Update MergeableCodecDataManager.java

Fix import statement

Turns out I'd actually fixed this a month ago in <IP_ADDRESS> and deployed it to maven but I forgot to push to github


Align with fractal-server pull requrst #897

closes #565
Ref: https://github.com/fractal-analytics-platform/fractal-server/pull/897
Checklist before merging

[ ] I added an appropriate entry to CHANGELOG.md

Probably this dataset is not needed any more:

async def post_project(
    client: AuthClient,
    *,
    name: str,
    dataset: Optional[str] = None,
    batch: bool = False,
) -> BaseInterface:

Todo:

[ ] Add test for the new argument of project add-dataset

Ready to merge, thanks @ychiucco!


more explanations about skills and models

Hi! I modified the landing page of the docs to try to explain a bit more the differences between skills and models and update the use cases to what we are launching right now. Feel free to ask more edits

It's already in master with the new docs. closing


Feature request - backoff multiplier

Checklist

[X] I have filled out the template to the best of my ability.
[X] This only contains 1 feature request (if you have multiple feature requests, open one feature request for each feature request).
[X] This issue is not a duplicate feature request of previous feature requests.

Is your feature request related to a problem? Please describe.
I would like to use the integration for a service that takes some time to come up when it fails - in this case waking up my EV from sleep. The backoff intervals are very agressive for this use case
Describe the solution you'd like
I would like to propose a back-off multiplier
For instance setting backoff multiplier to 5, would change the intervals from
0, 1, 2, 4, 8, 16, 32 seconds
to
0, 5, 10, 20, 40, 80, 160 seconds
Describe alternatives you've considered
Using a high number of retries, but this initiates unneeded calls to the EV
Additional context
None

Can you try increasing the retries parameter (default is 7)?
If it doesn't help, please elaborate on the problem.

The problem is that I am calling a webservice, with a daily API rate limit, and it might take 30 seconds to be ready.
With the default backoff I will end up sending 6 requests before the service is ready, while with the multiplier I will only send 4 calls. For this exact scenario a linear solution would be even better - for instance retry every 20 seconds, for a max of 5 attempts - but I assumed a multiplier would be easier to implement

v2.11.0 adds a new backoff parameter to allow customization. Documentation can be found here.
@janchrillesen , please let me know if it's working and addressing your needs.

Thank you very much. Just to make sure that I understand the documentation correct - for a linear backoff the square brackets should not be used? The documentation says "10" and not "[[ 10 ]]", while the other examples does include square brackets

Correct. When the delay is constant there is no need to wrap it with a template expression. A simple string is enough.


Replication factor for Kafka is not configurable to values greater than 2

Currently the default replication factor for Kafka is hard-coded to be set to 2 if there are multiple zookeeper servers present and to 1 otherwise.
https://github.com/Juniper/contrail-container-builder/blob/R5.1/containers/external/kafka/docker-entrypoint.sh#L30-L35
It would be good to make it possible to use a larger value based on an environment variable.

Hi @dshcherb ,
This repo is under gerrit/jira - so it would more helpful to escalate issues via PLM. In this case they can be fixed :)

Hi @Andrey-mp,
Thanks, I'll do that.


British (en-gb) Phonemes w/ eSpeak

eSpeak supports British, so I should be able to run gruut.sentences(text, lang="en-gb", espeak=True), but the results are the same as running lang="en-us". Is there a way to enable eSpeak with en-gb?
To reproduce, run:
for sentence in gruut.sentences("runner", lang="en-gb", espeak=True):
    print(sentence.words[0].phonemes)

for sentence in gruut.sentences("runner", lang="en-us", espeak=True):
    print(sentence.words[0].phonemes)

Results:
['ɹ', 'ˈʌ', 'n', 'ɚ']
['ɹ', 'ˈʌ', 'n', 'ɚ']

Expected Results:
['ɹ', 'ˈʌ', 'n', 'ə']  # notice the last phoneme is different
['ɹ', 'ˈʌ', 'n', 'ɚ']

Bump

I would also be interested in why en-gb support was removed. In older versions, were the en-us and en-gb settings using the same lexicon?
Thanks!

+1


Keyboard Event Listener need to be removed after Handhold ends

🐛 Bug Report
A keyboard event listener is set when starting Handhold, however it does not get cleared out when Handhold ends. This causes a bug where the next time the tour is started the listener gets fired multiple times when a keyboard event is triggered.
To Reproduce
Steps to reproduce the behavior:

Click "Start Tour"
Use the arrow keys to move through tour
Finish tour
Click "Start Tour" again
Use arrow keys to move to next tour
See how it skips steps

Expected behavior
Keyboard events should always navigate to the proper steps
Screenshots and/or request snippets
https://github.com/ritterim/handholdJS/assets/5217768/a765b7c3-015c-4dda-9ca5-9dccd06d9728

I'm closing this PR, QA doesn't have a way to test this yet


ci(deps): update terraform-ibm-modules/common-pipeline-assets action to v1.9.1

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/common-pipeline-assets
action
minor
v1.8.1 -> v1.9.1

Release Notes

terraform-ibm-modules/common-pipeline-assets
v1.9.1
Compare Source
Bug Fixes

update profileID description and output the CRA rule ignore file (#450) (6e51480)

v1.9.0
Compare Source
Features

support added for CRA SCC v2 (#449) (8d35bc9)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

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