MurphyA/hacker-news huggingface dataset:
by nirvdrum | 2025-09-14 04:44:25+00:00
While probably less common in Java, the language supports dynamic class loading, reflection, runtime bytecode generation, invokedynamic, and other features that can break static assumptions. The JVM does need to deal with all of this and does so with speculative optimization and deoptimization.

TruffleRuby applies many of these same techniques to Ruby to great effect. Fortunately, most applications stabilize at some point and a JIT compiler can do wonders. E.g., TruffleRuby has had zero-overhead metaprogramming for a decade now[1]. But, these optimizations incur trade-offs. TruffleRuby has a Ruby core library mostly written in Ruby to help optimization, but that means the interpreter takes a performance hit. The CRuby VM has most of its core library written in C because the team favors having a fast interpreter with low overhead, which is great, but means much of the core library can't be JIT compiled alongside an application.

I think the real answer why the CRuby VM lags behind the JVM is more pedestrian: there's been orders of magnitude more investment made into the JVM than any Ruby VM. Sun and then Oracle have hired world class VM developers and researchers to work on multiple JIT compilers, multiple GC implementations, fast tooling, a standard memory model, world-class concurrency library, and so on. OpenJDK sees heavy investment by many others, too (RedHat probably leading the charge). And then you have other vendors advancing the state of the art with alternative VM implementations (Azul, IBM, Amazon, etc.).

Ruby as a language has seen loads of research done on compilation and alternative VMs [2], but the CRuby VM itself hasn't seen anything close to OpenJDK's investment. That's not to say there isn't excellent work being done to improve the CRuby VM. But, production VMs are large, complex projects and not the sort of thing easily moved by a volunteer working nights and weekends. More investment by companies using Ruby would help close the gap.

[1] -- https://chrisseaton.com/rubytruffle/pldi15-metaprogramming/p... (FYI, the paper refers to JRuby+Truffle, which is TruffleRuby's old name).

[2] -- https://ruby-compilers.com/
by blaz0 | 2025-09-14 04:45:45+00:00
I'm the author of the GitHub issue that the blog links to, and I'd like to thank Stefan for quickly acknowledging the problem and addressing the issue! I try to keep one of our internal applications up to date with the latest libcurl version within a day or two of a release, so we sometimes hit fresh problems while running our battery of tests.

Ironically, our application has also struggled with blocking DNS resolution in the past, so I appreciate the discussion here. In case anyone is interested, here is a quick reference of the different asynchronous DNS resolution methods that you can use in a native code application for some of the most popular platforms:

- Windows/Xbox: GetAddrInfoExW / GetAddrInfoExCancel - macOS/iOS: CFHostStartInfoResolution / CFHostCancelInfoResolution - Linux (glibc): getaddrinfo_a / gai_cancel - Android: android.net.DnsResolver.query (requires the use of JNI) - PS5: proprietary DNS resolver API
by IlikeKitties | 2025-09-14 04:46:40+00:00
> while in this thread you're calling for executions for that very action? I'm not calling for that, you are misreading my post. Because irony hardly translates to the internet let me spell it out for you:

* Piracy is an option because the punishment for it is low and enforcement not very effective. Even in Germany where law firms can punish you for it without government involvement (i shit you not private companies send you fines you HAVE to pay) using a VPN is enough to pirate as much as you want

* Piracy could be curbed by massively out of scale punishments and total constant scanning and enforcement of the internet. I've seen the scared people here in Germany talking about it to this day. Fear causes compliance. To argue otherwise would be intellectually dishonest.

* I'm making fun of the fact that copyright owners would still call for stronger punishment until executions are on the table North Korean style ("Only then will copyright holders be safe again.")

My personal opinion is that piracy is the logical result of the fact that once a digital work has been created the cost to copy it is practically zero. Laws that try to deny that reality are by their nature unjust and should be abolished. To truly enforce them, even the death penalty isn't enough (see NK).
by CMay | 2025-09-14 04:46:53+00:00
I think anyone who has the mental capacity to understand how something might be taken dangerously out of context and has any interest in being respectful should make some attempt to clarify these things. If they exclude critical information intentionally, it shows bad faith and disrespect.

