MurphyA/hacker-news huggingface dataset:
by mcv | 2025-08-04 06:46:59+00:00
Do you need an LLM for this? I've made my own in-house fork of a Java library without any LLM help. I needed apache.poi's excel handler to stream, which poi only supports in one direction. Someone had written a poi-compatible library that streamed in the other direction, but it had dependencies incompatible with mine. So I made my own fork with dependencies that worked for me. That got me out of mvn dependency hell.

Of course I'd rather not maintain my own fork of something that always should have been part of poi, but this was better than maintaining an impossible mix of dependencies.
by Teever | 2025-08-04 06:48:51+00:00
China has been stockpiling commodities for a while[0] now in preparation for this kind of situation and that they are accelerating the rate at which they are stockpiling.[1]

It is also important to note that China is not an Island like Britain or Australia and can secure food from other locations over land.

This kind of thinking that military conflict with China would be trivial due to some simple ace in the hole like having many aircraft carriers or cutting off their food supply needs to stop. It is hopelessly naive and underplays the very real possibility of humiliating defeat in an impending conflict with China over Taiwan.

[0]https://www.economist.com/finance-and-economics/2024/07/23/w...

[1] https://www.reuters.com/markets/commodities/china-plans-acce...
by StopDisinfo910 | 2025-08-04 06:50:11+00:00
> Having built a NAS the actual build is only half the story. There’s a hole heap of nonsense you have to go through to tune the software.

Having done it, the list for me is pretty much: install using the file system you fancy, setup the raid you want, install samba and nfs, eventually avahi and encryption and that’s pretty much it.

I wouldn’t personally call that non sense. Is there something I am missing?
by AuryGlenz | 2025-08-04 06:50:47+00:00
Hm, I’ve always struggled with the other bottleneck - speaking. I tend to slur my words because my brain is forming the thoughts faster than I can speak. I could perhaps speed up my speech to match my brain but I’d sound like a maniac.

Don’t get me started on writing. My letters will often transition halfway into a letter thats 3 words ahead.
by yjftsjthsd-h | 2025-08-04 06:50:48+00:00
> Some had users on them who never knew I had unloaded whole sub-systems they were not using to make room for the renderer to be loaded and work. I would kick it off and then renice process priority low enough to mooch every cycle the user did not need. Then when done, put it all back how I found it most none the wiser. Out sysadmin, who was training me to do systems work loved it and spent a fair amount of time looking at the various boxes and how they performed under the high loads I subjected the ones without active users to.

Huh. That would be an interesting case of load testing.
by jimmySixDOF | 2025-08-04 06:51:45+00:00
It's also not intended to be frozen in place and some allowance should be made for refinement with out scope breaking (fine but falls under change control) -- the level of detail here is important so known unknowns are surfaced not solved. High Level Designs and Low Level Designs are different documents for a reason allowing for a sufficient approach to be optimized during the transition.
by IOT_Apprentice | 2025-08-04 06:51:49+00:00
Cook isn’t a visionary, he is an ops & logistics guy. He has a major problem with failing at AI and lying last year about “Apple Intelligence”.

He needs some fresh blood in software as well.

He should just buy something like Claude and lock them in with stock and very high salaries.

He should also stop scrimping on integrated memory on the M series. Overpriced memory is a huge issue. And do something about the GPU as well.

Perhaps an AI N series with 128gig of ram, & dramatically more powerful GPU with higher core/thread count.
by silisili | 2025-08-04 06:53:27+00:00
Today, I'd agree. It felt like a dirty thing to even write.

Historically, the lower wage jobs were for kids or bored folk, who'd eventually move onto something better and higher wages.

Recently, the economy isn't great and people take what they can find. There's absolutely no shame in that. I know people in tech who were making low to mid 6 figures now doing retail. The jobs just aren't there, and I constantly fear I'll be in the same boat soon.

