skysight-inc/HackerNews huggingface dataset:
> If something can't be done easily in POSIX scripting, it's probably a poor fit for shell programming,

I can see where you are coming from, because I used to think along similar lines. In particular, whilst Bash is an ugly and baroque mess, Bourne shell, at it's core, is actually a simple and elegant design, marred by a handful of irritating flaws. Since neither is particularly suitable for writing robust code, it's very tempting to say stick to sh, and where that does not suffice, pick a better language.

Unfortunately, I was forced to conclude that a) often there isn't a great alternative to shell scripting and b) bash is sufficiently ubiquitous and POSIX did a sufficiently bad job again that POSIX sh is generally not worth bothering with.

There is a handful of features, none of which are unique to bash (ksh has all of them, but sadly lost), but all of which are absent from POSIX sh, that make it significantly easier to write robust scripts. The crucial ones, I think, are:

1. sane trap EXIT (ksh also has this, zsh sadly doesn't but has "always")

2. process substitution (ksh and zsh also have this)

3. printf %q (ksh and zsh also have this)

Not needing to use ugly cruft like [ "x$ans" = xyes ] is also good, but less essential.

Take your code for example (and you're clearly someone with hardcore unix skills): it's much more complicated, slower, and brittle all due to the absence of 1&3.

Is that an indication that you shouldn't write anything that needs to do clean-up in shell script? I don't think so. People write lots of really useful stuff with bash all the time (devenv, nix build steps etc.). I'd argue that all three of your conditions typically hold for anything that's well expressed in < 1 page of bash. The reasons are:

A. When sh is available, so is bash in almost all cases.

B. Any competent devops or sysadmin person can handle bash, and so can a lot of normal developers. The same is not true for any of the typically plausible replacement languages (python, perl, ruby, ...). Furthermore, all of these have trouble expressing some shell idioms equally well and, apart from perl5 which is fairly fossilized at this point, bring significant versioning problems.

C. It's not just about being locked down, it's also about not wanting to add extra attack-surface, maintenance & mental overhead, bloat etc. If you are Jane Street and use Ocaml for everything throughout your org, you can probably (and profitably!) avoid almost all bash scripting, but that's a fairly unique situation.

Basically, my recommendation is to avoid shell scripts for anything where it does not have a clear advantage over python or similar. And where it does, to avoid most of the extra functionality that bash offers over sh for scripting, but to make use of at least 1-3 above where they are a natural solution. Because emulating any of these with posix shell is both painful and error-prone, and all of them are very often useful.
Not in Texas but among my more conservative family members the ability of it to act as a backup battery during power outages makes up for the fact that it's electric. That's a huge deal. They're usually living in a more rural place where winter storms can knock out electricity for days.
> that go on dirt, mud, who knows what else are used to walk on your floors and carpets...prevents a lot of dirt/who-knows-what from entering the house.

so you think people should just never walk barefoot outside on unpaved surfaces, the way our ancestors evolved to, where nature exists in every state between birth and death?

(you don't need to repeat any part of your argument, trust me, I get it, just pointing out the obvious problem with it)
They're not reserved keywords. Existing/package defined min/max functions would take precedence. They have the same semantics as `append`
Yeah, this isn't true. A teaspoon is a standard unit of measurement in US cooking.
Do you understand that in dozens or hundreds of schools *0%* of students can read at a high school level? Are New York State officials lying when they say they have to permanently lower standards because "this is the new normal"?

>Last year some schools posted shocking results — in Schenectady, no eighth grader who took the math test scored as proficient.

>The committee is resetting the lowest scores — called cut scores — for each achievement level on this spring's new ELA (English language arts) and math tests.

>“Right now we’re setting new cut scores for 2023. This is the baseline moving forward,” Perie said.

>Over the summer the committee will do the same for the U.S. history Regents exam, with the change taking effect in 2024.

https://www.timesunion.com/news/article/new-york-lowers-bar-...
I remember someone -- I think an econ professor? -- say something that struck me as smart. There's lots of corruption, but it's pretty important whether the service is provided.

It's one thing if government is corrupt, and the brother / kid is getting kickbacks, and maybe users pay 20 or 30 or even 100% more than it should ideally cost. That's a problem. It's a whole different story if the government is corrupt, and you're paying the corrupt price, and you don't even get the electricity.
I don't think it is a further restriction on the rights you have. Those rights extend to the code you have, they are only terminating the business relationship going forward.

Not a lawyer, so maybe someone else more knowledgeable about the space will expand on this.

I imagine that RH/IBM has had lawyers look into this before the policy was announced.
This strikes me as a bold (probably marketing) claim more than anything. Looking at the example code, it seems to make use of many "quantum" libraries, but why could those libs not be made available to C# or whatever?

Quantum computing is a niche, to say the least, and the field is far from clearly defined. This sounds a lot of IBM proclaiming RPG will be the best "big iron" language ever - and today nobody uses it.
If you'd like to hear some of what I'm referring to, check out some anecadata here: https://www.reddit.com/r/Teachers/search/?q=parents&restrict...
$20 worth of psilocybin would work on a shoestring budget compared to the $3500 vaporware
He has the gerber files (and list of parts) though. I tried the gerber zip file at PCBWay and it's $51.33 for 5 boards ($63.12 for 10) with shipping to the US. It would be a lot less if it wasn't bigger than 100x100mm. Buying all the right parts would be a lot of work if you don't usually do it though.
Emulating a Raspberry Pi in QEMU
What is up w/ the connection of organs to religion?

Couple it w/ a little glia stimulating light and you're off to nirvana...
Thanks, "mimics variable assignment" is a good way to remember it
I am afraid Tesla is eventually going to win and will see cyber trucks like now Broncos are on the streets. Some of my Tesla loving friends are not the kind who need or buy a truck but are looking forward to it and feel that could fit their lifestyle.
As someone who has studied both humanities and "hard" subjects, I'd definitely say that I respect really good researchers in the humanities just as much as I would a Fields medalist, but there's a much lower bar and there's a lot of shoddy research being done (as well as really bad students who just coast by somehow, something which is much harder to do in math-heavy subjects).

Then there's also the problem that there's not even a clear consensus on what great research is in a "soft" field. I might find someone highly accomplished, but someone else might think the opposite. With maths, either someone proves a theorem or they don't, there's almost no middle ground (Mochizuki notwithstanding).
Tomorrow we will see a blog post titled “Why I always use 3rd part dependencies instead of stdlibs”
Strange how doctors I follow tell me that in winter months I'd need 2000IU per day of VitD it needed for my latitude/ sun exposure/ skin color. While the recommended daily intake is about 10x lower, so low that it may even be too low to measure the benefits. Are those FDA-like institutes so slow?
Underwater noises heard in search for missing sub near Titanic wreck
But it saves you spending $20 once in your life to get a tuner!
C#’s array/span.Clear() does exactly the same - it zeroes them out.
god forbid you are plugged into the wall - you'll be stuck until your power bill isn't paid
What are the specific differences?
> You're dealing with billionaire money vs millionaire money

I don't think that's true at all.

The base salary for a Justice is ~$270k as of 2021.
> The entire reason we have people trying to cram JavaScript everywhere is that, for some reason, it sparks joy for them.

Wait really? I feel like it's just "you literally have no choice for frontend" and the various side effects of that.
Gear Patrol Acquires DPReview from Amazon.com
I think it’s pretty great. You go there and get bounced over to a marketing website. Once you’re logged in, you skip the marketing page entirely.
Or just accept that you have died, until the psychedelics wear off.
engaging w/ someone is different from discoursing with them. "engagement" is what social media companies say they provide - but really they just offer "discourse".
not really...it is an IDA(interactive disassembler) Pro plugin
It's true though. I mean, not a knock on the .NET team. They (we in a past life!) have moved mountains to get a crusty old Windows desktop development framework into the modern era. But all this does is highlight that the work isn't done yet.
I think it's high time to bury the myth of the "bondage and discipline language".

Study after study has shown that, comparing development of the same application in C vs. a language with a very strong type system such as Ada, the application in the language with the very strong type system costs less to develop and has far fewer errors.

The fact that C "gets out of your hair", i.e., doesn't provide checking for certain kinds of correctness, is an anti-feature.
I was working at Microsoft when Steve Ballmer said "No one is going to spend $500 on a phone" in response the iPhone.

It's okay to own a truck even if you don't work on a farm. I own an f150 because it has way more legroom in the back than any SUV, it can haul my mountain bikes, and it's easy to haul stuff I buy from costco and home depot. Most of the time the back is empty. I don't think it makes me a horrible person.

The Cybertruck would do all of that just as well.
Or perhaps despite our wish that our existential travail be officially registered somewhere by some big Other, one's life "as a movie", our "walking through that door" is ultimately our own and our own in such a way that won't be registered with some sort of social registration.
Yup, those seem to be the key challenges. I've been making good progress on them, but there's plenty more work to do!

On the topic of "AI-generated PRs", I used my tool to file a PR to the `glow` CLI tool. I don't know the go language, so I had my tool `aider` add the feature I needed. I mostly use glow to preview README.md for GitHub, so I wanted it to render line breaks like GitHub does.

https://github.com/charmbracelet/glow/pull/502

I've also been able solve a couple of github issues that were file by users by just pasting the issue into my tool... it fixed itself. Links below:

https://github.com/paul-gauthier/aider/issues/13#issuecommen...

https://github.com/paul-gauthier/aider/issues/5#issuecomment...
My pi3b with 3 512GB flash drives streams perfectly in 720p and uses less power than the lamp next to the sofa, what a time to be alive
Did someone say toxic positivity?? :)
YMMV, of course, I have a hard enough time managing with one style of brackets, Rust has, what, five (round brackets, square brackets, curlies, angles, and vertical bars)? Never mind the fact that some operators are prefix:

do_something(a_thing);

Others are infix:

x = a + b * c;

And yet others are postfix:

foo.frobnicate()?;

My sole braincell can't handle all that complexity, which is why I'll just stick with simple old Lisp.
wives
"... most modern pick-up trucks are emotional support vehicles"

Nicely summarized!
Triton 36000/2 – Unlimited Depth Submarine
I was actually going by the picture and the very first sentence: "A wildfire tore through Fort McMurray, Alberta, on Saturday, May 7, 2016...Earth’s weather, now, not in the future—and it’s full of fire".

I read the article to see what it said about wildfires and climate change, as there has been a lot of invalid hyperbole about that very subject recently (including a recent Guardian opinion piece which incorrectly stated that Canada's wildfires have increased, when the Canadian Wildfire Database actually shows the opposite).

Not unexpectedly, this article also misrepresents climate change as increasing wildfires.

It's just very irritating all these terrible arguments that are doing so much to justify climate denialism even though they are attempting to do the opposite.

Here is the Guardian article I'm referring to which first got my ire up about this subject:

https://www.theguardian.com/commentisfree/2023/jun/20/canada...

and here is the data:

https://cwfis.cfs.nrcan.gc.ca/ha/nfdb

What the heck do we need to do to get climate change activists to take climate change science seriously?
I don't use Deno, so how does it prevent you from using a monorepo? Or am I misreading your question?
> His points are valid, but they'd make more impact if the underdog was not Microsoft.

Words fail me here. This is one story, and one strategy, of how Microsoft became a monopolist. Everything described here works and it works because Microsoft was the 800-pound gorilla, not in spite of that! Monopolies aren't born fully formed.
Its also safer for the same reason
It's fascinating how we're expected to believe senior White House officials are such perfect strawman doofuses that they have never seen a globe or the Mollweide projection, or were ever reprimanded by a geography teacher for saying "up" instead of "North". The only thing that scene is missing is for her to fall over in shock and disbelief at hearing that the Earth is round.

They're not characters, they're tools to push a message.
The builtin clear() will handle cases like deleting NaN from a map.
No, it was a recent discussion, here: https://github.com/golang/go/issues/59488
If anyone is familiar in the Cyberpunk 2077 universe, it seems reminiscent of "Brain Dances". I could see an app that can play and interact with pre-recorded footage and provide the ability to view that experience in a 3D space
No hasty conclusions.

We switched to this always connected world only 10-15 years ago and I think we are far from having seen all the consequences.

Algorithmic bubbles, mass surveillance, addictive algorithms and applications are fairly recent and we can already see really disgusting consequences.

Our civilization is resilient so it takes time to erode but since a few years, I have hard time imagining a positive technological future. All I see is technology made to exploit human breaches for money.

Humans don’t look like they are adapting to Tik Tok properly so I’m not confident they’ll understand this new AI powered world.

(I have no doubt that powerful and dominant humans will adapt)
If someone had actual information of that type from Apple and released it on a public forum, they will be hearing from Apple's legal team in 5...4...3....

Otherwise, it just seems like a confirmation of their reading of the tea leaves.
> where is this tabulated?

How would one tabulate this or conduct such a study? Usually the main outcome measure you're looking at is something like the test.

> if "teaching to the test" is the concern, how do I then interpret declining test scores?

Exactly what you mentioned before and dismissed: short term gain is not necessarily long term gain.

There's not enough high quality educational research. But one area we have strong research is on what kinds of learning are durable. The National Training Laboratory Institute has done a whole lot of research on what results in retention at 6 months, and the things you do for immediate test performance (rote practice, mnemonics, tricks to answer specific subject-specific questions, etc) are the least durable things.

Test focused classrooms spend a whole lot of time on this stuff, and less time on things that work to create durable understanding (think-pair-share, low intensity practice built around spaced repetition, mastery-based methods, etc).

Note that I am not a career teacher. I am a retired entrepreneur who now happens to teach. I have extraordinary programs that get extraordinary results-- despite being a small school, we're routinely having multiple students reaching state level championships in things I teach. Under test-focused pressure I could not achieve these things. Similarly, if I was spending a huge portion of my energy on classroom management and behavioral norms, I couldn't do them either.

(Of course, on most test measures my students do pretty well, too).

Indeed, I've written here: https://news.ycombinator.com/item?id=36423142 (and in the grandchild comment) about my experience teaching a very heavily test-focused course. I know I could have given my students a better and more durable knowledge of economics with less of the test-focused pressure.
Pitch difference is what I am referring to. Play one note after the other, and many musicians can hear 1 cent up or down.

With simultaneous notes, counting the beats you can hear much smaller differences.
It is great that liberal autistic dads have an online platform they can call their own. The only trouble point is that they picked a very generic name for it: "dads.cool"; if they instead picked a more unique name, or something very descriptive like "liberal-autistic-dads.cool", mainstream visitors would not be surprised about the community's non-mainstream rules and norms.
>>At least the truck seems to be a reality.

It seems that "seems" is doing a lot of heavy lifting in this post — the Cybrtruck is years late, still has problems, and as pointed out, a limited market. They may lose a huge amount of money if they build a production line and sales never take off. I wouldn't put it past Musk to make an "Aura Product" that is vaporware just as a marketing ploy...
Most of the DNA is redundant copies. We need the amount of DNA in a single cell.
Someone would argue that humans still haven't adapted to smartphones or the internet post-connected world and that constant connectivity is a cancer that's destroying our minds, emotions and civilization at large.
No one was claiming that it was untestable, the company did decide to go with an acoustic monitoring, which is a destructive test, instead of a scan, which is a nondestructive test. The company claimed there was no non-destructive test that could be done. The issue is that when you're dealing with short run custom components, like the hull of a submarine, just because one passes a destructive test doesn't mean the others are free of manufacturing defects. You can't do useful statistical analysis when your sample size is small.
> I make trucks for real people who do real work

I wonder how much % of F-150 does "real work" and which are just "a big grocery getter that transports a couch once every 2 years".
Integrity arguments take a strong backseat to profitability arguments anyway; either they're entangled and the best thing for moderators and Reddit to do would be to act ethically, or they're not entangled at all and blocking pics from non-Canon cameras is the most profitable thing for everyone, as it retains/grows the most users.

Either way, Reddit provides value to users, because user retention is how Reddit makes money. Now, mods are also incentivized to retain users, rather than the current disconnect where a mod is actively disincentivized to retain users, given the additional burden users create for mods.
> Sounds pretty "Silicon Valley" to me, at least as far as price is concerned.

So are we going to call all EVs "Silicon Valley" now because they have expensive components? The smallest battery size for a F150 Lightning is 98 kWh. A Google search for EV battery prices shows a ton of volatility in prices due to the pandemic, but it's reasonable to assume a battery of that size is around $15,000 alone.
> The argument is that those projects prove large C programs/systems are maintainable. 'Survivorship bias' doesn't enter into it; they are large and have been well maintained.

It shows that large C programs / systems can be maintainable. My claim is that the projects became maintainable out of necessity, that is, despite C, not because of C.

Had C been opinioned around certain things and enforced maintainability out of the box to some degree, then and only then you could claim that C is maintainable, because this speaks for the general case.

On the other hand, C is not opinionated about things, so you must enforce maintainability and high standards to get around all the footguns. This is what makes it unwieldy and why Rust is so loved.

This plays greatly into the survivorship bias. You claim that C is maintainable because of all the large C projects that were forced to become maintainable. Had they not been maintainable they would not be as large or survive the test of time, and thus you wouldn't be able to cite them as evidence to your claim.

In contrast, the oxidification of a lot of software, and the rise of "better C"s that have picked up steam shows that there are languages that are more maintainable and arguably better approaches for most software as they avoid all the footguns.

NASA has strict requirements to make it maintainable, e.g. no heap alloc, so when you force yourself to not use language features, it appears that those features make things worse for you.

Edit:

Anyone care to inform me how my response falls into "low standards" for HN, and so much so that I got flagged and can not comment ?
> allow the user to opt out of transfer to squarespace and move their domain to somewhere else in the meantime

I don't mean to downplay the overall idiotic nature of this sale, but you've always been free to transfer your domains out of Google Domains at any time (or any other registrar for that matter).
Yeah someone needs to do a ranked preference test. Rank all the languages you are familiar with...
To me the perfect example of people who claim to "love math" but actually don't are people who wax endlessly about something like Category Theory (or non-classical logic), but they can't even define what a group is.

No disrespect towards any serious scholar of Category Theory or Constructivism.
For me it's insane that some people "talk" to themselves in their heads, expressing your ideas as words seems so slow in comparison to "thinking in ideas"
> move their domain to somewhere else in the meantime?

Everyone can already do this.