MurphyA/hacker-news huggingface dataset:
Have you successfully claimed SLA credits from your cloud provider?
by oladekola | 2025-05-13 17:46:38+00:00
Billions of dollars in cloud SLA credits go unclaimed every year. Cloud providers know when a breach happens but don't apply credits automatically ...

Instead you have to:

- file a claim within 2 billing cycles

- attach logs proving the incident happened

- parse all the legalese in the SLA document to calculate the credits owed

Anyone else have experience with this? How do you handle at your org?
by chneu | 2025-05-13 17:47:01+00:00
Smells like user error and bias.

I've swapped dozens of users from iOS to Android in the last year or so and nobody has had issues. Over the years I've helped hundreds of people migrate. Most everyone really likes the freedom to use different apps or workflows.

The only folks who ever have problems are people who need to be told how to use their devices. Choices confuse them so android is overwhelming, which is understandable. That's where iOS excels. iOS dictates how users can do things, which works for some people but also atrophies people's understanding of technology. People learn to do as they're told, not how to think about what's going on. Apple's walled garden makes people worse at technology.

Also sounds like you bought a garbage bargain android device. Idk how something can barely work as a camera/powerbank unless user error is present.
by roughly | 2025-05-13 17:47:27+00:00
There’s enough stories about Stallman’s “eccentricities” that aren’t the result of ethical choices. The man’s hygiene is sort of legendary at this point. None of this is to say he’s wrong or argue against his ethical consistency or the admirable fidelity to which he holds to his ethics, but the dude is odd for reasons beyond his choice of email client.
by porridgeraisin | 2025-05-13 17:47:43+00:00
I guess it depends on your expectations. Will they be fine as a company? I think yes. Will they be as prominent as they were at different points in their history? I think not.

Product aside, from a shareholder/business point of view (I like to think of this separately these days as financial performance is becoming less and less reflective of the end product) I think they are too big to fail.
by gibsonf1 | 2025-05-13 17:47:52+00:00
We[1] Create "Units of Thought" from PDF's and then work with those for further discovery where a "Unit of Thought" is any paragraph, title, note heading - something that stands on its own semantically. We then create a hierarchy of objects from that pdf in the database for search and conceptual search - all at scale.

[1] https://graphmetrix.com/trinpod-server https://trinapp.com
by alabastervlog | 2025-05-13 17:47:55+00:00
> Note the original comment you replied to claims that "those kind of positions are a notable and visible part of progressive/Democratic culture". It says nothing about whether such positions are the official policies of the Democratic party.

No, the claim was:

> The democrats have fundamentally abandoned the working class in favor of stupid wedge issues. It was the "progressives" who chose to shift their campaign focus onto gaining more privileges for trans women, abolishing the police force, endorsing Islamic supremacist groups tale of their own victimhood, and denying the basic right for country to have an immigration policy. I don't see how any of this is aimed at the working class.

The only one of the four claimed positions that's even arguably not a fantasy ginned up by Republican propaganda is the one about trans women. The post was blaming democrats for taking positions that they did not take.
by IAmBroom | 2025-05-13 17:48:20+00:00
Agreed; the article is a complete red herring.

Bosses don't lose 2 minutes a year worrying that Drone #685 might leave to begin a startup.

