skysight-inc/HackerNews huggingface dataset:
no*, and as you've discovered, the skbufs allocated by the kernel will often be the limiting factor for a highly concurrent socket server on linux.

* I don't know if someone has created some experimental implementation somewhere. It would require a significant overhaul of the TCP implementation in the kernel.

edit: check out this sibling thread about userland TCP. I think this is a more interesting/likely direction to explore in. https://news.ycombinator.com/item?id=31215569
If the colors were the same thing as the electromagnetic frequencies, then the same electromagnetic frequencies would be the same colors, by definition.

They aren't. For example, put a card of color A in front of a background of color B; now move it in front of a different background of color C. You will experience color A as being a different color (especially if colors A, B, and C are chosen to maximze the effect).

The electromagnetic spectrum returned by card A isn't different, but the color perceived is. Thus, electromagnetic spectrum is "out there", but color is "in here".
> This is a C vs Java argument. There are people who prefer each.

As a person who've developed sizeable projects with both, you hit the nail on the head (and yes, Java can do amazing things in the foot gun department, believe me). However, my favorite language duo is C/C++ at the end of the day.

> Given the topic is "how to corrupt your db file," does that mean they didn't get it right yet?

This means you (as the developer) has a misunderstanding between you and the system. The article contains a very large swath of problems from hard to understand implementations (e.g. locks), to hardware which doesn't listen you to bugs in SQLite itself.

So, in the article there are a lot of cross-platform bad practices which one's warned about. Shrinking this to "POSIX is bad!" is just wrong. This is what I'm trying to point out.
Which proves my point exactly. The Tobii Eye Tracker V is a consumer-oriented product marketed to gamers. The market-research-oriented use cases that one would need for a "walking around pair of eye-tracking glasses" are totally different, and they're priced accordingly.
No I had no money coming in. I don't remember the cost tbh, but it was costing time and money, since I desperately needed to find work at the time.
Was a thing of beauty. https://worldofspectrum.org/ZXBasicManual/

Simple, concise, useful.
Research in finance; job is open ended mandate to find ways to optimise systems, decision processes and alpha signals. Using R mainly, dropping into c++ for some performance stuff. Occasional use of machine learning.
I have learned a lot over the years. I’ve had a few teachers, some better than others. I’ve used some online teaching resources. I know the fretboard pretty well, I can switch between chords cleanly and quickly, and I understand the very basics of music theory. I just can’t put it all together. None of it has become pure muscle memory.

It all takes active thinking as I play so if I’m keeping time, my chord changes are bad, if I hear lyrics, my strumming ends up matching the cadence of the vocal track.

Despite all that, I do enjoy playing what I can play. It just isn’t much.
Speaking about the creation of the metaverse, Sweeney is positive about the creation of the metaverse over the next decade.

The creation will take place over the foundation of open systems, open standards, and no walled gardens where companies will work together on mutual respect of customers. The metaverse will allow players to jump from one ecosystem to the other without any concerns whatsoever.

Sweeney related the working of future metaverse with how the world interacted with each other in the early days of the web.
I’m getting “server not found” when I click on the web page
Bandcamp is using their own billing system, bypassing Google's cut. Every app could do this and cut Google out all together. An app could just let you download the app, pay some amount when you're in the app which would unlock the functionality. I don't think its unreasonable for Google to have a problem with this. They want to get the reach of the app store, and make money off it, without paying a cut to the host like everyone else. What am I missing here?
> An air conditioner already is a cooler and a dehumidifier.

The cold heat exchanger coil can cause condensation, which dehumidifies, but if the air temperature is 'correct' the AC control thermometer will keep the AC unit off.

So you can have have an 'uncomfortable' environment because the temperature is 22C/70F but the humidity is >70%. This is why separate (whole house) dehumidifiers are often recommended: they have a separate hygrometers that cause the unit to start, regardless of what the temperature is.
One of the things that undoubtedly went down was the level of literacy. Plenty of secular Roman citizens were literate and there were many schools for young Romans who wished to find lucrative employment.

Once Rome fell, the educational system outside the Church disappeared entirely for almost a millennium and the Church remained the only institution that carried on the tradition of reading and writing in the West.

This must have had some impact on the tempo of overall technological progress. Just like the fact that the successor states, unable to concentrate resources as much, couldn't start big public works (channels, aqueducts) which used to require a lot of highly qualified people.
> while (x)

I never realized how much I hate this style of code until I started using Go. Go only allows Boolean conditions, so you have to do this:

> while (x >= 1)

