@leo@60228.dev avatar

leo

@leo@60228.dev

notorious vriska, thief of light
i will likely approve follow requests

Last listening to: Battle! (Champion Nemona) - 佐藤 仁美 (album: Pokémon Scarlet・Violet + The Hidden Treasure of Area Zero Super Music Collection)

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

A thing I wish… like, okay, so the browser vendors can't code audit every browser extension for safety, I get it. But like, I could audit for safety. A lot of extensions aren't that big. I wish there was a button for just like, "read the source" that I could click before clicking install! Just let me give-it a once-over. I could look it up on Github but then how do I know they didn't modify the source before uploading to mozilla.org.

Even a "Add to firefox, but initially disabled" would help.

leo,
@leo@60228.dev avatar

@mcc fwiw unlike the Chrome Web Store, addons.mozilla.org requires submissions to include a source tarball and build instructions whenever applicable but it's not available except for reviewers

leo, to random
@leo@60228.dev avatar

multiple major Git vulns were just disclosed, worst is an RCE affecting Windows and macOS when doing a recursive clone https://github.blog/2024-05-14-securing-git-addressing-5-new-vulnerabilities/

dan, to random
@dan@discuss.systems avatar

currently attempting to use an ethernet interface called "enp8s0f0npf0vf1" and cannot help but think

STATEMENTS DREAMED UP BY THE UTTERLY DERANGED

THEY HAVE PLAYED US FOR ABSOLUTE FOOLS

leo,
@leo@60228.dev avatar

