skysight-inc/HackerNews huggingface dataset:
Safety implications are total bs, the moment a plane that has one pilot goes down congress will pass a law than requires a minimum of 6 pilots for every plane. So that would be idiotic on the part of airlines to lobby for if they suspected significant additional risks. Also keep in mind buses have one driver and it's just as bad if a bus crashes, but I suppose you don't care since you don't take buses much, talk about "elitists".

No one is "fucking employees" when that leads to bottom line growth in a crippling and money losing industry with insane regulations and red tapes like required no smoking signs in brand new airplanes.
As a counterpoint: Sterilite has been going strong for decades (while still manufacturing in the US), and I think I paid $3.99 for my laundry basket in 2021. It looks like it can be had online (from Target) for about $5.

Plastic manufacturing is shockingly cheap, especially when the design never changes. Maybe it shouldn’t be that cheap (since it’s probably being externalized somewhere), but lots of companies are surviving (and thriving) at these price points.
Yeah, that means it extracts roughly 12 bits of information from observing a game after move 15. It takes 33 bits to pick out one human from everyone alive. You get at least 3 bits just knowing someone plays chess, so you're halfway there?

Good point about baseline.
Maybe the real takeaway from his story is to bet big in a new market
to get rich. And if you lose it all, earn more and do it again. It would have happened in the early days of the internet just the same.

Yes, it's incredibly risky but at least it has a better chance than playing the lottery. Like Nassim Taleb says, bet on things with a limited downside and unlimited upside. And if you don't try, nothing will happen.
I originally tried using htmx a couple of times because I was a stubborn backend engineer that needed/wanted to build some frontends. The idea of partially swapping subset of DOM made a lot of sense especially as a way to make old school full page reload style more modern.

However, I migrated to react-router 6.4 and it has a very similar concept of embracing web technologies and partials can be defined as an outlet of another page where only the data for the partial and dom for the partial is loaded if sub sub-tree is navigated in. They say they took this idea from emberjs.

I felt the same way as the authors of unpoly and many in this thread looking at most UI frameworks until I stumbled on react router 6.4, and it very much enabled me, a primarily backend engineer, to be productive in the frontend. I highly recommend it to people who are trying htmx but want something that is more IBM "No one ever got fired for picking react"
For quick overview read: https://hbr.org/2016/04/blitzscaling
the mode of thinking certainly hasnt changed since hardware improved, however
I don't know, are interstate highways empty? Price reduction can compete against the trips not taken at least.

Also, it might be about the availability of pilots. How is the demand for air travel doing? If it is very strong then 1 pilot per plane would mean twice the pilots in the market. Then it's up to hardware producers to supply the pilots with planes and increase market.
The one that always bugs me is when rich, successful people tell others to follow their heart or passion. It's easy to follow your heart once you're already rich. The other one is that rich people don't think about money, which is bullshit. It's all they think about, even if they don't show it.
Ask HN: What's the best book you read in 2022?
Yearly thread. It can be books published in 2022 or in previous years (but that you read this year.)
It will replace the programmer in exactly the same way as Google and Stack Overflow did. Or like calculators replaced mathematics.
Language Modelling Game
Anticipating the nightmare a lost phone would cause me means I do not use my phone for payments, banking apps, or tickets/passes whenever I can get away with it. As for MFA, I have to grit my teeth every time my phone is the backup. Losing your phone is like losing your sight now.
I hope so. We came to a razors edge of western democracy failing, in large part because of this behavior.
> You lose your ability to pay for things (unless you have physical cards with you)

So don't do that. Always carry some cash and your debit and/or credit cards. Spread out the risk (especially when travelling).

> you lose access to your email/bank/github/etc. accounts protected by 2FA so you may not be able to work;

So don't do that. If you enable 2FA, have backups and recovery codes. Assume the phone will get lost at some point.

> you may lose your airline/train tickets (unless you have a physical copy with you) so you may not be able to travel.

So don't do that. When travelling I always take the printouts of the tickets along, even if I end up not needing them.

Don't turn your smartphone into your everything. Treat it as a tool which can get lost, stolen, or broken.
Isn't there a modified MOND which fits all the observation data?
When it comes to error handling I rank things along a spectrum:

Enumerated Types > Checked Exceptions > Error values > Unchecked Exceptions.

The spectrum I'm ranking on is how much assistance the compiler gives me in ensuring I am aware of the error. Java has support for the second best option but culturally avoids it like the plague. Go has support for the third best option and culturally leans hard into it. C# and Python are ranked strictly at the bottom.

The preference in many language communities for an error handling path that encourages little awareness of the errors that can occur reeks of laziness to me. Laziness that I will, without a doubt, fall victim too without superhuman amounts of diligence on my part to avoid.

