MurphyA/hacker-news huggingface dataset:
by cowboylowrez | 2025-04-01 23:19:40+00:00
from the ubc.pdf paper linked in this thread.

int d[16]; int SATD (void) { int satd = 0, dd, k; for (dd=d[k=0]; k<16; dd=d[++k]) { satd += (dd < 0 ? -dd : dd); } return satd; }

This was “optimized” by a pre-release of gcc-4.8 into the following infinite loop: SATD: .L2: jmp .L2

(simply because k<16 is always true because k is used as an index to an array with a known size)

I mean thats just sort of nuts, how do you loop over an array then in an UB free manner? The paper referred to this situation being remediated:

"The GCC maintainers subsequently disabled this optimization for the case occuring in SPEC"

I try to keep up with the UB thing, while for current code I just use o0 because its fast enough and apparently allows me to keep an array index in bounds. Reading about this leaves me thinking that some of this UB criticism might not be so mindless.
by ryandrake | 2025-04-01 23:20:30+00:00
Yep, even if the credit card didn't offer any rewards or protection, I would still use them because I'm billed a nonzero number of days after the charge happens. And that's an interest free loan, where I can instead earn interest. If your credit card balance is $5000, and you only have to pay it an average of 30 days after the purchases are made, well... The 30 day T-bill rate is currently 4.38%, so putting that $5000 into the safest, most liquid investment available for 30 days will yield $18.25, which is much better than cash or a debit card where you are immediately charged.
by westurner | 2025-04-01 23:20:34+00:00
From https://news.ycombinator.com/item?id=33302599 :

> If you label things with #GlobalGoal hashtags, others can find solutions to the very same problems.

The Global Goals are the UN Sustainable Development Goals for 2015-2030.

There are 17 Goals, 169 Targets and 247 Indicators.

There have been social media campaigns with hashtags, so there are already "hames" (hashtaggable names) for the high level goals.

Anyone can implement #hashtags, +tags, WikiWords, or similar. The twitter-text library is open source, for example.

Re: Schema.org/Mission, :Goal, :Objective [...] linked data: https://news.ycombinator.com/item?id=12525141

"Ask HN: Any well funded tech companies tackling big, meaningful problems?" https://news.ycombinator.com/item?id=24412493

From https://github.com/thegreenwebfoundation/carbon.txt/issues/3... re: a proposed carbon.txt:

> Is there a way for sites to sign a claim with e.g. ld-proofs and then have an e.g. an independent auditor - maybe also with a W3C DID Decentralized Identifier - sign to independently verify?

When an auditor confirms a sustainability report, they could sign it and award a signed blockcert.

(Other ideas considered for similar matching, recommendation, and expert-finding objectives: A StackExchange site for SDG Q&A with upvotes and downvotes, )

I saw that you're not interested in (syndicating content for inbound links with) AT protocol? Is it perceived development cost and estimation of inbound traffic?

What differentiates your offering from existing platforms like LinkedIn? How could your mission be achieved with existing solutions?
by pmarreck | 2025-04-01 23:20:41+00:00
Downloading the MLX version of "Qwen2.5-VL-32b-Instruct -8bit" via LM Studio right now since it's not yet available on Ollama and I can run it locally... I have an OCR side project for it to work on, want to see how performant it is on my M4... will report back
by TheCycoONE | 2025-04-01 23:21:12+00:00
I think the author missed that we are criticising typescript's enum implementation not the concept of enums in general.

They transcribe to something better defined in javascript. Typescript itself akwardly sits on the fence of almost entirely erasable and some decisions only make sense if that was the goal, like import files having a js rather than the ts extension that would point to the file in source.

Enums become javascript objects in a very leaky abstraction full of footguns. There are plenty of articles that cover these and this author seems to have written them off as 'not holding it right' but a good language feature fits in the hand naturally to stretch the analogy.
by michaelt | 2025-04-01 23:21:13+00:00
For better or for worse, we've just lived through several decades of rock bottom interest rates.

