MurphyA/hacker-news huggingface dataset:
by edverma2 | 2025-07-03 07:48:25+00:00
All devs should run open-source trufflehog as a precommit hook for all repositories on their local system. It’s not a foolproof solution, but it’s a small time investment to get set up and gives me reasonable assurance that I will not accidentally commit a secret. I’m unsure why this is not more widely considered standard practice.
by TMWNN | 2025-07-03 07:49:30+00:00
Sun did a remarkable thing. It could have stuck with 68K, which it already had great success with from the company's founding, and as other companies did as the article says. Instead it a) aggressively moved to RISC, and b) did so with its own CPU, as opposed to (say) MIPS R2000, or Motorola 88000. It was risky ... and completely the right thing to do, as events demonstrated.

Given that the 68K-based Sun-4 launched at the same time as SPARCstation 1 in 1987, the former was clearly a sop to legacy customer sites not ready yet to migrate to RISC. There is no way that a few years later Sun adds another incompatible 68K architecture.

A more intriguing possibility is Sun buying Amiga in 1984 or 1985. The real Sun was very late to fast graphics, giving others such as SGI an opening. If someone at Sun had had the foresight of the potential of a bit of hardware-accelerated graphics ... The funny thing is that, if this happens, Commodore likely goes ahead with the 900 running Coherent! A Commodore Unix (clone) box in 1985, anyone?
by Propelloni | 2025-07-03 07:50:58+00:00
I'm an introvert, too. I have no troubles participating in, or leading, or even fighting in group activities. Does it exhaust me? Yes, it does. I literally feel physical pain if I have to stay in company for more than maybe an hour. But value is created through interaction, not some process, paper stacks, or a lone wolf hiding in the closet, so I learned a long time ago how to communicate effectively, give and take feedback, organize tight meetings, and facilitate decision making.

I'm actually a bit tired of introverts hiding behind their disposition. You can do something about it, and it's more than complaining.

EDIT: Sorry, that was more rantish than I wanted. But I'll leave it here anyway.
by zeristor | 2025-07-03 07:51:42+00:00
Some of these designs look like they’re Lego version of some Peter Epsom designs.

Science Fiction cover art of the seventies and eighties was amazing, ebooks make me so sad.

Peter seldom is widely loved, and passed away too young.

https://www.peterelson.co.uk/gallery/category.php?cat=11
by dataflow | 2025-07-03 07:51:49+00:00
> D is The One Language to Rule Them All.

That's kind of why I said it's the "jack of all trades". It's not a bad language, it just doesn't beat any existing languages I know of in their own niches (hence "master of none"), so few people are going to find it useful to drop any existing languages and use D in lieu of them.
by amy214 | 2025-07-03 07:52:14+00:00
>There’s actually a lot of open source software made by Chinese people

Yea exactly, there is also a lot of chinese people out there, statistically a large chunk are cool with it.

Same dynamic as the US can be really - other countries see the US government and think to themselves, "I don't like these US people, look at what their government did" meanwhile US people are like "what do you mean, I don't like what the government did either". That's what a lot of Chinese people are thinking (but now allowed to say, in China criticizing the government is against their community guidelines)
by lloeki | 2025-07-03 07:53:48+00:00
> and you can certainly rewrite history.

But you can't coerce everyone in the world to remove all traces of the alternate history that was a thing before being rewritten.

So while you can make git forget something in your local repo, you can't make git forget across the decentralised set of repos, which is part of git's core design.

So in that sense, yes, git never forgets, by design.
by JumpCrisscross | 2025-07-03 07:54:03+00:00
Decent hypothesis, but fails when we compare America to other capitalist countries. (Or non-capitalist countries, extant and historically, with extreme wealth inequality.)

This has nothing to do with capitalism and everything to do with Bush’s decision to invade Iraq. The police state we built internally, lack of trust we engendered externally, economic straitjacket trillions of useless spending caused to our livelihoods and then resulting collapse of the party of Reagan into the vindictive mess it is today, all of these trace from the Iraq War.
by moron4hire | 2025-07-03 07:55:20+00:00
Even assuming python's foreach loop in these cases get optimized down to a very bare for loop, the operations being performed are dominated by the looping logic itself, because the loop body is so simple.

