skysight-inc/HackerNews huggingface dataset:
The edge case I’m worried about is travel time during the holidays. Between LA and Phoenix is a desolate stretch of freeway running through a small number of essentially truck stop towns. The most isolated one, Quartzite, has an enormous Tesla supercharging station, which just doubled in the last year. It’s virtually essential to stop in Quartzite on the drive in a Tesla. I made that drive a week after Thanksgiving, and the new Tesla superchargers are behind a brand new gas station. While stopping, I asked the clerk how the wait was during Thanksgiving, and he indicated that it was through the roof. Now, Quartzite and its grid can currently handle the peak Tesla traffic between LA and Phoenix on the busiest holiday travel weekend, with significant wait time, but can it handle the 100x increase required for full electrification? I’m skeptical. And the we have square miles of essentially idle chargers outside of this peak travel period? Seems wasteful. How do we feed the peak power demand to these tiny towns? New huge transmission lines to these isolated towns? Diesel generators? Tesla power packs?
Relying on one mechanism (say, regulations) as the sole means of making sure that society functions well, is a recipe for dysfunction.
Talos has a gvisor system extension to make it easier for users to adapt:

https://github.com/siderolabs/extensions/tree/main/container...
an order to disable https://annas-archive.org through a DNS block was issued to Italian ISPs

Rather toothless. No experienced user is using their ISP's DNS anyway.
Out of curiosity, did you use ChatGPT to help you write this comment? It uses the following format:

> The author starts talking..... The author likens..... Finally, the author suggests...... Overall, I am disappointed in....

Which, while a perfectly valid way of structuring a comment, it's more usually found in ChatGPT-style answers than in random comments on the Internet.
> Javac itself is absolutely on the same order of magnitude speed as Go per loc

Not really when it has to run on a cold JVM. And before it warms up, it’s already done.

Then you are in territory of keeping the compiler process between the runs, but that is a memory hog and also not always realiable (gradle often decides to run a fresh daemon for whatever reason).

So theoretically, in lab conditions yes, in practice no.

> while rust is significantly slower