Yeah, it's more code, but it's more readable too.
The distinction between colors exists outside our brains (different frequencies of em radiation), but the color "red", for example, only exists in your brain. Heck, I have no clue what someone else perceives when I perceive "red". As long as it is stable, it doesn't matter.
Many on HN seem to be suspicious or have a negative view of blockchain development in general. Then again something I notice is that a large part of HN consistently doesn't understand economics, so there's that.

>I'm diving deep into the weeds of Bitcoin and it's very clear that it is at a nascent stage.

Is this one of those time traveler messages made 10 years ago? There might be very good reasons to steer your career in the direction of cryptocurrencies but the Bitcoin boat has sailed. What interesting development do you see happen in the Bitcoin space? It's all moved on to other projects and chains that can be used for more than just storing and moving money around. Not that this in itself wasn't revolutionary, it's very much worth learning about Bitcoin and understanding why it became so popular.
I would argue that a news article has a duty to state when they’re using colloquial definitions. News articles has no business being “Technically Correct”.
The rivalry was captured well by the BBC docudrama "Micro Men" (aka Syntax Era):

https://en.wikipedia.org/wiki/Micro_Men
Well, it has worked amazingly well for the last 2 years in China. It's been a CoVID-free bubble in which life has been close to normal for the vast majority of the time, for the vast majority of the people.

A lot of people commenting here are going on the basis of their experiences in countries that had on-again, off-again lockdowns, but in which the virus was largely allowed to spread. Yes, if you do a partial lockdown during the peak of a surge, and then start reopening once the surge starts to subside, you'll never eliminate the virus.

China's strategy has been completely different. It locked down hard in early 2020, and completely eliminated the virus within its borders. It then shifted attention towards stopping the virus from getting back into the country, by requiring international arrivals to quarantine. It also built up extremely good contact tracing systems, to identify and contain new outbreaks before they could spread widely.

That has worked remarkably well for over 2 years now. This is the first time that Shanghai has had to lock down since early 2020.

So yes, it's obvious that the overall strategy that China has followed is effective, and it does involve lockdowns, along with other measures like border quarantine and contact-tracing apps. This isn't a tautology. It's just an observation: there's a strategy that a massive country followed, which obviously worked.
I don't know, I just tried downloading an APK directly (telegram). Android warns me file might be harmful.

Do you suggest they shouldn't warn someone when they download an APK? It's also browser specific and I imagine all major browser give the same kind of warning because , you know, downloading an APK directly from a website might be harmful.
> For reliability, the absolute best discipline I've ever experienced, is "Either handle the error at (or very close to) the callsite, or crash the process."

Here's a counterexample from HashBackup (I'm the author):

A filesystem is being backed up. Some weird error occurs, let's say it tries to read an extended attribute and gets some goofy error that raises an exception and it's not in a try/except. That error bubbles up to the try/except for "save a file", prints the exception message, and continues by backing up the next file.

Is it more reliable to crash when reading an extended attribute, aborting the whole backup? Or is it better to just tell the user about the error, finish the backup, fail at the end of the backup with a non-zero exit code, and report it in an email?

At the time of failure, the only way I can see that the error could have been handled at the call site would be to return an empty extended attrbute. To me, that's more like the "silent but wrong" solution. And there are many of these situations for saving a single file: get the flags, read the extended attribute, read the permissions and times, figure out if it's sparse, etc. Instead of having error handling at each of these steps, they can have no error handling and just raise exceptions and the high-level "save a file" handler will do everything.

Of course, along the way there are some low-level try/except blocks around code that needs cleanups, like:

fd = None
try:
fd = os.open(...)
do some stuff
finally:
if fd != None:
os.close(fd)

But you have the same thing with defers in Go.
"Because I’m replying to someone who would know what those acronyms are."

That only flies in an email or on a specialized forum.

It's curious that you are smart enough to come up with an arguement yet apparently at the same time innocently simple enough not to know why it's invalid.
Thank god some common sense seems to have finally injected itself into the frigate endeavor via the Constellation pivot. Although we'll see how the engine development on those goes...
I watched the LinnStrumentalist video per your first link. Amazing stuff. And it does seem to reduce the amount of finger contortion required compared to most keyed or stringed instruments.

It does, though, seem to demand that the player look at the keyboard. For an instrumentalist, this may not be a big deal. For a performer accustomed to connecting to his audience with his face, as do many singers, it seems like a big drawback.

That said, color me amazed.
Well, one angle is to qualify the use of the term "literacy", as in "visual literacy". Here is an article about the movie Pacific Rim that pointed out how much of the story (or rather, backstory) was visually communicated to audiences via production and character design in ways that entirely whoosh over the head of most viewers focused on dialog and acting:

https://www.stormingtheivorytower.com/2013/07/the-visual-int...
Segmented Displays [video]
I don't understand how Disney's position hasn't simply been laughed out of court. Aren't they effectively arguing for ending the ability of corporations to form contracts? If contractual obligations can be discarded simply through M&A, how can any contract be enforced?
Another reason many leave is that new ideas don’t get funding. So physics, in particular becomes a monoculture. There is always merit in bad ideas even if the only conclusion is that it was wrong.
How will we ever afford the colossal amounts of fuel that will use, and think of the pollution!
The documentation is extensive and thorough like a law book, and the UI has several advertisements for premium support.
Somebody is DDoSing Amos' site, presumably because of all the Go controversy NH generated over the last couple of days
Fair enough, I wasn't aware. I'll check it out.

I think you mean this: “Lost in Math: How Beauty Leads Physics Astray”

https://www.amazon.com/Lost-Math-Beauty-Physics-Astray/dp/04...

https://www.youtube.com/watch?v=Q1KFTPqc0nQ

I still find the tone off putting, reminds me of the fox and the grapes fable, not sure if it's known to most cultures.

Nevertheless, I'll watch the video and reexamine my opinion.
I thought that too but on reflection not so sure. The leading computer magazine in the U.K. was ‘Personal Computer World’ and although microcomputer was probably more commonly used I think PC was also used too.

Of course the use of PC to denote IBM PC compatibles really only became common in the mid 1980s although - perhaps surprisingly - the IBM PC launched before the Spectrum.
Bayesian reasoning has its limits. If one is lazy and don't think to reconsider when warranted, it's often accidentally used as a crutch. Works in most cases I grant you that, just user beware.

> "The man who has fed the chicken every day throughout its life at last wrings its neck instead, showing that more refined views as to the uniformity of nature would have been useful to the chicken" - Bertrand Russel
Idk the payout by role, but besides only being an actor in a few episodes (stienbrener's voice, cape wearing attorney, & ?) Larry David left the show (as a writer) after season 7.

I'm sure he still got paid plenty as a co-creator for post-season-7, but I'd think not being a writer for the full run, or being primary cast, would put him earning less overall royalties than Seinfeld, assuming they got paid roughly the same as creators.
I'm not saying there aren't tradeoffs, just that if I need the benefits of virtual threads...I have other options. I'm all for this landing on the JVM, mainly so that non-Java languages there can take advantage of it rather than the hoops they currently have to jump through to offer a saner concurrency model, but that until it does...don't care. And last I saw this feature is proposed to land in preview in JDK19; not that it would, and...it's still preview. Meaning the soonest we can expect to see this safely available to production code is next year (preview in Java is a bit weird, admittedly. "This is not experimental but we can change any part of it or remove it for future versions depending how things go" was basically my take on it when I looked in the past).

Meanwhile, as you say, Erlang/Elixir gives me this model with 35+ years of history behind it (and no libraries/frameworks in use trying to provide me a leaky abstraction of something 'better'), better observability than the JVM, a safer memory model for concurrent code, a better model for reliability, with the main issue being the CPU hit (less of a concern for IO bound workloads, which is where this kind of concurrency is generally impactful anyway). Go has reduced observability than Java, sure, but a number of other tradeoffs I personally prefer (not least of all because in most of the Java shops I was in, I was the one most familiar with profiling and debugging Java. The tools are there, the experience amongst the average Java developer isn't), and will also be releasing twice between now and next year.

Again, I'm not saying virtual threads from Loom aren't cool (in fact, I said they were; the technical achievement of making it a drop in replacement is itself incredible), or that it wouldn't be useful when it releases for those choosing Java, stuck with Java due to legacy reasons, or using a JVM language that is now able to migrate to take advantage of this to remove some of the impedance mismatch between their concurrency model(s) and Java's threading and the resulting caveats. Just that I don't care until it does (because I've been hearing about it for the past 4 years), it still doesn't put it on par with the models other languages have adopted (memory model matters to me quite a bit since I tend to care about correct behavior under load more than raw performance numbers; that said, of course, nothing is preventing people from adopting safer practices there...just like nothing has been in years previous. They just...haven't), nor do I care about the claims people make about it displacing X, Y, or Z. It probably will for new code! Whenever it gets fully supported in production. But there's still all that legacy code written over the past two decades using libraries and frameworks built to work around Java's initial 1:1 threading model, and which simply due to calling conventions and architecture (i.e., reactive and etc) would have to be rewritten, which probably won't happen due to the reality of production projects, even if there were clear gains in doing so (which as the great-grandparent mentions, is not nearly so clearcut).
> What a weirdly bold and provably untrue claim.

Not really. Given the context is clearly AWS, it's Well-Architected Framework is centered on AWS Lambdas.

