skysight-inc/HackerNews huggingface dataset:
Yeah, the use of "AI" terminology is dubious here. They've replaced aiming via a pre-loaded ephemeris with a system that actually aims the reflected light by looking at where the light is ending up after being reflected and adjusting accordingly. There may be some machine learning going on in the sensing, but this feels an awful lot like basic feedback loop automation.
Yes. And then it becomes an adaptive mutex.
Yes, spin locks require atomic memory operations - as do many other OS primitives. CPUs have dedicated instructions to do this more quickly for locks than generalized coherent memory, for example cmpxchg on x86. There are microarchitectural optimizations to make these things work well.

I've been writing MP code since the early 90's; SPARC, MIPS, x86, PPC, SH-4, Alpha, and all have instructions to make this easier for you.

Spin locks are very useful for locks held for short durations, and only on MP systems, particularly in the kernel, since a spin lock there can deadlock the whole system on a single CPU machine. The very general rule of thumb is that you generally want blocking locks, unless there is a very specific reason to use a spin lock. Those very specific reasons might be waiting briefly on some device in a driver, or running a realtime system where wake latency is critical, etc. Most of the time, spin locks will burn CPU for no good reason, and you still have to implement the non-spinlock case anyway, in case you are running on a 1 CPU system. So, might as well start with blocking locks, and only add spin locks where performance would benefit from it.
So, I think you've completely misunderstood what's going on here.

What QUIC is doing here is to prevent _spoofing_, whereas what DJB is talking about is the futility of using IP addresses as _identity_

Why does this matter? QUIC servers often have lots of bandwidth available to them and offer 0-RTT, so they can be used for an amplified denial-of-service attack. Bad Guys send packets "from" your IP address to the QUIC server. Without spoofing protection the QUIC server begins bombarding your IP address with stuff. Your network links saturate and you're effectively knocked out even though you did nothing to cause this.

Spoofing protection is provided in TCP (on any vaguely modern OS) but QUIC doesn't use TCP so it must roll its own protection and that's all this is for.

CurveCP has a 1-RTT setup penalty with a "Cookie" to prevent spoofing. If somebody wants to track you with CurveCP they'd be just as able to use this cookie as they would the QUIC "source address token". In both cases you could throw this away to prevent tracking, at a penalty of reducing performance because you'll have to do the startup dance all over again.
Motorsport Safety Trailblazer Bill Simpson Passes Away at 79
Just want to second how great “A Righteous Mind” is. Among other things it helped make sense of the division we see in the US (and beyond actually). Really great book.

Another book related to this that blew my mind already in the introduction is “American Nations”. (Actually haven’t finished the book - the main thesis is explained in detail in the introduction, all latter chapters just go into more depth to a point I’m not as interested in.)
There are a few general prerequisites for fixed pricing. They apply to hourly pricing as well but they're more important when the price is fixed.

1.) The project needs to be well-scoped with any significant out-of-scopes also explicitly specified.

2.) Client responsibilities/deadlines are specified.

