frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Show HN: We built an open source, zero webhooks payment processor

https://github.com/flowglad/flowglad
112•agreeahmed•2h ago•81 comments

Show HN: Secure private diffchecker with merge support

https://diffchecker.dev
10•subhash_k•1h ago•9 comments

Show HN: I built an interactive HN Simulator

https://news.ysimulator.run/news
466•johnsillings•1d ago•204 comments

Show HN: Experimental eBPF Firewall in Rust with Heuristic Risk Scoring

https://github.com/N1ghttm4r33/Antivirus
2•n1ghtm4rr3•1h ago•0 comments

Show HN: OCR Arena – A playground for OCR models

https://www.ocrarena.ai/battle
200•kbyatnal•4d ago•61 comments

Show HN: SafeShare – Clean tracking params locally (PWA and bookmarklets

https://j-ai-71.github.io/Supersystem/
2•safeshare•2h ago•0 comments

Show HN: Superglue – OSS integration tool that understands your legacy systems

https://superglue.ai
7•sfaist•3h ago•1 comments

Show HN: Datamorph – A clean JSON ⇄ CSV converter with auto-detect

https://datamorphio.vercel.app
20•sumit_entr42•4d ago•6 comments

Show HN: Fractalbits – S3 compatibe store,1M iops p99~5ms,using Rust and Zig

https://github.com/fractalbits-labs/fractalbits-main
6•thomas_fa•4h ago•0 comments

Show HN: We cut RAG latency ~2× by switching embedding model

https://www.myclone.is/blog/voyage-embedding-migration/
14•vira28•12h ago•3 comments

Show HN: Search London StreetView panoramas by text

https://london.publicinsights.uk
37•dfworks•5d ago•13 comments

Show HN: Sparse Matrix-Vector Multiplication that works at 30–90% sparsity

https://github.com/vlejd/macko_spmv
5•vlejd•5h ago•1 comments

Show HN: Cynthia – Reliably play MIDI music files – MIT / Portable / Windows

https://www.blaizenterprises.com/cynthia.html
85•blaiz2025•1d ago•29 comments

Show HN: Deft-Intruder – Real-time malware detection daemon for Linux

https://github.com/539hex/deft-intruder
2•539hex•5h ago•0 comments

Show HN: Stun LLMs with thousands of invisible Unicode characters

https://gibberifier.com
188•wdpatti•1d ago•103 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
132•t9nzin•1d ago•30 comments

Show HN: BTreePlus – A cache-optimized B+Tree engine for .NET faster than SQLite

https://www.nuget.org/packages/BTreePlus
2•staloriana•7h ago•0 comments

Show HN: Hypercamera – a browser-based 4D camera simulator

https://dugas.ch/4d_creatures/4d_camera.html
16•chronolitus•6d ago•4 comments

Show HN: Supabase-Test – Fast Isolated Postgres DBs for Testing Supabase RLS

https://www.npmjs.com/package/supabase-test
29•pyramation•5d ago•10 comments

Show HN: How I think tabs should be managed in a terminal

https://v0.app/chat/iterm-next-demo-gShY36OWRB7
3•novoreorx•9h ago•0 comments

Show HN: Virtual SLURM HPC cluster in a Docker Compose

https://github.com/exactlab/vhpc
56•ciclotrone•6d ago•13 comments

Show HN: BreakToGoal – A planner calendar that break big goals into tasks

https://breaktogoal.com
2•jtnt101•11h ago•0 comments

Show HN: Colonet – Anonymous forum, no sign-up needed

https://colonet.revantoa.workers.dev
3•mvphauto•11h ago•0 comments

Show HN: Axe - A Systems Programming Language with Builtin Parallelism and No GC

https://axelang.org/
13•death_eternal•1d ago•0 comments

Show HN: Build the habit of writing meaningful commit messages

https://github.com/arpxspace/smartcommit
109•Aplikethewatch•2d ago•131 comments

Show HN: I built an interactive map of jobs at top AI companies

https://map.stapply.ai
12•kalil0321•1d ago•4 comments

Show HN: Forty.News – Daily news, but on a 40-year delay

https://forty.news
436•foxbarrington•3d ago•176 comments

Show HN: Wealthfolio 2.0- Open source investment tracker. Now Mobile and Docker

https://wealthfolio.app/?v=2.0
671•a-fadil•4d ago•213 comments

Show HN: The Wiki Game - reach target Wikipedia page by clicking hyperlinks only

https://apps.apple.com/us/app/the-wiki-game-wikipedia-game/id6755500017
3•frayo44•13h ago•1 comments

Show HN: I wrote my lecture notes in Typst

https://github.com/zhengnanli/ss-notes
3•subtlemuffins•14h ago•0 comments
Open in hackernews

Show HN: val – An arbitrary precision calculator language

https://github.com/terror/val
34•crap•7mo 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•7mo 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•7mo ago
> sqrt(10^100)-1 -> 100000000000000000000000000000000000000000000000000

Not what I expected.

emaro•7mo ago
In the readme it says it uses double precision for numbers. Also not quite whet I expected from 'arbitrary precision'.
chriswarbo•7mo 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•7mo 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•7mo 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•7mo ago
the addition of astro_float fixed this.
primitivesuave•7mo 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•7mo 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•7mo 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•7mo ago
Do you mean, the first returns false and the second returns true?
primitivesuave•7mo 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•7mo ago
Rewrite it like so

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

I_complete_me•7mo ago
I wish you well. And I clicked you a star on github. Keep up the good work.
crap•7mo 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•7mo ago
This is cool.

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

lttlrck•7mo ago
and different input base notations, 0x, o, 0b etc
crap•7mo ago
This definitely fits, base conversion is on the roadmap!
librasteve•7mo 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