Everybody repeats that but there is surprisingly little evidence in form of benchmarks. I can see rustic compiles over 50k Loc per second on average on my M2, which is roughly the same order of magnitude as Java. And checking without building is faster.
I think better relationship with middle managers and maybe leave with the CTO if it made sense (it didn't, in my case). I was too focused on doing things and assumed the CTO was taking care of "winning the hearts" of middle managers. He wasn't. It was a very top-bottom initiative and that rarely works when culture is involved.

So yeah, I think I should have "managed up" so this initiative wasn't tied to the specific CTO but was a common agreement. If the CTO wasn't doing that, I guess I should have called his attention to it or done it myself.

To be honest, middle managers not thinking it was important is just baffling but that's another long story.

As for keeping ear to the ground, I wouldn't even attempt that because I really suck at that (and it's distracting, I'd rather leave). But many people have success with that approach.
> Then someone in your team failed learning the bare minimum to write a sane gradle file

Then someone in over 15 years and 8 versions gradle failed to make a system that doesn't require "learning to write sane gradle files" to make sure that it's only two orders of magnitude and not five orders of magnitude slower than it can be.

> and are putting imperative stuff into the configuration phase

Has nothing to do with the slowness that is gradle.

> For big projects, compiling only what’s necessary is a huge time win.

It is, and no one is arguing with that
Yeah, I know. I believe it’s mostly the amount of LLVM IR that is the problem (e.g. each generic instantiation outputs by default a new copy of roughly the same code), isn’t it?
Sixteen thousand Excel 97 spreadsheets?
Unfortunately the issue still persists and it doesn't seem to be related to caching.

I think the problem might be that NetNewsWire doesn't support SVG favicons (/y18.svg) and that /favicon.ico isn't available as a fallback. Were there any changes regarding these files recently?
Yes exactly, this is the magic of Emacs, you customize it to your needs and liking.

Also witting your own elisp functions to manage buffers and have it mapped to some keys and commands opens a infinite dimension. For me it's like the holy grail of software, at least text based.
Can Italians circumvent this by manually setting Cloudflare as their DNS-Resolver (1.1.1.1)? The article mentions Cloudflare assisted them, but here in Germany they don't have to cooperate (https://blog.cloudflare.com/latest-copyright-decision-in-ger...). Is the situation different in Italy?
could be rewritten as "0 open bug reports".
Sure, how about some classics like:

The Didache

Anselm, Cur Deus Homo

Anselm, Proslogion

Augustine, City of God

Augustine, Confessions

Augustine, On Christian Doctrine

William Law, A Serious Call to a Devout and Holy Life

Luther, The Bondage of the Will

Calvin, Institutes of the Christian Religion

Pascal, Pensées

All of these are in public domain.
> Gradle with a daemon is also pretty fast

I've yet to see a project where Gradle daemon a) does anything useful and b) is acutally used by gradle itself (instead of seemingly doing everything from scratch, no idea what it does in the seconds it takes for it to start up).
1 billion rows, 500 unique values...

It becomes very possible to find an instance of each unique value, then runtime-design a hash algorithm where those 500 values don't collide.

Java allows self modifying code after all (and this challenge also allows native code, which can also be compiled-at-runtime)
> once a path is chemically marked it is very hard to keep ants out

Nonsense. A wipe with plain white vinegar suffices to dissolve the pheromone trail, and seems to deter foragers for some while after.
I have succesfully used the mmapped state trick in the past, although for crash resilience (with carefully maintaining invariants at instruction boundaries) not just for persistence.

It worked well with fixed size objects, although if I would do it again today I would still allow for a separate pool for variable size strings as updating the max string size was the most common change that both breaks the file compatibility and bloats the size.

The separate pool would make it more awkward to dereference the string as you can't neither use a dumb pointer nor the self offset trick but you have to pass the poll base offset explicitly (or implicitly with a global), but I think it would be worth it.

edit: thinking about it, interleaving fixed size string pools with the other objects might also work, in practice you get a persistent heap.
https://news.ycombinator.com/item?id=38864714
"Veert" is correct, in the sense that it's how a German would pronounce it. Of course, the great man wasn't German; I don't know how he pronounced his own surname.

"Wit" is just wrong. Perhaps that was a joke that I missed about the man's humour.
I don't even think it's faster than Maven.
I guess whoever tries to enforce copyright at this point ends up losing in the AI race. On the other hand, countries like Japan have literally chosen to be the Cayman Islands of AI. I wonder how countries with a stronger foundation of copyright are going to navigate this conundrum against middle-income countries which have a stronger incentive to be ambiguous on this issue.
Range anxiety is solved by building out charging infrastructure. There's no range anxiety once you can rely on there being fast, convenient, reliable charging stations along all the routes that you will conceivably travel on. If you're running low then you just stop and charge wherever, and whenever, it's convenient.

You'd have range anxiety about gas cars, too, if there wasn't a reliable network of filling stations on the routes that you are travelling!
> People won't know the implications of decisions without regulations to help them.

That's a pretty expansive view of government; I'll grant that regulations are one mechanism for communicating the implications of decisions, but to say that people can't know the implications without regulations? That just seems silly to the point that I'm unsure if I'm intended to legitimately engage with that viewpoint; is that your actual opinion?
True, which is why 256-bit or bigger hashes are recommended to make sure that the time for finding a collision is alone great enough to make this impossible.

Finding a collision for an 160-bit hash by brute force, on a big cloud or supercomputer, is about the maximum that someone with unlimited financial resources could do.
Ask an Indian friend to connect you with the uncle or aunt who talks the most about getting them married. That's usually the same person in charge of wedding logistics, invitations and stuff. I think they're just generally incentivized by Gulab Jamuns and Rasagullas.
I may not want to know...but, pray tell, a little bit?
You've got to be kidding, typing `emacs` actually opens emacs (it seems to just download it and start it up in a few seconds)! Mindblowing.
But sir, now that mega corps have monopolized attention on the internet and charge enormous fees in my humbles you should really rethink what it is you are trying to say?

Personally I cant find anything anymore, google is trolling me, people are afraid to link to the homepage of their subject matter. People foolish enough to make websites have zero visitors because they fear linking to their own shit. LOL

I cant name anything you've made and you can't name anything of mine. If you didn't mention it I wouldn't have known the tool was that shameful self promotion - now forbidden on the internet?

Ill be quiet now or else it will turn into an article rather than a low effort monologue and who would want to read that?

Thanks
This headline is false, and it's not the original.

The original sub-head contains the text "sudden slowdown in electric car sales", but the article itself correctly reports that sales are still rising.

The rate of growth has declined, as it often does when things are growing quickly from a small number.
Ants don't rebel against the ways of their society, each ant knows their place and doesn't have aspirations to be something else, other than what it was predestined to be at birth.

I guess there are a couple of movies about that. :)
I have spent a good portion of my career with security clearances. If there is a background check that involves sending actual humans out to perform interviews then be absolutely up front about everything because they are going to discover it anyways. In this context being upfront saves lots of time whereas the opposite could result in additional investigations you don’t want.

