skysight-inc/HackerNews huggingface dataset:
I think your view of history is a bit distorted. In my part of the JVM world (Scala) we've been async for well over a decade. The JVM has supported async / non-blocking IO since nio circa 2003 (https://www.jcp.org/en/jsr/detail?id=51). It was definitely not developed in response to Node or Go.

Straightforward implementations of async are not very ergonomic to use without first class functions, which didn't come to Java till 2014 (Java 8), so that may have held back adoption for Java programmers.

Graal Native Image is more about reducing startup time and memory usage (usually for serverless or command line applications) than async.

As a final note, it's amusing that way before nio, Java actually had user-level / green threads but dropped them: https://en.wikipedia.org/wiki/Green_thread
> because it took so long to identify and respond to these moves by competitors

This is and has been Java's explicit strategy since the Gosling days. They watch and wait and implement changes at a glacial pace. They let other languages figure out what works, and implement changes only after they've been demonstrated useful and caveats and pitfalls have been thoroughly explored.

This conservative and deliberate change process permits much better backward compatibility and a level of stability that is very rare among programming languages.
I have experimented a bit with using vi(1) as my main editor to better understand where vim(1) came from. Overall, it is a very functional editor with my rather minimal `.exrc`:

set autoindent
set ruler
set showmode

My biggest struggle has been finding good resources to learn the "proper" way to use it as pretty much any search will land you with vim-isms and no one "serious" really uses vi(1). Matt Widmann did write a few good pieces though [1,2].

[1]: https://mattwidmann.net/notes/modern-nvi-mappings

[2]: https://mattwidmann.net/notes/entering-control-key-chords-in...

The only seemingly unsurmountable hurdle I can think of is the inability (as far as I can tell) to bind control key chords to movement in insert mode. But maybe I am simply "using it wrong" and need to adapt my thinking to suit the tool?
I don't understand why you care so much. If the principle embodied in the GPL is so stupid, then what do you care about any software written under it? Obviously you can't possibly value or want any software written by any such stupid and filthy hippies.
troff was a text oriented macro processor, based on roff, and almost certainly didn't run on the PDP-10, because it was written for unix. Roff was based on runoff, which was for IBM hardware. A more likely candidate would have been https://en.wikipedia.org/wiki/MACRO-10
One of the easiest ways to separate oxygen from nitrogen is to cool it down. Oxygen will condense at around 90K, while nitrogen will stay gaseous until 77K. You need some fairly serious energy input to do this, but it'll be safer than doing electrolysis.
Yikes. This makes me think that JSON's stubborn mistake of not allowing comments is yet another "Billion-Dollar Mistake", since it's way too late to just change the standard to allow comments, update all the JSON content on the internet to use comments, and retrain all the LLMs to understand comments.

Great point about CSVs! But using placeholder keys for JSON comments in untenable, and using schema instead of inline comments is clumsy and indirect. Of course JSON schema are quite useful in certain situations, but LLMs would get a lot more meaning out of casual common JSON if it just allowed comments, and it would also greatly benefit humans.

Between JavaScript's and JSON's mistakes, that's at least <DoctorEvilVoice>THREE BILLION DOLLARS!!!</DoctorEvilVoice> ;)

https://en.wikipedia.org/wiki/Tony_Hoare#Research_and_career

>Speaking at a software conference in 2009, Tony Hoare apologized for inventing the null reference:

>"I call it my billion-dollar mistake. It was the invention of the null reference in 1965. At that time, I was designing the first comprehensive type system for references in an object oriented language (ALGOL W). My goal was to ensure that all use of references should be absolutely safe, with checking performed automatically by the compiler. But I couldn't resist the temptation to put in a null reference, simply because it was so easy to implement. This has led to innumerable errors, vulnerabilities, and system crashes, which have probably caused a billion dollars of pain and damage in the last forty years." -Tony Hoare

https://news.ycombinator.com/item?id=19568378

