skysight-inc/HackerNews huggingface dataset:
> Almost all JSON consumers are either deserializing to a spec that already contains type information

But different languages interpret different strings in different ways by default.

This leads to major bugs.

One of the great strengths of JSON is that parsing a number is well-defined.

The way you're suggesting would lead to people emitting JSON with leading zeros sometimes, and then some languages end up interpreting certain numbers as octal.

No thank you.
This might be interesting: https://jelv.is/blog/Haskell-Monads-and-Purity/
It appears that researchers and commentators are totally missing the application of LLMs to law, and to other areas of professional practice. A generic trained-on-Quora LLM is going to be straight garbage for any specialization, but one that is trained on the contents of the law library will be utterly brilliant for assisting a practicing attorney. People pay serious money for legal indexes, cross-references, and research. An LLM is nothing but a machine-discovered compressed index of text. As an augmentation to existing law research practices, the right LLM will be extremely valuable.
I think the Chumby came out just a little too late. Great idea, but like so many things the post-iPhone-smartphone began to fill all the roles that those things filled

I was thinking about the brief life of the dedicated flash video cameras. They were more capable than phones of the era, but they couldn’t share on their own.
> Jason Cooper, a commercial paleontologist, went for a walk around his property near the aptly named Colorado town of Dinosaur with a friend and found a bit of femur protruding from some rock.

what an opener
I like that it immediately assumed the US, even though nothing in your question suggested it. I love that all LLMs have a strong US centric bias.

Btw I'm not personally a lawyer, but I've heard that GPT is especially prone to mixing laws across the borders - for example you ask a law question in language X, and get a response that uses a law from a country Y - and it's extremally convincing doing that (unless you're a lawyer, I guess).
> Passing the bar should not be understood to mean "can successfully perform legal tasks."

Nobody does except a bunch of HNers who among other things, apparently have no idea that a considerable chunk of rulings and opinions in the US federal court system and upper state courts are drafted by law clerks who, ahem, have not taken the bar yet...

The point of the bar and MPRE is like the point of most professional examinations: try to establish minimum standards. That said, the bar does test for "successfully perform legal tasks", actually.

For the US bar, a chunk of your score is based off following instructions on case from the lead attorney, and another chunk is based on essay answers. Literally demonstrating that you can perform legal tasks and have both the knowledge and critical thinking skills necessary.

Further, as previously mentioned, in the US, people usually take it after a clerkship...where they've been receiving extensive training and experience in practical application of law.

Further, law firms do not hire purely based on your bar score. They also look at your grades, what programs you participated in (many law schools run legal clinics to help give students some practical experience, under supervision), your recommendations, who you clerked for, etc. When you're hired, you're under supervision by more senior attorneys as you gain experience.

There's also the MPRE, or ethics test - which involves answering how to handle theoretical scenarios you would find yourself in as a practicing attorney.

Multiple people in this discussion are acting like it's a multiple choice test and if you pass, you're given a pat on the ass and the next day you roll into criminal court and become lead on a murder case...
Explanations with bad analogies are really a very often problem.

Although this author matched monads with burritos relatively well. Except for the purpose - we know the purpose of burritos, but this does not help to understand the purpose of monads (for programming, in particular).

But sometimes a concept is named after a bad analogy by the concept authors (and probably even invented after that bad analogy, although maybe the authors just use poor name because they fail to clearly recognise the essence of their solution). Like mixins. I satirise that in my Mixin FAQ

Q: What is a mixin?

A: Mixin allows to inject functionality into classes. Mixins first appeared in the Flavors system and were inspired by an ice cream shop offering a basic flavor of ice cream (vanilla, chocolate, etc.) with a choice of optional "mix-in" ingredients like nuts, cookies, candies, etc.

Q: Can I mix-in a ServerSocket into a ColorPicker?

A: Yes, why not.

Q: How will it work?

A: Like ice cream with cookies.
Idk what my most humbling moment would be, but there's been a few.

