🛠️ Hacker News Tools

Showing 761–780 of 4267 tools from Hacker News

Last Updated
July 23, 2026 at 12:30 AM

[Testing] Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB Hi HN,<p>I think it&#x27;s safe to say that the majority of developers don&#x27;t give a second thought to writing code with I&#x2F;O tangled in business logic. It&#x27;s all too common to see code like: const user = findUser(email); if (!user) await saveUser(user);<p>Now, you may ask: what&#x27;s the big deal? When we write code like this, two things happen:<p>1. It gets harder to debug production bugs. Unless you have the exact same database and remote API services to connect to, you may fail to reproduce the bug.<p>2. You have to use mocks and fakes in your tests, or use test containers, which only help somewhat, and they are slow!<p>To solve these issues, I built Pure Effect, a tiny TypeScript&#x2F;JavaScript effect library. The core idea is simple: if a function performs I&#x2F;O, it isn&#x27;t pure. But if it returns a description of the I&#x2F;O it wants to perform, it is. So instead of await findUser(email), you return a Command object that says, &quot;I would like to call this function, and when it finishes, here&#x27;s what to do next.&quot; Your business logic becomes a pure function. Same input, same output, every time. The database never gets touched until the interpreter (runEffect) runs.<p>When I first started the library, I didn&#x27;t expect just how far that one idea would stretch. Once your pipelines are just data, a lot of wonderful things become possible:<p>- No need for mocking libraries. You walk the tree in tests and assert on its structure: assert.equal(flow.cmd.name, &#x27;cmdFindUser&#x27;). Nothing is executed.<p>- Wrap any effect with Retry(effect, { attempts: 3, delay: 200, backoff: 2 }). The configuration is plain data, so you can assert on it in tests.<p>- Every command&#x27;s input and output flows through the interpreter, so you get a full execution trace for free. You can write a simple timeTravel() function that replays it locally without touching any I&#x2F;O. Perfect for debugging complex production bugs.<p>- An onBeforeCommand hook sits between your business logic and the interpreter. Since it sees every intended side effect before it fires, it can be used to enforce runtime guardrails. You can quarantine destructive calls before they happen for example.<p>- You can review AI-generated code before it runs. Since Pure Effect pipelines are plain data, you can inspect what the generated code intends to do before it touches anything.<p>There are just six primitives: Success, Failure, Command, Ask, Retry, and Parallel, plus effectPipe and runEffect. Zero dependencies. Under 1 KB minified and gzipped.<p>How it compares to Effect-TS<p>Effect-TS is the full-featured option in this space and has a large ecosystem. Pure Effect offers a different tradeoff. It covers the 80% case: testable pipelines, dependency injection, retry, and OpenTelemetry hooks, all in under 1 KB with zero dependencies and no new vocabulary to learn. Effect-TS is a framework you build around. Pure Effect, on the other hand, is a pattern you drop into existing code.<p>I&#x27;ve been using Pure Effect in production since December. It&#x27;s at v0.8.0, not 1.0 yet, but stable enough that I wanted to put it out there and hear what people think.<p>GitHub: <a href="https:&#x2F;&#x2F;github.com&#x2F;aycangulez&#x2F;pure-effect" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;aycangulez&#x2F;pure-effect</a><p>I wrote five posts that document how Pure Effect evolved. They are tagged at <a href="https:&#x2F;&#x2F;lackofimagination.org&#x2F;tags&#x2F;effect&#x2F;" rel="nofollow">https:&#x2F;&#x2F;lackofimagination.org&#x2F;tags&#x2F;effect&#x2F;</a> if you want the longer story.

Found: June 21, 2026 ID: 5441

(How to Write a (Lisp) Interpreter (In Python))

Found: June 21, 2026 ID: 5361

Who Owns Your ATProto Identity? Hint: It's Probably Not You

Found: June 21, 2026 ID: 5362

Show HN: lpviz – Interactive linear programming visualization in the browser <a href="https:&#x2F;&#x2F;github.com&#x2F;lpviz&#x2F;lpviz" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lpviz&#x2F;lpviz</a><p>Visualize linear programming solvers - Simplex, Interior Point, PDHG, and Central Path - in the browser. Drag the objective&#x2F;vertices&#x2F;constraints around and watch the solver trajectory respond in real time. Enter 3D mode to view solver metadata (like centrality for IPM or KKT residual for PDHG) on the z-axis. Always happy to get feedback and feature requests, one thing that is coming soon is support for importing problems from e.g. JuMP or cvxpy.

Found: June 21, 2026 ID: 5378

8086 Segmented Memory was a good idea

