HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
sharkdp
insect
PureScript2017–2023
sharkdp / insect · Archived

insect

High precision scientific calculator with support for physical units

15Distinct people
26Mentions
1Explicit recommenders
3.2KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

High precision scientific calculator with support for physical units

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

I use Insect[0][1] as my calculator and it is great and does not have the odd choice of having case-insensitive identifiers plus does not require me to have Haskell installed.…

L0stLink used a recommendation phrase. One indexed comment matches. This is a phrase match, not a verdict.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:03:16 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year26 dated mentions

Observed mentions: 2017-03-20 17:18:26 UTC to 2023-11-16 22:04:07 UTC.

0510152017-01-01 00:00:00 UTC to 2018-01-01 00:00:00 UTC (exclusive): 13 mentions; 1 submissions, 12 comments20172018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 1 mentions; 1 submissions, 0 comments2019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2023

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20172017-01-01 00:00:00 UTC2018-01-01 00:00:00 UTC13112
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC110
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC202
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC404
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC202
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC312
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC101

What Hacker News says

26 sources
Insect: https://github.com/sharkdp/insect It is a bit slow but has decent features, including some physical units support. I set up Tilda (or another Guake equivalent; I tried a bunch of them and can’t remember on which I settled in the end) to run it automatically when a terminal is opened, when pressing Scroll Lock. It’s quite neat: when I need to do a quick calculation, I just hit Scroll Lock, which spawns a drop down terminal with the focus; then type whatever I want to calculate; then control-D to dismiss the drop down terminal and I am back in whatever I was doing without moving either hand off the keyboard. I do more or less the same thing on my Mac with Alfred.
In Ask HN: Do you use a physical calculator in your day job, and why?
I use insect almost daily ( https://github.com/sharkdp/insect ). It’s a command line calculator, not sure how well it would integrate with comint on emacs. Unit conversions built-in. I don’t know whether it has an RPN mode. The other thing I do frequently is fire up a python3 repl for quick hits. I just did it yesterday for a complex mass file rename I couldn’t figure out how to do with shell variable replacement. With python it was easy with glob and os.rename.
In Julia as a CLI Calculator
L0stLink·Jan 12, 2020Recommendation phrase
I use Insect[0][1] as my calculator and it is great and does not have the odd choice of having case-insensitive identifiers plus does not require me to have Haskell installed. I would prefer if Insect was written in a compiled language but I am glad that it exists and JavaScript is really not a deal breaker for me as I need nodejs installed anyway (the same cannot be said for Haskell and this is going to be true for most people) plus you can get "compiled" single binaries for it from the release page[2] that you can put in `~/.local/bin` and not worry about it. I highly recommend trying it out. A bit slow to start but if your window manager supports hiding/showing bound windows through user defined shortcuts (like bspwm, awesomewm, i3, sway, herbstluft and most other tiling window managers) then you can just have it launch in the backgrou
Read the rest
nd on startup and you will have a convenient calculator just a few keystrokes away. [0] https://insect.sh/?q=%3F [1] https://github.com/sharkdp/insect [2] https://github.com/sharkdp/insect/releases
In A calculator for the Terminal that renders beautiful math

Showing the 15 most recent of 26 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.