But that inevitably does lead to wage compression, which to be clear isn't the fault of the lower wage earners.
by bux93 | 2025-08-04 06:53:34+00:00
The dictionary defintion of optimal is just 'best'; the connotation that 'optimal' means not perfect, but satisfying multiple constraint, is engineering jargon. In fact, with 'optimal', people will often mean 'Pareto optimal' (a design where there is no change that would improve the solution on all dimensions/constraints).

Pareto optimality also implies that multiple designs may exist in a 'draw', where design 1 is better on dimension A, but worse on dimension B, and design 2 flips those. These designs are on a pareto front. Making the trade-offs explicit helps readers of the design document who come along later to choose a different trade-off when it later turns out that the relative importance of the dimensions involved changed.
by Teever | 2025-08-04 06:53:41+00:00
> On the one hand, I’m pretty sure that enough money could and would be thrown at the problem to solve it.

I'm skeptical that this is the case. Supply chains for goods have become much more intricate than they were a hundred years ago and America has completely ceded them to China.

At the same time by ceding these supply chains America has let manufacturing skill sets completely atrophy and with it has seen the evaporation of institutional knowledge necessary to train new generations of blue collar workers necessary to scale up manufacturing.

This isn't even a 'nine people can't make a baby in one month' type scenario, this is more like 'we just plum forgot how to make babies' scenario which is disconcerting to say the least.
Show HN: XaresAICoder – Open-Source Browser IDE with Claude, Gemini, Aider
by fwystup | 2025-08-04 06:54:48+00:00
I recently gave a talk about AI coding tools at the Java Forum Stuttgart. While preparing demos and switching between different AI assistants, I realized how tedious it is to constantly juggle environments and tools. That sparked the idea for XaresAICoder. The problem: Many developers can't install tools on their corporate notebooks but want to experiment with AI coding. Others waste time managing ports, environments, and worrying about AI agents accidentally modifying files outside project boundaries. My solution: XaresAICoder provides isolated browser-based development environments with VS Code (via code-server) at their core. Each workspace comes pre-configured with Claude Code, Gemini CLI, OpenCode SST, and Aider - allowing you to test different LLMs (including locally-hosted models with Aider) without installation hassles.

Key features:

One-click project creation with Python/Flask, Node/React, or Java/Spring templates Sandboxed execution - no port conflicts or accidental file modifications Integrated Forgejo Git server for automatic version control Runs with docker on WSL, Linux (local or server), macOS likely works too (can someone confirm?) Container-level password protection for workshops/internal networks

This isn't another "vibe-coding" browser tool - it's a real development environment for professional developers who need proper tooling but face installation restrictions or want safer AI experimentation. All Open Source and on your machines. And: made mostly with AI (Claude); really great when you just sit and watch how claude code fixes docker config problems and do tests runs.

I'm curious: What's your biggest friction point when working with AI coding assistants? Happy to discuss the architecture!
by scarface_74 | 2025-08-04 06:54:52+00:00
There was no world where Windsurf was going to challenge Google and the same is true for the examples.

These were regular old job offers. At any time, any of the employees could have stayed at Windsurf instead of taking a lot more money from Google.

Google didn’t want the “assets”. Google wanted the people. Even then they only wanted the best people.
by atraac | 2025-08-04 06:54:59+00:00
Out of curiosity, you guys have been hiring for this for two years now(just looking at your comment history).

