frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

A Fast, In-Browser Decimal ↔ Balanced Ternary Converter (Handles 21M+ Entries)

1•VBproDev•5h ago
Balanced ternary is a lesser-known but fascinating number system where each digit can be -1, 0, or 1. Instead of using -1, the symbol T is often used. So, for example, T10 means: (-1 × 9) + (1 × 3) + (0 × 1) = -6.

It’s a balanced system because the digits are symmetrically distributed around zero. This makes certain computations, comparisons, and even some hardware designs cleaner — and it's an interesting area of research in computer science and mathematics.

While researching Goldstein's theorem and analyzing number distributions in balanced ternary for research, I needed to convert large datasets between decimal and balanced ternary. But I couldn't find any converters online, let alone something which can convert in bulk

So... I built one!

Decimal ↔ Balanced Ternary Converter Live demo: https://vbprodev.github.io/decimal-and-balanced-ternary-converter/ Source: https://github.com/vbprodev/decimal-and-balanced-ternary-converter Key Features:

    Convert single numbers or bulk ranges (e.g., 1,1000 or T0,1T1)

    Handles 21 million+ entries using Web Workers — the UI stays smooth

    Output to clipboard for small sets, or .txt file download for large ones

    Fully responsive and accessible interface
Built with:

    HTML, SCSS, TypeScript

    Web Workers for async processing

    No backend — everything runs entirely in your browser
The aim is let you convert non standard number systems (like this one) into standard one's like base 10, base 8, or base 16

Never Twice the Same Color: Time to Get Rid of NTSC (1989)

http://www.technofileonline.com/texts/bye2ntsc89.html
1•exvi•59s ago•0 comments

Sebastião Salgado, Acclaimed Brazilian Photographer, Is Dead at 81

https://www.nytimes.com/2025/05/23/arts/sebastiao-salgado-dead.html
1•bookofjoe•2m ago•1 comments

Pain in the Dots

https://matthew-brett.github.io/pydagogue/pain_in_dots.html
1•todsacerdoti•5m ago•0 comments

People who eat more ultra-processed foods show more early signs of Parkinson's

https://www.psypost.org/people-who-eat-more-ultra-processed-foods-show-more-early-signs-of-parkinsons-study-finds/
1•lentoutcry•5m ago•0 comments

Building an open source anycast CDN (2021)

https://blog.apnic.net/2021/04/07/building-an-open-source-anycast-cdn/
1•Tomte•6m ago•0 comments

Right-Truncatable Prime Counter

https://github.com/EbodShojaei/Right-Truncatable-Primes
1•rainmans•6m ago•0 comments

Frequentism and Bayesianism: A Practical Introduction (2014)

https://jakevdp.github.io/blog/2014/03/11/frequentism-and-bayesianism-a-practical-intro/
2•Tomte•6m ago•0 comments

Physicists explain how cheese rosettes form

https://www.sciencenews.org/article/cheese-rosettes-friction
1•perihelions•7m ago•0 comments

Remembering the Indian scientist who challenged the Big Bang theory 13 hours ago

https://www.bbc.com/news/articles/cd62g8pn35yo
1•n1b0m•9m ago•0 comments

Sandboxing AI Tools with Guix Containers

https://200ok.ch/posts/2025-05-23_sandboxing_ai_tools:_how_guix_containers_keep_your_host_safe_while_empowering_llms.html
2•preek•18m ago•0 comments

PubSub and RPC with dynamic types in Rust

https://www.jakobmeier.ch/blogging/Untapped-Rust.html
3•fanf2•19m ago•0 comments

3D model shows Parthenon as it was 2,500 years ago

https://www.openculture.com/2025/05/a-3d-model-reveals-what-the-parthenon-and-its-interior-looked-like-2500-years-ago.html
1•samizdis•19m ago•0 comments

Show HN: Lnk – Git-native dotfiles manager

https://github.com/yarlson/lnk
3•yar-kravtsov•20m ago•1 comments

FBI Visits Me over Manifesto

https://www.kenklippenstein.com/p/fbi-visits-me-over-manifesto
2•pavel_lishin•24m ago•0 comments

How Anthropic and Claude.ai Hacked Growth – Can You Adopt Anything from It?

1•rishikeshranjan•25m ago•0 comments

I almost died from eating a peanut so I vibe coded an app to help me

https://allergy-scanner.created.app/
1•marcinuio•28m ago•2 comments

OpenAI and Jony Ive are building a ChatGPT-powered super-gadget

https://www.theverge.com/the-vergecast/673453/openai-jony-ive-io-gadget-google-io-vergecast
1•ulrischa•34m ago•0 comments

Understanding Parquet and Columnar Data

https://www.dolthub.com/blog/2025-05-23-parquet/
1•thunderbong•36m ago•0 comments

How A Canadian Ostrich Farm Sparked a Far-Right Crusade

https://thetyee.ca/News/2025/05/16/BC-Ostrich-Farm-Far-Right-Crusade/
1•Geekette•37m ago•0 comments

The great AI jobs disruption is under way

https://www.ft.com/content/cb9ea970-e6de-4daf-aa9e-7a48d5e648c3
2•bookofjoe•45m ago•4 comments

College Level Math Cheat Sheets

https://corca.app/collegemathcheatsheets/
1•OxfordCommand•47m ago•0 comments

The Trinity Clock monitoring project

https://clock.trin.cam.ac.uk/main.php
1•raattgift•49m ago•0 comments

The Hidden Bloat in Machine Learning Systems

https://mlsys.org/virtual/2025/poster/3238
1•ahmedaley•50m ago•1 comments

Google Translate Now Available as Default Translation App on iPhone and iPad

https://www.macrumors.com/2025/05/19/google-translate-default-option-ios/
1•mpweiher•52m ago•0 comments

WTO IMF Tariff Tracker

https://ttd.wto.org/en/analysis/tariff-actions
2•hunglee2•52m ago•0 comments

Opinion: Harvard Derangement Syndrome

https://www.nytimes.com/2025/05/23/opinion/harvard-university-trump-administration.html
4•nmstoker•53m ago•0 comments

Tariffs in American History

https://imprimis.hillsdale.edu/tariffs-in-american-history/
2•smitty1e•59m ago•0 comments

Recommend an alternative like Pocket to read later

1•ismailsevik•1h ago•1 comments

Russian fiber optic drones changing battlefield

https://www.washingtonpost.com/world/2025/05/23/ukraine-russia-drones-fiberoptic-jamming/
2•redwood•1h ago•0 comments

Musk's DOGE expanding his Grok AI in US Government, raising conflict concerns

https://www.reuters.com/sustainability/boards-policy-regulation/musks-doge-expanding-his-grok-ai-us-government-raising-conflict-concerns-2025-05-23/
3•rntn•1h ago•0 comments