They DO worry the drone isn't working; isn't working efficiently (if it's a good boss); isn't working at their highest quality (if it's a great boss).
by weiwenhao | 2025-05-13 17:48:22+00:00
I don't mean to promote it because the nature programming language version 0.5 is not ready yet, but the nature programming language https://github.com/nature-lang/nature basically meets your expectations, except for the use of var to declare variables, probably because I also really like simplicity.

Here's an example of how I use the nature and raylib bindings.

https://github.com/weiwenhao/tetris
by goda90 | 2025-05-13 17:48:24+00:00
Tire noise increases with speed and weight. At freeway speeds, tires make 60% of the noise of a typical ICE vehicle[0]. Electric cars are also heavier than ICE vehicle due to the battery. High speed AV only roads would probably have more cars on them too, so even more noise.

[0]https://www.latimes.com/archives/la-xpm-2004-may-12-hy-wheel...
by TeeMassive | 2025-05-13 17:48:43+00:00
The bias towards positive hypotheses is a consequence of the lack of fundamental discoveries. Most scientific researchers at this point are publicly funded engineering projects with no expected ROI. This is not a bad thing per se, but the culture of research based around making an impression in some noble's court is no longer viable. The incentives need to be shifted to good research and good methodology and need to be results agnostic.
by kccqzy | 2025-05-13 17:48:48+00:00
When you use PDF.js from Mozilla to render a PDF file in DOM, I think you might actually get something pretty close. For example I suppose each Tj becomes a <span> and each TJ becomes a collection of <span>s. (I'm fairly certain it doesn't use <canvas>.) And I suppose it must be very faithful to the original document to make it work.
by chrisstu | 2025-05-13 17:49:04+00:00
Nice article. I like the Barbican and have spent a fair bit of time there over the last 25 years. I even worked out how to get from A to B without getting lost. Not been recently though.

The appearance of various Barbican adjacent locations in Slow Horses was a nice touch. And very on-point given the nature of Slough House.

Do they still have the rubber foot pedals to make the water come out of the taps in the public loos? Of course, being the Barbican the loos smell appalling and the taps frequently don't work, but it's all part of the charm.
by bobbyi | 2025-05-13 17:49:54+00:00
I thought this would work:

#define C(x) (sizeof(char[x]), x)

sizeof is a compile-time operation so x need to be known at compile time.

It didn't work as expected. It turns out there is an exception and the standard says that sizeof is actually calculated at runtime specifically for variable length arrays:

> The sizeof operator yields the size (in bytes) of its operand, which may be an expression or the parenthesized name of a type. The size is determined from the type of the operand. The result is an integer. If the type of the operand is a variable length array type, the operand is evaluated; otherwise, the operand is not evaluated and the result is an integer constant.
by igouy | 2025-05-13 17:50:29+00:00
And for those who have access

2022 "N-Body Performance With a kD-Tree: Comparing Rust to Other Languages"

https://ieeexplore.ieee.org/document/10216574

2025 "Parallel N-Body Performance Comparison: Julia, Rust, and More"

https://link.springer.com/chapter/10.1007/978-3-031-85638-9_...
by msgilligan | 2025-05-13 17:50:42+00:00
I simplified the first example to:

void main() { CompletableFuture<String> future = CompletableFuture.supplyAsync(this::asyncMethod); future.thenAccept(result -> IO.println(result)); IO.println("Prints first"); // prints before the async result future.join(); // Wait for future to complete } String asyncMethod() { try { Thread.sleep(10000); } catch (InterruptedException e) { return "Interrupted"; } return "Data Fetched"; }

I made the following changes:

1. Move the asynchronous function called in the CompletableFuture to its own method

2. Use Java 25 "instance main method" (see JEP 25: https://openjdk.org/jeps/512)

3. Use Java 25 IO.println() to simplify console output

4. Instead of throwing a fatal exception on interruption, return "Interrupted" immediately.

5. Use future.join() so the main method waits for the future to complete and the "Data fetched" output is printed.

This program can be run directly from source with `java Example.java`. (If you're using Java 24 or a version of Java 25 prior to EA 22, you need to use `java --enable-preview Example.java`)

Here is a modified version of the example that interrupts the thread:

void main() { ExecutorService executor = Executors.newSingleThreadExecutor(); CompletableFuture<String> future = CompletableFuture.supplyAsync(this::asyncMethod, executor); future.thenAccept(result -> IO.println(result)); IO.println("Prints first"); // prints before the async result executor.shutdownNow(); future.join(); // Wait for future to complete } String asyncMethod() { try { Thread.sleep(10000); } catch (InterruptedException e) { return "Interrrupted"; } return "Data Fetched"; }
by jhbadger | 2025-05-13 17:50:46+00:00
No. Indirect costs on grants aren't some slush fund used to fund whatever but are real costs involved in doing science. It costs money to build lab facilities, maintain and repair lab equipment, pay salaries of support staff like IT folks and lab techs. If indirect costs get capped, more of the actual grant will have be used for these things and less science will get done.
by gingerBill | 2025-05-13 17:50:56+00:00
Odin has very good FFI with its `foreign import` system, so you can still use libraries written in C, Objective-C, or any other language. And Odin does support tools like asan, tsan, etc already too. So what are the thing that you are giving up if you were using Odin instead of C?—in practice.
by jbellis | 2025-05-13 17:50:57+00:00
TIL that Chrome ships an internal embedding model, interesting!

It's a shame that it's not open source, unlikely that there's anything super proprietary in an embeddings model that's optimized to run on CPU.

(I'd use it if it were released; in the meantime, MiniLM-L6-v2 works reasonably well. https://brokk.ai/blog/brokk-under-the-hood)
by FredPret | 2025-05-13 17:50:59+00:00
It's only hard if you actually try to engage with all of the game mechanics.

- Play as the Dutch to get their four-item capacity ship

- settle near Ore

- build only one or two cities, and make them as populated as you can. Wagon train food and raw materials in if you have to.

- produce Tools and Guns, nothing else.

- Early on, sell shiploads of basically anything from Europe to the tribes to jumpstart your economy. You don't need any other dealings with the tribes or other Europeans.

- Put your carpenters to work building fortresses, universities, and cannons.

- Once you have a university, start training up soldiers. Clear all special skills not involved in growing food or producing guns so you have an large number of civilians to train up.

- Put a tall stack of professional soldiers and cannons in your fortresses.

- declare independence and win.
by omoikane | 2025-05-13 17:51:02+00:00
Was it also commonplace to have insurances covering human errors? For example:

> A tribunal last year ordered Air Canada to honour a discount that its customer service chatbot had made up.

If a human sales representative had made that mistake instead of a chatbot, I wonder if companies will try to recover that cost through insurance. Or perhaps AI insurance won't cover the chatbot for that either?
by JoeAltmaier | 2025-05-13 17:51:54+00:00
That's a bold statement. How about pay them commensurate with their value to the product? Have reasonable work hours? Whatever made them leave, fix that. For instance.

Wait, that above comment sounds like a disgruntle 'boss' who is lashing out. So, no answer will be adequate. That poisonous attitude is typical of why programmers were leaving.
by ceejayoz | 2025-05-13 17:52:18+00:00
I mean, obviously. But the provision says:

> no State or political subdivision thereof may enforce any law or regulation regulating artificial intelligence models, artificial intelligence systems, or automated decision systems during the 10 year period beginning on the date of the enactment of this Act

States never got to control Federal spending, AI or otherwise.

But the Tenth Amendment pretty strictly limits how much the Feds can control state spending and legislation, too.
by mbanerjeepalmer | 2025-05-13 17:52:18+00:00
I don't think Substack's terms are a problem: https://substack.com/pa

Regarding copyright I believe that this is fair use. It lets individual readers print their subscriptions. It's indistinguishable from them using a printer at home, except that it's delivered automatically.

But yes it's a grey zone. It's making a copy of someone's copyrighted work without their permission. (Remember it was technically illegal to load songs onto your iPod.) And so that's why the book product (which brings together all posts from one publication) is for authors, since I think that strays more towards publishing rather than mere printouts.
by ZpJuUuNaQ5 | 2025-05-13 17:53:21+00:00
>extremely plausible science fiction

>I thought it meant "very hard to understand"

For a mere mortal like myself, those definitions aren't mutually exclusive. I think I tried reading "Blindsight" a long time ago but never got past a few dozen pages. Maybe I should give it a try again someday.
by acdha | 2025-05-13 17:53:38+00:00
Using an inaccurate phrase like “central planning” calls your motives into question. That’s designed to conjure up scary images of Cold War-era Russia or China, but it’s really not how things work in a democracy where democratically-elected representatives allocate money based on their constituents’ interests, and hire experts in their fields to disburse those funds to private researchers based on the recommendations of other private experts, and the resulting research is often greatly profitable for private companies competing in the market (nobody bought Air Force microchips or had to license CRISPR from the president’s nephew).

One thing all of the major advances which shaped the 20th century have in common is that they required huge upfront spending which even large companies couldn’t afford. Smart people will contribute to society in various ways but creating those opportunities allows that to happen more frequently and on a larger scale.
by insane_dreamer | 2025-05-13 17:54:01+00:00
This is the key problem. The LLM won't ask questions or clarify something that it doesn't understand; it'll just proceed with what it thinks it knows, and more often than not, get it wrong.

It does usually summarize what you want, but that's simply a restatement of the prompt (sometimes verbatim), which is not the same as the type of follow-up questions that a good Jr engineer would make.
by KapKap66 | 2025-05-13 17:54:37+00:00
There's a problem when people who aren't very sensitive to latency and try and track it, and that is that their perception of what "instant" actually means is wrong. For them, instant is like, one second. For someone who cares about latency, instant is less than 10 milliseconds, or whatever threshold makes the difference between input and result imperceptible. People have the same problem judging video game framerates because they don't compare them back to back very often (there are perceptual differences between framerates of 30, 60, 120, 300, and 500, at the minimum, even on displays incapable of refreshing at these higher speeds), but you'll often hear people say that 60 fps is "silky smooth," which is not true whatsoever lol.

If you haven't compared high and low latency directly next to each other then there are good odds that you don't know what it looks like. There was a twitter video from awhile ago that did a good job showing it off that's one of the replies to the OP. It's here: https://x.com/jmmv/status/1671670996921896960

Sorry if I'm too presumptuous, however; you might be completely correct and instant is instant in your case.
by mike_hearn | 2025-05-13 17:54:53+00:00
Hm, you could do that quite easily but there isn't much juice to be squeezed from runtime selected data structures. Set with O(1) insert:

var set = new HashSet<Employee>();

Done. Don't need any fancy support for that. Or if you want to load from a database, using the repository pattern and Kotlin this time instead of Java:

@JdbcRepository(dialect = ANSI) interface EmployeeQueries : CrudRepository<Employee, String> { fun findByCountryAndGender(country: String, gender: String): List<Employee> } val femaleUSEmployees = employees.findByCountryAndGender("US", "Female")

That would turn into an efficient SQL query that does a WHERE ... AND ... clause. But you can also compose queries in a type safe way client side using something like jOOQ or Criteria API.
by lenerdenator | 2025-05-13 17:54:59+00:00
Revenue raising is supposed to be the purview of Congress, mainly because it's best for everyone involved if it's a known policy and not subject to personal whims. We're now seeing the effects of that; it's impossible to make good-faith business investments if you don't know if the investment will be heavily taxed a week after the first hires are made.

As for whether or not the people of the US got what they asked for, in a sense, that doesn't matter. Trump might think otherwise, but he is not a king. There's a document that he has to follow. This is a constitutional democratic republic, not just a democracy. The less he follows the rules, the more severe the repercussions could be for both him personally and the country at large.
by elpocko | 2025-05-13 17:55:03+00:00
You've posted nothing but self-promotion so far. You don't get to throw the rulebook at me.

>If I want to build a site related to music and am looking for someone to build with on the technical side, are you saying you'd find a developer on a music forum?

I'm gonna find a developer on an actual active social network where you can find developers, not on an empty site with no users. You don't have to take this personally, it's just the reality of things. You're up against reddit, LinkedIn, X, and countless other social networks. No one is gonna use yours unless you have something unique to offer that no one else has.
by tdb7893 | 2025-05-13 17:55:11+00:00
I think it's good to realize that many people's commitment to "American" values is weak at best. Things like state's rights, equal representation in government, and even "freedom of speech" are often political tools rather than actual values.

Reading basic history shows it's always been this way. As a simple historical example the soon to be Confederate states complained about "state's rights" for slavery but when they seceded they enshrined slavery in their constitution and notably didn't leave it up to their states (so clearly that institution was more important to them than state autonomy). It's always been a convenient veneer over policy.
by abraae | 2025-05-13 17:55:27+00:00
Maybe so, but from the outside voting as an American looks stifling. I wouldn't want to vote for either of the two parties, although both hold some positions that I agree with more than the other.

Either of the two parties promoting voting reform would be like turkeys voting for Christmas.

I don't know if America will ever be able to transition to proportional representation because of entrenched interests. But here in New Zealand it was having a trump-like character, Robert Muldoon, in control of our economy last century that led to MMP.

Having a single deranged (and occasionally drunk) person micromanaging the economy, arbitrarily imposing tariffs and trading rules and imposing price controls and freezing wage rises made people realize that we wanted our king to be symbolic and not interfering with our freedoms.
by nativeit | 2025-05-13 17:56:10+00:00
I’m getting ready to turn 42yo, but I want to be like you when I grow up.

Seriously, impressive work. I’m a sysadmin who completed a two-year electronics engineering program (mostly for fun, although it’s become increasingly useful in my work). Since then, I have learned enough to design my own simple boards with BOMs that include maybe a few dozen parts. I can also hack on relatively complex projects that more experienced engineers design, but I find the bulk of my enjoyment in the iterative process of designing for myself.

My family doesn’t understand the appeal, and poke fun at my inability to finish a lot of the things I start, especially when it’s some gadget that I could have purchased off-the-shelf for less than I paid for the parts. But I tell them that, as a hobby, electronics is mostly about finding fulfillment within the journey, rather than the destination. Otherwise, it would be a very masochistic endeavor, as even successfully completed projects will have involved several failures along the way. Each time I fail, I learn something new and exciting to expand my horizons.

That unique experience of your own intuition clicking into place as the gaps in your knowledge are bridged, and you discover how fundamental physics work to produce the phenomena we use to create machines—it is something I have always struggled to describe. It’s sort of like when you learn how a magic trick works, but instead of being disappointed in the mundanity of seeing someone palm a playing card, you’re wonderstruck by the magical nature of physics, the elegance of simple laws that manifest complex systems when applied recursively, and the fractal nature of it all.

Pardon the self-indulgent musings, I have nothing productive to add, only that I very much enjoy exploring your work, and I look forward to following this project.
by mike_hearn | 2025-05-13 17:56:35+00:00
They focused heavily on the quality of things you can see, i.e. slick visuals, high build quality, even fancy cardboard boxes.

Their software quality itself is about average for the tech industry. It's not bad, but not amazing either. It's sufficient for the task and better than their primary competitor (Windows). But, their UI quality is much higher, and that's what people can check quickly with their own eyes and fingers in a shop.
by psunavy03 | 2025-05-13 17:57:19+00:00
As others have mentioned, in WWII, many of the things modern militaries take for granted were in their infancy. In modern times, there are lots of staff meetings and procedures involving nothing other than deconflicting fires. Fast jets hit this, artillery hits that, fighters cover here, surface-to-air assets cover there, etc.

But those lessons are written in blood due to exactly incidents like the one you mention. The "big sky, little airplane" theory is not something to bet your life on.
by hackyhacky | 2025-05-13 17:57:23+00:00
> Where have you been for the past 25 years?

This is a very myopic view.

In the past 3 months, we've seen curtailing of civil liberties (bypassing due process), open bribery (memecoin pay-to-play, Qatari airplane), illegal interference with independent agencies (firing head of CFPB), executive overreach ("emergency" tariffs), violations of free speech (punishing law firms for their clients), etc. None of this is precedented at this scale.

What you are doing is exactly what aboutism, by claiming that minor transgressions in the past excuse blatant authoritarianism.
by leonidasv | 2025-05-13 17:57:28+00:00
> Our performance evaluation shows up to 2.7% overhead for the microcode mitigation on Alder Lake. We have also evaluated several potential alternative mitigation strategies in software with overheads between 1.6% (Coffee Lake Refresh) and 8.3% (Rocket lake)

https://comsec.ethz.ch/research/microarch/branch-privilege-i...
by igouy | 2025-05-13 17:57:35+00:00
And even if there were:

"We are not finders of fact. We are tellers of story. You base the story on the evidence, no? No! We base the evidence on the story. We prove what helps us, and we disprove what hurts us. Whoever tells the best story goes home with the cash-in prizes." (The Good Fight, season 3 episode 2. 30 - 31 minutes. CBS All Access 2019.)