MurphyA/hacker-news huggingface dataset:
by tzury | 2025-08-04 05:19:07+00:00
this one is nice, Wordle shaped Wordle program

https://github.com/ioccc-src/winner/blob/master/2024/burton/...

#include <stdarg.h> #include <stdlib.h> # include <stdio.h> #define J(J) for (\ _ j=0; j<5; ++j) J; #define/*IOCCC*/I \ \ \ \ _ W,_ O,_ R,_ D,_*L,_*E #define A(A )for(_ j=0; !o&&j<5&&(k = t[l][j]); ++j)A&&++o; typedef/* ; ; */void q; typedef int _ ; typedef char/* */p; struct{ p a [257],b[9][ 5],c[5],d[5 ]; _ e,f; } i;p t[78557 ][5]; _ s,a []={ 9,9,9, 10,13,18,27 ,39,55,1,18 ,2,1,1,35,2 ,19,18,1,52 ,36,35,20,3 ,2,19,18,18 ,69,2,53,1, 52,37,3,20, 36,19,35,18 ,52,86,2,53 ,70,1,69,38 ,4,21,3,37, 19,36,35,25 ,10,+17,15, 26,9,11,12, 23,2,06,18, 13,20,22,14 ,1,24,19,21 ,16,5,7,4,8 ,3},u=' ';_ W(p*a,p*b){ for(p*c=a+5 ;a<c;)*a++= *b++;return 0; } _ O(p* a,p b){ p*c =a+5; for(; a<c&&*a-b;) ++a; return a<c?5-(a-c) :0; } _ R(p *a, ... ) { va_list b ; va_start(b, a); vprintf (a,b); exit (1); } q D( p*a){ if (s ==sizeof t/ 5)R("limit" " %d\n",s); p*b=s[t],i, j; for(i=j= 0; i<7&&!j; ++i)if(!(j= *a==10?i:0) )*b++=u|* a ++; j-5||++ s; } q L(p* a,_ b){ for (_ l=0,o=0, k; l<s; o=0 ){ A(i.c[j] &&k-i.c[j]) A(i.a[k])A( i.d[j]&&!O( t[l],i.d[j] ))for(_ f=i .e; f--&&!o ; )A(i.b[f] [j]==k)if(! o){ J(o+=t[ l][j]==a[j] )o=o==5?b!= 5:0; } o?W( t[l],t[--s] ) :++l; } } _ e(I){ for (; O<D; )L[ R++]=E[O+++ D*W];return R; } q S( _ O,_*l){ for (_*s=&a[a[O ]],*e=a[-~O ]+s-a[O]; s <e; ){ _ i= *s++,j=i&15 ,k=l[i>>=4] <l[+j]?k=l[ i],l[i]=l[j ],l[j]=k:i; } } _ o(I){ _ o=0, w=0; for(; o<D&w <D; )L[R++] =E[o+D*W]>= E[w+D*O]?E[ o+++D*W]:E[ w +++ D*O]; return e(O, w,e(W,o,R,D ,L,E),D,L,E ); } q l( _ n,_*f){ for (_* e=f+26, i,j; f<e&&* f>u; f+= i) { for(i=1,j =*f/u; i <n &&f[i]>>5== j; )++i;for (j=0; j <i; ++j)f[j] &= 31,f[j]|=a[ f[j]+a[~-9] ]<<5; S(i,f ); } } q v( _ a,_*w,_*k ){ o(2,3,o( 0,1,0,a,w,k ),a,w,k); o (0,1,0,a+a, k,w); l(a,k ); } p*E(p* d){ _ l,j,k =u,b[u] ,c[ k]; p*e[97] [5 ]={ 0} ; for(l=0; l< k; ++l)c[l] =l; for(l=0 ; l<s; ++l) J(c[t[l][j] -97]+=k)for (l= j=7; j< 22; j+=l)S( l,c+j-l); v (l,b,c);for (l= 0; l<k; ++l)b[c[l]& ~-k]=l; for (k*=3,l= 0; l<s; ++l) { _ i=0; J( i +=b[t[l][j] -97])if(i<k )J(e[i][ j] ||(e[i][j]= t[l],j=4))} for(l=0; l< k; ++l)for( p*b=0,k=j=0 ; j<5&&(b=e [l][j]); k= !++j){ p c[ 32]={0} ; d =*d-120?d:b ; if(s>2)J( k+=++c[b[j] -97]>1); if (!k) return b; } return d; } p*r(p* b){ _ k, l; for(_ j=k=l =0; j<5; ++ j) { signed char n=b[j] ,o=b[j-~5]+ ~0x66; (o?i .b[i.e]:i.c )[j]=n; !o? i.a[n]=!++k :O(i.d,n)|| (*(o<0?&i.a [n]:&i.d[i. f++])=l=n); } i.e += !! l; L(b, k); return E("" "xyzzy"); } _ main(_ n, char**v){ p *j=i .c-97, *l=j-11; n- 2?R("usage" ": %s dict" "\n",* v):5 ; ; FILE*k= fopen(*++v, "r"); if(!k ) return // perror(*v), 1; ; while( fgets(j, u^ n,k)) D(j); fclose (k); ; ; setbuf( stdout, 0); while(~-s){ printf("? " ); while(~( n=getchar() )&&n-10&&l< j)*l++=n; l <j&&R("inp" "ut: guess" " color\n") ;printf("%" ".5s\n",r(l =j+~10)); } return 0; }
by JumpCrisscross | 2025-08-04 05:20:06+00:00
> hard for me to imagine how deporting a million illegal immigrants working under the table, or stealing a social security number, would hurt the minimum wage workers

