MurphyA/hacker-news huggingface dataset:
by WalterBright | 2025-04-15 02:58:45+00:00
Government contracts where they buy something is not "funneling" money any more than you "funnel" money to Safeway when you buy tomatoes there. And if Musk had failed to deliver working rockets, NASA wouldn't have paid a dime. Musk bet his entire fortune on it.

Musk also sold those rockets to NASA for 10% of what NASA would otherwise have to pay.

> One theme in Elon's companies is they are positioned to hoover up money the US government is wasting and make sure it ends up in Elon's pockets.

Tell us how that works.

> Less government spending is more likely to hurt Elon than help him.

Are you suggesting that Musk is doing what's right for the country rather than what's right for his fortune?
by lolinder | 2025-04-15 03:00:16+00:00
Unfortunately that's not really feasible in the current state of open source. There are enormous numbers of entitled users out there who become a parasitic drain on any project that is open sourced. Solo maintainers can theoretically just develop a think skin, but companies can actually find that the damage to their public image from not having their FOSS project in tip top shape is greater than the benefits of open sourcing it in the first place.
by fsckboy | 2025-04-15 03:00:44+00:00
outside of the panic attacks, do you have periods of pleasurable excitement, fun-loving life of the party, or superproductive creative inspiration? consider "bipolar ii", and low dosage lithium can work wonders on both ends of the emotional spectrum. ianad and not diagnosing, just mentioning that lithium is a mineral salt found naturally in the freshwater in parts of the world, and in those places people have more stable moods.
by gnabgib | 2025-04-15 03:01:10+00:00
Iterator Helpers:

arr.slice(10, 20).filter(el => el < 10).map(el => el + 5)

> This is really inefficient because for each transformation a new array should be allocated.

.slice[0] does not allocate, nor does .filter[1], only map does.. so one allocation.

arr.values().drop(10).take(10).filter(el => el < 10).map(el => el + 5).toArray()

Allocates once for .values[2], and again for .toArray[3].. there's decreased efficiency here.

Swapping variables:

Only do this if you don't care about performance (the advice is written like using the array swap hack is categorically better).

[0]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[2]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

[3]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
by Braxton1980 | 2025-04-15 03:05:28+00:00
>The administration wants to revoke visas for non-US citizens who come here under the pretense of education and instead advocate for terrorist groups.

1. You can get an education while advocating for causes

2. The letter doesn't only say advocating for a terrorist group.

From the gov demand letter:

"International Admissions Reform. By August 2025, the University must reform its recruitment, screening, and admissions of international students to prevent admitting students hostile to the American values and institutions inscribed in the U.S. Constitution and Declaration of Independence, including students supportive of terrorism or anti-Semitism."

>Why is the US government expected to fund people who want to destroy the US government?

1. They aren't, Harvard does

2. Federal grants aren't targeted to specific students so revoking them isn't a targetted punishment

3. Harvard can still operate without these grants, including bringing in international students who the current admin might disagree with.

4. The US government gives money to people who want to destroy it all the time. Welfare, social security, etc is given to anti-gov US citizens with no restrictions based on those views.

5. Although only proposed Trump wanted to set up a fund for January 6th protestors who he pardoned. Some of whom attacked the US capital to disrupt a Democratic election process.

>Should you be required to pay people who want to kill you?

No. How is that related to this? You just overly generalized the entire situation in order to produce a question where I'd mostly likely to say "no" as a argument manipulation tactic.
by Spivak | 2025-04-15 03:06:03+00:00
You have it exactly right sans the reason to allow them in the first place. They're bots that provide reciprocal value to the site owner. Otherwise why even bother letting them through.

It's wild how people don't get that facebook and googlebot gets let through paywalls and such because they bring the site real tangible revenue. If you want to get the same privileges you have to start with the monetary value provided to the sites you index. Lead gen is hard and major search engines provide crazy value for next to nothing.
Show HN: I built an app for multi-currency and multi-identity net worth tracking
by cr1st1an | 2025-04-15 03:06:11+00:00
TL;DR: It’s an iOS app to calculate my net worth in minutes. It works no matter how many accounts, currencies, or personal and business identities I need to manage.

---

I built this out of necessity.

