MurphyA/hacker-news huggingface dataset:
by zifpanachr23 | 2025-04-25 02:38:05+00:00
I'd expect them to be significantly better than the competition in that area given the large part of the CPU that is a dedicated coprocessor specifically for crypto (called CPACF). There is much less area given to crypto on x86_64.

Of course we are talking about encryption here. TLS and AES etc etc. Not Bitcoin mining, which would indeed not be very cost effective.
by dzaima | 2025-04-25 02:39:19+00:00
That's two instrs - bumping the indices, and doing the comparison. You still want scalar pointer/index bumping for contiguous loads/stores (using gathers/scatters for those would be stupid and slow), and that gets you the end check for free via fused cmp+jcc.

And those two instrs are vector instrs, i.e. competing with execution units for the actual thing you want to compute, whereas scalar instrs have at least some independent units that allow avoiding desiring infinite unrolling.

And if your loop is processing 32-bit (or, worse, smaller) elements, those indices, if done as 64-bit, as most code will do, will cost even more.

AVX-512 might be 10 years old, but Intel's latest (!) cores still don't support it on hardware with E-cores, so still a decade away from being able to just assume it exists. Another thread on this post mentioned that Intel has shipped hardware without AVX/AVX2/FMA as late as 2021 even.

> Okay, I can see that possibly being an issue then.

To be clear, that's only the AVX2 instrs; AVX-512 masked loads/stores are fast (..yes, even on Zen 4 where the AVX-512 masked loads/stores are fast, the AVX2 ones that do an equivalent amount of work (albeit taking the mask in a different register class) are slow). uops.info: https://uops.info/table.html?search=maskmovd%20m256&cb_lat=o...

Intel also has AVX-512 masked 512-bit 8-bit-elt stores at half the throughput of unmasked for some reason (not 256-bit or ≥16-bit-elt though; presumably culprit being the mask having 64 elts): https://uops.info/table.html?search=movdqu8%20m512&cb_lat=on...

And masked loads use some execution ports on both Intel and AMD, eating away from throughput of the main operation. All in all just not implemented for being able to needlessly use masked loads/stores in hot loops.
by jonstewart | 2025-04-25 02:39:29+00:00
Well, VisualStudio for one. If you’re targeting Windows, you should consider it. VS Code feels slow to me in a way VS doesn’t.

I spent most of the past ~fifteen years working in Sublime and just switched between that and the terminal for build and test—not fancy, but then, C++ coding isn’t a speedrun. Sublime is clean, fast, and portable.

