skysight-inc/HackerNews huggingface dataset:
Go has real enums. All an enum does is count.

You're probably thinking of value constraints? Or, perhaps, exhaustive case analysis? Go certainly lacks those future.

And, indeed, they sound like nice features, but, to be fair, not well supported in any popular programming language. At best we get some half-assery. Which always questions if the popular languages are popular because of their lacking type systems?
Dependencies in Java are a pain in the ass.

Publishing libraries for your own consumption is even harder.

Publishing libraries for world consumption means now you also need to be a PKI expert.
So there we have it. Having babies is misogynistic and racist. Argument closed.
As someone who isn't super proficient in Java I usually find Java daunting to get started with full of buckets of "meta" issues like in my other comment.

What JVM do I use? Does it matter?

Does it matter what version I install, what if I have to install/manage multiple versions?

If I want to write a web service can I use vanilla Java stdlib or do I have to use Spring or some framework? If I use Spring, do I have to get into the weeds of dependency injection and other complexity to actually get my app off the ground?

With Go, none of those questions exist. I install the latest Go, create a main.go file, I use net/http and I'm off to the races.
I sure hope it stabilizes at some point in the future. The world population has more than doubled during my lifetime, which seems fundamentally unsustainable if everyone is to have even half the resources consumed by the current western lifestyle.
FWIW, i already regret my above comment. In common, everyday English there is an undeniably strong correlation between IQ and intelligence, to the point that the two are often used as synonyms. The article's author certainly knows that and needlessly provokes the reader with the assumption that the average reader (myself included!) will _not_ know that the two terms are _not_ interchangeable.
Like the previous commenter, I'm not convinced that OpenAI is worried about this. Anthropomorphizing AI and computers in general has been a problem since before computers existed. It's a trope that goes all the way back to sci-fi literature.