Sure, you ask someone who's 60 or 70 years old, they'll tell you debt is slavery, you'll end up paying back twice what you borrow, and if you're out of money at the end of this month and you take out a loan you'll be even worse off at the end of next month leading to a spiral of debt. Being disciplined with money is crucial to your family's wellbeing. Because they lived through periods of incredibly high interest rates and saw that stuff happening first-hand.

You ask a 40 year old, though? For most of their adult lives interest rates have been below 1% as the economy staggered from one financial crisis to another. Their lived experience is that buying a car on credit has almost no downsides, you certainly don't end up paying 100% more, you pay perhaps 5% more to get the car 2 years earlier. Even college-educated folk who operates spreadsheets for a living could convince themselves it was better not to pay off their mortgage, better to put that money into the stock market.

It remains to be seen how modern attitudes towards debt will respond to non-zero interest rates. I hope it doesn't go too badly...
by harry8 | 2025-04-01 23:21:17+00:00
One example of plenty.

https://twitterfiles.substack.com/p/how-twitter-let-the-inte...

From no. 20 but you should really read all of it. The cynic in me expects the goalposts to move and more smear.

20. “Were Twitter a contractor for the FSB… they could not have built a more effective disinformation platform,” Johns Hopkins Professor (and Intel Committee “expert”) Thomas Rid told Politico.

"Were Twitter a contractor for the FSB," the Russian intelligence agency involved in the 2016 campaign to meddle in the US election Rid Said, "They could not have built a more effective disinformation platform."

21. As congress threatened costly legislation, and Twitter began was subject to more bad press fueled by the committees, the company changed its tune about the smallness of its Russia problem.

Republican partisan's probably see it as treason. Democrats partisans pretend it's a "nothingburger." Everyone else who notices is getting despondent which is probably just as bad.

FIRE, Greenwald, Taibbi have stood and continue to stand on principle not partisan and will get relentlessly smeared with insane lies because of it.

edit: sidenote. For me the google search "twitter files taibbi" without quotes returned Tabbi's publication racket on page 4. From there I could get the twitter files separate publication. That seems like a very bad search fail. I wonder why it is like that.
by lxgr | 2025-04-01 23:22:15+00:00
It's $0 for both credit and debit, under Visa and Mastercard "zero liability" rules.

Even under Regulation E, it would only be $50 as long as the issuer is notified within two days of losing your card, and $0 for other types of fraud (e.g. unauthorized use of your card number online) if reported within 60 days of receiving the corresponding monthly statement.
by ALLTaken | 2025-04-01 23:22:24+00:00
Omg, I know I did this, but throw a double proxy. I thought a special education pupil howto remote shutdown and wrote a script. I told him they'd know it's him. So we scripted the Internet Explorer icon with a pre-exec command script, that basically did a network-scan for IPs and shutdown each one remotely. Poor fella sitting there didn't even know what's happening. Was a bully, but still. They interrogated him and he didn't even know what happened.

We sat there and saw every computer at the school turn off with a custom message. Except his computer. He really looked dumbfounded.. I get a smile when I think of it.. it wasn't anything evil or bad, but just fun.

Good 'ol times. He didn't get into any trouble, just disciplinary extra curricular work. Which I think was good for that bully anways.. he was lacking behind.

Also I remember accesing everyone $C drive and copy a counter-strike map of the school I was modeling into. So, the next time anyone went to a LAN-Party (THOSE were GOOD Times), everyone would see the school name as a map and nobody would know who made it. Obviously no violence intended. I just wanted to play in an environment that I spent most of my day and have fun afterwards at they way we could have some fun. Asking everyone to download it would've just led to trouble. Of course I heard of school shootings, but counter-strike was harmless. Those who did think of worse had this in mind anyways.
by AngryData | 2025-04-01 23:24:22+00:00
Because credit cards are a scammy middleman that has dug their nails deep into the political and financial worlds that lets them bully merchants into using them while pretending to be a benefit to consumers. In reality they just drive the price up for everyone, and then push a few percentage of the markup they pocketed onto consumers to appear useful. Consumers lose in paying higher prices, merchants lose by money being siphoned away to a 3rd party.
by lupusreal | 2025-04-01 23:25:15+00:00
From what I've read (not your links), roughly about 40% of Americans with credit cards don't carry a balance month to month. That's not most, but it is many. Which is what was said:

> MANY folks carry zero credit month to month

Even if 40% is 10x too high, and I'm pretty sure it isn't, 4% of all credit card holders is still a hell of a lot of people. As far as I can tell you haven't actually contradicted the claim.
by nickpsecurity | 2025-04-01 23:25:16+00:00
"If you're in the US I understand that you may not understand such a thing, or it may seem extreme to you because there is effectively no political left wing in America"

In America, almost all corporate outlets are Progressive left, most universities are, their politics were pushed into many big firms, and most of the government was liberal. They force their views on others in most places they control, too, with dissent not allowed.

A newer trend we saw during elections was them saying the same things in sync like they had a script. Recently, they all said positive things about Biden and Harris while saying negative things about Trump. They were willing to lie together many times. Like how liberal media reported Harris was the border czar in the past but all said it was a myth when Trump pointed it out. They also constantly misquote and lie about Trump which annoys me because I hate wasting time on lies or doing retractions.

The total, leftist control of major institutions and media... along with their games and lies... is the largest cause of the rise of Trump. It's why we now have kore accurate, but biased, reporting like The Daily Wire. Many people have left the Democrat party as a result of these things. Liberal news is lower rated by liberals than in the past.

Their control of media is proven by the fact that whatever you watch led you to believe they weren't in control of the media and country for a long time.
by Spooky23 | 2025-04-01 23:25:45+00:00
It sucks when school administrators are needlessly punitive.

In my school, some jackass kid made a photocopy of a $20 bill, on a little mid-1990s HP Officejet in the library. Even in those days, they were programmed to make bad copies of US currency (I think they were enlarged and the color messed up). It was more of an innocent “woah look at this thing”, there was no intent or effort to glue it together and try to use it.

The assistant principal, who was a petty drunk who was uniquely unsuited for her job, flipped out and called the secret service. The kid was arrested & had a lot of issues over nothing.

It always stuck in my mind and accelerated the development of my contempt for petty tyrants who experience joy from the pain of others.
by nizarmah | 2025-04-01 23:26:17+00:00
1. Disaster detection is a user toggle-able option that uses motion sensors to detect extreme shifts. 2. SOS signal is a BLE broadcast along with an alarm-like audio (generated from a sine wave).

+1, I usually have it off, but toggle it on when I'm in a bad setting. It can be made more accurate with time, especially with onboard ML models.

