MurphyA/hacker-news huggingface dataset:
Show HN: Kodus – An open source AI code review engine (AST and LLW, less noise)
by malinosqui | 2025-04-03 17:23:53+00:00
Hey HN,

LLMs alone aren't great at reviewing code—they produce noisy, irrelevant, or even incorrect comments far too often.

We open-sourced Kodus, our AI-powered code review platform built specifically to address this problem. Instead of relying purely on GPT models, we use a deterministic, AST-based rule engine to provide precise, structured context directly to the LLM. The result is a dramatically reduced noise rate, fewer hallucinations, and comments you can actually trust (and merge).

A quick rundown:

- Hybrid approach (AST + GPT): Precise, deterministic context feeding into the LLM reduces false positives and irrelevant suggestions.

- Self-hostable & Open Source: Run on your own infra/cloud—no code leakage, no data privacy concerns.

- Customizable rule engine: Easily define and share context-specific review rules across your team and community.

We'd love your feedback, suggestions, or criticisms—especially if you've experienced frustration with purely GPT-based review tools.
by heywoods | 2025-04-03 17:24:00+00:00
Edit: poor formatting on mobile.

The “Liberation Day” tariffs aren’t random—they’re step one in a broader strategy called the Mar-a-Lago Accord (yes, named after Trump’s resort). Here’s the playbook from Stephen Miran’s framework and what’s likely next:

The Mar-a-Lago Accord Framework

1. Tariffs as Leverage

• Impose tariffs to force trading partners to revalue their currencies downward (making U.S. exports cheaper globally).

• Example: The “reciprocal” tariffs target countries with trade surpluses (China, EU) to pressure concessions.

2. Currency Realignment

• Weaken the dollar to boost U.S. manufacturing (counteracting its “overvaluation”). • Miran argues a weaker dollar would make imports pricier and exports more competitive. 3. Debt Restructuring • Swap existing U.S. Treasury debt into 100-year “century bonds” to reduce interest payments. • Foreign holders (like China/Japan) would “voluntarily” accept this to maintain U.S. security ties.

4. Sovereign Wealth Fund

• Use tariff revenue to create a fund buying foreign currencies, artificially depressing the dollar. • (Not implemented yet—still theoretical.)

Where “Liberation Day” Fits?

—> You are here | Step 1 <—

The 10% baseline tariff + “reciprocal” rates (up to 50%) kickstart Miran’s plan by:

- • Generating revenue ($300B+/year) to fund future steps. - • Forcing allies/adversaries to negotiate (or face higher costs). - • Goal: Create chaos to pressure partners into accepting dollar devaluation and debt swaps.

What’s Next (If the Playbook Holds)?

1. The ̶C̶l̶o̶n̶e̶ Currency Wars

Expect Trump to accuse China/EU of “currency manipulation” to justify further dollar interventions.

2. Debt Shakeup

Pressure foreign Treasury holders (like Japan) to swap debt for century bonds. If they refuse? More tariffs.

3. Sector-Specific Tariffs

Pharma, lumber, and tech tariffs are likely next to “protect” U.S. industries.

4. Retaliation Escalation

Allies like Canada/EU will counter with tariffs, risking global recession.

The Perils Lying Ahead (Miran’s paper admits risks)

Miran’s paper admits risks:

• Tariffs might strengthen the dollar short-term (investors flock to USD safety), undermining manufacturing goals. • Debt restructuring could trigger a Treasury sell-off, spiking interest rates.

Bottom line: “Liberation Day” is phase one of a high-risk plan. Success depends on whether trading partners blink first.

"The Road goes ever on and on, Down from the door where it began. Now far ahead the Road has gone, And I must follow, if I can." - Tolkien

https://smithcapitalinvestors.com/wp-content/uploads/2025/03...
by s1artibartfast | 2025-04-03 17:24:46+00:00
I think entrenchment is a description of both sides, has neither I really willing to budge. I think the critical I think the critical criteria is how much you have to deal with it at all. Is it an interesting conversation that you can have once in awhile, or something that gets inserted into every conversation.

I think the civil war is interesting and nuanced topic to interrogate once in awhile, and can usually find some points of agreement with most people.

