MurphyA/hacker-news huggingface dataset:
by lelanthran | 2025-05-09 05:51:20+00:00
> I think you're missing an important aspect:

Which is?

I said:

> because they are literally serving so much content, they can train their own model on the content that is passing through without any need to run a bot.

Which covers both your points below:

> 1. train a model on content that's actually getting visited by people (they are fairly good at cutting out bots)

> 2. They don't even have to scrape the website, they can collect the content while they serve request. it would be completely transparent (zero cost, actually a benefit) to website owners.
by eviks | 2025-05-09 05:52:19+00:00
> If I want the old solutions, that's what versioning is for. I'll use the old version.

And you'll miss all the stuff you do not want the old solution for. And all the old bugs

> faced with a dozen functions that all have similar but increasingly long names and do very similar things with subtle but likely important differences.

Unless all the old versions are marked add old/deprecated and can be hidden from your view. Then you only care about the old stuff if you used it before and don't want to change
by tomhow | 2025-05-09 05:52:46+00:00
Please don't post insinuations about astroturfing, shilling, brigading, foreign agents, and the like. It degrades discussion and is usually mistaken. If you're worried about abuse, email hn@ycombinator.com and we'll look at the data.

https://news.ycombinator.com/newsguidelines.html
by jwr | 2025-05-09 05:53:09+00:00
I use it, on a large Clojure/ClojureScript application. And it's good.

The interactions and results are roughly in line with what I'd expect from a junior intern. E.g. don't expect miracles, the answers will sometimes be wrong, the solutions will be naive, and you have to describe what you need done in detail.

The great thing about Claude code is that (as opposed to most other tools) you can start it in a large code base and it will be able to find its way, without me manually "attaching files to context". This is very important, and overlooked in competing solutions.

I tried using aider and plandex, and none of them worked as well. After lots of fiddling I could get mediocre results. Claude Code just works, I can start it up and start DOING THINGS.

It does best with simple repetitive tasks: add another command line option similar to others, add an API interface to functions similar to other examples, etc.

In other words, I'd give it a serious thumbs up: I'd rather work with this than a junior intern, and I have hope for improvement in models in the future.
by guappa | 2025-05-09 05:53:47+00:00
There have been buggy implementations where UEFI is in fact NOT flashed to the motherboard and can get removed.

If he has one of those crappy computers it could be, but when I read about it happening it was entirely due to users MANUALLY deleting the UEFI files, did not happen upgrading.

So, the story seems still wrong to me.
by codeflo | 2025-05-09 05:56:18+00:00
This is an issue that plagues modern open-source libraries in general, but the ones you mention, Winit and Wgpu, are particularly awful examples of this disease. Winit turning the event loop inside out might have had a reason on some platform, though I don't see why the old API couldn't have been supported anymore. Both projects frequently shuffle around their data structures with no rhyme or reason. Everything built on top of them breaks all the time, for tiny perceived gains in naming consistency. I think your suggested term "refuckering" is indeed a nice way to put it.
by wodenokoto | 2025-05-09 05:56:35+00:00
I’m not sure it’s fair to call them a bandaid.

But fixed transportation infrastructure like trams, metro and other trains have a tendency to define and connect a city in a way that bus routes don’t.

The stops along Tokyos Yamanote line grew into major cities in their own right.

Copenhagens first metro was planned to be financed by building stops in in or underdeveloped areas and selling the land (it failed as the financial crisis of the naughts coincided with the selloff)

Bus routes have never invigorated or defined a city like fixed infrastructure. a part of a city does not become desirable just because you set up a bus stop, but a tram or metro station?
by tomhow | 2025-05-09 05:57:01+00:00
Please don't do this here.

Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

https://news.ycombinator.com/newsguidelines.html

We detached this subthread from https://news.ycombinator.com/item?id=43919039 and marked it offtopic.
by MarkMarine | 2025-05-09 05:57:34+00:00
no, you pull out the things you need from the map in the function body and move forward. I recommend either reading up on how this works in Clojure or just trying it, it's pretty simple.

https://clojure.org/guides/destructuring#_associative_destru...

