frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: Neural Net Flies Navigate through a maze

https://claude.ai/public/artifacts/4c5465b6-c384-4c9f-8a92-a4f840367ec2
5•logicallee•5d ago•3 comments

Show HN: Jot - Offline, source available notetaking/assistant app

https://jot-ai.app/blog/welcome-to-jot
5•robust-cactus•49m ago•1 comments

Show HN: Go-Highway – Portable SIMD for Go

https://github.com/ajroetker/go-highway
2•kingcauchy•1h ago•0 comments

Show HN: Dealta – A game-theoretic decentralized trading protocol

https://github.com/orgs/Dealta-Foundation/repositories
49•kalenvale•11h ago•27 comments

Show HN: Fluxer – open-source Discord-like chat

https://fluxer.app
4•hampus•3h ago•0 comments

Show HN: I built a clipboard tool to strip/keep specific formatting like Italics

https://custompaste.com
31•EvaWorld9•11h ago•14 comments

Show HN: Enroll, a tool to reverse-engineer servers into Ansible config mgmt

https://enroll.sh
248•_mig5•1d ago•46 comments

Show HN: OpenWorkers – Self-hosted Cloudflare workers in Rust

https://openworkers.com/introducing-openworkers
484•max_lt•1d ago•147 comments

Show HN: I mapped System Design concepts to AI Prompts to stop bad code

https://github.com/nimin1/system-design-vibecoding
4•systemdesignai•4h ago•1 comments

Show HN: Wario Synth – Turn any song into Game Boy version

https://www.wario.style
64•birdmania•1d ago•14 comments

Show HN: Use Claude Code to Query 600 GB Indexes over Hacker News, ArXiv, etc.

https://exopriors.com/scry
377•Xyra•2d ago•136 comments

Show HN: CryDecoder – On-device ML for classifying baby cries (Swift, Core ML)

https://apps.apple.com/us/app/crydecoder-baby-translator/id6756557492
4•evanjusttrying•6h ago•0 comments

Show HN: Startboard – A simple little browser start page and bookmarks organizer

https://startboard.so/
4•SunshineTheCat•7h ago•0 comments

Show HN: Text-to-3D Motion Generator (Hunyuan 1.0 wrapper)

https://hy-motion.ai/
5•yeekal•7h ago•1 comments

Show HN: Feather – a fresh Tcl reimplementation (WASM, Go)

https://www.feather-lang.dev
28•dhamidi•6d ago•4 comments

Show HN: BusterMQ, Thread-per-core NATS server in Zig with io_uring

https://bustermq.sh/
133•jbaptiste•1d ago•69 comments

Show HN: I created a tool to design and create foamcore inserts for boardgames

https://boxinsertdesigner.com/
52•Rabidgremlin•5d ago•16 comments

Show HN: Tasker – An open-source desktop agent for browser and OS automation

https://automatewithtasker.com/
30•schnetzlerjoe•1d ago•29 comments

Show HN: Jsonic – Python JSON serialization that works

https://medium.com/dev-genius/jsonic-python-serialization-that-just-works-3b38d07c426d
24•orrbenyamini•6d ago•13 comments

Show HN: CheerAd – Let your audience support your website with paid messages

https://cheerad.com/pages/how-to-use.html
3•niyoseris•10h ago•4 comments

Show HN: Turning 100-plus comments HN threads into readable discussions

16•freakynit•20h ago•4 comments

Show HN: Verifying Rust implementation logic using Lean 4 as a fuzzing oracle

https://github.com/welltyped-systems/verified-ledger
2•xmaruff•10h ago•1 comments

Show HN: Gojju, a Fun Programming Language

https://hemanth.github.io/gojju/
6•init0•19h ago•1 comments

Show HN: PDF to Markdown that preserves layout, images, and tables

https://pdftomarkdown.pro/
5•matthewshere•11h ago•0 comments

Show HN: 22 GB of Hacker News in SQLite

https://hackerbook.dosaygo.com
716•keepamovin•3d ago•217 comments

Show HN: I built a minimal open-source CMS (FREE)

https://github.com/raulcanodev/zenex-cms
5•rawraul•12h ago•1 comments

Show HN: Lock In – A goal Mac tracker controlled by typed commands

https://www.letslockin.xyz/
5•TedOS•13h ago•0 comments

Show HN: Foresight – rolling dice with 2025 weak signals

https://2025.kghosh.me/
3•kelu124•15h ago•0 comments

Show HN: VectorDBZ, a desktop GUI for vector databases

