skysight-inc/HackerNews huggingface dataset:
I found TypeScript to be _incredible_ once you use a runtime validation library like Zod or io-ts.

TypeScript itself has a great type system, but the culture in TS is to use `any` at the boundaries of your app, e.g. in parsing HTTP requests, local storage, URL routes -- any data outside of the type system. This greatly reduces how much a type system can help you.

Zod, io-ts, and other similar library, allow you to enforce type constraints at runtime in a very sleek, easy way, and they don't require you to write your types twice, either.

I've found that this makes TypeScript feel almost as safe as languages with much better type systems, e.g. Haskell.
Yes, this is how evolution works.

It may seem cruel and inhumane but the end result is the weak are being removed from the gene pool for the greater good of the species survival.

You can't fix stupid but mother nature can and will weed it out over time --- if science don't get there first.

https://nautil.us/super_intelligent-humans-are-coming-235110...
Well written and rigor aren’t highly correlated. You can have poorly written papers that are very rigorous, and vic versa. Rigor is often another checkbox (does the paper have some quantitative comparisons), especially if the proper rigor is hard to define by the writer or the reader.

My advice to PhD students is to always just focus on subjects where the rigor is straightforward, since that makes writing papers that get in easier. But of course, that is a selfish personal optimization that isn’t really what’s good for society.
That doesn't seem right.

https://vitess.io/docs/16.0/overview/architecture/
Which is less than 10% of the US military budget. And a significant fraction of these funds when to the US military industrial complex (though an argument can be maid that it is not helping US economy even if the money spent in the US).

Also interesting to know how the US is funding Iran.
XetCache: Caching Jupyter Notebook Cells for Performance and Reproducibilit
I can imagine an AGI that might appreciate the beauty of self-replicating intelligence designed only by the pressures of the natural world, in the same way that we might appreciate the occasionally brutal beauty of a healthy forest or an ant hill or something like that.

I could also imagine the extreme other end of an AGI that in built on something analogous to a modern LLM, where it's views of the world are so intrinsically human that it is fascinated with all aspects of the human experience and keeps us around like pets.

In short, I think the only reasonable outcome is that we become something somewhere in between pets and residents of a wilderness preserve.

In neither situation are we members of something like a society we might recognize today.
How does this compare to using RabbitMQ’s MQTT plugin?

https://www.rabbitmq.com/mqtt.html
Gemini is like modern Gopher, but it is also very opinionated. The protocol does not support extensions and revision, it refuses HTTP, mandates TLS, etc...

That's not the same as having browsers support the markdown content type.
The industrial design of the 2016-2019 MacBook Pro was under his purview, from what I understand. That obsession with thinness over the functionality of the device put them at odds with the chips Intel was producing at the time. In some ways, his passion for form over function maybe forced the Apple Silicon transition sooner to get away from hot, power hungry Intel chips.

Either way, since his seeming marginalization and departure from Apple, the design of their devices haven't suffered aesthetically and they've gained significant function.
Some stuff can always slip through for sure but when more than half of the ads are looking illegal, that's going to be hard to invoke that they are doing due diligence.
People think differently. A pedantic paperwork processor can be gold in the right position. An inspired create type needs a different job.

Are we planning to create AIs with different kinds of 'intelligence'? Or will we all be ruled by the same rote idiot-savant rule-lawyer in every position, making our lives miserable?

An old joke: The best world is French cooks, British police and German administrators.

The worst? British cooks, French administrators and German police.

What kind of AI are we planning to deploy?
The Plan:

Convince Western countries, which are mostly some form of republic or a parliamentary system emulating one, to lower their citizens' living standards, in order to theoretically set a better example of resource usage for developing countries, who will 100% ignore this supposed role-modeling anyway because they actually want the best possible living standards, like most people do, and they have a point that even if we start limiting things now, we didn't artificially limit ourselves for the past 100 years, so why should they not get their turn at cheap growth?