I've applied once myself because I'm really excited about your product but I dropped out the second I received automated email with a browser-based async interview without even talking to a real person. From there I went through Glassdoor interview reviews and I do not regret at all. It seems like your process is async tech task in the browser, some obscure trivia and PHP(what's with that btw?) based take-home with yet few more interviews after that. Did you ever at some point consider changing your process or are you just counting on hiring that one in a million that will want to go through all of that and pass?
I've spent 4 months and $800/mo AI bill on Cursor, Claude Code. Later is better?
by ianberdin | 2025-08-04 06:55:19+00:00
Hi HN. There is a huge hype around Claude Code, and AI agents overall.

After four months with Cursor and one with Claude Code, I'm a super-user. I was paying up to $700/mo for Cursor on a usage basis before switching to their new subscription, and I've been on a paid Claude Code plan for the last month. I code every day with these tools, using Sonnet 4.0 and Gemini 2.5 Pro. This is a guide born from experience and frustration.

First, the verdict on Claude Code (the CLI agent). The idea is great—programming from the terminal, even on a server. But in practice, it's inferior. You can't easily track its changes, and within days, the codebase becomes a mess of hacks and crutches. Compared to Cursor, the quality and productivity are at least three times worse. It’s a step backward. But it is nice to make one-time prototypes without worrying about codebase.

Now, let's talk about LLMs. This is the most important lesson: models do not think. They are not your partner. They are hyper-sensitive calculators. The best analogy is time travel: change one tiny detail in the past, and the entire future is different. It’s the same with an LLM. One small change in your input context completely alters the output. Garbage in, garbage out. There is no room for laziness.

Understanding this changes everything. You stop hoping the AI will "figure it out" and start engineering the perfect input. After extensive work with LLMs both in my editor and via their APIs, here are the non-negotiable rules for getting senior-level code instead of junior-level spaghetti.

Absolute Context is Non-Negotiable. You must provide 99% of the relevant code in the context. If you miss even a little, the model will not know its boundaries; it will hallucinate to fill the gap. This is the primary source of errors.

Refactor Your Code for the AI. If your code is too large to fit in the context window (Cursor's max is 200k tokens), the LLM is useless for complex tasks. You must write clean, modular code broken into small pieces that an AI can digest. The architecture must serve the AI.

Force-Feed the Context. Cursor tries to save money by limiting the context it sends. This is a fatal flaw. I built a simple CLI tool that uses regex to grab all relevant files, concatenates them into a single text block, and prints it to my terminal. I copy this entire 150k-200k token block and paste it directly into the chat. This is the single most important hack for good results.

Isolate the Task. Only give the LLM a small, isolated piece of work that you can track yourself. If you can't define the exact scope and boundaries of the task, the AI will run wild and you will be left with a mess you can't untangle.

"Shit! Redo." Never ask the AI to fix its own bad code. It will only dig a deeper hole. If the output is wrong, scrap it completely. Revert the changes, refine your context and prompt, and start from scratch.

Working with an LLM is like handling an aggressive, powerful pitbull. You need a spiked collar—strict rules and perfect context—to control it.
by teiferer | 2025-08-04 06:56:50+00:00
This should grow from within yourself. Read a lot of design docs and blog posts and articles and books. Which ones did you like? Which were confusing? And why was that? Was it the language complexity? Length of explanations? Diagrams? Too much / too little reasoning? Did you feel that the writer did a good job of picking you up were you were and brining it to a new state which now was enriched with their idea?

Constantly ask youself whether you liked a particular piece of writing and that will over time shape your understanding of what's good and what's not. Note that that's not entirely objectively quantifiable and people will have different tastes. That's also why it's hard to have a "good examples" archive because, just like with code, that would immediately people to start debating. But there is a certain core of properties most people can agree on.
by watersb | 2025-08-04 06:57:41+00:00
If your investors are convinced you need to relocate, then you go with that, I suppose.

But. I grew up in Georgia, started my career in the Bay Area, then left again due to housing costs and commute times.

I believe you can find excellent people everywhere, not just SF. There's plenty of ex-NASA engineers all over the country right now. You could set up a recruiting table at the mall in Tyson's Corner Virginia and have your team roster filled in a weekend.

For normal humans, you might prefer that nice house with a yard for the kids. But if you don't mind living out of your car in the parking lot of an office in Silicon Valley, then knock yourself out.

Coming from Atlanta, Bay Area traffic will make you feel right at home. The food is better, especially the farther north from Silicon Valley you go.

PS: In California, THE OCEAN DON'T PLAY. It's quite cold and it kills people.
by spinf97 | 2025-08-04 06:58:04+00:00
I mean if you want that level of pedantry "I" can't send Morse code at 10 gigabits per second. I can make a computer transmit it at that speed, but I am not personally sending it that rate. And, because one generally needs a machine to transmit Morse code, one cold argue that "I" never send Morse code ever.
by nirui | 2025-08-04 06:59:23+00:00
Congrats on your new gig.

About the AI thing, based on my readings, I feel that more and more dev and companies are realizing the true utility value of AI programming tools after the hype, i.e. it's useful but not going to replace programmers completely.

The signal did took sometime to get transmitted to the company's leadership, but a year is enough time for most smart companies to hear it loud and clear.
by lmm | 2025-08-04 07:00:11+00:00
> Structurally typed languages can still support information hiding.

But you haven't hidden the information, it's still a string. You can put the string in a wrapper struct but in a structural system that's not really any different from putting it a list or map - the data is still exposed, and if someone writes code to e.g. log objects by just enumerating all their fields (which is a very natural thing to do in those systems) then it will naturally print out your password and there's not really any way to make it ever not.

> I guess the point is that you can model your domain using data as well as types.

You want both in your toolbox though. Restricting yourself to only having types that are essentially lists, maps, or a handful of primitives has most of the same downsides as restricting yourself to not using types at all.
by sparkie | 2025-08-04 07:00:31+00:00
I'm not sure you can avoid the check, but you can avoid a branch.

An AVX-512 extension has a `vfixupimm` instruction[1] which can adjust special floating point values. You could use this to adjust all zeroes to -0 but leave any non-zeroes untouched. It isn't very obvious how to use though.

vfixupimmsd dst, src, fixup, flag * The `flag` is for error reporting - we can set it to zero to ignore errors. * `dst` and `src` are a floating point value - they can be the same register. * The instruction first checks `src` and turns any denormals into zero if the MXCSR.DAZ flag is set. * It then categorizes `src` as one of {QNAN, SNAN, ZERO, ONE, NEG_INF, POS_ING, NEG_VALUE, POS_VALUE} * `fixup` is an array of 8 nybbles (a 32-bit int) and is looked up based on the categorization of `src` {QNAN = 0 ... POS_VALUE = 7} * The values of each nybble denote which value to place into `dst`: 0x0 : dst (unchanged) 0x1 : src (with denormals as zero if MXCSR.DAZ is set) 0x2 : QNaN(src) 0x3 : QNAN_Indefinite 0x4 : -INF 0x5 : +INF 0x6 : src < 0 ? -INF : +INF 0x7 : -0 0x8 : +0 0x9 : -1 0xA : +1 0xB : 1/2 0xC : 90.0 0xD : PI/2 0xE : MAX_FLOAT 0xF : -MAX_FLOAT

You want to set the nybble for categorization ZERO (bits 11..8) to 0x7 (-0) in `fixup`. This would mean you want `fixup` to be equal to `0x00000700`. So usage would be:

static __m128i zerofixup = { 0x700 }; double fixnum_to_flonum(int64_t fixnum) { __m128d flonum = { (double)fixnum }; return _mm_cvtsd_f64(_mm_fixupimm_sd(flonum, flonum, zerofixup, 0)); }

Which compiles to just 4 instructions, with no branches:

.FIXUP: .long 1792 # 0x700 .long 0 # 0x0 .long 0 # 0x0 .long 0 # 0x0 fixnum_to_flonum: vcvtsi2sd xmm0, xmm0, rdi vmovq xmm0, xmm0 vfixupimmsd xmm0, xmm0, qword ptr [rip + .FIXUP], 0 ret

It can be extended to operate on 8 int64->double at a time (__m512d) with little extra cost.

You could maybe use this optimization where the instruction is available and just stick with a branch version otherwise, or figure out some other way to make it branchless - though I can't think of any other way which would be any faster than a branch.

[1]:https://www.intel.com/content/www/us/en/docs/intrinsics-guid...
by teiferer | 2025-08-04 07:00:34+00:00
What kind of maintenance do you mean?

A design can evolve over time, but a design document's objective is to document what was going to be built at that time. If something changes, make a new design document. (Similar to blog posts or news articles, they also don't evolve over the years. You write a new one.)

It sounds like what you mean is system documentation, a handbook of sorts, and that's what needs maintenance. But that's different from a design doc.
by csaba-boros | 2025-08-04 07:00:52+00:00
Remote: Yes (US and EU time zones)

Willing to relocate: No

Technologies: C#, AWS (certified developer), DevOps, CI/CD pipelines, microservices, react

Website: https://www.boroscsaba.com/

Résumé/CV: https://www.boroscsaba.com/assets/cv.pdf

Email: boros.csaba94@gmail.com

Github: https://github.com/boros-csaba

Toptal: https://www.toptal.com/resume/boros-csaba

Available for full-time or part-time contract work, ideally long-term engagements, but I’m also open to smaller projects.

I am very flexible with my working hours (mostly working with clients from USA).

I am a full-stack developer with more than 10+ years of experience. C#, AWS (certified developer), DevOps, CI/CD pipelines, microservices, react

I move fast, write clean code, and use tools like Claude Code to make the process smoother without cutting corners.

I'm also available through Toptal.
by csaba-boros | 2025-08-04 07:01:16+00:00
SEEKING WORK | REMOTE (US and EU time zones)

Available for full-time or part-time contract work, ideally long-term engagements, but I’m also open to smaller projects.

I am very flexible with my working hours (mostly working with clients from USA).

I am a full-stack developer with more than 10+ years of experience. C#, AWS (certified developer), DevOps, CI/CD pipelines, microservices, react

I move fast, write clean code, and use tools like Claude Code to make the process smoother without cutting corners.

I'm also available through Toptal.

Github: https://github.com/boros-csaba

Website: https://www.boroscsaba.com/

Toptal: https://www.toptal.com/resume/boros-csaba

CV: https://www.boroscsaba.com/assets/cv.pdf

Email: boros.csaba94@gmail.com
by mpoteat | 2025-08-04 07:02:42+00:00
I took a look at the source for the attached repository - the parser is in fact clearly written as a generic type. The presence of ?, :, and ... operators represent conditional types and tuple level destructuring respectively.

This is a very impressive project in my view - it's baffling that you would have the wherewithal to link the discussion you did but not realize the novelty here.
by RajT88 | 2025-08-04 07:04:05+00:00
Nailed it. And after our relationship with China sours, we are going to need cheap manufacturing. Paraphrasing an article I read the day the funding got cut, "Until today, America was a blessing on the lips of every person in Africa".

It is unfortunate, because sure, we sent a lot of money to Africa without much to show other than influence. Tomorrow, we would industrialize Africa to bolster our economy. Win-Win for all involved.

ETA: pretty good read with an outside perspective:

https://www.aljazeera.com/opinions/2025/8/3/the-real-reason-...
by svaigstu | 2025-08-04 07:05:19+00:00
Modash.io | Multiple Roles | Remote (EU) | Full-time

• Modash is an end-to-end influencer marketing platform for Shopify stores.

• We help every creator earn a living.

• Headquartered in Tallinn, Estonia, with engineering distributed across Europe.

• 60 person team, raised €11M in Series A funding, ARR growing 2x YoY.

—

Customer Support Specialist, Toronto

https://apply.workable.com/modash/j/A878A99251/

Senior Product Engineers, (remote, Europe)

https://apply.workable.com/modash/j/C1507B65C3/ (€60k-100k)

Senior Data Engineers, (remote, Europe)

https://www.modash.io/careers/senior-data-engineer (€60k-140k)

Senior Backend Engineer (Data team), (remote, Europe)

https://apply.workable.com/modash/j/D4FA5BA3E6/

Technical Customer Success Manager, API, (Toronto, Ontario, Canada)

https://apply.workable.com/modash/j/96C4941FE6/
by adornKey | 2025-08-04 07:06:05+00:00
4 years pause for the contest. Good to see new results. I keep a copy of this one printed on my desk. Staring at C-code to finally see the 3D-Image is kind of relaxing.

https://www.ioccc.org/2001/herrmann2/index.html

(It's an ASCII 3D-Image generator - and the code itself is a 3D-Image)

char*d,A[9876];char*d,A[9876];char*d,A[9876];char*d,A[9876];char*d,A[9876];char e;b;*ad,a,c; te;b;*ad,a,c; te;*ad,a,c; w,te;*ad,a, w,te;*ad,and, w,te;*ad, r,T; wri; ;*h; r,T; wri; ;*h; r; wri; ;*h;_, r; wri;*h;_, r; wri;*har;_, r; wri ;on; ;l ;i(V) ;on; ;l ;i(V) ;o ;l ;mai(V) ;o ;mai(n,V) ;main (n,V) {-!har ; {-!har ; {har =A; {h =A;ad =A;read (0,&e,o||n -- +(0,&e,o||n -- +(0,&o||n ,o-- +(0,&on ,o-4,- +(0,n ,o-=94,- +(0,n ,l=b=8,!( te-*A,l=b=8,!( te-*A,l=b,!( time-*A,l=b, time)|-*A,l= time(0)|-*A,l= ~l),srand (l),~l),srand (l),~l),and ,!(l),~l),a ,!(A,l),~l) ,!(d=A,l),~l) ,b))&&+((A + te,b))&&+((A + te,b))+((A -A+ te,b))+A -A+ (&te,b+A -A+(* (&te,b+A )=+ +95>e?(*& c)=+ +95>e?(*& c) +95>e?(*& _*c) +95>(*& _*c) +95>(*&r= _*c) +95> 5,r+e-r +_:2-195,r+e-r +_:2-195+e-r +_:2-1<-95+e-r +_-1<-95+e-r ++?_-1<-95+e-r |(d==d),!n ?*d||(d==d),!n ?*d||(d==d),!n ?*d||(d==d),!n ?*d||(d==d),!n ?*d||(d= *( (char**)+V+ *( (char)+V+ *( (c),har)+V+ (c),har)+ (V+ (c),r)+ (V+ ( c), +0,*d-7 ) -r+8)+0,*d-7 -r+8)+0,*d-c:7 -r+80,*d-c:7 -r+7:80,*d-7 -r+7:80,*d++-7 +7+! r: and%9- +7+! rand%9-85 +7+! rand%95 +7+!! rand%95 +7+ rand()%95 +7+ r -(r+o):(+w,_+ A-(r+o)+w,_+*( A-(r+o)+w,_+ A-(r=e+o)+w,_+ A-(r+o)+wri,_+ A-(r+o) +(o)+b)),!write+(o)+b,!wri,(te+(o)+b,!write+(o=_)+b,!write+(o)+b,!((write+(o)+b -b+*h)(1,A+b,!!-b+*h),A+b,((!!-b+*h),A+b,!!-b+((*h),A+b,!!-b+*h),A-++b,!!-b+*h) , a >T^l,( o-95, a >T,( o-=+95, a >T,( o-95, a)) >T,( o-95, a >T,(w? o-95, a >T ++ &&r:b<<2+a ++ &&b<<2+a+w ++ &&b<<2+w ++ ) &&b<<2+w ++ &&b<<((2+w ++ && !main(n*n,V) , !main(n,V) , !main(+-n,V) ,main(+-n,V) ) ,main(n,V) ) ,main),(n, l)),w= +T-->o +l)),w= +T>o +l)),w=o+ +T>o +l,w=o+ +T>o;{ +l,w=o+T>o;{ +l,w &=o+ !a;}return _+= !a;}return _+= !a;}return _+= !a;}return _+= !a;}return _+= !a;}