Skip to content
Small utilities and vocabularies implemented in the Factor programming language. http://re-factor.blogspot.com
Factor C Ruby Python Java Go Other
Find file
Latest commit ce21ced @mrjbq7 wavsum: can use read-struct.
Failed to load latest commit information.
99bottles 99bottles: Adding a few more versions.
accessors/maybe Updates.
beer-advocate beer-advocate: adding retired flag and beers helper.
birthday birthday: flush messages.
bitcoin-watcher update for http.client changes.
bowling bowling: don't need optional first.
calc-ui calc-ui: some more cleanup.
calc fixes for "exp" to "e^" rename.
cgi/examples use "of" instead of "swap at".
chemistry chemistry: adding some chemical symbol parsing code.
cpu-speed cpu-speed: simple vocab to estimate cpu speed
cycles cycles: much faster.
daytime daytime: fix compile errors.
desktop-picture desktop-picture: stack effects.
docs docs: adding beer advocate picture.
domainr domainr: switch to v2 and add documentation url.
duckduckgo duckduckgo: json> requires strings now.
dupe dupe: only check regular files for duplicate-ness.
emoji emoji: silliness.
euler euler: a little clearer.
facebook update for http.client changes.
factors factors: classifying numbers.
fake-data fake-data: adding uk and br randoms.
fast-factorial fast-factorial: implement binary-split version of factorial.
fast-fib fast-fib: faster fast-fib.
fast-now fast-now: faster, cached-per-millisecond version of "now".
fast-pow Renamed pow2 to fast-pow.
fizzbuzz utils: move assoc-merge and cond-case to factor:extra/
fortune fortune: update the FORTUNES constant
friday-13th friday-13ths: more tests.
gaddafi fix some load-all problems.
geekcode geekcode: moving from factorcode for now.
geo-tz geo-tz: simplify using bitfield.
geonames update for http.client changes.
github update for http.client changes.
godel godel: adding Gödel Numbering.
google update for http.client changes.
gravatar update for http.client changes.
haikunator haikunator: adding the haikunator.
happy-numbers happy-numbers: another method, suggested by Hallgrimur Gunnarsson.
harshad harshad: calculate harshad numbers.
hello-ga hello-ga: Jon Harper suggested some improvements using combinators.ra…
help/search pdf: removing to main factor branch.
humanhash humanhash: return two objects instead of 2array.
icalendar icalendar: beginning an icalendar parser.
ini-file-example Removing some vocabs that were merged into factor/extra.
iphone-backup switch to words from sequences.extras.
ipinfodb An API for IPInfoDB.com (e.g., "IP Location Tools").
isbn isbn: simply ISBN vocab.
k-nn k-nn: adding first version of k-NN example.
long-urls long-urls: for resolving short urls.
magic-forest magic-forest: fix using.
mail-ui mail-ui: works with ui improvements.
missing-assocs missing-assocs: an assoc that works like cache.
misspell Revert "misspell: simpler."
monte-carlo monte-carlo: some simple monte-carlo simulations.
mysql mysql: Fix using.
n-numbers n-numbers: use short-circuit more.
n-partition n-partition: some descriptive text files.
pagination pagination: some paging stuff.
palindrome palindrome: adding morse-palindrome?.
pdf/examples pdf.examples: add examples back in.
periodic-words periodic-words vocab.
pig-latin pig-latin: support words that are all consonants.
plagiarism switch to words from sequences.extras.
port-scan port-scan: a bit more idiomatic.
power-of-2 fix some load-all problems.
printf-example more hex fixes.
pseudo-crypt pseudo-crypt: cleanup and add some tests.
psyng update for http.client changes.
random-names random-names: make generate-names more efficient (only build transiti…
random-string random-string: simplify.
re-factor re-factor: bump max-results.
reasoning reasoning: convert back from expression to quotation.
repopular update for http.client changes.
rock-paper-scissors rock-paper-scissors: cleanup, test.
sanitize-paths sanitize-paths: adding pathname sanitization.
second-color second-color: implements "unique" colored timestamps.
semantic-versioning/ebnf semantic-versioning.ebnf: experiment, unfinished.
send-more-money send-more-money: more versions.
shortuuid shortuuid: more tests.
simple-rpg simple-rpg: simpler :)
slot-machine slot-machine: clear screen in play-slots to reduce flicker.
sorting/marriage sorting.marriage: using -unsafe sequence words.
spark spark: adding spark utility.
speedtest speedtest: more cleanup.
square square: determine if four points represent a square.
successor successor: factor out alphanum check.
ta-lib ta-lib: an experimental ta-lib wrapper.
telnet-server telnet-server: from a blog post.
ten-ten A bit cleaner.
ternary-search-trees ternary-search-trees: some fixes and performance improvements.
text-analysis better dale-chall word list.
text-or-binary text-or-binary: simpler (and more efficient) counting.
text-summary text-summary: cleanup, add wikipedia article summary.
tf-idf tf-idf: cleanup using, don't need "utils".
thesaurus thesaurus: better variable names.
time Implementation of a TIME server over UDP.
todos todos: "1array append" is suffix. Thanks, jonenst!
unix-tools unix-tools: moving to factor repository.
utils utils: removing some things.
verbal-expressions verbal-expressions: add many, some fun aliases.
voting voting: fix tests.
wavsum
wordcount wordcount: cleanup old post.
wordgen
worldcup worldcup: adding worldcup watcher.
wp wp: cleanup a bit.
xmode/code2pdf fix some load-all problems.
yahoo/finance update for http.client changes.
COPYRIGHT Bump copyright to 2011.
LICENSE Adding license.
README

