MurphyA/hacker-news huggingface dataset:
by bvrmn | 2025-09-07 07:46:05+00:00
A valid type for server and port should be a single value. Stop parse it separately please.

":3000" -> use port 3000 with a default host.

"some-host" -> use host with a default port.

"some-host:3000" -> you guess it.

It also allows to extend it to other sources/destinations like unix domain sockets and other stuff without cluttering your CLI options.

Also please consider to use DSN or URI to define database configurations. Host, port, dbname, credentials as separate options or environment variables are quite painful to use.
by johnisgood | 2025-09-07 07:47:08+00:00
coretemp-isa-0000 Adapter: ISA adapter Package id 0: +40.0°C (high = +80.0°C, crit = +100.0°C) Core 0: +38.0°C (high = +80.0°C, crit = +100.0°C) Core 1: +39.0°C (high = +80.0°C, crit = +100.0°C)

Are they saying this is bad? This Intel CPU has been at it for over a decade. There was a fan issue for half a year and would go up to 80 C for... half a year. Still works perfectly fine but it is outdated, it lacks instruction sets that I need, and it has two cores only, and 1 thread per core.

Maybe today's CPUs would not be able to handle it, I am not sure. One would expect these things to only improve, but seems like this is not the case.

Edit: I misread it, oops! Disregard this comment.
Ask HN: Those making $500/month on side projects in 2025 – Show and tell
by motyar | 2025-09-07 07:49:11+00:00
Previously asked on:

2024 → https://news.ycombinator.com/item?id=42373343

2023 → https://news.ycombinator.com/item?id=38467691

2022 → https://news.ycombinator.com/item?id=34190421

2021 → https://news.ycombinator.com/item?id=29667095

2020 → https://news.ycombinator.com/item?id=24947167

2019 → https://news.ycombinator.com/item?id=20899863

2018 → https://news.ycombinator.com/item?id=17790306

2017 → https://news.ycombinator.com/item?id=15148804
by elric | 2025-09-07 07:50:40+00:00
1997-1998ish I helped run a site with a bunch of forums. Regular members could request their own Diary forum, which worked exactly the way blogs would work later on. Some were literal diaries, others became grand works of fiction, some were collaborative storytelling, some favoured pictures etc.

It saddens me that many people feel the need to seemingly monetize their creative outlet.
by wiether | 2025-09-07 07:50:56+00:00
https://www.outsideonline.com/health/wellness/sunscreen-sun-...

As always, the issue is that people want things to be simple, when the reality is in nuances.

_the poison is in the dose_.

People spending hours everyday under direct sunlight are at risk.

And so does people putting sunscreen everyday, even when they don't go outside but they seat next to a window.

The amount of sunscreen you need depends on your genetics, your history with sun exposure, the place you live and the amount of time you spend under direct sunlight. There is no "sunscreen is a scam" and "life is not sustainable without sunscreen".
by anal_reactor | 2025-09-07 07:51:10+00:00
I've said this once because we've already had discussions "Windows bad", but I jumped ship too. My experience is different though. I installed Linux Mint - it doesn't work and it won't work. Quick search shows that Fedora KDE is the only distribution that actually supports graphics stack from current century, and doesn't have community drama around it (Ubuntu). I installed it. I keep running into weird issues like graphical glitches, devices randomly not working, shit needing fixing with complicated terminal commands, programs not behaving in expected ways, update regressions, and all the good stuff that Linux on desktop is known for. But we're definitely way closer to Linux being a working desktop system than we've ever been, and it gives me an impression that a dedicated tech-savvy person could potentially actually use it. I haven't booted into Windows for two weeks, and I think there's a decent chance I won't need in the foreseeable future.
by 999900000999 | 2025-09-07 07:52:01+00:00
Ubuntu.

Fedora.

Arch.

Open Suse .

Pick one, stop trying to make Windows look like a decent os. My local Windows install just gave up. I'm very close to trying Windows 11 in a VM on top of Fedora or whatever, can't really do that on my 16gb ram value laptop though.