https://github.com/vectordbz/vectordbz
11•snirjka•1d ago•0 comments

Show HN: An SVG Inspection Tool

https://www.svg.studio/
9•gatkinso•1d ago•0 comments
Open in hackernews

Show HN: val – An arbitrary precision calculator language

https://github.com/terror/val
34•crap•8mo ago
Wrote this to learn more about the `chumsky` parser combinator library, rustyline, and the `ariadne` error reporting crate.

Such a nice DX combo for writing new languages.

Still a work in progress, but I thought I'd share :)

Comments

jasonjmcghee•8mo ago
Hey nice! We have similar interests. I built something similar, but with way less calculator functionality than you did :D

But the main idea I was going for was real-time JIT evaluation with rendered errors (specifically learning / using cranelift JIT) - less to do with the calculator aspect.

I ended up choosing miette for errors.

https://github.com/jasonjmcghee/basic-treesitter-cranelift-j...

occamatl•8mo ago
> sqrt(10^100)-1 -> 100000000000000000000000000000000000000000000000000

Not what I expected.

emaro•8mo ago
In the readme it says it uses double precision for numbers. Also not quite whet I expected from 'arbitrary precision'.
chriswarbo•8mo ago
Hmm, yeah. It cites `bc` as prior art, which is quite widely used; but another interesting arbitrary-precision calculator is spigot https://www.chiark.greenend.org.uk/~sgtatham/spigot/spigot.h...
mananaysiempre•8mo ago
Also the AOSP calculator, of course[1,2,3].

[1] https://chadnauseam.com/coding/random/calculator-app

[2] https://dl.acm.org/doi/10.1145/2911981

[3] https://dl.acm.org/doi/10.1145/3385412.3386037

emmelaich•8mo ago
Ivy does big numbers (not arbitrary) but does rationals too. It's an APL subset.

    0.1 + 0.2
    3/10
https://github.com/robpike/ivy
lttlrck•8mo ago
the addition of astro_float fixed this.
primitivesuave•8mo ago
The UI is awesome, amazing work! However, arbitrary precision implies that there is no fixed upper limit to the number of digits - simple tests like `0.1 + 0.2 == 0.3` and `2^53 == 2^53 + 1` (both produce "false") indicates you're still using IEEE 754 double precision floats.

If "arbitrary precision" is not as important to you as "high precision", a 128 bit decimal has enough precision for 99% of real-world applications.

crap•8mo ago
Thanks for checking it out! Should have been more clear that this is actively being worked on. This is ultimately the goal, and I'm currently working on integrating `astro_float` as the base for numbers.
primitivesuave•8mo ago
That is awesome, I look forward to following the project and hopefully contributing! I became a better Rust programmer from reading your code :)
jdhwosnhw•8mo ago
Do you mean, the first returns false and the second returns true?
primitivesuave•8mo ago
Ah you're right, thank you for pointing it out!

In the previous version of this comment (where I was still reading it incorrectly) I added a fun fact, that the significand of an IEEE 754 double-precision float is only allocated 52 bits, but the "hidden bit trick" provides an extra bit of precision when the normalized form starts with 1.

johannesrexx•8mo ago
Rewrite it like so

> 1/10 + 2/10 == 3/10 true >

I_complete_me•8mo ago
I wish you well. And I clicked you a star on github. Keep up the good work.
crap•8mo ago
Thanks to everyone who gave feedback!

Arbitrary precision is now supported in 0.3.0 after integrating the `astro_float` (https://docs.rs/astro-float/latest/astro_float/index.html) `BigFloat` type as the base for numbers in the language.

Still working out the kinks, but its live so give it a try!

lttlrck•8mo ago
This is cool.

It love to have to base conversion functions, even if it's print only. Does that fit at all?

lttlrck•8mo ago
and different input base notations, 0x, o, 0b etc
crap•8mo ago
This definitely fits, base conversion is on the roadmap!
librasteve•8mo ago
very cool, welcome to the small club of CLI calculator authors! before I read this I knew of frink and crag (https://raku.land/zef:librasteve/App::Crag since you ask)

Crag is built on raku so has some neat tricks up its sleeve - you can see Crag of the Day to see some in action...

  crag '0.1+0.2=0.2'   #True (arbitrary precision)
  crag '₃₆123.45'      #3F.G77777  (base 36)
  crag 'e ** (i * π) =~= -1'   #True  (math symbols, complex numbers)
  crag '0rMCMXLIV'     #1944 (Roman numerals)
  crag '^<௪௨ mph>'     #42mph  (Unicode and units)
hee hee