skysight-inc/HackerNews huggingface dataset:
Is there an architectural reason Sonnet beats 4o? Or is it simply a matter of training corpus?
First, my other comments for reference; https://news.ycombinator.com/item?id=41013798 and https://news.ycombinator.com/item?id=41015406

I had explicitly stated above that "he conceived Erlang as Prolog-Ideas+Functional/Procedural+Concurrency+Fault-Tolerance." Here i am not making an equivalence between Prolog and Erlang but emphasizing the inspiration that Prolog provided for the design of Erlang (that is what is to be understood from all the links to the papers and comparison charts given in earlier comments). That inspiration is in the syntax of pattern matching, Atoms/Variables, Module/Export directives etc. Similarity of Syntax is very important for learning/understanding new languages since your cognitive load is decreased dramatically. A good example is C++ to Java/C# where the similarity in syntax (though the runtime object model is very different) is what was crucial to the widespread adoption of the latter. It is in this sense that Prolog to Erlang comparisons should be understood.

Your arguments of grouping/comparing widely dissimilar languages are somewhat disingenuous. A much better side-by-side comparison of languages is https://hyperpolyglot.org/ where the author has tried to group by intended functionality and historical development. I think this is a good way to do it.
I make TTRPG character sheets with Typst. No only they look great with perfect page layout, the programming capabilities allow to compute everything from ability scores automatically, like Excel. It's really well designed, and fast too, VS Code integration just works (for me at least)
Warrants further analysis.
Your prices are off. Not 5 to 2 yuan in the 90s, more like 5 to 2 jiao. I remember 5 jiao bathroom places being common into the late 00s in Beijing (and literally why I would carry a few 5 jiao notes whenever I went out, along with tissue). There is no judicial independence or precedent in China, and localities typically set their own policies and standards. Even mandates are often just unfunded wishful thinking, you can still find pay toilets in China today especially in tourist places.

Starbucks would always have a sit down toilet in Beijing malls, which was useful if the alternative was a squat toilet. But availability is nice, so that sit down toilet wasn’t very available and the squat toilet in the mall was, so whatever. The old guys smoking in the bathroom was a pretty big problem. 20 years ago at least, even in the squats. I feel sorry for girls, though, a fancy mall in xidan would always have a huge line for the women’s restroom that made my bladder cringe, well past 2015.
How is that US$642.5b calculated? IIRC in 2015 we had at least two values for the dollar/pesos ratio. The official one was like 10AR$/US$, but you could buy a small amount of dollars at that value. And the street value (so called "blue dolar") was like 15AR$/US$. So which one was used? It's like a 50% difference.