I manage multiple accounts in several currencies for both personal and business use. Each business has its own QuickBooks account, but I still lacked a simple, unified view of my entire financial picture.

I used custom spreadsheets to track everything, but updating them took hours every month. Most finance apps focus on budgeting or assume a single currency and identity, which didn’t meet my needs.

Since getting a clear overview of my finances is something I’ll likely need for the rest of my life, I built this iOS app to make that task take just a few minutes.

At its core, it’s a calculator. It supports over 160 currencies (updated hourly) and lets me filter net worth by any combination of accounts or identities.

---

Would something like this be useful to you?
by WalterBright | 2025-04-15 03:07:31+00:00
If you hold stock long term, you will pay the same or less tax.

From Google: "For the 2025 tax year, individual filers won't pay any capital gains tax if their total taxable income is $48,350 or less"

If you've got a smart phone and a credit card, you can buy stock. See robinhood.com
by anon7000 | 2025-04-15 03:08:34+00:00
So what? You’re basically claiming that it’ll fail because some companies won’t want to provide too much value for free.

But that’s such a small part of the equation here. If GitHub has an MCP server, you’re still paying them to host your code (potentially), and you get the benefit of agents being able to access GitHub in your development workflow (say, to look for similar issues or start work on things).

Yes, not every company will shove their data into AI agents. But can you take various tools and plug them together using agents to power up your workflows? That’s what these projects are thinking about. And there are vast numbers of tools which would happily integrate into this process.
by yuliyp | 2025-04-15 03:09:00+00:00
Facebook's login/account recovery codes are not TOTP/HOTP, but are random numbers. Also, the author struggled to check their implementation. One can easily compare an implementation of many websites by grabbing the QR codes they use for login and importing into your favorite authenticator app and also decoding the QR code to get the secret. In theory your code should produce the same codes at the same time as the app.
by tbrownaw | 2025-04-15 03:09:10+00:00
1. Does not follow. Just because you don't like someone's politics doesn't mean they're dishonest.

2. Your own link contradicts you. It says explicitly that that site hasn't failed any of their fact checks and doesn't use loaded words that they say are typical of that category. It says the categorization is because the site promotes libertarian policies.
by Spooky23 | 2025-04-15 03:10:08+00:00
My wife had a similar experience, except it was her shoulder. They took a margin, looked at lymph nodes, and did a nuclear test that traced something that I can’t recall.

Another lesson learned is that if at all possible, go to a national cancer center. Even if for a second opinion analysis. The level of care is different and better than what you find in community oncology or hospital practices.
by kazinator | 2025-04-15 03:10:23+00:00
Yes. The best example of something that is popular and homoiconic is Bash. Bash keeps your functions in source code form, though comments may be lost, and they get reformatted. You can see the code when you type "set all", and can copy and paste the definitions back into Bash.

In Common Lisp, the homoiconic feature is the ed function which allows you to edit the source code of a function. Support for ed is implementation-defined!

It may be absent (e.g. in a Common Lisp that compiles everything to machine code). A Common Lisp that compiles all forms and doesn't support the ed function isn't homoiconic.
by kjellsbells | 2025-04-15 03:11:11+00:00
Suggestion: define who your target user is. A dev who speaks one lang and needs to quickly output another? A student in high school? A TA in college? That will orient the reader and set expectations appropriately.

Also show some samples of output, eg Python or Go. It's difficult to assess the tool without understanding how idiomatic the output code is. As in, is USL doing anything more than "tokenizing sed on steroids"? I can't tell.

Then again, if it's meant as a learning tool, maybe it matters less.
by danpalmer | 2025-04-15 03:11:25+00:00
Hey, congrats on the launch. I'm interested in what use-case led you to create this? What problem does it solve?

I've had a little experience translating code between languages (ObjC/Swift, Javascript/Python), and it has been frustrating, not because of re-stating the logic, but due to different availability of libraries, different execution semantics (e.g. async/await), different type systems, etc.

