ElectricMoose

joined 1 year ago
[–] [email protected] 3 points 2 weeks ago* (last edited 2 weeks ago)

Allow me to retort with an all-in-one self build script, along with pass-through args and exitcode.

#!/bin/sh
out=$(mktemp)
sed -e '0,/^#SELFBUILD$/d' "$0" | rustc --o "$out" - && "$out" "$@"
status=$?
rm -f "$out"
exit "$status"
#SELFBUILD

fn main() {
    dbg!(std::env::args());
    println!("hello rust");
    std::process::exit(2);
}

P.S. I have no idea why you'd want that, as it's a terribly inefficient way to ship code, but it's a fascinating glimpse at how we used to do self-extract archives decades ago.

[–] [email protected] 4 points 1 month ago

Sadly, longer jail time is purely placebo. Plenty of studies show jail time has no incidence on crime rate. Sure, locking people for longer would delay recidivism, but we could do better than that.

It's not about logic though. Longer jail time proponents do lean on the emotional argument of a few anecdotal cases or recidivism. This tend to make flashy headlines and stick with the population.

[–] [email protected] 1 points 1 month ago (1 children)

Interestingly, we've got the same glitch in the Gregorian calendar, where the year 0 doesn't exist. So the 21st century started in 2001…

[–] [email protected] 5 points 1 month ago

I don't have confidence in any majority government. The elected party doing as they want and ignoring part of the electorate is a failure of democracy. Every motion should be evaluated on its merit, not through agreements of party support. In that sense, the likelihood of a majority Conservative after an election would be a bad thing.

[–] [email protected] 2 points 3 months ago

The opinion of Linux desktop users (or any users really) do not count in the enterprise world. Somehow, if management bought in on the Crowdstrike rootkit bandwagon, you'll see it on corporate hardware. It doesn't matter if it's a bad plan; it doesn't matter if it gives an American company a backdoor to all you infrastructure; if the CISO decides everyone gets it, everyone get it.

The only thing you can really do as a lowly employee is keep any such device away from any personal info or network as if it's infected by malware (which I would argue is exactly what it is).

[–] [email protected] 2 points 5 months ago

You also can't make star ships out of an sdcard

[–] [email protected] 20 points 5 months ago (2 children)

As a bytecode tinkerer, I'd say considering NOP to be global knowledge is a slippery slope.

[–] [email protected] 85 points 7 months ago

just tag yourself as "early-access" and suddenly everyone will forgive your flaws.

[–] [email protected] 9 points 8 months ago (3 children)

As a developer, I really don't like how Wayland has fractured the ecosystem. Competing immature protocols are still all over the place while the immobility of x11 has spoiled us for years. It's getting better, but in the meantime I can still write an x11 app which will work mostly everywhere (thanks to xwayland), whereas a wayland app may not work everywhere (not on X11, and not on compositors which don't implement the right combinations of protocols).

[–] [email protected] 71 points 8 months ago (1 children)

Hacker: That's ok, we don't want you to paste stuff in there, we just want you to send us your cookies. It's not like you're eating them anyway…

[–] [email protected] 3 points 9 months ago

Consider IEEE754 arithmetic as monadic, simple!

[–] [email protected] 9 points 11 months ago

Someone is confusing indices and cardinality.

view more: next ›