>"My favorite is always the Billion-Dollar Mistake of having null in the language. And since JavaScript has both null and undefined, it's the Two-Billion-Dollar Mistake." -Anders Hejlsberg

>"It is by far the most problematic part of language design. And it's a single value that -- ha ha ha ha -- that if only that wasn't there, imagine all the problems we wouldn't have, right? If type systems were designed that way. And some type systems are, and some type systems are getting there, but boy, trying to retrofit that on top of a type system that has null in the first place is quite an undertaking." -Anders Hejlsberg
This whole thread is beyond the point, since the original commenter asked which are the topics that you can't discuss on HN. Your replies only confirm that Covid is indeed a topic that you can't discuss on HN.

---

I'll reply for completeness anyway:

> I can see why a forum would want to control what topics are on and off topic.

There's a difference between banning flamewars and banning any kind of discussion. I am talking about the latter, not the former, which did indeed happen during Covid.

> Obviously you can say anything you like on unmoderated places like 4chan, but what does that prove?

Indeed, 4chan was the place where you could see discussion about the Covid policies and the media claims, from masks to lockdowns and mandatory vaccines - in fact, it was the one of the only places you could talk about it. Many of the things discussed there turned out to be true.
The overshooting and correcting pattern (and 'fractal' therein) can be understood analogously by considering the binary search tree. The tree is fractal (i.e. sub trees) and each step may overshoot until the solution is found.

This analogy can be made rigorous by looking at bisection search on a convex function instead of a simple binary search tree. The same pattern holds. "Fractal" patterns occur because the problem is invariant under scaling.

What is interesting is the initial half of small steps. I have not read the original paper to give a professional view on the mathematics, but it may just be that initial small steps are priming the optimizer to find the right scale.

Unfortunately, it may just be that the findings are not something fundamental to gradient descent or optimization in general, but just an observed property of the smooth convex cost function considered under this particular algorithmic investigation.
Why not? COBOL has great job security.
The tokens are chosen by a method called BPE, and there are single letter tokens. IOW you can encode the same text many ways. That said, this is probably just shown like this for illustrative purposes.
It's mentioned in the article: "This example simplifies things a little bit because in actuality tokens do not map 1:1 to ASCII characters (a popular token encoding technique is Byte-Pair Encoding which is beyond the scope of this blog post), but the iterative nature of generation is the same regardless of how you tokenize your sequences."

It's an extremization that still is true for character-based models.
I've read they try two find consensus which doesn't seem authoritarian, do you have any sources for that?
Porsche be designing for the car people envision, or the car people use?

Porsche is smart enough to do both. They have their top end performance cars that people aspire to, and their normal "daily driver" cars that people actually buy and use.

That being said, of all 'high end' sports cars the 911 is by far the one I see most often being used as a daily driver. I never see Ferraris driving down a dirt road to a hiking trail, but I do see 911s.
Why not do both?

We are always going to have cars: whether gas or electric.
Fun project: Creating a LangChain alternative from scratch
How is advocating for eating the rich a call for violence though?

Are you assuming it's a call to kill them rather than a plea to not waste the protein?

The thing many people fail to realise about the Fore people in PNG was that their cannibalism was a mortuary rite of reverance for highly valued in group members that weren't killed for sustenance.

I can quote a paper: https://www.ncbi.nlm.nih.gov/pmc/articles/PMC2581657/ or simply say I learnt that first hand 40+ years back as child tagging along on supply runs with Mike Alpers (see Author list).

Now .. given you might have gained a snippet of new infomation, how do you feel about upvoting this comment about eating high value members of society?
Have you tried watching movies with audiodescription?
And then when the police violate the law, what happens? They are forced to not do it again? At worst they get to pay a fine with someone else’s money.
You need to use a decoder to convert the response to a sentence.
Example: https://huggingface.co/docs/tokenizers/api/decoders
is there any evidence they're actually good at math?
Well, it would help explain why these near resonances could be more valuable to the solar system’s stability than perfect resonances. Meaning they likely aren’t coincidental, despite not being perfect.
And the party for capitalism and private property would be allowed to participate in the elections? :)
Are you referring to pandas.Timestamp.max being 2262-04-11 23:47:16.854775807 ?

