@muvlon@hachyderm.io avatar

muvlon

@muvlon@hachyderm.io

Linux enjoyer
Nazi hackers fuck off
he/him

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

muvlon, to random
@muvlon@hachyderm.io avatar

Me: I want restricted privileges for a service
Unix: Of course, just make a new user
Me: Okay Unix, I'd like to add an "nginx" user
Unix: Sure just tell me their telephone number and what room their office is in

thephd, to random
@thephd@pony.social avatar

Wasn't expecting my blog to get directly cited in a WG14 e-mail, but here we are, I guess.

muvlon,
@muvlon@hachyderm.io avatar

@slyecho @thephd intmax_t_final_2_FINAL.pdf

fasterthanlime, (edited ) to random
@fasterthanlime@hachyderm.io avatar

in an impressive failure of public transportation policy, it’s *about the same price and twice as fast to rent a car and drive to the airport, than to take public transportation + a shuttle (even if you live here)

edit: here’s the detailed breakdown: https://hachyderm.io/@fasterthanlime/111637882952516038

muvlon,
@muvlon@hachyderm.io avatar

@fasterthanlime Also, in Germany, it's not unheard of for domestic flights to be cheaper than a high-speed rail ticket. It's maddening.

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

if someone gives me $1,000,000 i will rewrite the Linux kernel in Rust

muvlon,
@muvlon@hachyderm.io avatar

@astrid too late. check your paypal.

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

man, every dns server sucks, i should write my own

muvlon,
@muvlon@hachyderm.io avatar

@astrid The only thing more stupid than zone files is everything else about DNS

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

this month I'm doing the advent of "not having to write a parser every day" and it's glorious.

I'm smiling every morning about it.

muvlon,
@muvlon@hachyderm.io avatar
thephd, to random
@thephd@pony.social avatar

Whoever wrote this damn document: https://www.regulations.gov/comment/ONCD-2023-0002-0020

You sound exactly like the C people when C++ came along, and it's actually embarrassing.

muvlon,
@muvlon@hachyderm.io avatar

@thephd "It will take decades and cost billions to replace all the asbestos in our homes with safer materials, therefore we should not even try doing that and instead make better asbestos"

mothcompute, to random

man wrapped: you spent five hours this year reading the function prototype on mmap(2)

muvlon,
@muvlon@hachyderm.io avatar

@mothcompute You took an average of 45 seconds to realize when you were looking at printf(1) instead of printf(3).

kwf, to random
@kwf@social.afront.org avatar

PG&E wants to charge me a $2,500 engineering fee for them to develop a quote to tell me how much more money I would need to give them to upgrade my electrical service to 200A so I can buy more of their product from them faster.

I think I'm going to just make do with 100A for now.

muvlon,
@muvlon@hachyderm.io avatar

@kwf What the hell are you doing with that many amps? Is this some kind of 120V problem that I'm too European to understand?

muvlon,
@muvlon@hachyderm.io avatar

@kwf Oh lawd he thicc (the conductor, that is. I hope)

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

TIL what "taint tracking" is and I think computer scientists should be barred from naming more things until further notice

https://codeql.github.com/docs/writing-codeql-queries/about-data-flow-analysis/#normal-data-flow-vs-taint-tracking

muvlon,
@muvlon@hachyderm.io avatar

@fasterthanlime Just wait til you learn that the ISO C standard doesn't use "trap representation" to mean femboy pride!

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

In Mojo, functions can be declared using both fn or def.[25] The use of fn for function declaration, ensuring that the functions are strongly typed, is reminiscent of Rust’s function declaration syntax.

holy shit please just pick one

muvlon,
@muvlon@hachyderm.io avatar

@astrid How the hell can you be both inferredly and duckly typed while also being strongly typed?

thephd, to random
@thephd@pony.social avatar

https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3176.pdf

...

(* deep breath *)

I need to write not only a paper, but a full-blown series on the history of C. The historical revisionism and prescription of some magical properties to C89 or whatever without mentioning the vast landscape of extensions is.

Ugh.

muvlon,
@muvlon@hachyderm.io avatar

@thephd Wow this paper is a trip:

> C has by a good margin the best tooling for analyzing and presenting code.

That is a WILD statement to throw out completely unsubstantiated. What the heck is going on?
Have they used another programming language?

Are we speaking of the same C? The one you can not even parse correctly without knowing all the type definitions in scope? Which requires you to expand macros and resolve includes?

jhpratt, to random
@jhpratt@mastodon.social avatar

@predrag You're the person to ask. Is it possible for changing a struct to an enum to be a breaking change? Specifically for the situation where the struct is a thin wrapper around the enum, not exposing the inner field.

muvlon,
@muvlon@hachyderm.io avatar

