MurphyA/hacker-news huggingface dataset:
by greggsy | 2025-06-04 07:16:11+00:00
It's trivial to normalise the various formats, and there were a few libraries and ML models to help parse PDFs. I was tinkering around with something like this for academic papers in Zotero, and the main issue I ran into was words spilling over to the next page, and footnotes. I totally gave up on that endeavour several years ago, but the tooling has probably matured exponentially since then.

As an example, all the academic paper hubs have been using this technology for decades.

I'd wager that all of the big Gen AI companies have planned to use this exact dataset, and many or them probably have already.
by TeMPOraL | 2025-06-04 07:16:33+00:00
> So I don't think art is dependent on the conclusion viewer, but on the intention of the author. If they arrange rocks just-so, because they enjoy the shadows they make at noon, I think that's art.

That still depends on the conclusion of the viewer, because intent exists only in the heart of the creator. We can guess at it, or choose to trust the creator when they say what their intent was, but we cannot independently see and evaluate it. Then, other people can disagree with us on what the intent was. You say Jiro is is an artist, I say he's just building a fake persona to market his fish-slicing business.

I think there is no quality of "art" that's inherent to the work; I see art as purely social phenomenon.
by quotemstr | 2025-06-04 07:16:34+00:00
> Compatibility is a key factor here, so we'd want to go with base-level JSON. I'd prefer being able to have trailing commas in lists, but not enough to make life hard for someone implementing this without access to a JSON5 parser.

Everyone has access to a JSON5 parser. Everyone has to suffer for the sake of a few people who don't to pay the trifling tax of pip installing something --- when they're using an external library for a novel file format _anyway_?
by dwaite | 2025-06-04 07:17:12+00:00
Rust and Swift share a lot of core concepts.

Swift has a few extra bits for Objective-C compatibility (when running on Apple platforms), but otherwise the biggest differences come to design and ergonomics of the language itself.

If I need complete control over memory for say a web server, or am writing code to run on an embedded device (e.g. without Linux), I'll use Rust - even if Swift technically has the features to meet my needs.

Thats the reverse if I am creating mobile or desktop apps. I'd probably prefer using neither for web services like in this article, but would still probably pick Swift given a limited choice.
by fabian2k | 2025-06-04 07:18:27+00:00
One part of the government apparently wants to simply destroy all institutions involved in scientific research. The other half wants to promote their pet ideas, no matter how unscientific they are.

They're coming for the vaccines now, it's still cloaked in scientific-sounding language, but in the end they will make vaccines less available and potentially even completely prevent access. This doesn't have to be direct, the current strategy seems to be to demand unreasonable and unscientific levels and types of evidence to recommend them or even making them available.

Vaccines are the first target, I strongly doubt they're the only one.
by chipx86 | 2025-06-04 07:18:50+00:00
difftastic is great!

This isn't a tool for viewing changes to files or to ASTs. This is a way of being able to generate a single diff file for processing or patching that addresses the kinds of problems we've encountered in over 20 years of building diff parsing tooling and working with over a dozen SCMs with varying levels of completeness or brokenness of bespoke custom diff formats.

It's not an end user tool, but a useful format for tools like code review products to use.
by ThisNameIsTaken | 2025-06-04 07:19:46+00:00
Last week I looked into such simplification/decimation algorithms to simplify lines sent to a showlaser projector. Turns out there is a whole bunch of different algorithms for decimation, each with different trade-offs.

It might be interesting to see how the edge cases mentioned in the article are impacted by switching to, for example, Visvalingam-Whyatt [0].

[0]: For a Python implementation: https://github.com/urschrei/simplification
by timewizard | 2025-06-04 07:20:00+00:00
Drainage! Drainage, Eli, you boy. Drained dry. I'm so sorry. Here, if you have a milkshake, and I have a milkshake, and I have a straw. There it is, that's the straw, you see? Watch it.

Now my straw reaches acroooooss the room, and starts to drink your milkshake. I drink your milkshake!
by DocTomoe | 2025-06-04 07:20:07+00:00
Everyone with a functional understanding of thermodynamics knows that you cannot extract energy from a system and expect there to be the same energy in the source after the extraction.

