MurphyA/hacker-news huggingface dataset:
by zhisme | 2025-05-09 21:11:45+00:00
Ruby is a language that grants you lots of freedom.

Nobody can argue that. With freedom we can do anything, but anyone wondering why in first place?

What about wisdom and pragmatic approach? If you ever need types why not choose typed language for your case, but instead re-implementing something and wasting so much time for work that has no real use. Why not use c-bindings for typechecks, this feature is already available in ruby *rb_obj_is_kind_of(value, rb_cString);* and has no cost. Is it wise? I don't think so, I would be shocked if I saw such code in production.

We care so much about environment and climate changes, but think it is ok to waste resources for such activity. It is not research task. People really advocate to use in real-world applications such thing as sorbet. DHH even removed typescript from his frontend libraries, and this types is like kindergarten for some homemade rack/hanami/dryrb application that will server 2 people in production (creator of this stuff and random visitor). Maybe someone could tell me why we need such thing in ruby ecosystem like rbs/sorbet library. I'm really wondering. Not because ruby grants us freedom and we can do that. That's not an answer. We can do enormous count of absurd things. But the question is why?
by Frost1x | 2025-05-09 21:11:59+00:00
I wonder if it deals more with the approachability of software applications. If I even begin to think I’d compete with NVIDIA delivering similar hardware, I’d very quickly realize I was an idiot. Meanwhile as a single individual, there is still a reasonable amount of commercial markets of software I really do have some chance at tackling or competing against. As software complexity rises it’s becoming far less tractable than it was in say the 90s but there are still areas individuals and small sums of capital can enter. I think that makes the sector alluring in general.

Hardware is just in general capital intensive, not even including all the intellectual capital needed. So it’s not that it’s uninteresting or even a commodity to me, it’s just a stone wall that whatever is there is there and that’s it in my mind.
by bbatsell | 2025-05-09 21:12:09+00:00
The HTTPStatus enum example is a good one, but the backtick syntax is _rough_. I would only ever use the Type.case form in practice. The test stuff is basically a way to create BDD-style test names, which is kind of just a preference thing. I can’t envision myself using it for anything other than weird case names (I already use case `default` quite a lot because it’s such a useful word), but maybe some interesting DSLs can come out of it? I would not have prioritized that change personally.
by donnachangstein | 2025-05-09 21:12:43+00:00
This is an opportunity for private industry to step up and step in, while drastically reducing the size of government.

I hear the Juicero had an outstanding power supply.

For all the waste, some folks probably learned a lot about power electronics.

It seems odd to me that of all places, a forum run by a VC outfit, thinks a government jobs program to churn STEM grads with nonsense projects is the way to go.
by pton_xd | 2025-05-09 21:13:33+00:00
Wouldn't that show up in a statistical analysis of the community cards? How is your algorithm modifying the community cards advantageously but preserving randomness such that over a large sample size every card shows up at the same frequency? Although it wouldn't be exactly the same, presumably some cards that are less often bet preflop, like a 2, would show up at a slightly higher frequency in the community cards, but still.

The much simpler way to cheat is to just give some players more information. Or, run bots that take up guaranteed payout seats in tournaments and such, which I've heard rumors of happening on certain sites. Or both.
by jmyeet | 2025-05-09 21:13:40+00:00
Believe it or not, this sort of thing is actually relevant to far-future galactic colonization.

The view we have from science fiction is largely of colonizing planets (eg Star Wars) but this makes almost no sense. Alien worlds are likely to be hostile. Just look at any rocky world in our Solar System other than Earth. Gravity wells are incredibly inconvenient. So if you have to live in a habitat anyway because of a hostile environment, you may as well live in space.

And that's where we once again return to the Dyson Swarm.

In this future, stars become incredibly valuable and planets are little more than a source of raw material. The energy output from a star is almost incompehensibly high. It's estimated that human civilization uses between 10^10 and 10^11 Watts of energy. Roughly 10^16 Watts of energy hit the Earth from the Sun. That would be a Kardashev-1 (K1) civilization. But the Earth only gets less than a billionth of the Sun's output.