Immigration is a distraction. Trump is deporting fewer folks than Obama did [1], he’s just doing it while pumping tens of billions to his buddies via ICE contracts.

Tariffs are a regressive tax. If food and metal is more expensive, service and manufacturing workers will be pinches.

[1] https://www.cbsnews.com/news/ice-deportations-trump-six-mont...
by throwaway4496 | 2025-08-04 05:20:58+00:00
But all those problems exist when rendering into a surface or rastering. I just don't understand how one thinks, this is a hard problem, let me make it harder by solving the problem into another kind of problem that is just as hard as solving it in the first place (PDF to structured data vs PDF to raster). And then solve the new problem, which is also hard. It is absurd.
by reliabilityguy | 2025-08-04 05:21:10+00:00
> Trump is out there creating the most regressive tax system via tariffs

Tariffs incentivize domestic production. See the case of chicken tax and pickup trucks. While we do pay for tariffs now, later down the road we should not as more things would be made domestically. If you don’t do tariffs, there is no way to force producers to onshore.
by JumpCrisscross | 2025-08-04 05:21:28+00:00
> For the poorest the wages have essentially not increased for a long time right?

No. Nominal wages grew from ‘21 to ‘23, hitting all-time highs in ‘24 [1].

> It hasn’t even kept up with inflation

It did [2].

[1] https://fred.stlouisfed.org/series/CXU900000LB0102M

[2] https://www.epi.org/publication/swa-wages-2023/
by protocolture | 2025-08-04 05:21:28+00:00
>Lotta haters out there but this is just advanced as I want to get in my home lab

The problem with UBNT isnt that they aren't great for your homelab. They are.

The problem with UBNT is people think "Great for my homelab" is the same as "I can run important infrastructure on this"

The problem with UBNT/Mikrotik is that people bring homelab level skills to complex infrastructure projects and then make a shocked face when they get hacked.
by gnabgib | 2025-08-04 05:21:45+00:00
Discussion (42 points, 2 days ago, 30 comments) https://news.ycombinator.com/item?id=44765939

Related: Samsung Removes Bootloader Unlocking with One UI 8 (286 points, 7 days ago, 245 comments) https://news.ycombinator.com/item?id=44706409
by SkiFire13 | 2025-08-04 05:23:02+00:00
That's no difference than using newtype structs. If you remove the extra layer you are left with `string` for both of them.

> The difference is that happens in the domain layer instead of the type layer