I do wonder if - in 20 to 50 years - we find out that we somehow screwed up the ecosphere with renewable energy production in a subtle and catastrophic way, much like we did with coal-powered or nuclear plants.
by sgammon | 2025-06-04 07:20:25+00:00
Benchmarking a toy case (hello world) shows a 20x performance difference; this is true for both kotlinc and javac, when benchmarked through hyperfine. YMMV, but benchmarks of different build styles show native converging with JIT at about 10k classes[1]

So, if your project is 10k classes or less, you are looking at "up to" a 20x improvement in compile time vs. stock javac.

On the dependency fetching side, we haven't benchmarked yet. It definitely feels like 100x+ though on a wall-clock basis.

[1]: https://github.com/simonis/LeydenVsGraalNative
by spaceman_2020 | 2025-06-04 07:20:40+00:00
My 80-year old dad tells me that when he bought his first car, he could pop open the hood and fiddle with things and maybe get it to work after a breakdown

Now he can't - it's too closed and complicated

Yet, modern cars are way better and almost never breakdown

Don't see how LLMs are any different than any other tech advancement that obfuscates and abstracts the "fundamentals".
by lemonberry | 2025-06-04 07:20:43+00:00
I recently picked up an analog drum machine - Arturia Drumbrute Impact. I play guitar a little already and picked this up to play some industrial music. It's turned out to be a such a fun device on it's own I'm considering picking up a bass machine, sequencer, and synth.

I can totally zone out creating and tweaking beats on the Drumbrute Impact. I also find it oddly comforting to have on when I'm working.
by wltr | 2025-06-04 07:21:58+00:00
That depends individually. I can speak Russian accent both with Russian and English that nobody ever would recognise. Normally I have American accent, but I’m having ‘you think this is bad neighbourhood’ kinds of hires with friends very well made Russian accent.

I know many people like that either. I personally spent some time in Moscow, nobody ever knew I’m not a local. Same goes for a friend, we both were laughing at them being unable to recognise we’re not locals.

I believe this might be truer for small distant regions, where people might have their own local accent there. Plus not too many people to blend in that easily. But in general, even if one speaks differently, it might not take too long to adapt to speak like everyone else.
by byungsoopark | 2025-06-04 07:22:15+00:00
We know the following equation: xⁿ + yⁿ = zⁿ Here, x, y, z, and n are all positive integers, and when n > 2, there exists no integer solution that satisfies this equation. This is known as Fermat’s Last Theorem. But this is not just a complex mathematical statement. It’s not just about the equation — it’s about the structure.

There are no integer coordinates on a curve Let’s try interpreting the equation structurally. When n > 2, the equation xⁿ + yⁿ = zⁿ is no longer a straight line — it becomes a curve. Points on this curve take the form: (x, y) = (irrational number, irrational number) In other words, the coordinates on the curve are composed of irrational functions. This means that a point made of perfect integers cannot exist on the curve at all. The structure of the curve simply does not allow for precise integer mappings.

Straight lines can contain integer solutions In contrast, when n = 1 or n = 2, the equation describes a straight line. In these cases, some integer coordinates can actually exist. For example: x² + y² = z² This is the Pythagorean theorem. A triangle like 3² + 4² = 5² exists with perfect integers. But once n > 2, the equation becomes a curve again, and integer coordinates can no longer be plotted. The structure simply excludes integer solutions.

Structure excludes the answer So we no longer need to treat this as a “problem of finding integer solutions.” The structure itself simply disallows them. Fermat’s so-called “remarkable proof” might have just been a moment of structural intuition. “There are no points on the curve.” That single sentence might have been enough.

Final Words Mathematically, Andrew Wiles took hundreds of pages to prove it. But in truth, this can be written down structurally in under three pages. ...But I’m busy, so I’ll go back to work now.
by godelski | 2025-06-04 07:22:32+00:00
That doesn't quite sound like TDD. I guess it could be. Are tests driving your code or are tests part of your code checking process?

