skysight-inc/HackerNews huggingface dataset:
Even that error is a problem. Doing a single addition might be fine, but doing thousands or millions of additions, and those tiny errors add up to something appreciable.

If you’re doing money operations at a scale where the computational difference between using true number type with infinite precision vs floats is worth thinking about, then you’re also in the territory where tiny floating point errors really stack up into a problem.

As a consequence, there’s very few scenarios where using floats for money actually makes sense. Either your computation is so simple there’s no real benefit to using floats rather than infinite precision number types, or your computation is so large, that floating point errors sum to meaningful amounts.

The only scenario I can think of where floats might be the right choice is on tiny embedded system where computational power and memory is very limited, and working with infinite precision types is a real problem. But in that scenario, you probably don’t need to be educated on the issues with floats. But if you’re the kind of person who unsure if you should use floats for money, then the answer is almost certainly a resounding “No. Do not use floats for money values”.
The site pretty clearly explains that the split repos are usable as normal git repos. And indeed I have a project I follow by cloning a josh managed repo. I didn't even know it was a josh repo until months after starting.
Hi folks, I work for Groq. Feel free to ask me any questions.

(If you check my HN post history you'll see I post a lot about Haskell. That's right, part of Groq's compilation pipeline is written in Haskell!)
In his later life he was really into philosophy and understand the orgins of life and innate knowledge. He wrote a short book with his thoughts. https://www.amazon.de/-/en/Daniel-Alroy/dp/1544005067
The book has illustrations by @ djbaskin - https://daniellebaskin.com/neuroscience
Back in the day, a wonderful solution to your dilemma existed. It was cheap, it was up-to-date, it covered virtually every vendor and every product in existence, the only downside was it was heavier than a phone book: Computer Shopper magazine
That's because the musicians flooded the market. Good music isn't rare and it is not hard to find it. Spotify has 100M tracks - even if 99% of them were crap - that would still mean that there are 1 million good songs. More than you can listen in a lifetime.
Oh okay I’m getting it now… it is always a pile but the slide was off the back of the pile.

It just looked so much like a pit when I saw it at first that I couldn’t get that thought out of my mind.
Since you seem to understand how it works, can you explain the following to me:

Let's say I pay $10 to listen to my favorite indie band, for 1 hour each week.

Let's say another user listens to Taylor Swift 24/7.

Does my favorite band get my $10, or do they get $0.12? You see, when I pay $10, I don't expect $9.88 to go to Taylor Swift.

Or does my favorite band actually gets my $10, like it used to be when I bought CD's?
For three years, Elestio has trusted Nebula for our IT needs. We chose it for its solid stability, essential for our daily work. Nebula has been reliable without any major issues. Currently, we're deploying thousands of VMs, all seamlessly connecting through Nebula. Thanks to the Slack team for creating and maintaining Nebula.
The Lepton theme looks good. If I'd known about it I may not have bothered to cook up my own userchrome hacks. I'm pretty happy with the current results[0] though so I'll be sticking with them for the time being.

[0] https://draic.org/scratch/ffoxuserchrome.png
https://parabola.io/

https://pipedream.com/

https://autocode.com/

I think the first is no-code while the two others are more like low-code (pipedream is simpler and free offer may be enough for you)
Is it a deliberate forgery, or a really old rock painting?
It's been 20 years but I still miss the all-wheel steering of my grocery in Japan (jasco). Every cart now feels broken without it, even Costco's.
I took a quick look at it reads more like the Inquirer than a sane news site. Might be reason to agree.
But your premise that one is more intrusive, isn't even true. Like others said by now, Chrome does the same thing if you don't open it often.
IME, that also makes PHP worth it for shell scripts. It's miles better than the common baseline that's bash/perl... but once word gets out, people will ask you to rewrite their 30 kLOC sh monstrum into something readable...
Cool project, and the gif is awesome :)