This view greatly reduces the usefulness of the type layer though, as that's the only automated tool that can help the domain layer with handling cases like this.
by jeffvroom | 2025-08-04 05:23:09+00:00
I think my lack of clear presentation has you confused. Yes, neutrinos pass through us all the time but scientists are not saying dark matter is inside atoms, in the boundaries between things, mediating actions at every boundary layer in subtle ways.

It sounds to me like you are saying I couldn't possibly have found a simple solution for all of these unknown problems? How could it be that easy? It is actually that easy, but when you're used to unknowns and complexity, it's terrifying to imagine how amazing it will feel after such a revelation.

How about you give it time, give me time to make the picture clearer? I just took out all of the spirit stuff and uploaded new slides I spent all day working on for the science intro to try and make it clearer. Once that's done I'll redo the video, maybe after work some day this week.

So far no one one here has actually refuted any of my arguments in a way that tells me anything over than I tried to say too much too soon. It smells bad, disrespects science, or whatever. I never claimed to be a scientist, only to have made a discovery.

I did learn I need to make more diagrams and honestly it's really helped me so I am glad I did post today. And again, I apologize for interrupting your weekend but hope this eventually pays off for all of us.
by rajkumarsekar | 2025-08-04 05:23:13+00:00
For your use case, I’d recommend looking at Lenovo ThinkPad P1 Gen 6 or Dell XPS 15/17 with an Intel i9 or Ryzen 9, 32–64GB RAM, and NVIDIA RTX 4070 or higher. If you’re open to desktops, a custom build with a Ryzen 9 7950X, 128GB RAM, and a decent RTX 4080.
by JumpCrisscross | 2025-08-04 05:23:49+00:00
> love the argument that deporting illegals is meaningless

Red herring. Nobody said this.

My point is Trump isn’t deporting that many people. His numbers are not economically meaningful compared to tariffs. To the extent there are labour pools that would benefit from deportation, they’re geographically concentrated along the border.

If Trump wanted to remove illegals from the American labour pool, he’d target employers. He can’t [1].

[1] https://www.npr.org/2025/06/16/nx-s1-5430846/farming-industr...
by rendaw | 2025-08-04 05:23:50+00:00
If someone encodes "Meter" and "Yard", your type system wouldn't provide any errors if a meter is used in a yard calculation or vice versa. If someone encodes "RGBColor" and "LinearRGBColor", both structs with 3 floats, your type system wouldn't provide any errors if a LinearRGB color is passed into an RGB calculation. You also wouldn't have any error if you accidentally passed a Vertex3 (again, struct of 3 floats) into your RGB calculation.

Also, preferred by who?
by geverett | 2025-08-04 05:23:59+00:00
Author of the post here - fwiw all the houses I've lived in have had a good gender mix, though it's true none of the men wanted to join for the hip hop dance workout. In general though the men have been the better cooks!

I wanted to note that a lot of houses I've lived in have had couples. Two of our housemates in PR were a married couple who rented out the apartment they owned to come live with us. The husband was more extroverted than the wife and loved the company - and the wife loved that we kept him entertained and she got the room to herself more often :)

All this to say I simply think it's great to live with (good) roommates, whether you're male, female, single, coupled, or anything else.
Show HN: A Programmer's Guide to Life
by breakboredom | 2025-08-04 05:25:26+00:00
So I built a little personal philosophy project.

I’ve been thinking of life like a game engine lately. This page contains an 11 chapter guide thats meant to read like an onboarding manual for life, using very simple language to describe real scientific concepts spanning from the origins of the universe to the present (big task I know).

It’s short, visual, and built for curious programmers, gamers, rationalists etc. Here’s the link if you’re into that kind of thing.

Curious what you think - let me know if any chapters land or completely miss!

Thank you
by JumpCrisscross | 2025-08-04 05:27:02+00:00
> sounds like you support deporting illegals, as long as we also eliminate tariffs

I’m saying irrespective of what you and I believe, the current administration isn’t meaningfully deporting anyone.