In science we definitely don't let tests drive. You form a hypothesis, then you test that. But this is a massive oversimplification because there's a ton that goes into "form a hypothesis" and a ton that goes into "test that". Theory is the typical driver. The other usual one being "what the fuck was that", which often then drives theory but can simultaneously drive experimentation. But in those situations you're in an exploratory phase and there are no clear tests without the hypotheses. Even then, tests are not conclusive. They rule things out, not rule things in.
by impossiblefork | 2025-06-04 07:22:32+00:00
Yes, but even now I don't think people have understood.

I suspect these turrets are fine with a couple of drones, but what if it's 5000? What if they're autonomous so that they can fly at 1/2 a metre?

With autonomy and something to allow long-distance flight it actually challenges the whole capable-airplane paradigm. People aren't thinking like this at all.

They aren't thinking real saturation, i.e. let's say, an attack with 10000 modernized V-1s, either. I believe that 10,000 modernized V-1s could cost as little as 50 million USD. So less than a single F-35, which has no chance of even reaching more than a couple during such a saturation attack.
by michaelt | 2025-06-04 07:22:35+00:00
Several makers of high performance internal combustion cars found they get noticeably better reviews and sales when they play amplified engine sounds through the entertainment system. They call it "active sound design" IIRC.

I can kinda see how, if you were already playing fake engine sounds on your IC cars, and people who reviewed your EV muscle car were saying "I miss the iconic engine sound" you might feel adding engine sounds to an EV was worth a try.
by pjmlp | 2025-06-04 07:22:58+00:00
For a while means since around 2000, althought toolchains like Excelsior JET and Websphere Real Time, among others, were only available to companies that cared enough to pay for AOT compilers, and JIT caches.

Nowadays to add to your comment, all major free beer implementations, OpenJDK, OpenJ9, GraalVM, and the ART cousin do AOT and JIT caches.

Even without Valhala, there are quite a few tricks possible with Panama, one can manually create C like struct memory layouts.

Yes it is a lot of boilerplate, however one can get around the boilerplate with AI (maybe), or just write the C declarations and point jextract to it.
by ta12653421 | 2025-06-04 07:23:29+00:00
Thanks for your question:

Regarding LLM: I do use them to write code in less time, i do not use them to do anything rlated to trade analysis / execution / etc.

Regarding Crypto: No, in my location i cant use crypto as Underlying, since the crypto market is open 24/7, but the instruments im using are available only between 0800-2200 on workdays

Risk Management is key: If you have a solid hitquote, its mathemathically impossible to ruin the account; most people get to greedy and have no patience, but if you stick strictly to your risk plan, there is not that much that could go wrong.
by chipx86 | 2025-06-04 07:23:30+00:00
We build a code review product that interfaces with over a dozen SCMs. In about 20 years of writing diff parsers, we've encountered all kinds of problems and limitations in SCM-generated diff files (which we have to process) that we wouldn't ever have expected to even consider thinking about before. This all comes from the pain points and lessons learned in that work, and has been a huge help in solving these for us.

These aren't problems end users should hopefully ever need to worry about, but they're problems that tools need to worry about and work around. Especially for SCMs that don't have a diff format of their own, have one that is missing data (in some, not all changes can be represented, e.g. deleted files), or don't include enough information for another tool to identify the file in a repository.
by r3trohack3r | 2025-06-04 07:23:36+00:00
Dude. I just asked my computer to write [ad lib basic utility script] and it spit out a syntactically correct C program that does it with instructions for compiling it.

And then I asked it for [ad lib cocktail request] and got back thorough instructions.

We did that with sand. That we got from the ground. And taught it to talk. And write C programs.

Never mind what? That I had to ask twice? Or five times?

What maximum number of requests do you feel like the talking sand needs to adequately answer your question in before you are impressed by the talking sand?
by close04 | 2025-06-04 07:24:21+00:00
> Over-positivity is a problem you sometimes run across in tech.

It's a problem everywhere humans work. I've met team-leads and managers who suffered from toxic positivity everywhere. Either just in the way they conveyed messages, or the way they perceived everything, "house on fire, all is fine".