Switzerland, Iceland and Finland all have high rates of gun ownership, yet have far less gun violence per capita. That said, gun violence and crime in general also trends higher in warmer weather, yet all of those countries are a little on the colder side. The US itself used to have far less gun violence too. What causes these problems has been known for a long time and it's not the guns. The solution is neither to take everyone's guns away or to put armed guards everywhere. The solution is known and it's possible that AI models will help reduce this particular problem along with some structural changes to social media platforms before any sort of careful legal changes can occur.

It's probably true that if you take everyone's guns away, you will get less gun related deaths and maybe even overall deaths for a while. Then if an authoritarian takeover happens, they can take your rights away and your citizenry is at a much larger disadvantage in protesting this. Then the government can silence all the media and kill 10-50 million people unopposed. In the US specifically, guns alone wouldn't necessarily save us, they are just a single pillar of the overall list of protective mechanisms for freedom.

I will add though, that gun suicides should be excluded from the data, because they significantly inflate the numbers even though they're high even without that.

The details around his death specifically and his security specifically aren't relevant, as he was a particularly high profile and high risk individual which is not 99% of deaths.
by nashashmi | 2025-09-14 04:48:21+00:00
lol. Sure I felt happy that he had something else to keep his family fed. But I as a tourist with more valuable cash come into this country with an artificially low value cash, take up the very resources of that country to … give me a tour! This guy is probably a skilled archeologist who made a huge effort to learn history of an ancient civilization and was actually able to translate whatever we asked him to translate.

And here he is could be doing something so much more valuable … than giving this idiot (me) a “tour”.

I am appreciative that I met him. And that he was my guide. But my money didn’t give him an income. It took away the finite resources of his country.
by wewewedxfgdf | 2025-09-14 04:48:43+00:00
This guys blog points to his Poem "AI Clock" project.

https://poem.town/

The hardware reminds me of these:

https://lilygo.cc/products/t5-e-paper-s3-pro

https://shop.m5stack.com/products/m5papers3-esp32s3-developm...
by haitchfive | 2025-09-14 04:49:04+00:00
Just logged in to downvote this anti-scientific garbage. Who allows this garbage to propagate via feeds?

Ignore the OP, pay attention to actual science, and why safety measures matter:

https://www.reuters.com/science/nasa-rover-finds-potential-s...

https://www.washingtonpost.com/technology/2025/09/10/life-on...
by ameliaquining | 2025-09-14 04:49:56+00:00
The problem isn't version-controlling the SQL; it's making sure that, when a particular build of your app executes a query that calls out to a user-defined function, it uses the SQL function code from the same commit that the app itself was built from. Otherwise you have a potential source of version skew, and those are always really annoying and unpleasant to deal with.

I think Postgres sort of supports this but it's really clunky, and also I think you'd have to run the function-creation code on every connection; I don't know whether that would create any performance problems.

What does Visual Studio do?
by necovek | 2025-09-14 04:51:33+00:00
Computer programs always fail in predictable — but usually unpredicted — ways.

Human bodies, not so much, mostly because we lack the capability to monitor, measure and emulate the behaviour of such complex systems. As such, we gain medical knowledge using statistics, usually covering most common "failure modes" first, but we increasingly learn that those are never as clear cut either as our observation technology improves (as it does with science otherwise too — eg. Newtonian mechanics is completely true up to some error bars and constraints achievable in that period).
by BrenBarn | 2025-09-14 04:51:36+00:00
> anyone who recognized the computer running Zoom as Linux surely strengthened their conviction never to try that.

It always boggles me how supporters of Wayland (or other things that are new and better and worth deprecating the old one for) miss this. It only takes one experience like this to make the average person view Wayland (or Linux as a whole) as a total failure.
by ameliaquining | 2025-09-14 04:53:23+00:00
The textbooks all say that, but is it really true in practice? I suspect it's a bit of holdover conventional wisdom from an earlier era of software. Usually, when I've created a database for a particular app, it was never used by anything else besides that app (and manual queries, for which versioning is mostly not relevant).