I've spent the majority of my career looking for wook rather than doing work, and have lost at least 7 jobs in the first 12 years for one reason or another. This is going on the 3rd time I've spent more than a year without working at all in any job. It never gets easier, and each time I get to spend a ton of time reflecting on how things went and what I'm actually good at. It's usually humbling, because so far the list of things I'm good at professionally has only dwindled. Another humbling aspect to this is realizing that most other people don't lose their jobs... like ever, unless it's seasonal or severe economic downturn.

During one of those periods I spent so long unemployed that I literally ran out of money and moved into a car from my relatively nice apartment, and then worked at Starbucks as a barista, which taught me that I can be good enough at speaking with customers, but what I thought were trivial tasks turned out to be almost laughably untenable, like remembering how much syrup goes in Karen's caramel macchiato, or just showing up on time.
Why not a picosecond after the first one?

What is the smallest unit of time?

Does it even make sense when you get there?

Now I've got a headache.
Lung Cancer Was a Death Sentence. Now Drugs Are Saving Lives
In an alternative history timeline it might be true.

In our timeline I highly doubt whether it was the main reason why general purpose computers didn't happen first in China or Japan.
> I handled that promptly by shutting down my site and didn't receive any penalty for that.

What kind of penalty do you think you could've gotten and by whom?
HN-text: an easy-to-use, text-first Hacker News terminal client
https://archive.ph/MEu7S
That was one of the coolest sites ever, the other one being where you could make virtual mixtapes and send them to people. We can't have nice stuff anymore....
to be fair, many chemicals are in fact bad, and, like flax seeds, phthalates may well be endocrine disruptors to the humans, as the article says. but it probably behooves life forms that are literally made out of chemicals to learn to distinguish between good chemicals and bad ones, and in particular to distinguish things that are likely to kill them from things that definitely won't. phthalates in baby toys definitely won't kill you
Not a big fan of Aldi. I shop there occasionally (in the NL, rarely in Germany).

They're cheap. Food items are okay in general, but no favourites among those that other supermarkets don't carry.

Non-food items? (the 'durable' kind, not toilet paper, cleaning products etc). Been burned a couple times too many. Won't touch again unless (expected) junk is all I need.

That said: I do like the "grab items out of shipping box" concept. Who needs neatly arranged (unpacked) items on shelves when all it does is add personnel & associated cost?
I kind of took away the opposite from the parent post. Of course, your config isn't just strings, but it also isn't just a limited set of primitive types that the inventor of some one-size-fits-all configuration language envisioned.

You can't build a generic schema validator that will accept exactly the valid configs for some program and nothing else anyway, so forget the half-assed type checking attempts and just provide the hierarchical structure. It's up to the application to define the valid grammar and semantics of each config option and parse it into an application-specific type.
> the protests on US campuses

Naïve comparison.

The CCP declared martial law. It had its troops, not police, indiscriminately fire machine guns into protesters and bystanders alike while other units drove tanks over crowds of kids [1]. Thousands died, thousands more were disappeared, and to this day the government is so scared it will jail anyone who talks about it.

[1] https://en.m.wikipedia.org/wiki/1989_Tiananmen_Square_protes...
Author here. That's very much a fair point. I was thinking more from the perspective of firmware developers maintaining fixed userlands when I wrote that.

It would definitely be an interesting challenge to figure out how to multiplex the UART between being a normal UART and accesses from an RTC driver in order to allow it to be a real RTC!
The wikipedia page does not point to being a ceremonial role. It says "most of the civil functions of this office went to the chief executive of Hong Kong" and "no serious attempt was made to introduce representative government, until the final years of British rule."

[1]https://en.wikipedia.org/wiki/Governor_of_Hong_Kong
It's profit. Revenue minus expenses. Companies that optimize profit better than other companies are more successful. Emergent behaviour like evolution. Companies that don't optimize will not grow as much or even decline or disappear. It's self-selecting.

Planned obsolescence, private equity raiding, brand value extraction: these are steps to increase revenue.