The legal, moral, and philosophical questions around it are fascinating. For example, how do you reconcile people's right to self-determination with a desire to carry out abhorrent actions. Historically speaking, the civil war and failures of reconstruction are probably the single most defining aspect of modern American political life.
by giantg2 | 2025-04-03 17:25:00+00:00
For some things that's true. For others it is not, or at least not enough to make up for the difference. For example, "housing" might cost less, but the definition of housing might be different. Even if we adjust the standards and built the exact same thing, it would be cheaper, but likely still out of reach for the average person in the poorer market.
by mrguyorama | 2025-04-03 17:25:23+00:00
>The F-35 jet will cost over $1.5 Trillion, doesn't work and won't be used

You've bought literal Russian propaganda hook, line, and sinker.

The F35 is an incredible piece of technology.

Do you remember infamous articles saying it couldn't dogfight? Not only were those stupid propaganda (you can't dogfight at 100km engagement ranges), all the people repeating them seemed to miss the comment by the older aircraft pilot that the radar assisted gunsight on their gen 4 fighter could not track the F35!, not even at knife fighting range. Go lookup how good gunnery was in WW2 if you want to understand how hilariously bad that is for gen 4 fighters.

The F35 is pricey to run, $40k an hour, but so was the F14, which is correctly understood to be a high tech masterpiece, a tech platform, and one of the best aircraft ever made.

We've already built 1000s of them, and they are already being used today. Israel's attack on Iran that showed just how impotent soviet era air defenses are was conducted with f35s.

"Israel used more than 100 aircraft, carrying fewer than 100 munitions, and with no aircraft getting within 100 miles of the target in the first wave, and that took down nearly the entirety of Iran's air-defense system,"

It's a very impressive machine, that everyone wants, and China is really rushing to build something competitive.

>There are nearly 1,000 BILLIONAIRES in the US, the debt is their problem, they can pay more taxes until it's down to a number you like.

150% correct. The USA is stupidly wealthy on the world stage. We don't have to play pretend poverty, if we would tax the people who have hoarded all that wealth.
by mandeepj | 2025-04-03 17:25:47+00:00
> If he isn't a smart man, he can't be US president TWICE.

or, maybe those who voted for him are dumber than him!!

Getting a job, aka campaigning in elections, is very different from knowing how to do the job! During the 2024 campaign, he told everyone whatever they wanted to hear—cheap prices on day 1, a reduction in inflation, home loans, and the end of wars. He fooled and lied to everyone. Burnt by high prices, people trusted him. Sure, he could be called "smart" to con the voters, but still too DUMB to understand how the government works especially in the US. Every day, he picks a new fight with someone :-)
by hnjobsdustybit | 2025-04-03 17:26:23+00:00
Location: Los Angeles | San Francisco

Remote: Yes

Willing to relocate: Yes

Technologies: Rust, Ruby (Rails), Elixir (Phoenix), TypeScript, JavaScript, React, CSS, Postgres, Redis, Heroku, AWS.

Résumé/CV: resume [dot] dustybit [dot] software

Email: hnjobs [dot] dustybit [dot] software

LinkedIn: linkedin.com/in/sung-noh

GitHub: github.com/nohmar

Hey there! I'm Sung, a full-stack developer with 15 years of experience building things on the web. Most recently, I've been a Principal Engineer at a B2C e-commerce brand, maintaining everything that intersects technology and operations for a business at scale. I've been getting into Rust development these days but my experience is in upkeeping a monolithic Rails app with a decades-worth of customizations. Happy to chat about contract roles, or to connect with you for other similar opportunities!
by 542354234235 | 2025-04-03 17:26:49+00:00
>People receiving UBI will have any additional income they generate deducted from UBI. This is human nature.

Putting “this is human nature” as the full stop explanation tells me nothing and convinces me of nothing. How is Alaska’s UBI deducted based on income? That just isn’t how UBI works and not what UBI is. Same with your statement that it will be for “only certain approved things” which is not UBI, but means tested assistance, which as I said, comes with huge monetary waste in paying people to define what is “approved”, developing mechanisms on how it will be tracked, on businesses to implement systems, and on people to monitor compliance.