If Maschine offered official Linux support, that's what I make music with, I'd be 100% Windows free.
by majkinetor | 2025-09-07 07:52:35+00:00
The same. I used Linux a lot a decade ago, and all this MS mumbo jumbo with Win11 is totally disappointing and irritating, to the point that next OS will definitely be Mint. I envisioned that this might happen eventually, so I never locked in to any Windows tools, I use exclusively cross-platform tools. I live most of my OS time in powershell, vscode and firefox, so no problems there.

Constantly fighting MS irresponsible decisions makes no sense any more.
by marginalia_nu | 2025-09-07 07:53:40+00:00
Communication in general is helpful. Many incredibly skilled technicians are severely held back by the fact that nobody understands what they are doing and how impressive it is.

On the other end of the spectrum, most truly famous people are not just good at what they do, but also good at creating a sort of myth about themselves, or else has had a friend who loved talking them up. Learning to take what you've done or learned and spin a compelling story around it is an amazing life skill that absolutely will get you ahead.

You can absolutely take this too far and become a narcissistic charlatan -- all talk and self esteem -- but this is extremely far away from the personality of many engineers so I don't think that's an immediate concern.
by closewith | 2025-09-07 07:54:58+00:00
> And their success rate should be and is, pretty high.

Is it?

We obviously don't get most reporting, but of the publicly known missions, the success rate is abysmal, and even the "successes" are disasters.

Take the death of bin Laden, "Operation Neptune Spear", a nominal success in that bin Laden may have been killed, it was operationally questionable _and_ it was 9 years after another spectacularly failed mission involving SEALs ("Operation Anaconda") allowed bin Laden's escape, which in turn was following the disastrous Battle of Tora Bora which was the first major failure in a war respite with them.

None of these operations were daring acts of brave men. They were all - like the one in the article - full of cowardly acts and human rights abuses, from deliberately killing civilians to using fake healthcare workers to collect DNA samples (which has caused and continues to cause thousands of deaths due to the ongoing suspicion of childhood vaccines in Pakistan) to the torture of enemy soldiers and civilians alike in secret prisons to shooting an eight-year-old girl in the neck (Nawar al-Awlaki).

> they’re highly-trained for high-risk missions and taking calculated risks with massive amounts of intelligence work and contingency planning beforehand

That's certainly the Hollywood version, but the reality doesn't match up.
by kelnos | 2025-09-07 07:55:34+00:00
I think "inept" is a bit uncharitable. We have no idea what their success and failure rates are. By their very nature, they take on the trickiest assignments, the ones that are most likely to fail in weird, unexpected ways.

> There is a long list of these special operations in the book...

And I'm sure there's a list orders of magnitude longer that we'll never hear about, and there's no way to judge if the ops in his book are representative of the whole.
by mpweiher | 2025-09-07 07:55:46+00:00
I actually find it useful to have the Model represented by a single object, usually a facade that coordinates all the other Model objects.

Not sure why this would lead to anemic models, which I completely agree are a common anti-pattern.

In fact, to me it seems rather the opposite would be true: having the single object facade facilitates having a complex model that coordinates all the different pieces to represent a unified view of said model to the views, which can then be very simple and transparent.

In turn, when the models were coupled with views individually, that has tended to lead to exactly that View → DB Table mapping of dumb data objects you rightly criticize.
by encom | 2025-09-07 07:56:02+00:00
>M4 is faster than a lot of desktop CPUs

Yea, but unfortunately it comes attached to a Mac.

An issue I've encountered often with motherboards, is that they have brain damaged default settings, that run CPU's out of spec. You really have to go through it all with a fine toothed comb and make sure everything is set to conservative stock manufacturer recommended settings. And my stupid MSI board resets everything (every single BIOS setting) to MSI defaults when you upgrade its BIOS.
by overfeed | 2025-09-07 07:57:02+00:00
> All that is to say you could never really tease it all out perfectly in practice.

Sure, if the folk at Google that coordinate this hypothetical Euro-fine surcharge entirely in person with no paper trail and are confident there will be no whistleblowers.