However, dev tooling has advanced so much now that I started learning and using neovim last year so I could take advantage of good syntax highlighting, LSP, and CoPilot. I don’t get enough daily reps to be good at core vi yet (I am a team manager so most of my time is spent asking questions of devs prefixed with “This is a really dumb question, but”) but despite all the techbros who’ve flocked to it I think neovim is pretty good technology and responsive. You can get the tooling features but control UI/UX; for me, I want as much code on the screen as possible, and I especially resent widgets that eat into vertical space. I started with one of the off-the-shelf all-in-one init.lua configs off github, but it was too complicated and I quickly broke things. What’s worked better is going through a video series on YouTube (https://www.youtube.com/watch?v=zHTeCSVAFNY&pp=0gcJCdgAo7VqN...) and building up the init.lua I want from scratch. As noted, I’m not great with it, especially the normal vim motions, but I’ve learned to get around, it’s fast, I can see my code without a million distracting widgets, and I get the benefit of clangd and CoPilot.
by skissane | 2025-04-25 02:43:11+00:00
The Vatican first condemned antisemitism by name in 1928, so I don't think disagreeing even with Nostra aetate necessarily has antisemitism as a consequence. The perennial problem with antisemitism, however, is nobody (Jews included) can agree on how to define it, and how essential Nostra aetate is to ruling it out for Catholics may depend on how broad or narrow a definition of it you adopt.
by zifpanachr23 | 2025-04-25 02:44:05+00:00
The legacy workloads are in some sense legacy, but in another sense the term legacy is misleading because at larger shops with capacity growth there has been no shortage of modernization of the various frontends and addition of new logic into the existing programs. The application maybe has the same name and core business as it always has, but is still growing in size and under active development. The idea now is that you might as well do the same thing and build in AI inference to those existing applications. Which is something they started implementing first with the last generation Telum chip which added some basic tensor units. This time around they are adding vector extensions 3 (think round 3 kinda like how AVX evolved) and that tensor processing extension 2 to the instruction set. Plus they are selling a discrete chip now that uses those same instructions and connects over PCI, which will probably be more than enough given that the goal is to never train on mainframes and only inference.
by grandempire | 2025-04-25 02:44:36+00:00
> This makes no sense in Zuckerberg's case:

I already agreed with the correction - he has voting control.

What is still incorrect is imagining that billions of dollars gets you advisors who know how to run a company - and those people aren't just high level executives already running companies.

> you're deep in it with your belief that Zuckerberg is an unusually capable operator.

The burden is on you to show a successful CEO for over a decade is actually an idiot.
by johnnyanmac | 2025-04-25 02:46:00+00:00
As anti-Zuck as I am, I argue this is simply human nature. I've seen the same effect all across internet interactions, from Gamefaqs to 4 chan to Tumblr to Tiktok. controversial content will simply draw in more discussion (i.e. flamewars) than any other kind of contnet. sad content, happy content, funny content; it all falls to rage bait.

The only blame on Facebook's end is a failure to moderate and mitigate it. But at that point you ask if that would have simply pointed the controversy to the moderators (something also commonly seen).
by brianpan | 2025-04-25 02:46:07+00:00
I know of a house near Chicago that has two addresses with different street names. It's on the corner of an intersection and the "mailing address" is different than the "front door" address.

Not that there's a mailbox on the mailing address street. (There's only a small side profile of a house/yard on the mailing address street side). There doesn't seem to be a good reason for the mailing address.
by chneu | 2025-04-25 02:46:36+00:00
Nice try on taking the high road.

The honest truth is that americans voted against democrats, not for republicans. Your mentality shows how ignorant people are willfully being. Many people sat out the election because all candidates were garbage, and democrats made it worse.

Democrats put up a BLACK WOMAN as their candidate and then acted surprised that a majority of americans said "no thanks". Then democrats like to act like "Oh we would have won if more people just voted", which ignores the reality of what happened.
by defrost | 2025-04-25 02:48:01+00:00
Have you any detailed long form civil engineering takes on the UK water system?

The Bloomberg piece here by Elena Mazneva is pretty light on.

UK water delivery and UK waste removal are both epic systems with a mixture of old and new - the recent Thames rebuild of London's sewerage was a substantial bit of work with multiple tunnels of great length and size that multiple trucks could be driven through.

At the same time rain and other conditions are causing other parts of the UK waste system to overspill and float turds back onto the coast.

Reservoirs and delivery is a whole other ball of string.
by chneu | 2025-04-25 02:49:17+00:00
you can do that with the QR code. It literally just takes you to a POS menu, the same one the staff will use to ring you up. lol. You can use your phone or a physical card, it's no different. The only difference is you're swiping your card thru a terminal vs filling it in on a form, which most phones do automatically.
by zifpanachr23 | 2025-04-25 02:50:53+00:00
They aren't the best, they are different, and the best in certain areas. In terms of cache size they are way out in front. That architecture has very very fat cores. That's the main thing that makes them different (not better or worse) than something like x86_64, is the focus on single thread performance and cache rather than more cores. If you have a transaction processing app that you can't shard and that scales mostly with single thread perf, then they are pretty well suited for that use case.
by Fogest | 2025-04-25 02:50:57+00:00
I used to be a EMS call taker/dispatch (911) in Ontario, Canada. Addresses could be such a pain, especially in the the more rural areas. There were multiple townships around some bigger cities. They had different naming schemes and suffered from a similar problem that you mentioned. Many of the addresses also had old addresses. Our system would luckily often have both versions of the address stored, but not always. Additionally a lot of our roads have both numbers to address them by, such as "Regional Road 12", but then they'd also have an actual name. Almost every went by the actual name, however in the rural areas sometimes they had old real names, but it never was "official" so it isn't even listed.