@Doomed_Daniel @vees @dan according to systemd docs they briefly did this but stopped because it turned out that in some cases the kernel and udev could race to assign the same ethN to different devices and it would massively break things
(and also apparently there's a surprising amount of systems where the MAC address is randomized on each boot?)

leo,
@leo@60228.dev avatar

@Doomed_Daniel @vees @dan i think they also just wanted something stateless. fwiw if your firmware lists the onboard network adapters in SMBIOS (and almost nothing does bc windows doesn't care lol) they'll have names like eno0
i have some questionable code that does this via an EFI driver: https://gitlab.com/vriska/smbios_patch/-/blob/main/src/main.rs

gsuberland, to random
@gsuberland@chaos.social avatar

it has gotten to the point where I'm having to send this to JLC's engineers because after FOUR STRAIGHT DAYS of explaining to them that they must not attach edge rails to the end of the edge connector, they said ok, then sent me a review file where they did it anyway.

leo,
@leo@60228.dev avatar

@gsuberland would doing the panelization yourself be less work? or is there a different problem with that

jaiden, to random
@jaiden@ordinary.cafe avatar

average jade activities

thanks to @elly for making the funny possible

leo,
@leo@60228.dev avatar

@jaiden @elly >not a Samsung Chromebook 3 (celes)

astrid, to random
@astrid@fedi.astrid.tech avatar

>grubhub
>looks inside
>no booting

leo,
@leo@60228.dev avatar

@astrid this is why nyc is objectively the best city

leo, to random
@leo@60228.dev avatar

happy 413

whitequark, (edited ) to random
@whitequark@mastodon.social avatar

do you think Python would let you mix 2-space, 4-space, and tab indentation, in the same file, on the same line? (poll)

leo,
@leo@60228.dev avatar

@whitequark is this question meaningful? a line can't simultaneously start with a space and a tab
is there some cursed facet of python's syntax that makes it sensitive to indentation not at the start of a line?

leo, to random
@leo@60228.dev avatar

i MAY have failed to do basic arithmetic and accidentally took 2000mg of acetaminophen. answers online seem to range from "don't worry about it" to "immediately go to the hospital." help

leo,
@leo@60228.dev avatar

(this is a "may" to be clear. i took 1000mg and then went "wait, i think i might've already taken 1000mg when i woke up like two hours ago")

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

Man, what a comfort to have “bought blu-rays” for most of the shows I want to watch.

Gone is the fear of them getting pulled from the 5 streaming services I still pay for, I know I’ll always find them in my “blu-ray collection”.

leo,
@leo@60228.dev avatar

@fasterthanlime unless your TV's HDCP key is revoked, in which case the drive will start refusing to play until you get a new TV!

leo,
@leo@60228.dev avatar

@fasterthanlime ah. that kind of "bought blu-ray"

astrid, to random
@astrid@fedi.astrid.tech avatar

you have a mind palace. i have a mind governmental capital complex with five branches of government and a byzantine system of checks and balances against each other

leo,
@leo@60228.dev avatar

@astrid @artemist >not denying accusations that you ARE taiwan

mcc, to random
@mcc@mastodon.social avatar

I have been for some time frustrated with a project which practically speaking must use .cargo/config.toml, a Rust "feature of last resort" that the Rust devs seem to almost be leaving intentionally poorly supported to disusade you from using it. Just now I found a way to solve a serious and fundamental problem .cargo/config.toml normally causes, and I'm split between feeling very satisfied and really annoyed because oh my god this solution is so ugly

https://github.com/mcclure/pocket-riscv-rs-bug/commit/a369e1f185c729056a5886ef608d8225854f0915

leo,
@leo@60228.dev avatar

@mcc can't you do --config riscv-config.toml

leo,
@leo@60228.dev avatar

@mcc --config can take a path (or if you want to be unambiguous you can do --config 'include = "riscv-config.toml"')

leo,
@leo@60228.dev avatar

@mcc it looks relative to the cargo cwd, I wonder if that's getting changed for some reason before it gets read? you could work around this by doing $PWD/riscv32imafdc-cargo-config.toml ig, probably worth reporting as a bug though....?

mcc, to random
@mcc@mastodon.social avatar

Imagine I am interested in a server such as Redis that I can use as an fast in-memory data store accessible from several processes at once. Imagine I would not use the SSPL (new, weird, proprietary license) version. Can you recommend to me:

  • A fork of Redis from before they went to the SSPL.
  • A Redis alternative that is open source and does about the same thing

I've never actually used Redis and have no attachment to its particular quirks. I just think I might need something like it someday.

leo,
@leo@60228.dev avatar

@mcc memcached is widely used but it does less than Redis. KeyDB was forked from Redis a few years ago with the goal of maximizing performance, it's owned by Snapchat but doesn't seem to be super widely used by other companies. Garnet is a protocol-compatible replacement for Redis that Microsoft open sourced earlier this week (they said that they're already using it in production internally), it's probably worth keeping an eye on in the future. Redict is a fork of the last OSS commit of Redis but I think it's way too early to say if it'll actually get any traction

leo,
@leo@60228.dev avatar

@mcc if you're specifically looking for "an fast in-memory data store accessible from several processes at once" and don't care about other Redis usecases memcached is probably what you're looking for

leo,
@leo@60228.dev avatar

@mcc turns out that literally less than five minutes after i posted that a group of existing redis contributors unaffiliated with redis ltd announced that they're forking the project: https://github.com/madolson/placeholderkv

mcc, (edited ) to random
@mcc@mastodon.social avatar

Thirty minutes into my coding work being blocked on picking over documentation trying to figure out how to use my package manager, I realize I have a second problem because the installed version of my package manager is too old for a feature I need. Now I must (a) determine which package manager I used to install the package manager [Debian? The other, older Python package manager I used to install the newer Python package manager?] (b) figure how to use that other package manager

leo,
@leo@60228.dev avatar

@mcc you are possibly looking for pipx?

leo, to random
@leo@60228.dev avatar

computing 2

jacqueline, to random
@jacqueline@chaos.social avatar

tangara's lua repl now has access to all the same modules as the lua ui code!

leo,
@leo@60228.dev avatar

@whitequark @timonsku @jacqueline @artemist occasionally i wonder what the cause and effect is in the relationship between questionable mental states and usb knowledge is. from experience there is definitely a relationship

leo,
@leo@60228.dev avatar

@whitequark @timonsku @jacqueline @artemist my working theory is that you have to be doing very badly to actually decide to write a usb stack in the first place and attempting to do so will make things worse

18+ astrid, to random
@astrid@fedi.astrid.tech avatar

wait... so if i'm making my website look like it's from an earlier period of the internet as time goes on, am i agereging my website

leo,
@leo@60228.dev avatar

@astrid why would you post this

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • ngwrru68w68
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • khanakhh
  • slotface
  • everett
  • vwfavf
  • kavyap
  • megavids
  • osvaldo12
  • GTA5RPClips
  • ethstaker
  • tacticalgear
  • InstantRegret
  • cisconetworking
  • cubers
  • tester
  • anitta
  • modclub
  • Leos
  • normalnudes
  • JUstTest
  • All magazines