3.) As you suggest, the work is predictable based on past experience and there aren't likely to be unexpected things that come up and significantly increase the time required.
As more Social Security Numbers are leaked from security breaches like Equifax et al - I have done a deep dive into all things publicly known about SSNs and published the results on a hobby site (with limited ad revenue to cover the server cost) to both educate myself on the historic data contained in a social security number, how its usage has changed throughout the years (enumeration at birth in the 80's for example) and then how finally the state and date information was removed around 2009 so that numbers are now randomly assigned. For those born before the 2010 - there is a real information encoded (or deduced) from your number beyond what most are aware. If you are curious what types of information a hacker could deduce, or additional ways your SSN could be mis-used if disclosed (or guessed) take a gander at

https://numchk.com/
The point is that ML today is based on pattern recognition and memorizing a stationary distribution.

This stationary distribution is the source of the conservativeness and central to algorithms that we call "machine learning". ML always tries to replicate the distribution when it makes infererences, so it is fundamentally biaed against changes that deviate from that distribution

The Future and the Past are structurally the same thing in these models! They are "missing" but re-creatable links.

AI is the broader term, but in pop culture AI and ML are very much synonymous.
A similar category that has inspired my reading and language learning for about a decade now is Alexander Arguelles "Great Books" list [0]. Arguelles is a hyperpolyglot, he can read, speak and write dozens of languages. He advocates for polyliteracy, the concurrent study of languages and their associated literary canons.

[0] http://foreignlanguageexpertise.com/great_books.html
You can look into listening to audio books while commuting. But honestly speaking, I have done that and I lost focus very hard. The problem with me is my limited vocabulary. Just like you, I read slow even though I have read strategies to read fast.

Even then, reading fast does not help if you are failing to grasp what the concept and story is on about. Hence, I read slowly to understand what the piece is talking about to make my effort and time worth it.

My only motivation to attempt to read book is the author's put a lot of time and effort writing a book and getting it published. Therefore, the time spent writing a book with numerous references used to write the book, you are indirectly reading multiple books - accumulating ideas and knowledge from all those books.

The book which I am currently reading is "Why Nation Fail", the number of references used to write the book was what made me buy it.
The more modern takes on this likely include "greasecar" diesel conversions that still have a small diesel tank, plus the different summer and winter blends of diesel fuel itself (since "A" diesel that gels at 5C is going to be a problem in a lot of places).
I'm not really convinced by the argument regarding value-based pricing, because that's just not how markets work.

The clearing price (in this case, of labor) is based on demand AND supply; it has nothing to do with how much value you bring to the table. Yes, it's true that maybe writing some piece of software will save some company ten million dollars per year. Should you get one million dollar for writing it? Maybe not, if I can find someone charging 60K to develop that same piece of software.

There is one way to do that with software, though: royalties. It's used for middleware for games and movies. But it's more a risk-management tool for buyers than a sure path to profit for providers (i.e. with royalties you limit your losses if the game or movie does poorly).
> Even if I wanted to read books, I just don't know which ones I should start with, out of the 1000 "must-read" books in my reading list.

My non-fiction reading list for the past year has been filled almost exclusively with titles plucked from HN comments. I don't consider any of them "must reads." They're all "want reads." All of them were suggested by HN posters with explanations as for why that book is the one to read on the subject; often followed by comments comparing that book to other books on the subject.

Each book I chose to read was read either because the subject interested me, or because the poster had shown that the book had changed how they viewed the world. If you don't know where to start out of the 1000 books, just start. Find one that interests you and read it. Maybe 1000 years from now we'll have AI that can recommend the perfect course of books for you to read, but for now, it isn't nearly as important to pick 'the perfect one' from the list as it is to just start reading it. And if you don't think it has value, put it down and pick up the next one.
It would be fun to annoy others with it but the extra width of the keyboard also comes with the annoyance that your mouse is further to the right as well. I alternate between using my M and other mechanical keyboards (months between switching) until my memory of the inconvenience of the mouse being further away fades.
Indeed, Gazprom lost over $1 billion as a result of the shutdown.

I’m not really sure why I was downvoted before: the actions here targeted Ukraine, but impacted several countries in Europe. Perhaps someone disagrees with me, but that’s not sufficient for a downvote, as I understand it.

https://en.m.wikipedia.org/wiki/Russia%E2%80%93Ukraine_gas_d...

http://www.worldpress.org/Europe/3307.cfm
Remember what he did? Software was specifically listed under export controls.

So, he printed the code in a book to be OCR’d and further compiled into the software.

No export controls on a book.
China will stop when they contracted to and not before -- although their rapidly declining air quality may influence more action sooner. They have had a "developing country" pass through UN climate agreements as did India. I suspect no one 30 years ago expected us to be little further forward, nor China and India having mostly developed past "developing" status. COP25 was a joke sadly, so, we're screwed...

I think China committed and signed on to start reducing emissions in 2025 or 2030, I forget which.
Portapak (1967)
There are no centralized servers for Loop Thesis, and each server hosts one game.

The game ships with tools that allow players to very quickly connect to running games on the same network as them, even if they don't have anything installed. Anyone with a copy of the game can turn on hosting, and the game will not only handle being a server, it will also serve a web-based client for the game.

In practice what that means is that if you own the game, you can pull out your laptop, connect to someone's wifi, turn on hosting, and all they need to do is visit a local IP on any of their devices[0] and they are instantly playing with you.

Of course, networking doesn't force you to be behind a NAT, so there's nothing preventing you from hosting a server on Linode and exposing that IP publicly. But aside from some token authentication options, the game isn't designed to handle a bunch of public anonymous connections. The server also isn't persistent; it's assumed that once you're done playing you will shut the client down, which will also shut the server down.

Short version, you have a traditionally hosted server with an IP address, and it's not pulling any fancy tricks to force you to set that server up in a specific way. But it's not designed to be a persistent server with uptimes of like a month or something, and it's designed to handle a few connections from people that you know. The out of the box experience is going to give you a Intranet IP, not a public one, and if you want to get it working over the public Internet for some reason, you'll need to handle stuff like port forwarding yourself.

That means: no matchmaking (one game per server), no public server lists[1], only minor authentication and anti-spam options, and transient servers that disappear when play sessions are over. Loop Thesis isn't technologically restricted to a LAN, but the experience is designed for drop-in, friends-get-together LAN play.

[0]: No promises, but I am experimenting with touch controls for phones.

[1]: Unless the community builds them and maintains them on their own.
Australia is burning every year. The main reason why it's burning so much right now is that not enough prescribed burns were done earlier in the season.
Yes! That's called an optimistic spinning lock!

https://linuxplumbersconf.org/event/4/contributions/286/atta...
The Incredibly Incurious Mr. Comey
“Use Dumb Shell, Don’t Reinvent the Wheel”
I was wondering why didn't the crew elect to divert directly to Anchorage, reading the event description http://avherald.com/h?article=49f44548 it seems they were 2h from CDB and ANC would be another hour from there. Not sure what's the ETOPS rating of that aircraft but it might not have been 180min (though even longer times are common now)
Lunch Picker
I created a lunch picker

backend: https://github.com/yeukfei02/lunchPickerApi

frontend: https://github.com/yeukfei02/lunchPicker

welcome ppl help to contribute!
For example: OpenVAS for vulnerability scanning on the VMs. Clair for container image vulnerabilities, OSSEC for IDS etc.
Agreed. And take on multiple part time projects.
> I think and hope this guy is trolling. If not he will be left behind if a back end dev.

There is a world of software outside of the web-development bubble. Just saying.
That is true re: Freenet, they are called "signed subspace keys" or SSKs.
> checked in a tight loop by all waiters

This actually does not have to be this way. You could have a linked list of spinlocks, one for each waiter. Each waiter spins on its own, unique spinlock. When the previous waiter is done it unlocks the next spinlock, and so on. The implementation gets a bit complicated on non-GC languages, since there are races between insertion/removal on the linked list. If the number of threads is fixed and long-lived then it becomes easier, since instead of a linked list you can have an array of spinlocks.

Note: in some architectures (x86?) you could possibly do away with atomics, since (I believe) int updates are atomic by default. Not really sure though.
That is almost reasonable. But it's still naturalistic thinking, i.e. whatever happens without humans is good.

The real questions should be: what climate do we want and how much power do we have to effect it?

If the climate changes naturally but we don't want it and can stop it, maybe we should. For example, we expect this interglacial period to end between years 10k - 30k, corresponding to about a 10°C drop.

Also, the way best way to reverse current climate trends might be different then stopping the major cause.
Your comment is misleading because it doesn’t mention that Bloom spent virtually his entire career defending the value of classic literature. The fact that he had minor criticisms of his list and didn’t want to talk about it doesn’t mean that he disavowed it and that isn’t what the word disavowed means.

Disavowed suggests that he is dismissive of the contents of the list entirely, which again, could not be further from the truth. Quoting a brief Vice article leaves out decades of context.
I think this change of title is detrimental.

The original title signalled the context of this article which is far more important than the premise. The new title reveals nothing of the context and a layman interpretation changes from 'is someone is trying to patent an existing crypto algorithm?' to 'some article about some crypto algorithm'.
Thanks for this! Like rock'n'roll, the game boy will never die. The platform makes a terrific intro to CS pedagogy
> Inflation is an emergent property of money. It isn't set or enforced it just naturally happens because of money.

All of this is wrong. Inflation is a supply / demand problem plain and simple. It has nothing to do with money. What money does have to do with it is when the fed devalues the dollar to drive up inflation. It is not natural. It is clearly controlled. If the fed didn't exist, we'd face both inflation and deflation only based on supply and demand. So we'd never have a steady increase in prices (unless the royal mint of our fantasy land was really opening up the spigots, in which case they're the same as the fed).