You might choose to have a set of views and functions that are versioned separately from your app, for the same reasons you might choose to set up a microservice. But as with microservices, it should be a deliberate decision that you make because you're getting something out of it that outweighs the complexity costs and version-skew headaches; it should not be the default way to do composition.
by visarga | 2025-09-14 04:53:25+00:00
We know in the same sense we understand the rules in Conway's game of life - at low level - but don't understand what those rules will produce at high level (gliders, guns) except by executing and seeing. Analogous to knowing what the code looks like and not knowing if it will halt.

Knowing the low level rules, or the recursive transition rule of a system does not tell you its evolution in time.
by giardini | 2025-09-14 04:53:43+00:00
sig says "So you want your friend to be able to anonymously express their racism while being able to hide it from you? I can't imagine advocating for that as a desired goal rather than a negative side effect."

Deceit is a characteristic of our humanity. We all deceive others and ourselves. If people are to be allowed to be fully expressive as humans they need to be able to deceive. And so they require anonymity.

See Robert Trivers' works

https://www.amazon.com/stores/author/B001ITVRUO/about
by yjftsjthsd-h | 2025-09-14 04:54:25+00:00
1 - Oh, yes of course Wayland could support all these things, but that's not terribly interesting. It's like a programming language with an inadequate standard library: It keeps the core language lean and flexible, while ensuring that the ecosystem will remain fragmented and anyone trying to do normal work will forever have an uphill slog to get anywhere. In practice, in 2025, there are 3 incompatible ways to take screenshots in Wayland (the GNOME way, the wlroots way, and the KDE way that supposedly will get combine with wlroots real soon now), and we're just now starting to get to the point where theoretically the APIs exist to do a11y but the practical side isn't there yet.

2 -

> This isn't a project with full time employees like at your job, it's a distributed open source effort.

It's not a hobby project, either. AFAICT, Wayland has always been predominately a corporate project. It's a loose proxy, but https://gitlab.freedesktop.org/wayland/wayland/-/graphs/main... matches my impression; started at Red Hat, with lots of help from Intel, Samsung, and Collabora.
by BrenBarn | 2025-09-14 04:55:08+00:00
> I think people get the wrong idea that Wayland is telling them they can't ever do this, but it's really just telling application developers they can't absolutely count on being able to do it like they can in X.org.

That's still worse than what X.org provides. "You can maybe do it" is worse than "You can definitely do it".

> Secondly, the "Wayland is x years old" thing just doesn't make sense, this has to stop. This isn't a project with full time employees like at your job, it's a distributed open source effort.

That's fine. What's not fine is then insisting that this new thing that has spent 17 years to get to a point of not being able to provide an equivalent experience to X11 should be the default and/or should replace X11.

No one should even think about deprecating X11 until functionality under Wayland is a strict superset of functionality under X11.
by yepitwas | 2025-09-14 04:57:57+00:00
I think this is a misunderstanding of how he works, and especially how he got elected the first time.

I believe there has long been a significant gap between what national-stage elected republicans say and do, and what Republican voters say and want them to do.

Frankly, what Republican voters say they want is often a lot meaner than anything their politicians were delivering. I’ve not only heard “why don’t they just build a wall?” from ordinary not-terminally-online R voters, I’ve heard, many times going back 20+ years, “they should just mine the border”. Kilmeade’s comment about just killing homeless people who wouldn’t accept aid (who cares why they don’t, I guess)? I’ve heard it, that’s not new, what’s new is people that prominent saying it.

R voter sentiment also veers far away from the (Republican-initiated) neoliberal (ex-)consensus on trade. (Incidentally, this also isn’t popular on the left, but both major parties agreed on it for more than 30 years, so it didn’t matter).

Dropping lots of foreign aid? Mass government worker firings? Sending the army in to cities to fight out-of-control crime or brutally quelling riots with the army (that one’s on the “we’ll see” list but if we get four full years, the smart money says we will see it)? Normal stuff to hear on a wishlist from an awful lot of R voters. They’ll just tell you this stuff.