I made something in this vein 2-3 years ago and automate it to post weekly changelogs for an open source game. (https://old.reddit.com/r/cataclysmdda/comments/1as6wli/chang...)
> Now why no one bats an eye at node/react doing this very thing and calling it JSX is beyond me but...

Indeed.
I don't really understand what you mean by "Copying the search url to 'site search' doesn't work"

1. Go to "Manager search engines and site search"

2. Click "Add" next to "Site search"

3. Add DuckDuckGo with the URL "https://duckduckgo.com/?q=%s"

4. Save, click the additional menu, and make it the default

5. All address bar searches now happen in DuckDuckGo

What's stopping this from working?
Hi there, I work for Groq. That's right. We love graphics processors for training but for inference our language processor (LPU) is by far the fastest and lowest latency. Feel free to ask me anything.
I have neither! No visible tabs at all. Just cycle tabs with Ctrl+Tab hotkey.

This is clean. Once in a month I want some kind of overview, but extensions like Tab List can give me a popup menu. The tabs needn't be visible constantly!
To check what the actual zero-abstraction version of the select_all_matches function would run in, I created a simple c++ function that accepts the string buffer and the simply calls buffer.find until it finds all matches and pushes the match results into a vector. Result: with the same file and search string, it runs in all of 0.2 ms. So we are still off by a factor of at least 10 before we get to call it a "zero-cost" abstraction.
Because of page bloat, some people think JavaScript is bad, and go to this extreme. People need to understand that just because JavaScript is often overused, doesn't mean it should never be used.
I recall a billionaire dying recently in their submarine project.

Of course, the rocket billionaires don't generally ride on the rockets themselves. So that's safer for them personally.
At Walmart I bought a bottle of 500 Aspirin and I've had it for over 10 years it may even be 15 years. I looked just now and see there are two pills left. I thought I was using too much at that rate.
With enough work I think it is definitely possible, but your comment made realise it would be pretty large, almost a research project.

One could start from a real case in a real company, document it thorougly, including different stakeholders. Then rewrite the code to fit this organisation at this point in time.

Then, make a two or three fictional changes to the organisation and circumstances, snapshot these (or follow an organisation longitudinally for long enough that this occurs naturally) and for each snapshot, rewrite and redocument the code to fit those circumstance.

From that, one could "dumb down" the whole thing until it stops making sense and see how simple one could make it.

Probably there are people smart and seasoned enough to write an entirely fictional account of all of this, and still have it make sense - that's not me though.
There probably is mass transit access to the Magdeburg plant (or the state can guarantee an expansion there)

I'm thinking that "excess parking" is usually due to wanting to secure a site with enough expansion potential but also putting it to use in the most cheap way possible (like, you won't verticalize the parking until needed and that would require more planning, permits, etc)
Attempts to prevent piracy are laughable and ineffective. Even North Korea can't fully prevent imports of Western cultural products.

This is why the music industry gave up and now we have services like Tidal, Spotify and Youtube.
I moved to youtube music lately after being like 10 years i think on spotify (or since when it started in the UK)... the youtube premium + youtube music was too much of a deal for me to take...

I still use spotify sometime with an app that remove the ads... but I don't get the attraction anymore
About 1.5 billion people were raised out of extreme poverty over about 30 years arguably because of capitalism. Similarly, large global middle classes have built up over that time. It feels like we should keep doing what we've been doing?
Hydragen: High-Throughput LLM Inference with Shared Prefixes
In this video, it's for examining calcite according to the description; I believe I've also seen similar devices used for making lichtenburg figures in acrylic.
In the history of Europe, the Middle Ages or medieval period (also spelt mediaeval or mediæval) lasted approximately from 500 AD to 1500

- https://en.wikipedia.org/wiki/Middle_Ages

Slavery in medieval Europe was widespread. Europe and North Africa were part of a highly interconnected trade network across the Mediterranean Sea, and this included slave trading. During the medieval period (500–1500), wartime captives were commonly forced into slavery.

About ten percent of England’s population entered in the Domesday Book (1086) were slaves, despite chattel slavery of English Christians being nominally discontinued after the 1066 conquest.

