MurphyA/hacker-news huggingface dataset:
by crabmusket | 2025-06-18 21:31:12+00:00
Something I've tried hard to explain to juniors getting used to web development is that the server is a program, that prepares another program and sends it to the browser to run.

Especially when adding JS to HTML pages, some juniors can be confused about what code is running where and what to expect is possible. Combine this with traditional server rendering approaches like PHP, where you could actually just stick a SQL statement inside some JS source text as it is being generated, and you get a recipe for confusion.

Emphasizing that HTML (including CSS and JS) is a piece of text that is shipped across to the browser and then run as a program is the way I worked out to try to explain what's happening.
by flopsy2 | 2025-06-18 21:31:18+00:00
I got tired of copy-pasting code snippets into ChatGPT and losing context between different repositories. So I built OpenDeepWiki – an AI chat system that can ingest multiple GitHub repos (or ZIP uploads) simultaneously and reason across all of them.

What makes it different:

Multi-repo awareness: Drop in 5 different repositories and ask "How do my microservices communicate?" – it understands the full picture, not just isolated files Zero database setup: Leverages Google's Prompt Caching API (\$0.01 per 1M tokens) instead of building yet another vector database Universal model support: Type any model name (`gpt-4.1`, `claude-4-sonnet`, `o3`, `gemini-2.5-pro`) and it automatically routes to the right provider One-command setup: `make setup` and you're running locally

Real use cases I've tested:

"Compare the authentication systems between my frontend and backend repos" "Generate integration tests for connecting service A to service B" "Find how instructor integrates langfuse"

The architecture is surprisingly simple – FastAPI microservices, React frontend, Docker containers. But the magic is in the multi-repo context aggregation pipeline that keeps costs low while maintaining comprehensive understanding.

Live demo: Clone it, point it at your repos, and ask it to explain your own architecture back to you. It's... unsettling how well it works.

GitHub: https://github.com/Flopsky/OpenDeepWiki

Built this because I needed it for my own multi-service projects. Feedback welcome – especially if you try it on large/complex codebases.
Show HN: universal application where LLM does all computation directly
by snickell | 2025-06-18 21:31:57+00:00
Universal is a demo of a universal application ("OS") where all computation is done by the LLM. This is very similar to the idea sketched by Karpathy in his recent YC AI SUS talk.

This is based on a loop where user commands, or mouse clicks, are fed to the LLM, and the LLM is instructed to simply render the next frame, as if it was rendering the frame of a video. In this particular case, we actually render static HTML+CSS as the "image" because image output from existing LLMs doesn't have high enough text fidelity.

Computation is done by the LLM itself, the LLM does not "write code" it IS the code.
by iLoveOncall | 2025-06-18 21:32:34+00:00
> If these tools are really as revolutionary as they claim they are, then they should be able to build better versions of themselves, and we should be seeing exponential improvements of their capabilities. Yet in the last year or so we've seen marginal improvements based mainly on increasing the scale and quality of the data they're trained on, and the scale of deployments, with some clever engineering work thrown in.

Yes and we've actually been able to witness in public the dubious contributions that Copilot has made on public Microsoft repositories.
by TeMPOraL | 2025-06-18 21:34:13+00:00
> I don’t believe the technology horizon in the next 5 years is sufficiently developed for recursive self improvement to work so well it requires no human intervention

I'm personally 50/50 on this prediction at this point. It doesn't feel like we have enough ingredients for end-to-end recursive self-improvement in the next 5 years, but the overall pace is such that I'm hesitant to say it's not likely either.

Still, my reply was to the person who seemed to say they won't be impressed until they see AIs "able to build better versions of themselves" and "exponential improvements of their capabilities" - to this I'm saying, if/when it happens, it'll be the last thing that they'll ever be impressed with.

> remember when everyone was making demos and apps that would identify objects and such, and all the facial augmentation stuff? My general understanding is that the tech is now in the incremental improvement stage.

I thought that this got a) boring, and b) all those advancements got completely blown away by multimodal LLMs and other related models.