https://aws.amazon.com/architecture/well-architected/
Is it that? Or 256x192x4 bits per pixel would have taken ... 24k of the Spectrum's 48k ram?
"neural-net like search features of Twitter"?? "It's the closest thing to hacking the world's hive-mind"??? Puh-leese. While I personally don't find much use for Twitter, I don't hate it, but this "global consciousness" nonsense is just marketing babble.
Exactly. Epic have their own store for games. Would they be fine with each AAA game releasing on the store for “free” but required a credit card to be entered once it was run, with 100% of the money going to the publisher?
These are entirely artistic/ceremonial objects. Someone found a dried out pufferfish and then realized they could make a badass looking hat out of it, they did, and the meme stuck. insert quasi-religious cultural narrative here after it's passed down a few generations.
To be fair, installing an app from the store might be harmful too.
I personally don't get surprised by POSIX to consider it's violating this "least surprise" principle.

Instead, for example Java has given me much more surprises, and at catastrophic levels. I was using Choco Solver [0] back in the day, and I created two instances of it, attached to different classes. Which is perfectly normal, right?

Somehow they've cross linked between these two instances, affected the results they have computed, and created persistent memory leaks which needed system reboots to claim back. Java should be immune to that, but no.

Preventing that needed to run only one instance of Choco, which limited my performance greatly. Luckily, the system had a queue/consumer structure, so running only one didn't need extensive changes.

[0]: https://choco-solver.org/
> In this case the fake pseudo-scientists that claim to understand disease spread predict that lockdown will reduce disease spread but it doesn't.

What's your basis for saying that lockdowns don't reduce spread? They do dramatically affect spread - that's been seen in every country. It's almost impossible for them not to affect spread. The virus propagates from person to person, mostly by them breathing the same air. If you reduce contacts between people, you reduce viral spread. This is about as well established as the statement that things fall.
I’ve read a few of these articles and they all have basically the same format, which is similar enough that they’re not quite as interesting to read. First a headline “does the invention of Swiss Cheese mean that Cheddar Cheese is extinct?” Followed by a little bit of interesting and useful scientific summarization. Then onwards to a point about how we’re dealing with lots of theories and not enough empirical data, so the whole field is useless and also not worth spending time on.

I would point out that lots of other important scientific fields have been in this situation before. Maybe there’s an interesting argument to the overfunding (but then again, developing theories is also pretty important!). But mostly it just feels like she’s made the point and while it’s an important point, getting a clear picture of the scientific results is more valuable than this particular opinion. (But I stress, it is her platform to do with as she wants.)
No, you don't need GraalVM either, it is only built with GraalVM, but it is usable as a single static native binary with no other dependencies.

Think how say CPython needs GCC to build itself, but to use Python as a user you don't need GCC, only the compiled CPython interpreter.

This is the same for Babashka Clojure, you only need GraalVM to build it, but as a user you only need the compiled Babashka interpreter.

There's also Self-hosted Clojurescript which only needs a JS VM. And there is Clojure CLR which only needs a CLR VM. And you've got Clojerl that only needs BeamVM.

But Babashka is probably the one you'd want to try, since it is dependency free, just download the binary and put it on your PATH.
There is misery and there is hope.

The Navy has failed to accomplish the modpro packages on the current CGs & LSD, including Gettysburg, Vicksburg, and Tortuga. Those three I have personally been involved with in many ways. The 5XXX and structural work on the CG program has been wildly underestimated. The money for Tortuga was never there and as she lay idle in the shipyard problems grew. They are not simply east coast/BAE issues either. The issues repeat themselves here on the west coast at Vigor. It was a huge mistake to leave behind cost+ and switch to FFP. There is too much time lost to pointless contract fighting.

There is hope on the horizon with new subs and DDGx and FFG. Time will tell if the new build construction yields a new DDG1000/LCS or a workhorse like the earlier DDG flights.

As for corrosion it is a necessary evil. Too many armchair metallurgists point to various alloys as a solution. The ocean is cold, salty, and miserable. The planning yards, repair yards, and Navy are full of extremely bright and hardworking folks. It takes time and money to fight rust at sea and in port.

There's a big issue with manning on the civilian and Navy side. At the end of the day there are few people in my generation lining up to enlist or to do body-damaging labor. I can't say I blame them.. I became and engineer and then joined program management. Few in the yards want the same for their children as they had in their life. Those who are left are primarily 30+ years of experience or 1-5 years of experience looking to get out.
Except this is about Google, and about Android, where you can put what you want and spend money without that middle man. You just need to side load, or install some other app store.
That Google’s cut of payments is very high which points to market position abuse