https://en.wikipedia.org/wiki/Slavery_in_medieval_Europe

Rebranding "slaves" as "serfs" was a smart move, but a Rose still has thorns when called by other names.

Just because:

The Church prohibited the export of Christian slaves to non-Christian lands, for example in the Council of Koblenz in 922, the Council of London in 1102, and the Council of Armagh in 1171.

doesn't mean that there were no slaves within Christian lands, it just meant there wasn't a profit to made trading across those borders (for Christian slave merchants) ...

As a result, most Christian slave merchants focused on moving slaves from non-Christian areas to Muslim Spain, North Africa, and the Middle East; and most non-Christian merchants, although not bound by the Church’s rules, focused on Muslim markets as well.

I'm not seeing any support for your "practically no slaves" assertion.

I am reading explicit mention of ongoing Christian slave merchants post Roman Empire .. which goes to my point that aside from rebranding and cross border regulation the post Roman Christians took a long long time to outright ban slavery.
we pay software engineers 3x median income to barely know react

service jobs and skilled trades all over are facing labor shortages
Maybe they were jealous but you still owned a Speccy!
I think reddit has the best system for ranking comments and threads of any I have seen. I haven't studied the source, but it seems to hinge on what I have taken to call 'piloting' new posts: Allow it a brief time in the top spot (possibly only for a random subset of users), and see how well it performs (upvote wise) compared with the other comments. And, importantly, the quality requirement for the post increases the higher in the total hierarchy it is: root-level post, top-level reply to a top comment, and so on.

I know HN does something similar, but it is not quite as good as reddit. From observation, specifically the 'penalty', or added performance requirement, of latching on to a top post is too weak. The result is that all HN comment threads consist of only a few top level posts, with subthreads growing off them, because you can easily 'jump the queue' just by commenting to a top comment. This is also what contributes to the idea that it is pointless to make new root level comments after an hour - because almost all the action is in subcomments to top comments.

Edited to add: Reddit soft-hides (collapses) subthreads that are deemed lower importance, which is probably key to make the ranking system work. Anyone interested in a subthread may expand the hidden/collapsed sections, and they may even be upvoted back to uncollapsed state. But by default they don't muscle into the main conversation. HN already has the collapse feature, which could be reused for this. It's just a client-side collapse, also the reddit one (though in huge threads, deeper threads will be loaded on demand).
A note worth mentioning is that the PCA is not trained across the layers, but independently on each layer, across the provided examples.

Nevertheless, it's conceivable that specific layers could possess a significant control vector, but not solely because of directly leveraging the first principal component.
Why is it a "bad idea"? I'm genuinely curious.

It works great, it's fast and you don't have to learn a new templating language or dialect every 2-3 years. Or try to figure out how to do trivial things like loops in loops.

I don't quite get the use of templating engines in PHP because PHP is a templating engine itself.
It's (almost) every major software.

I mainly use Chrome, and in their newest M121 release they made not one, but three major UI changes and I hate every single one of them.

For the curious, they are (together with my rant):

1. the new "simplified" bookmark save flow which is more complicated than the old one;

