MurphyA/hacker-news huggingface dataset:
by Der_Einzige | 2025-07-21 07:37:21+00:00
Wearing unfashionable or ugly clothes will get you treated poorly by others, which leads to negative life outcomes. No one finds old navy or costco 20-30$ jeans fashionable.

You need to trust that the manufacturer didn't cheap out in ways that could negatively impact your health.

From https://www.scmp.com/lifestyle/fashion-beauty/article/319092...

"Experts said Shein is not a unique case. Clothes from many large clothing brands like Lululemon, Old Navy, and REI have been found to contain toxic chemicals."

Selvedge Denim from made in america/japan brands (i.e. brave star, gustin, naked and famous, iron heart, etc) is made using 1940s machines/techniques using (usually) 100% cotton denim. No toxic chemicals.

My jeans are better than yours.
by holowoodman | 2025-07-21 07:37:31+00:00
seccomp BPF, eBPF, in a way SELinux/AppArmor/Tomoyo/..., maybe you can even call namespaces some kind of syscall filter. And then there is the auditing framework, where you can at least record which critical syscalls were performed.

Nowadays its mostly a combination of eBPF, SELinux and auditd plus namespaces in case of containers. Usually in the combination that some distro ships, so nothing really fancy.
by ZenoArrow | 2025-07-21 07:38:16+00:00
> You gave yourself wiggle room

That's a strange way to say you didn't claim that the die size accounted for all of the transistor count improvement.

> Sometimes other people aren't completely clueless.

When did I say they were clueless? At most I've suggested that they're focusing on the wrong thing, that doesn't imply they're totally clueless.

Similarly, you have focused on the wrong thing with the last comment I made. The main point of it was to illustrate that looking at transistor count alone is a poor metric to track manufacturing node progress, and a far better metric is transistor density (i.e. you need to account for both transistor count and die size at the same time, otherwise you can appear to make more progress on transistor count by increasing the die size).

Am I calling you clueless? No. I am suggesting that you need to look at the intention behind what I'm saying.
by pnt12 | 2025-07-21 07:38:48+00:00
A quick summary that does it for me: a log is something you read, a metric is something you measure.

Usecases:

Log: search, get context, read

Metric: measure, plot dashboards, define alerts