No oversight body with subpoena powers needs to "tease out" any information, they'll directly request the pricing formulas, related emails and underlying data for 2015-2025 and cross-check with consumer payments.
by imtringued | 2025-09-07 07:57:22+00:00
Correct. There is too much architectural divergence between GPU vendors. If they really wanted to avoid vendor specific extensions in user level code, they would have gone with something that could be said to be loosely inspired by tiny grad (which isn't ready yet).

Basically, you need a good description of the hardware and the compiler automatically generates the state of the art GEMM kernel.

Maybe it's 20% worse than Nvidia's hand written kernels, but you can switch hardware vendors or build arbitrary fused kernels at will.
by RossBencina | 2025-09-07 07:57:29+00:00
I don't think people called it a "model" but back in Windows VisualBasic/Delphi/C++Builder days the path of least resistance was to set up your GUI in a visual editor by laying out all your widgets in the window. Classically Qt can also be used this way. So you have this UI, you can launch the application and the UI displays and basically works, but none of the buttons do anything. But all the widgets have a great API that you can use to set permissible value ranges, set and query state, etc. And the widgets would fire events when things changed. In other words, the widget contains a model, and implements the Observer design pattern.

If you wanted to implement MVC with a separate application data model you had to do work to set up a separate model, and keep it in sync with the UI. None of this class of old tools provided any built-in assistance for defining models separate from Widgets, except for some support for binding UI to database queries/results. Of course this was separate from the Smalltalk world, where there were frameworks for building up models out of pre-defined model "atoms" such as an observable number model that you could bind to various views.
by sureglymop | 2025-09-07 07:57:46+00:00
This doesn't just apply to MVC but also for example the Elm architecture. The thing is that they are quite simple in theory but in practice, programming them from scratch can be much more difficult, mostly due to the View.

For example, what if you have two widgets that need to be side by side? And the user needs the ability to use the keyboard to switch between them? What if now you have a third widget below them that is also tabbed?

At this point you need a state machine to track the state and where the user is currently at. It's easy if this is done for you but pretty difficult otherwise in either architecture.
by quietbritishjim | 2025-09-07 07:57:48+00:00
> instruction set consisting of Ada Primitives like "Define a type for a variant structure with 3 variants, you'll get the details later".

Wow, it's hard for me to imagine a CPU with such high level instructions. Were these per-process, like virtual memory on a modern processor? Or was there only expected to be one executable running on the machine at a time?

> My Covid19 project was writing a software emulation of it,

Where did you get to? Do you have a link?
by cookiengineer | 2025-09-07 07:58:26+00:00
Pick KDE if you want the same integrated experience.

The Desktop on Linux has come pretty far already and most of the complaints are from people that made the wrong choice for their UX.

Sometimes setting up a WINE environment is worth it, but I'd argue that as long ss you still need to use the CLI to create environments, it's not there yet. Proton has been amazing for better support.

Also, don't pick Arch when you come from Windows, it's not the right choice for you. Pick a beginner friendly distro, everyone has to start somewhere. Debian, LinuxMint, or Ubuntu are incredibly easy to learn.
by anticodon | 2025-09-07 07:59:39+00:00
ClearCase is the worst VCS software that I ever used in my life. Maybe in the beginning of 90s it was better than existing alternatives, but I was using it well in 2000s, and it was horrible experience compared to already existing Git, Mercurial and even Subversion.

And if you add the cost (around $5000 per workplace), it becomes even less understandable.

It also required a designated CC admin or several admins.
by bakje | 2025-09-07 08:01:11+00:00
This is true when using a UTC offset as it has any potential DST already applied, so it can’t adapt to changes like that.

But if you say I have an appointment at 2026-09-07 15:00:00 in the timezone America/New_York I think that also accounts for future rule changes of that timezone.

I’m no expert on this matter but I believe that’s similar to how the new JS temporal API handles such things
by wzdd | 2025-09-07 08:03:08+00:00
The artice links to the paper which discusses the issue. The paper identifies two problems: a biased swapping algorithm, and a PRNG with easy-to-guess state.

For the first problem, a very simple "for each card, pick a number between 1 and 52 and swap the card with that number (or do nothing if it's the same card)" is proposed to eliminate bias. This seems pretty simple to verify.

For the second problem, there is no workaround except to use a better RNG.

So in the context of the paper, the reason your algorithm wouldn't have worked is because the programmers seeded their PRNG with the time of day. In the context of shuffling more generally, I don't know but it seems that there are even simpler algorithms.

That paper: https://web.archive.org/web/20140104095330/http:/www.cigital...
by shmerl | 2025-09-07 08:03:53+00:00
Local time is irrelevant when you present that time to someone else external. How would they know what your local timezone is? This presentation tells them nothing about it.

So it's good for local use, but inadequate for any use that's not tied to your local environment. Alarms and etc. are already using it, so it's not about that use case.
by positron26 | 2025-09-07 08:04:00+00:00
One of my work computers died and I hadn't checked the CPU market in years. Rode home that night in a taxi with a Ryzen 1700x completely stoked that AMD was back in the game.

If anyone thinks competition isn't good for the market or that also-rans don't have enough of an effect, just take note. Intel is a cautionary tale. I do agree we would have gotten where we are faster with more viable competitors.

M4 is neat. I won't be shocked if x86 finally gives up the ghost as Intel decides playing in Risc V or ARM space is their only hope to get back into an up-cycle. AMD has wanted to do heterogeneous stuff for years. Risc V might be the way.

One thing I'm finding is that compilers are actually leaving a ton on the table for AMD chips, so I think this is an area where AMD and all of the users, from SMEs on down, can benefit tremendously from cooperatively financing the necessary software to make it happen.
by kelnos | 2025-09-07 08:05:35+00:00
I think this is really a hard thing. I've also never been in the armed forces, let alone a special forces type branch, so I don't know what it's like.

But who is going to question these decisions, then? Can we trust the elected leaders to do so? I don't think so (not being partisan here, this goes for Trump, Biden, Obama, Bush, whomever); they don't want to look bad in the eyes of voters, so they're going to keep these sorts of outcomes classified if they can. Can we trust non-political military leadership? To some extent, I think so, but they (especially those involved in planning and approval for these missions) will still have incentives to downplay any failures.

This is a classic problem, of course: you can never fully trust the people involved to police themselves. But I also agree that most civilians won't have the experience, context, and training to evaluate what happened and come to a reasonable and fair conclusion.

So... I'm not sure what the solution is. The bottom line is that collateral civilian deaths are a tragedy. The fact that it happened is awful, and that operation should be gone over with a fine-toothed comb to determine if the soldiers involved could and should have done something differently in order to avoid those deaths. Whether or not that will happen, in an objective, unbiased manner, by people who are qualified to do so, is unknown. I'd like to think there were better options here, and that those people didn't need to die, but I really have no idea.
by anon7725 | 2025-09-07 08:05:45+00:00
MVC came from desktop applications. It was later repurposed to client-server apps when the web arrived, but it was always an impedance mismatch.

In desktop GUI apps, the delineation is much crisper: the model is the data that the application manages (the CAD geometry, the document, etc). The view is one or more renderings of the data to screen, and the controller is the input and command processor that updates both the model and the view.

Storage is not central to this architecture - it exists, of course, but it’s not really described as part of these core relationships.
by robocat | 2025-09-07 08:05:49+00:00
Rubbish. TDR is not a Murray loop.

https://en.m.wikipedia.org/wiki/Murray_loop_bridge

Spread-spectrum time-domain reflectometry (SS-TDR) is often used to locate and characterize a fault on active cables. Traditional time-domain reflectometry, which sends signals down a conductor to determine where any impedance discontinuities are by timing any reflections that come back from any impedance discontinuities along the way, can’t be used on in-use undersea cables thanks to the high voltages involved. SS-TDR, which was originally developed to detect faults in the wiring of airplanes using 400-Hz AC power, uses modulated pseudo-noise (PN) signals rather than a plain square wave pulse. The signals still bounce off any impedance changes introduced by damage, but an algorithm is used to correlate the returned PN codes with what was sent and when, making it easier to make measurements in a noisy environment. Optical TDR can also be used to locate fiber breaks

https://hackaday.com/2024/07/30/undersea-cable-repair/

A little knowledge goes a long way
by esperent | 2025-09-07 08:07:39+00:00
A few months ago I switched from Windows 11 to Ubuntu on my laptop. Coming from a decade of experience running servers with various flavors of Linux it's not much of a learning curve for me.

And look, I love Ubuntu. I'm sticking with it (although kinda wish I'd been less safe and chosen Fedora or OpenSuse). But, to be honest, I've had, and continue to have, a ton of problems related to hardware. Problems waking from sleep (I gave up trying to fix this and just restart every time now), problems with external monitor not reawakening after screen timeout, problems with the wifi speed suddenly dropping until I restart (apparently Linux doesn't play well with Intel Killer 6e laptop wifi), problems with my Brother printer (won't wake from sleep over wifi, works fine on Android and Windows though).

None of these are quite deal breakers. Sure, I have to open and close my laptop lid three or four times to get the external monitor to switch back on, and and the login prompt will only show on my laptop screen which gets set to 1% brightness every restart, so if it's sunny I have to stick my face right against the screen to see it.

Nevertheless, I persevere. I've fixed 70% of the initial issues. But you know what I will not do? Recommend Linux desktop to a non-technical person. My mother, my sister, my girlfriend, most of my acquaintances. They would hate to deal with this stuff, and simply don't have to on Windows, for all it's faults.

I think that people who recommend Linux desktop nearly all started by buying a laptop that officially supports Linux, or at least is known to not have issues like these. Then they forget how important this step was and go around recommending it to everyone.

Most people shouldn't install a Linux desktop on any normal Windows laptop. Not a decade ago when I last seriously tried it out, and not now either. Although the experience definitely has improved, so maybe in another 5 or 10 years.
by pjmlp | 2025-09-07 08:08:00+00:00
Have to read it with time, however as Portuguese I imagine the service done during the same day of the tragedy was as always in our culture, "good enough" and to move on.

Likewise having all offers turned down for service, in some other cultures, they would rather shut down the funicular than keep it running without such contracts in place.

Now several people are dead.

As usual, "casa roubada, trancas às portas"
by aw1621107 | 2025-09-07 08:08:57+00:00
The interpretation is probably up for some debate especially since meeting details are not public, but some relevant links are:

- The P3390R0 Safe C++ proposal and the related vote in the 2024-11 Wrocław meeting: https://github.com/cplusplus/papers/issues/2045

- The adoption of the paper P3466 R1 (Re)affirm design principles for future C++ evolution at the same meeting, which contains language which can be interpreted as preemptively foreclosing a Safe C++-style approach: https://github.com/cplusplus/papers/issues/2121
by lock1 | 2025-09-07 08:10:39+00:00
Installing stuff with your package manager?

In my experience, it's still quite annoying and fragmented in Linux desktop to install stuff here. GUIs like KDE Discover exist, but sometimes it doesn't do the things I expect them to do. For example Wine. Last week I tried to install it from Discover but it doesn't work like expected for apps I need. After figuring things out, it was some kind of regression bug, and I had to open a terminal to install the version I needed.

Games, sure. I think Steam + Proton does a very good job making things seamless; you don't even need to do anything other than press the install button on your library. This is what I expect if you try to sell Linux to the general population.

Drivers, it's kind of a mixed bag. I've had some bad experiences with Nvidia drivers lately, and it just got fixed in the latest patch. Proprietary drivers also rarely support Linux distros. It might be useless, but some people might find their RGB mouse and peripherals not working anymore to be a dealbreaker.
by KronisLV | 2025-09-07 08:11:07+00:00
> No, it's because reading code is slower than writing it.

This feels wrong to me, unless we qualify the statement with: "...if you want the exact same level of understanding of it."

Otherwise, the bottleneck in development would be pull/merge request review, not writing the code to do something. But almost always, it's the other way around - someone works on a feature for 3-5 days, the pull/merge request does not really spend the same time in active review. I don't think you need the exact same level of intricate understanding over some code when reviewing it.

It's quite similar with the AI stuff, I often nitpick and want to rework certain bits of code that AI generates (or fix obvious issues with it), but using it for the first version/draft is still easier than trying to approach the issue from zero. Ofc AI won't make you consistently better, but will remove some of the friction and reduce the cognitive load.