(To the extent I have policy views on this, it’s for coherence. You can’t do disruptive deportations while ignoring criminals all while launching on again off again tariffs which preclude both long-term domestic investment and trade-barrier reductions.)
by tankenmate | 2025-08-04 05:27:02+00:00
I wouldn't trust it to be done right. It's like a bank trusting that all their customers will do the right thing. If you want MAC (as opposed to DAC), do it in the kernel like it's supposed to be; use apparmor or selinux. And both of those methods will allow you to control way more than just which files you can read / write.
by siva7 | 2025-08-04 05:27:02+00:00
In comparison a completely unopinionated framework like fastapi, which got a popularity boost in the early a.i. surge, is a mess to work with if you are vibe coding. Most popular frameworks follow the principle of having no clear way how to do things and leave it up to the developer. Opinionated frameworks got out of fashion after rails but it turns out those are significantly better suited for a.i. assisted development.
by farkin88 | 2025-08-04 05:27:10+00:00
Fair point about process bloat. Just to clarify: I'm not an ADR expert nor do I personally know Harmel-Law. Just deriving insights from his blog post that I linked to earlier because I thought it was interesting.

But, I think you might be picturing ADRs as heavier than they need to be. Most changes seem like routine updates ("We decided Postgres" → "We're migrating to Aurora") that go through normal code review. The big architectural shifts that would trigger Security/Compliance review probably should anyway, ADR or not.

The key insight is that ADRs document decisions, they don't create them. If a change is big enough to need committee review, it likely needs that scrutiny regardless of whether there's documentation.

The alternative, undocumented drift, often creates much longer delays when people rediscover decisions during incidents. Curious to hear from folks who've actually implemented this at scale, though.
by kevml | 2025-08-04 05:27:23+00:00
I can see that working today in dentistry more so than general practice. I’ve got medication that insurance has dictated that I need to refill a weekly med monthly and it arrives precisely the week I need to take it. I need to time my vacations around this med now.

I get that I’m ranting against healthcare and not doctors, but I’d run far from any doctor that’s paper only these days.
by somenameforme | 2025-08-04 05:28:08+00:00
Which economic metrics do you mean? Here [1] is a large series of economic metrics on Russia. I linked to real wage growth because it's one of the most important, and it's been sharply increasing for decades, like most economic metrics. I completely agree on the fertility rate issue. That will be their primary challenge over the coming decades, though I am curious what it would be if we exclude the 'missed decades' generations from the 90s and early 00s. A quick search turned up little. In any case this will also be the main challenge for most of the developed world over the coming decades.

And I think Ukraine is obviously going to be a major turning point in history. Ukraine created an absolutely massive army by combining massive scale forced conscription alongside preventing men of "fighting age" (18-60) from leaving the country, and they're similarly being armed with hundreds of billions of dollars in Western arms - far more than we even supported the USSR with during WW2. And yet Russia, a country that could barely hold itself together in the 90s, and is under severe sanctions, is winning. We're looking at the absolute end of any concept of a unipolar world, and I think that's a great thing for everybody.

[1] - https://tradingeconomics.com/russia/wage-growth
by kelseyfrog | 2025-08-04 05:28:38+00:00
Capitalism isn't meant to do anything.

We have a system of laws that undergird the economic system - the legal protection of private property being the main one. Private property requires a monopoly of violence to enforce.

When capitalism colonizes a legal system, it necessarily creates the incentives for the legal system to adopt laws to maintain itself. If for some reason private property was not legally enforceable, capitalism wouldn't get off the ground.
by mddanishyusuf | 2025-08-04 05:28:43+00:00
Hey HN! I built this over the weekend after getting frustrated with poor exchange rates.

The core idea: instead of converting USD→EUR directly, sometimes USD→GBP→EUR gives you more money due to rate inefficiencies between currency pairs.

Technical approach: - Scrapes live rates from multiple sources every 60 seconds - Builds a graph of all possible 2-hop paths (source→intermediate→target) - Calculates final conversion amounts and sorts by best value - Redis caching for sub-second response times

Real example from this morning: - $10,000 USD → INR direct: ₹873,831 (rate: 87.38) - Best route USD → TZS → INR: ₹881,876 (rate: 88.19) - Extra money: ₹8,045 (~$92 or +1.49%)