Enshittification, corporate consolidation: these are steps to decrease expenses.
> https://aaaaaaaaaa.org/

Slightly disappointed that doesn't have a 10hr version of https://www.youtube.com/watch?v=dys8KUnwGGg
Notably, the US protesters were not executed by the hundreds even when they took over campus buildings.
Thailand targets tourism boost with longer stays for visitors and digital nomads
Of course you're imagining the world we have now with all the cars simply removed, instead of one that had developed without cars in the first place. A lot of competing infrastructure was deleted, or never made in the first place, because of cars.
Studies show that those with worst sleep have worse health and sleep habits.

So it’s the persons decision to not have good health habits which result in poorer health and poorer sleep. The article has got causation mixed up.
The origin is really unclear. It's not certain which id employee added it to Quake 3 and where they got it from. John claims it wasn't him. Gary Tarolli, one of the founders of 3dfx, claims to remember tweaking the value of the hex constant to the value known today. But he says he didn't come up with the algorithm either. Maybe somebody else at 3dfx did, maybe he got it from somewhere else.
Opencv, YOLO, and darknet were some of the best tools back when I was doing research projects with this. While it is way more efficient compared to say feeding it into a RAG LLM.....it is process intensive.

Its hard to handle multiple data streams of video, and I think I maxed out around 20 camera feeds before the computer slowed to a crawl. NVME storage and better internet would defiantly push the limit on what is possible, but unfortunately it is impossible to get good internet where I live. Also, cameras are not cheap and neither is flash storage. But I do know this stuff sees use in both commercial and I bet they use some better version for the defense industry.
And yet milk futures are traded on the Chicago Mercantile Exchange.

https://www.cmegroup.com/markets/agriculture/dairy/class-iii...
Am I having a stroke? I am 100% certain I saw this exact topic with these exact comments yesterday, but here we are with all of them saying they're from 5 hours ago.
> The distinction between history and prehistory has been dissolving for some time

The difference between history and prehistory is like having the source code with comments (history) versus the compiled binary (prehistory). Now the comments may be wrong or misleading but they are valuable to help understand the why.

And written records compared with oral traditions is the difference between having a git history versus just a source file. Having snapshots back in time is valuable to see how things evolved.
Is something that is so inherently hard to explain while giving it justice truly practical or even worth it? If you are in a room with 10 devs, how many will have a deep understanding of monads? And if it is expected to be only a few, is it really constructive to have it in the codebase? Or is it just going to trip people up and be misapplied.
And when you're too sick or old to pedal?

My grandmother can still go shopping in a car, but assuming she did have the stamina to bike groceries, if she fell she would not recover.
Is that like ravioli code?
First, congratulations on shipping! That's always something to be happy about.

About the product. The generated summary is really good. But I don't see people paying to generate this. I guess your best bet is to rank high with the content and profit from it.
Every bit of interaction I’ve ever had with an LLM. And all the research I’ve seen.

They’re plausible word sequence generators, not ‘planning for the future’ agents. Or market analyzers. Or character evaluators. Or anything else.

And they tend to be really ‘gullible’.

What evidence do you have they could do any of those things? (And not just generate plausible text at a prompt, but actually do those things)
Yes constraints are great. My piano teacher would basically just repeat to me like mantra:

- was it legato?

- were you playing free from tension?

- was your tone even?

- were you in time?

Very rarely would he actually ever tell me anything. And whenever I'd ask for more or feedback he'd just loop back to the questions and ask if I was actually listening to myself play. It was a very frustrating start but eventually it all clicked what he was doing was teaching me to understand my own constraints and then also understand what are the outcomes I am aiming to achieve - if I can't hear how even my own touch is how will I ever play evenly.

Was the most valuable coaching I ever got and was probably life changing for me in terms of levelling up my ability to learn new things.

Prior to meeting him I held the belief there was a "perfect way to play" the piano and would occasionally peruse books and videos on the subject. Of course, as my teacher was keen to point out, no body is the same so how can two anatomically different pianists play with the same technique?