> 2008 happened because of bad debt.

Yes. But what people don't see is the sequence of events that led to it. If you're in finance, it's blatantly obvious, but outside it, it's shrouded in mist because no one famous will put it in an understandable form.

2008 happened primarily because of Alan Greenspan. What people don't realise is that none of the world leaders since the 1980s have done anything of consequence compared to what Greenspan did. His policy of "let's just keep the pumps open" have inflated markets and literally powered this exponential tech growth we're seeing now. My conjecture is that it'll stall out. Money doesn't grow on trees however much we may want it to.

2008 was the culmination of this 3 decade long money pump. But what did the fed do when it realised 2008 was happening? Oh that's right - it pumped even more money. But that's a topic for another time.
> I assume that the best part of the best books will surface in daily conversations, YouTube videos, CliffsNotes, podcasts, Reddit posts/comments, blog articles, etc.

I don't think this is true... while conversations may refer to certain sections or summarize certain things, topics of great depth require a lot of time. There's no substitute for reading the original source.

> One issue for me is that books are a very big time investment.

This is one of those "is this a feature or a bug?" situations. Reading for a long time slow you down on purpose. It's meant to create moments of critical thinking and inspiration. It's meant for you to sit down and truly think.

I do agree that, still, reading takes way too much time. I don't read a lot. I usually read on vacation/airplanes, or if I can't sleep at night. Because they take a long time, I'm also very picky about the books I _do_ end up reading. For learning things, though, I usually listen to podcasts or watch videos at 2x the speed.