My theory for the concepts being so mixed up together: you use both to troubleshoot, and I think the old school way to emit metrics was to parse logs and turn that into measures.
by darkwater | 2025-07-21 07:39:02+00:00
How convenient, I just got installed a Daikin not even knowing it could have WLAN capabilities, discovered that it has, that is cloud-only but it wasn't like that til long ago. Currently I'm using this bridge to their cloud Onecta for Home Assistant (https://github.com/jwillemsen/daikin_onecta) and so far it's working great.

But this project is definitely nicer! But I don't fully understand how do I connect the ESP32 to the aircon. I see you can buy a cable on Tindie but... oh wait, I know see a badly illuminated part of the attached YouTube video where he does open the thing up and connect the cable but really, it's not that clear to me (especially considering there are a gazillion slightly different Daikin split models out there).

Any help appreciated (even if it's just a pointer to RTFM)
by Too | 2025-07-21 07:39:46+00:00
So instead of ’const tubeStations = useDatasource()’ we now type ’<DataSource id=”tubeStations” />’ and anything beyond this basic example is left as exercise for the reader.

Doesn’t seem like a big improvement? In fact the opposite. Sure, React’s stateful hooks mixing in a semi-declarative mode of programming in otherwise imperative code isn’t exactly intuitive, but the flexibility and familiarity you get from having full JavaScript at your fingertips is worth everything. Hands up anyone who want to learn how to make a for-loop with filter+map in xml syntax. Didn’t think so.

If you want to fix react what you should do instead is keep jsx and give stateful hooks a dedicated section that can’t be mixed up in rendering code.
by Der_Einzige | 2025-07-21 07:40:29+00:00
There's sneaker head culture and than there's the high end foot wear crowd.

Sneaker heads are all about the new nike x yeezy "mchitler edition" collab air joran X's

high end foot wear crowd will drop 700$ on aldens and almost 1000$ on a pair of boots from whites or nicks which will outlive you and your parents.

It's not the same crowd.
by piva00 | 2025-07-21 07:40:55+00:00
Exactly, been watching since 1994, before DRS and budget caps it had whole seasons where a team would dominate with cars almost 1s faster per lap than others, and the only thing keeping the championship a little entertaining was the reliability failures.

Teams running 3 different engines during a weekend between qualification/race while others only had money for 1 engine every few races. Teams that could outspend other teams by a factor of 10 sometimes, quite ridiculous.

I wish cars to get smaller, these behemoths really crowd narrow historical tracks such as Suzuka, the 2026 regs seem to be taming the size of the cars and I hope it's a direction they continue for the next formula changes.
by Abishek_Muthian | 2025-07-21 07:41:42+00:00
What type of code you write for which the opensource models aren't good enough?

I use Qwen2.5 coder for auto complete and occasional chat. I don't want AI to edit my code and so this works well for me.

I agree that the hardware investment for local AI is steep but IMO the local models are good enough for most experienced coders who just want a better autocomplete than the one provided by the IDE by default.
by thaumasiotes | 2025-07-21 07:42:47+00:00
Seek by iNaturalist has the same problem: if you wiggle your camera around enough, it will give you a species identification. But that species identification will be spurious. It's not reliable at all.

Pointing this out on HN has sometimes resulted in a lot of upvotes and sometimes in a lot of downvotes. I don't know why. In all cases, Seek identifications are unlikely to be correct.

(I also got one response saying I was wrong to try to tar iNaturalist by association with the unaffiliated app "Seek by iNaturalist". As the name of the app suggests, they are not in fact unaffiliated.)
by jrapdx3 | 2025-07-21 07:43:15+00:00
Well, Tcl is kind of a mixture of scope rules. In some respects, e.g., within a proc, it's mainly a lexical environment, but of course dynamic scoping is introduced by commands like upvar/uplevel. FWIW Tcl programmers don't concern themselves very much with sorting out dynamic vs. lexical. In any case, Tcl programmers are careful to maximize static scoping. No doubt that's necessary to create reliable larger programs many of which have been written in Tcl.
by KronisLV | 2025-07-21 07:45:03+00:00
My colleagues love to log as little as possible and most of the projects I’ve seen still treat logs as files instead of event streams that could have some search and filtering and categorization and automated alerting.

It’s kind of unfortunate, because for example there’d be pushback against logging branches in code etc., except for trace logs (that others wouldn’t add) that are also off most of the time when problems actually happen. It does help a lot in personal projects though, albeit the limited traffic there kinda minimizes any problems that ample logging might otherwise cause.

At least it’s possible to move in the direction of adding some APM like GlitchTip or Skywalking.
by spauldo | 2025-07-21 07:45:39+00:00
Active electronics is one are you need to be the most careful. Pop that cheap relay open and look at the components - ten to one, they'll be completely potted in opaque material that hides the fact it's using an underrated thyristor. It'll work... as long as you don't push too much current through it. It might also catch fire.

You can't even trust what's printed on the ICs. Seriously, look into chip counterfeiting, it's a real problem.

That's why active components from Digikey and Mouser are so much more expensive than what you see on Amazon or eBay. They can trace the components back to the fab where they were made. You pay more, but you know you're getting what you ordered.
Show HN: Vartiq – Webhook Infra for High-Velocity Dev Teams
by Tanjim | 2025-07-21 07:47:13+00:00
Hi HN,

I’ve been working on Vartiq, a plug-and-play Webhook as a Service platform.

What it is: Sending outbound webhooks reliably is a pain many SaaS products face. You end up building: - Delivery logic with retries and exponential backoff - Dead-letter queues for failed deliveries - Observability pipelines for logs and debugging - Auto-scaling infra to handle spikes in events

Vartiq aims to take all of that off your plate.

Key features: Zero lost events – reliable delivery with auto retries Dead-letter handling out of the box Live observability – dashboards, delivery logs, and metrics Auto-scaling to millions of events per day 5-minute integration via REST API or SDKs (JS, Python, Go, PHP)

Why we built this: In my past roles building SaaS products, webhooks were always an afterthought – until reliability issues surfaced during customer integrations. It cost us engineering time and customer trust. Vartiq is our attempt to solve that for dev teams.

Looking for feedback: 1. What has been your experience building webhook systems? 2. Are there edge cases or reliability challenges you faced that you’d like infra like this to handle?

Happy to answer any technical questions or implementation details below. Thanks for checking it out.
by weitendorf | 2025-07-21 07:47:29+00:00
I think there is a very large amount of overlap between the people who

1. know what io_uring is

2. are interested in performance enough to look at improvements based on new linux kernel system calls and talk about it in public

3. care about security in multitenant environments or the syscalls used by third party libraries

I think io_uring right now probably makes a lot of sense for HPC and highly technical, performance-sensitive financial stuff, but they can be kind of insular. I don't think most linux hobbyists really need the performance benefits enough t care about it, and most businesses are using a major cloud vendor/don't have the scale or expertise to be thinking about this kind of stuff. Which leaves major cloud providers and really big businesses like Meta with their own internal clouds as the ones that stand to benefit enough to care about performance while really caring about security
by thaumasiotes | 2025-07-21 07:47:42+00:00
> Elevating "memoization+recursion" to "dynamic programming" seems like a development that Bellman didn't anticipate

Well, it also isn't a development that happened. You can (always) implement dynamic programming as recursion with memoization. But an algorithm that is recursive and memoized isn't necessarily an example of dynamic programming.

The point of dynamic programming is that you set up the recursion so that recursive calls do hit the cache, not that there is a cache and if you're lucky they might hit it.
by bryanrasmussen | 2025-07-21 07:47:54+00:00
right Stack Overflow over the years has gone from a site where it was useful to ask questions about stuff you knew nothing about in order to learn to becoming a site where you ask things you already almost have the answer to, get 90% of the way done in answering the question and stop because you realized what the answer must be OR get 100% done and then answer your question a few minutes/hours later.
by Cthulhu_ | 2025-07-21 07:48:30+00:00
Because that would mean they were wrong and their faith was misplaced. Faith is a good word to use in this case, because people like this are AI evangelists, going beyond selling it as "it is good because objective reasons 1, 2 and 3", into "this will revolutionize the world and how you think". They will overhype it and make excuses or talk around its flaws. Some of them are true believers, but I'm convinced most are just trying to sell a product or themselves.
by seventhtiger | 2025-07-21 07:48:50+00:00
For the same reason I'm against capital punishment. I don't trust the state with the due dilegence to have direct power over life and death. What happens when care is available but insurance figures assisted death is cheaper? The fact that someone could look at the healthcare system and say "give them the option to kill people" is wild. You can say whatever you want about criteria and process, then I want you to think of the million ways things go wrong when lofty goals are transformed into bureaucracy.
by random3 | 2025-07-21 07:49:29+00:00
I can't find the resource, but, according to Bellman he needed a name that wouldn't sound like something the army would scrape— effectively protecting his research. He had a few options and "dynamic" sounded "cool" enough, in his opinion, for army.

This said, the "programming" part is pretty accurate, but IMO the author misses the point with what "computer programming" meaning is, afterall.
by JumpCrisscross | 2025-07-21 07:49:53+00:00
> more lanes doesnt help congestion

It does increase throughput. And it’s not relevant to a weighing of reducing ridesharing and increasing lanes—both would induce demand.

And as another person said, a single streetside-parked car has made that entire street more dangerous for bikers. Take out streetside parking and you can add lanes for cars, light rail, busses, bikes or even just widen sidewalks and add more trees.

Parked cars add to congestion far more uselessly than taxis, ride sharing vehicles or AVs.
by tarasyarema | 2025-07-21 07:49:54+00:00
Hi there!

I always wanted to contribute to OSS. I tried direct ways to do it, like Hacktoberfest, finding good-first-issues, reading contribution guides. Nevertheless, after a while I found that the best way to do it (for me) was to actually build something I was passionate about first, which naturally led to contributions.

tl;dr: Stop trying to force contributions. Start by solving your own problems, and the contributions will follow.

Curious about how did you started to contribute? Any fun stories around that?
by matsemann | 2025-07-21 07:49:55+00:00
Dynamic programming is for me one of the things that really scratched an itch and made me start liking programming. The invariant/inductions of composing smaller things into a bigger solution is so elegant.

I do feel dynamic programming influences how I solve problems in my work. How, if you compose the problem correctly, it can never reach a fault state in a sense. Not sure if I'm able to explain what I mean, but for instance I recently refactored an old application at work that had lots of bugs, was hard to grasp and had loads of error checking code / asserts. However, by composing it a bit differently, modeling it properly, I could remove swaths of code / defensive programming because I with the help of the compilator now can guarantee the base cases holds etc.

Edit: one a bit contrived example might be an Order. If you have one big model tracking the lifetime of an order, some fields will have to be null until they have a value. For instance a field sent_at_time. Then you have a function that generates an email to the customers, which uses that field. How do you handle that field possibly being null? Do you say "I know that at this point in time, this field is always set since the email is generated after sending" and tell the compiler to ignore the possibly null value? Or do you handle the possible null with some error handling / fallback value, that in practice is dead and cluttered code and will just confuse a future developer seeing it with questions like "how can this happen"?

With the lessons from dynamic programming in mind, I think both are bad solutions. You want to be able to go from state n to n+1 with safety (order purchased, ordered sent, email sent). So model it in a way that the email sending code only ever can get an order in the correct previous state as input. Then if the assumption were to break in the future (maybe some orders are digital and the email is sent without the order having been physically sent), that breaking assumption will immediately be obvious in how the state/models are composed, and not in runtime when either the not-null-assert fails or the emails start having the fallback value.
by Animats | 2025-07-21 07:50:49+00:00
The site has a long scrolling thing which presents a box called "Continue". If clicked on, that yields a popup that says "Checking compatibility" and then loads some page called "Manuals Explorer", which then tries to install a browser extension.

The hostile code seems to come from "html-load.com".

Suggest avoiding "buzzfeednews.com" for hosting hostile code.
by Certhas | 2025-07-21 07:50:59+00:00
Dynamic is definitely not meaningless. I am familiar with dynamic programming from the optimal control theory point of view, and it's squarely focused on dynamical systems. The central equation of dynamic programming is the Hamilton-Jacobi-Bellmann equation, a generalization of the Hamilton-Jacobi equations of classical mechanics. And the terminology programming in this context also exists in linear programming and stochastic programming. It's definitely confusing today, but these terms simply predate the modern use of programming, as well as modern computers. I am honestly a bit puzzled by everyone in this comment section talking about recursion + memoization (as a way to efficiently implement backward induction I presume?). It seems like computer science teaches a particular application and implementation of dynamic programming ideas and people mistake that for the whole thing?
by Terr_ | 2025-07-21 07:51:00+00:00
> claimed AI coding tool Replit deleted a database despite his instructions not to change any code without permission.

Well... yeah, this is a totally expect-able failure route, because LLMs are just bullshitting document-generators.

When you say, "don't make changes", there isn't even an entity on the other end that can "agree." The fictional character doesn't really exist, and the ego-less author isn't as smart as the character seems.
by inglor_cz | 2025-07-21 07:51:05+00:00
Putin may be disciplined (I would believe it in case of a career KGB employee), but that has zero to do with the outcomes of his reign. The Russo-Ukrainian war already looks like a completely avoidable disaster, and we don't know yet what is going to happen.

Maybe a more sloppy ruler would not invade, instead preferring time-outs with lovers.
by blutack | 2025-07-21 07:51:30+00:00
RevK's blog has a lot of interesting posts on it.

https://www.revk.uk/

He also runs an excellent ISP in the UK called AAISP which I can highly recommend (https://www.aa.net.uk)

AAISP build their own core & customer networking devices/routers from scratch (not Linux based) in the UK. They are fascinating to use - a completely different evolutionary tree to any other networking kit I've used. Some unique features.

https://www.firebrick.co.uk/fb9000/
by lewdwig | 2025-07-21 07:53:14+00:00
“Evil” is not a medical diagnosis but the classical understanding of evil does overlap quite strongly with the so-called “dark triad” of personality disorders of antisocial personality disorder, narcissistic personality disorder and machiavellianism.

It’s quite startling how often characters in sitcoms tend to demonstrate traits of these three disorders and for a long while I wondered why.

Then I realized the answer is very simple: it’s really funny (when it’s not happening to you).
by Sayrus | 2025-07-21 07:53:49+00:00
I for one use and like using both fzf on the search history and the ghost text history. With history, I often end up writing a line that isn't shell so that it fuzzy-matches what I'm looking for. I like having the passive suggestions in addition to that. It doesn't get in my way and if I like what I read, I can accept it.

I'd rather have a good history search than autosuggestion, but having both is a net-positive in my day-to-day.
by Cthulhu_ | 2025-07-21 07:53:54+00:00
The only way LLM-based software development / production management will be trustable is by actually scaling back what it can and cannot do. Put critical operations in "real" code, so that the LLM can only request a release, triggering a human review of, at the very least, the operation that is about to be done.

Then again, this reminds me of the prompts in operating systems whenever something needs root access, most people just blindly okayed it, especially on Windows since Vista did too many of them even for trivial operations.
by imrejonk | 2025-07-21 07:54:19+00:00
Reminds me of the Pixelflut LED display. The hacker camp SHA2017 had one above a bar, 36C3 had one as well. Their traffic peaked at 4 Gbit/s and 30 Gbit/s respectively.

https://hackaday.com/2020/08/01/playing-the-pixelflut/
by nottorp | 2025-07-21 07:54:56+00:00
> Thus, I thought dynamic programming was a good name. It was something not even a Congressman could object to. So I used it as an umbrella for my activities.

That reminds me of, much later, getting my first basic programming book. In communist Romania. It was titled "Let's learn interactive microelectronics" because "programming" books were considered a waste of resources and did not get approved.
by gf000 | 2025-07-21 07:55:03+00:00
> the only way thats not true is on very niche systems

Are these very niche? Yeah, there is a category of coding where what you are doing is essentially translating from English to some high-level language with high-level APIs. This is not significantly different than translating to Spanish, of course LLMs will be successful here.

But there are endless other domains with complex reasoning where LLMs absolutely suck. Like please tell me how will an LLM reason about concurrent access. And prompting it so that it will reply with "Oh you are right, here is Atomic blahblah" is not reasoning, it's statistical nonsense.

Don't get me wrong, I do think LLMs are a very useful tool, but it is as much overhyped by some as it is underhyped by others.
by hyperman1 | 2025-07-21 07:55:08+00:00
I may be a bit jaded here, but: $politician is shocked by $problemKnownForDecades. These people's outside face is more an opera actor than a real person. So the actual message is probably: Some political faction has decided to push for legislation and needs to sell it to the public.

Combined with the USA's preparation for war on China, the Russia invasion in Ukraine, and the Trump trade war: It seems the EU is aligning itself with the USA againts China, and has to sell this to an anti-Trump citizenship
by ehnto | 2025-07-21 07:55:35+00:00
I remember back in 2006ish, my PC modding days, buying some peltier modules from eBay and (attempting) to get subzero temps out of my CPU cooling.

If I recall correctly I got the setup powered but stopped short of actually putting it on my CPU when I couldn't mount it all in a way that would let me contain the condensation with what I had.

Maybe it was pccooling or pccasemods dot com? There was a really strong community forum back then where it was all going down, people were nitrogen cooling their PCs, watercooling was a big deal, and CPU temps of 60c were considered unsustainable.

I still overclock my computers but usually my aim is a silent computer under 60% load, so my goals have changed. Peltiers are not something I see taking over PC cooling even now. You still need the same radiator capacity, the peltier just moves the heat away faster and can get below ambient temps at the CPU.