The only reason a manager is not a friend is because a manager has power over you, the subordinate. Power to fix or break things. This imbalance defines the entire relationship.

A quote from Saving Private Ryan always stuck with me:

Pvt. Reiben: [At Jackson] Oh, that's brilliant, bumpkin. [At Miller] Say Captain, you don't gripe at all? Capt. Miller: I don't gripe to you, Reiben. I'm a Captain. We have a chain of command. Gripes go up, not down. Always up. You gripe to me, I gripe to my superior officer, and so on and so on and so on. I don't gripe to you. I don't gripe in front of you. You should know that, as a Ranger.
by JdeBP | 2025-06-04 07:24:26+00:00
That would be one way to do it, certainly. It's boring, though. (-:

There is another. In NetBSD one can, at least according to the manual, open the wsdisplay of the relevant terminal and read out the display contents, with the WSDISPLAYIO_GETWSCHAR I/O control. sysinst is just a full-screen TUI program.

* https://man.netbsd.org/wsdisplay.4

(The manual says that character values are "ASCII", but the data structure uses a 16-bit unsigned integer for them. So I wonder whether this is UCS-2 or NetBSD has been saddled with some 512-entry character set mess from back in the 1990s.)

Presumably there is a third one if the virtual terminal's wsdisplay is in graphics mode and one can access its frame buffer.

There was also a fourth for the serial console screenshots, although they were clearly done the boring way by screenshotting a GUI window, as its scrollbars are visible in the images. Presumably the terminal emulator at the other end of the connection had some sort of direct screen shotting functionality. That was definitely something that serial device DTE emulator programs in the days of yore used to have.

That's an interesting thought, actually. I wonder whether one could do that at all with many Unix/Linux tools, like GNU screen in its serial terminal mode. One could with (some of) the terminal emulators that used to be available for MS/PC/DR-DOS. There would be some "dump screen to file" menu option, or in extremis a TSR program that could do that. (-:
by spullara | 2025-06-04 07:24:40+00:00
the whole reason "muscle" ice cars even exist at his point is by moving the goal posts from performance to vibes. you can see all the cope in the replies. tesla is just faster and better than these cars and they don't want it to be true.

100% pure copium: "The main reason the ICE V8 is preferred is nothing to do with the performance. It’s like a Harley Davidson. The fun is in the noise, the drama and the authenticity." "You can’t fake that big American V8 snarl." "A "muscle car" is not just about performance numbers. It's about combustion, noise, smell, glorious inefficiency, and nostalgia--none of which even the highest performing EV can deliver." "People who want muscle cars want to show off power."
by Propelloni | 2025-06-04 07:24:59+00:00
From TFA

> Meta and its Big Tech peers have fallen head over heels for nuclear power lately. Meta announced earlier this year that it was soliciting proposals for new nuclear power plants that would generate between 1 and 4 gigawatts of power. Today, the company said it has received over 50 qualified submissions for sites in more than 20 states.

I would like to see one of those submissions. Is Meta getting into the utilities business? Have they figured out how to store the waste yet? How to insure the power plant? How to make a dime of nuclear power without relying on massive public subsidies?
by chii | 2025-06-04 07:26:36+00:00
The wind and solar energy would've merely heated up the earth, then get radiated back out. Us capturing some of it, using it, and then re-radiate it back out (at a later date) won't have made any difference.

Unless/until the day we paved the entire earth with solar panels and capture the entire atmosphere of their wind, this will continue to be the case. Hopefully, we reach a dyson swarm before that occurs...
by bruceallmighty | 2025-06-04 07:26:57+00:00
Try running some of the IPs through a proxy detection API like https://ipinfo.io/products/proxy-vpn-detection-api or https://proxycheck.io/

You can't trust those services 100% but you can use them to turn up the level of turnstile/captcha/verification on those clients.

