skysight-inc/HackerNews huggingface dataset:
You can use plain old 'wc' to count lines. Most of the Linux kernel codebase is drivers. 2nd most is architecture specific code.

I don't know what's the actual count of lines of code that I actually have on the kernel compiled on my specific x64 machine, but I think considering how many significant changes were made to the Linux kernel over the years, I don't think it's a victim of unnecessary bloat. The various virtualization features alone were industry changing features.
To expand a bit on what Aaron said, 2022 was a year where the company experienced drastic culture changes: introduction of levels, new VP&director-level leadership with more traditional / "big corp" management styles, push to hire junior engineers, decrease in transparency during decision-making, to name a few... These changes have alienated a lot of people who self-selected for the unique culture the company had, which was truly remarkable.
LocalCDN died for this..
This isn’t about validation. They check to see if it is a real email address.
I'm personally in the category of wishing government just set some very basic limitations (max height, lot coverage, maybe light output at night, max noise output, basic electrical and plumbing interoperability and then stamped approved on every proposal that came in within the spec in a very short period of time while telling everyone who doesn't actually own the land to STFU.

So, while I don't agree every building deserves appreciation or preservation, wishing everyone would STFU comes to the same conclusion that things should be built if someone is willing to put their own money up to do it and it doesn't violate very basic rules (what those rules should be and what should be zoned under what set of rules is a whole different discussion).
I've downvoted you because COVID, while less likely to harm children than adults with comorbidities, was still a danger. I know because I had to take my 9-month old son to the hospital twice when he caught COVID. He developed a fever over 104 degrees both times, threw up anything more substantial than water, and barely responded to anything because he was exhausted but unable to sleep with the discomfort.

I know it's anecdotal, but I can't help but get upset when people say it was "harmless" for children (not your word, but one I've heard often).
Go hits that niche of "read from a queue/endpoint, write to a queue/endpoint", and there is an awful lot of that going on. It's just practical for getting (some kinds of) work done.

> I don't really see what Go buys you over something like OCaml

Easy installation on windows for one.
Can you just add a very simple one-liner defining out-of-distribution? I'm not familiar with it and the README does not help at all. If you're searching for this, you might not need it, but if you come from HN, a primer would be very helpful :)
I can shed some light on this. It's got little to do with physics in this case.

Whereas QuakeWorld uses a network update model based on acknowledgement, Quake II pumped out complete states of all visible entities/objects at a steady 10 Hz and assumes the client interpolates between those states (Primarily to make animation easier for singleplayer, as variable animation rate plus interpolation can be a lot to keep track of per-entity). As Quake II uses UDP connections and has to deal with packet loss, it was seen as easy to just keep pumping out full entity/object states with no regard for deltas. This was later seen as a mistake by John Carmack [1] and they'd try a lot harder in Quake III Arena. This is still a bit of a thorn in many peoples eyes that make modifications to Quake II as you have to break compatibility with the entire mod ecosystem if you wanted to address this. Would have been nice to see this rectified in the re-release.

With the re-release you're basically sending out 4x the rate of the original and there's still slow connections which might chug on all that data. Some parts of the US still deal with speeds that are closer to modem than broadband.

Anecdotal evidence: Some years ago I was advising a fellow Quake II modder on how they could fix some limitations of the network model. They took the easy way and changed the update rate to something higher that felt smooth enough for them and it'd render anything but listen/local games unplayable because they were sending out too much data over the network. Eventually they gave up and started on top of a QuakeWorld based engine to avoid reinventing the wheel.

Also some fun trivia: In the original Quake II, physics are rounded down to network precision. They are not rounded to nearest, mind you - which results in a drunken walk. Unless you're around the [0,0,0] vector on the map's coordinate system, you will be unable to walk forward/back in a straight line.

[1] https://github.com/ESWAT/john-carmack-plan-archive/blob/mast...
I've missed at least 4 opportunities to become a billionaire. I bet a lot of readers here can say the same.
Next up, “why being stuck at home is literally like nazi Germany”.