Also, it looks like USL is a new language? Did you consider something like CEL instead (Common Expression Language, https://cel.dev/), which seems to be doing something similar for the expression of basic logic.
by bediger4000 | 2025-04-15 03:11:41+00:00
I agree. I had a couple of NeXT slabs from 1991 to 2000 or so. Objective C had some benefits. The NeXT Obj-C libraries were very usable and well thought out. I will grant that it had problems, the biggest of which was that it wasn't Windows 3.11 and it wasn't backed by Microsoft. The amount of pro-Microsoft press and propaganda was astonishing during that period.
by imgabe | 2025-04-15 03:12:48+00:00
> growing number of states and schools have also begun eliminating requirements that job applicants furnish “diversity statements” — written commitments to particular ideas about diversity and how to achieve it that, at some institutions, have functionally served as litmus tests in hiring.

https://archive.is/UeZ2A#selection-5289.442-5297.27

> Chavous and her colleagues did not collect demographic information from applicants. Instead, they were asked to submit statements addressing how they would advance D.E.I. goals, whether through research into “race, gender, diversity, equity and inclusion,” “significant academic achievement in the face of barriers” or “commitment to allyhood through learning about structural inequities.” Departments were invited to nominate candidates from an application pool created by the diversity center, which then oversaw further vetting.

https://archive.is/i6Gv9#selection-1183.358-1187.413

Ohio State Reports: DEI Litmus Test

https://www.nas.org/blogs/article/ohio-state-reports-dei-lit...
by golergka | 2025-04-15 03:13:00+00:00
Vast majority of JS/TS we write doesn’t live on the critical path and should be optimised for readability over performance.

However, when it does, it should be explicitly recognised, appropriate boundaries put, and that code written in a completely different style altogether. There are A LOT more of idiomatic and widespread JS/TS patterns that should not be used in such code.

Before TS, I used to write games in C# (Unity), and it was the same there too. I think this distinction between two kinds of code holds in a lot of environments.
by singron | 2025-04-15 03:13:12+00:00
You can just read and write the notebook directly with ordinary calendar/todo-list UIs and get 99% of the utility without an LLM. I'm not really seeing value in the LLM except the butler voice? It is just reading the notebook right? E.g. they ask the butler to remember a coffee preference, but then that's never used for anything?
by jongjong | 2025-04-15 03:13:32+00:00
This hits the nail on the head for me. When I built my open source project, I felt like a part of society, I was happy to be a part of it. I was proud to contribute even if I didn't capture much of the value I created...

Now I feel like all of this structure is exploiting and manipulating me and others psychologically. The level of ethics is so low, it is beyond what I could have imagined. I simply don't get the same feelings as I once did. Working on open source doesn't make me hopeful and feel like part of something, it makes me feel like a naive fool.

My comments may sound negative but I'm trying to help others, who may be slightly younger versions of myself, to avoid a lot of pain.

This pain doesn't teach you much besides resilience and the gains there become extremely marginal... On the other hand, it doesn't seem very useful career-wise to see things as they are.

To succeed, you need to be on the same wavelength of optimism as existing successful people. My worldview is holding me back. Ignorance can be an advantage.
by qingcharles | 2025-04-15 03:13:39+00:00
Wow, I wondered what the limit was. I never checked, but I've been using it hesitantly since I burn up OpenAI's limit as soon as it resets. Thanks for the clarity.

I'm all-in on Deep Research. It can conduct research on niche historical topics that have no central articles in minutes, which typically were taking me days or weeks to delve into.
by SteveDR | 2025-04-15 03:14:59+00:00
> vibe coding allowed me to figure out some rough edges of my design document, and experiment with "what would it look like built with threads? As async code? As procedural?”

This doesn’t fall under my understanding of the phrase “vibe coding”. In the tweet from Karpathy which many point to for coining the phrase, he says that when vibe coding you essentially “forget the code exists”. I think it’s distinct from regular ol LLM-assisted development
by Animats | 2025-04-15 03:15:05+00:00
Looks similar to most other mid-level remote procedure call protocols, from XMLRPC to CORBA. The usual sync, async, poll, progress test problems apply. Things I'd expected to see and didn't:

- Client to server: "tell me what you can do". This has always been hard, but in the LLM era, it could potentially work, because a textural response would work.

- Similarly, being able to ask "How do I..." might be feasible now. It should be possible to talk to a new server and automatically figure out how to use it.

- "How much is this going to cost me?" Plus some way to set a cost limit on a query.
by rat87 | 2025-04-15 03:15:37+00:00
Russia is a foe because it chooses to be a foe. It won't be an ally for any foreseeable future.

Trump doesn't care about cost. And investing in your own military is not the same as paying America. The Baltic countries and Poland have spent a higher then recommended percentage of their gdp on the military and have done more to keep a positive relationship with America but Trump doesn't seem to care
by bhaney | 2025-04-15 03:16:10+00:00
I wish authors would actually test their performance claims before publishing them.

I quickly benchmarked the two code snippets:

arr.slice(10, 20).filter(el => el < 10).map(el => el + 5)

and

arr.values().drop(10).take(10).filter(el => el < 10).map(el => el + 5).toArray()

but scaled up to much larger arrays. On V8, both allocated almost exactly the same amount of memory, but the latter snippet took 3-4x as long to run.
by badc0ffee | 2025-04-15 03:16:46+00:00
I bought an AMD Ryzen Thinkpad late last year, and I had the same issue with bright/saturated colours. I fixed it by running X-Rite Color Assistant which was bundled with the laptop, and setting the profile to sRGB. I then turned up the brightness a little.

I think this a consequence of the laptop having HDR colour, and the vendor wanting to make it obvious. It's the blinding blue LED of the current day.
by amluto | 2025-04-15 03:17:10+00:00
I absolutely think it’s valid to want to express one’s viewpoint anonymously.

However, I don’t think your argument really covers this particular situation. The events in question predate Trump’s reelection, and a lot of the things done by people, many whom were wearing masks, were approaching (or far beyond, depending your perspective) the line where free speech stops and harassment, vandalism and hate begins.

I think that one of the most self-defeating things that some of Trump’s opponents do is to ignore the fact that many of his actions are based on actual problems in the US. In my mind, bad things really were done on college campuses. Awful things really were done in the name of DEI. Cancel culture really was out of control. The US really does have economic deficiencies in the manufacturing sector. None of these excuse most of what Trump has done, but minimizing the real problems that he and his supporters latch onto doesn’t help.
by Cerium | 2025-04-15 03:17:30+00:00
Modern dishwashers are great. I was firmly of your opinion for years, stubbornly a hand washer. Now I rinse dishes until there are no chunks left, sauce, grease, etc is all OK. Put them into the washer, and most evenings decide it's full enough and click start. The next day clean dry dishes are loaded directly into the cabinets.
by kelnos | 2025-04-15 03:17:59+00:00
Interesting. I know that some people in SF will prefer Waymo over a human driver, but lately I've noticed Waymo is significantly more expensive then Uber or Lyft, even considering you don't tip a Waymo. Like I'll see $12 or $14 fares on Uber/Lyft, but $25 on Waymo.

Another downside of Waymo is it still won't take freeways in SF, so rides can be significantly longer depending on where you're going.

But yes, when the Waymo price and trip time are competitive with Uber/Lyft (incl tip), I'll pretty much always take Waymo.
by ajross | 2025-04-15 03:18:51+00:00
You're dodging, and I know you're smart enough to know how this goes. I don't make money with long term stock, I make salary. I pay >>20% tax on that salary. Billionaries make, statistically, zero salary. All their income is on long term gains. All of it. So billionaires pay 20%, and that only if they're dumb enough not to find other shelters.

You're just saying "Well, that's the way the tax code works". I'm saying "The tax code sucks", and your point is non-responsive.
by SpicyLemonZest | 2025-04-15 03:18:53+00:00
What he explained in his book is that he's an evil, dishonest person, who routinely lies and harms people in negotiations in order to get his way. I agree that being evil and dishonest is often quite effective - if you came up to me with a knife and an outlandish demand that I should give you my wallet, I'd probably concede the negotiation. But I don't at all understand the idea that I have to respect this as some kind of clever negotiating strategy. The innocent researchers whose grants he's cancelled are real people suffering real harm, and they don't become transmuted to a mere negotiating tactic just because Donald Trump doesn't care about them.
by robert2020 | 2025-04-15 03:19:13+00:00
PE’s buy companies to increase the company’s value then sell it. There’s been many successes. Powerschool, Hilton, Dunkin’ Brands, Dollar General, Beats by Dre, Petco, GoDaddy, BJ’s Wholesale Club, Neiman Marcus, Panera Bread, Allegro, Guitar Center, Nielsen, McAfee…
by 1vuio0pswjnm7 | 2025-04-15 03:20:00+00:00
"Bet I could get in < 10MB."

I use one that is 99K static binary.

Even the full-featured TLS/HTTPS forward proxy I use, linked with bloated OpenSSL, is still less than 10MB static binary: 8.7MB. When linked to WolfSSL it's only 4.6MB static binary. The proxy can serve small, static HTML pages, preloading them into memory at startup.
by nneonneo | 2025-04-15 03:21:23+00:00
A good family friend caught abdominal TB while abroad, came back to Canada, and was terribly misdiagnosed. TB is very rare here; abdominal TB even more so, and early symptoms look like a lot of other diseases. It took several hospital visits before the doctors realized the actual problem. He very nearly died, and spent nearly a year in the hospital recovering from a parade of complications.
by TriangleEdge | 2025-04-15 03:23:36+00:00
Wasn't Harvard's president a woman who wrote her PhD thesis on DEI? I vaguely remember the news about this (fraud or something). If this is what Harvard considers that the person for the job, I think the sense making apparatus of Harvard personnel is specifically tuned to not bend the knee in this case. The instrument would likely fail at the input validation step and not proceed to the sense making portion.
Show HN: Helix – India's AI and Neurotech Framework for Predictive Public Safety
by Chakrabarti | 2025-04-15 03:25:01+00:00
I’ve been working on HELIX, a conceptual security framework that aims to tackle crime, terrorism, and exploitation using AI, behavioral analytics, DNA-Aadhaar fusion, and a forward-looking roadmap for non-invasive neural signal analysis. Unlike traditional law enforcement models, HELIX is built around predictive intelligence—detecting high-risk behaviors and threats before they escalate. Core elements include: • AI-driven behavioral tracking in geo-fenced zones • DNA-Aadhaar ID fusion for high-precision identification • ExposeHub, a citizen-facing app for real-time, verified reporting • A proposed Neuro-ID Surveillance layer (aspirational, non-invasive) for long-term evolution • A governance-first approach: ethics, "neural rights", and transparent oversight are baked in from the start While still in conceptual stages, the proposal outlines legal frameworks, pilot deployment models, and ethical safeguards (e.g., anti-bias audits, no social scoring). We're aiming for a system that is both technologically ambitious and ethically grounded. The full whitepaper is available: Desci Nodes with a novelty content score of 95%. We’d love feedback from the HN community—especially around: • Feasibility and limits of predictive neural tech • How to responsibly fuse personal identifiers (like DNA + biometrics) • Ways to prevent misuse or drift into authoritarian surveillance Ask Me Anything — thoughts, concerns, critiques all welcome.
by imgabe | 2025-04-15 03:25:08+00:00
Yes, you reject the first offer and make a counter offer. That is how negotiating works. You ask for more than you expect to get to find out what the limit is that the other party will go up to. How else would you find the limit? You don't know what the other party is thinking or what all of their priorities are. You can't just magically intuit it a priori.
by dijksterhuis | 2025-04-15 03:25:31+00:00
> If it's so easy, then why do people die from having lesions misdiagnosed as benign?

You're confusing False Negatives with True Negatives. For Non-Benign (Positive) vs. Benign (Negative) classification:

* True Positive Rate (TPR): non-benign classified as non-benign.

* False Positive Rate (FPR): benign misclassified as non-benign.

* True Negative Rate (TNR): benign classified as benign.

* False Negative Rate (FNR): non-benign misclassified as benign.

> It's quite easy to correctly classify 100% of benign cases as benign.

You can engineer a 100% TNR if you just classify everything as the "benign" negative class. The FNR is going to be 100% too, but that doesn't matter -- you correctly classified 100% of benign cases as benign.

> why do people die from having lesions misdiagnosed as benign?

Because the FNR is not 0%. FNR is important. You probably want a decent TPR in there as well. And FPR can be very important too, depending on how life-changing/painful/invasive the treatment for a positive case is!