Found: June 21, 2026 ID: 5425

AI Under Trump's Control: Can France Still Avoid Digital Dependence?

Found: June 21, 2026 ID: 5365

Show HN: TermType – a terminal typing game where words fall like Space Invaders Just a small game for the term.

Found: June 21, 2026 ID: 5370

Identity verification on Claude

Hacker News (score: 290)

Identity verification on Claude <a href="https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;ClaudeAI&#x2F;comments&#x2F;1ubm53n&#x2F;official_anthropic_to_require_identity&#x2F;" rel="nofollow">https:&#x2F;&#x2F;old.reddit.com&#x2F;r&#x2F;ClaudeAI&#x2F;comments&#x2F;1ubm53n&#x2F;official_...</a>

Found: June 21, 2026 ID: 5366

Show HN: Chainstack Self-Hosted, hosting your own blockchain nodes made simple Hi HN, Alexey from Chainstack here.<p>We built Chainstack Self-Hosted to package everything we’ve learned from 8+ years of running blockchain nodes into a single control panel. The goal we’re building this product around is to make blockchain infrastructure boring to operate.<p>The software is free to install. You only pay for the infrastructure you run it on.<p>The quickest way to get hands-on with it is through the Vultr Marketplace or one of the other providers listed in the docs.<p>The current release supports Ethereum Mainnet, Sepolia, and Hoodi with Reth + Prysm full nodes. We’ll be adding more EVM chains in the coming weeks and expect Self-Hosted to support all major blockchain protocols by EOY.<p>I’d love feedback from people who run their own nodes today. What’s still the most painful part: initial setup, sync times, storage management, monitoring, upgrades, failover, or something else?

Found: June 21, 2026 ID: 5371

Windows UI evolution: Clicking an unassociated file

Found: June 21, 2026 ID: 5360

Polymarket Paid Dozens to Post Videos of Themselves 'Winning' with Fake Bets

Found: June 21, 2026 ID: 5356

Building reliable agentic AI systems

Found: June 21, 2026 ID: 5353

[Other] SOCKMAP - TCP splicing of the future

Found: June 21, 2026 ID: 5465

Show HN: Lean bulk, cut, body recomp. Calculate maintenance calories A very simple idea: when you eat more than your maintenance calories, you gain weight; when you eat less than your maintenance calories, you lose weight.<p>By using an algorithm, we can accurately figure out your maintenance calories more accurately than traditional regression based formulas like katch mc ardle.<p>It&#x27;s way more accurate than calorie burn tracking devices like fitness bands and watches. (garmin&#x2F;apple watch&#x2F;whoop etc...)<p>Traditionally, people often use static TDEE calculators which often over or underestimate for some by 100s calories.<p>Chatgpt and TDEE calculators like Calculator.net or TDEECalculator.net use the same formulas, so they share the same limitation<p>If a beginner asks ChatGPT, &quot;What are my maintenance calories?&quot;, ChatGPT can give them a number. But ask how it arrived at that number, and it will usually explain that it used a formula like Katch McArdle, Harris Benedict, or Mifflin St Jeor to calculate BMR, then layered activity on top using an activity factor, PAL, or MET tables.<p>Dig deeper and those formulas come from statistical regressions based on averages from past populations. That means maintenance calories calculated this way can be off by hundreds of calories.<p>MacroCodex uses your calorie intake and weight data to figure out maintenance calories specific to your body, not the population average.<p>It usually reaches good accuracy after about 3 weeks, or 21 days of calorie and weight logging.<p>This app is completely free, no paywall, no subscription and no ads. (works offline)<p>Most people start seeing weight gain or loss within 5 weeks.<p>We&#x27;ve reached 13,000+ users. Full support is provided if you experience any issue, most issues are resolved under 24 hours.

Found: June 21, 2026 ID: 5351

Developers don't understand CORS (2019)

Found: June 21, 2026 ID: 5348

Polymarket has flooded social media with deceptive videos by paid creators

Found: June 21, 2026 ID: 5414

When I reject AI code even if it works

Found: June 21, 2026 ID: 5349

Pondering routing more of my traffic via nodes outside the UK

Found: June 21, 2026 ID: 5355

Show HN: Agentic coding workflows built on Git worktrees and task evidence

Found: June 20, 2026 ID: 5350

Show HN: HN Game Stories – mini-documentary of games that hit the front page Hi all, This is coolwulf and I have been working on a project. The idea is to generate video content on popular Hacker News gaming stories. So far I just started this idea and will continue contributing to the content.

Found: June 20, 2026 ID: 5383
Previous Page 39 of 214 Next