Grow up.
Frequency and quality of opportunity is also a luck factor.
I concur.

Ironically enough it seems every time we find a new approach to minimizing pollution it usually comes in the form of inconveniencing ourselves, despite the fact that individual pollution is relatively minuscule as compared to the pollution committed by global industry. The paper bag to plastic bag conversion has just ended up creating a separate issue, and this same trade off seems to exist across the board. I guess there really isn't a way to have our cake and eat it too. The real solution is stricter environmental laws regarding industry, who have profiteered off of a total disregard for the environment for decades, not making everybody drink through shitty (and likely poisonous) paper.

It truly is crazy how most of us have been gaslit into thinking that global pollution is largely a result of our own individual actions, and not the action of mega-corporations who operate independently of any concern for the environment. Sorry, I'm going to have to opt out of all of the idiotic soapboxing about how I'm the issue because I don't drive a hybrid while BP/Exxon/Oil Corp #53 plunder the Earth and produce magnitudes more pollution in a day than I could hope to make in 100 lifetimes. /rant
Lol I was going to say it had a tinyGPT feel about it
Ouch!

I couldn't view this page because it was age restricted and not visible unless I logged into Google. Believe it or not I live a full life online and haven't logged into Google for months.

Also I think you're stretching it to say a browser extension can ever be more convenient than just browsing stuff on the web, in the few cases you need to put something your bookmark manager you can use the lost art of the bookmarklet. (Deprecated since it can't be used to spam you, track you, track you, spam you, ...)

Back in the 1990s I would go visit my family in New England and they'd have 640x480 screens where half of of the vertical space was taken up by "toolbars" from Yahoo, Lycos, Microsoft, Infoseek and other vendors that are mostly forgotten today. Oddly they didn't see anything wrong with it, but some people don't see anything wrong with paying a fee for watching porn to the FBI with an Amazon gift card.

Browser extensions are mostly the same these days. Install too many and your browser dies from "pluginitis" so don't be a plughead! I make an exception for plugins that really improve performance such as ad blockers and anti-tracking extensions. Otherwise the most convenient kind of application in all of human history is the ordinary web appplicaion because you never have to install it and you never have to update it and the people who make it can update it without asking permission from the (cr)app store.
What is wrong with planting bamboo?
Sure you would. It's all the same thing, just different details. You'd do the same thing you do with whatever stack you're currently using: you'd read a lot, do a lot of proofs of concept and prototypes, make a bunch of mistakes, but figure it out and do just fine.

Sure, you wouldn't be as fast as someone who has worked with these tools a million times, and sure, that would matter if you're being hired on a three-month contract to build something and part ways.
But if you're being hired to be a valuable contributor and leader at a company, this learning period is going to come out in the wash.

Let me give you an example: At my current company, by my estimation our MVP employee on the engineering side spent most of his career making video games, largely within the Microsoft stack. We do python, go, and React. If we hadn't hired this person because he had never used any of those technologies, that would have been, by a very long shot, the stupidest decision we ever made. This stuff just. doesn't. matter.
Everyone focuses on the big bridges, which won’t do well in Portland, but no one thinks about the small bridges across creek crossings in neighborhoods and surface streets. I have to cross 3 creeks before I even get to the highway. I’ll be walking/wading out.
No, I’m saying that trusting [Internet service provider whom you don’t control] to keep your site up is pragmatically identical to trusting [web hosting company whom you don’t control] to do the same.
A lightweight Golang generics library that provides Map, Reduce and more
Are you his mom? agent? H himself? "a tad trollish" is really a hoot. So is the notion his upcoming book "has a good chance of becoming a bestseller": its commercial performance won't prove the worth of its ideas, just that there's an audience for pompous would-be eugenicists.
There are actually a lot of procedural games out there, I think No Man's Sky uses some of those techniques, but they definitely have been around since the 80s. The thing now is that the fidelity can be much higher, for sure.
The compiler won't stop you storing a pointer to a local variable and dereferencing it later, either. That's just the nature of programming without managed memory. Calling a coroutine is essentially the same as temporarily "returning" from the current stack frame, so all of the usual practices around taking pointers apply.