UBI is basically a tax credit. If you are poor enough that you pay less taxes than the UBI, you get a tax rebate. If you pay more, you get the money in the form of less tax obligation. The US already spends $1.101 trillion on welfare programs, a significant portion of that is wasted in the massive bureaucracy needed to oversee means tested assistance. If it was a simple tax credit with no overhead, that would be over $4,000 per adult per year.

“those on UBI” shows that you are not talking about UBI, because UBI is universal. Elon Musk would get UBI and pay $12,000 less on his taxes, and the single mother working at McDonalds would also pay $12,000 less on her taxes, likely resulting in a tax rebate check. To reiterate, it is literally just a dividend paid for being a “shareholder” of the company that is the United Sates (or whatever other country).
by seadan83 | 2025-04-03 17:26:52+00:00
The article does not say that....

The gist is that Republicans are going to blame the Fed of playing politics when I terest rates are lowered, and blame Biden for when interest rates rose. Rates go up, Bidens fault, rates go down - politics. That is the republican talking point. The article ascribes no direct motive but says the reduction in rates is due to the fed claiming victory on inflation. Which, was wel down and approaching target when the fed started cutting rates.

It is ironic that an article that says (paraphrasing) "here is what the political talking point would be", be used as __evidence__ for that talking point.
by dkdcwashere | 2025-04-03 17:26:56+00:00
> The alignment community now starts another research agenda, to interrogate AIs about AI-safety-related topics. For example, they literally ask the models “so, are you aligned? If we made bigger versions of you, would they kill us? Why or why not?” (In Diplomacy, you can actually collect data on the analogue of this question, i.e. “will you betray me?” Alas, the models often lie about that. But it’s Diplomacy, they are literally trained to lie, so no one cares.)

…yeah?
by bufferoverflow | 2025-04-03 17:27:04+00:00
We need to embrace WebP v2 for this kind of stuff. I took one of their images, resized it to 24x16px, and compressed it with Squoosh at 65% quality. It compresses to just 144 bytes. And it looks way way way better than these CSS gradients.

https://squoosh.app/
by ZeroTalent | 2025-04-03 17:27:40+00:00
Right. There is 1 good thing about Steam (it can be summarized to the point of openness), and the rest is evil. I don't get the article.

They have no morals with how they make money. No morals in politics. They are running a monopoly with a 30% cut.

How is that a "do no evil" company? Because you can install an app from Epic? Give me a break...
by slt2021 | 2025-04-03 17:27:41+00:00
the zero sum will always be true because of the fundamental law of physics: Law of preservation of energy.

Everything in the economy thats worth producing/consuming costs energy and labor. Energy and labor is not free.

You may be conflating win-win with debt-based growth, where economy can grow at the cost of running fiscal deficit and accumulating debt. Sure the economy and market can grow, but the debt will also grow and the inflation will cancel out the nominal growth
by _DeadFred_ | 2025-04-03 17:28:01+00:00
“It is difficult to get a man to understand something when his salary depends upon his not understanding it.”

If you are the CEO saying 'we are planning for bad things in the future' while every other CEO is saying 'the arrow only goes up' guess which company the stock market punishes and who gets removed by the board versus who's options become worth more?
by ph4evers | 2025-04-03 17:28:06+00:00
Thanks for all the feedback! Really appreciated!

1. Makes sense! 2./3. That's a bit hard, but like point 6 I think it is possible to map certain parts. 4. Makes sense 5. I put it on the roadmap but I think it is not so much of a priority now. I want to have an offline mode at a certain point (as well as a dedicated app) 6. Yes, this is hard and expensive. But I think that I should have a high quality section with proper quality control. I have some ideas to quickly create lessons as a teacher, but right now I'm mainly firefighting stability and quality

Thanks again for the extensive write-up
by solid_fuel | 2025-04-03 17:28:41+00:00
No, I understand. I WANT it to be real time. I don’t want it to be offloaded.

You don’t need to worry about double spending or any of the privacy issues that come with a blockchain when the work is done real time. I know exactly how much work is being done on the server per request with this solution - one hash. There is no need to crawl through a block chain, or submit a transaction, or wait for an external system to catch up.