My perspective is that we had a breakthrough across the board in this a couple years ago, after the stuff you mentioned happened, and that isn't showing signs of slowing down.
by nostrademons | 2025-06-18 21:35:59+00:00
Another way I like to think about it is that every graph traversal can be represented as a white set of unknown nodes, a grey set of known but unvisited nodes, and a black set of visited nodes. The data structure used to represent the grey set defines the algorithm:

DFS = queue

BFS = stack

Dijstra's = priority queue keyed by edge weight

A* = priority queue with heuristic function

Beam search = bounded priority queue with heuristic function

Topological sort = priority queue keyed by number of unvisited inbound edges

Copying garbage collector = pointer address

Mark & sweep garbage collector = dirty bit on the object pointed to

Generational garbage collector = multi-level grey set represented by the write barriers between each generation.
by nuldev | 2025-06-18 21:37:24+00:00
I don't know man... in general, these arguments seem more like pulling out the rug from a discussion by obfuscating arguments through abstract yet vague claims with some intellectual snobbery to make them feel correct, a trump card argument.

You win either by slinging undue complexity and forcing others to tap-out of the discussion in an awkward pause, or if a counter argument is made, you claim they do not understand your original argument.

I feel like the author is really trying hard to justify why they are not having kids. Fine! that is their preference, there is no need to justify it.
by SAI_Peregrinus | 2025-06-18 21:37:54+00:00
Traditional dimmers used TRIACs. Those don't dim LEDs well, they make very visible flicker. TRIACs turn the AC off for part of the waveform, essentially a very slow version of PWM. With an incandescent filament that flicker isn't as noticeable since it takes some time to cool down & stop glowing, which visibly smooths the flicker. It just stabilizies around a lower temperature. With LEDs, the turn-off is nearly instant. You visibly see the flicker at the AC mains frequency.

There are two ways to dim an LED: supply less current at the same voltage, or PWM dim it with a fast enough switching speed that you don't notice the flicker (this being slower than it needs to be is what the article is about). A current source is pretty easy to build, and doesn't flicker, but it does dissipate all the excess energy as heat. That's not what you want inside the dimmer switch in your wall, it can be quite a lot of heat and would be a fire hazard in such a confined area. It does work for things like photography lamps which can have exterior heat sinking.
by em-bee | 2025-06-18 21:38:18+00:00
His recent drama and stirring has brought eyes from more senior members of the team

that's what's bothering me. because someone misbehaves suddenly everything this person does receives more scrutiny. it should have received that scrutiny from the beginning. as should every other PR. the behavior or the character of a person should not affect how critical i review their code. that's discrimination. if this was a woman this reaction would be considered sexist.

if the reason was that people actually reported issues and those issues would point to one persons submissions so that a track record of bad submissions builds up then it would be reasonable to wonder what else did this person do wrong. but drama and stirring is not a good reason to suddenly question someones ability as a coder.
by fuzztester | 2025-06-18 21:38:47+00:00
and by the way, ignorant mindlessly downvoting dudes who don't even bother to check if a comment is right or not, can shove it up, and take a flying leap into Lake Titicaca. they'll meet a lot of their brothers there, like giant frogs.

from a Google search:

>Overview Lake Titicaca, straddling the border between Peru and Bolivia in the Andes Mountains, is one of South America's largest lakes and the world’s highest navigable body of water. Said to be the birthplace of the Incas, it’s home to numerous ruins. Its waters are famously still and brightly reflective. Around it is Titicaca National Reserve, sheltering rare aquatic wildlife such as giant frogs.

:)
by ngruhn | 2025-06-18 21:39:04+00:00
It's crazy to me that this is peoples take away. Iran, Hezbollah, Hamas have the explicitly stated goal to annihilate Israel and its people. But Israel is the genozidal one. They're attacking military targets in Iran. Iran is bombing urban centers. I'm sure the IDF would very much prefer to only attack military targets in Gaza as well. Unfortunately, the Hamas decided to hide them under houses.
by mitchbob | 2025-06-18 21:39:33+00:00
From the article:

> The Saudi government gained access to the real identities and IP addresses behind thousands of anonymous Twitter accounts following Saudi agents’ infiltration of the company in 2014-2015. The Department of Justice charged two former Twitter employees and a Saudi national in the plot. Ahmad Abouammo was found guilty by a federal jury of fraud, conspiracy, acting as a foreign agent for bribes, and conveying user information to the kingdom on behalf of the royal family.
by est31 | 2025-06-18 21:39:48+00:00
It's hard to overstate how much southern Germany, Switzerland, France, and northern Italy are profiting from the new alpine tunnels being bored: Basis Brenner tunnel, Lyon-Turin tunnel, and the Gotthard base tunnel. Last one already opened 10 years ago, but it's still pretty recent when it comes to infrastructure projects of that size.

As for inner-German train transport being slow... it's thanks to a bunch of reasons, like

a) Germany having been divided in two until 30 years ago, so railways to Berlin have not been the top priority. in fact, one didn't really want to give russians, whose army mainly used railway to transport, the infrastructure to invade west Germany.

b) the German car industry is running the country and ofc they want people to drive and not use DB, so investments went/are going into the Autobahnen instead of the railways.

c) Germany both being multi-centered and shaped like a square. France has the Paris star, UK has London, and Italy is multi centered but it has this elongated shape, so south of the Po valley the high speed railroads (roughly) follow the coastlines.
by AlotOfReading | 2025-06-18 21:40:03+00:00
One potential issue with this is that gers actually leave circular patterns once they've been removed, where the soil is disturbed and the grass is light-starved or dead. It takes a couple years for those to fully disappear after the ger is removed. Gers themselves can be any color. White is traditional (from a time when white wool was more expensive), but not mandatory.
by NathanKP | 2025-06-18 21:40:23+00:00
I don't believe that models are sentient yet either, but I must say that sentience and rationality are two separate things.

Sentient humans can be deeply irrational. We are often influenced by propaganda, and regurgitate that propaganda in irrational ways. If anything this is a deeply human characteristic of cognition, and testing for this type of cognitive dissonance is exactly what this article is about.
by frollogaston | 2025-06-18 21:40:34+00:00
DRY isn't very dangerous. It's not telling you to spin off a helper that's only used in one place. If a ton of logic is in one function/class/file/whatever, it's still DRY as long as it's not copied.

Premature abstraction is a thing. Doesn't help that every CS course kinda tells you to do this. Give a new grad a MySQL database and the first thing they might try to do is abstract away MySQL.
by iLoveOncall | 2025-06-18 21:41:05+00:00
Just a grifter grifting.

> The more reliance we have on these models, which already is, like, really dramatic

Please point me to a single critical component anywhere that is built on LLMs. There's absolutely no reliance on models, and ChatGPT being down has absolutely no impact on anything beside teenagers not being able to cheat on their homeworks and LLM wrappers not being able to wrap.
by squircle | 2025-06-18 21:41:46+00:00
I am confused... first off, duh. Second: if I say to my partner, "use me, abuse me, spank me harder" am I not asking her to objectify me? If a woman uses a sexual apparatus to satisfy herself, you know, a big honkin' thing that makes even the most confident/capable/endowed man feel silly, is this not objectifying maleness? Also, from observation, do both men and women not want to feel beautiful or handsome or whatever?

"Fucking and fighting..." as it goes--is not there something primal about this? Now, this does not make sexual violence acceptable in any way, especially where exploitation is involved. But, weapononizing identity and biology in this way seems like a huge fucking fallacy, especially if algorithms are being used by law enforcement. Cobra problem, anyone? Pun intended.

How about: women, men, any gender in between (and uh, asexuals and eunichs?) should be able to defend themselves without the state, judicial, and intellectual apparatus intervening?

Lastly, sex work. Dancers, porn stars, etc... Some people want to do this. I imagine its a thrill. Strip clubs are not something I frequent or promote but, the inversion of roles is most amusing and perhaps even illustrative of what egalitarian sexual roles look like. I am not about to pay for it, and non consensual pornography makes me sick. However, sex is healthy, folks. (What are the chances certain cancers and other maladies are linked to disregulated hormones and bodily fluids? What would you say if it was discovered temperance is good but equipose is better, and normative value judgements are at the root of most major health problems?)