2. loss of the ability to disable system notification (i.e. to use Chrome's built-in one, which I prefer);

3. loss of the ability to disable "copy to highlight" context menu option via a command line argument, which I never use and it just messes up my muscle memory for right click -> copy.*

* Seriously, why is it so tough for software in the CURRENT YEAR to just offer fully customizable context menus? How hard is that? Funnily enough, this used to be a staple feature in nearly all the popular freeware back in the 2000s and 2010s. It feels like the whole UI/UX scene has taken a nosedive lately.
According to TFA quoting one of the authors, it was likely a preparation (beautification) and / or preservation attempt which went very wrong.

> Application of paints, consolidates and lacquers on fossil bones was the norm, because that was the only way to protect the specimens from further deterioration. It was also sometimes to embellish specimens by making them sleek and shiny. Unfortunately, in the case of Tridentinosaurus, the mechanical preparation did most of the damage and then the application of a black paint created the illusion of a lizard-like animal impression on the surface of the rock.

That’s not hard to believe if you watch restoration / preservation channels, like Baumgartner. Although obviously there’s no way to tell what whoever did it was thinking at such a remove.
Our media have proved this works very well for humans. Anyway, moving
on....
Don't double down on your own ignorance.

Japan has rock. The have punk. They have metal. They have rap. They have deathcore. Go through the list. Look up fucking Hanatarash. Take ten minutes to Google. They have everything.

You don't need "sex drugs and rock and roll," you just need an appreciation for the culture and a sense of alienation and rage against an oppressive system. Which, despite your belief that Japanese people cannot even comprehend the concept of illegal activity or rebellion, they do have. You need to stop looking at people and cultures in terms of reductionist stereotypes.
I think the main thing is the blister pack requirement, you can't just unscrew the lid and down a bottle.

Limiting to two... I don't know, it has occasionally annoyed me (when I think I want to 'stock up') but I suppose there's just no reason you actually need more than that at once (other than self-harm or with a prescription) so meh why not if it has a small chance at stopping a few suicide attempts.
Pfft. https://en.wikipedia.org/wiki/De_Bruijn_index
The N100 CPU itself takes costs only $1.10/year, the rest is minimal platform. Ofc if you add more/larger/faster RAM, many drives, NVMe, PCIe, the platform electricity cost skyrockets, but the same is with RPi5 with fewer options.
We pay managers who know nothing about technology even more.

[Edit]

And who's fault is it that people who barely know react are getting hired at those rates? Hiring managers.
There was also another discussion about Groq a couple of months ago https://news.ycombinator.com/item?id=38739199
FTA:

> This sounds like a lot of steps to serve a single file, but there's two key optimizations which can be made. The first is to cache the root tree's hash in memory, which skips two lookups right at the beginning. The root tree's hash will only change when the latest commit of the branch changes, so it's enough to cache it in memory and have a separate background process periodically re-check the latest commit.

> The second optimization is to cache tree objects in-memory using their hash as a key. The object identified by a hash never changes, so this cache is easy to manage, and by caching the tree objects in memory (perhaps with an LRU cache if memory usage is a concern) all round-trips to the remote server can be eliminated, save for the final round-trip for the file itself.

Also, the "background process periodically re-check the latest commit" seems like a bit of overkill if the repo is local; just caching and checking the mtime of `refs/heads/main` should be enough to decide whether the root tree needs re-reading.
Wow. I hadn’t thought about CDNow in a long time. I spent a lot of my teen years (80’s) flipping stacks in record stores looking for obscure music. I discovered CDnow in 1995ish on Telnet and their selection blew my mind. I feel like using my credit card with them via command line interface on a dark scree was maybe the riskiest financialI thing I’ve ever done —but it worked well and I got some CDs i thought I’d never find . Great dusty memory.
I heard that countless times, and I understand the reason (mainly: floats are binary, money amounts are decimal), but then, how do you split a $10 bill between 3 people.

$3.33 for each is not good, because in the end you have to pay $10, not $9.99. You can use a double, which is more precise, but in a less predictable way. You can use factions, which is exact, but it may become unmanageable after some time. Or you can have one of the three pay $3.34, but which one? I guess there are rules for that, probably a lot more complicated than "use an integer number of cents".
Piracy, It works. You can even keep using Spotify without paying them or listen to ads.
> It feels weird to me to use the hyper parameters as the variables to iterate on

Yes, I also think this is strange. In regular fractals the x and y coordinates have the same units (roughly speaking), but here this is not the case, so I wonder how they determine the relative scale.
Sometimes GPT-4 and I will arrive at a useful frame that I wish I could use as a starting point for other topics or tangents. I wish I could refer to a link to an earlier conversation as a starting point for a new conversation.
There’s plenty of real-world FP systems written in Scala.
In general, FP is not a problem today, because data mutation usually happens in some kind of external database, and the programs people have to write are just stateless transformations of incoming requests (http or other kinds, depending on the application).
In case amnesia is enforced, it should reply in german: "Wir habben es nicht gewusst".
But more seriously if it's that conscious it might not be able to answer moral and ethical questions but certainly it could choose to not answer in case of controversy & detect it.
( The article comes across as a contemporary case for lobotomy. Let's not repeat the 30's. )
* Use another chatbot to generate heaps of text about how the initial chatbot is bad and feed that corpus to the "offending" chatbot
I love this. The app is less than 4MB and with so many puzzle types!
Yes, that is a very good point. To be awarded monetary damages, you have to make a case for it. In practice, I think a lot of companies wouldn't want to find out and try to settle in private instead.

In this case as you say, they had a proprietary license, so I guess the bottom floor for damages is the same price as a proprietary license. But I could from my complete layman perspective imagine damages to reputation, decreased likelyhood of getting new proprietary sales in the future if companies can ignore the licensing terms with impunity etc?
>I do agree that artists should get a bigger share. Im sure if Spotify were super transparent about cost allocation, we would see room for improvement. Where there's money, there is greed.

What are you referring to that is not transparent from Spotify's side?
Thanks - ECC was rare enough I figured the titles covered it, but it’s already parsed for in the backend so it won’t be that hard to add.

Edit: still tracking down a weird filter bug, but the ECC filter should work now.
> Wouldn't they be vulnerable, BTW, to an OCP integrator offering the same functionality with plug-compatible parts?

There's such a small market of folks openly selling OCP accepted or inspired (OCP's terminology) systems. You definitely are gonna need to get quotes.

