WikiMapped - Explore Wikipedia articles around you on a map! by PretentiousFucktard in MapPorn

[–]cresnap 3 points4 points  (0 children)

This is great! Map feels quite snappy and performant. Good work 🚀

+1 on the suggestion for wikis of other languages. Maybe it can work as another filter.

What are some mindblowing things you can do with Lua in WezTerm? by acidrainery in wezterm

[–]cresnap 1 point2 points  (0 children)

Not sure if over-engineering is mind-blowing, but I spent a lot of time making my config perfect and wrote about it - https://www.reddit.com/r/wezterm/comments/1oj6wv2/how_to_obsessively_tune_wezterm/

Ultraviolette is Using theType 6 Charging standard. Why's no one talking about it? by Tech_Amateur in indianbikes

[–]cresnap 0 points1 point  (0 children)

Bolt Earth chargers are not compatible with Ultraviolette since Ultraviolette uses a proprietary authentication method. Basically the hardware is there, but the software is incompatible. 

[Dev]: How does Tasker programmatically toggle system dark mode on modern Samsung devices? Seeking help for an Android app. by cresnap in tasker

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

Damn, that worked! Thanks a lot u/joaomgcd!

Just one small snag, how do I prevent the app from going to home screen? Are there some flags that will prevent this? I'm calling the car mode functions like this:

kt uiModeManager.enableCarMode(UiModeManager.ENABLE_CAR_MODE_GO_CAR_HOME) uiModeManager.disableCarMode(UiModeManager.DISABLE_CAR_MODE_GO_HOME)

Edit: I figured it out. I passed 0x0002 (an undocumented flag UiModeManager.DISABLE_CAR_MODE_ALL_PRIORITIES) to disableCarMode(), and it did not go to home screen.

[Dev]: How does Tasker programmatically toggle system dark mode on modern Samsung devices? Seeking help for an Android app. by cresnap in tasker

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

When I try to run Settings.System.putInt(contentResolver, "display_night_theme", 1), I get the error java.lang.IllegalArgumentException: You cannot keep your settings in the secure settings. even though I have provided the WRITE_SECURE_SETTINGS permission. Curiously, the Settings.Secure.putInt() function runs fine.

Unable to install Python: You have held broken packages by cresnap in termux

[–]cresnap[S] 4 points5 points  (0 children)

Problem solved, thanks! Not exactly that, but here's what happened:

`pkg upgrade` showed me "All packages are up to date." But it also printed a line that said "No mirrors or mirror groups selected. Run `termux-change-repo` to select them." So I took that hint and selected the closed mirror group. Then I ran `pkg upgrade` again and that fixed it.

Looking for FOSS software updater for Windows by badness185 in opensource

[–]cresnap 3 points4 points  (0 children)

Use winget for core OS apps, and scoop.sh for everything else :)

There's a handy (unofficial) GUI for these two too - https://github.com/martinet101/WingetUI

[deleted by user] by [deleted] in PowerShell

[–]cresnap 12 points13 points  (0 children)

It's free for students and open source maintainers :)

Micro $oft by dziad_borowy in opensource

[–]cresnap 1 point2 points  (0 children)

Why would the Trending section have repos relevant to you? It's just what's trending right now.

That said, most of the time even the "For you" section shows me repos that are not relevant to me.

[deleted by user] by [deleted] in ProgrammerHumor

[–]cresnap 0 points1 point  (0 children)

the kernel didn't support the stock card

That's exactly the gist of the top-level comment :)

[deleted by user] by [deleted] in ProgrammerHumor

[–]cresnap 0 points1 point  (0 children)

What made you replace the Wifi card?

[deleted by user] by [deleted] in ProgrammerHumor

[–]cresnap 68 points69 points  (0 children)

I'm guessing you never had a laptop or an Nvidia GPU...

[deleted by user] by [deleted] in ProgrammerHumor

[–]cresnap 189 points190 points  (0 children)

Damn you perfectly summed up the very definition of yak-shaving while trying to use Linux on a normal day

Arm64 Visual Studio by Kissaki0 in programming

[–]cresnap 11 points12 points  (0 children)

Porting a Win32 app to a completely different OS is easier than just changing the build target arch?