I agree with your conclusion of not using C++ coroutines, though. It seems like the design falls somewhere in the "worst of both worlds". I would rather either use a library that implements coroutines with the minimal amount of C and inline assembly if performance is critical, or some higher level abstraction that works well with all other language features.
Thanks everyone for your interest. Since some people have wondered what out-of-distribution is, I'm going to talk about it briefly.

It is an emerging trend in deep learning research aiming to address one of the current deficiencies that limits the deployment of neural networks in practice. To quote one of my answers earlier: "Deep learning has had tremendous success recently but it often makes one important assumption, that is whatever data the model sees during deployment should be 'similar' to what it was trained on (aka in-distribution). Unfortunately, the real world is not static and constantly evolving, and so is the data we feed into the model. Equipping the model with the ability to say no when it is not familiar with the input is very important, especially when it comes to safety-critical applications."
Many lakes are regularly closed for bacteria, definitely. Lake Huron, Lake Superior, and Lake Michigan far away from Chicago don't have this issue, but of course they are exceptional in volume.
Gotcha, thanks so much for your interest. I just did!
I think this is a creative idea, but it may be difficult to find the first users. I hope the HN community can try it out and provide feedback. Good luck guys
I believe the traditional resource is Dinosaur book (OS Concepts by Silberschatz). I've also seen Operating Systems: Three Easy Pieces https://pages.cs.wisc.edu/~remzi/OSTEP/ come up.

Another common recommendation is to find a hackable existing OS/kernel. You already have a working OS, but you can inspect and rewrite portions without having to do everything yourself upfront. http://www.minix3.org/ seems to be a popular one. Various BSDs seem to be mentioned, as well.
I'd rather they be able to run mail servers. SMTP lends itself to intermittent delivery.
> I literally do this for a living.

Is that supposed to impress me? Some people do feng shui for a living, or sell homeopathic remedies. Just because someone does something for a living doesn't mean it has any merit. The world is chock-full of wealthy charlatans.
I recommend reading a biography of the Beatles. Don't overlook the many years they spent playing dive bars day and night, honing their skills as a band.

Brian Epstein, a nobody, recognized opportunity when he met the Beatles.
True, but Bluetooth doesn't work over internet. Plus, you can just turn it off if you worry about it.
Came here to say this. If it does its task and doesn't cause frustration then it works.

Is there room to improve. Sure! Maybe we are at the "crappy camera phone" era of video calling.
This is the bogus argument made by so-called "tech" companies profiting from user-generated content. The so-called "tech" company middleman needs to get paid, otherwise so-called "creators" will not produce works nor share them.
The third party doctrine means at any host your stuff can be warrantless searched, not the case for your phone except I guess that thing about anywhere 100 miles from a coast line or border or airport that covers most of the population.
Steve Jobs? Check a picture of the house he grew up in.
sibling is right, although for me its mostly a habit, I rarely use etc.
I'm always surprised there's no (widely used) international standard here. It seems like we have international standards for nearly everything. But for some reason we still use the western first-middle-last naming structure as a de-facto standard and as soon as you have to accommodate people from one of the many cultures that don't use this, you're in trouble.