Any problem that requires superhuman diligence just screams out for a robot to handle in my experience. Java, C#, Python and a myriad of other languages fail hard here. Go gets a little better culturally by focusing on checkers that are built into the compiler toolchain with a default to running culturally as well as having type a signature for return values clearly indicate the error. But the gold standard for error handling has to go to any language that has enumerated types. Rust, ML variants such as OCaml or Haskell as common examples.
that drop between 85 and 95 is brutal. This is probably going to move forward soon. The boomers are really the first generation that never smoked and exercised as a lifestyle from adulthood.

The town my parents live in is full of old people (houses built/bought in the 1980s) and every time I go there the park is full of them jogging with their dogs, doing stretches, powerwalking... it looks like an antihistamine pharmaceutical commercial.
Java Swing is decades old (1998?) and does everything you list above. Was even embeddable as a browser applet in all major browsers at the time.
For those wondering:

https://en.wikipedia.org/wiki/Kim_Kardashian

Even after reading that I don't actually know what this woman is well-known for.
Yes, except we can have technological progress without 8 billion people, many of whom are aging ?
That number comes from Japan's own 2018 census, actually.
The mistake was designing around "simplicity" - a nebulous, unattainable goal. It's sort of like designing around "happiness" - who is to say what happiness is? Is happiness satisfaction? Ecstasy? Fulfillment? Does it require some sadness?

How nebulous it is is really well demonstrated in Pike's talk[0] where he somehow believes that a for loop is "simpler" than methods like "filter" and "map", and makes the very strange and incorrect claim that it's going to be faster as well (I suspect he was thinking "in Go" because those would be slower, given a lack of generics).

A lot of Go's design philosophy is, very bluntly, directed to bad programmers. For example, Pike talks about how a developer using a language with many features might spend 30 minutes just iterating on a few lines of code, because there are so many features available to use within that code. That is a very junior level problem - junior level programmers aren't very good at understanding that there's low return on investment for that sort of work so they coo over fancy code that works exactly as well as boring code.

Similarly, junior developers have a hard time learning features, so they have a hard time reading code that uses them and Go puts readability above all else. A senior developer should surely hear "filter and map are complicated?" and scoff but a junior developer would go "I have no idea what those are".

And there are significant constraints because of that lack of features - years of not having generics because it's too complex, for example.

We need junior developers to be able to approach new code but we also need to give powerful tools to the engineers who understand how to use them properly, especially when they're needed most.

This is why I think that Go is a bad language, but not just because it's missing some feature X or Y or Z, but because it is effectively an attempt to create simplicity by saying "you can't handle complexity". I also think it fails in its goals right off the bat because of goroutines and having some basic footguns, but that's not worth getting into.

What I think is good is that we can watch how a language built with this philosophy progresses over time. For one thing, it inevitably takes on "complexity" (generics), which I think is notable. At some point those people who love that they can jump in and know everything do actually run into the cases where those features are higher ROI (ie: writing higher performance libraries with nice APIs requires generics) and there are enough of them that they can push for those changes.

It's also interesting to watch a language grow with such a custom toolchain. Go has its own compiler, which makes a lot of sense for some of their goals, but it has also meant that they've had to reimplement (or just have not implemented) lots of optimizations.

To be clear, in case I've somehow insulted someone who writes Go, if you like Go I'm not saying "you are a bad developer", I'm saying that Go was designed for bad developers. I know lots of very good developers who like Go.

[0] https://www.youtube.com/watch?v=rFejpH_tAHM
I know nothing about these companies, but it's worth keeping in mind that this is the period after China joined the WTO and integrated deeper into the global economy for manufacturing -- so it's possible that these NJ manufacturers couldn't compete on cost with the Chinese ones, or even that these bankruptcies might have been part of an offshoring reorientation (either within the organization, or in the sector at large, which happened to asphyxiate certain suppliers). It's even possible that bankruptcies were strategically engineered by private equity to sequester profitable modules and discharge obligations, opportunistically exploiting macro trends.

Ultimately, I think the takeaways might be far more nuanced and interesting than "pricing by value" -- there's no reason customers will pay more if your competition can make and sell good products costing less :-)
The cost of handling an order of magnitude more cases is significantly expanding the service. Everyone wants excellent public police, health care or education when it affects themselves. But going from average to good to excellent public services take more and more effort. Few countries today are willing to have the long-term public commitment and taxes to make that a reality.
It’s not ‘more complexity’ than a Markov chain - it essentially is a Markov chain, just looking at a really deep sequence of preceding tokens to decide the probabilities for what comes next.

And it’s not just looking that up in a state machine, it’s ‘calculating’ it based on weights.

But in terms of ‘take sequence of input tokens; use them to decide probable next token’, it’s functionally indistinguishable from a Markov chain.
Originally, from here[1]. Large Language Models seem to be better than humans at text prediction (at least on their trained data set). So it seems like the limiting factor for AI is more the goals we give it rather than the data or the size of models, at least right now.

