frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Show HN: Jam – a functional React-like build system

https://github.com/gilesjb/jam
1•gilesjb•19h ago
Jam is a build system. More exactly, it's a Java/Kotlin function memoizer with a persistent result cache, which turns out to be most of what you need for a build system.

To demonstrate the memoization, we can use an executable Kotlin script like this:

    #!/usr/bin/env kotlin -Xjvm-default=all -cp build/jam-0.9.jar

    interface FibonacciExample : Project {
        fun fib(x : Long) : Long = if (x < 2) x else fib(x - 1) + fib(x - 2)

        fun demo() {
            println("fib(10) = ${fib(10)}")
        }
    }

    Project.run(FibonacciExample::class.java, FibonacciExample::demo, args)
and then run it:

  % ./fibonacci.kts
  [compute] demo
  [compute]   fib 10
  [compute]     fib 9
  [compute]       fib 8
  [compute]         fib 7
  [compute]           fib 6
  [compute]             fib 5
  [compute]               fib 4
  [compute]                 fib 3
  [compute]                   fib 2
  [compute]                     fib 1
  [compute]                     fib 0
  [current]                   fib 1
  [current]                 fib 2
  [current]               fib 3
  [current]             fib 4
  [current]           fib 5
  [current]         fib 6
  [current]       fib 7
  [current]     fib 8
  fib(10) = 55
The Jam runtime logging displays the fib(x) calls as they recurse down to the fib(1) and fib(0) base cases, and also shows how duplicate calls are eliminated by returning memoized results from the cache.

When the script completes the cache is saved to a local file. If we run the same script again, the result is ready to go:

  % ./fibonacci.kts
  [compute] demo
  [current]   fib 10
  fib(10) = 55

On-Writing – Writing Tips, Tricks, and Tools

https://github.com/soodoku/on-writing
1•goji_berries•3m ago•0 comments

The Guide to Making Your Django SaaS Business Worldwide (For Free)

https://catnotfoundnear.github.io/the-guide-to-making-your-django-saas-business-worldwide-for-free.html
1•mliezun•3m ago•0 comments

A limited-time flavor: Blue Raspberry Pi

https://www.jeffgeerling.com/blog/2025/limited-time-flavor-blue-raspberry-pi
1•ingve•4m ago•0 comments

Ask HN: What tools do you use to discover competitors?

2•flippyhead•8m ago•2 comments

What to Expect Now That Trump Has Scrapped Biden's Crippling AI Regulations

https://reason.com/2025/05/29/what-to-expect-now-that-trump-has-scrapped-bidens-crippling-ai-regulations/
2•Bostonian•9m ago•2 comments

Using MCP Servers with Authentication

https://docs.agno.com/examples/concepts/tools/mcp/pipedream_auth
2•todsacerdoti•10m ago•1 comments

When to introduce deliberate distortion to counteract an perceptual illusion?

https://statmodeling.stat.columbia.edu/2025/05/30/statistical-graphics-when-does-it-make-sense-to-introduce-deliberate-distortion-to-counteract-an-expected-perceptual-illusion/
1•Tomte•12m ago•0 comments

Why You Should Care About Functional Programming

https://borkar.substack.com/p/why-care-about-functional-programming
2•baruchel•13m ago•0 comments

Show HN: Outlier, a new daily word game

https://outlier.land/
1•paulvoge•13m ago•0 comments

Pre-European contact leprosy in the Americas and its current persistence

https://www.science.org/doi/10.1126/science.adu7144
1•bikenaga•14m ago•1 comments

Show HN: Compute Prices – check GPU prices across providers

https://computeprices.com
1•lancekey•17m ago•0 comments

Omnom Has Entered the Fediverse

https://github.com/asciimoo/omnom/wiki/Fediverse-support
1•monofri•17m ago•0 comments

Show HN: Open-source LLM-powered test automation library for mobile and web

https://github.com/alumnium-hq/alumnium
6•p0deje•22m ago•0 comments

Ask HN: Lisp eval vs. Lisp macros. Are they the same underlying concept?

4•behnamoh•23m ago•2 comments

RFK Jr.'s 'Make America Healthy Again' report seems riddled with AI slop

https://www.theverge.com/news/676945/rfk-jr-maha-health-report-ai-slop
5•frob•24m ago•0 comments

3D model control using hand gestures and voice commands

https://twitter.com/measure_plan/status/1928449603390587265
4•getToTheChopin•24m ago•2 comments

Contact lenses that grant infrared vision

https://www.theguardian.com/science/2025/may/22/infrared-contact-lenses-super-vision
2•gmays•28m ago•1 comments

Tcl/TK 9 "Batteries Included" binary installer for Windows

https://www.tcl3d.org/bawt/download.html
3•WillAdams•28m ago•1 comments

LLMs Will Not Replace You

https://www.davidhaney.io/llms-will-not-replace-you/
2•ironyx•31m ago•1 comments

Jo: A shell command to create JSON

https://github.com/jpmens/jo
3•throw0101b•36m ago•0 comments

F-35 And F-117 Spotted Flying With Mysterious Mirror-Like Skin (2022)

https://www.twz.com/43938/f-35-and-f-117-spotted-flying-with-mysterious-mirror-like-skin
1•uticus•37m ago•0 comments

Zugunruhe

https://aidanjs.com/blog/zugunruhe/
1•mefengl•37m ago•0 comments

LibreOffice MCP Server

https://mcpmarket.com/en/server/libreoffice
2•nogajun•38m ago•2 comments

Silicon Valley Is at an Inflection Point

https://www.nytimes.com/2025/05/30/opinion/silicon-valley-ai-empire.html
5•kjhughes•38m ago•2 comments

Nested forms in Phoenix LiveView: advanced tips and tricks

https://arrowsmithlabs.com/blog/phoenix-liveview-nested-forms-advanced-tricks
1•arrowsmith•41m ago•1 comments

Texas Cop Searched License Plate Cameras Nationwide for Woman Who Got Abortion

https://www.404media.co/a-texas-cop-searched-license-plate-cameras-nationwide-for-a-woman-who-got-an-abortion/
9•josefresco•41m ago•0 comments

Post-growth: the science of wellbeing within planetary boundaries

https://www.thelancet.com/journals/lanplh/article/PIIS2542-5196(24)00310-3/fulltext
1•nickcotter•43m ago•0 comments

Britain's Companies Are Being Hacked

https://fee.org/articles/britains-companies-are-being-hacked/
2•Improvement•45m ago•1 comments

How we're punching above our weight with two people and OCaml

https://terrateam.io/blog/punching-above-weight
1•TheAnkurTyagi•46m ago•0 comments

TLA+ for Startups (Part 1)

https://medium.com/koodoo/tla-for-startups-part-1-8b162863824b
1•johtso•48m ago•0 comments