That's a pretty tricky plan. Just asking voters to accept even minor inconveniences like "Hey maybe let's not install indoor gas stoves in new construction going forward because they literally poison our indoor air" was met with fiery rage. Telling people they'll have to just consume a lot less plastic, fuel, etc. to leave more for developing countries is political suicide.
Prisma Client Rust: ORM for type-safe database access
You assume that it is all linear which it may not be. Osmosis at power P may produce X litres of water per time unit while osmosis at power 4P may produce only 2X litres per time unit. And thus be viable only when the electricity price is N times lower.
In the 1950s, there were British "Teds" who affected the clothing of the Edwardian days forty years before. Some of them, I guess, were thugs. But deliberate anachronism isn't entirely new.
That sounds like a challenge!

> ChatGPT CEO: Our company has spearheaded the development of Quantum Neural Cloud Computing, a revolutionary paradigm in the realm of artificial intelligence and data processing. We've seamlessly integrated quantum computing principles with neural network architectures, creating an unparalleled synergy that redefines the boundaries of computational capabilities.
That's an incredibly bad deal then.
Well, please tell us, how are you adding AI?

I say this only one-quarter sarcastically, I would genuinely like to know. The only real applications of LLMs that I have seen so far are devs "learning" new languages.
Evolving UX Design: Reduced Cognitive Load with an Anti-Dropdown Anti-Modal Form
“It’s very lonely being the only correct investor on Wall Street”
We have fossils that are > 3 billion years old. While subduction does steadily erase the past, not everything subducts. See:
https://en.wikipedia.org/wiki/Craton
I read some analysis that we should be promoting plug-in hybrids rather than electric vehicles. That would spread limited batteries over more cars. A range of 50 mi would be enough for most commutes. Long drives would be covered by fossil fuels.

The result would more people using electric than current electric cars or your proposal of local electric and ICE vehicle. The question is if it is worth pushing now. It might make sense to have incentives cover plug-in hybrids and push car companies to switch existing models.
Oh the peace is happening, just not the type you’d like to see. Maybe you should move back to Russia and verify your enthusiasm, boy.
Strong handed IP enforcement is hardly the only thing Germany, the US and South Korea have in common. Etc for the other groups.
That was the Element. I had a few friends with those and they always felt weird to me as a passenger. Not sure what it was but I never felt very comfortable.
"Don't visit the website" is as simple as it needs to be.

This is HN. 90% of the time, the nitpicking here isn't about computer security, bandwidth efficiency, free speech, or whatever the high-minded principle of the day might be. People nitpick because they don't like something about the website, full stop.

It it wasn't the design, it would be the ideological bent of the writer. If not that, it would be annoyance as to why they put up an email signup form or use an analytics script, as if those aren't present on any of the other websites that are
featured on the front page every day.

I'd wager that a good chunk wouldn't be happy unless they can extract your article into their homemmade RSS reader.
Brace yourself, but the classic rock station around here plays tons of stuff from the 90s and even early 2000s.
Fly.io claims it’s “just a VM”. But, Fly.io Machines are an abstraction of microVMs using Firecracker. Building upon that, the FKS implementation is an abstraction on top of Fly.io Machines. So what I’m asking is how, if even, does the FKS implementation support multiple containers for a pod? Using FKS, the abstraction is no longer a VM.

It seems that Fly.io Machines support multiple processes for a single container, but not multiple containers per Machine [0]. This means one container image per Machine and thus no shared network namespace across multiple containers.

[0] https://community.fly.io/t/multi-process-machines/8375
Love that you have 3 sample apps with it. Any well known applications using this right now?
Nailed it. The thing weighed like 100 lbs too.
if you think Jony Ive didn’t have the ultimate say over which ports, user interaction facilities, etc. were on Macs, you are sorely mistaken.

Apple was (and still is) a very design orientated company and the design group is very much in charge.
Checknthrowup238's response elsewhere for a great response. You seem to recognize the properties of PFAS but wave away the risk over time.