Each iteration of a for loop performs one index update and one termination comparison. For a simple body that is just an XOR, that's the difference between performing 5 operations (update, exit check, read array, XOR with value, XOR with index) per N elements in the one loop case versus 7 operations (update, exit, read array, XOR with value, then update, exit, XOR with index) in the two loop case. So we're looking at a 29% savings in operations.

It gets worse if the looping structure does not optimize to a raw, most basic for loop and instead constructs some kind of lazy collection iterator generalized for all kinds of collections it could iterate over.

The smaller the loop body, the higher the gains from optimizing the looping construct itself.
by aspenmayer | 2025-07-03 07:55:53+00:00
Here’s something from 2024. It’s not heat sources, but tampering with rain gauges in this case.

https://coloradosun.com/2024/09/08/patrich-esch-ed-dean-jage... ( https://archive.is/jBh8H )

> Wrecked rain gauges. Whistleblowers. Million-dollar payouts and manhunts. Then a Colorado crop fraud got really crazy.

> The sordid story of two ranchers who conspired to falsify drought numbers by tampering with rain gauges on the plains of Colorado and Kansas, resulting in millions in false insurance claims
by rgblambda | 2025-07-03 07:56:37+00:00
>were adamant that your second amendment was there to protect free speech

I've gotten into arguments with people (usually non Americans who tend to have an American tinge to their accents from consuming so much U.S. media) who are very pro 2nd amendment and wish their country had similar.

I always ask "How do you destroy an M1 Abrams or F-35 with a licenced hunting rifle?". They usually say "Well at least they have that" then quickly move the discussion on to something else.

Anyone who's seen an episode of Cops knows how much protection a firearm provides you against law enforcement. Zero.
by lloeki | 2025-07-03 07:57:32+00:00
It's not just the C-suite.

I keep seeing and talking to people that are completely high guzzling Kool-Aid straight from a pressure tap.

The level of confirmation bias is absolutely unhinged "I told $AGENTICFOOLLM to do that and WOW this PR is 90% AI!", _ignoring any previous failed attempt_, nor the 10% of humanness needed for the change of what ultimately is a 10 line diff and handwaving any counterpoint away as "you're holding it wrong".

I'm essentially seeing two groups emerging: those all aboard the high velocity hype train and those that are curious about the technology but absolutely appalled about the former's irrational attitude which is tantamount to completely winging it diving head first off of a cliff deeply convinced that of course the tide will rise at just the right time for skulls not to be cracked open upon collision with very big sharp rocks.
by komali2 | 2025-07-03 07:57:51+00:00
> This is definitely not a manipulation of statistics and not a trivialization of food insecurity that are relevant to many parts of the world. And then they wonder why people choose to support billionaires instead of you lying cannibals.

There is no manipulation of statistics here, anyone that's worked in a school could tell you this, including me, personally. There are hungry children in the USA. It should be telling to you and your view on life, and the ideas you consume, that you believe a vast conspiracy to manipulate statistics is more likely than capitalism causing hunger.

> And then they wonder why people choose to support billionaires instead of you lying cannibals.

I really don't understand this insult lol, but I think it's funny that you think billionaires have more support than not. It's fine, the cycle of history that ends with the many poor realizing they outnumber the few rich 100,000:1 definitely will never ever happen again, they should keep concentrating wealth into a few people, it's totally safe this time.

> This countries has nothing to do with an economy built on the principles of the inviolability of private property and economic freedom.

Wrong, they're capitalist.

> USA has more socialism than this countries have capitalism.

Nope, wrong.

> What's the point of even distribution if size of the share is not enough even to not to die from starvation?

