MurphyA/hacker-news huggingface dataset:
by dietr1ch | 2025-07-31 18:11:51+00:00
Idk, if you are starting from prerender/prefetch `where href_matches "/*"` maybe you are wasting resources like you are swinging at a piñata in a different room.

This approach will just force the pre-loader/renderer/fetcher to be cautious and just prepare a couple of items (in document order unless you randomise or figure out a ranking metric) and have low hit ratios.

I think existing preloading/rendering on hover works really well on desktop, but I'm not aware of an equivalent for mobile. Maybe you can just preload visible links as there's fewer of them? But tradeoffs on mobile are beyond just latency, so it might not be worth it.
by layer8 | 2025-07-31 18:11:53+00:00
From https://www.vox.com/22436832/captchas-getting-harder-ai-arti...:

“Correction, May 19 [2021]: At 5:22 in the video, there is an incorrect statement on Google’s use of reCaptcha V2 data. While Google have used V2 tests to help improve Google Maps, according to an email from Waymo (Google’s self-driving car project), the company isn’t using this image data to train their autonomous cars.”
by locallost | 2025-07-31 18:12:19+00:00
The mundane is a part of every job, and you could reduce every job to it, if you really wanted to. Do you want to chop vegetables for the rest of your life? Well that's what being a cook is. True only if you focus on it because that's what you hate.

The thinking is interesting, and I agree that the question "what to do with my life" is a modern phenomenon. But on the other hand, if you know how difficult and challenging something is, you will never do it. There are parallels to analysis paralysis here.

So yes, be prepared and think things through, but if I have learned one thing in life, it's that the problems you will run into are not the ones you imagined in the beginning. Instead you will get some you never thought of, and the ones you did will not happen or will not be a big deal. How many people here worked on software changes, and had to estimate and got it all wrong?
by TimTheTinker | 2025-07-31 18:12:30+00:00
How would you implement Google Maps as a SSR app? -- same question for ArcGIS, Figma, an arcade game, or a Zoom clone. It's a serious question -- do you think that would be possible for any of those?

I contend that to build a coherent, usable web app of any of those types, there has to be a lot of client-side scripting. Hence, a SPA is the best architectural pattern.

Sure, you could use SSR for the layout of the page... but in that case, why not skip HTML rendering altogether by shipping raw HTML/CSS for the app's layout? Then you'd only need JS to power the contents of <div>s where the app's functionality is located.
by fkarg | 2025-07-31 18:12:36+00:00
because it _does_ provide a number of benefits (potentially fewer initial round-trips, more dynamic routing control by using UDP instead of TCP, etc), and is a userspace softare implementation compared with a hardware-accelerated option.

QUIC getting hardware acceleration should close this gap, and keep all the benefits. But a kernel (software) implementation is basically necessary before it can be properly hardware-accelerated in future hardware (is my current understanding)
by iExploder | 2025-07-31 18:12:50+00:00
> The key, I believe, is to mentally reframe the AI: it's not the driver, it's your assistant — a helper, a debugger, maybe even a silent teacher. But you're still the architect. You're still the creator.

we wont be deciding how to do things anymore, but what to do, case in point: Mr. La Forge run lvl 3 diagnostics on the warp drive. LaForge clicks a button on his iPad

at some point even this will go away and AI will decide what we want to do based on analyzing our brain through neural-link

at some point in far future even this will go away as parts of our brain will be continually and eventually completely replaced by synthetic AI brains
Ask HN: How to learn SOTA LLM-assisted coding skills?
by mleonhard | 2025-07-31 18:13:11+00:00
Companies are adding "AI Coding" interviews to their hiring processes, often without mentioning such skills in job descriptions. What are the best resources for learning it, for experienced software engineers?

How about resources that teach mindset and strategies for reducing fatigue while constantly reviewing subtly-broken generated code?
by johnfn | 2025-07-31 18:13:14+00:00
> Apparently, I crushed their dreams.

