Skip to main content

Items tagged with: bsd

Search

Items tagged with: bsd


I've made a fraction-based calculator, for simplifying rational expressions (written in ANSI-C using vi)

I was aiming to merge a scientific calculator with "bc", because I often need to simplify various fractions and whatnot. Quite happy with the result!

Uses shunting yard algorithm to evaluate the expressions, and a naive descent parser (I think?) to tokenise

Aside: OpenBSD's "editline" is very easy to use

Please ask any questions 😀

http://patpatpat.xyz/data/frac

#c #bsd #unix #math

#math #unix #BSD #C


Don't go back into that prison again 🙄

#linux #bsd #windows


the fact that on modern Linux still every executable runs with all the permissions of the user is kinda baffling.

The permission system is developed for multi-user systems where users don't trust each other but trust the software. On modern PCs, we have mostly only one user, but a bunch of random executables that we shouldn't have to trust with our whole drives.

Time for the year of the BSD desktop, anyone? 😁

#BSD #Linux

Lo, thar be cookies on this site to keep track of your login. By clicking 'okay', you are CONSENTING to this.