I've even run into trouble occasionally as a Western person with fairly normal first and last but no middle name. More than once I've been confronted with online forms that require a middle name (not for many years though, thankfully).
There is a good reason this book doesn't exist.
Netflix's competition changed. They were one of the few players in streaming. Now, there are infinite streaming platforms, all angling for their cut of the pie. For Netflix to continue to be profitable, it decided it needed to spend more on original content. Then I suppose the cost cutting came for other expenses. Hiring a bunch of very experienced engineers does not come cheap. Netflix was known for having the highest cash comp in the valley. They've started hiring new grads again, because it's cheaper to hire one senior engineer to lead a bunch of junior engineers instead of a few seniors to do everything themselves.
So don't. Free market.
I honestly think that if you have a short enough runway that "who will be productive quickly" is a prime concern, it may be time to consider hiring nobody and figuring out other ways to save money and extend runway. And if you aren't that desperate, then you should stop asking this question and instead ask "who will be a good investment longer term?".
I want one of these but with Chairman Meow. Any sources?
You are entitled to your opinion that effective communication has no merit. That reflects more on you than it does on me.

In any case, your opinions about specific methodologies in fields toward which you are outright dismissive... are of extremely limited value.
It seems a bit presumptive to me to suggest that entire other cultures change their definition of what a name is just because you don't understand them.

If someone tells me their name, I think that it is right to believe them unconditionally. No matter if it starts with Wang (100M people!) or ends with -son/-dottir (~all of Iceland) or contains affixes or other common parts. Names are deeply significant and have more value than just contributing information entropy to a unique identifier.
You are very welcome :)
There was a thread on Reddit about this and the author got a response from Armon saying it was not.

https://www.reddit.com/r/Terraform/comments/15p2p32/impact_o...
Absolutely. I very much enjoyed the write up.

You make a good point about Syncthing. It's just that polling kind of offends my sensibilities if there's something better. But.. I'm one of those hackers running multiple bash processes per second just to update my status bar... For about ten years now! So, don't mind me. ;)

Syncthing is great software and I'm using it on all my devices. I'm glad it provided an easy solution to your use case.
Everyone's not the same. They don't have the same motivations. For the first decade of my job, I worked a steady, stable job that paid decently. It wasn't bad, but I was bored. Bored as in counting down the hours until the end of the work day each day, booking out all my vacation months in advance to the day.

I switched over to startups and have not looked back. Yeah, I work more, but I enjoy it a lot more. I can't do it forever, but the financial rewards have been better too, so I probably won't need to work to 65 like when I had the more stable, boring job.
It takes a lot of energy to pull carbon out of the air. The energy needs to come from somewhere, but if it involves burning oil then it's going to create more mess than it cleans up.
SpaceX Starlink Group 6-9 Launch
Be old. I went from VMS' EDT in the late 80s to JOE (Joe's Own Editor) on Ultrix, to Emacs, and finally Vim. I finally switched to Neovim after Bram's passing.
Great idea. What should we host?
Today it's tiktok. Prior it was Facebook. MySpace. GeoCities. Notice the trend? It was always something else. Future tomorrow, it won't be tiktok
Ask and ye shall receive:

https://en.wikipedia.org/wiki/5-over-1

See a lot of these in my area (Southern California). I'm ok with them. Probably need more.
You were “stuck at home”. Your expendable delivery boy wasn’t. Neither were the people who made your food, packaged your Amazon shipments, kept your lights on, kept your favorite TV show running. But they are all expendable, right? As long as you are “safe” being “stuck at home” role playing pandemic, all the service workers can all just fuck off die. And shame on them for not “staying the fuck home”, right? And if they got laid off or lost the business they built who gives a shit about that either, right?

Again you have an incredibly privilege take. It’s so easy to cheer for lockdowns and shame those who object when you weren’t personally affected.