If you have small hands so much of the repertoire will be different vs if you have rach hands
that's generally the thrust of elvis laws, yes - I'm not sure they're coherent as a concept though.

why is elvis impersonation "traditional" in a way that "dolly parton impersonation" is not? and let's not pretend like there wasn't always a significant commercial aspect, the elvis impersonator officiating your wedding wants to get paid.
This is not a ML model, this is a distributed compute framework.
Loading an entire page with cached pictures is more or less instant, connection wise, though.
At my house, all the strings are dry rotting, so any movement of the cord is pretty likely to lower the blinds. Rapidly.
North Korea will stop sending trash balloons as South Korea vows retaliation
Yeah I tried all those things. Especially the middle one. Because that's how I use it mostly. I added the environment variable to the systemd service. But it still removes it after 5 minutes. Very weird.
Or, to be honest, implement a fully E2EE chat application by themselves, right?
I don't believe current day USA will be able to go back to the moon. The decadence and corruption are accelerating.
> "I am at a loss to understand how this agent of doom (the AI not Bostrom) can be both "intelligent" and not understand that there are enough paperclips."

Having offspring might be ill-advised for a variety of reasons (medical, financial, etc.) but that doesn't stop humans from being horny and producing offspring. If powerful drives can be encoded in to a sapient organism well below the level of conscious thought, perhaps similar drives can be present in an artificial sapient being.
There used to be a URL redirection service called HugeURL. Your URLs were extremely long.
There is problem with JSON, such as:

- The numbers is floating points, but cannot be Infinity and NaN. It is not a integer type, so long integers might not work properly. (There are other problems with numbers too, as mentioned in that article.)

- The strings is Unicode. Non-Unicode (including binary data) doesn't do properly, and even Unicode can have problems (some of which are mentioned in that article, but there are others too).

- Keys are only strings, not numbers.

- Syntax convenience isn't so well, e.g. doesn't have comments, optional trailing commas, etc.

- The format is difficult for reasons explained in that article, too.

One possible alternative would be a format based on a subset of PostScript (instead of JavaScript), e.g. (a part of a example from Wikipedia):

<<
/first_name (John)
/last_name (Smith)
/is_alive true
/age 27
/phone_numbers [
<<
/type (home)
/number (212 555-1234)
>>
<<
/type (office)
/number (646 555-4567)
>>
]
/spouse null
>>

PostScript also has binary format, comments (with a percentage sign), hex string literals, etc. (And, commas are not used, so the problem with trailing commas also does not apply.)

(Nevertheless, I did write a JSON parser (and also a JSON writer) in PostScript.)

It is also possible to use binary formats, CSV, etc, depending on what exactly is needed by the program; for many reasons, one format cannot solve everything.
No secret. A little puzzle app company I’ve been running for a while: www.eggheadgames.com. No ads or gamification. Just classic paper magazine puzzles. Pay for more or subscribe for unlimited play.

As we’re small, rewriting the code over and over for cross-platform is costly. But as they’re games with words, we want a fully native experience for the highest quality app with great accessibility and full integration - as well as easier crash log debugging without intrusive 3rd party packages.

The classic solutions are either not native enough (Flutter), are graphics-based (Unity), too expensive to maintain the stack (React *), don’t integrate well with the native mobile tooling (Go, various ports of Python, Ruby, Lisps apart from s7) or also end up being a separate core but are harder to debug via crash logs (various JS, Kotlin or Swift cross platform).

Plus once we tried Lisp it was hard to go back! Succinct, fast, great editing. And yeah, it’s just fun to do something different. We also get a kick from being part of and contributing back to the Fennel community. It’s nice to mix some open source with commercial apps.
Monads are easy.

What’s hard is higher-order functions, parametric polymorphism, and ad-hoc polymorphism via typeclasses. Understanding any one of these is hard. Understanding all three is harder. Understanding all three applied simultaneously is harder still. That’s what monads are.