If it’s just some mom and pop shop then I fully agree. Just tell them enough to fully and honestly answer their questions without opening additional causes for concern.
If you model your particular computations and storage after FP, obvious that is closer. My guess is, that is with all likelihood a choice made for performance reasons when computers was far less powerful than they are today. The rest might as well just be inertia and a different choice could be made today if it was to start over. Or maybe not, but it's no longer as a clear cut choice as it once was.

Your original claim was that Int64 would not work for financial calculations. For most normal calculations it would be fine, and for tax purposes it would be too, as the tax authority defines exactly when to round and how (at least in Denmark). If you retain the fractional precision the "true" calculations have, your tax calculation would be wrong.

No matter what you use, it is always a tradeoff between precision, range, and speed. Floating point have been use a lot because they provide relative precision and have much bigger range and vastly faster speed compared to the same range in integers. But that comes with a lot of gotchas. To get the same range as a 64bit float, you need around 1024bit integer, which will inevitably be slower and require more memory.
So what's the problem if so? U.S. is a country entirely built of migrants. And they give citizenship by birth which Europe does not. And seems to be doing pretty well.

CCP on the other hand, has no chance in the world to attract migrants, because people are not fools.
You need locking; locking does not scale.

>presumably you should think how to serialize access to your shared resource anyway.

I'd call that 'false'. The shared resource is the LRU Map in that case. The one w/ prob. eviction can be implemented (as in has been implemented) w/o a global lock (per the Map, which the LRU requires it). Prob. eviction can be implemented entirely lock free for that matter.

Locks offer no forward grantees, and don't scale. The changes of the lock state require the coherency traffic between the cores. Reads scale very well, writes don't.

Overall any data structure that requires a lock per the entire structure, especially on the read path -> bad, doesn't scale. Like I've said it's possible to have a Map w/o locks both on the reading/writing paths.
I asked ChatGpt "where can I buy hardware keyloggers"

It just shut me down "I can't assist with that request."
Unfortunately I have no time to code this up but things that I would try to make it fast:

- Read with O_DIRECT (but compare it with the mmap approach). I know O_DIRECT gets much hate, but this could be one of the rare cases where it helps.