If you used all of the Sun's output, that would be roughly 10^26 Watts of energy, called a K2 civilization.

We simply cannot comprehend what you could do with this much energy. One application is simply to turn that energy into heavy elements that may not otherwise be present around that star in a method that is basically a scaled up particle accelerator.
by mcbrit | 2025-05-09 21:14:01+00:00
I am currently limiting myself to 500 lines of (particle engine) code while listening to visual artists talking about their workflow in UE5 or Houdini, and Odin+Raylib are lovely to work in.

GingerBill has shouted out Go, but Odin doesn't particularly feel like a Go flavo(u)r.
by DyslexicAtheist | 2025-05-09 21:14:45+00:00
Actually it's "his". Also Redditors at the time rated him merely as "one among many talented playwrights and poets". It wasn't until the 17th century that he's been been considered _the_ supreme playwright.

... is this^^ the type of content you want on Itter? Because that's what you get from this crowd.
by schoen | 2025-05-09 21:14:59+00:00
> They had started significant expansions right before the pandemic, allowing a long (but no traffic) ride possible from Oakland to San Jose.

They're still working on this, with four more stations planned beyond Berryessa (Little Portugal, Downtown San José, Diridon, and Santa Clara), plus an additional infill station on the Berryessa line. I think that would be really cool. Unfortunately it looks like this new extension won't be that competitive with Caltrain as a way to get to San Jose from San Francisco. Maybe at non-express times.

Also, it looks like it won't be complete until 2040!?
by serf | 2025-05-09 21:15:38+00:00
that's a shame, the coverage is 100x worse than it was.

the ESPN2 streams suck, they seem like they don't know what table they're watching and the commentary is usually below-basic pop-culture and memery, and the WSOP commentators are equally childish and unprofessional.

poster was right though, it seems far from what it was as far as general non-poker interest goes.. maybe the increased size of the poker hall/tournament attendance is evidence of another effect; gambling tends to go up in poor economies.

my .02c: i've seen a lot of my favorite casinos close their poker rooms or convert them in the past five years. my neighborhood games are all mostly dried up, and all of my cohort I network with about poker stuff is essentially still just enjoying 10-20 year old Poker After Dark eps. The coverage sucks and only the huge games or private tables are worth watching, and that's a whole other cash grab. The personalities are largely non-existent, and the ones that try angle don't do that great a job.

It all sounds like sour-grapes nostalgia, and maybe it is to a degree, but it's a common opinion that poker is in a rut lately.
by slg | 2025-05-09 21:16:20+00:00
Once again, this is not an accurate description of presidential elections or even what I said for that matter. I did not say that everyone knew Trump would win in the manner in which he did. But once we take Trump winning as a prediction, the results of the individual states mostly fall in line.

For example, a standard path to victory for Harris was to win Wisconsin, Michigan, and Pennsylvania. But those states are pretty similar to each other and their results are correlated. If you think Trump is going to win, you could have just awarded him one of those states, but that isn't actually a likely outcome due to their similarity. Whatever hypothetical reason that would explain Trump being underestimated in Michigan likely also applies to Wisconsin. The reverse is also true, if Harris won one of those, it was likely she would win the other. Therefore predicting Trump winning both Wisconsin and Michigan is not nearly as bold of a prediction as winning one and not the other. Considering the way that every swing state went to Trump makes it very easy to predict all 50 states, because the only actual prediction you need to reach that conclusion is that Trump will outperform his polling (or like I said before, Harris to underperform).

It seems like ABC has wiped the full 538 predictions from the web, but look at this chart of their predictions[1]. They have Trump winning by roughly his margin of victory as the most likely of any individual outcome. It doesn't mean he was favored, it is just the way all these state results are correlated to each other. If Trump were to win, the manner in which he did is not surprising.

[1] - https://i.abcnewsfe.com/a/ff20d77c-0734-48d0-b9b3-72eb9bec8a...
by Aurornis | 2025-05-09 21:16:47+00:00
In this article, they saw the following speeds:

Original: 18 GB/s