On top of all that, understanding “monads” doesn’t mean too much. IO does something, Maybe does something else, StateT something else.

But once you understand all that, monads are easy. Maybe monad analogies helped somebody understand all that, but they didn’t help me.
Honest question and genuinely curious: what is difficult about showing up on time?
Isn't contiki-ng another one?
On rules and applying them I am always reminded of this quote from Bruce Lee:

"Before I learned the art, a punch was just a punch, and a kick, just a kick. After I learned the art, a punch was no longer a punch, a kick, no longer a kick. Now that I understand the art, a punch is just a punch and a kick is just a kick."

As applicable to fighting as it is programming. You will see it in high level sports - athletes will do all kinds of unorthodox things from weird positions to eke out a result, because the result is all that matters.
I often learn how to use something well that I've been using my whole life. A ratchet strap was a good example--you can use it without understanding how to use it well. One video (essential craftsman) fixed that for me.

I think the most humbling for me is seeing a real pro use something you use a lot, like a kitchen knife.
It took me multiple takes to parse the garden-path sentence that is the headline, but I'm glad it caught my attention. Otherwise I might not have learnt that there is a species of horseshoe crab that inhabits the North American East coast. For some reason I always assumed they were only in the Indian and Pacific Oceans.
America's best decade, according to data
I mean, to be fair, if you're speaking English to it, the most likely possibility is that you're inside the US:

https://en.wikipedia.org/wiki/List_of_countries_by_English-s...

I know there's a lot of complaints about things being US-centric, but the US is a very large country.
I don’t know how the Swift program was compiled, but on my computer I get 2.64 (w/ normalization of my actual results to take CPU diff into account)…
I read a lot of Scientific American when I was a young teenager. Really loved science, but wouldn't have had enough of a background to understand differential equations and such.

So I've always imagined a similar target audience for Quanta. People who like science but lack any strong math background. Might be a plumber, might be a teenager.
Is there a good resource to learn about digital audio processing algorithms, like compression, reverbs etc?
It is utterly baffling that people are downvoting this comment.

The repo I link to here is by Haoran Xu, one of the authors of the paper.

Y'all need to chill out.
Someone needs to spark your interest in music or art creation, rather than simple consumption. It used to be that we expected everyone of a certain class to know how to play a piano, or paint a scene, or whatever. I’m in my late 30s and went to a MASSIVE school, and I never even saw an opportunity to learn how to make music. At least art is a bit more universal.
That's wonderful if you only move a few times in your whole life, and always have space in your bedroom for a wardrobe, and like the style.

It's impossible if you move apartments every couple/few years, the bedrooms come with closets and there's no good place to put the wardrobe and you don't need it anyways because you have closets, and sure it has "character" but it looks completely out of place because it's the wrong character.

If you want to preserve antique furniture and are able to, then more power to you. There are lots of antique furniture enthusiasts.

But I don't want an antique wardrobe any more than I want to wear a high-collared four-button men's sack suit from 1885.
Hong Kong wasn’t a democracy before 1997. But it also wasn’t under the Crown per se after WWII [1].

It was a British colony, ruled partly by increasingly-elected councils and executives, including the Governor, appointed by London (not the monarch, except in name) with consultation with the locals. The last time the Hong Kongese rioted against the British was in 1967 [2].

There isn’t a comparison between British Hong Kong circa 1990 and the present iron grip Beijing holds over it; freedom of speech, for instance, prevailed as did the rule of law. There is much less comparison one can make between free Hong Kong after 1997 and the mess Xi has turned it into today.

[1] https://en.m.wikipedia.org/wiki/Democracy_in_Hong_Kong

[2] https://en.m.wikipedia.org/wiki/1967_Hong_Kong_riots
Would a superintelligence reach the conclusion that humans are a cancer on earth that must be destroyed? That's a better example at the core of the alignment issue. Some values that humans hold in high regard, like the continued existence of billions of humans on earth, may not be there in a non-human-biased superintelligence.