frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: MeowDisplay Is iPhone Mirroring, but in Reverse

https://meowdisplay.app/
76•raiseCatError•8h ago•30 comments

Show HN: Every satellite that passed over any place this week, and its photos

https://www.watched.earth
239•a585gupt•9h ago•45 comments

Show HN: Dating app based on your LinkedIn profile

https://synergy.dating/
3•Startup4Life•26m ago•0 comments

Show HN: Someone Was Here – Find out who used your Mac while you were away

https://someonewashere.app/
66•4onthefloor124•8h ago•25 comments

Show HN: STE80 Humanizer – de-AI text by writing 80% of the way to ASD-STE100

https://github.com/Dodaios/ste80-humanizer
61•Dodaios•8h ago•19 comments

Show HN: DBDelve – Open-Source DB Client Made with Rust and GPUI

97•shayan_abbas•10h ago•34 comments

Show HN: Recalc – Spreadsheet where cells can be Claude Code or Codex terminals

https://github.com/sshah03/recalc
26•sshah03•1d ago•8 comments

Show HN: Flide: Make Jev-like decision models up to 9.5x faster

https://github.com/OmniJev/Flide
120•unikcc•22h ago•29 comments

Show HN: Rat Race (After Dark, 1994), ported from 68k assembly to TypeScript

https://rat-race.heyitsjam.es/
2•shijie•2h ago•0 comments

Show HN: My daily word puzzle Jointter revisited

8•proy87•11h ago•4 comments

Show HN: Airgap-check – find what your AI app silently downloads offline

https://github.com/humanethq/airgap-check
4•humanethq•6h ago•0 comments

Show HN: Live counts of AI assistants reading a diaspora business directory

https://nibiashara.com/agent-index
3•NiBiashara•3h ago•1 comments

Show HN: Rollare – Bracket maker with registration and live scoring

https://rollare.com/
6•cloudyer•8h ago•1 comments

Show HN: Every Job in the Observability Space

https://o11y.jobs/
2•ScarZy•4h ago•0 comments

Show HN: Camwall – all your camera feeds on one screen, no black bars

https://github.com/vinodhalaharvi/camwall
2•vinodhalaharvi•4h ago•0 comments

Show HN: Totle, daily math puzzle game; Saturday puzzles have the fewest answers

https://playtotle.com/
2•zemelett•4h ago•1 comments

Show HN: Vegetable Gardening for Engineers

https://jrcpl.us/contrib/2020/gardening-for-engineers/
217•jrcplus•5d ago•43 comments

Show HN: Vork – headless 3D and VFX engine for agents

https://github.com/voyager-so/vork
5•raviparikh•4h ago•2 comments

Show HN: Write GitHub Actions in any language: Loopt

https://github.com/preloopdev/loopt
12•Bnjoroge•8h ago•5 comments

Show HN: Fable 5.2 made a fun Claude castaway clone

https://claude-castaway.zachy.dev/
4•nzach•4h ago•0 comments

Show HN: JavaScript web apps with WASM layout and GPU rendering in 280 KB

https://github.com/rkaehn/uniform
46•rkaehn•2d ago•21 comments

Show HN: Brick Atlas: Explore 1000+ LEGO sets on one zoomable canvas

https://showcase.zoomhub.net/ecommerce/brick-atlas
4•gasi•5h ago•0 comments

Show HN: Bottled Reset Rune – auto-use spare Codex resets before they expire

https://github.com/sufferfml/reset-rune
2•morrowf•5h ago•1 comments

Show HN: Agent-email-guard – agent tried to send 400 receipts, stopped at 5

https://github.com/agentisend/agent-email-guard
3•Iammnhamza•5h ago•1 comments

Show HN: Emma, a real-time AI video persona from Nuance Labs

https://app.nuancelabs.ai/try
6•cvanea•5h ago•1 comments

Show HN: Secure browser sessions for agents

https://easi.run/
3•roxygens•5h ago•2 comments

Show HN: ApiClay – Turn a Website, Google Sheet or Database into a Paid API

https://apiclay.com
4•apiclay•5h ago•1 comments

Show HN: Coldframe, a honeypot that poses as a supermarket fridge controller

https://github.com/hedgerow-dev/coldframe
285•hedgerow-dev•2d ago•69 comments

Show HN: Negs (Spektrafilm) brings spectral film simulations to the browser

https://getnegs.com/try/
2•haasisnoah•6h ago•0 comments

Show HN: Static analysis for JavaScript/TS test suites, written in Rust

https://spirolo.com/
3•AlexFromTwelve•6h ago•0 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 >