Why does your post make it sound like you dunked on some poor high school student? Maybe you could have been a tad more supportive? Not everyone is fortunate enough to understand what goes into engineering in high school. I am personally really grateful that when I had my "I wanna make games" moment, and I didn't know engineering at all, that I had the right influences in my life to guide me in the direction of understanding how to get there.
by tavavex | 2025-07-31 18:13:25+00:00
> Question is, how do we get ourselves out of this tar pit?

I feel like it might be impossible. The people agree with the tar pit makers.

Pass a mass surveillance law, 10% will be outraged, 80% will say "Well I don't have anything to hide. Oh well."

Pass a censorship law targeting legal but unpopular/controversial material. 10% outraged, 80% say "Good, I never liked it anyway."

Pass a preemptive policing law, 10% outraged, 80% claim "If it makes me safer, I like it. I'm not a criminal after all, I don't have anything to fear."

Pass a law that codifies your nation's most popular religion as something to be promoted and enforced. 10% outraged, 80% cheer it on, because it agrees with their views.

The 80% is illustrative here, but it seems like the people who agree with the above statements are a very solid and overwhelming majority. So why it did take us so much time to creep up to deliberate censorship and surveillance? As someone who was born in the 21st century, the freedom to access and do things on the internet had only ever been on the downhill, any small wins are overwritten by inevitable losses that make things more controlled, more 'safe'.
by nyeah | 2025-07-31 18:13:40+00:00
If you want to make "normal" electronic music (and never tried before), use GarageBand on an iPad. It's easier to learn than Ableton et al. because GarageBand has reasonable settings built in. I.e. it will make sounds right away, without endless screwing around. (You might even try GarageBand on a phone, if the screen is large enough.)

If you want to make "experimental" music then ... you'll have to experiment. Most of the recommendations in these comments are aimed at experimental music.

Most things labeled "computer music" belong to a very specific retro experimental music aesthetic, literally dating back to the era when you could barely make music on a computer at all. Much of this music was heavily influenced by academic workers. That may be exactly what you're looking for! On the other hand if you're not quite sure what I'm talking about, then be aware that "computer music" is not the only, or even the sanest, way to make music on your computer.
by t-3 | 2025-07-31 18:13:57+00:00
How can a non-rich person afford to campaign and do all the necessary politicking to get elected? Getting money after being elected has never been the problem - even those congresspeople who somehow get elected from humbler origins seem to become multimillionaires pretty quickly after gaining office. The reason the vast majority are drawn from the upper crust is the time and money costs involved in the initial campaigning.
by 42772827 | 2025-07-31 18:14:04+00:00
I wonder if, like the precision fermentation process, these engineered bacteria can be fed into existing dairy processing machines that make ice cream and other derivative products. The win there is huge, it means practically replacing a very difficult to produce / maintain biological component (cows) with relatively stable component (vats of bacteria), with little impact to the rest of the production pipeline.
by bithead | 2025-07-31 18:14:28+00:00
As a network engineer I once had a project involving an infrastructure for a deployment of thousands (so I was told) of SQLServers. My part was pretty straightforward and ready well ahead of schedule, but the DB team got stuck because the SQLServer build process kept getting hung. The only response ever heard from microsoft was "It's a network problem"

So I dug into packet captures and found that the switches were using all-zeros gratuitous arps to populate the forwarding table more quickly, which is a fairly common practice. The SQL servers saw this as in indication of a duplicate IP address (the garps were for 0.0.0.0).

Technically this did trigger the duplicate IP address detection RFC, but was never a problem for other server builds or any other server operational capacities. Cisco was the other vendor involved and came out with an update to allow for a timing delay for the all-zeros GARP. However given the timeline runway and the need to do a bug scrub for just one access area in a large data center with other much more lucrative capacity builds the only fiscally responsible thing was to look to the vendor at the heart of the problem.

However it was not possible to get any response from microsoft on it in spite of having the most expensive support contract they offered. The monthly late fees for the project were in the 8 figure range, so microsoft was dumped since they were not answering the phone. It was not for a lack of trying either. Our so-called "high touch" liaisons were equally frustrated.

