Readit News logoReadit News
Hello71 commented on Uv: Running a script with dependencies   docs.astral.sh/uv/guides/... · Posted by u/Bluestein
alkh · a month ago
If I may interject, does anyone have any idea why the `-S` flag is required? Testing this out on my machine with a BSD env, `/usr/bin/env -S uv run --python 3.11 python` and `/usr/bin/env uv run --python 3.11 python` do the same thing (launch a Python interactive shell). Man page for env doesn't clarify a lot to me, as the end result still seems to be the same("Split apart the given string into multiple strings, and process each of the resulting strings as separate arguments to the env utility...")
Hello71 commented on Trial by Fire: The crash of Aeroflot flight 1492   admiralcloudberg.medium.c... · Posted by u/shmeeed
mppm · 3 months ago
What you say is true, but I would still disagree with the overall assessment. To put it bluntly, it is the pilot's job to be thrown into unexpected situations. Modern airliners mostly fly themselves, and the pilots are there to a) coordinate with ATC b) step in when the shit hits the fan, which does happen with some regularity. Ultimately this accident was caused by a confluence of many factors, as is often the case, but my read on the situation is that a competent pilot should have been able to handle this emergency without any losses.
Hello71 · 3 months ago
Modern commercial aviation is extremely safe because of investigators and regulators banning this "well the pilot just fucked up" explanation and instead looking at systemic factors.

As pointed out in the article, if the pilot was so incompetent, why didn't they receive further training, or if truly untrainable, fired? The airline and regulator have the responsibility for doing so, and ending the investigation at "pilot error" guarantees that another incompetent pilot will crash another plane.

Hello71 commented on You might want to stop running atop   rachelbythebay.com/w/2025... · Posted by u/subract
lolinder · 5 months ago
Do you have any references that describe this behavior? That sounds like exactly the kind of thing that could conceal a backdoor of the sort this seems to be warning about.
Hello71 commented on You might want to stop running atop   rachelbythebay.com/w/2025... · Posted by u/subract
Hello71 · 5 months ago
I stopped using atop when I found it installs several hooks which automatically run code as root and deposit files around the filesystem, including a "power management" hook.
Hello71 commented on A 10x Faster TypeScript   devblogs.microsoft.com/ty... · Posted by u/DanRosenwasser
jodrellblank · 6 months ago
> "given that C# was famously created by the guy writing the blog post"

What is this logic? "You worked on C# years ago so you must use C# for everything"?

"You must dictate C# to every team you lead forever, no matter what skills they have"?

"You must uphold a dogma that C# is the best language for everything, because you touched it last"?

Why aren't you using this logic to argue that they should use Delphi or TurboPascal because Anders Hejlsberg created those? Because there is no logic; the person who created hammers doesn't have to use hammers to solve every problem.

Hello71 · 6 months ago
> Why aren't you using this logic to argue that they should use Delphi or TurboPascal because Anders Hejlsberg created those?

as you know full well, Delphi and Turbo Pascal don't have strong library ecosystems, don't have good support for non-Windows platforms, and don't have a large developer base to hire from, among other reasons. if Hejlsberg was asked why Delphi or Turbo Pascal weren't used, he might give one or more of those reasons. the question is why he didn't use C#, for which those reasons don't apply.

Hello71 commented on Google drops pledge not to use AI for weapons or surveillance   washingtonpost.com/techno... · Posted by u/jbegley
justonenote · 7 months ago
That would be removing information and strictly worse that including it.

Communication is about communicating information, sometimes a terse short and aggressive style is the most effective way. It activates neurons in a way a paragraph of polite argumentation doesn't.

Hello71 · 7 months ago
the contention of your respondents and downvoters is that regardless of your intention, the extra information actually communicated is "i'm an asshole".
Hello71 commented on Intentrace: Strace for Everyone   github.com/sectordistrict... · Posted by u/MrBuddyCasino
immibis · 10 months ago
So it just prints "get the target path of link foo" instead of "readlink(foo)" and so on?

When I read the description I hoped it would match broad strokes like "load library foo.so" but the screenshot shows that it just rewords each syscall name into English.

Hello71 · 10 months ago
Yeah, it seems like it could be implemented as a postprocessor of strace --decode-fds. Knowing what each syscall does isn't really the hard part of strace, it's knowing which ones are important, which ones are part of libc itself and can usually be ignored (e.g. collecting /etc/localtime) and which are explicitly requested by the application, piecing together multi-threaded/multi-process logic, etc. strace has a lot of functions to help with that which this doesn't support, like syscall filtering, struct decoding, and stack tracing.
Hello71 commented on Ireland's big school secret: how a year off-curriculum changes teenage lives   theguardian.com/lifeandst... · Posted by u/joveian
WorkerBee28474 · 10 months ago
.
Hello71 · 10 months ago
I googled "quebec educational attainment" and found https://statistique.quebec.ca/en/communique/university-gradu..., which says that "Québec has the highest proportion of people aged 25 to 64 with any postsecondary certificate, diploma or degree (71.2%).". According to https://www.statista.com/statistics/467078/median-annual-fam..., Quebec's median annual family income in 2021 was 96,910, almost the same as the median 98,390. The top "provinces" are Northwest Territories and Yukon, whose ways of doing things, for better or worse, cannot be easily copied to other provinces.
Hello71 commented on Lenticular Clock   instructables.com/Lenticu... · Posted by u/animal_spirits
mkesper · a year ago
It's a MOV tagged as video/mp4. For me, FF recognizes only the audio part but if extracting the raw video URL I can play it with vlc.
Hello71 · a year ago
They're the same thing. The problem is not the container, it's the H.265 encoded video which Firefox doesn't accept. It's not a good idea to throw raw cell phone video onto a website, first because it probably won't play everywhere, and second because there's embedded high-precision location data.

u/Hello71

KarmaCake day1906September 24, 2012View Original