README

================
   Re: Factor
================

http://re-factor.blogspot.com

This project contains various small utilities and libraries implemented in the
Factor programming language (http://factorcode.org).  These include:

99bottles:
    99 bottles of beer on the wall

accessors.maybe:
    the "set if unset then get" accessor

birthday:
    sing birthday wishes from the command line

bowling:
    bowling score calculator

calc:
    an EBNF-based infix string calculator

calc-ui:
    a simple graphical calculator

cpu-speed:
    estimate the cpu speed of your computer

daytime:
    simple DAYTIME server

domainr:
    wrapper for domai.nr API

dupe:
    duplicate file checker

elapsed:
    "pretty" elapsed times

enigma:
    implements an Enigma machine

facebook:
    implementing Facebook Graph API

fake-data:
    generate "fake" information

fast-fib:
    faster version of "fib"

fast-now:
    faster, cached-per-millisecond version of "now"

fast-pow:
    faster version of pow2, pow, log, exp for doubles

fizzbuzz:
    implementations of FizzBuzz problem

flip-text:
    turns text upside-down

fortune:
    prints random quotations

friday-13th:
    date calculations for "Friday the 13th"

gaddafi:
    match the many names of Muammar al-Gaddafi

geonames:
    implementing GeoNames API

github:
    implementing Github API v2

google.translate:
    implementing Google Translate API

gravatar:
    wrapping the Gravatar API

happy-numbers:
    tests if a number is "happy"

hello-ga:
    genetic "hello, world!"

iphone-backup:
    extract text messages from iPhone backups

ipinfodb:
    IP address geolocation tools using ipinfodb.com

mail-ui
    simple UI for composing emails

metar:
    parse METAR weather reports

n-partition:
    evenly partition an integer

periodic-words:
    calculates if a word is "periodic", like "GeNiUS".

picomath:
    implementation of picomath.org

plagiarism:
    a simple plagiarism detector

port-scan:
    simple port scanner

power-of-2:
    various methods of implementing "power-of-2?"

printf-example:
    simplified version of printf

pseudo-crypt:
    implementation of Kevin Burns "php-unique-hash"

psyng:
    implementation of Psydex API

random-names:
    generating random names

random-string:
    port of a "Random String" tutorial

repopular:
    scraping "popular" Github projects

robohash:
    wrapper for Robohash.org

second-color:
    implements a "colored" seconds hash

shortuuid
    implements "shortuuid" concept

simple-rpg:
    simple role-playing game example

slot-machine:
    simple text-based slot machine

sorting.marriage:
    in-place marriage sort algorithm

square:
    determine if four points represent a square

successor:
    implementation of "successor" from slang.js

ten-ten:
    calculate the 10:10 code for geographic locations

ternary-search-trees:
    implementation of ternary search trees

text-or-binary:
    heuristic to detect if a file is text or binary

text-to-pdf:
    "text2pdf" converter

tf-idf:
    simple tf-idf search engine

thesaurus:
    thesaurus using custom data file format

time:
    simple TIME server

todos:
    additional vocab metadata for todo lists

txon:
    reader and writer for TXON format

unix-tools:
    implementations of common Unix programs

utils:
    miscellaneous utility words

wordcount:
    implementation of "counting words" meme

wordgen:
    example of statistical paragraph generation

wp:
    implementation of the "wp" benchmark (http://ptrace.fefe.de/wp/)

yahoo.finance:
    wrapper for Yahoo! Finance market data
Something went wrong with that request. Please try again.