Thank you for coming to my Ted talk. Please explain to me what an asshole I am. I might even change my opinion. Regardless, thinking and writing is most pleasurable.
by paxys | 2025-06-18 21:41:59+00:00
And it isn't just about upgrading for better specs. I'd wager the majority of people's laptop replacement cycle is triggerd by a single part dying (screen, hard disk, keyboard, hinges, PSU), the device being out of warranty, and the store quoting more for the fix than a new device would cost. Being able to purchase the $50 part online and do the repair yourself will probably save the average person thousands over a 3-5 year span.
by sdellis | 2025-06-18 21:41:59+00:00
I have been doing Object Oriented Programming for 25 years, but am now learning a new framework that uses a functional language. So, while I have lots of experience with code, I'm very new to this paradigm.

I thought that AI could help me learn it and have tried a variety of approaches. I have found that it is just absolute crap. It is worse than hype, it lies about what you are able to do. I spent a day with ChatGPT trying to figure out how to resize a browser window in a feature test until it finally told me after hours of confident explanation, that it is impossible to do at the moment. Um, that would have been great information to have 8 hours ago!

Not only does it lie to you, but AI slop is literally destroying the Internet. Please do not try to learn software development from AI. There are plenty of great ways to learn. Maybe your experience is or will be different, but I value my time and AI does nothing but waste mine.
by pythonaut_16 | 2025-06-18 21:42:03+00:00
I have one as a developer laptop running Linux. It works fine, battery life is bad. (On AMD 7640U Framework 13).

I currently couldn't recommend them to anyone except users (developers?) who want to run Linux specifically. Otherwise a Macbook is going to be a much better computer at a better value, or just get any boring Windows laptop provider.

Pros compared to Macbook: - Runs Linux - amd64 makes some legacy software work easier - Easy and commodity prices to get 96gb of RAM and 2tb SSD.

Macbook pros: - Massively better battery life - Snappier/faster in general usage - Much more polished than Linux

I evaluated Thinkpads as well but trying to find one with the right configuration that wasn't too expensive or worse than the Framework was pretty hard.
by tacker2000 | 2025-06-18 21:42:36+00:00
"But creating vanity addresses with text strings as long as those used in this hack is computationally infeasible. This means that Predatory Sparrow would not have the private keys for the crypto addresses they sent the Nobitex funds to, and have effectively burned the funds in order to send Nobitex a political message,"

Wild story!
by badc0ffee | 2025-06-18 21:42:38+00:00
> Apple doesn’t support it at all

Apple's HiDPI is "2x scaled" on Retina and >= 4k displays. But you can still pick a virtual resolution that isn't exactly 0.5x your display's native resolution, and it will look great.

For example my external monitor is 3840x2160, and has a default virtual resolution of "1920x1080", but I run it at "2304x1296". My 14" MBP display has a default virtual resolution of "1512x982", but I run it at "1352x878". Neither looks scaled, neither has a slow display, weird fonts or weird graphics. I never even really think about it. In other words, light years beyond the experience on Ubuntu and on Windows.
by bjackman | 2025-06-18 21:43:04+00:00
"Yes it's an Option but it will never be None, the RPC layer validates the request and will reject the call if this field isn't set. Plumbing error handling into this callback is gonna require significant refactoring here, it's not worth it for a theoretical case so let's just .expect()".

People say this kinda thing every day. It's just as easy to say in Rust terminology as any other ecosystem.

Rust has a lot of crucial benefits but "you can't crash the process by making lazy assumptions" isn't one of them.
by christophilus | 2025-06-18 21:44:06+00:00
Kind of with you on this. I just installed Arch on my wife’s old 2013 MacBook Pro. Works like a charm.

My work laptop (Fedora Linux, Dell XPS)is over 5 years old. I haven’t bothered to replace it, but will next year just because. The old one will become a retro gaming device for the kids.
by kevingadd | 2025-06-18 21:45:03+00:00
One anecdote: I "cheated" at EVE Online by writing an elaborate set of modding tools. Most of it was automation for really finicky tedious stuff like drone management, or automation for things like broadcasting your current target to other players in your party. I also hacked in workarounds for bugs in the official client. It enhanced my experience with the game a lot. On the other hand, lots of players were just botting.