https://pandas.pydata.org/docs/reference/api/pandas.Timestam...

(pandas design choice was to support nanosecond times, for financial data.)
> try implementing HN in a week

Not all of us work with prototypes someone will rewrite later on. Design a high traffic, low budget site with Django, and you will quickly understand the trade offs. It's not all about less coding effort; in most dev positions that matter, your work is cheap compared to the runtime cost - eg. optimizing something to take 10% less has the potential to shave multiple times your salary off the global cost pool.
I know you didn’t write this but what an idiotic take. How many Miatas exist? It’s a very uncommon car. At best it carries two people. Who cares about the weight difference between a Camry and a Diablo? Micro weight isn’t the problem macro environmental externalities are.
> You can easily verify correctness by running the code it outputs and testing it.

This is not always as easy for all types of questions. It's hard to come up with an example on the spot, but I tried a few queries I searched on SO in the last week, and found one to demonstrate. I was searching for "Where to store JWT in browser?". This is the SO answer [1] for reference. Now to prove my point, I ask the question to ChatGPT (3.5). Here's the chat [2].

On a first glance it looks like ChatGPT may have nailed it, though the information dump is HUGE. Among the 6 options it suggests, the last option "secure cookies" looks "correct". Indeed it is correct in what it says that this can prevent XSS attack. But it is not complete. Because it still does not prevent XSRF attack entirely. So I had to explicitly prompt it to think about XSRF and its response is weird. At first it incorrectly claims that XSRF attack is mitigated, but then in the response body it elaborates that we also need anti-XSRF tokens for complete protection. So I don't know what to make of it. Contrast this with the SO answer which is way more direct.

Honestly, ChatGPT's answer looks like that of a student who is trying to impress some examiner with their knowledge dump by beating around the bush rather than trying to precisely answer the actual question.

[1]: https://stackoverflow.com/questions/27067251/where-to-store-...
[2]: https://chat.openai.com/share/c26fee93-5d3d-48e2-a820-297974...
It is also naive to assume that everyone has good reasons to believe what they believe, when we live in the world where astrology is popular, and people believe things because they "feel deep inside that it's true!".
> LLMs do not have the ability to reason with numbers

I’ve found ChatGPT pretty good at estimating long division
They got golden handcuffs and forced to become normies.
I quite like a lot of pop from my youth, music that I turned my nose up at back then.
Not predecessor. But offspring.
More concretely, sometimes it is not enough to simply constrain the next token, backtracking might end up being better.
>the statement "you can't be fired for going on strike" misses the essential difference of the law as written versus the law as enforced

strikes are pretty effective, that's why the devil in the details isn't trying to go around a strike. It's to either rule a strike a illegal, or try and prevent a union from forming to begin with.

I see that statement as pretty much true... once you can establish the union. And I see it as a proper response to "well you don't need a union to strike". Of course no one can make you work if you stop going to work, and you can't be arrested for refusing to work unless you are military (AWOL) or very specific, specialized professions. But that misses the point of a union.
The Zapatista movement is almost entirely rural. What capital intensive industry have they built and run? In fact they are adamantly opposed to big infrastructure projects in their region. That's remarkably prescient because they would erode economic equality.

Of course communitarianism can absolutely work at the community level, I discussed that above, the problem always comes when you try to scale that up to more 'lumpy' and specialised economic activities. As soon as some economic and social activities have dramatically more economic and social consequence, or are dramatically more resource intensive than others, the problems start setting in.

The Marxist view is that communism can only work in industrial settings because Marx viewed it as about the control of capital. The actual evidence in reality is that it only works in culturally and economically homogenous societies, which mostly means rural ones.
Nice one, I mean, nice seven. ;-)