[1]: https://www.lesswrong.com/posts/htrZrxduciZ5QaCjw/language-m...
The concern around C-style nullable pointers is that you can't opt out of nullability; everything you point to may or may not dereference. As opposed to other designs (e.g. "optional" types leveraging generics) that are opt-in, and thus let you choose which references are always valid and which ones are not.
Well, yes. That's because we have a pretty strong prior about the existence of planets orbiting stars. It was there before we started adding planets to explain the stars wobbles.

With DM the rationale goes the other way around. What means it's not a solid explanation.

That is perfectly fine, as long as proponents don't go saying it's settled knowledge and start fighting the people looking for alternatives. When they start doing that, they stop being scientists, and start being believers.
And yet Go is much more popular than Rust.
You call it an "enormous weakening of contract safety", I call it an issue I've never once had happen in practice.

Sometimes you can't spell out that your type implements a certain interface, because it's not a type controlled by you.

Moreover, this completely kills the use-case of "define your own small interface with the subset that you actually require, instead of accepting the whole thing", which is a big part of the value-add. See my other comment[0].

[0]: https://news.ycombinator.com/item?id=33943352
I’m also trying to do this and haven’t got very far yet.

The thing I’m trying to do is write things I would have liked to read myself, because it would have saved me time in my day to day work, or because it’s interesting to me.
It's probably not unwritten. It's similar to how we conjugate irregular verbs like "sing/ring" or "beget". The topic in linguistics is called vowel gradation [0].

0: https://en.m.wikipedia.org/wiki/Apophony
I am such person, stuck at "local maximum". I do still live in my country of birth, though. One of the reasons I'm stuck is I keep thinking: "Should I invest more time in learning English, or maybe it's better to start another language? (Spanish perhaps)" ROI with learning new language seems much higher than learning more English, just to avoid occasional hiccups in my conversations.
The "luck" of many wealthy people is that they were born to wealthy parents (Walton family, Gates, etc).
It’s an American thing: there’s been money pouring into promotion of libertarianism and anti-union ideas like “right to work” laws ever since the Great Depression-era reforms lead to better compensation and rights for workers. A lot of influential writers, preachers, etc. got substantial funding and promotion for generations so now you’ll find many people who are conversant with these ideas but never really understood their origin as a coordinated campaign rather than an organic movement.
In the early to mid-2010s AI hype peaked, radical Kurzweillean ideas became sales pitches from founders, and a great wave of discussion and speculation passed through the media public consciousness.

For a time r/futurology was an interesting place for discussion, and there were really great comments to be found amidst the internet chaff .

One of the things I speculated about then was that ai doesn't need be sentient to ruin everything. Powerful tools in the hands of malicious actors could wreak havoc on the internet.

The internet could become compromised in so many ways via privacy invasions and data theft, aggressive spam, misinformation, propaganda and malicious code that nobody can reliably depend on it for much of anything any longer. One could receive a phone call from someone who sounds like their own mother, an ai that says things only a mother would know. That voice could be very persuasive.

that was the kind of stuff we talked about years ago. There were no instantaneous results, of course, and it became boring and uncool to keep going on about such things.

Nonetheless, it seems now that the tools and incentives needed to create a dystopia such as what I described are really starting to come into focus.
A Curious Astrological Confluence
> if you feel the same way and value this kind of high minded dispassionate discussion.

Shouldn't we all value that type of discussion? After all, it's most likely to lead to the objectively correct answers to questions about facts, and optimal answers to questions about policies.
"An example from Ogilvy Vice Chairman Rory Sutherland: If you’re a top executive, turning up to work on a bicycle is a high-status activity because it was a choice and not a necessity. But if you work at Pizza Hut, turning up on a bike means you can’t afford a car."

This tidbit reminds me of a similar anecdote (that my experience aligns with) re: the modern upper class that wearing a $2k Rolex or driving a $70k BMW is frowned upon. But instead they have eccentric "hobbies" requiring $10ks of of equipment, inclusive of "needing" $10k viking stove/range, and $10k subzero fridge/freezer in your kitchen because you are a "foodie" and doing a $500k home Reno because you have good architectural taste and style. They probably still own a $70k Volvo (or now Tesla) anyway :-). In these scenarios I think it's because the $2k watch or $70k car is too easily attained by lower classes that they are no longer considered signals by the upper classes. However blowing $500k renovating a perfectly livable home, or $10k on an appliance you could spend as little as $1k on.. is not.