The math: USD→TZS at 2520.55, then TZS→INR at 0.035 = effective rate of 88.19

Surprisingly, this works for many currency pairs. I've seen savings of 2-5% on EUR, GBP, AUD conversions.

Tech stack: Next.js frontend, Node.js API, Redis cache, deployed on Vercel.

The tool is completely free - no signup, no ads, no data collection. Just want to help people save money on exchanges.

Would love feedback on the UX and if you find any interesting arbitrage opportunities!

Live at: bestcxroute.com
by fc417fc802 | 2025-08-04 05:31:15+00:00
> and I don't even know how to frame its behavior in language in a way that would make sense to search for.

Have you tried recursion? Something like: "Using idiomatic terminology from the foo language ecosystem, explain what function x is doing."

If all goes well it will hand you the correct terminology to frame your earlier question. Then you can do what the adjacent comment describes and ask it what the idiomatic way of doing p in q is.
by adastra22 | 2025-08-04 05:31:19+00:00
Also the “walkback” of the unlimited Max plan was anything but. The plan is still exactly the same for 95% of the subscribers. It just turns out that less than 5% were doing things like scripting claude to run multiple sessions 24/7 with the same login credentials. The Max plan was supposed to be a single user plan, not an infinite-parallel-sessions plan.
by k310 | 2025-08-04 05:31:45+00:00
Back around 2004, outsourcing was killing jobs furiously, and people wondered if there would be any jobs left. There was a Business Week article "Where are the Jobs?". Well, the link is dead and it's not at the archive, so the PDF I saved came in handy (warning on link and article rot) [0].

My "answer" at the time was that FAB would allow everyone in the boonies (as I drove down I-5 in the middle of absolute **** nowhere) to create bespoke products that have personal, local, or group value.

