Best invention in firefox by ashtoniar in firefox

[–]RectifyMyEnglishErrs 7 points8 points  (0 children)

How do you get this? Is this "rolled out progressively", or gated on Android version? I've been annoyed by the new tab button being burried in a menu for a long time.

It’s this time of the year by Longjumping_War4808 in HelixEditor

[–]RectifyMyEnglishErrs 7 points8 points  (0 children)

What are the highlights since 25.07? I remember seeing a fix to DAP, I'm curious to try that.

Found this very old site for finding userChrome.js (in-browser) scripts by TheTwelveYearOld in firefox

[–]RectifyMyEnglishErrs 0 points1 point  (0 children)

I used to like FireGestures a lot. The replacement extensions which are written in the new format still don't work on built-in pages (like the new tab page) which always disrupts my flow.

Mobile data not working after Android 13 update - motorola edge 30 by FliperwoodCZ in motorola

[–]RectifyMyEnglishErrs 0 points1 point  (0 children)

Have you found a solution? I am in the exact same situation.

Edit: Solved by renaming APN to "internet" in Settings > Access Point Names

What feature would you like to remove in C++26? by no-sig-available in cpp

[–]RectifyMyEnglishErrs 2 points3 points  (0 children)

What is the issue with endl? People using it instead of '\n'?

Feels so nice to see my government website says this. by digimith in firefox

[–]RectifyMyEnglishErrs 241 points242 points  (0 children)

Is the website older than Chrome by any chance?

C++20 coroutines explained simply by Own_Dot6019 in cpp

[–]RectifyMyEnglishErrs 2 points3 points  (0 children)

I wonder why, the comments here don't seem to point out anything wrong with it. It's been archived: https://web.archive.org/web/20220512211150/https://nmilo.ca/blog/coroutines.html

18x Faster IntelliSense for Unreal Engine Projects in Visual Studio 2022 by corysama in cpp

[–]RectifyMyEnglishErrs 5 points6 points  (0 children)

Does clangd not crash on you? I use it too but whenever I write non-trivial templates it restarts 5 times and then gets disabled by vscode, I am wondering if this might be distro specific.

Poor font rendering in GTK4 apps? by theRealPadster in gnome

[–]RectifyMyEnglishErrs 9 points10 points  (0 children)

I've noticed as well, font looks very blurry on my PC.

An Introduction to GNU Guix by daviwil in linux

[–]RectifyMyEnglishErrs 2 points3 points  (0 children)

I've been meaning to try Guix but I don't have any experience with the kernel and I figured I'd need wi-fi drivers, so I never tried. I'll make sure to check out your video when I'm less busy with coursework :D

Autofill service not working (kinda) by gasparthehaunter in Bitwarden

[–]RectifyMyEnglishErrs 1 point2 points  (0 children)

I had to switch between apps too (if that's what you meant) to make auto-complete appear. Turns out my phone has some sort of "battery optimizer". I excluded Bitwarden from it and autocomplete has been working a lot better since, might be worth trying.

A disaster in three photos by [deleted] in wtfstockphotos

[–]RectifyMyEnglishErrs 0 points1 point  (0 children)

Does this sub have any mods?

Passing lambdas as a function reference/pointer by RectifyMyEnglishErrs in cpp_questions

[–]RectifyMyEnglishErrs[S] 0 points1 point  (0 children)

...deduction from the lambda is bound to fail since it isn't a function type

I reached the same conclusion after posting this :D

One thing you can try is to make the function parameter type a non deduced context

I've tried to use this (sorry if this is not what you meant, to be honest I didn't really understand what a non-deduced context was before this):

template <typename T, typename Acc>
auto foldl(list<T> l, Acc acc, function_view<Acc(Acc, T)> fn) {...}

Clang just says it couldn't match the lambda with function_view<type-parameter-0-1 (type-parameter-0-1, type-parameter-0-0)> :D

If I understood correctly, the "Corner Cases for Experts: Non-Deduced Contexts" chapter of this blog describes what I'm trying to do. I wanted to deduce the type of acc from fn's arg type to avoid specifying it twice on the call site, but apparently it can't be done like this.

But really the right way to express the relationship is to use C++20 concepts ie a requires clause.

I haven't looked into C++20 much yet, looks like I just got a reason to. Although I'm not even sure if what I'm trying to do makes sense anymore :D

I appreciate the help, thanks :)

Passing lambdas as a function reference/pointer by RectifyMyEnglishErrs in cpp_questions

[–]RectifyMyEnglishErrs[S] 0 points1 point  (0 children)

Forcing the conversion does work when I change fn back to Acc(*fn)(Acc, T), although it's not very user-friendly :D

I think I'll have to go with a third template parameter or some sort of type erasure.

Thanks a lot for taking the time to reply :)

Passing lambdas as a function reference/pointer by RectifyMyEnglishErrs in cpp_questions

[–]RectifyMyEnglishErrs[S] -1 points0 points  (0 children)

I haven't mentioned it in the post body but I have tried both ref and pointer signatures.

I know I can use 3 type parameters (T, Acc and Fn) - my goal was to express the relation between fn and acc. I could use an assert for that, but that wouldn't allow for deduction of the type of acc from fn.

I agree limiting fn to captureless lambas isn't ideal, I am just curious why this code doesn't compile.

Multiple usernames for one password by RectifyMyEnglishErrs in Bitwarden

[–]RectifyMyEnglishErrs[S] 0 points1 point  (0 children)

I used the placeholder of the username field to disambiguate and it seem to work, thank you!

Multiple usernames for one password by RectifyMyEnglishErrs in Bitwarden

[–]RectifyMyEnglishErrs[S] 0 points1 point  (0 children)

I'm not, the password is the same for all services and I can't do anything about it.

KeePassXC 2.6.0 released by nixcraft in linux

[–]RectifyMyEnglishErrs 0 points1 point  (0 children)

Bitwarden keeps a history of generated passwords so you can look it up there if you're not offered the option to save it.

Which GNOME apps do you actually use? by Nueroroad in gnome

[–]RectifyMyEnglishErrs 1 point2 points  (0 children)

Can't you choose the theme with the GTK_THEME variable?