Why don’t you grow up? You flushed several years of your very short life down the toilet for absolutely nothing. You got played. Sorry.
Didn't calculations show that trees aren't fast enough to help us with this problem?
It’s not just a commonly shared theory on the Internet, it’s also becoming a concept taught as part of modern clinical psychology courses. It’s not taught to minimise the mental distress a person is experiencing, or in order to brush things off, it’s done so in order to considered the entire person in the context of their life experiences - the reason is because of the over-pathologizing of what can be normal human responses to life experiences and events. This is also useful in informing how one might approach treatment for an individual and allows a clinician more freedom to take into consideration social and culturally specific aspects of an individuals life and can mean treatments can be provided without having to necessarily give someone a label that might result in stigmatisation, but also - in instances like this, it’s useful in considering some wider social issues going on, and might provide some insight into how people can improve these social issues in order to reduce the number of people experiencing a mental illness.
When will they let us unlock our Surface RT bootloaders?
Energy should come from solar and wind, I'd think.
I can’t tell you, I promised @dang I would mention it very rarely :)
Why the heck would I want to open a port to accept http connections to the wild wild web on my phone? Servers are constantly being probed and I can't imagine I'd want to manage a firewall from my phone. Then there's data plans... Oy vey!
> debt held by the public will surpass gross domestic product

> They're comparing GDP which is $/year, with debt, which is $. You can't compare different units like that.

Hopefully it's obvious to everyone else here that they're comparing the debt with the GDP of a year.
I see at least one very good reason why this shoud be possible: old phones. Reusing old phones as a webserver seems like a good idea to me, since they were built for power efficiency (unlike old PCs) and would otherwise simply end up as e-waste in a landfill or discarded, forgotten in a drawer somewhere.

Maybe it's because I use LineageOS (and Cyanogen mod before that), but I never even knew that there were problems with being able to run a web server on android. Just recently, while I was bored on a train ride, I used the Fdroid app Lightweight Web Server (LWS) to send some files to a friend on iPhone for which I would otherwise have no easier way of doing (whatsapp upload is slower and filesize is limited). I move the files into the folder, prepare the HTML file a bit, then my friend sets up a wifi hotspot, I connect and tell my friend to enter the IP-Address or scan a QR code. Works nicely for me (although weirdly it doesn't work if I create the hotspot. I need to connect to theirs, I wonder why)

Even if this is something I only use rarely, using a phone that can't do something this simple is unacceptable to me. It's satisfying in itself that I don't want my phone manufacturer to arbitrarily limit what the hardware can and cannot do. Would I suggest running a business website off my phone? No. I doubt it's secure, performance is limited, ddos would be a possible issue. Do I still want to be able to do silly things with the devices I purchase? Absolutely.

Another point, if I remember correctly, a cellphone mesh network of some kind was useful for Hong Kong protestors at one point at least.
This is not the same. It's nuclear electric propulsion, not nuclear thermal propulsion. A nuclear reactor generates electricity and that electricity drives an ion thruster. The specific impulse is astounding (7000 seconds vs 450 seconds for the best chemical rockets), but the thrust is absolutely wimpy (15 Newtons, vs 250 kilo-Newtons for the US NERVA nuclear thermal rocket engine).
Terraform Industries plans to manufacture hydrocarbons from the CO2 in the air... with water, of course, and green electricity.
Boston Dynamics: Fifteen years of progress
I agree with pretty much all of this! Certainly, I would have a lot more respect for projects to start with this kind of license.

But this part:

> had they been more careful in their language (or even in their CLA), then people would be less annoyed.

I just don't agree. I think they were very careful in their language, and I keep wondering whether everyone here who is pissed at them even actually read it, because I feel like a lot of people keep saying they said things that they clearly worked hard to not say.
Yeah, chess engines are a good call. They're often relatively small and self-contained, and feature a lot of good programming tricks and optimizations. I have read some of the Stockfish code, but if were going for something more "classic" I might try to dig into GNU Chess, Fruit, or Crafty.
Also fair to note that Western people who live in places with other name formats will suffer the reverse problem.
The chess way is to prepare for your opponents best move.
> The Texas project will be led by the American company Occidental and other partners, including Carbon Engineering. It could be developed to eliminate up to 30 million tons of CO2 per year, according to a statement from Occidental.

Isn't it so small scale comparing to this particular world problem as to be almost irrelevant?
It could go the other way though, to be along the the ride and hope for the 'brilliant outside hire' to come along and point out the problems.
We are a lot closer to the Landauer limit than I thought