Also, after reading your comment, I went back and looked at all the panels.

I now see a Zen-like quality of nothingness in 5, 7 and 10.
When it comes to implementing low level code using instructions and registers, nothing beats the data sheet. You don't need any opinions or tutorials, just a knowledge of how the chip works (it's in the data sheet), and the instruction set (also in the data sheet).

I'd highly encourage anyone to read a data sheet for something like an ESP32.
Yeah I think the results would be different if it were phrased in terms of consequences to the individual:

If you choose red pill, you are guaranteed to live. If you choose blue pill, you will die if less than 50% of people also choose blue pill.
Oh no I'm thinking specifically of these being the same car. Many people buy something like a 911 without ever taking it racing. That car needs to be designed for the racing for people to buy it, but at the cost of it being less suitable for driving to golf courses.

Making two cars is the easy answer and all brands do it to some extent, but it's a solution for a different group of customers.
Who's gonna try it out? the potential union leader who just left for a 30% raise?
USA was financing coups and assassinating anti capitalists in Latin Americans even when they were elected, so just choosing them doesn't work. Capitalist power structure is fine with using violence to keep its hegemony even against Liberal rules.
The Art of the (Sub-)Pixel
Car engines are a marvel of engineering, they're designed to operate at practically arbitrary workloads under practically arbitrary conditions in varying states of disrepair and perform reasonably well in all of them.

This is in stark contrast to something like the engines on an airplane, which are designed to operate optimally at cruising speed and altitude and just be "eh, good enough" everywhere else.
> Regarding abstraction over database drivers, well how often do you need an abstraction over database drivers, are you really using two or more different databases in a single project?

Extending on this, you actually shouldn't even use different databases. There are bugs and quirks between different databases on things like string matching :) Having a multiple database project is often a nightmare, as you need to track all of these small differences and nuances that may affect the way your system works.
It's two files, you can probably just cffi it in.
You are on "hacker" news, where people are "passionate about SEO"
I guess we have to wait to see proper benchmarking. But I suspect that Kotlin coroutines will still have an advantage in scenarios where a ton of suspension/resume is needed, because I think this is probably cheaper in kotlin coroutines. One example is GUI applications. On the other hand, for applications such as network services, where tasks mostly suspend on IO, virtual threads will probably be superior. But as I said, nothing prevents Kotlin coroutines to use them behind the scenes as well.
You are assuming that the topics I mentioned would be posted in the shape of short slogans, but they could be posted as long comments of several paragraphs and be flagged all the same.

Also there is no left bias. There is a progressive bias. Not exactly the same
`synchronized` is a lock without any ordering/fairness guarantee. Therefore, with the increased concurrency caused by Virtual Threads, there's higher chances for starvation.

`ReentrantLock` pretty much replaces every use case of `synchronize` and also supports `fairness`. The only downside of `ReentrantLock` is making the code more verbose, and inexperienced programmers might forget to release the lock.
China Suspends Youth Jobless Data as Economy Signals Sharper Downturn
Bureau van Dijk or Dun and Bradstreet should release a version of this. All of their business entity beneficial owner data would provide a much more straightforward version of this. Granted, that wouldn't include political spending or anything like that.
Both the essay and Orwell's preface address this question directly. They say it wasn't wartime loyalty because the same people were perfectly willing to criticize their own government much more harshly than they'd criticize the USSR, and their love for the Soviets predated WW2 anyway.

A blindness towards the realities of the USSR was common amongst the highly educated at that time. There's a reason the west had such huge problems with westerners becoming Soviet double agents, to the extent that in the UK some of the people responsible for catching Soviet spies were themselves Soviet spies. The issue was the intelligence agencies recruited exclusively from Oxbridge. The actual working classes in Britain had no time for the USSR, but graduates did.