Play-pretending that AI is a human isn't any more dangerous than any other kind of play. Even a game like My Time at Sandrock has character dialog in which both the human and NPC "pretend" to be in a relationship. No one is worried about that.
Using Hugo to Build Pages from Data
Dr. Barry Marshall intentionally drank a culture of bacteria to give himself a peptic ulcer and then cured himself, as part of his study. And had to do this because he was ostracized by academic orthodoxy and funding machinations. They wouldn't publish his papers and tried to RIF him...Everybody that's at risk for developing an ulcer (or had one) owes their quality of life to the wild risks he took. Doctors aren't superstitious woo-woo and have had to fight uphill battles against academic orthodoxy that's only gotten progressively worse and more ruthless from what I can tell(see alzheimer's research fraud).

https://medium.com/doctoryak/challenging-sciences-status-quo...

“There was interest and support from a few but most of my work was rejected for publication and even accepted papers were significantly delayed. I was met with constant criticism that my conclusions were premature and not well supported. When the work was presented, my results were disputed and disbelieved, not on the basis of science but because they simply could not be true. It was often said that no one was able to replicate my results. This was untrue but became part of the folklore of the period. I was told that the bacteria were either contaminants or harmless commensals”.
The lack of physical controls, the nicks on the wheels, and secret mantras to open rear doors in case of power failure is what currently keeping me from buying a tesla.
Yes!! I opened an issue ( https://github.com/wez/wezterm/issues/4917 ), and not only did he answer it and my side question, he merged the two PRs I made to fix it super quickly!
How is the dart backend story? I've not heard much about people using dart on the server, are there mature frameworks out there?
Yes, i literally sometimes need to manage dozens of machines at once, all with various tmux sessions monitoring tasks etc. being able to use the same keybinds for split pane, move between pane, smooth scrolling WITHOUT entering tmux curses based scrolling mode, and local buffering... number one reason i main macos after using linux for decades.

EDIT: the command is `tmux -uCC a` to connect to a tmux session, works locally and works over ssh. spawn the tmux session normally, disconnect, then connect via command mode for best results. you can still spawn a new one with just `tmux -uCC` but i have found i can get some issues when i spawn it in command mode vs attach in command mode.
That feels like a slightly different can of worms, though.
Clickbait content brings more via an organic process (because people actually want to click on it). The type of de facto censorship I’m talking about is anything but organic — it’s an unnatural distortion imposed on creators and consumers who don’t want it.
“No one wants to sacrifice their standard of living”

Has no one explained that individual sacrifice is not the solution to the problem?

In 2024 why are we worried about AI using too much electricity? Because we never decarbonized the grid. 25 years of saying “let’s use nuclear power “ was shot down. Not to worry, global peak fossil fuels by 2030.
Do you write Go for fun as hobby, or do you agree with the OP?
Do they work harder because they attended elite schools or did they attend elite schools because they worked harder?

It’s all multipliers: a bias existing doesn’t mean that there isn’t also a factor that relates to the quality of the education. You’re more likely to attend a top university if you have good contacts, good finances, and good test scoring already — those are also probable significant factors to whether you’ll successfully start a company. Location also matters–and at least in Europe–VCs, engineering staff, and top-tier universities are often in the same area.

None of that is dismissive of the schools’ qualities, but all those factors contribute to a bias that likely exaggerates the reader’s perception thereof.
And yet, we are discussing a movement that wants to artificially increase birth rates that have fallen too low for their tastes. It seems you don't actually need to force control birth rates, just give women agency over their own lives.
This reason is precisely why I got an implanted RFID chip. When I lived in apartments, I would _constantly_ lose my door fob. It's much more difficult to lose the chip if it is part of you ;)

(I wouldn't recommend embedding an Airtag though, ha)
The author has said the title is a reference to the Lenna test image: https://en.wikipedia.org/wiki/Lenna. Possibly another influence though.
> its lesson 'isn't really to tell us which viewpoint to take

When the analysis is intended to inform a decision it’s important to take the appropriate viewpoint.

https://ftp.cs.ucla.edu/pub/stat_ser/r414.pdf

https://www.unige.ch/cisa/files/9616/7501/5107/CISA_BM_stats...
I'll always remember him for his fantastic performance in The Shining.
It depends on the type of signal. If it's non-linear and chaotic, sure. If its periodic, or has sustained trends, this approach is the basis for most engineering and science.
Windows' terminal has integration directly with WSL2;
https://github.com/microsoft/terminal
Will be interesting to see how Intel recovers if at all. Actually, is there today (or since 1 or 2 years) any reason to go with Intel on desktop or server?
Why Inflation Still Feels So Bad
> When it's presented as an alternative to being properly open source - as it is here - then it absolutely is open-washing.

No, it's being presented as an alternative to being properly closed source.
> The idea that there are sources you can trust to do your thinking for you is the more dangerous illusion in my opinion

The difference between economically successful countries like the US and the peripheral countries is we are a high-trust society.

I don't spend 100 hours chemically testing my food because I have faith it is safe to eat. I don't waste money on scam after scam because I have faith most businesses are legitimate. If I'm a business, I can order stuff and more stuff and I trust the spec.

Our outsourcing of that trust to other people is what makes us economically successful.

Other countries which don't have this trust focus on basic tasks. Gathering food, water, shelter, and basic infrastructure. Because ultimately every man is out for himself. They aren't building software and airplanes and whatnot. Because as complexity increases, the more people are involved and therefore the most trust is required. Trust is required because of the fundamental limitations of human meat space - we have limited time and survival needs.
My use case was a bit different: I was trying to use Chromium Headless in Playwright as a simple way to render a element on a page, I experienced tons of random "Page crashed" and "Timed out after 30s" from Playwright.

Switched to Firefox Headless and these issues stop happening, in fact, switching to Firefox made the renderer ~3x FASTER than Chromium Headless!

The Blitz project seems very interesting and is actually what I needed, because I'm using a headless browser as an alternative because rendering everything manually using Java Graphics2D would be a pain because the thing I'm rendering has a bit of a complex layout and I really didn't want to reinvent the wheel by creating my own layout engine.
I don't see a contradiction. Self belief means you believe that you can accomplish what you set out to so are willing to bet on yourself and take risks. Feeling like an imposter is a motivational drive from the other end of the spectrum pushing you to continuously improve, holding yourself to a progressively higher standards, and never resting on your laurels.
That's why I love Go so much.

You want to write a very clever library using elegant abstraction and generics to have a cool innovative interface to solve your problem? Tough luck, you can't. So instead, you will just have to write a bog standard implementation with for-loops and good old functions which you will have to copy and tweak as needed where you really need something more complicated. It will work perfectly fine and end up being very readable for you and for the other persons reading your code.

Go is basically anti-Haskell. It forces you to be less clever and that's great.
Exactly, that's the same question. At least the parent I replied too is a bunch of open source scripts that anyone can monitor. But I'm not sure I'd install a closed source OS
Gift article: https://www.wsj.com/economy/consumers/inflation-costs-housin...

https://archive.ph/YS1cF
It feels like I've been waiting for an invite a long time now. I'm eager to try it out.

Then again, I should probably try WezTerm first.
Nutrition, pollution, exercise, and education are strong factors. Beyond them, I wish I could ascribe it to low-IQ immigration, but I can't because it seems to be down across the board. I blame it on grifter culture whereby most jobs don't require a demonstration of actual competence, either because they're bs jobs or because they're for bs companies or because they have no enforced obligation to perform reasonably. Grifter jobs lead to a web of grift which will end only when the currency collapses, and can no longer pay such individuals or organizations that don't bring sufficient real value to offset their paycheck.
Excellent article, with multiple directions of rabbit holes to descend. I liked the linked essay on "The Bitter Lesson": http://www.incompleteideas.net/IncIdeas/BitterLesson.html

I liked the Mastodon thread linked from the appendix, re Dave Sirlin's theory of "scrubs" (who'd eschew the post's geometric tactic) versus "good players": https://mastodon.social/@danluu/110544419353766175

Which in turn links to the original imgur post describing the Warhammer 40K match between Wheels and Shooter: https://imgur.com/a/V0gND

+1 to nemetroid's recommendation of "So Clover," which is indeed more of a pastime than a game, but it's still great and belongs on any list of great word games.

I also like "Contact," which is playable without any props: https://quuxplusone.github.io/blog/2021/11/12/contact/
Show HN: Vox – Listen to articles using a static website and OpenAI TTS API
Hey HN,

I made Vox, a static website to listen to articles using OpenAI's text-to-speech API. For an article of about 2000 words, it will set you back about 15-25 cents. It uses IndexedDB to provide a searchable history of all articles you have converted in the past along with the audio and transcript. There's also an option to fetch the article text via archive.ph.

You can also install the website as a PWA (on iOS, click the share button > "Add to Home Screen") to your home-screen.

The code is open-source: https://github.com/prasoon2211/vox

Word of warning though - I'm not really a web-dev so this was pretty much all developed using Claude and Cursor.

I made this because I love listening to podcasts while I go on walks. Problem was, most content I consume is long-form articles. The safari browser on iOS does provides basic TTS but it's just not a good listening experience because of the poor quality of Apple's TTS. This app finally allows me to listen to articles just like podcasts with near-human quality TTS.

OpenAI API was the easiest-to-use TTS provider I found though it's probably not the cheapest or best quality. I will be looking into adding cheaper providers. I also tried running TTS models via WASM in the browser but the audio quality is just not good enough!

Potential Issues: Vox uses a variety of freely available CORS proxies to get around CORS limitations but a downside of that is that sometimes these proxies refuse to work if there are too many requests from the same IP. If this happens, please feel free to either run the app locally OR deploy the dist folder on netlify. I'm looking to getting around this limitation and open to suggestions.
I sent out about 8 copies of this book to friends/relatives for christmas a couple years ago, and it was very well received. It's not without flaws, but it's absolutely packed with novel concepts, relatively short, and provides a unique experience for unsuspecting readers. The physical book cover is quite good looking as well in my opinion.

I also loved Ra by the same author, but it felt a little messier plot-wise, so I hesitate to recommend it to an audience who isn't already accustomed to reading "out-there" online/sci-fi/rationalist fiction.
Opinions aside, they just don't have the resources for ports. That's the shame: that this project isn't more popular.
Linux doesn't have this problem anywhere close to the way Haiku does.
> but majority of the code cannot

Do you have a citation for "cannot"? Maybe "prefer not because of non-functional requirements" but if it's a choice between a ~~webpage~~ ad vector loading 10 seconds slower versus the goddamn plague of RCEs coming out of Chrome, I know which one I'd take
Yes, why wouldn't those that trained some disciplines for years want to have their fate decided by complete randoms with no judging experience in their sport!?
If macos, it's maybe the same issue as https://github.com/wez/wezterm/issues/2669 . There's a config fix there that fixed the lag for me
A big yes!

polyunsaturated vegetable oils!

Especially when eaten with vast amounts of carbohydrates.

They might be good as fuel for cars but they are not good fuel for human bodies.

I find it amazing that 75% of my calories intake comes from saturated fats and yet my cholesterol is well below the acceptable level.

The only fats I eat are: Cheese, butter, full fat double cream, coconut oil, extra virgin olive oil and avacado oil.

Eating lots of fat does not mean high cholesterol.

Its about eating quality fat that the body can digest and use.

My ex-partner was a personal trainer and she told me years ago that when you eat good fats the body takes what it needs and then passes the excess out.

If you eat margarine or polyunsaturated vegetable oils for instance, the body does not know how to deal with this man made fat so the body stores this fat because it does not know how to get rid of it.
Iterm2, as parent mentioned.

Run tmux -CC on your remote server in your iterm2 and you’ll get native windows for tmux panels
Ok. In that case well done! You are policing the internet, telling everyone who's wrong they are wrong and "who dont get it", that "they dont get it".
And they work slavery hours,6 am to 1am
8 billion (today) to 10 billion people (~2100) is not a reasonable steady state based on all available evidence. We'll head towards half that over the next 200-250 years as total fertility rates approach 0.5-1 on average, and 4B people is certainly more approachable to support sustainably vs 8B-10B (under the assumption of living standards somewhere between Europe and the US). South Korea is at 0.72, China at 1, Japan at 1.2, Mexico City at 0.96, (all 2023 figures as of this comment) and the rest of the world is not far behind.

> The status quo that we’re on track to - already guaranteed in some countries - is a moderately rapid population decline.

This gets us to steady state.

https://www.theguardian.com/global-development/article/2024/...

https://www.un.org/development/desa/pd/sites/www.un.org.deve...

https://ourworldindata.org/fertility-rate
Public beta is planned for this year.
We've had this in California for a couple of years now. It's great! Cancelling subscriptions has been a breeze since it passed.

In fact, a great workaround for anyone else in the USA is to set their home address to California, and then they get the magic unsubscribe button that was otherwise hidden from them.

It is nice to see the administration doing things to help regular people.
Roman Emperor Nero introduced these in the year 67 AD during the 211th Olympiad:

- Heraldry
- Lyre playing
- Chariot race with foals
- Chariot race with ten horses
- Tragedy writing

(He won all of these competitions, of course, despite having crashed during chariot racing.)
Tbh, it's not that "hard" nor is it hard to make it more convenient.

I've actually built a small tool that has the UX of regular SSH but under the hood reboots into rescue, configures the keys and opens an SSH session. Once you close it, it reboots back into regular mode.

I've wrapped that tool again to then build a tool that takes just an ignition config and automatically images a hetzner server with fedora coreos using that config.

You could easily build your own tool that reboots into rescue, installs a VM, mounts all the necessary devices, boots the OS image, and exposes the serial console of that VM to you.

It took me a while to learn to love Hetzner's solution, but I prefer it over having to use shitty proprietary KVMs.
That’s not how birth rates work. As a population shrinks, its birth rate goes up because the population share of old people declines.

A species producing babies is not extinct, by definition.
Neovim is the obvious example here, also relying on Lua.

Neovim of course also supports Vimscript, although writing anything more complex is much nicer in Lua.
Nah, I love Calibre but he has lousy opinions that he has to eat over time (he migrated Calibre to Python 3 after all).
it was a good read. but i also note the date on it is Dec. 2021. perhaps things have changed (i have no idea). i do think it is a risky business to change your car's interface with an update!
I loved Sherlock Holmes. So gripping and evocative. Couldn't wait to get back to reading after lunch. Felt like skipping food just to keep reading. I liked this boxed set. So cheap and lightweight. Cover is great too. The intro in this edition "On the Significance of Boswells" by Loren D. Estleman is so memorable. I miss those times.

https://www.penguinrandomhouse.com/books/225999/the-complete...

ISBN : 9780553328257
this book messed me up in the midst of reading it (i guess in a good way?). I've never had anything resembling a panic attack and i had to put it down and get up from the cafe that I was in and go for a walk. It really "incepted" me and made me question reality and memories. I eventually came back and finished it, (thought the first half was stronger than the second) and I was fine. I have alzheimers running in my family so I think I was a bit more predisposed to existential fear around memory
Already counts in pistol shooting (and probably other target shooting). The slower heartbeat helps.
The sequel Making It All Work mentions a tidying strategy of first putting everything that's out of place into a big "bucket" (e.g. laundry hamper), then dealing with them one by one.
I'd seen this running in a browser before (the ~3MB download is really impressive for that), but I hadn't clocked that it runs server-side with Node.js and Bun as well: https://pglite.dev/docs/

Since that's still not spinning up an actual network server, that feels like it's an alternative to SQLite - you can spin up a full in-process PostgreSQL implementation, that persists to disk, as part of an existing Node.js/Bun application.

That's really interesting!

I'd love to use this from Python, via something like https://github.com/wasmerio/wasmer-python or https://github.com/bytecodealliance/wasmtime-py - has anyone run PGlite via one of those wrappers yet?
Ask HN: How to designate a browser profile (window) via URL pattern?
This has been bugging me for a long time. I have multiple Chrome profiles and a browser window open per profile. Inevitably, I click on a link in a different app and it attempts to open the link in the wrong browser window. The default seems to be the last window used.

Is there a solution which would allow me to open links in the "correct" browser window? This would include allowing me to define url patterns and map them to the correct browser profile (window).
> he answers questions from newbies and enhancement requests are far more polite and charitable. His ire seems to be reserved for fellow programmers.

Like the old Linus. He also over-reacted but there was atleast some reason behind that.
I got a kernel panic using Safari on an iPhone.
Rust Project Goals for 2024
Grimdoomer / XboxImageGrabber
There is no real prospect of a "Yellowstone event": https://www.youtube.com/watch?v=ypn3Fe_PLts

We could effectively geoengineer one by pumping things into the upper atmosphere ourselves, but there's a lot of questions about that and we have no idea if this would help more than it hurt.
Knowing China and Russia they'd probably use it to crack down on dissidents while ignoring it when it comes to their friends.
Bowling lanes are a bit more involved than a race track, but it doesn't seem that involved. It's basically waxed wood flooring with some dividers. You can just put that down in a regular stadium for a couple days.

Normally bowling alleys are expensive because of the machinery, but the Olympics aren't lacking in manpower. Just dedicate one person per lane to manually setting the pins. If you dress them up a bit that can even add some visual flourish.
I drove my spouse crazy with this because I'd put his stuff in a pile in the same place every time.

He'd get annoyed with me because I moved his keys from the microwave and put in next to the rest of the keys. Apparently that was his spot for his keys.

The way I 'fixed' this is I got a little basket for his keys and now he gets after me because I leave my keys on my desk.

One other thing that would cause turmoil was mail. We would get mail in then dump it on the counter. I would sort it into piles but apparently the pile was an efficient storage method. Now we have inboxes right next to the door, even our dog has one for all of her stuff because before we'd place her leash wherever she wandered off to when she walked inside.