I could go on.

Trump got where he is by exploiting a large gap between what voters want and what parties have been delivering. This gap was huge for the republicans, and there was a little overlap with own-voter dissatisfaction with Democrats. He was able to make voters believe he’d do many of the things they’d long wanted their elected officials to do, but that they weren’t doing, and often weren’t even talking about doing.
by krrishd | 2025-09-14 04:58:45+00:00
From the consumer perspective totally - but those credit card points come from the interchange the issuer makes from issuing the card / your card txns (ie. as a proportion of your _spend_ using the card).

The sort of rewards you get for storing your business's cash at eg. Mercury, or using a wallet like Cash App - have to come from yield generated by the actual cash deposits, which is the sort of program that is much harder to operate / requires close ongoing partnership with partner banks / etc.

If I'm eg. Mercury, storing the dollars you (business) deposit into my platform in a "branded" stablecoin will get me the same rewards - bc it's backed 1:1 by eg. a money-market fund at Blackrock - for much less of the operational burden, _because_ I'm not participating in a stored value program at an actual bank. The alternative today is that Mercury does store it at a bank, does have to maintain a "stored value" program with that bank, and the yields are standard bank interest (rather than eg. MMF).

Moreover - through Bridge, I can withdraw fiat USD and deposit fiat USD into that "branded stablecoin", and it's just an in-app balance in the fintech app - so the fact that it's a stablecoin doesn't change my experience at all other than in conferring standard rewards. If you look at how eg. Stripe Stablecoin Account labels the balance, it just calls it "Digital dollars" - so it's not much more than a backend implementation detail, really.
by anonclaudeuser | 2025-09-14 04:58:54+00:00
If you're experiencing an issue with claude.ai continuously refreshing, try adding a filter to ublock origin to block it from reconnecting.

It's losing the connection and upon reconnect, it refreshes the page. By filtering it, you prevent it from reconnecting. Chats still seem to work

claude.ai##script:has-text(reconnect)
by MilnerRoute | 2025-09-14 04:58:57+00:00
You'd probably want to make the newsletter free (and then charge people to add job listings at the end.)

I'd like a newsletter that tracks upcoming changes to the major languages, new features in IDEs, major conferences, interesting online comments on the social media feeds of various language creators or core maintainers. (Some of the day-to-day growth of programming languages really isn't being tracked anywhere...)
by sthustfo | 2025-09-14 04:59:21+00:00
asynchronous cancellation (when compared to deferred) is only recommended in scenarios where the thread does not share any data, semaphore or conditional variables with other threads. The target thread tends to cleanup any data within the thread cleanup handlers via pthread_cleanup_pop(). If not, the entire application might end up going down. Async cancellation has a very narrow application scope imho.
by arcane23 | 2025-09-14 04:59:53+00:00
I will use the "rabid" replies I got as evidence towards interests of minimizing the scare for nuclear because there's many other interests behind it and I doubt it would get a fair shake. A lot of political and economic interests are known to muddy the truth.

And this isn't the first time this happened, had a few debates before and out of nowhere quite a few people insist going as hard as possible, to no end, to dispel "misinformation", like that is what normal people do. I think you should be ashamed of yourselves for denying the pain and suffering of so many people "for a greater purpose".

>Radiophobia

I do not have this issue, I am not scared of a bit higher radiation, I understand the body can deal with quite a lot (compared to normal background).

I am scared of what could happen when humans and their politics get involved. There's more dangers than proper implementation, there can also be sabotage fears, as recent events have shown. I really don't understand why you'd accuse me of such a thing unless you're trying to smear me, which again...makes your rabid responses rather suspicious.
by ameliaquining | 2025-09-14 05:00:29+00:00
That's part of .NET Framework and therefore legacy, right? Do the database libraries from recent versions of .NET do this?