@jhpratt @predrag It's arguably only very "technically breaking", but FRU and struct destructuring works even when all fields are private, and breaks with enums: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=83212bedb4c354fbc9947721a8560c56

0xabad1dea, to random

you ever look at a university hostname in a url and think “I don’t recognize it but I am 100% confident that is the name of an especially obscure elf from the Silmarillion as picked by the IT intern in 1992”

muvlon,
@muvlon@hachyderm.io avatar

@steely_glint @0xabad1dea Naming hosts after solar system objects or nearby stars is perilious though! If your org ever merges with another, the other sysadmins will inevitably have done the same, so you'll have conflicts.

b0rk, (edited ) to random
@b0rk@jvns.ca avatar

what git jargon do you find confusing? thinking of writing a blog post that explains some of git's weirder terminology: "detached HEAD state”, "fast-forward", "index/staging area/staged", “ahead of 'origin/main' by 1 commit”, etc

(really only looking for terms that you personally find confusing, not terms that you think someone else might be confused about)

muvlon,
@muvlon@hachyderm.io avatar

@b0rk @evan
[x] I'm in this toot and I don't like it

gsuberland, to random
@gsuberland@chaos.social avatar

bought some 90-degree USB Type B adapters and am very glad that I did.

so many things put the sockets on the back of a device, making it impossible to get it anywhere near flush. really annoying on desk stuff 'cos I'll push my keyboard back to make room but then the cable prods at my spacebar.

muvlon,
@muvlon@hachyderm.io avatar

@gsuberland Do you have all 4 directions of 90 degree?

mcc, to random
@mcc@mastodon.social avatar

Thinking about this juxtaposition (when they say people are "locked out" of their Pixels, it appears they can log into the Pixels, but not access their own storage)

muvlon,
@muvlon@hachyderm.io avatar

@mcc This is a bold move from Microsoft given they have just been identified by the EU as "gatekeepers" (in terms of the Digital Markets Act) of the Windows and Linkedin platforms.

Do they want the Xbox to go on that list too?

raptor, to random

Nice bug!

"The vulnerability occurs because the return value of snprintf is used to determine how many bytes are sent to the client by ns_vpn_send_response. This is a problem because snprintf does not return how many bytes it did write to the buffer, snprintf returns how many bytes it would have written to the buffer if the buffer was big enough."

Leaking Session Tokens with CVE-2023-4966

https://www.assetnote.io/resources/research/citrix-bleed-leaking-session-tokens-with-cve-2023-4966

See also my rule at https://github.com/0xdea/semgrep-rules/blob/main/c/unsafe-ret-snprintf-vsnprintf.yaml

muvlon,
@muvlon@hachyderm.io avatar

@nf3xn @raptor Disregarding linters and fancy static analysis like Rust's, this is a vulnerability that would have been prevented by automatic bounds checks, a feature that was literally in ALGOL 60.

This is a specific defect of the C and C++ programming languages, and it has nothing to do with their age. It is a dumb speed hack that we continue to pay the price for many decades later.

gsuberland, to random
@gsuberland@chaos.social avatar

idk if this is an ADHD thing, or just a me thing, but I noticed something weird about how I play drums - I can't count beats in my head. or, rather, I can't in the "one two three four" sense. I also can't live-improvise.

precise timing comes innately to me, and I can tell if I'm even a handful of milliseconds off time. I learn patterns by muscle memory, not by conscious control. as soon as I try to consciously count out the beats, I make a total mess of it. improvising has the same issue.

muvlon,
@muvlon@hachyderm.io avatar

@gsuberland This part is well known among DJs in my experience. Newer DJs can have "Serato Face" where they're staring at the waveforms a lot but eventually move past that because going off your ear is better.

muvlon, to random
@muvlon@hachyderm.io avatar

That's enough Rust for today

muvlon,
@muvlon@hachyderm.io avatar

@sunfish Yes, I knew that :D Thanks for the fix, it does work! And kudos for paying such close attention to my shitpost.

I actually got the idea for this meme and then had to get a nice screenshot of a linker error, and this was the last one I remembered encountering. So I went and reconstructed the situation.

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

I love how the lcov people straight up ship /usr/bin/genhtml like they own the place

muvlon,
@muvlon@hachyderm.io avatar

@fasterthanlime Another great command is "updatedb"

muvlon,
@muvlon@hachyderm.io avatar

@fasterthanlime And how could I forget graphviz with such evocative binaries as "dot", "cluster", "gc", "nop" or "prune" :blobfoxangrylaugh:

fasterthanlime, to random
@fasterthanlime@hachyderm.io avatar

it's been so long since I've made a real video that even my sponsors are e-mailing me like "hey babe, miss you"

muvlon,
@muvlon@hachyderm.io avatar

@fasterthanlime Due to your continued success, we have upgraded you from discretionary posting to MANDATORY POSTING.

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