I hear the call again for average Joe's to become artisans. I have no answer on the tip of my tongue, other than my service experience as an Electrician's Mate (with a physics degree, but that's another story) and until robots can wire homes, transmission lines, substations and data centers, right now, I tell all the young people looking for work to become electricians.

And I'm going to stop right here, because going any further needs some thinking through.

[0] https://pastebin.com/raw/Fi5YSV4a (text)
by cornholio | 2025-08-04 05:32:14+00:00
Thank you for your very well informed perspective. Fusion proponents seem to be either industry insiders with vested interests, or less informed fanboys who are simply unaware of the technical and economic realities.

This issue of safety is particularly prone to handwaving; in reality, the combined effects of activation and proliferation risks and the substantial radionuclide release potential will make the operational realities, regulations, environmental litigation and associated costs very similar to fission.

That's not too say fusion is inherently dangerous, rather that modern fission projects are already very safe and fusion won't improve on that. Yet fision still failed. So if fusion can't improve on the economics - and they quite clearly can't for the foreseeable future - then they bring nothing to the table.
by _imnothere | 2025-08-04 05:32:23+00:00
I hope game makers and maybe Steam could cooperate and roll out some kind of stablecoin-like stuff, Steam used to take Bitcoin for purchases, but we all know that the price fluctuates, but it wouldn't be the same if we all use stablecoin.

And with stablecoin adopted, who needs evil middleman like Visa and Mastercard anymore?
by nottorp | 2025-08-04 05:33:13+00:00
How many different PDF generators have done those millions of PDFs tho?

Because you're right if you're paid to evaluate all the formats with the Mark 1 eyeball and do a custom parser for each. It sounds like it's feasible for your application.

If you want a generic solution that doesn't rely on a human spending a week figuring out that those 4 absolutely positioned text fields are the invoice number together (and in order 1 4 2 3), maybe you're wrong.

Source: I don't parse pdfs for a living, but sometimes I have to select text out of pdf schematics. A lot of times I just give up and type what my Mark 1 eyeball sees in a text editor.
by ZYbCRq22HbJ2y7 | 2025-08-04 05:33:38+00:00
Reduced labor by executive power doesn't increase automation, it introduces a labor shortage.

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

Increased capacity utilizing automation would introduce automation

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

Increasing demand doesn't magically necessitate that technological resources sprout from nothing to replace human resources.

An introductory macroeconomics source instructs one on this

https://www.khanacademy.org/economics-finance-domain/core-fi...
by palmfacehn | 2025-08-04 05:36:15+00:00
JS on the backend was arguably an even bigger mistake when the JS ecosystem was less sophisticated. The levels of duct tape are dizzying. Although we might go back even further and ask if JS was also a mistake when it was added to the browser.

I often wonder about a what-if, alternate history scenario where Java had been rolled out to the browser in a more thoughtful way. Poor sandboxing, the Netscape plugin paradigm and perhaps Sun's licensing needs vs. Microsoft's practices ruined it.
by dcow | 2025-08-04 05:36:56+00:00
I wonder, does this account for compression? Are the bits counting a concrete representation of ideas transmitted? Or are bits counting a simple abstraction over syllables, similar to a token? Language is compression. And while humans may transmit at a universal rate, maybe some languages/cultures have a more dense compression of ideas than others? Like in Turkish, how there's a word for "moonlight on the water" https://ihearthesamewinds.wordpress.com/2011/11/01/142/.
by safety1st | 2025-08-04 05:37:13+00:00
Prior to an actual diagnosis, an excess of this type of fear is irrational. You have two powerful tools at your disposal.

#1, most people who take care of their bodies will live long and healthy lives. So the first tool is just to take care of yourself through diet and exercise and watch your risk of deadly diseases plummet.

#2, insurance exists and the medical field is extraordinarily effective. Rich people beat all kinds of conditions. Worried your insurance isn't good enough? Buy more. Keep making more money, and keep buying more insurance. Insurance is tool #2.

This may sound harsh but I really don't know a lot of people, in America or elsewhere, who take care of their body, have a Cadillac fantastic insurance plan, and are worried about illness destroying their life. People who are already unhealthy, on the other hand, or don't have great insurance, are worried about this constantly. Now it's unfortunate that society can't guarantee that optimistic state of mind and health for everyone but until it can, it's diet, exercise, and more income that you funnel into more insurance, for you and your family that are the solutions.

After a diagnosis these tools, especially #2, start becoming less effective because now you've got a pre-existing condition and in particular you're kind of stuck with whatever insurance you had when it happened. So the urgent message here is to get on this stuff now, and sleep better tomorrow (and live longer) because you did it.
by anthk | 2025-08-04 05:37:19+00:00
Try Retrozilla

https://portal.mozz.us/gopher/gopher.somnolescent.net/9/w2kr...

with these NEW values in about:config set to true:

security.ssl3.ecdhe_ecdsa_aes_128_gcm_sha256 security.ssl3.ecdhe_rsa_aes_128_gcm_sha256

Also, set these to false:

security.ssl3.ecdh_ecdsa_rc4_128_sha security.ssl3.ecdh_rsa_rc4_128_sha security.ssl3.ecdhe_ecdsa_rc4_128_sha security.ssl3.ecdhe_rsa_rc4_128_sha security.ssl3.rsa_rc4_128_md5 security.ssl3.rsa_rc4_128_sha
Ask HN: Looking for a Co-Founder for AI Superintelligence Startup
by prince-tech | 2025-08-04 05:37:24+00:00
Hi HN,

I’m building Chhirolya Technologies, an AI R&D startup based in India with global ambitions — similar to OpenAI or Palantir, but focused on solving social good problems using advanced AI.

Our first product, Karnika - AIOS, is a superintelligent OS for women’s safety and empowerment — something the world deeply needs but hasn’t built yet.

We already have: - growing community of early adopters - A tech roadmap to build an AI Agent Army - working MVP in progress - nonprofit arm (Maa World Foundation) to support outreach/data

I’m a solo founder right now, but I’m looking for:

A technical or strategic co-founder OR a senior advisor/mentor who shares our vision

If you're curious about AI for social good, frontier research, or scaling moonshot tech — let's connect.

You can reach me via https://www.linkedin.com/in/princechhirolya/

Thanks! – Prince