Like asbestos, we should shelve this substance, even if it's good at what it does.
It really depends on the weather. You can see my monthly generation at https://pvoutput.org/aggregate.jsp?id=83962&sid=74451&v=0&t=...

Sometimes May beats July, sometimes it doesn't.

If you're interested, I have released all my panels' data at https://gitlab.com/edent/solar-data/
Nope, Amana Radar Range
Personally speaking I've never purchased/owned/used a cell phone and yet I feel I have more familiarity with the underlying technologies than probably 95% of cell phone users today.

I don't believe whether or not someone has adopted a given technology has any kind of clear correlation to their understanding of it or ability to use it were they to elect to. I know plenty of people who are up to date with the latest fads and yet dumb as rocks.

I think the kid will be just fine.
Another plus is Ventoy can install Windows 11 without secure boot, TPM from an official MS ISO. Some Linux distros cannot install with those features enabled.
I wonder if it's related to being a USB 2 stick rather than 3? Different drivers and perhaps UEFI handles it differently
We need open-source AI [video]
First guess would be that there isn't a deceleration curve when the phone is dropped, like there would be when thrown up.
> The other conclusion I've come to is that web designers way overcomplicate stuff.

I mean, there's a floor right? The floor being that you need a server that can respond to HTTP requests, yours or otherwise; you need said server accessible from an address to which you can map a DNS record to; and you need HTML files that can be served in response to that request. Few of these are free, but many can be had for very cheap.

> So I don't want to do a Facebook page. What are my relatively low-cost options?

Amazon S3 with Cloudflare in front of it and a domain name. Probably about $15 per year unless you manage enough traffic to get billed by Amazon.

> Well, I can have a really basic HTML site but that's a little late-90s.

I think that's a little reductive. HTML sites can be just about anything and they can be quite fancy if you're willing to put the time in to learn something like Jekyll. As a side hustle I maintain a couple of basic HTML websites for local businesses, and just bill them for the annuals + the time I spend tweaking things for them, which thanks to my workflows, isn't much.

> OK, a Wordpress site then. .... I'm willing to spend some money but I haven't really found an answer I love.

I mean, that's just the platform-ification of the Internet described. There's a floor of technical requirements and software experience required to publish on the Internet, and the vast majority of people like yourself do not possess it and aren't interested in acquiring it. That's fine, but it's akin to saying "I want to print a newsletter but don't want to learn how printers work." You've selected yourself out of your own goal.

HTML, CSS and a bit of JavaScript can make dynamic and beautiful websites. But it's not without a learning curve, and if your response to that is "well I want to do this without learning HTML/CSS/JS" well, that's the central conceit of Facebook pages, Shopify websites, and Wordpress.
Am I understanding correctly that the Numpy one doesn't actually use Numpy to do the calculation, but just to store the data? If so that's a super disingenuous example. The speed of Numpy comes from being able to stay in C for the entire hot loop.

EDIT: I tested it myself, also using ChatGPT to code it for me.

>>> can you write a cosine distance function using numpy?

def cosine_distance(vector1, vector2):
dot_product = np.dot(vector1, vector2)
norm_vector1 = np.linalg.norm(vector1)
norm_vector2 = np.linalg.norm(vector2)
cosine_similarity = dot_product / (norm_vector1 * norm_vector2)
cosine_distance = 1 - cosine_similarity
return cosine_distance

The original list one takes 161us on my machine, passing a Numpy array to the original function takes 750us, and using the native Numpy function takes 6.24us.

Using Numpy correctly makes it >100x faster!
the point of zig is that there is no FFI to get right
iMessage in the EC has a share of less than 10% of the market. Here is the list of gatekeepers and the platform services affected: https://digital-markets-act.ec.europa.eu/gatekeepers_en
At least to the specific, valuable role of a UX designer, the biggest problem with Figma is it has no opinions or affordances for improving HCI. The best UX designers have strong HCI opinions and Figma does nothing for them. It is fundamentally a tool to (mis)-style lists. So it is unfortunate it is adopted as much as it is, UX designers should be spending their intellectual energy on more scientific stuff.

