MurphyA/hacker-news huggingface dataset:
by hinkley | 2025-06-02 08:28:36+00:00
CERT advisories are evidence that skill is necessary but insufficient. There’s a lot of code. We get ping ponged between various sections of the code every few weeks. Other people are contributing. There’s a ton of ways code can look like it’s probably correct and not be. There are non obvious bugs everywhere, and there’s an element of luck to whether you’re in the right headspace to catch them all.
by armchairhacker | 2025-06-02 08:28:47+00:00
> Overseas laboratories meanwhile have worked out how to make synthetic ibogaine and to extract it from other plants, such as Voacanga africana.

> That flowering tree is available in greater quantities in Ghana and Mexico, which "can produce ibogaine at unbeatable prices," said Guignon.

> And "Gabonese traditional knowledge is not protected by intellectual property regulations."

I don’t see why they’d be invaded, I think more likely they’ll be out-competed.
by aredox | 2025-06-02 08:28:50+00:00
What is interesting also in Enzo Mari's concept is that there is no instructions, you have to figure out the best order of operations and how to offset some planks with others.

For those of you who start from really zero and have no idea how to start, here is a step-by-step for a couple of pieces: https://lieu-subjectif.com/documents/caue-22-rietveld-mari.p...

If really you want a "cheat sheet", there's whole book to help: https://filmandfurniture.com/product/hammer-nail-making-and-...

But try not to use it too much, because it really defeats the purpose of Mari, which it is to get people to "think with their hands".

Digging through the legacy and follow-ups of Autoprogettazione is also interesting:

https://lieu-subjectif.com/documents/autoprogettazione-revis...

https://greg.org/archive/mari-x-ikea.pdf