(Now we had like 10 definitions of the dollar/pesos ratio. The official one is 950AR$/US$ but it's almost imposible to buy at that price. To buy dollars, the prices are around 1300AR$/US$ or 1500AR$/US$ depending on the day of the week.)
That's a Sweet Dream.

https://www.youtube.com/watch?v=oGfkPCZYfFw
You don't need all the colors. As every household white LED bulb proves, you can get it with just a combination of blue and yellow.
Don’t forget https://HostGecko.com

I miss these old joke websites. No Uptime is old af
The bathrooms are already mandated by the government, they just aren’t required to be free. But in the overhwhelming majority of cases they are free.
And php 6 doesn't exists.
Ask HN: Do any embedded languages support REPL-driven development?
Languages like Lua are often used for embedded scripting to enable faster turn-around time. Ironically, most of these languages do not support a proper Lisp/Smalltalk-style REPL-driven development that can actually help in making the development process faster.

From what I understand, to enable REPL-driven development, a language (or rather, its implementation) would have to satisfy these conditions:

1. Allow user to (re)define a function when encountering an error, without unwinding the stack.
2. Allow user to re-execute the operation that triggered the error.

Most runtimes, whether they belong to compiled or interpreted languages, do not support either of these operations.

On the other hand, to be considered a embedded language, an implementation would haver to satisfy the following:

1. Light weight: Low memory and CPU usage
2. Portable: Builds everywhere natively, on each OS and hardware. No Cygwin! Yes C API!
3. Re-entrant and threadsafe: To allow clean multi-threading in the host app, without any GIL, etc. Allow multiple interpreter contexts, for plug-in systems.
4. Simple and Comprehensive API: Letting the host manipulate as many execution characteristics as possible, to serve its exact purpose.

Most well-known languages that do support REPL-driven development don't have these characteristics.

So, I wonder, is any any language implementation that is designed to be embedded and also support REPL-driven workflows?
Show HN: Towards AI Governance
Let's start an open-source, non-profit AI government. Create LLM agents to represent every politician, decision-maker, and policymaker. By simulating their decision-making processes, we can measure their performance against actual human decisions. This would involve considering both short-term and long-term consequences. Running this experiment for 5-10 years would generate valuable comparison data, allowing the public to interact with and contribute to the development of the project.

A week ago, Balaji announced a challenge to create an open-source demo of a President Biden deepfake. This isn't new; we've seen such videos before. However, there hasn't been a project that combines all the open-source models and allows us to talk and interact with the deepfake. This is the initial release. Responses will stream live. To make this real-time on consumer GPUs and indistinguishable, a lot of work needs to be done, such as aligning LLMs, training text-to-speech, and optimizing the LipSync video generation model.

The same post I submitted earlier was flagged by someone for being political in nature and is no longer visible. Please do not flag it; this is not a political post. Let's discuss the implications of such a project on our society.
Start putting addicts and rabid homeless in mental wards/jails and only then will public bathrooms be tolerable. Hire some local muscle to keep an eye on things. Problem solved. These days I'd rather spend $5-$10 on a beer or souvenir to use a private bathroom with my kid vs potentially encountering a deranged man masterbating or shooting up.

The real civil catastrophe is the enablement of this behavior. How come we can't figure this out in 2024 but for 1000s of years it was the absolute bare minimum that was expected from a society?
Are you running pihole or some other tracking protection?
Interesting thank you, I had never heard of this! It is unfortunate how sometimes the Law of Unintended Consequences bites activists in the ass. You see a worthy cause and want to improve the situation, only to end up making things worse.
Hence the rest of the quoted sentence. I think removing barriers to fixing bugs is good but companies need to feel more pressure to do so.
This may be a bit of a cultural impedance mismatch. I can sort of understand their position and sympathize with their situation, but it also seems creepy if I put myself in the shoes of their delivery targets.
NetWare proliferated very rapidly during the late 80s and was common on most networks I used into the mid 1990s. Their file server product was stable and easy to configure, and worked very well with nearly every client out there using the fast IPX/SPX protocol.

However, by the mid 1990s it was clear that Windows NT and the TCP/IP protocol of the Internet would soon make Novell and NetWare fade into the sunset.
> Neither of these will generally hold in an actual game

These absolutely hold, 90% of casual poker players have the exact same strategy problems of not bluffing enough and calling too much.
Thanks, I did not know about Freetar!

TBH I have a lot of things to improve before thinking about this kind of interop.

But feel free to create an issue :)
If only our energy infrastructure could be run like the DMV.
hi Julian - good to come across you again... remember reading iHole. What else have you been up to recently - any new things to read?
How many coins were mined in 2023? How many transactions were completed in 2023? What percentage of each used this "wasted energy"? 100%? 75? 35? Other?

And even if mining used only energy/electricity that would otherwise be "wasted", so what? If cryptocurrency mining was never invented in the first place, the energy production would be curtailed because it wouldn't be needed to begin with, and there would be no net loss.

So the production of some (unneeded) energy is curtailed, so what? Not needing energy in the first place is hardly a hardship on society (and the environment).
Allow me to give a different, information-theoretic, perspective. How much damage can flipping a single bit cause? How much damage can altering two bits cause?

The fanout is a robustness measure on systems. If we can control the fanout we increase reliability. If all it takes is a handful of bits in a 3rd party update to kill IT infrastructure, we are doing it wrong.
Mixing live streams as simple as building a website
LiveCompositor is a media server for real-time, low latency, programmable video and audio mixing.

