HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
daleharvey
erlang_util
Erlang2009–2009
daleharvey / erlang_util

erlang_util

Collection of random handy erlang scripts

2Distinct people
2Mentions
0Explicit recommenders
21GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Collection of random handy erlang scripts

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

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, 5:04:57 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 week2 dated mentions

Observed mentions: 2009-02-11 12:15:38 UTC to 2009-05-01 10:17:15 UTC. Weeks start Monday, UTC.

012009-02-09 00:00:00 UTC to 2009-02-16 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsFeb 92009-02-16 00:00:00 UTC to 2009-02-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-02-23 00:00:00 UTC to 2009-03-02 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-03-02 00:00:00 UTC to 2009-03-09 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-03-09 00:00:00 UTC to 2009-03-16 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-03-16 00:00:00 UTC to 2009-03-23 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsMar 162009-03-23 00:00:00 UTC to 2009-03-30 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-03-30 00:00:00 UTC to 2009-04-06 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-04-06 00:00:00 UTC to 2009-04-13 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-04-13 00:00:00 UTC to 2009-04-20 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-04-20 00:00:00 UTC to 2009-04-27 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2009-04-27 00:00:00 UTC to 2009-05-04 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsApr 27

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
Feb 92009-02-09 00:00:00 UTC2009-02-16 00:00:00 UTC101
Feb 162009-02-16 00:00:00 UTC2009-02-23 00:00:00 UTC000
Feb 232009-02-23 00:00:00 UTC2009-03-02 00:00:00 UTC000
Mar 22009-03-02 00:00:00 UTC2009-03-09 00:00:00 UTC000
Mar 92009-03-09 00:00:00 UTC2009-03-16 00:00:00 UTC000
Mar 162009-03-16 00:00:00 UTC2009-03-23 00:00:00 UTC000
Mar 232009-03-23 00:00:00 UTC2009-03-30 00:00:00 UTC000
Mar 302009-03-30 00:00:00 UTC2009-04-06 00:00:00 UTC000
Apr 62009-04-06 00:00:00 UTC2009-04-13 00:00:00 UTC000
Apr 132009-04-13 00:00:00 UTC2009-04-20 00:00:00 UTC000
Apr 202009-04-20 00:00:00 UTC2009-04-27 00:00:00 UTC000
Apr 272009-04-27 00:00:00 UTC2009-05-04 00:00:00 UTC101

What Hacker News says

2 sources
You know, funnily, that's one of the things I enjoyed about Ruby most from the get-go: there's a very low incidence of "WTF?" In Ruby, most concepts that you haven't met before are still intuitive enough to be able to grasp them without being told what they are explicitly. Of course, there are exceptions (inject takes a little getting used to, as do some edge cases with code blocks and lambdas), but take the following example: puts Project.find_all_by_created_at(1.month.ago..Time.now).collect(&:name).join(", ") This uses a few "medium-advanced" ruby concepts, like ORM, ranges of dates, and iterating through a collection and mapping the results of the iteration, and yet even someone who knows zero programming has a chance of figuring out what it does. Or: recent_joiners = project.all_users.select { |user| user.joined_at(project) > 1.m
Read the rest
onth.ago } All very obvious. I like obvious code. As they say, code should be written for people to read, and only incidentally for machines to execute. Whatever other flaws it may have, Ruby is written for clear, easy reading. On the other hand, after the Erlang 'discussion' ("Why OO Sucks") Dale Harvey pointed me to this erlang file: http://github.com/daleharvey/erlang_util/blob/e9057208f88ba5... The density of WTF's in this file is huge. Who can make sense of the following lines without any explanation? format([$M|T], {{_,M,_},_}=Dt, Acc) -> format(T, Dt, [smonth(M)|Acc]); Beyond "It's something to do with formatting a date of some sort", it's hard to tell what it does or how. And yet, this piece of code is probably trivial when compared to the ruby code I pasted above. Personally, I really prefer languages with a low WTF/minute rate right from the start. Then I can measure progress in that language based on what I achieve with it, rather than based on how many hurdles I've jumped to get to square one.
In Haskell comprehension measured through WTF/min

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.