This is still a problem! There are still a lot of academics publishing today who take Marx completely seriously and attempt to build on his ideas. You can just search journal articles for mention of him to find them:

https://journals.sagepub.com/action/doSearch?AllField=marx&S...

https://journals.sagepub.com/doi/full/10.1177/00380385211037...

This article continues the conceptual work of developing a process-oriented perspective on belonging by taking up the active engagement of affiliation (and disaffiliation) as an undertheorised yet necessary aspect of accomplishing belonging. In developing the concept we draw on Marx’s notion of work as material activity in forms of life and the sociological concepts of face-work and emotion work.
Why put this at L1?

Rather have a Starlink-style massive fleet of low orbit satellites.

Picture something like a mylar-sheet with a tensioned outer rim that can be folded small and then pop open after release and placement in orbit.

For bonus marks make it controllable by interacting with the earth's magnetic field - a current in the outer rim could be used to align it relative to the earth's magnetic field.

If the surface is mirrored and they are controllable you could use it to reflect sunlight onto areas to heat them - so you could heat bodies of water to increase vaporisation and you might be able to create air movement by setting up temperature gradients.

You basically want an artificial ring - a set objects in orbits that can dim the sun by up to about 2% in the brightest part of the path of light from the sun to the earth.
Yes, depending on your access to treatment.
To a large extent, the economy consists of one vast swathe of the labor force digging holes and another vast swathe filling them up again. Anyone complaining about having to pay for "make-work" jobs is very very late to the party.
Neither side has said anything in that regard. Proably need to browse Blind and try and piece together what was actually said in the all-hands.
This sounds like a result of how often cars are replaced. What if you stopped a sample of 100 cars released in the last five years? That proportion would be far higher. Pretty much every car review I watch mentions support for either or both.
Please do avoid thinking you can identify “pseudo intellectual responses and nonsense.” Check out my paper reviewing the concept of resonance across fields — the most largest such review of resonance ever.

https://www.frontiersin.org/articles/10.3389/fnbot.2022.8504...
It can, that's where plant encyclopedias, botanical information etc come in.

Botany is a science, the information is out there. Go to your local library and have a browse.

What I don't like is how SF techbros seemed to try and high-tech solve a solved problem. I've seen some of my colleagues set up a farmbot... the same job could be done with one person, a couple hours and a trowel. In practice, the building manager would go to the site once a day with a hose to water the plants.
I wonder if you could use argon instead then.

And yet, argon is more narcotic than nitrogen:

https://en.m.wikipedia.org/wiki/Nitrogen_narcosis
You can have hierarchies without great power imbalance. That's how the Makhnovstina or the POUM organized.
https://archive.is/EVIuy
Scala can just use the virtual thread pool as default execution context and its beautiful, you can just call whatever you want in a Future
> More than 10k people to serve you!
Start Today!

What does this mean?
Just to present a counterpoint, I can see a range of fair use exceptions that IA could argue, these largely align with the educational exceptions present in US copyright law.

What's working in their favour:

1. The intended use of the copyrighted work. The recordings are not pristine, culturally important, and have limited commercial consumption potential in their available form.

2. Nature of the copyrighted work, i.e. Is the use to further creative expression(yes) or consumption(no). IA's own access statistics and duration of the project can strengthen this point.

3. Potential market/value of the copyrighted work: This will play significantly in their favour as the records are dated, rarely sold and not pristine/remastered.

What isn't working in their favour:

1. Unvetted self-serve distribution over the Internet: However this case is an excellent opportunity to extend the face-to-face education exception to self-serve online educational resources. This would be a reasonable modernisation of the clause, and would still provide a clear boundary between the education and commercial use purposes.
Tesco in the UK have been doing their own grocery deliveries since at least 2008. It feels like one of those things that makes sense for the grocery store to provide themselves (or use a white-labelled solution like Ocado), because they don't have to entirely make their profit from the delivery fee or marking up prices.