Some extra reading if you're curious: https://softwareengineering.stackexchange.com/questions/2723...
Blazeio.SharpEvent: A Python Async Primitive That Scales to 1M Waiters with O(1)
by anonyxbiz | 2025-05-09 05:58:02+00:00
I’ve been working on a Python async library ([Blazeio](https://github.com/anonyxbiz/Blazeio)) and stumbled into a shockingly simple optimization that makes `asyncio.Event` look like a relic.

### *The Problem* `asyncio.Event` (and similar constructs in other languages) has two nasty scaling flaws:

1. *Memory*: It allocates one future per waiter → 1M waiters = 48MB wasted.. 2. *Latency*: It wakes waiters one-by-one - O(N) syscalls under the GIL.

### *The Fix: `SharpEvent`* A drop-in replacement that: - *Uses one shared future* for all waiters - *O(1) memory*. - *Wakes every waiter in a single operation* - *O(1) latency*.

### *Benchmarks* | Metric | `asyncio.Event` | `SharpEvent` | |----------------|-----------------|--------------| | 1K waiters | ~1ms wakeup | *~1µs* | | 1M waiters | *Crashes* | *Still ~1µs*| | Memory (1M) | 48MB | *48 bytes* |

### *Why This Matters* - *Real-time apps* (WebSockets, games) gain *predictable latency*. - *High concurrency* (IoT, trading) becomes trivial. - It’s *pure Python* but beats CPython’s C impl.

### *No Downsides?* Almost none. If you need per-waiter timeouts/cancellation, you’d need a wrapper, but 99% of uses just need bulk wakeups.

### *Try It* ```python from Blazeio import SharpEvent event = SharpEvent() event.set() # Wakes all waiters instantly ```

[GitHub](https://github.com/anonyxbiz/Blazeio)

Would love feedback, am I missing a critical use case?
by lelanthran | 2025-05-09 05:59:39+00:00
> $100 is something most people on this forum could make back in 1 day of work.

I expect so. The question is "How many days does the limit last for?"

Maybe they have a per-day limit, maybe it's per-month (I'm not sure), but paying $100/m and hitting the limit in the first day is not economical.
by pfannkuchen | 2025-05-09 06:00:39+00:00
Okay what percent of people in America do you think aren’t offended by the statement “empathy towards foreigners is bad”?

I try hard to understand the perspective of everyone along the entire political spectrum, all the way out to the farest of the far right. People who actually want to roll back the immigration and refugee policies to say the 1950s are like less than 5% of the population at most. Most people on the right are still offended by that statement.
by hgl | 2025-05-09 06:01:46+00:00
It seems Reddit also punishes ban avoiding. If they find a way to associate my banned accounts with a preprovisioned account, that account can also get banned?

I don't know how they do it, but I have tried using a completely new IP and private browsing, getting a new account, and posting in r/CatAdvice that r/NewToReddit says is newcomer friendly, but still got shadow banned.
by extraduder_ire | 2025-05-09 06:01:48+00:00
As someone living in Europe, I thank my lucky stars that board designs from the likes of Adafruit/Sparkfun are almost all open source hardware.

Historically, because I could throw one or two random ones into my aliexpress cart to hit a minimum order value for free shipping, but now it means I'll actually be able to get my hands on them without one or two sets of tariffs on top. If I could even get them at all otherwise.
by jjani | 2025-05-09 06:03:27+00:00
Spending too much time on HN and other spaces (including offline) where people talk about what they're doing. Making LLM-based things has also been my job since pretty much the original release of GPT3.5 which kicked off the whole industry, so I have an excuse.

The big giveaway is that everyone who has tried it agrees that it's clearly the best agentic coding tool out there. The very few who change back to whatever they were using before (whether IDE fork, extension or terminal agent), do so because of the costs.

Relevant post on the front page right now: A flat pricing subscription for Claude Code [0]. The comment section supports the above as well.

[0] https://news.ycombinator.com/item?id=43931409
by blensor | 2025-05-09 06:04:45+00:00
I think you are overestimating that.

Yes the whole world is somewhat curious who the president is but especially in timezones where it's inconvenient to follow that it's more a "we'll read it in the news later" thing.

The fact that a new pope has been elected is an information is information you don't need to look for because it's announced through one of the oldest public announencement systems ( the church bells )
by lelanthran | 2025-05-09 06:05:29+00:00
I think this is just the nature of Rust - everything needs to be specified upfront by the developer. Other languages are much more flexible in this regard.

It's also why we see so few original projects in Rust (compared to Go, etc), and so many rewrite-in-Rust projects: A rewrite of `ls` or `grep` is a project that has an engraved-in-stone requirement.

Creating an entire new project requires more flexibility as the requirements are only fully specified once some user feedback is in.

It would not be wise to choose Rust for something of an exploratory nature; anything original is going to be painful as large-scale refactors (which are a necessity in an original project) are going to be particularly painful.
by arghwhat | 2025-05-09 06:06:13+00:00
Note that such capture would be quite terrible for performance, not only requiring disabling any hardware offload (a great router might be able to route a few hundred megabit in large packets without offload assuming it doesn't do anything else) to make packets visible for capture, but it would also have to stream the output back to the adversary over the uplink as you would be limited to at most a few gigabytes of local, extremely slow storage, giving no means for local offline analysis...

The risk of access to the router is more that they can access your network and touch unprotected and vulnerable things rather than active monitoring.
by yjftsjthsd-h | 2025-05-09 06:06:23+00:00
Honestly it looks very polished, especially so for something just published but frankly you're doing better than many projects already. Like, the actual tech is interesting, but you've really landed the stuff around it; if every project had this amount of detail for things like the Contributing section, life would be much easier. (Also, I was serious about the stringly-typed enum, but that is a minor nitpick on a solid project.)
by tomhow | 2025-05-09 06:08:27+00:00
> the comical indignations of a "libertarian snowflake"

Be kind. Don't be snarky. Converse curiously; don't cross-examine. Edit out swipes.

Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.

https://news.ycombinator.com/newsguidelines.html

When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

Please don't fulminate. Please don't sneer, including at the rest of the community.
by miffy900 | 2025-05-09 06:09:27+00:00
> allowing you to Code Once, Run Everywhere

May I suggest that everyone just drop this whole 'develop/program it once, run it everywhere' slogan that just gets repeated endlessly when people try to promote their new platform/framework/library or whatever? I've never seen it work out that way in practice. Never. All individual platforms have their own features, unique quirks and distinct, platform specific bugs and trying to abstract over all the platform specific stuff means you end up with either low-quality, or low-feature implementation that comes close to being usable, but still never quite USEFUL.

Even the web browser, the only one that ever came close to fulfilling that promise, still requires fixing or accounting for browser-specific implementation bugs or quirks or non-standard feature additions/omissions. The closest you can get is just ignore Firefox, Safari and just target Chromium-based browsers, OR just use a subset of the latest web standards.

Considering how scrolling itself is entirely broken on the cogentcore website itself (I'm on desktop Chrome and my mousewheel and 3rd button scrolling doesn't work), it's not inspiring that they couldn't get something basic like scrolling to work. Is it not possible to just delegate scrolling behaviour to the browser?
by microtonal | 2025-05-09 06:09:59+00:00
On a more serious note, is this any different from ISPs having a remote management system for ISP provided routers?

Maybe, but in more and more European countries, ISPs are required to accommodate you hooking up your own router/modem. E.g., I am on fiber and if I want to I can hook up my own router directly to fiber with an SFP+ module (I currently use the ISP-provided media converter, but my own router). Lots of tech users use their own Ubiquiti/OPNsense/OpenWrt routers, so no remote management.

I wonder if this requirement applies to Starlink as well, since they are an ISP.
by skwee357 | 2025-05-09 06:10:06+00:00
I tried, but I don’t find them useful.

I tried supermaven, and llama.cpp, as autocomplete in steroids, but they got annoying pretty fast.

I now use ChatGPT and Claude to ask questions about thing I don’t know how to do, or ask them to rewrite/optimize a specific piece of code.
by timc3 | 2025-05-09 06:10:35+00:00
I disagree.

I have what essentially is a mastering suite (i just don't do mastering very often) at home and the difference in quality between the majority of modern music and the majority of older music say 25 years and older is large. There are many exceptions that sound amazing that are older, often done by very talented people in the best studios at the time. But one difference, hugely generalising, is dynamics, older music can have more dynamic range with modern music being basically a sausage of audio.

When people come over and want to listen, I usually have to tell them that it might actually be a disappointment to hear your favourite album is badly recorded next to something that is musically garbage but sounds fantastic. Or you wont be able to unhear the amount of distortion on Adele’s voice.
by tippytippytango | 2025-05-09 06:11:16+00:00
I wouldn’t beat yourself up over it. Very few papers can be understood without reading a significant amount of the neighboring literature and the history of how that work came to be. There are norms and customs and a kind of academic language in every community that you won’t be able to see unless you’ve read a lot from that community. Even if you have the right math level it’s tricky.

A single paper is part of a conversation, not something that stands alone. Trying to read one random paper is like finding a 1000 page thread on an obscure topic that has been running for 10+ years and reading only the last page. It won’t make any sense without reading back a ways.
by sslious | 2025-05-09 06:12:34+00:00
> He advised her to enter China for only 24 to 144 hours, short enough, he said, to avoid visa scrutiny by authorities,

China used to have a 6-day visa-free program. Now it is extended to 240 hours (ten days) visa-free program. What visa scrutiny?

> and urged her to communicate exclusively via the Chinese version of WeChat, a platform heavily monitored by the CCP.

The other programs do not work. WeChat is required to make any payments in China.
by int_19h | 2025-05-09 06:12:52+00:00
The ones that were just cynically using this popular sentiment for their own benefit were the previous wave.

But the problem with that kind of thing is that eventually it results in a wave of true believers. It doesn't mean that they stop padding their pockets, mind you - why would they, when they're obviously entitled to their fair share as the Champions of Something Great. But it vastly increases their capacity for damage because now they are going to do it even in situations where it doesn't benefit them in any way, and may even harm them, for the sake of their beliefs.
by boxed | 2025-05-09 06:12:59+00:00
> I told Martin as much, and he agreed without hesitation that we needed to find a solution that didn't break current users' code. This is not a normal interaction amongst software engineers—a breed infamous for their long, drawn out debates on the most minute of details. However, this is absolutely expected in the Clojure community.

Well that's just slander as far as I'm concerned. Of course we other non-clojure programmers believe in backwards compatibility. What a crazy thing to suggest that we don't.
by xvector | 2025-05-09 06:14:14+00:00
You aren't understanding the point being made in OP. Everyone here understands the crypto for ADP vs non-ADP, there's no need to explain it.

The simple fact of the matter is that if I have ADP enabled, my chats should be excluded from the backups of those I'm communicating with (it should be as an opt-in basis at the very least).

Not having this renders ADP useless for the purpose of its stated threat model.
by n_ary | 2025-05-09 06:14:28+00:00
I see a fraudulent benefit in this case. When these non-tech people go into public talks or anything, they can suddenly claim “oh, I use AI to write 80% of my code” and voila! No one will ask whether their responsibility is to write code or do any engineering, simply being able to give some surface level claims makes them credible enough and feed the hype while appearing cool.

It also gives investors more confidence to shower them with money when needed, as non-tech people are also doing AI coding and they are super agile!

When Msft CEO claims that 80% code written by AI, there is a 50% doubt, but when someone adds that, yeah so I have done 150 PRs, now it feels more concrete and real.
by iggldiggl | 2025-05-09 06:15:35+00:00
> Android 14 doesn't support 32bit apps even when running on an older SOC

Huh? Tell that to my phone. Maybe Google dropped support from their own OS builds even for older phones, but I don't think AOSP as such has dropped 32-bit-compatibility yet, and other OEMs have kept 32-bit-support for those phones whose hardware still supports it.

(And at least one or two Chinese OEMs have been shipping some sort of compatibility layer for phones without hardware support, though possibly only for the domestic market, not export models/OS builds.)

It's true though that Google isn't too heavily invested in binary compatibility for native code, though to some extent their hand might have also been forced by the SOC manufacturers, because apparently 32-bits hardware compatibility is more expensive to provide on ARM.
by pjmlp | 2025-05-09 06:15:41+00:00
I used what Timex 2068, MS-DOS 3.3 - 5.0, CP/M, allowed me to do, until I was freed into Windows 3.x and Amiga 500, in 1990.

Until 2005, I also had to put up with using Xenix, DG/UX, Aix, Solaris, HP-UX, GNU/Linux via telnet as development servers.

Thankfully by 1996, X Win32 and Hummingbird came to rescue as my X Windows servers of choice, when possible.

As for all those features, you could already do most of them in 4DOS (1989).

https://en.m.wikipedia.org/wiki/4DOS

It is like asking me about electronic typewriter features, when the World has moved on into digital printing.
by kubb | 2025-05-09 06:16:01+00:00
> their healthcare is pretty crappy

They have much better healthcare outcomes, so it sounds like they’re way more efficient with their spending.

They also have lower GDP which means that they spend way less in absolute terms.

Of course there’s an article somewhere to back up every opinion that you have. That doesn’t say much.

How you defend your opinions (pointing to other opinions that agree with you and unsubstantiated claims) says a lot though, and is indicative of confirmation bias.
by p00dles | 2025-05-09 06:16:19+00:00
This thread is worth a read regarding Lambda school:

- https://news.ycombinator.com/item?id=40067939

- the “dupe” post with a title that specifically refers BloomTech aka Lambda School CEO Austen Allred being banned from all consumer-lending activities: https://news.ycombinator.com/item?id=40071694

*edit to add “dupe” link.
by skissane | 2025-05-09 06:16:31+00:00
> There’s never before been a US citizen who is also a foreign sovereign.

Éamon de Valera was born in New York City in 1882, and served as President of Ireland from 1959 to 1973

Bhumibol Adulyadej was born in Cambridge, Massachusetts in 1927, and served as King of Thailand from 1946 until his death in 2016

That’s just two US-born individuals who became head of state of another country, there may be more.

I assume both were US citizens at birth (de Valera was born into poverty, abandoned by his Spanish father, reputedly an artist; Bhumibol‘s father was a student at Harvard)-whether or not they ever formally renounced their US citizenship, I don’t know
by imiric | 2025-05-09 06:16:51+00:00
> Or are frameworks REALLY that slow?

Of course they are. There's a significant overhead from a virtual DOM and reconciliation with the real DOM. Then there's the larger overhead from relying on JavaScript for everything. The JS VM in modern browsers is very performant, but it can't optimize poorly written code, whether that's from frameworks, the gazillion libraries modern web sites depend on for analytics, trackers, ads, shims, helpers, etc., and, of course, any custom JS specifically written for the web site.

Browsers can enable very rich and responsive interfaces, but web development is bogged down by the insane state of popular frontend stacks. There's a recent trend of rejecting this insanity (htmx, Nue, Datastar), which I hope gets us on a track where we optimize for user experience using native web technologies.
by comex | 2025-05-09 06:17:10+00:00
Isn’t the biggest issue that compiled binaries have segments aligned only to 4kb, and those segments must be on different pages (because they have different memory protections) and can’t be slid relative to each other? I’m not sure how iOS dealt with this (maybe arm64 binaries always had 16kb aligned segments?), but apparently this is an issue on Android and requires all binaries to be recompiled.

https://source.android.com/docs/core/architecture/16kb-page-...
by const_cast | 2025-05-09 06:17:25+00:00
I work on a monolith with ~1500 developers and it works pretty great.

The secret is that you're able to break a monolith apart, just like you can with microservices. You have APIs and modules of the monolith are responsible for their own thing. APIs are your contracts, just like in a microservice architecture.

The difference is that you can check if APIs are broken at compile time. In addition, you can view the API right in your IDE. In addition, your API isn't returning wishy-washy json with a half-assed OpenAPI spec - it's returning real types in a full-featured type system. And, cherry on top - you don't have to communicate over the network. Oh my god, you don't realize how many bugs and thousands of hours are wasted just working around that until you no longer have to. It's an immediate productivity boost.

But the best part is probably deployments. It's just so, so much more straightforward with one codebase.