LiveCompositor targets real-time use cases, with a significant focus on situations where latency is critical. It is a great fit for any video conferencing, live-streaming, or broadcasting solutions where you need to combine or modify video on the fly.
It certainly has a lot of overlap and is a very interesting project, but like most projects in this space, I feel like it's already doing too much. I think that might be because many of these systems also try to be user facing?

E.g. it tries to solve the "mutability problem" (having human readable identifiers point to changing blobs); there are blobs and collections and documents; there is a whole resolver system with their ticket stuff

All of these things are interesting problems, that I'd definitely like to see solved some day, but I'd be more than happy with an "S3 for blobs" :D.
In this case it was tracked to Russia.
I hate to think of the damage large amounts of IR or especially UV would do to the eye.
This feels like a cope for the fact that we let people defecate in public now.
It looks like a university project? These usually start with

Step 1: I would like to have a cool robot.

Step 2: How do I plausibly justify cool robot?

Everyone knows cool robots have legs, not wheels.
Why is the onus on me to try and hold back those who don't know how to think straight from getting into an argument with a straw man? They could, you know, just not do it.

Rather than encourage a dumbing down the content to the lowest common denominator, why not encourage those with low comprehension to not get into arguments in the first place? Dumbing down the content does not improve the quality of discourse. That is a entirely flawed notion. Hacker News is decidedly intended for a hacker audience, not an audience of high school debate team hopefuls. There should be no harm in speaking to hackers at their level.
Spanking browser for performance: 100× speed improvement
What is Bitcoin mining and why is it an integral part of the Bitcoin network?
CrowdStrike Incident Wiki
It has been studied widely in both research and clinical practice for almost 40 years but most extensively since ~1990 to now. With repetitive TMS (rTMS) there are very small chances of inducing a seizure if say, the patient has temporal lobe epilepsy, but it is generally considered a very safe procedure. And there are well established intensity/repetition frequency limits for such cases defined by stimulation region. It is even done in psychiatric (non-hospital) settings. See chapter 5 for more information: http://erewhon.superkuh.com/library/Neuroscience/Magnetic%20... (Magnetic stimulation in clinical neurophysiology / Mark Hallett and Sudhansu Chokroverty. 2nd ed, 10MB PDF)
You raise that what's needed is mandatory sandboxing. Is this sufficient to mitigate the threat of ransomware or would kernel-level tools still provide more protection?

I'm also curious if there are any Linux options other than Chrome OS that provide what you feel is close to the desktop OS security of Mac OS.
Stuff like this always has negative selection effects unless there’s some aggressive vetting up front
I heard that the CrowdStrike bug was committed during DRAG QUEEN STORYTIME AT THE PUBLIC LIBRARY.
Blasted bugger. That is "presumptive justice", I meant to say.

https://news.ycombinator.com/item?id=40986056
But it's not $60, It's $74 + $78 in shipping + taxes and fees.
I guess we have to enjoy the last year or so before better models are indistinguishable from us?

With some better/clever prompting I’m not sure they could be as easily detected now.
How to choose a textbook that is optimal for oneself?
I wonder how many subtle errors will make their way to the new codebase (decimal rounding, a library uses where a parameter is ignores and there's no tests for it...) only to be found in production and AI will be blamed.
There is no AST tool nor anyone had solved cross language refactor. Direct me if I'm wrong
I do a flavor of this. I use Hugo as my blog system and plugged in the bearblog template to it. Right now I host on GitHub pages with my own custom domain. Works well!
The site could be improved with a Cloudflare 'always online' banner.

https://blog.cloudflare.com/cloudflares-always-online-and-th...
> (which they are generally terrible at)

They are only as good as the people in a jurisdiction let them be. Also, the governments you have experienced are far from generally representative.
FYI my focus is solely playing tabs and I do like keyboard shortcuts :)

What kind of shortcuts would you be interested in?
I wonder if people may be able to organize some entity that collects money for everybody to use in projects that benefit the society...

But I guess, no, that's impossible!
I just meant for processing, not compared to skilled or mindless translation done by humans.
I wonder if I can make an interesting project using the I'm-poor specs
Given that you don't consider UTF-8 to be success, perhaps nothing is?