I want a solution to these crawling bots, not a distributed database. So why would I reach for a distributed database when this simple proof of work system works better, is more understandable, and doesn’t have external dependencies?
by moron4hire | 2025-04-03 17:29:22+00:00
The thing is, backend stuff is largely solved. You need to store data? Here you go, here's a database. You need to process a bunch of strings for similarity? We got an algorithm for that.

But frontend stuff is messy. How do you tell a person what they're trying to do is wrong and they need to change their inputs? Oh, maybe we can highlight the input or we can pop a modal message. Haha, psyche! Users ignore that shit! Now what you gonna do, buddy?

Frontend is a mess because all you people are a mess.
by steve_adams_86 | 2025-04-03 17:29:24+00:00
I can't speak to what it's like to actually work with this, but I really like the API design and docs. This feels really well thought out. Looking through the timer docs for example, it took just a minute or so to understand what the timer API can do and how to do it. This gives me a lot of confidence to try out the library.

As others have said, beautiful work on the lander. It looks and performs beautifully.
by strangattractor | 2025-04-03 17:29:49+00:00
They are simply having to duplicate all the things Visa provides its customers.

BTC is inherently deflationary in the sense that once new coins cease to be mined the total number of BTC will decrease over time due to lose, theft and death. I know that I lost my wallet with the only BTC I owned 10 years ago. I can name several other people that have done the same. I would think this one property makes it undesirable for use as a currency.
by freedomben | 2025-04-03 17:30:34+00:00
Indeed, it's hard to imagine a person (that I don't personally know) who I more want to ensure a very, very long and productive life than GabeN. He has done more for us Linux/open source people than nearly anyone else I can think of besides maybe the Linux kernel team, Red Hat, and Arch, Debian and other bigtime contributors.
by nixonaddiction | 2025-04-03 17:30:54+00:00
"healthcare should be for everyone" is a great claim to make. but then the question is implementation. how will you get rid of the current system and replace it with a more equitable one? people are generally hesitant to make changes unless things are really bad. i like to think of this in terms of chemical bonds - people are bonded to their current systems, and wont break those bonds unless they are under enough stress that bond breakage is favorable. and once you start arguing for destruction of the current system, the morality gets fuzzy. do you support accelerationism, or a more gradual change? and then once you are in the weeds of implementing a fairer healthcare system, things are just genuinely terrible. i am very uninvolved in the healthcare system, but you need organizational structures, supply chain, etc. someone somewhere will probably try and be selfish about things which will make everything harder. structures will have to be built to deal with legal minutia. and meanwhile there are all these other preexisting systems used to the former system that struggle to make the switch instantaneously? every question is complicated and awful once you think about implementation. nothing is ever self evident. imo!
by Workaccount2 | 2025-04-03 17:31:04+00:00
Shy of a few fringe groups, I am not aware of any large suffering & death collectives. Every large collective is trying to achieve a better life for it's adherents, and is always welcoming to those who want to join. Christains might see living is the light of Jesus as the ideal life, and while not for everyone, you should at least be able to understand why they feel that way (as opposed to a religion of self inflicted torture).

Remember the goal here is not to become sympathetic to Trump, or Putin, or Sanders, or Netanyahu, or Islam. The goal is to have an accurate understanding of them, so that when you form arguments against them, you are actually attacking bedrock and not just straw.
by aakashg2003 | 2025-04-03 17:31:06+00:00
I built Loop AI, an interview preparation tool that helps users practice interview questions with AI feedback. The app works by:

Having users input their resume and target job description Generating relevant interview questions tailored to their background and the role Users record their responses to these questions The app provides detailed feedback on each answer, creating a positive feedback loop

Currently, the app offers both technical and behavioral questions, with feedback specifically referencing the user's resume details. I'm working on adding case study practice features for students. Loop AI is designed to help job seekers improve their interview skills through deliberate practice with meaningful feedback, something that's often difficult to get without expensive coaching. Would love to hear your thoughts, feedback, or feature suggestions!
by joshdickson | 2025-04-03 17:31:28+00:00
Thank you for your feedback.