And lastly.... have you tried reading fiction?
Cattle have stopped breeding, koalas die of thirst: Vet on climate change
Sure :)

As a side-note, I think that mastering a musical instrument is a good thing to do for some of the same reasons: it teaches discipline and focus. I've found that playing the guitar is a good foil to programming because it engages a completely different part of my brain that hasn't been engaged during the working day, and it also lets the analytical part of me relax.
I Built a Dark Mode PWA Without JavaScript Libraries in 24 Hours
Lambdas by nature do exactly that. AWS’s runtime launches the “VMs” in response to an event.

And with webhooks I’m required to keep enough server capacity running all of the time to handle the events. Can a web hook automatically instantiate enough VMs on demand without reducing throughput?
I mostly read fiction books and technical O'Reilly stuff. Would highly recommend both. Reading books is infinitely more relaxing than browsing content online aimlessly.
>or that we weren't measuring the right thing in the first place.

Which has been true, actually. For example, human facial recognition systems that can't properly distinguish dark-skinned faces. What is your conclusion in those cases? That dark-skinned people don't have faces? All look the same? Aren't human? Or is it more likely that the system is flawed in some way? Is that flaw in line with existing biases? What then is the chance that the flaw is BECAUSE of our existing biases, in some way or fashion?

From what I've read on HN, many people involved in developing ML technology seem to be overly concerned with their systems spitting out "uncomfortable truths", and less concerned with flaws in their data capture, training, or system design processes. We're putting the cart before the horse, and the giddiness with which it's being done is troubling in and of itself.
I’m not surprised Microsoft has a standby team, given how bad their software is
No, the rich countries can easily get away with it. They will move, install bigger air conditioners and reinforce their borders. A large farming corporation may feel a sting when X% of their land becomes worthless but they have enough money to buy land somewhere else.
https://www.xkcd.com/1170/

It's not always that a XKCD is such a good answer.
I highly admire projects like this. Something even as simple as a core engine rewrite is a spiritual undertaking. I do not recall if Heroes 3 was multiplayer or not, but making the game multiplayer over TCP required the engine to limit itself to the use of integers since a single floating point would butterfly effect its way into destabilizing the lockstep system used in peer to peer networking. AMD / INTEL / POWERPC systems of the day (and even today) have millions of flags to configure the FPU at compile time.

As a shameless plug, and if anyone's interested, I'm doing something similar with Age of Empires 2: https://github.com/glouw/openempires
(This doesn’t answer your question but feels related)

I have ADHD and find it incredibly difficult to read books.

I’ll often “read” the same pages over and over several times without actually comprehending them because after a few pages I realize I was looking at the words but thinking about something else. I also have trouble remembering to (or having the motivation to?) come back to books I’ve previously started.

I like online content because it’s easy to skim or switch to something else and not feel bad about it. I imagine over time this has made my ADHD even worse, but I’m not sure how to break the habit.

The 3-4 ADHD self-help books sitting unread on my shelf certainly haven’t helped :)
There are absolutely valid criticisms of serverless (as you called out, vendor lock in and complexity for large applications being a big ones). But it's still an important and interesting technology that many individuals and companies are invested in, sharing side projects, open source tools (like the OP's), etc. In many cases, it can be cost efficient, or even (human) resource efficient to use a serverless setup.

So it gets quite repetitive to still be debating that, yes, we know there are servers running the code, it's just a name.

Also, a lot of the value in serverless lies in time saved managing said servers, which sometimes escapes engineers who are only looking at a project from the "well let's just spin up a quick VPS and install Ubuntu and these 15 packages, get DKIM working, throw a Let's Encrypt cert on the endpoint, launch a sidecar Prometheus and Grafan server for monitoring, and boom, you're done, why even use AWS?" perspective.
Good point. There clearly are acquisition costs. In marketing speak what he's basically saying is that your bottom of funnel acquisition costs are low. (I don't think they're quite zero because you still need to close a specific contract.) But top of funnel awareness/education/etc. is a large chunk of your time. Which for some types of consulting/advisory work rings absolutely true to me.

e.g. https://trackmaven.com/blog/marketing-funnel-2/
That's a research/materials testing facility. Heliogen is aiming for industrial applications which means it has to scale more cheaply than a bespoke installation.
I'm trying to google a similar "we landed here but now it's too short for us to takeoff again" story which IIRC happened in California, but I can only find this incident that happened with a cargo plane in Kansas: https://www.theatlantic.com/national/archive/2013/11/giganti...