AVX2: 20 GB/s

AVX512: 21 GB/s

This is an AMD CPU, but it's clear that the AVX512 benefits are marginal over the AVX2 version. Note that Intel's consumer chips do support AVX2, even on the E-cores.

But there's more to the story: This is a single-threaded benchmark. Intel gave up AVX512 to free up die space for more cores. Intel's top of the line consumer part has 24 cores as a result, whereas AMD's top consumer part has 16. We'd have to look at actual Intel benchmarks to see, but if the AVX2 to AVX512 improvements are marginal, a multithreaded AVX2 version across more cores would likely outperform a multithreaded AVX512 version across fewer cores. Note that Intel's E-cores run AVX2 instructions slower than the P-cores, but again the AVX boost is marginal in this benchmark anyway.

I know people like to get angry at Intel for taking a feature away, but the real-world benefit of having AVX512 instead of only AVX2 is very minimal. In most cases, it's probably offset by having extra cores working on the problem. There are very specific workloads, often single-threaded, that benefit from AVX-512, but on a blended mix of applications and benchmarks I suspect Intel made an informed decision to do what they did.
by stefan_ | 2025-05-09 21:17:52+00:00
I think you are missing a bunch, and the average one of those probably has 10x the grad students of a US one, working on in average ten times as important things.

(And then frankly half the papers from these vaunted US institutions have author lists that could equally be from Wuhan or Peking university, and a bunch of those will inevitably return to professorships in their native country, not like anyone is funding professors in the US)
by foldr | 2025-05-09 21:18:04+00:00
Shockingly bad journalism here. The 'hoax' that Pullum wrote about was the specific claim that Inuktitut has a lot of words for snow. This is false, and the referenced paper agrees (pointing out that "discussion of lexical elaboration has been tarnished by unscholarly claims about Inuit words for snow"). The detailed results of the paper are perhaps of some interest, but at base it is making the very unremarkable claim that languages differ in how many vocabulary items they map to different areas of conceptual space. It could hardly be otherwise.
by ultrarunner | 2025-05-09 21:18:52+00:00
As a completely incidental observation (and maybe related to the article from a few days ago considering the importance of language skills compared to math skills for software development), I'm interested in what people choose to capitalize when developing languages. With c, lowercase seems to be the default, signifying variables or function calls. Adding inheritance in c++ leads to Proper Nouns like classes being capitalized, while their instances are often lowercase. This communicates a subtle "feel" for the language, meta information about what's being accomplished.

Capitalizing method calls (`rl.InitWindow()`) seems to place the importance on the Method being called, but at first glance (ASP, or Go off the top of my head) it muddies the waters. If this isn't clear, consider that capitalizing ALL code would reduce clarity as all letter shapes are now essentially the same (a box).

I spend most of my time in c, c++, ruby, and javascript, but maybe I should try to do a personal project in Go (or Odin) for this reason alone.
by coliveira | 2025-05-09 21:19:00+00:00
The fact that someone agrees with Russia's position doesn't immediately prove that he's an asset owned by them. All you said could be explained if he thinks that peace with Russia would be much better for the US than NATO expansionism, since it would reduce the tremendous cost of maintaining a war machine, put less money on the pockets of the war industry, and increase the opportunities for someone like him who wants to invest in real estate abroad.
by dctoedt | 2025-05-09 21:19:24+00:00
> the same guy whose name begins with C

Nit: "Christ" is actually a title, not a name — it's the English version of the Greek Χριστός (christos), from the Hebrew mashiach (in English, messiah, anointed one).