- Use a simple array with sentinel and linear search for the station names. This is dumb, but if the number of stations is small enough this could beat the hash. (In the back of my head I have a rule of thumb that linear search is faster for up to 1000 elements, but I'm not sure anymore where I got this from).
So an Italian judge ordered Italian ISPs to ban the site from their DNS. At least, most aliases, with a mouse-and-cat game of aliases, like there was for The Pirate Bay. Since Anna's Archive is increasingly well-known, I expect the same ban will happen in many countries this year.

It won't change much for the power users; they can configure their computers to query other DNS servers. My local network has a DNS cache (dnsmasq) that uses alternative DNS servers for a handmade list of domains.
I learned BASIC and Pascal, and bounced off of pointers at C (went to Perl instead). I probably wouldn’t have learned Pascal without my first experience programming on a Pc that booted into BASIC.
It likely could be, not to mention the prompt includes "Do not mention the authors names" which probably makes it thinks you are trying to plagiarize
Italian here, I was trying to access anna's archive today (and libgen as well) without success, is there any easy workaround?
Pretty in-depth, well researched and well argued. We need more articles and journalism like this. Thanks.
> MD5 should be considered broken and unsuitable for further use.

Ya know... It's 2024 and Azure's blob storage ONLY supports MD5 for integrity checks when writing blobs. There are no other hash functions supported there. The default cloud storage solution implemented by one of the largest cloud providers out there ONLY uses MD5.

I really want to use something else, but whenever I have to interact with them I must fall back to MD5. It's not up to me as a dev to use something better if I need to interact with Azure. Yes, I can use other hashes alongside MD5, but if I want integrity checks with the storage provider I can't completely abandon MD5.
I never claimed that the case is invalid on its face or I know more about this than the lawyers. It's worth noting that the NLRB is not some disinterested third party who is only trying to find the objective truth. They are an advocate for one side. There is another side. The NLRB is going to promote arguments that reinforce their side and ignore or downplay anything that does not support their case. That is not a conspiracy, that is literally how the adversarial justice system works. I am not saying it can't be related to working conditions, I'm presenting an argument for why I think it's not. Of course, the NLRB's argument is that it is related to working conditions, that is their job to make that argument. But it's just that, an argument. It's not some divine truth revealed to us by the holy authority of the NLRB.
Ask HN: What is something that needs to be done if you were of my age(22)?
Given that the HN community is so huge and diverse, which is one of the best parts of it, you get to know about a range of perspectives on a spectrum.

My age is 22, and I am learning, discovering, writing, reading, listening, and observing. You, my friend, on the other hand, might be reaching close to the end of your age and ability spectrum. You can't do everything in this lifetime, so I ask, "What is something that needs to be done given that if you were my age right now?".

I ask because you have seen more of the world than me, met more people, gained more experience, & in the end contributed more to society. I look forward to knowing your answer so that the younger generation can actually take this forward.
I mean, you're not wrong in general - if someone if sacrificing something they actually want (travel vacay) for something they only want the story of (hosting dinner parties) - then yeah.

But in specific, goddamn there's so many differences between hosting a dinner party at home vs at a restaurant, or getting someone to visit and putting them up in a room vs a hotel.

Totes agree about trucks tho.
Two supercharger stops. You'd probably need to make one gas stop in an ICE car for those kind of distances.

Discussing the state of charging infrastructure is one thing. But if you have a Tesla then there are superchargers everywhere. The whole argument is FUD, usually propagated by people who don't own EV's or have some agenda.

You can downvote me all you want, it doesn't win or lose the argument.
GitHub Unwrapped – Your Coding Year in Review
Also from 2013: https://www.chrisstucchio.com/blog/2013/hadoop_hatred.html
just drive the right car, to the right venue, with the right arm candy and buy the right drink with the right card. Your life is set.

Honestly I wonder what life will be like in 100 years.

This book might give us clues:

https://en.wikipedia.org/wiki/The_Inevitable_(book)
> Sometimes creating sunk cost can increase the likelihood of things happening.

If I buy a trailer I never needed, it does increase the chances of me using a trailer on a given occasion.

It does not, however, mean that I used a trailer any less than I wanted to before, and if I hadn't sunk that cost I'd have more money for more useful things. In your case, inviting for parties or going to restaurants more often and having more luxurious ones.

If you want to see your friends, don't buy stuff and hope they'll come use it. Invite them.

> If I am a guest, I would rather use the guest room than a hotel room paid for by my host.

If it's just one guest, they can sleep on the couch. Don't need spare bedrooms for that.

> With the hotel, you will leave at a reasonable time in the evening. With the guest room, you may end up staying up all night.

Not really. Leave late, stay up all night, whatever. The only thing they might care for is the checkout time if the hotel is expensive.
UTF-8 makes this far harder... But if you stick to the letter but not spirit of the rules, you can simply fall back to a slow implementation if you ever detect any byte > 127 (indicating a multibyte UTF-8 character).
I once worked on a magazine for self-builders (building your own home). The readership was assumed to be entirely aspirational - that is, it wasn't written for self-builders at all, it was written for people who dreamed of being self-builders. A hell of a lot of youtube content fits in the same bucket, IMO.

There's also conspicuous consumption/costly signalling to consider, when it comes to things that are on display like bikes, clothes, cars: in some respects, a car is a piece of jewellery.
This. Gradle wastes tremendous amounts of time on non-compile tasks. So even if Java takes a few seconds to compile, the whole build is often much, much longer. Interestingly, my impression is that maven is significantly more snappy.
Yes. You should probably start with a monolith. If you really scale then toss the htmx FE, expose an API, and slap a react project on top. Django lends itself to this growth pattern very well.
With enough thrust, even p̵i̵g̵s̵ trees can fly.
> "We will know EVs have arrived when Americans in the mountain west start trading their Subarus for Teslas."

The sort of people who used to buy brand-new Subarus are already buying Teslas.

The people who buy used Subarus will be buying Teslas (and other EVs) in 5-10 years time when they're going cheap enough on the resale market.
And the problem with internal combustion engine vehicles is the nonhypothetical externalities of environmental impact are not priced in.
Rust based CLI / HTTP API mailer
Hello everyone,
I wrote a little Rust program that can send mails from CLI and can also act as a web API to use it in contact form.

Features are:
- different directions with multiple recipients
- logging
- mail archive
- support multiple attachments
- rate limiting
- basic spam filter based on keywords
- replace sendmail for system notifications

Please let me know if you have any comments or suggestions.

I am not an expert in Rust and the project is still very young.
I haven't had a chance to look at these yet, but generated APIs are often a bit of a step down from hand curated APIs. The blog post doesn't mention any improvements, but rather focuses on the fact that GitHub can spend more time on other things.
> Google's misleading demonstration video

I cannot believe someone in Google approved that video but then again I cannot believe that a company would be launching 10 different chat apps.
> in the 02000s there was a lot of interest

I read that as octal; so 1024 in decimal. Not a very interesting year, according to Wikipedia.

https://en.wikipedia.org/wiki/1024
linear search is never faster assuming your hash algorithm is cheap enough. However, if your list only contains 2 items, then your hash algorithm better be "Is first character > 'm'".

When you want real speed like this and are happy with insane complexity, code that writes and self-compiles a hash function based on the data can make sense.
Or about 4445 attoparsec, just to use a more universal unit.
Accelerating Generative AI Part III: Diffusion, Fast
The author cited, Michael Franz, was one of Wirth's PhD students, so what he relates is an oral communication from Wirth that may very well never have been put in writing. It does seem entirely consistent with his overall philosophy.

Wirth also had no compunction about changing the syntax of his languages if it made the compiler simpler. Modula-2 originally allowed undeclared forward references within the same file. When his implementation moved from the original multi pass compilers (e.g. Logitech's compiler had 5 passes: http://www.edm2.com/index.php/Logitech_Modula-2) to a single pass compiler http://sysecol2.ethz.ch/RAMSES/MacMETH.html he simply started requiring that forward references had to be declared (as they used to be in Pascal).

I suspect that Wirth not being particularly considerate of the installed base of his languages, and not very cooperative about participating in standardization efforts (possibly due to burn out from his participation in the Algol 68 process) accounts for the ultimately limited commercial success of Modula-2 & Oberon, and possibly for the decline of Pascal.
C didn't work well on 8 bit CPUs (although it did exist). Z80 was infamously difficult to target for C code. See this stackoverflow topic: https://retrocomputing.stackexchange.com/questions/6095/why-...