It is a Bluetooth protocol (BLE Scanning and Advertising, if you'd like to learn more about it).

I'll be sure to update the readme. Thank you for the great questions!!
by timewizard | 2025-04-01 23:26:57+00:00
They say two points but it was really three. The ammoniac mixture at 0F, water freezing at 32F and body temperature at 96F.

Also Celsius, for whatever reason, originally put boiling at 0 and freezing at 100. Maybe Sweden is just that cold.

Jame's Burke's "Connections" series covered this in series 3 episode 10. Here's that clip:

https://youtu.be/w4ujTt0gDx8?si=XUV9J3srYdaBwqwm&t=1227
by spartanatreyu | 2025-04-01 23:27:50+00:00
You can put <span>s inside an <option>. The <option>'s `innerText` is used to populate the native control's label, meaning the inside of the spans are too.

The problem is that you can't target the span in the original parser.

But, you could use a template, since it's contents are ignored by text content parsers.

You can have your option as:

<option value="red"> <span>Normal Difficulty</span> <template>- The way it's meant to be played</template> </option>

With the original parser, this will be parsed as:

<option value="red">Normal Difficulty</option>

And with the new parser (so long as you opt into it with the `appearance: base-select` rule):

<option value="red"> <span>Normal Difficulty</span> <template>- The way it's meant to be played</template> </option>

---------------------------

Then once you've opted into the new parser, you can target both the span and template to render how you want. (e.g. Give span a larger font-weight, give template a display mode of block and italicised text)
by copelandr | 2025-04-01 23:28:30+00:00
Location: San Francisco, CA

Remote: Yes

Willing to relocate: Yes

Technologies: Python, TypeScript, Go, AWS, GCP, Kubernetes, Docker, Terraform, Pulumi, Ansible, GitOps (FluxCD, GitHub Actions, SOPS)

Résumé/CV: https://copey.dev/copeland-royall.pdf

Email: copeland [at] copey.dev

---

Early career engineer with a passion for infrastructure, backend and cycling (last summer riding 3030 miles from CO to LA!)

And if you enjoyed Severance you might like https://wellness.copey.dev/ ;)
by jacobross | 2025-04-01 23:28:34+00:00
Man, this is awesome. I've been obsessed with this idea since reading up on end-to-end RL used in reasoning models and OpenAI using it with Deep Research.

Seems like the most powerful agents will make use of some form of RL or advanced learning.

I'm not from an ML/DL background but these ideas are fascinating and I've begun self-teaching myself some RL.

I'm curious as to how long this took to build and any advice for someone wanting to learn more about RL in this context?

Thanks!
by cardanome | 2025-04-01 23:28:39+00:00
The zero marginal cost makes fixed prices even more important.

You production cost per unit is basically the cost of creating the book. The more units you sell, the lower the production cost per unit. So bestsellers make bank and are profitable even when sold at extremely low prices.

In comparison a book with a limited niche will need to sell at a way higher price to be profitable.

People will only buy a fixed amount of books. The idea is to give books of niche audiences a fighting chance.

> Conceivably the combined works of JK Rowling or Tolkien could be sold as a single unit.

Yes there is always pitfalls and loopholes to watch out for when defining such laws. I don't really see how this adds much to the discussion, as something like that would clearly violate the spirit and intention of the law. If it is legally possible it is because the law is implemented badly. Which could be but is another discussion.
by lxgr | 2025-04-01 23:29:03+00:00
Some amount of buffering is inevitable in any packet-switched network, even in a pure Ethernet network with negligible packet loss/corruption, due to the nature of packet switching statistics in general and the TCP congestion control algorithm in particular [1].

The problem with these terrible CPEs is that their buffers are generally much too large, but just making them smaller isn't trivial either – the "correct" size, as suggested by queueing theory, is equal to the product of bandwidth and end-to-end latency, but the latter is impossible to know to a router and varies from connection to connection!

The key insight of CoDeL is that transient queues are good (because they avoid packets dropped due to transient congestion), but standing ones are bad (because they avoid nothing and just increase latency). I believe it's now fortunately mandatory in newer DOCSIS CPEs (but I have a lot of faith in CPE manufacturers to somehow still botch it).

[1] In fact, negligible packet loss for reasons other than congestion is a critical assumption for at most older TCP congestion control algorithms!
by miningape | 2025-04-01 23:29:17+00:00
This is the problem with typescript enums, they're close enough to "normal" enums in other "real" languages that there aren't any hard edges at first glance. Luring you in with a false sense of comfort and familiarity.

Then abstraction starts leaking everywhere because it's trying to bridge between typescript and javascript and you start wishing you had either made an object (pure JS) or a literal union (pure TS).
by schiffern | 2025-04-01 23:29:19+00:00
Zooming out, 80-90% of a computer's lifecycle energy use is during manufacturing, not pulled from the wall during operation.[1] To optimize lifetime energy efficiency, it probably pushes toward extending hardware longevity (within reason, until breakeven) and maximizing compute utilization.

Ideally these goal are balanced (in some 'efficient' way) against matching electricity prices. It's not either/or, you want to do both.

Besides better amortizing the embodied energy, improving compute utilization could also mean increasing the quality of the compute workloads, ie doing tasks with high external benefits.

Love this project! Thanks for sharing.

[1] https://forums.anandtech.com/threads/embodied-energy-in-comp...
by toomuchtodo | 2025-04-01 23:30:17+00:00
This is slowly changing, but will take time as merchants switch to accepting instant payments ("pay by bank"). My understanding from the merchants my org interfaces with is they are surcharging credit cards to drive spend to cheaper rails (when available).

The big pay-by-bank projects launching right now - https://www.americanbanker.com/payments/list/visa-mastercard... - October 25, 2024

Walmart Plans Instant Bank Payments, Cutting Out Card Networks - https://www.bloomberg.com/news/articles/2024-09-19/walmart-p... - September 19, 2024

FedNow Is Live - https://news.ycombinator.com/item?id=36801491 - July 2023

(if ACI, FiServ, or Jack Henry processes your payments today, you can accept instant payments without much more effort, inquire with them if interested)
by orangecat | 2025-04-01 23:30:47+00:00
You seem to suggest that writing altogether is economically unviable, so the author should not have chosen to do that at all.

Sort of, yes. Or at least don't do it expecting to be immediately financially successful. The same way that you shouldn't go into game development and then be outraged that you're not making as much as SAP consultants.

The issue is that certain talents are not recognized at all

It's more that there's tons of aspiring authors, and supply and demand is a thing.
by 3abiton | 2025-04-01 23:30:58+00:00
Undortunately the trend set by google is becoming extremely antagonistisc for modders. It's becoming a tradeoff between security and convenience, arguably that was not the case back in early android version, actually it was nearly the opposite. i remember hiw CyanogenMod features were surpassing the state of Pure Android at the time, it was fun to see the innovation happening in that space. Then came the ostracization of modders, from GApps restrictions to Play Integrity, all of those made it nearly impossible to have an android OS built to your taste, while able to run useful apps like banking and payments. It's sad that I have to carry 2 devices with me because Google took the greedy way.
by rustcleaner | 2025-04-01 23:33:28+00:00
I can't affirm knowledge of steganographic identifiers in B&W printers. I wanted to state I would be surprised if B&W printers did not embed tracking information. There's too much national security value in spamming origination details on everything. There is always, always a safety or security argument to do so, followed with "but what's the harm, you're not doing anything you shouldn't be doing... are you? "
by TeMPOraL | 2025-04-01 23:33:47+00:00
> Despite feeling like a "let me draw it for you" answer is a tad condescending, I want to address something here.

I didn't mean it to be condescending - though I can see how it can come across as such. FWIW, I opted for a diagram after I typed half a page worth of "normal" text and realized I'm still not able to elucidate my point - so I deleted it and drew something matching my message more closely.

> This would be great if LLMs did not tend to output nonsense. Truly it would be grand. But they do. So it isn't.

I find this critique to be tiring at this point - it's just as wrong as assuming LLMs work perfectly and all is fine. Both views are too definite, too binary. In reality, LLMs are just non-deterministic - that is, they have an error rate. How big it is, and how small can it get in practice for a given tasks - those are the important questions.

Pretty much every aspect of computing is only probabilistically correct - either because the algorithm is explicitly so (UUIDs and primality testing, for starters), or just because it runs on real hardware, and physics happen. Most people get away with pretending that our systems are either correct or not, but that's only possible because the error rate is low enough. But it's never that low by accident - it got pushed there by careful design at every level, hardware and software. LLMs are just another probabilistically correct system that, over time, we'll learn how to use in ways that gets the error rate low enough to stop worrying about it.

How can we get there - now, that is an interesting challenge.