The "Harz IV" (Germany's working poors) furniture project: https://www.guggenheim.org/articles/lablog/hartz-iv-mobel-it...

Simple Japanese Furniture by Monomono / KAK Design Group: https://woodworkersinstitute.com/simple-japanese-furniture-c...

https://www.core77.com/posts/42562/Nomadic-Furniture-DIY-Des...

And and and last but not least, the great Christopher Schwarz and team at Last Art Press just got out a whole video serie and book on how to make a highly respectable chair design from very basic materials and tools:

https://www.youtube.com/watch?v=1pWLHAJr5zI

Note also that Lost Art Press makes their books free after some time after first publication, and have a very interesting blog:

https://blog.lostartpress.com/2024/12/27/download-ingenious-...

https://blog.lostartpress.com/
by dwoldrich | 2025-06-02 08:28:57+00:00
AI enables me to gold plate _everything_ I do, which feels exhilarating, if a bit exhausting. Having decent taste and being able to continuously test and verify my work allows me to smooth over the occasional hallucinations and elicit towering, mind-bending solutions.

AI's no replacement for experience; garbage in-garbage out.

When AI gets too good, I figure people will cloister to stop feeding the beast. It can only lead to ignorance and misery, I fear.
by ryan_glass | 2025-06-02 08:29:29+00:00
It might be 5 to 10 times slower than a hosted provider but that doesn't really matter when the output is still faster than a person can read. Context wise, for troubleshooting I have never needed over 16k and for the rare occasion when I need to summarise a very large document I can change up the model to something smaller and get a huge context. I have never needed more than 32k though.
by im3w1l | 2025-06-02 08:31:22+00:00
So something I was thinking of: A number in decimal notation can be seen as a function from the integers to {0,1,2,3,4,5,6,7,8,9} (where negative numbers map to digits left of the decimal point and non-negative to digits right of the decimal point) such that only finitely many negative numbers map to non-zero.

Could you generalize this to include the hyperreals by lifting the restrictions on finitely many, and also adding in some transfinite ordinals to the domain of the function?
Understanding physical attacks on Android phones
by alokq | 2025-06-02 08:31:50+00:00
My 'friend' had borrowed my phone for a day and returned it the next.(I gave access)

I then used my phone as usual, After a few months, i started to realise that my friend was getting to know things i had only shared on my phone i thought it was coincidence at first but they were right every time, so i figured it was something to do with them borrowing my phone.

I then started to check out my phone, it came out completely normal They also told me that it cant be removed.

I also had a few problems with other 'friends' trying to spy on me using a bad app and flashing a bad os but I ended up figuring it out and getting rid of it by removing the app, factory reset and a flash of a clean os(somehow with the bootloader locked).

They also mentioned that it couldnt be done on iphones for some reason and had asked me for the model of the phone before. My initial thought was they may have access to my google account so i created a new google account on the phone after flashing it with a clean os but i was eventually locked out of my own account because my password was changed, even though i had used a different password and wrote it down.

I own a motorola which has android 13 which still recieves security updates, i dont use any banking apps on it. It looks perfectly normal and not replaced.

I am looking for advice for as what to do now to get the phone back to normal and understand what could have happened to it. (Solution for this other than getting a new phone)
by usrbinbash | 2025-06-02 08:31:52+00:00
Or here is a different approach:

We acknowledge that streaming data is not a problem that JSON was intended, or designed, to solve, and ... not do that.

If an application has a usecase that necessitates sending truly gigantic JSON objects across the wire, to the point where such a scheme seems like a good idea, the much better question to ask is "why is my application sending ginormeous JSON objects again?"

And the answer is usually this:

Fat clients using bloated libraries and ignoring REST, trying to shoehorn JSON into a "one size fits all" solution, sending first data, then data + metadata, then data + metadata + metadata describing the interface, because finally we came full circle and re-invented a really really bad version of REST that requires several MB of minified JS for the browser to use.

Again, the solution is not to change JSON, the solution is to not do the thing that causes the problem. Most pages don't need a giant SPA framework.
by lifthrasiir | 2025-06-02 08:32:01+00:00
This code consistently converts angles to the [0, 360) range, which is IMO overkill. A better approach is to normalize everything to [0, 2) range so that you can simply multiply or divide by pi to get the radians. If your math library has `sinpi` or `cospi` it will be even more accurate, as it no longer has to divide by 2pi to do the actual calculation.
by flir | 2025-06-02 08:32:25+00:00
I agree with the metric, and a piece about the evolution of Wes Anderson's aesthetic would be interesting, but by that metric this is quite a weak article. It's 90% film synopsis.

Back on-topic, the trailer (https://www.youtube.com/watch?v=h4dIw_pYB0c) made me realise how much Wes Anderson's films owe to Herge's Tintin comics.
by HourglassFR | 2025-06-02 08:32:28+00:00
I don't get what the author is trying to do here. I mean he complains that talking about the limit of a sequence is too asbstract and unfamiliar to most people so the explaination is not satisfaying. But then names drop the notion of an Archimedean group and introduces with a big ol' handwave the hyperreals to solve this very straightforward highschool math problem…

Now don't get me wrong, it is nice and good to have blogs presenting these math ideas in a easy if not rigorous way by attaching them to known concept. Maybe that was the real intend here, the 0.99… = 1 "controversy" is just bait, and I am too out of the loop to get the new meta.
by keybored | 2025-06-02 08:32:37+00:00
> because you want to showcase how few people actually read articles posted on HN and just respond to titles.

Making a misleading title in order to bait responses would be clickbait. People responding to a title that assertively states something is not some amazing gotcha.

Although in this case it must be what the sibling comment said about HN stripping the smiley.
by hagbard_c | 2025-06-02 08:32:53+00:00
...which can barely get off the ground due to the power consumption of that 'NVidia chip' and gives off the heat signature of a jet-powered drone once it manages to get airborne.

Nah, you don't need an 'NVidia chip' for this purpose, a reasonably modern mobile phone will do and has all the sensors you want. Just add a battery, 4 motors with propellers and something (other than the battery) which goes boom and voilà, an autonomous drone. Some [1] mobile [2] phones [3] even have their own thing-that-goes-boom [4] built in from the factory to make this project even easier to accomplish.

[1] https://www.youtube.com/watch?v=XcoU2mXJJ3k

[2] https://discussions.apple.com/thread/252212685

[3] https://www.thesun.co.uk/tech/6281000/iphone-explosion-video...

[4] https://discussions.apple.com/thread/250125537
by pjmlp | 2025-06-02 08:33:02+00:00
That is an excuse, there are modern C++ ways to interact with COM, as shown in C++/WinRT DirectX samples, or using WIL.

In what way does interact with C APIs become an argument to use alloca() with raw pointers?

Just recently I also submitted an issue on Azure C++ SDK regarding use of C style strings and arrays, what is the excuse there?
by skissane | 2025-06-02 08:33:43+00:00
From your link:

[InterceptsLocation("/Users/khalidabuhakmeh/RiderProjects/ConsoleApp12/ConsoleApp12/Program.cs", line: 3, character: 3)]

they added a language feature which is sensitive to precise line/character offsets in your source code, so the tiniest change to the source code invalidates your code…

I’m speechless. Whatever they are aiming to achieve here, surely there is a more elegant, less ugly way
by mrweasel | 2025-06-02 08:33:55+00:00
That's pretty much my take. LLMs aren't a bad idea, they are useful, in certain fields, but they aren't living up to the sales pitch and they are to expensive to run.

My personal take is that the whole chat based interface is a mistake. I have no better solution, but for anything beyond a halluciating search engine, it's not really the way we need to interact with AI.

In my mind we're 6 months away from one of the biggest crashes in tech history.
by jcattle | 2025-06-02 08:34:53+00:00
> being pulled into training data for LLMs is by far the biggest contribution that content is ever going to make to society.

There's so much content out there. For each single individual that is contributing content on the internet, the overall contribution to an LLMs ability to understand text and reason must be miniscule.

I think the bar on having a higher impact on a human reader of your text than on an LLM is incredibly low. Your comment and mine are perfect examples. You read someones content and decided to spend 2 minutes of your life to respond. Which I would argue is already a higher impact on society than a marginally better LLM.

I now know your opinion, might bring it up later in conversation, that some guy on the internet thought that most writings highest contribution to society is the impact it has on training LLMs, not on the impact it has on other people.
by thaumasiotes | 2025-06-02 08:35:12+00:00
> your proof attempt only works if you assume that 0.999 equals 1. As that is a circular reasoning, it is not a valid proof.

No, his proof is fine. Take the standard definition of > as applied to decimal numbers when they're represented as strings. It's very easy to show that no x simultaneously satisfies x > 0.9999... and 1.0000... > x.
by overfl0w | 2025-06-02 08:35:45+00:00
This reminds me of Asimov's Jokester story where the same themes are explored - there is an all-knowing computer but someone needs to ask the correct questions.

"Early in the history of Multivac, it had become apparent that the bottleneck was the questioning procedure. Multivac could answer the problem of humanity, all the problems, if it were asked meaningful questions. But as knowledge accumulated at an ever-faster rate, it became ever more difficult to locate those meaningful questions. Reason alone wouldn't do. What was needed was a rare type of intuition; the same faculty of mind (only much more intensified) that made a grand master at chess. A mind was needed of the sort that could see through the quadrillions of chess patterns to find the one best move, and do it in a matter of minutes."
by fc417fc802 | 2025-06-02 08:35:48+00:00
> You’re not detonating fuel tanks at Tinker with drones.

Why are you so certain of this? IIUC (I am far from an expert) the insurgents in Iraq regularly utilized improvised shaped charge devices to attack armored vehicles. I don't understand those to have been particularly large or heavy. Consider that fiber FPV drones are carrying upwards of 2 kg of fiber (IIUC) in addition to the payload. Fuel tanks are stationary so you can dispense with the fiber.
by atoav | 2025-06-02 08:35:49+00:00
The problem is however that sometimes we cannot completely freely choose howour posts are read if they are taking part in a particular context. That means even if your post was created with the intention of not comparing, it is taking part in said comparison and will be read as such.

Please also keep in mind that the healthcare quality might differ a lot per country and region, so you having anecdotal evidence from the inside might feel like you are closer to reality, when in fact it is in comparison the other way around.

Most of the objective metrics I have seen paint a vastely different picture, e.g. here you can see that the quality of the US health care system does apparently translates into a worse outcome for the population: https://www.healthsystemtracker.org/chart-collection/quality...

If a healthcare system sucks at preventing people from dying I am pretty sure it doesn't do a good/affordable job at less light-threatening medical situations. Now I am pretty sure you can get top notch health care in the US if you can afford it, but then again you could probably fly to spain, get an operation there, go on a vacation, fly back and still come out cheaper. There is an abundance of medical travel websites targeted at the US.

And we are not even talking about the utterly dystopian trend of US citizens urging you to not call the ambulance when they broke a bone because they cannot fathom paying for that.

You can't have the good without the bad and this is also true in Europe, but you could also have the bad with the bad while others make money from denying people actually life saving medicine.
by Flemlo | 2025-06-02 08:36:17+00:00
Don't compare Bitcoin and the Meta verse with ai.

Millions of people use LLMs daily.

Veo 3 just came out.

People get fired due to LLMs and GenAI replacing them.

Google uses ai code for years in the background.

Playing around with cursor for a few days is way to naive to be able to determine the current situation with coding and ai
by 0xEF | 2025-06-02 08:36:49+00:00
Agreed, and I've always hated that phrase since it seems like it has two different meanings, depending on who is uttering it;

1. People who use "do what you love" to mean "love what you do," as though you can force yourself to enjoy anything. This is only true for people who lie to themselves and compromise regularly against their own interests.

2. The Lucky Ones™ who happened to accidentally align an enjoyable hobby with a career and think because they "did it," anyone can, without acknowledging that they were simply in the right place at the right time with the right skills, or that the stars don't exactly align the same way for the rest of us.
by pabloFdz | 2025-06-02 08:36:58+00:00
It is called PHP Dune. It is a sandbox for PHP that you can download and install in your computer. Without the need to install PHP, a server or an internet connection.

It is built on top of NativePHP. Which wraps the software with Electron, so it is available for Windows, Mac and Linux.

As for the code editor, it uses CodeMirror, so it has syntax highlighting as well.

I hope you like it.

This is the link to the site: https://phpdune.salmonjump.com/ And here it is the link to the repo: https://github.com/pabloFdz/PHPDune
by koito17 | 2025-06-02 08:37:42+00:00
The server code example has something amusing to it.

const fs = require('fs'); const content = fs.readFileSync('./data.txt', 'utf8');

This code will in fact NOT run on Deno, unless one explicitly configures Deno to load JavaScript code as CommonJS. With Bun, however, this code runs without any configuration necessary.

I suppose the author is intentionally not mentioning these details, since it's greatly summarized at the end of the article. JavaScript code indeed requires a great amount of context on the ambient development environment.

There is a related article I recall reading last year, asserting that "JavaScript does not exist". Cannot find the article, unfortunately, so I will paraphase. The article explained how a modern development stack involves a composition of several code transformation tools. We are effectively writing in a fictitious language and pass it through a series of transformations until we finally get syntactically valid JavaScript. Off the top of my head: most people in frontend are likely using React and TypeScript. TSX files at least go through the TypeScript compiler and a plugin to transform JSX to JS. The outputted JS may have funny things like "CSS imports" or bundler-specific "magic comments" like the article's Preact example. That has to be specially handled by a bundler (like Vite) so that the JS file becomes syntactically valid JavaScript.
by olau | 2025-06-02 08:37:47+00:00
I was taught something of the same.

But I think it was misguided. I'll note that 1/3 is not a number, it's a calculation. So more complicated.

And fractions are generally much more complicated than the decimal system. Beyond some simple fractions that you're bound to experience in your everyday life, I don't think it makes sense to drill fractions. In the end, when you actually need to know the answer to a computation as a number, you're more likely to make a mistake because you spend your time juggling fractions instead of handling numerical instability.

Decimal notation used to be impractical because calculating with multiple digits was slow and error-prone. But that's no longer the case.
by mrtksn | 2025-06-02 08:37:51+00:00
I'm aware of the state but it's not bad enough. It will be bad enough only when access to US services is just as restricted as in Russia and China.

Currently there aren't any restrictions, the political class is worried and people don't feel good about the maker of the products but that's it.

Why would anybody invest in European mass appeal e-mail provider when things can just improve if Trump changes his pills? As a result in Europe you can't have a Gmail but instead you get Proton Mail. This is cool but its a niche product.

The same goes for everything, EU does have some great niche tech and some content studios but the platforms are always US based. I.e. one of the hottest games at this moment(clair obscur expedition 33) in the world is French made but it is primarily published on US platforms.

On Twitter you can find Euro tech boi's who will be repeating the same libertarian ideas as the US tech bros but the EU people make about as much as a successful restaurant and the US tech bros make often as much as a global restaurant chain or more.

Europe, or any place will be stuck with niche small businesses as long as US has access to their markets. Trump for some reason tries hard to change that but he hasn't succeeded yet but on the other hand he just started... So maybe in a few years it can happen after some huge scandal that justifies drastic changes. For example, it can be something like coordinated attack on Europeans by US tech giants and Russia etc. Musk with his actions in Ukraine propelled British and French satellite providers for example.
by ofalkaed | 2025-06-02 08:38:01+00:00
>His films are the same thing repeated in different circumstances with different characters.

I am not sure what you mean, Asteroid City with its complex structure utilizing metafiction to explore things mostly removed from the characters and the story does not have much in common with The Royal Tenenbaums other than aesthetic with its fairly simple and direct use of character to explore the individual and family. Do you want him to make a superhero or action movie or something?
by bubblyworld | 2025-06-02 08:38:14+00:00
I suspect yes - no need to introduce transfinite ordinals, you simply map from the set Z*, which is the integers but including the nonstandard ones. In fact you don't even need to remove the finiteness hypothesis, the transfer principle should guarantee that every hyperreal has such a representation since you can prove that every real does for the standard version.

(if the finiteness thing seems confusing, remember that there are infinitely large nonstandard integers in the hyperreals, and you can't tell them apart from the others "from the inside")
by gmueckl | 2025-06-02 08:38:27+00:00
Even the Expanse has fantastical elements like the protomolecule and the Epstein drive. The difference is that it is closer to classic science fiction authors like Asimov, Clarke or Niven in that this body of work tries hard to keep some grounding in extrapolated scientific models.

Star Wars doesn't even claim to attempt this. It is a world of entirely made up rules and places for the sake of the story. There is nothing wrong with that. But it completely misses this key feature of sci fi.

There isn't a very clear delineation between the two genres. Star Trek also crosses this line into pure fantasy pretty consistently (an anomaly that compells everybody to sing and eventually produces a Klingon boy band performance? Or one that gives everybody amnesia and turns them into actors in Shakespeare drama - costumes and all?).
by chongli | 2025-06-02 08:39:49+00:00
Then you calculate the decimal expansion to the desired number of decimal places. This avoids accumulation of roundoff errors in intermediate results.

Note that writing sqrt(2) as 1.41 or 1.41421 or any other decimal expansion you might want to write is incorrect: you will always get some roundoff error. If you want to calculate that sqrt(2)*sqrt(2)=2 then you can’t do so by multiplying the decimal expansions.
by raattgift | 2025-06-02 08:40:22+00:00
> everywhere in the universe

No, that's not correct. It only has to happen at one place in the spacetime, namely at the horizon itself. General Relativity is a theory of point-coincidences, after all.

Additionally there are ordinary observers (cosmic microwave background radiation, in particular) on hyperbolic trajectories grazing the infall point; there are observers ultraboosted towards the black hole; and there are observers orbiting other black holes whose proper time is less tilted with respect to a free-falling infaller than your proper time is.

The key point is that one obtains the free-faller's geodesic by solving the EFEs in the block spacetime, and one notes that some of that geodesic is outside the black hole, some of it is inside the black hole, and that portion inside the black hole at no point in the future exits the black hole (barring complete evaporation that allows the infaller's worldline to be extended outside the black hole, in which case there isn't an event horizon but there's still an apparent horizon and probably other trapping surface structure).