I'm somewhat concerned that you don't know what you'd be looking for (or to verify Tor) if you're running an ecommerce platform, fraud is an almost certain outcome for any store and merchant providers (Paypal, Stripe, Adyen, etc) want zero to do with helping you solve that (even if you're only embedding their Javascript!)
by quantadev | 2025-06-04 07:27:02+00:00
I just mean there's probably plenty of companies where there's a lot of unhappiness and with a boss who doesn't even care as long as they produce. Infamously this is how Steve Jobs supposedly managed. He was a very hard person to work for lots of the time but he produced results.

Ultimately everyone in management _should_ have their _loyalty_ to their boss, rather than to their subordinates, and different management styles can work. Of course it depends on the employees too. I've never tolerated even one slight bit of disrespect from a boss personally, even as a junior dev. If someone ever treated me badly I resigned immediately without even having the next job lined up, on pure principle. I would've lasted probably about one day working for Jobs, before quitting I bet! lol.
by pjmlp | 2025-06-04 07:27:08+00:00
Currently only via Panama, creating the memory layout manually in native memory segments.

Valhala is supposed to bring language level support, the biggest issue is how to introduce value types, without breaking the ABI from everything that is in Maven Central kind of.

Similar to the whole async/await engineering effort in .NET Framework, on how to introduce it, without adding new MSIL bytecodes, or requiring new CLR capabilities.
by mike_hearn | 2025-06-04 07:27:09+00:00
I think it's worth being highly skeptical about fraud rates that are stated to two decimal places of precision. Fraud is by design hard to accurately detect. It would be more accurate to say, Medicare decides 7.66% of its cases are fraudulent according to its own policies and procedures, which are likely conservative, and cannot take into account undetected fraud. The true rate is likely higher, perhaps much higher.

There's also the problem of false negatives vs positives. If your goal is to cover 100% of true cases you can achieve that easily by just never denying a claim. That would of course yield stratospheric false positive rates (fraud). You have to understand both the FN rate (cost of missed fraud) vs the FP rate (cost of fraud fighting) and then balance them.

The same applies with using models in science to make predictions.
by BoorishBears | 2025-06-04 07:27:18+00:00
Manufacturers are notorious understating maintenance items for automatic transmissions, like "lifetime" fluids and skipping filter changes.

A typical manual maintenance schedule will keep the gearbox running for a very long time. The typical automatic maintenance schedule will keep it alive for its "lifetime", but that lifetime ends up being a few hundred thousands miles and instead of more maintenance at the end of that interval, you end up with a dead transmission.
by senectus1 | 2025-06-04 07:27:21+00:00
holy crap thats a beautiful car... what sort of range does it have?

If they sold that here in Australia and it was a reasonable price/range there is a very good chance I'd buy one.

Edit: oh.. 350km ish.. and for $73k US?!?! That like a $130k Aud.. I bought a MG4 EV capable of the same range for $31k 6 months ago.. sorry but even those looks are not enough to make me want to buy one for almost 4x the price!
by ho_schi | 2025-06-04 07:27:44+00:00
This is correct. Riding with an actual bicycle in NYC's traffic between cars and buses is rather safe. The delivery E-Bikes on cycle lane and cycle paths are a danger. It is not the speed. I also ride fast on a roadbike. It is the behavior. They pass you without any space on a small cycle lane between walkway and parked cars. Don't expect "On you left" or "On you right".

Which caused this:

https://thevillagesun.com/wp-content/uploads/2023/06/e-bikes...

PS: I think bicycles and E-Bike shall be not considered as the same type of vehicle. In Austria they distinguish even between roadbikes (can always select safest surface depending on their speed: road, cycle lane, cycle path) and bicycles (should use distinct cycle paths when possible).
by cobertos | 2025-06-04 07:28:07+00:00
> It’s been incredibly demoralizing to discover what the tech industry actually did was to invent surveillance capitalism, create exploitative “gig economy” business models,create a new generation of robber barons, enable the rise of global fascism, facilitate genoicde,

Is the world actually good?

I struggle with this idea that if you actually create some sort of game changing tech, the business incentives will eventually use it to cause net negative harm for society. At best this takes the form of just resource extraction of customers. At worst it will be twisted by societies current power centers to further each of their collective tragectories (not net positive)?

Why create things for a society that will abuse them.