> It points to an organizational mess rather than a Figma mess

The two are related. It's like Conway's law.

Figma has some pretty generic opinions about how apps or shit should be made. (https://www.figma.com/blog/working-well/). Like it has this collaborative editing multiplayer thing going on, but you could just ignore that, many bosses effectively use it to tell subordinates exactly what to do without any feedback. Nonetheless they have countless public materials espousing the things it can do and how using those features to the max, especially collaboration, is the Right Way.

However if your way of doing things aligns with its unique value proposition, such as by requiring many people to collaboratively turn simple lists into confusing lists, that is bad.

If you lean into what Figma writes is "Working Well," you will create an app that looks and feels like Spotify. That is what I am saying. It's on Figma.

This isn't a fringe opinion by any means. SAP users get the most success from conforming their business to the way their SAP vertical solution says to do things. Git is also opinionated.

Jira had an opinionated way of working, Agile is a manifesto for how people should do stuff. One task, exactly one assignee is really radical! You can go and read about Jira and Asana saying "no" when people ask to allow multiple assignees. Trello got rid of that, assign as many people to a card or task as you'd like, it's less opinionated, and in my opinion, it's an inherent flaw. And woe be onto people who use Trello, that is telling me right away that they are going to be slower than Jira and Asana users.

> Figma doesn’t address the entire picture yet

The core dynamic they provide software for - and this is just as true of Google Docs and Sharepoint - is that BigCo employees need to touch things and get credit. Every BigCo I've worked with, without fail. There are like 10 people on meetings, and 9 people don't do anything but they use the stuff they touch and the calendar entries as collateral in their performance reviews.

Adobe dodged a huge bullet with this one.
> They literally have no other choice...

Sure they have (had) another choice: they could have taken employment at a more stable (possibly public) company, where compensation would have been more predictable.

But they chose to work at a smaller, private company, and accepted private-company equity as part of their compensation, which 9 times out of 10 ends up being worth zero dollars. This idea that they're somehow entitled to a payout is ridiculous.

The situation that the VCs and founders are in is often enviable, but isn't really relevant here. Regular employees need to be financially responsible about accepting jobs with private-company equity comp, and not expect miracles. That's the bottom line.

(I agree that "holding the bag" is a weird way to frame this, though.)
Something most people don't see as an anachronism, but apparently it is:

striking a match

I saw a Boy Scout earning his merit badge in fire-building. His first task was to start it with a match, and then he'd move on to striking a flint, or something.

So he was holding the box vertically, and striking down with the match. A moment's thought will tell you the flame will, quite likely, burn your fingers.
Some git executive from Pontiac told a story of meeting an Aztek engineer at a company gathering. They explained how they were proud of their part in the car, the engineering, the design tradeoff, the schedule constraints.

Then idiot executive lambasted the engineer (in print) as an example of some deep misfunction where anybody could be proud of something that didn't sell well.

Typical executive blinders - everybody should think like me and do my job. I remember being pissed at the exec, a narrowminded clown, throwing blame, taking none himself.
I thought most people embraced CD's because they were a massive improvement over tapes.
I will take your word for it seeing as you are/were on first name terms with them both, suggesting this is all first-hand knowledge.
Isn't Goodreads just another Amazon advertising platform at this point?
It’s not about the time it takes to build the car. It’s about the fact that I can’t start and end the purchase in a single session, even though the purchase flow mimics the purchase flow of other online goods.

If BMW let me configure a BMW, put down a deposit, and provided me with a delivery estimate, I’d do it. In a heartbeat. But I can’t.

Imagine if Amazon worked this way. You do a search for a new backpack. You get to the page with the backpack you want. You select the size, color, number of pockets, everything. You add it to your cart. Then when you go to pay, Amazon puts up a screen that says “Thanks! Give us your phone number and someone will get back to you. Or, just visit your local BackpackMart and show them the configuration you want.” Hell no! Amazon has perfected the frictionless checkout. Car markers haven’t, because they’re stuck with these worthless middlemen who provide no value to the process whatsoever.

The fact is, I don’t really even want to customize my car down to the stitching. I just do it because the interface on the website makes me do it.
AI-generated fake nude photos of girls from Winnipeg school posted online
Self-Hosting Dub.co
An end-to-end guide on how to self-host Dub.co – the open-source link management platform.
I dont think that weakening our rival and escalating hostilities is actually in the US or global interests, and I dont think 500K casualties and 6 million refugees is worth the price.

Eastward expansion of NATO does little to advance western security, increases the chance of more hostility, and brings us closer to MAD.

Finally, we arent "Juicing" our economy by spending our own money to bomb Ukraine and kill some slavs. It generates no lasting growth and leaves debt.
Google Chat on my 2008 Blackberry (XMPP client) was the fastest IM experience I've ever had. I finally understood the meaning of "Crackberry" when I had that setup. The combination of the instantaneous speed and keyboard was something I haven't experienced since.
One of my former cars had a distinctly police car outline for the time and location that I owned it. When I drove speed limit I noticed a the same effect, especially certain lighting conditions like if I was driving into a sunset. It's a worse situation because some (or many) people are literally afraid to pass what they think is a police car.

As others have pointed out. If not in a rush, driving slightly under the speed limit is very relaxing.
What does "parentifying" means?
Show HN: A Website Scavenger Hunt
Hello HN! I made a scavenger hunt on my website in which you need to find the different background images I use.

There are 2,000 pages and four different backgrounds to find. How fast can you find them?

I am sharing this here since a few people have already tried this and had fun. I hope it brings some joy to your day!

(Resist sharing the answers, but the details of the technical means by which you find them would be interesting to know.)
I’d love to be wrong about this, but I don’t think I am.
Dropping a phone will result in an immediate change from normal 1g gravity to freefall. Throwing it will involve a brief spike of high-g acceleration in between.
My hypothesis is that it's not a choice, thank you for your comment!
I did some experiments. My record is 3,1 l/100 km at around 90 km/h mostly downhill adding around 30 min to my 2 hour trip.

Not having to take over is the best part of it.
I agree Tesla's touchscreen is perfect.

I would love to disable few things in UI (i.e. some minimalistic mode with speedo only) but it's fine.

What I do hate with climate is the stupid vents. I know many people hate when wind blows to their face, but I love it and it's impossible to get it right in mine. Even if you dial it down to be barely acceptable it seems to reset after each drive.
It’s used widely in the Kubernetes world and is known as sidecars [0].

[0] https://kubernetes.io/blog/2023/08/25/native-sidecar-contain...
For me it's just knowing the option to self host exists.

Of course as long as there's a $X/mo cloud version available I'll almost always go with the hosted. But knowing that in case xyz startup goes bankrupt I could maintain the service myself is a great safety net.
I hit a compiler bug in rust and downgraded it to an earlier stable version. That’s usually enough.
I used to live in the 90's, it was alright, I don't particulaly miss it.
> The shadow libraries make no money by sharing books, instead the librarians risk prison for doing it. So there is no incentive for them to include AI spam books. There is also very little incentive for creators of AI spam books to try to have them included in the shadow libraries.

That's just one incentive. There are others, like ideological battle (e.g. flood the last good information channels with generated myside propaganda, which then will motivated a counter-flood of otherside propaganda, and the mean of the floods isn't truth).

And in any case, ads make a lot of money, but what exactly is an ad anyway? Is there any particular reason an ad can't take the form of an AI-generated spam book in a "shadow library"?

The taint will follow the users.