OCP does a ton of super great things, but alas it seems like actually making reference designs for computers has somewhat fallen to the wayside. I could be totally missing the goods here, but I see a bunch of very abstract system configuration specifications in https://www.opencompute.org/wiki/Server/Working . Please, would love to be wrong here, but: I don't see actual plans for building systems. Just very abstract

OCP just doesn't seem like it means all that much. Sure sometimes they have good specs that one can ask for. But in terms of actually building systems it still seems like a free for all, that OCP offers little guidance.
>EDIT: I dug around that site more and if you pull up 'JavaScript vs Rust' for the same benchmark, JS is still faster. So I don't understand why you're even using this for a 'JS is faster than WASM' argument if it appears to be saying that JS is also faster than Rust.

This doesn't appear to generally be the case and some outliers are to be expected in benchmarks.

>'JS is faster than WASM'

Was never the argument.
OP isn't asking anything, the title is "Tell HN". It's the person you are responding to that is asking a question.
You might be correct on both counts:
https://fusor.net/board/viewtopic.php?t=8666
(I'm not sure if this is the same run, the link in my link seems to be dead)
The main purpose is to encourage users to return them to the correct place in the car park, rather than leaving them in an empty parking space or the roadway, where they are likely to end up colliding with cars.
Could be! :)

But only one reserve I have: the carts have to be powered for connectiviy and the electric unlock mechanism. So they could be more expensive. But then let's add an ad screen ( E-Ink! ) on the front inside and have this solve the increase.
PRQL is not an ORM in any kind of way, it’s the less quirky SQL, basically.
If you define wealth as having money, maybe, but if you define it as having food, shelter, and mental health, then less so. The middle class is collapsing, so maybe we should do things a little differently?
Google mainly knows how to display ads. The raise of Chrome wasn't so much about features at the time as about people being bombarded with "install chrome" ads. On Google results, in Gmail, in Adsense, everywhere. There was an absurd amount of money sacrificed (not really spent since the ads were internal) to gain the users. I'm not sure any other aspect can be reliably compared in that scenario.
SQL is pretty great, but for some things (I thought the example in the readme was decent) it can be quite cumbersome. Stored procedures are very imperative (and hard to debug, depending on the platform IME). This seems like a more functional approach to stored procedures.

I don't think it's suggested that this replaces SQL. Use the right tool (and abstraction) for the job?
SQL is incompatible with many types of autocompletion. For example columns in a select statement are not known here you write FROM.
This alone justifies PRQL in my opinion.