Explaining what any of this has to do with the topic at hand is definitely not a success. Is this supposed to be your admission that you have no idea what you are trying to say?
You may find JSO annoying, dislike their tactics. But they dont belong in prison
Absolutely correct, I've seen muli-axis machine tools that couldn't even be started let alone get running properly if Windows wouldn't start.

Incidentally, on more than one occasion I've not been able to use one of the nearby automatic tellers because of a Windows crash.
Whoops, you're right. That would be a whole different flavor of story.
I like it, but quo and poo are a bit too different to work.

Maybe "Quid Poo Quo"?
> But why does it need to be remotely updated?

Because it can be remotely updated by attackers.
Impulse stops are rare (except gas) but people often develop habit of coffee along the way, and they will look for a place not out of their way.
No worries! I changed the title to "Tell HN" above.
Although I suspect humans are the most intelligent, it's possible that is us creating a standard specifically for our skill set and other species outperform us by equally reasonable but different standards.

> After all, if there's nothing special about human intelligence, why are we the most dominant species on the planet?

Could be a lot of things. Sea life can't have fire, so no ceramics or refined metals.

We're unusually cooperative at multiple levels of abstraction; wolves have packs, ants have colonies, but we have global trade in information, energy, goods, and two nations of over 1.4 billion people each.

Opposable thumbs are really useful, relatively rare.
> Let's just barricade up the streets. No traffic = no traffic accidents.

That’s what my home city did – Ljubljana. Over the past few decades the downtown area has become an almost square mile sized pedestrian zone. It has been wonderful. The area is completely revitalized, shops are booming, tourism is booming, entertainment industry is booming, everything is booming.

All because they kicked out the cars.

Here’s a video and a photo from my recent trip back. It made me realize how dead San Francisco feels in comparison even with 3x the population because everything is just roads with nowhere for people to hang.

https://x.com/Swizec/status/1803873334066843733
https://x.com/Swizec/status/1803896813679972570
This site is very, very old.
You explained wrong. literally no one uses coal as peaker ever, and they are building more coal plants than the rest of the world combined (the country is not even the most populous)
That's a little thing we call a joke.
Just put it on WordPress or Wix if you don't mind paying.

If you don't want to pay, use Astro and put it on Vercel or Cloudflare Pages.
The link behind "Click here for English" is a good one, I have to remember that. Good idea.
https://archive.is/fqe0o
The song sung here ("Au clair du lune") starts with an aptly prophetic verse:

>>By the light of the moon,
>>My friend Pierrot,
>>Lend me your quill
>>To write a word.
"Fair" has nothing to do with it, the adjustment factor will be whatever the marketing folks think they can get away with.
I live in a similarly sized city to San Francisco in Northern Europe and San Francisco has almost two orders of magnitude more traffic deaths each year.
What warez dump?
This can be generalized.

For example, people tend to name git branches with something like "BugID1854286_fix_pointer". Whe GitHub (or whatever version control) shows you branches, it show you a prefix of the longer branch name, so people have only 6-8 human readable characters in the branch pull down, and they're all at the end of the strings so displayed.

The they title the PR "BugID1854286". The PR intro often consists of a phrase like "Fixes BugID1854286". That same phrase just might occur as a comment in the changed source, as well.

The justification given is usually "it aids tracking bugs", but that's false, GitHub (or whatever substandard corporate crap like Serena Dimensions) does the tracking on some internal ID. Branch name and PR title are for humans. Also, got branches are ephemeral, so who cares what the name is?
A little bit, probably slightly better. But insurance companies don't want to eliminate risk (if they did that, no one would buy their product). They instead want to quantify, control and spread the risk by creating a risk pool. Good, competent regulation would be aimed at eliminating, as much as reasonably possible, the risk. Instead, insurance company audits are designed to eliminate the worst risk and put everyone into a similar risk bucket. After spending money on an insurance policy and passing an audit, why would a company spend even more money and effort? They have done "enough".
Related ongoing thread:

CrowdStrike Update: Windows Bluescreen and Boot Loops - https://news.ycombinator.com/item?id=41002195 - July 2024 (3590 comments)
Related ongoing megathread:

CrowdStrike Update: Windows Bluescreen and Boot Loops - https://news.ycombinator.com/item?id=41002195 - July 2024 (3590 comments)
performance, therefore cheaper
Because the bomb was placed in a trash can. It’s like having to remove your shoes to board an airplane in the US: firmly securing the exact door the horse has bolted through, and not paying any attention to other holes in the wall.
They're getting blasted for causing a massive worldwide outage due to what is clearly inadequate quality control. I don't see why this is any better if it's "pushed a kernel-mode driver update with bugs in it" than if it's "released a product with buggy kernel-mode stuff that can be made to crash by an innocuous-looking data file, and then pushed a data file that made it crash". Same result either way. Same demonstration of inadequate quality control either way.

I think the story they're telling now, which so far as I know is the truth, looks worse for them, because it requires them to have screwed up their QC twice. Once when they made a product that do such bad things, and once when they pushed the data file to millions of PCs without checking what it did.

So I still don't see how "this particular file happens not to be kernel-mode code" makes them look any better, and therefore I don't see why they'd be saying it "to deflect blame". It doesn't deflect blame; they look just as bad either way.
The author does acrobatics with sourcing the temporary file and then backslashing the dollar in the heredoc when all he needed to do was backslash The dollar in the in the first place. The author shows a new script with double quotes instead of a heredoc that would lead to the exact same result. He starts with `export AUTH_TOKEN=$APP_AUTH_TOKEN` but then later he said he was working with `export AUTH_TOKEN=$AUTH_TOKEN`.

Heredocs work fine. If the author had written this originally and `$APP_AUTH_TOKEN` we're indeed set on the originating machine, then the original heredoc would work just fine.

This whole article leaves me feeling very confused.
40s is middle aged.
Ugh. I can’t get to the purchase screen. Nothing seems to work properly. 24/8 support?! This site is a joke.
> what else could it be if not research?

it could be experimentation and learning about your own invented system and mechanic, not uncovering of existing truths

the word "search" makes this more clear, the answers research finds already exist, we just didn't find them yet. that is not the case for inventions that don't work, and need to be experimented with until they work.

there may, certainly, be some incidental research discovery while attempting to make an invention work (e.g. if Space X had hit on something new about physics itself that had been causing their prior experiments to fail) -- but nobody "owns" such truth discovered, while of course they own their invention that works as a result of applying known truths to a creation.
Note that at the end of January the price was a ~1250AR$, then it strangely reduced to 1000AR$ until the middle of May. In the last 15 days it raised to ~1500AR$ and then go down to ~1450AR$. I guess it will go to $1400 next week, but who knows. https://www.dolarito.ar/cotizaciones-historicas/oficial
The only thing I need to start writing more serious documents with Typst is an equivalent to latexdiff. But I really think (and hope) that this will replace latex in the future. Alone the compilation time makes it so much nice to use! Meanwhile I am supporting them by having a pro account, which is not even so expensive.
You picked a really odd day and thread to say that everything is connected for really good reasons.
I think I heard that moving from 99.99% unavailability to 99.999% unavailability costs ten times more.
Protected by CrowdStrike
The article mentions stair climbing as a requirement, not sure I buy that.

Even wheeled robots can climb stairs with the right platform, I think that's still cheaper, less complex and error prone.

But from a pragmatic perspective, it sounds like a very reasonable tradeoff to simply not support stair climbing. It's not like that thing is gonna walk itself from the workshop to the target area. If someone has to carry it anyway, they could conceivably carry it down some stairs while at it.

(I'm a rather incompetent hobbyist when it comes to robotics, but I've been researching locomotion quite a bit and find a wheeled platform to be a good choice even in the forest environments I focus on. Guess it's just not exciting enough.)
we did the first podcast interview with him a few weeks ago if interested to learn more https://www.latent.space/p/yitay
Soon to be acquired by CrowdStrike