Factorcode - planet.factorcode.org - Planet Factor
General Information:
Latest News:
John Benediktsson: Domai.nr 13 Aug 2013 | 08:45 am
The domai.nr service is a handy way to find domains that make nice short URLs like debu.gs, nick.is, and craftstud.io. I had a need awhile back to access this web service from a script and query a bu...
John Benediktsson: uniq 7 Aug 2013 | 04:40 am
I've used Factor to build several common unix programs including copy, cat, fortune, wc, move, and others. Today, I wanted to show how to build the uniq program. If we look at the man page, we can se...
John Benediktsson: METAR 28 Jul 2013 | 12:25 am
METAR is a format for reporting weather information. Often used by pilots and meteorologists, METAR might be considered the most popular format in the world for sharing weather data. There are METAR p...
John Benediktsson: Logistic Map 22 Jul 2013 | 08:35 pm
A recent blog post discusses the relative performance between Haskell and C when calculating the billionth iteration of a particular logistic map function: A bit curious about how Factor would perfor...
John Benediktsson: Reading List 15 Jul 2013 | 08:38 pm
The Safari browser has a feature called "Reading List" that makes it easy to synchronize and bookmark pages for later reading. Recently, a Mac OS X Hint linked to a question on stackexchange.com askin...
John Benediktsson: Non-repeating 2 May 2013 | 08:18 pm
The Programming Praxis blog, which recently achieved the milestone of One Million Hits, posted a challenge a couple days to find the first unrepeated character in a string: Given a string, find the f...
John Benediktsson: Terminfo 26 Apr 2013 | 09:00 pm
While investigating how to determine if a terminal is color capable, I re-discovered terminfo databases. These database files store the capabilities of terminals in a device-independent manner. tput ...
John Benediktsson: Factor 0.96 now available 21 Apr 2013 | 09:38 am
"You're smart too late and old too soon." - Mike Tyson I'm very pleased to announce the release of Factor 0.96! OS/CPU Windows Mac OS X Linux x86 0.96 0.96 0.96 x86-64 0.96 0.96 0.96 Sou...
John Benediktsson: Factorial 15 Apr 2013 | 10:43 pm
Calculating factorial numbers is frequently used to compare programming languages. Usually the implementation is simple, as is the one in Factor: I hadn't realized until I skimmed the Wikipedia artic...
John Benediktsson: Bitwise permutations 11 Apr 2013 | 11:31 pm
Using bit twiddling hacks can be fun. When I noticed compute the lexicographically next bit permutation, I knew it could be a neat feature for Factor. The idea is that given a number like 7 (represen...