I don't get it, are you admitting that people do go hungry in the USA then? Well, regardless, the majority of the food in the USA is thrown away, or subsidies are provided to farmers to not grow it. It's not an issue of scarcity, it's an issue of distribution. Capitalism has no mechanism to guarantee people don't go hungry - if people going hungry is profitable (or ensuring they're fed is not profitable), then, this will occur under capitalism.

> to universal prosperity, as under capitalism, or to various abominations like mass starvation, as without it.

Mass starvation happens today, under global capitalism. Mass starvation happened in the USA once because the stock market crashed (among some other reasons). Capitalism is no more immune to mass starvation than other economic systems. Capitalism also apparently leads to people unnecessarily dying from overwork (exploiting cheap labor in other countries), lack of healthcare (America's for-profit healthcare system), etc.

Your blinders on the true nature of capitalism will only turn people away from it into my friends' welcoming arms. If you're truly interested in maintaining capitalism, you need to get better at defending it, the way neoliberals are. Get better at admitting the faults of capitalism in a way that lets you sustain them, or people are going to abandon it altogether. This dogmatic denial of the flaws of capitalism are funny to watch, but do you no good.
by roenxi | 2025-07-03 07:58:24+00:00
That would suggest either basic Keynsianism or your understanding of it is wrong. Resources directed towards the military (with the exception of research) represent almost pure waste from an economic perspective.

You've got a bunch of poor people starving and set up a factory to produce a couple of bombs and pull some farmers off the land to have them march up and down the parade grounds. That isn't going to put more food on the table. Sure it might be a good idea regardless because being invaded sucks, but it isn't wealth creation without a very creative understanding of wealth. A society can't be better off without creating new wealth.
by JumpCrisscross | 2025-07-03 07:58:37+00:00
A, B, C, D, E and water.

A is a light retinol. B is niacinamide. C is C. D you should be making from sunlight (or getting from supplements). E is E. Water is moisturiser.

Pretty much all evidence-based skincare comes down to providing these vitamins (plus water) to your skin.
by lysp | 2025-07-03 07:59:07+00:00
I also put this blame on the US supreme court too.

1. Presidential absolute immunity decision.

2. The fact that they constantly consider the dozens of presidential appeals.

If DT has no risk of jail, he does what he likes with impunity. Also the SC has allowed him to not take any lower court decisions seriously, by not rejecting his numerous vexatious appeals.

No accountability, no risk of punishment = free reign.
by marcus_holmes | 2025-07-03 08:00:22+00:00
I point you to section 63C 1 in that document:

(1) For the purposes of this Act, age-restricted social media platform means: (a) an electronic service that satisfies the following conditions: (i) the sole purpose, or a significant purpose, of the service is to enable online social interaction between 2 or more end-users; (ii) the service allows end-users to link to, or interact with, some or all of the other end-users; (iii) the service allows end-users to post material on the service; (iv) such other conditions (if any) as are set out in the legislative rules; or (b) an electronic service specified in the legislative rules;

but does not include a service mentioned in subsection (6).

I see nothing in there that talks about young people, identities, flogging anything to marketers, or treating people as product.

I don't dispute that that happens. All I'm saying is that this act is not solving that problem, isn't intended to solve that problem, and is actually part of a larger push to censor the internet for Australians.

This act, as written, requires all interactive websites that are accessible to end-users in Australia to implement age restrictions. And in order to implement age restrictions they must remove anonymity. Which is the point.
by OtherShrezzing | 2025-07-03 08:00:29+00:00
> They like giving directions vocally because that authority is harder to question than if they wrote up a memo

Authority is also much harder to deliver in an asynchronous format. If someone can just _not read_ the memo, it functionally has no power. The risk isn't that your memo might be questioned, it's that your memo might never be read.
by soco | 2025-07-03 08:01:16+00:00
With the automation expanded to the extremes it becomes obvious that you need a new system, society, you name it, a new way of setting up everything. It's not that humans love being a phone operator or creating yet another GUI, but they definitely love to be able to eat. And also love to have a purpose in life. I currently don't see much happening along those lines.
by daxfohl | 2025-07-03 08:01:30+00:00
I'd suggest the problem isn't that LLMs are nondeterministic. It's that English is.

With a coding language, once you know the rules, there's no two ways to understand the instructions. It does what it says. With English, good luck getting everyone and the LLM to agree on what every word means.

Going with LLM as a compiler, I expect by the time you get the English to be precise enough to be "compiled", the document will be many times larger than the resulting code, no longer be a reasonable requirements doc because it reads like code, but also inscrutable to engineers because it's so verbose.
by mft_ | 2025-07-03 08:01:46+00:00
I've led cross-functional teams in multiple organisations (albeit not in tech) and I'd argue it's a bit more complex than that. Regular team meetings can cover multiple needs, e.g.:

* Keeping everyone working on a complex project updated on progress

* Keeping everyone 'aligned' - (horrible corporate word but) essentially all working together effectively towards the same goals (be they short or long term)

* Providing a forum for catching and discussing issues as they arise

* A degree of project management - essentially, making sure that people are doing as they said they would

* Information sharing (note I prefer to cancel meetings if this is the only regular purpose)

* Some form of shared decision-making (depending on the model you have for this) and thus shared ownership

If a meeting 'owner' is sensitive to not wasting people's time and regularly shortens or cancels meetings, it can be done well, I believe.
by oefrha | 2025-07-03 08:02:34+00:00
> GitHub keeps these dangling commits, from what we can tell, forever.

Not if you contact customer support and ask them to garbage collect your repo.

What I do when I accidentally push something I don’t want public:

- Force push;

- Immediately rotate if it’s something like a secret key;

- Contact customer support to gc the repo (and verify the commit is gone afterwards).

(Of course you should consider the damage done the moment you pushed it. The above steps are meant to minimize potential further damage.)
by sureglymop | 2025-07-03 08:02:56+00:00
I was about to remind the person you replied to that we are on hacker news.

Judging by the name you'd think it would be a place where hacker ethics are prevalent (which would be most close to libertarianism in the original leftist sense, or anarchism). But of course we know that that's not the case, given how the site came to be and who runs it.

Personally I believe that the situation the US is in can largely be attributed to the failures of the democrats. When, due to material conditions, the voting population increasingly becomes accepting of more progressive ideas but instead gets neoliberal pseudo-progressives like Hillary Clinton as possible president, they become disillusioned with their party.

If you live in another country, let it be a lesson that neoliberalism can help the convergence to fascism by dismantling the leftist counter balance needed to be in place and try to stop it while you still can.
by froobius | 2025-07-03 08:03:56+00:00
It's a bad idea...

- commit secret in currently private repo

- 3 years later share / make public

- forget the secret is in the commit history, and still valid, (and relatedly, having long-lived secrets is less secure)

Sure that might not happen for you, but the chances increase dramatically if you make a habit of commiting secrets.
by ur-whale | 2025-07-03 08:03:58+00:00
In what way is that question trivia?

I believe you under-estimate what a good interviewer is trying to do with questions such as these:

Either you've seen the trick before and you get an opportunity to show the interviewer that you're an honest person by telling him you have. Huge plus and the interview can move on to other topics.

Either you haven't and you can demonstrate to the interviewer your analytical skills by dissecting the problem step by step and understanding what the code actually does and how.

Bonus if you can see the potential aliasing problem when used to swap two variables.

Not a trivia question at all.
Show HN: Why not more sales from the same traffic?
by aswinsil | 2025-07-03 08:04:01+00:00
Hey HN, I built ScanCX - it shows hidden trust issues of any e-com store. Friction points that might be turning potential buyers/repeat buyers away.

It’s different from the usual speed or SEO tools - this one thinks like a customer. Average e-com conversion rate is 2-3%. That's a huge 97% potential buyers that didn't like something even though the products are great. That's why I build this tool to make stores more customer friendly and trustworthy to get more sales from the same traffic/marketing spend.

If you're curious what might be quietly hurting conversions, give any store website a quick scan.

Would love to know what you think!

– Aswin
by matwood | 2025-07-03 08:04:18+00:00
At an individual level you are correct, but that's not what the 2nd amendment was about. An armed populace can stand up to a government. All you have to look at are the wars that the US has lost - Vietnam and Afghanistan come to mind.

With that said, it's moot since a large portion of the population wants an authoritarian dictator/king. I'm not sure if the founders addressed the issue of the people possibly wanting a king again.
by albertzeyer | 2025-07-03 08:04:20+00:00
It's a bit weird that such a paper (standard ML topic, would fit to NeurIPS, ICLR, ICML or so) is published in such a conference (IEEE Annual Ubiquitous Computing, Electronics & Mobile Communication Conference (UEMCON)), which seems not really the best fit. This indicates that the quality bar would not be reached for the top venues.

If you want to read some recent interesting ML papers (on Transformers, or whatever you care), check e.g. recent ICLR 2025 papers (https://openreview.net/group?id=ICLR.cc/2025/Conference#tab-...), or other recent venues.
by nandomrumber | 2025-07-03 08:04:43+00:00
Further to that, have a look at the refrigeration units on chest type portable fridges. They’re really not very big, compressor smaller than a roast chicken, small low speed fan similar to an auxiliary cooling fan in a PC, a controller board, and a few meters of metal tubing.

They typically consume around the 50 to 80 watts while the compressor and fan are running, and generate two to four times that in cooling capacity.

Surely people have adapted these in to PC cooling units?
by surgical_fire | 2025-07-03 08:04:53+00:00
I can't speak much about his drug use, but not really the reason I dislike him.

While I don't care much about his political affiliations (not really the reason I already thought he was a shit person), there are some facts about that:

1 - He did a nazi salute on camera. You may argue that he was joking or being edgy, but you can't deny facts.

2 - He actually tried to influence German elections in favor of AfD, which is a far-right parties with some damning neo-nazi connections.

3 - He constantly replicates extreme far right ideas on his social media platform.

Does this mean Elon is a Nazi? Perhaps not, but he has very little problems in associating himself with those that espouse tenets of that ideology.

I think he is just a retarded buffoon that happens to be extremely rich. I always rolled my eyes back when the mainstream media treated him as some kind of visionary genius, and now that it stopped he chases some crowd that still listens what he has to say.
Why Are SaaS Boilerplates Still This Expensive? So I Built My Own
by Shreyan19 | 2025-07-03 08:04:59+00:00
Hey HN,

I've been building indie SaaS products for a while now, and one thing kept bugging me:

Why are SaaS boilerplates so damn expensive — and still so incomplete?

$199 for boilerplates that don’t even include payments?

Some don’t have auth wired in properly.

Others are bloated with stuff I end up ripping out.

So instead of buying another overpriced "starter kit," I built my own: https://www.saasrocket.pro

It's called SaaSRocket. It’s not revolutionary — it's just actually complete:

Supabase (auth + DB)

Resend (transactional emails)

Lemon Squeezy (Stripe alt payments)

Cloudinary (blogs/media uploads)

Dashboard layout with SEO + unit tests

I priced it at $49, because boilerplates shouldn’t feel like buying a car. It’s meant for solo founders and indie hackers, especially in lower-income regions.

I’m curious — is there a reason most devs just tolerate overpriced boilerplates?

What would your ideal boilerplate look like? What would it cost? What’s the one feature you always end up adding manually?

Open to brutal feedback — I’m using this to build my next SaaS myself.

– Shreyan X: @ShreyanRants
by iotasilly | 2025-07-03 08:05:35+00:00
Since J allow you to write short code, here are three example in J. The first use iota1000, the second a random permutation, and the third use matrix notation to create a little guessing game.

Example 1: Find the missing number

xor =: (16 + 2b0110) b. iota1000 =: (i. 1000) missingNumber =: (xor/ iota1000) xor (xor/ iota1000 -. 129) echo 'The missing number is ' , ": missingNumber

This print 'The missing number is 129'

Example 2: Using a random permutation, find the missing number.

permuted =: (1000 ? 1000) missingNumber = (xor/ permuted) xor (xor/ permuted -. ? 1000)

Example 3: find the missing number in this matrix.

_ (< 2 2) } 5 5 $ (25 ? 25) 12 9 1 20 19 6 18 3 4 8 24 7 _ 15 23 11 21 10 2 5 0 16 17 22 14

Final test: repeat 10 times the example 3 (random matrices) and collect the time it takes you to solve it in a list of times, then compute the linear regression best fit by

times %. (1 ,. i. 10)

Did you get better at solving it by playing more times?

I am not affiliated with J, but in case you want to try some J code there is a playground: https://jsoftware.github.io/j-playground/bin/html2/

Edited: It seems I am procrastinating a lot about something I have to do but don't want to.