It was weird since we were not a small customer - we were one of their largest. If a fortune 10 can't get microsoft to answer the phone, what hope does anyone else have?
by zahlman | 2025-07-31 18:14:35+00:00
This is a follow-up to the recent reporting on a phishing attack on PyPI (cf. https://news.ycombinator.com/item?id=44701913 ; https://news.ycombinator.com/item?id=44711408 ; https://news.ycombinator.com/item?id=44738345). It turns out that the compromise of the `num2words` package (cf. https://news.ycombinator.com/item?id=44712736) was a direct result of the attack (as I vaguely suspected).
by matheusmoreira | 2025-07-31 18:14:39+00:00
> you keep using HN just to engage in political discussions

"Just"? You make it sound like I'm some sort of sock puppet account.

Post and comment history are available on my profile page. I participated in a discussion about low level ELF hacking not even two days ago. People have submitted my GitHub projects here.

> spreading lies and fake news

Lies according to whom? You? Right.

If I'm so wrong, just refute what I'm saying with strong arguments. I'll change my tune. If you can't or won't, then just downvote the post or something. Kindly refrain from name calling and baseless accusations.
by jodrellblank | 2025-07-31 18:14:40+00:00
Sure; after Casey Muratori saying that people argue with him that no normal developer needs to worry about performance, computers are fast enough, performance is a niche concern, I'm just musing how little data it takes - 64k is nothing to a modern person - and how abruptly anyone who wants a fast answer has to switch to think about performance, pre-processing the list, sorting more promising candidates first, using a faster language, noticing that it's embarrassingly parallel, etc.
by dneighbo | 2025-07-31 18:15:01+00:00
It's all about using debt in a way that works for your use case. It is possible to become over leveraged with both financial and technical debt. Not evaluating the trade offs is the real problem. Currently it feels like there are two camps. The AI is bad, Im better than AI it writes crap code and the AI does everything vibe code blindly camps. Neither seems to be talking about actual trade offs and approaches.
by zamadatix | 2025-07-31 18:15:13+00:00
"Dark pattern" is specific to digital user interfaces, the bartender use case might be just called emotional marketing or, more plainly, flattery.

Keep in mind, digital or not, not all forms of negatively viewed tactics hold the same weight. E.g. a nagging confirmation for cancellation is typically viewed less negatively than confirm shaming, even though both are often listed as types of dark patterns. The type of coercion in the bartender example is likely towards the less negative side of manipulative tactics in most people's minds.
by Imustaskforhelp | 2025-07-31 18:15:19+00:00
So I was watching this youtube short which said that this is sorta how instagram's approach to a similar problem was

So instagram founders worked at google and they found that if you had written your username, you had 80% or some high% chance to create an account since (I think the barrier of friction has been crossed and its all easier from now, so why miss, why do all efforts and leave now, I am invested into this now and I will use this now)

So insta founders basically made it so that whenever you upload a photo it would silently upload in the background and then you would mostly write some captions of the image and that would take some time too, so in that time, the picture gets loaded into the database and that's how it was so fast compared to its own peers while using the same technology

If someone scraps the picture/story and doesn't put it, they just delete it from the system.

I will link to the youtube short since that clearly explained it better than me but this was really nice how things are so connected that what I watched on youtube is helping on HN.
by p_ing | 2025-07-31 18:15:39+00:00
You're correct, but the running gag is that every version released as production is a beta.

It's been awhile since I used Unifi, but regardless of the label they put on their binaries, things felt like beta. That doesn't mean I had issues per se, or things I couldn't work around. But it may be missing things, almost certainly missing promised features, rough around the edges, etc.
by gamehow123 | 2025-07-31 18:15:42+00:00
FLUX.1 Krea [dev] is the open weights version of Krea 1, offering strong performance with highly distinctive aesthetics and exceptional realism. It has been trained with the goal to generate more realistic and diverse images that do not contain oversaturated textures, a known issue in text-to-image generation. Due to these properties, we call FLUX.1 Krea [dev] ‘opinionated’ - a text-to-image model that offers its users pleasant surprises in the form of diverse, visually interesting images.
by eptcyka | 2025-07-31 18:15:48+00:00
QUIC performance requires careful use of batching. Using UDP spckets naively, i.e. sending one QUIC packet per syscall, will incur a lot of oberhead - every time the kernel has to figure out which interface to use, queue it up on a buffer, and all the rest. If one uses it like TCP, batching up lots of data and enquing packets in one “call” helps a ton. Similarly, the kernel wireguard implementation can be slower than wireguard-go since it doesn’t batch traffic. At the speeds offered by modern hardware, we really need to use vectored I/O to be efficient.
by lapetitejort | 2025-07-31 18:16:08+00:00
I set up a small Ubiquiti setup with Pi-hole, then moved into a home serviced by AT&T Fiber, which comes with an all in one fiber modem and WiFi hub. I started using it before I could unpack, then did a little research on how I could disable WiFi, DHCP, and/or DNS in order to use my own equipment. The WiFi isn't great in all parts of the house so I planned on setting up APs at strategic points. But of course laziness, fear of stuff breaking and my family getting mad at me, and WiFi entrenchment has stopped me from using any of the equipment I bought. I would one day love to switch back over, but I just don't see it happening soon.
by assword | 2025-07-31 18:16:15+00:00
Ironically, those stupid tip kiosks have cost severs tip amountage with me

I used to drink a fair bit, so at the end of a tab, I did not want to do arithmetic and would just put an “easy” number that looked good. This could often be upwards of 35%

But if you stick a touch screen in my face with even easier, one-two taps on a preselected amount, I’ll go with that.

Also I’ve accidentally no tipped a few times with them because I get frustrated with the incessant screens asking about receipts, emails, etc. that I just click past the tip screen.
by fouronnes3 | 2025-07-31 18:16:29+00:00
I guess it's those two same groups arguing about vibe coding. How many of group 1 say LLMs are too low quality when they really mean that it's diminishing their love of coding? And how many of group 2 say LLMs are the best thing ever when they really mean that they are diminishing their pain of coding?

I'm a hard group 1, and I don't really mind if LLMs take my job, just please don't take my passion.
by Fanmade | 2025-07-31 18:16:34+00:00
Absolutely! I have used Copilot for a few weeks and then stopped when I worked on a machine that didn't have Copilot installed and I immediately struggled with even basic syntax. Now I often use LLMs as advanced rubber ducks. By describing my problems, the solution often comes to my mind on its own and sometimes the responses I get are enough for me to continue on my own. In my opinion, letting LLMs directly code can be really harmful for the software developers, because they forget to think for themselves. Maybe I'm wrong and I am just slow to accept the new reality, but I try to keep writing most of my code on my own and improve my coding skills more than my prompting skills (while still using these tools, of course). For me, LLMs are like a grumpy and cynical old senior dev who is forced to talk in a very positive manner and who has fun trickling in some completely random bullshit between his actual helpful advice.
by nyeah | 2025-07-31 18:16:38+00:00
I'm sure it seems that way to you, but for people who never touched an electric guitar before that's going to be torture. You need an instrument that you really want to pick up and play, that stays in tune, etc. It doesn't need to be $1500, but at $150 they better have an uncle who's a guitar tech.

I have an old Gibson Marauder that rapidly gets out of tune. So far no shop has been able to do anything about that. It would probably go for $400 or more retail, to a beginner who doesn't notice (or thinks the problem is his/her fault). But it's no fun to play. Chords sound bad. And that kind of thing is not unusual.
by lupusreal | 2025-07-31 18:16:52+00:00
I say only the patriarchal heads of households should get votes. Isn't that pretty much how Athens did it? No votes for slaves, women, anybody with mixed non-Athenian ancestry, no poors allowed to hold a political office...

Anyway, I'm all for putting the sons of politicians on the front line, but don't think that will stop wars. The British Empire was infamous for putting nobleborn men directly in harms way, they would proudly stand up right in the thick of combat making themselves tempting targets and were routinely cut down. In a society with a strong martial tradition this doesn't turn people into peaceniks, if anything it gets people even more excited for wars.
by Jtsummers | 2025-07-31 18:17:06+00:00
I thought I wrote a reply, but I guess I didn't submit it.

Summary version rather than rewriting: A bathtub curve could show up along with the bullwhip effect. It doesn't describe how it came into existence, it's descriptive of the structure.

If you have a long enough period in your bullwhip effect, you could see the seniors riding it out without replacements or additional hires coming in (they weren't seniors when this started) because of insufficient demand. Then a demand increase causes a hiring surge, but it's mostly targeted at juniors because they're cheaper and you still have your seniors.
by tavavex | 2025-07-31 18:17:24+00:00
Censorship and killing people who were too "out of line" were staples of human civilization ever since we started figuring out governance. What's unique about China is that it was a pioneer in capturing this new technology and using it to their state's advantage. Never before in human history could you monitor all the things people said to one another, all the money that got exchanged, all data that's uploaded and downloaded, and have automation that ensures that everyone's information is looked at. The internet had become a tool of centralized control, China just was successful at realizing it first.
by os2warpman | 2025-07-31 18:17:27+00:00
I would never own a rolex because where I live only ambulance chasers, businessmen who are definitely guilty of wage theft, morbidly obese elderly men in gold chains who reek of cigars, and street pimps wear them but from what I can gather they charge approximately $1,000 for a service and a mechanical watch needs servicing every 5-10 years depending on how complicated it is and how often it is worn.

So that's like a $100-200/yr. annual subscription to wear an already expensive watch.
by doctorpangloss | 2025-07-31 18:17:35+00:00
Okay well my feedback to you is, maybe have a chatbot read what I am saying to you, and ask for a charitable interpretation, which is the site’s rules. It’s simply a “looks like a duck, quacks like a duck, it is a duck” argument. It’s not complicated. The way I am looking at things is how a lot of execs at giant companies and VCs look at things, you are welcome to ask them too, or ask for that frame of reference from a chatbot. You guys just raised $100m, you should be able to engage over questions of arb or whatever, and just know this stuff, and be able to talk to bankers and talk like a banker.

The stubbornness around interpreting this argument as negatively and as flawed as possible is a bad look.
by drabbiticus | 2025-07-31 18:17:36+00:00
Can someone explain how this works with links that cause changes? (i.e. changing the amount of an item in a cart, or removing an item from a cart)

I assume you would have to tailor the prefetch/prerender targets to avoid these types of links? In other words, take some care with these specific wildcard targets in the link depending on your site?
by SoftTalker | 2025-07-31 18:17:39+00:00
And no ad block, you need additional apps for that. Ad blocking should be a basic feature in a browser in 2025. Apple talks a good game on "no tracking" but they don't block the ads, and I don't understand why not. The current ad-based revenue model of the web should be completely impossible, that would get rid of entire swathes of useless SEO sites and the harmful psychological games that Facebook and others play to keep you engaged so they can keep showing you more and more ads.
by woodrowbarlow | 2025-07-31 18:17:46+00:00
if we are to limit the conversation to privately-owned companies, you and i are likely philosophically aligned -- because the business has a person as an owner, and that person has rights. but when a business is publicly-traded, and no longer has a person as a sole owner, i believe many of those rights (which never belonged to the business, and always to the person) should evaporate.
by lanfeust6 | 2025-07-31 18:17:46+00:00
> I’ll never forget overhearing this quote from a fellow sophomore in the comp sci lab in college: “if I have to sit in front of a computer every day for the rest of my life I’ll kill myself.” Computer science is an interesting career choice for someone who hates computers and being with computers.

This was a discussion that came up a few times in College. I argued that with hyper-specialization, you can't satisfy a desirable balance of cerebral and manual work, socializing, and being outdoors. Pick your poison. I didn't want to do shift work at the bottom of a mine pit so here I am.

You can have flexibility in your free time to do something else. My father was always tired from shift-work and did basically nothing at leisure even as we grew up.