Another countersignal that the article points in the direction of is level of professional vs casual attire in the workplace. My friends and I are far enough in our careers that personally I've worn sneakers to work for the last 10 years, no business slacks, and sporadically tuck in my collared shirt. The last round of job searching doing zoom interviews, I wore my hoodie for half the calls. If I had done this while job searching out of college, during my internship, or at my first job.. I would not be where I am today.
> A single variable being different for each galaxy isn't a problem per se. If a bunch of other factors work out with just that one adjustment, that's pretty good validation that that one adjustment is meaningful.

I agree, but isn't that basically what MOND does too? It made one small tweak to gravity, and all of a sudden we can successfully predict a range of galaxy properties with a pretty tight margin for all galaxies, where LCDM can't make such precise predictions because each galaxy's DM distribution can only be tuned after its been observed, and the number of free parameters needed for tuning means the margin is very wide. That's great for MOND but doesn't bode well for LCDM.

From direct observations, MOND is strong where LCDM is weak and vice versa. I think LCDM just gets too much credit and more alternatives need to be tried. There's almost certainly something to MOND because the observations it matches and the successful predictions it made would be too coincidental otherwise.
By Followeing my bliss. Hobies and down-time pursuits inform the next side boogie. One challenge is scheduling the free time to re-create.
Imitating the whole thing is critical when you don't really understand what is important. For example, Manioc requires a seemingly arbitrary and elaborate series of steps to prepare so it's not (long-term) poisonous. https://slatestarcodex.com/2019/06/04/book-review-the-secret...
I currently make 100% of my family's income from side projects that expanded into full time gigs.

A lot of people will answer "solve a real-world problem and alleviate your customers' pain points", but I've seen so many people interpret this in the most bizarre ways possible, go down ridiculously dumb paths and fall flat on their arse.

To be brutally honest, if you're asking how to find a product idea on HN, I don't think you'll be successful. Good business ideas jump out at you screaming, and you'll just stumble across them from time to time. Trying to artificially/rationally force this process pretty much guarantees failure.

There are people that glorify failure too, as some kind of "learning exercise", but I think for most it's genuinely painful, can waste years of your life, make you bitter and destroy relationships.
Shallow Typed Racket (2020) [pdf]
> Or just use any of the popular Go code editors/plugins which give you a "show me all implementations".

And me thinking the Go culture is against languages that tend to come with IDEs...
Show HN: Prompt Engineering Course
cool, i remember spending hours trying to understand the section in the bash manpage about profile and login shells, and seeing if it has security implications and also why just the shell behaves bezerk when deciding what bashrc or whatever file to use. turns out i just needed to read some assembly of some obsolete proprietary OS on some architecture ive never used.
The cost of maintaining up to date JS (security patched, fixing breaks in functionality afterwards, etc.) seems larger than any boutique site with 1 dev could handle. I’ve been exploring ripping all my JS out and using LiveView instead for this reason.
https://neocities.org

I was looking at my old personal web sites after working on a different startup and really felt sad about how gross social media was getting, and how money focused the web was becoming. I wanted to see creative and interesting personal websites again outside of the context of a museum.

So I coded up a prototype and, turns out I wasn't the only one interested in that.

HN readers did the first booster of funds we had that got the site started so I like to note that HN did our "seed round" and thanks for that, hope you got a good ROI.
How could that work? There's no way to tell if the sender or recipient is being dishonest.

Another common scam involves the buyer using a fake bank app to pay for goods, seller sees the money transferred right in front of them but never receives it.
Slightly off-topic, but bit related:

I'm about to start a project for digitalizing a bunch of recordings from a 1990s Sony Handycam for a film project run by a friend of mine. The quality doesn't have to be perfect, but I want to ensure I don't risk degrading the "tapes" themselves. Anyone know of any hardware that is up for the task? Doesn't have to be professional quality, but of course I want good results.

Just about to start the project so haven't had time yet to look into what hardware I need yet, maybe people here have good ideas, you usually do :)
Super happy we've finally solved the climate catastrophe ;-)
OP was talking about an issue unrelated to time formatting in the part you quote (the lack of a timezoneless time type).
> Successful people can afford to engage in countersignaling—doing things that signal high status because they are associated with low status. It is a form of self-handicapping, signaling that one is so well off that they can afford to engage in activities and behaviors that people typically associated with low status.

This analysis assumes that the successful person who engages in an activity is doing so because they are “signaling”, not just because they like to do the activity. When they do something to signal, it’s almost certain that the successful person’s “success” is driven by their ability to get others to copy their behavior, or put another way, they’re selling the activity or things related to it.

Edit: Examples are all over, but think of any product that a celebrity sells. (Heck, people even read HN because pg told them that smart, interesting people do it ;-) )
can you be more specific?

there are a large number of events

and the extension mechanism has enabled a diverse number of extensions:

https://htmx.org/extensions/

generally I consider htmx to be on the high side of JS libraries when it comes to events and hooks that can be used
What Way Is It Meant to Be Played? (2020)