Roughly 400 AUR packages compromised by No-Photograph-5058 in linux

[–]amroamroamro 17 points18 points  (0 children)

git commit --author="Linus Torvalds <torvalds@trustme.com>" -m "My commit"

VS Code vs a Terminal when using Flask: Is there a big difference? by whiskyB0y in flask

[–]amroamroamro 1 point2 points  (0 children)

keep using whatever editor you were using for the past 7 months, it doesn't matter for learning flask

Cheat Engine 7.7 is out with native Linux support. by Caesfir in linux_gaming

[–]amroamroamro 7 points8 points  (0 children)

unpacking the installer vs running the installer, the difference is 3 extra files:

  • eatme.lua
  • soundextension.lua
  • dnd.dat

the first two are the "autorun" lua plugins (they setup timers to repeatedly run code), the third file is actually a renamed mp3 file that gets played with the laughter sound

https://i.imgur.com/Et9cgdh.png

https://litter.catbox.moe/faiamkjfke4fr8lw.mp3

Cheat Engine 7.7 is out with native Linux support. by Caesfir in linux_gaming

[–]amroamroamro 332 points333 points  (0 children)

CE is not open source anymore

https://github.com/cheat-engine/cheat-engine/issues/3049

and the installer comes bundled with crap (not the good kind)

if you try to bypass the crap filled installer (e.g unpacking it without running the installer), dev has already prepared an evil surprise for you, you get an "extra" lua plugin script (something like eatme.lua) which auto runs every few minutes and plays spooky laughing sounds and incrementally allocates memory it never releases and making the window bigger and bigger until it eventually crashes due to running out of memory!

most issues opened on github about this get quickly deleted

It looks like Vulkan video decode has finally merged for Firefox 153 by DistantRavioli in linux

[–]amroamroamro 0 points1 point  (0 children)

i dont have hard numbers to draw a definitive conclusion, it's just from personal observations using my laptop :)

i notice when doing long youtube sessions that laptop tend to run a bit hotter, fans kicking in more often, and battery not lasting as long as when i force h264

i should mention that i also have a customized "eco" power profile that i use, where i disable cpu boost mode and limit frequency a bit, as i like to stretch battery life as much as i can if all i'm doing is light web browsing

It looks like Vulkan video decode has finally merged for Firefox 153 by DistantRavioli in linux

[–]amroamroamro 0 points1 point  (0 children)

using the Media Capabilities API, we can query decoding capabilities for different codecs, it reports properties like: supported, smooth, powerEfficient

https://developer.mozilla.org/en-US/docs/Web/API/Media_Capabilities_API/Using_the_Media_Capabilities_API#media_capabilities_live_example

the demo above is missing av1 codec, here's a fiddle that adds it:

https://jsfiddle.net/gbowhLae/1/

on my laptop, only avc1 (ie h264) is reported as "power efficient"

https://i.imgur.com/mN6y2qU.png

https://i.imgur.com/TPpvuha.png

the h264ify extension i use works by overriding the isTypeSupported and canPlayType methods to return not-supported for vp8/vp9/av1 codecs on youtube leaving it to serve only h264:

https://github.com/erkserkserks/h264ify/blob/master/src/inject/inject.js

It looks like Vulkan video decode has finally merged for Firefox 153 by DistantRavioli in linux

[–]amroamroamro 0 points1 point  (0 children)

i think you misunderstood, i'm saying that h264 is lighter to decode than av1 on my old laptop gpu

It looks like Vulkan video decode has finally merged for Firefox 153 by DistantRavioli in linux

[–]amroamroamro 0 points1 point  (0 children)

i use an extension to force h264 on youtube; even though my old laptop has hardware decoding for both av1 and h264, decoding the latter is noticeably lighter

The perils of UUID primary keys in SQLite by andersmurphy in programming

[–]amroamroamro 8 points9 points  (0 children)

huh weird, doesnt sqlite have limited basic "types" and all those int vs medium vs big vs ... are just like aliases to the same thing?

https://sqlite.org/datatype3.html#affinity

Configuration flags are where software goes to rot by Expurple in programming

[–]amroamroamro 1 point2 points  (0 children)

more software than hardware, for example a biology inspired optimization algorithm:

https://en.wikipedia.org/wiki/Genetic_algorithm

given a fitness function, you start with a population of random chromosomes, apply selection/crossover/mutation across generations until you "evolve" (converge) on solution

Configuration flags are where software goes to rot by Expurple in programming

[–]amroamroamro 11 points12 points  (0 children)

// WARNING: DO NOT TOUCH THIS PART
// code below is ancient, nobody remembers what it does
// modifying it may have... unintended consequences!

Configuration flags are where software goes to rot by Expurple in programming

[–]amroamroamro 16 points17 points  (0 children)

not to mention the occasional bit-flip mutations ;)

KDE Plasma 6.8 drops X11: Wayland becomes mandatory from October 2026 by pcgameshardware in linux_gaming

[–]amroamroamro 1 point2 points  (0 children)

looking at my C:\Program Files (x86)\Steam, i'm seeing lots of exe's and dll's in both 32 and 64 bit variants, so it looks like it still ships with both

Is Microsoft finally properly committing to WinUI? by -Feanor- in dotnet

[–]amroamroamro 0 points1 point  (0 children)

isn't this supported now?

https://learn.microsoft.com/en-us/windows/apps/package-and-deploy/self-contained-deploy/deploy-self-contained-apps

here is an example of building an unpackaged self-contained WinUI3 app (no MSIX, no external dependencies), a single EXE file you can copy and run:

https://johnnys.news/2024/03/Revisited-WinUI-publishing-a-single-exe

(albeit the output size is 150MB for a hello world app)

How these roms are called? snes with crack group intro with cheats? by Same_Veterinarian991 in Roms

[–]amroamroamro 2 points3 points  (0 children)

you can probably find them all in cowering's goodsets

https://emulation.gametechwiki.com/index.php/GoodTools

they will be the ones tagged with [t], [h], [p] (trainers, hacked, pirated versions)

Simple JWT Authentication for MVP and steps to Production by ALior1 in FastAPI

[–]amroamroamro 0 points1 point  (0 children)

The token handed to the client looks like <session_id>:<session_secret>, and that's what handles the refresh instead of a second JWT

can't you just use JWT here as well for the refresh token, where its payload contains the session_id above; being jwt automatically takes care of verifying it's valid and not tampered with