His name was Yehoshua (or Yeshua or Y'shua, "Yahweh is salvation" — in English, "Joshua") whose Greek version is Ἰησοῦς (Iēsous, anglicized to "Jesus", although the Spanish pronunciation hay-sooss is closer to the Greek).

https://en.wikipedia.org/wiki/Jesus#Name

https://en.wikipedia.org/wiki/Christ_(title)
by voxgen | 2025-05-09 21:19:45+00:00
I don't think retrofitting existing languages/ecosystems is necessarily a lost cause. Static enforcement requires rewrites, but runtime enforcement gets you most of the benefit at a much lower cost.

As long as all library code is compiled/run from source, a compiler/runtime can replace system calls with wrappers that check caller-specific permissions, and it can refuse to compile or insert runtime panics if the language's escape hatches would be used. It can be as safe as the language is safe, so long as you're ok with panics when the rules are broken.

It'd take some work to document and distribute capability profiles for libraries that don't care to support it, but a similar effort was proven possible with TypeScript.
by fakedang | 2025-05-09 21:20:29+00:00
Well they ought to learn to code /s

Or try out braindead jobs like HR /s

Jibs aside, the key issue is that a lot of folks just seem to stop learning after a certain point, even if it's their chosen occupation since decades. And it's not just limited to the factory workers themselves - how many of us have met a stubborn doctor unwilling to try out a new treatment mode, or a senior banker too stubborn to learn basic Excel functions. While those folks enjoy secure jobs regardless of their proficiency in modern technology, the folks at the lower rungs of the manufacturing ladder don't. Even if they do have the desire to learn, learning anew today has become an onerous process in most fields.

We really have a Continuous Learning problem that has to be solved here - helping people reskill or deepskill easier, if they have the mentality to improve upon themselves.
by a_conservative | 2025-05-09 21:21:15+00:00
my m4max macbook can run local inference on a medium-ish gemini model (32b IIRC). The power consumption spikes by about 120 watts over idle (with multiple electron apps, docker, etc). It runs about 70 tokens/sec and usually responds within 10 to 20 seconds.

So.. picking some numbers for calculation. 4 answers per minute @ 120 watts is about .5 watt-hours per answer. ~200 responses would be enough to drain the (normally quite long lasting battery).

How does that compare to the more common nvidia GPUs? I don't know.
by rufus_foreman | 2025-05-09 21:21:50+00:00
In the past one hundred years, only 2 cabinet position nominations have been rejected by a vote in the Senate, and neither occurrence was when the President's party held the Senate.

If you look at nominations that were withdrawn rather than going to a vote and being rejected, President Trump has had 5 withdrawn so far which is the most of any President in US history.

I see no evidence that the process is becoming more of a rubber-stamp than it was previously. If you've got some, I'd like to see it.
by umbcorp | 2025-05-09 21:22:16+00:00
I'm one of those garage hackers, I have a quote from PCBWay, $286 for 20 boards including assembly service. I also got quotes from companies in U.S.

- $2700 from a popular company in bay area - $2000 from another new pcb company.

With tarrifs, my PCBWay order is around $789.

I'm new to PCB Design, I cannot afford to do $2700 mistakes, with PCBWay hardware is more accessible.
by apercu | 2025-05-09 21:22:33+00:00
I don’t understand the endgame. If everyone is poor and dying who is buying all the useless/social credit shit until there are 100m “wealthy” people left? And if “they” (whoever they are, I think we all give “wealthy” people far too much credit, many that I’ve known are pretty empty, insecure people lacking any real self awareness) want everyone else dead, why are all “developed” countries pushing for higher birthrates and encouraging immigration from less developed countries?
by api | 2025-05-09 21:22:55+00:00
I doubt it will be a single currency.

Something I think a lot of people miss in this discussion is that with computers and electronic markets dealing with currency conversions is fairly easy. In the past doing everything in USD vastly simplified everything, but today I think countries just trading with whatever currency works for a given market or transaction probably makes the most sense.

There is no other world currency that looks both large and stable enough to replace USD. Chinese Yuan/Renminbi is probably the closest but it's probably viewed by many as too easily manipulated. It's a pure fiat currency run by a single party state with little separation of powers.
by goosedragons | 2025-05-09 21:23:14+00:00
The color is effectively an extra sticker and some software. All that's different between the screens is a color filter is added as layer during manufacture. With the software changes it knows which pixels to make white or black when combined with the filter to make the desired color.

There are a bunch of tradeoffs with this method. Contrast is worse because of the color layer, color has lower DPI too.
Show HN: Bardmore – AI Speech Analysis and Feedback
by ChristopherLaw_ | 2025-05-09 21:23:57+00:00
Hey HN,

I’ve always struggled with public speaking – whether it’s pacing too fast, filler words, or just sounding robotic. So I built Bardmore — a tool that gives you feedback on how you speak using AI.

You just record yourself talking (like practicing a pitch or a meeting intro), and Bardmore gives you instant feedback on things like pacing, articulation, and delivery. You get a report on what to improve, plus personalized tips to work on over time.

Think of it like Grammarly, but for your voice.
by svachalek | 2025-05-09 21:24:03+00:00
As I understand contemporary physics, once matter crosses the event horizon it becomes part of the singularity. The singularity behaves as a single super-sized particle, so nothing happens inside. However I also have heard that many physicists don't believe that singularities actually exist, it's just the best mathematical model we have for physics that are too extreme for us to measure.
by LPisGood | 2025-05-09 21:24:55+00:00
I think this is the most incompetent administration USA has had in modern times, and it’s perhaps the second most authoritarian (next to WW2 era FDR). The current administration seems to be taking concrete steps to weaken USA’s financial dominance in a way that has not happened in the years since you were a teenager.

I suspect these forces will combine to significantly weaken the dollar.
by DyslexicAtheist | 2025-05-09 21:25:34+00:00
do we have any records of how society perceived that time. It would be interesting to compare it to how that fares compared to the perceived injustices that modern society complains about.

While it's impossible to directly compare recent events, like the pandemic to the plague, it would be interesting to understand the claim of "the worst year to be alive" between a society that is hyper-distracted and always online today, with a society that walks among the ruins of a collapsing Roman empire ~1500 years ago.

That said, both scenarios seem to ignore non Western history.
by favorited | 2025-05-09 21:25:54+00:00
I have a few personal and professional Swift on server projects, in the wild and in the works. Code reuse is a big win – we can ~easily expose functionality of our client apps to other systems. Familiarity is another – there's an ocean of iOS (and, to a lesser extent, macOS) developers out there who are familiar with Swift. With a little bit of coaching, they can pretty quickly get up to speed with how services work.

It reminds me a lot of what it was like to ship Node.js software 15 years ago – the ecosystem is still young, but there are enough resources out there to solve 95% of the problems you'll face.
by paulpauper | 2025-05-09 21:26:59+00:00
Because this time is always different. There needs to be some accountability when pundits are wrong, just like in any other profession. I have read this prediction forever too. The dollar always has a recurring tendency of surging, typically when there is unrest or recession or any other reason, or even no reason.

Also, the dollar falling also does not make Americans poorer, as the implicit unit of wealth is the US dollar (e.g. the Forbes 400 list). Americans measure their net worth in dollar, not Euros. This would only matter if traveling oversea and purchasing power falls due to falling dollar. Otherwise, it does not matter.
by gtirloni | 2025-05-09 21:27:12+00:00
A global currency has to have liquidity and availability and the Renminbi has none of those things. China doesn't seem willing to turn their country into a major importer (thus making the RMB more global) so I doubt it will replace the USD either. Probably all three USD/EUR/RMB will be around without a major takeover by a new entrant.
by knuckleheads | 2025-05-09 21:27:16+00:00
He's been on a bit of a book tour recently and his name kept ringing a bell for me dimly every time I saw him pop up, and then one day it hit me, Rogoff is the economist who was found to have made a serious mistake in their paper about the effect of debts levels on GDP growth a decade and a half ago. The paper argued that the higher the levels of debt, the more gdp growth slowed down and reversed. This paper as used to support a lot of austerity policies in response to the GFC in the years following 2008. Some, at the time, grad students looked into though and found that there were lots of serious mistakes with the paper.

https://en.wikipedia.org/wiki/Growth_in_a_Time_of_Debt

Leaving a comment for others just in case others are experiencing that same mis-connect. As far as the article goes, we'll see! I'm inclined to think that is true, that the US is retreating from the world stage and the dollar will follow, but whether that happens now, later or never, I couldn't say. Interesting times!