Overall addresses are such a mess, and they are a mess even for governmental agencies like this one.
by chneu | 2025-04-25 02:52:40+00:00
I used to work for Oracle in their datacenter hardware module.

The scale of the orders that datacenters put in is insane. It's literally 1000:1 vs consumer stuff.

While building a single server I could easily handle 2-3 million dollars worth of hardware. We'd roll out 50 of those in a week. That was just my shift and we had several.

Gamers and consumers simply dont understand the scale that datacenters work at.
by jjulius | 2025-04-25 02:54:17+00:00
>Nice try on taking the high road.

For what it's worth, I don't disagree with some of what you're saying. I just don't feel like it's productive to engage with someone who starts off a conversation by telling someone to "Knock it off" and then proceeds to call their perspective dumb. I'm happy to chat, but your attitude and tone suggest that your heels are firmly dug in and you aren't actually interested in a constructive dialogue. I could be wrong, but your doubling down by attacking my politeness suggests that maybe I'm not. At any rate, I'll pass.

Like I said, enjoy your night!
by Veserv | 2025-04-25 02:54:59+00:00
He did not baselessly claim a critic was a pedophile. He baselessly claimed the first foreign rescuer called to the scene [1], who called in his friends who successfully navigated and mapped the caves and found the kids, a pedophile.

[1] https://www.thetimes.com/uk/article/exclusive-interview-with...
by stingraycharles | 2025-04-25 02:55:55+00:00
Where I currently live, my street has no name, my house has no number. If a package is delivered by mail, my phone number needs to be put on the package, and the local delivery operator calls me to either pick it up, or I send my location through telegram and they deliver it to my house.

It’s almost entirely impossible to order through Amazon et al using this type of system, it’s just not supported at all.

The same goes for my country or origin (in EU), they require my address in order to be able to send important mail. It’s just not possible because of the computer systems not accepting anything without a zipcode, address and house number.
by Fogest | 2025-04-25 02:57:01+00:00
I have the same dilemma, but it has even more factors to consider such as different staff entrances and parking lots.

For example, at my work I enter on a different side of the building with my vehicle as a staff. When on foot there is also a different staff entrance than the public entrance. I actually often don't put in my work for navigating, I instead put in a manually saved set of coordinates of where the parking lot entrance is. Because it can make a difference on which way it suggests for navigation.
by fluidcruft | 2025-04-25 02:57:03+00:00
The President commands the military, negotiates treaties, nominates various officials for confirmation. Probably the most leeway relates to being called to ensure laws are faithfully executed.

So it seems reasonable the Executive can police independent agencies to ensure they operate as authorized by law, but I don't see how that challenges the establishment or existence of lawful independent agencies.

NSF is one thing but say an independent agency that does things like negotiate treaties or command the military or nominate Supreme Court justices should be off the table