I also maintained a browser addon for a while that had 100k+ weekly active users that added various features to a browser-based game. Eventually that game had such bad problems with botting and cheating that they had to introduce an anti-cheat system, and we basically got into a little arms race for a year or so where they'd add a new detection system and I'd circumvent it. Similar to the EVE Online modding it was things like workarounds for bugs in the game, improved UI, keyboard shortcuts, etc. Eventually they drew a line in the sand and said anyone using addons of any kind would get a permanent ban, so that was that.

I think the vast majority of cheaters are just in it to ruin other people's fun but sometimes people are violating ToS for a better or different experience with the game. It's unfortunate that the prevalence of malicious cheating means that anti-cheat technology also has to basically ban modding for fun.
by nirw4nna | 2025-06-18 21:45:25+00:00
Yes, when I designed the API I wanted to keep a clear distinction between Python and C. At some point I had two APIs: 1 in Python and the other in high-level C++ and they both shared the same low-level C API. I find this design quite clean and easy to work with if multiple languages are involved. When I'll get to perf I plan to experiment a bit with nanobind (https://github.com/wjakob/nanobind) and see if there's a noticeable difference wrt ctypes.
by Kovah | 2025-06-18 21:46:04+00:00
I just tried Wget the other month and sadly can't recommend it. The UX of the website is horrible, and their mobile app is a buggy mess (at least on iOS). No matter if I wanted to start a workout, edit weights for an exercise, or browse previous session, the app kept crashing, hanging and logging me out. I am now using LiftLog which does everything that I need. FOSS too. https://github.com/LiamMorrow/LiftLog

It's interesting that fitness and weightlifting are pretty common these days, but there are so few non-commercial applications out there that are usable and well maintained. At least that's my perception after digging through dozens of Github projects.
by class3shock | 2025-06-18 21:46:23+00:00
For anyone considering the 16, mine has had some teething issues (1. motherboard failed and I was sent a replacement 2. keyboard/touchpad started having a issue losing connection which I still need to submit a ticket for). The USB A port also feels like it's gonna break at some point (the rest seem fine). The linux experience has been about the same as on a Dell XPS 13 with the consistent issues being poor battery life and an inability to sleep properly. If I were to do it again I would get the 13 not the 16 but would still give it a shot.
by ath3nd | 2025-06-18 21:47:11+00:00
I find it hard to care for the marginal improvements in a glorifiedutocomplete that guzzles a shit ton of water and electricity (all stuff that can be used for more useful stuff than generating a picture of a cat with human hands or some lazy rando's essay assignment) and then ends up having to be coddled by a real engineer into a working solution.

Software 2.0? 3.0? Why stop there? Why not software 1911.1337? We went through crypto, NFTs, web3.0, now LLMs are hyped as if they are frigging AGI (spoiler, LLMs are not designed to be AGI, and even if they were, you sure as hell won't be the one to use them to your advantage, so why are you so irrationally happy about it?).

Man this industry is so tiring! What is the most tiring is the dog-like enthusiasm of the people who buy it EVERY.DAMN.TYPE, as if it's gonna change the life of most of them for the better. Sure, some of these are worse and much more useless than others (NFTs), but in the core of all of it is this cult-like awe we as a society have towards figures like the Karpathy's, Musks and Altmans of this world.

How are LLMs gonna help society? How are they gonna help people work, create and connect with one another? They take away the joy of making art, the joy of writing, of learning how to play a music instrument and sing, and now they are coming for software engineering. Sure, you might be 1%/2% faster, but are you happier, are you smarter (probably not: https://www.mdpi.com/2076-3417/14/10/4115)?
by jrcplus | 2025-06-18 21:47:49+00:00
Scrappy co-creator here. I fully agree that software longevity is important. We designed Scrappy with a local-first architecture, so we have no traditional backend. Our only cloud dependency is a lightweight sync server. (We hurriedly added an FAQ with some more technical details after we discovered that this blew up on HN.) I believe this is an important point of distinction, both technically and financially, from most low-code/no-code tools which are SaaS'es.

One idea we had early on is the ability to save scrapps as single-page self-contained HTML files. We experimented with this but the functionality isn't currently exposed.