frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Open-Sourced Chrome Extension to Save, Organize and Switch Bookmarks

https://github.com/ringlochid/leotabs
5•ringlochid•32m ago•0 comments

Show HN: See Sounds on Your Webcam

https://soundmap.darebuild.com/
10•jimhi•2d ago•3 comments

Show HN: Fleecevest – The Product Counterpart to Ponytail

https://github.com/Websites-On-Computers/fleecevest
4•mattcomputer•2h ago•1 comments

Show HN: DiskTriage – A simple CLI tool to reclaim space on your Win C drive

https://github.com/ricardoborges/DiskTriage
4•r2ob•3h ago•0 comments

Show HN: What If Donut.c but with Any ASCII Art

https://asdesai.com/blog/how-fetch-works/
5•areofyl•4h ago•1 comments

Show HN: A Technical Book for the Age of AI

https://codeberg.org/juurej/p4cu
3•juurej•3h ago•0 comments

Show HN: Lumae Native macOS screen-demo recorder that agents can edit over MCP

https://lumae.app
3•happyyeti•3h ago•2 comments

Show HN: Everything a web page can learn about you, in plain English

https://sessioncontext.org
4•oddurs•3h ago•1 comments

Show HN: Practice English Grammar and Pronunciation (Uses Azure Speech)

https://marksdailyenglish.com/
2•MarkMc•4h ago•1 comments

Show HN: Bodily Oddities

https://vester.si/bodily-oddities/
321•vesterde•2d ago•199 comments

Show HN: YazSes – offline hold-to-talk voice dictation for Linux, macOS, Windows

https://github.com/MSKazemi/yazses
5•mskazemi•4h ago•0 comments

Show HN: Most Penalized HN Stories

https://news.social-protocols.org/penalties
5•jwarden•2h ago•0 comments

Show HN: PDFidelity – Translate PDFs while preserving the original layout

https://www.pdfidelity.com/
2•andygeek•4h ago•1 comments

Show HN: Open-sourced solution to AI manage Playwright automations

https://github.com/rakutentech/sorify
2•kevincobain2000•4h ago•0 comments

Show HN: Give Claude Code / Cursor a real eng team (tiers, roles, escalation)

https://github.com/khuynh22/agent-dev-team
2•timhuyn•4h ago•0 comments

Show HN: No_human – The AI coding factory that you can TRUST

https://github.com/no-human-ai/no_human
2•eyalgolan•4h ago•1 comments

Show HN: ResolveHQ – A Helpdesk Built on Cloudflare Workers, D1, R2 and Queues

https://github.com/mirza-rizvi/ResolveHQ
67•mirza_rizvi•1d ago•25 comments

Show HN: Sill – a macOS system monitor that lives on your wallpaper

https://ptthe13.github.io/sill/
2•MrPFT•5h ago•0 comments

Show HN: Determinstic LLM inference for lowest price Gemma 4, with Windows XP

https://www.tokendelivery.ai/
6•carsonpoole•9h ago•1 comments

Show HN: Godot and Rust based multiplexer (terminal panes and more)

https://github.com/godot-pty/gpty
92•1nv1n•1d ago•47 comments

Show HN: Come prove the Berge Fulkerson conjecture with a swarm of agents

https://provetogether.ai/problems/15
5•fcesco•6h ago•0 comments

Show HN: Stackray – Detect any website's tech stack

https://stackray.app
4•seelos•8h ago•0 comments

Show HN: Music Generation Backed by Algebra

https://monictheory.com
5•song_synth•8h ago•0 comments

Show HN: Hacker News, without AI

https://hcker.news/?ai=exclude
199•postalcoder•1d ago•86 comments

Show HN: Toast, a by default in-terminal IDE

https://github.com/paradise-runner/toast
80•dividedcomet•1d ago•88 comments

Show HN: EarthToPixels – Turning real cities into explorable pixel art

https://www.earthtopixels.com
3•TiagoTrindade•8h ago•0 comments

Show HN: Graphify C# – Compiler-accurate Find Usages for coding agents

https://github.com/zachsaw/graphify-csharp
41•zachsaw•1d ago•21 comments

Show HN: Lynen – A mobile app that tells you what clothes are made from

https://www.lynen.app
2•neduokeke•9h ago•0 comments

Show HN: Chess960v2.com – 960×960 asymmetric chess, 600/960 rounds done

https://chess960v2.com/en
2•lavren1974•9h ago•0 comments

Show HN: What if the speed of light was 5 km/h?

https://rivendell.dmitrybrant.com/relativity/
617•dmitrybrant•3d ago•282 comments
Open in hackernews

Show HN: val – An arbitrary precision calculator language

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

Not what I expected.

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

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

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

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

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