(But on the other hand, theoretically the Executive should be able to voluntarily authorize legislation that enables those things if they wanted to. Just saying I can see cooperation possible but a veto override probably won't work to force it on an unwilling Executive).
by joak | 2025-04-25 02:57:43+00:00
Imagine you have 100 acres growing corn for biofuels, would it be nice to replace these by 99 acres of wilderness and 1 acre of photovoltaics producing the same amount of biofuels?

If your photovoltaics are 100x more efficient to produce your chemicals, agriculture is the dirty way of doing it.
by Zambyte | 2025-04-25 02:58:10+00:00
Brain surgery is invasive, but the power that the surgeon exercises over the patient is bound to the context of the surgery. Side effects may linger, but the surgeon cannot increase or alter the side effects after the surgery. With Neuralink installed, the owner of the proprietary software that runs on it (because let's be real, there's no way they'd let you control your own brain) has indefinite read and write access to your mind. No thought is private; no action is your own. Everything that happens in your brain happens either because the owners let it, or made it happen.
by brianpan | 2025-04-25 03:00:20+00:00
The UX is giving me misery.

Most of the time the red fills in counter-clockwise. Until it is over 50%, then the red fills in clockwise.

Lots of the map circles actually represent MULTIPLE airports. But they still "represent" them with a three letter code. Sometimes by the largest airport (ORD, SFO), sometimes by a non-airport code (NYC), and sometimes by the second largest (DFW is larger that DAL).

Someone's pet project needs some more love.

EDIT: This version looks less like a pet project: https://www.flightaware.com/live/airport/delays
by dragontamer | 2025-04-25 03:00:34+00:00
Gotcha. Makes sense. Thanks for the discussion!

Overall, I agree that AVX and Neon have their warts and performance issues. But they're like 15+ years old now and designed well before GPU Compute was possible.

> using gathers/scatters for those would be stupid and slow

This is where CPUs are really bad. GPUs will coalesce gather/scatters thanks to __shared__ memory (with human assistance of course).

But also the simplest of load/store patters are auto-detected and coalesced. So a GPU programmer doesn't have to worry about SIMD lane load/store (called vgather in AVX512) being slower. It's all optimized to hell and back.

Having a full lane-to-lane crossbar and supporting high performance memory access patterns needs to be a priority moving forward.
by quuxplusone | 2025-04-25 03:00:55+00:00
Well, it seems a little silly of this company to ask whether their customers would willingly bear the entire cost burden of supporting local businesses, while keeping their own profit margins just as high as ever. In a different world (one where the company owner thinks it's virtuous to buy local), they'd split the cost with the customer. That might still correspond to a 40% price increase and the conversion rate might still be zero, but at least it wouldn't be intellectually dishonest on the face of it.
by noisy_boy | 2025-04-25 03:01:05+00:00
> The tapeworm lacks the faculties to care about the colon. It just needs nourishment. Same with Zuck. You can't blame the worm, because it's got no concept of reality beyond the things needed to serve its survival. Zuck, as a human, can only do that by very likely having a serious personality disorder.

Isn't that behavior massively rewarded in the current system of VC-driven capitalism as a general rule? Such founders/companies leach off the society, leave it worse and are given huge valuations and riches. Infact the incentives mean we will see more of such people rise to the top in a ever-worsening feedback cycle until the society puts some checks on them. Which is a extra difficult in this deliberately fragmented environment. Same old loop we can't break out of.
by pezezin | 2025-04-25 03:01:24+00:00
Japan is even worse than that, as they don't even use street names. The specific details depend on the municipality, but in summary:

- Municipalities are divided hierarchically into named neighborhoods, districts, wards, or "sections" (字/"aza", I don't know the correct translation). A single municipality might combine different kinds of divisions for historical reasons.

- Those are then divided into numbered blocks, plots, and buildings. The numbers are assigned in chronological order, and are rarely spatially sequential.

All in all, the system is extremely confusing, and the chaotic urban "planning" of most Japanese cities doesn't help. So how do people move around? They use maps; in the big cities like Tokyo there are street maps in all the major areas, otherwise you use your smartphone.
by zifpanachr23 | 2025-04-25 03:01:54+00:00
There are really applications that are large enough and hard enough to parallelize and/or shard that any rewrite on a different platform would turn into a performance catastrophe, even if you hired the best engineers and wrote the whole thing in very efficient C++, which you never hear about them doing because its usually only about saving money and so it's done with as cheap of developers as possible and in Java. I've seen it and it's not pretty. They tend to be dog slow and unresponsive, and even harder to maintain than the crusty old assembler and COBOL, because you have to implement a lot of the report writing and record crunching features built into a domain specific language like COBOL from scratch it you want to write the same application in Java.

That's my biggest pet peeve with people that want to ditch mainframes, which is that they seem to care very little about the quality and performance of the software in my experience or they would only be thinking of replacing COBOL and Assembler code with an equivalently performant modern language and dialect. The desire to migrate is often driven primarily to have cheap, easily replaceable developers.
by Zambyte | 2025-04-25 03:02:00+00:00
> The fear isn't that it's an option; It's creating a world where you can't afford not to.

It's not even just that I couldn't afford not to. It's that in a way, I couldn't choose not to. Anything anyone says that has Neuralink installed is compromised. Any friendly suggestion to grab lunch at Major Chain Restaurant TM could be an ad. Any anecdote could be political campaigning.

It's not just not having it myself, it's the fact that those around me having it is a problem.
by duped | 2025-04-25 03:02:50+00:00
> The way I see it, it is because a ZIP code can be associated with a list of cities that are categorized as “recommended city name”, “other city names recognized for addresses in this zip code” and “city names to avoid”. [1]

This one affects me personally and it bugs me programmers think that they know better than I do about my address when I try and enter the city name and zip code, then they "correct" the city name based on the zip code and make it read only.

a) what was the point of me entering the city if you were going to fill it in anyway ?

b) this has happened in the last two cities I've lived and is dirt common around a major metro area in the United States. Stop autocorrecting user entered data, let them be wrong!
Ask HN: I am at a loss. What shall I do?
by bloomtowns | 2025-04-25 03:03:04+00:00
I started a startup about 1.5 years ago and raised about $100k. However, most of that is spent on ads, travel and meeting with accelerator mandatory workshops. I have $50k in bank now. I am not drawing salary and living on my savings at this point.

It is incredibly hard to survive without any income on the west coast. I have considered moving but all other obligations doesn't let that happen.

I don't know if I am burned out or something is wrong with my brain. I am just numb to everything since 2023 when my father passed away.

So far we have made $4k but that's it. We released a product in February after significant delay in development. That product flopped. We have made one sale.

I know talking to customer is a cliche at this point. But, I am just not finding anyone to talk to. I have little to no network. Most of our software is for Marketing folks. I am using LinkedIn as primary channel and I do get 3% response. But, it is either not interested or sometime in the future.

I am at a crosspoint now. I don't know if I should continue to work on my startup.

I am relying on drawing from my savings but it is not sustainable. I desperately want to make it work and earn at least living expenses through my work.

I have spent a decade or more in tech but as an introvert and partly autist, I have kept to myself.

How do I find users to talk to and how can I reach out to them? I am finding that building without verifying or talking to users is a costly affair.

I would love to get some guidance.
by duped | 2025-04-25 03:04:30+00:00
> it's probably not feasible for a global product like Google Maps to understand and encode every regional system

I disagree, it's a requirement of being global. If you can't be global, don't. Meanwhile they have hundreds of thousands of engineers in their employ around the world, they have the scale to be correct.

I know this isn't what you said, but the idea that a small scrappy team of developers in one corner of the world can develop a system that works at all for the entire planet while dealing with the real world should be possible is just nonsensical. There's no reason Google can't be correct other than the fact it's unsexy to management that solving the problem involves hiring people who speak nearly every language on the planet and can connect and comply with enough governments around the world to get things right. Somehow that's not less surprising than sending cars everywhere to take photos of everyone's front doors without their consent.
by nitwit005 | 2025-04-25 03:05:00+00:00
This seems like an optimist, imagining an ordered world, which sadly does not exist.

Whatever assumption you think will always hold true for addresses, will not in practice. Even in places that appear strictly patterned.

The suggestion to guess addresses that "should exist" is just clearly wrong. If someone buys two plots of land and builds a larger building, an address normally vanishes.
by saulpw | 2025-04-25 03:05:02+00:00
"It's a problem they want to solve for themselves", but note that they haven't tried all the alternative recommendation services and are only creating one as a last resort. They want to solve the problem, which is a different drive from wanting a recommendation app.

Now, if someone made a "Recommendation-Engine-in-a-Box", where someone who wanted to make a recommendation app for themselves would supply the content and could tweak the algorithm and the design, I could see that being successful in this market :)