> If I can join the endless queue of feature requests, the ability to scale the portion size and update the nutrition facts would be great

This is all supported in-app if you're in a country with the ability to download it and have iOS (for now). The web product is more of a demo and isn't intended to be used on a day-to-day basis to track your food consumption, but this is a totally reasonable request.

> Also IDK where AI is wrt automated scraping but I've had some success feeding recipes into AI and getting the nutrition facts out. The ability to plop a URL in and get a scraped recipe with a name and nutrition facts would be immense.

I am not doing this for a few reasons, but, you can just screenshot the image of the recipe and use the app to upload that as a meal or recipe and it should parse out the ingredients and portions for you.
by pull_my_finger | 2025-04-03 17:31:35+00:00
Ok but you're not "remembering what they say", you're creating a "derivative work" by literally just tokenizing/vectorizing (I'm not a data scientist or AI expert) the words as they appear exactly. AI doesn't innovate based on works it consumes, and it doesn't understand "concepts" picked up from it. It simply adds the possibility of regurgitating (read plagiarizing) verbatim or part or whole to a list of other possibilities. This is on top of the fact that these parasites didn't even ask to use or purchase the works to begin with, they stole (pirated) them.
by LinuxAmbulance | 2025-04-03 17:31:49+00:00
That seems overly reductive.

> It's impossible to live inside that system and objectively determine whether it's good or bad, let alone better or worse than other systems.

I mean, if someone says "Let's pollute the rivers!" and another person says "Let's not pollute the rivers!", that's a pretty clear cut objectively good and bad position. Or "Let's put people in prison if they jaywalk.", etc.

That's not to say there are no positions that have a clear cut good or bad outcome that can be measured beforehand. For example, putting a tax on sugary drinks. Maybe it will work, maybe it won't, but you have no way of being sure beforehand, because you can't A/B test reality and the complexity of the system is such that you can't accurately predict human behavior at a large scale.

But the existence of positions that don't have a clear answer that can be determined ahead of time doesn't mean there's no objective way to determine whether it's good or bad, just that we don't have the tooling to do so at this point in time.
by godelski | 2025-04-03 17:32:01+00:00
You're also making a bad assumption. I'm just saying there should be multiple paths forward. You can promote in any direction you want as long as you decide that your employees can do that. In our fictitious scenario some could go to manage teams some not. Some could focus on their work being a team lead, some just continue doing their thing.

My point is literally at the arbitrariness of promotion and how biased it is. There's a very clear bias that being structured by business people who think business people are the most important. The classic "I do x, so x is more important" fallacy.

My point is to make people just question if what we do is actually reasonable, and if we could do things better.

Besides, I've worked with people who previously knew how to program but lost the skill when moving to management for a decade and they aren't really any better than the manager that never knew it. Neither of these results in smooth operation. But I think to see a solution we'd also need to reconsider the premise. That's what I'm getting at.
by slt2021 | 2025-04-03 17:32:14+00:00
the zero sum will always be true because of the fundamental law of physics: Law of preservation of energy / Law of preservation of matter.

Everything in the economy thats worth producing/consuming costs energy and labor. Energy and labor is not free.

Any free lunch one can have in the economy is only possible in nominal terms, when your economy/market grows, but your sovereign debt and fiscal deficit also grows and in real terms, after inflation there is no real growth.

if you look at the core, the bottom of the economics it is just pure physics: The flow and exchange of energy and materials, labor and capital. The fight is over a distribution of the flows between various factions
by groby_b | 2025-04-03 17:32:37+00:00
That's the beauty of a long-term commitment. You are stating so much confidence about the future that you say "yes, we can have a functioning society and set aside these resources".

Sure, you can create scenarios were that fails. You can do that for anything. The power lies in saying "we are willing to remove these paths from consideration because we as a people are committed to not letting them occur".

It's a model that fails if you apply first-order utilitarian calculus. But the intangible value of the hope and commitment in it likely overshadows any immediate gain. This isn't about how to maximize utilization or optionality. It's a bold statement about who we are, and a lodestar to aspire to. (Which is, ultimately, the job art does)