In any case, it's just one framework; previous comment said "all major languages". And it's useful to be able to abstract and compose over expressions and predicates and such, not just data values, which this still doesn't help with.
by leetrout | 2025-09-14 05:01:18+00:00
I visited Mexico City a couple weeks ago and it is at 7200 feet. As I got off the plane I was gasping a bit and I woke up 3 or 4 times the first night gasping for air. I didn't have any problems visiting Denver at 5000 feet in years past but I was absolutely feeling it at 7200. I didn't stay long enough to see if I would acclimate as I continued to feel bad and returned home early.
by dh2022 | 2025-09-14 05:01:19+00:00
I stopped reading the Economist a few years ago for this exact reason. It looks like it is still the case. Any article mentioning reserve currency without mentioning Triffin dilemma is not serious. Any article mentioning how US dollar will lose its reserve status without mentioning how the Euro (a large liquid currency with no capital controls and 3 decades of existence ) did not takeover is even less serious. Any reporter claiming RMB is the next world currency never tried to wire a dividend payment out of China.
by jjani | 2025-09-14 05:01:48+00:00
> Countries like India, Vietnam, and South Korea have begun replicating the Chinese Thousand Talents program to attract their diasporas back to domestic academia.

Really? I'm yet to meet a single diaspora (i.e. born/raised abroad) professor here in Korea and I interact with universities quite a bit.

Unless diaspora here includes those who did their full university education abroad though, lots of those indeed.
by iamjiamingliu | 2025-09-14 05:02:08+00:00
How it works: 1. A Python ingestor continuously pulls repositories and READMEs from GitHub’s GraphQL API and streams them into Kafka. 2. An indexer consumes from Kafka, processes the content, and writes it into Qdrant, Elasticsearch, and PostgreSQL for vector, keyword, and structured search respectively. 3. At query time, the system analyzes the search request, retrieves candidate results from Qdrant and Elasticsearch, and ranks them using multiple signals — including reranker similarity, click-through rate, recency, and more.

Where it’s hosted: Linode’s 8GB ram virtual machine costing $48 a month + voyage AI

Lemme know if you'd like to request new features and report bugs. Thanks!
by yjftsjthsd-h | 2025-09-14 05:02:17+00:00
Like... I don't exactly want to discourage people. As a person using a11y tools that don't yet exist on Wayland, I would kinda like to be able to migrate over. But it remains true that Wayland is set up in such a way that it's inherently a longer uphill struggle, and always will be. If tomorrow someone created a new X11 window manager, I could switch and my tools would still work. If tomorrow someone created a new Wayland compositor, I almost certainly couldn't use it, because they'd need to implement everything over again. They can do that, obviously, but the startup effort will always be higher.
by strken | 2025-09-14 05:04:11+00:00
As an Australian, I've seen recruiters from the US, Europe, Hong Kong, and Dubai. I think such offers are reflective of who pays more than Australia rather than nativism.

Since tech wages in the US are the highest anywhere in the world, with the possible exception of Monaco or something, I would imagine Americans don't see a lot of recruiters from elsewhere in the world. I would also imagine that's because it's harder to recruit someone who's earning American wages.
by exabrial | 2025-09-14 05:07:31+00:00
I lived at 10,600 feet for 6.5 weeks last summer, coming from essentially sea level.

I felt like I was adjusted 90% adjusted about 2 weeks in, like I could walk at a normal speed. My Garmin watch agreed with this adaption. However, trying to mountain bike with the locals was hilarious... even at week 6 I barely started to be able to keep up on climbs. I rode my mountain bike nearly every day, or at minimum took a several mile hike

Near the end I had a bender with some coworkers. I started developing a persistent "altitude" cough after that that never really went away until I got back down to sea level. The cough disappeared in 36 hours. And wow, did I feel like superman when I got back racing my peers.

Did you catch the important point in my story though? I live an active life style at sea level, but man, people living in small towns in the mountains _love_ the outdoors. We were active every day of the week: riding, hiking, climbing, etc. I could definitely see how altitude helps with cardiovascular health, but it's already been proven that leading an active lifestyle is one of the most amazing things you can do for your health and happiness.