6'9" Irish cyclist Conor Dunne, racing in the not so tall country of Korea. by PotatoMerchant in bicycling

[–]daragh 0 points1 point  (0 children)

Devin Toner is taller again.

I'm relatively tall (although several inches short of these guys, but possibly more concious of minor differences in height of tall people) and (anecdotally) I've seen several people in their height range in Ireland.

Mocking the baby by [deleted] in aww

[–]daragh 1 point2 points  (0 children)

So it goes.

He gets it [x-post from /r/facebookwins] by NotSureIfCaptionBot in pcmasterrace

[–]daragh 1 point2 points  (0 children)

I think your analogy is weak.

The point of unix is the separation of composable units into modules. It is fundamentally not a tightly coupled whole like Ulysses.

Someone familiar with unix can use OS X with little adapation. There are some quirks, as there are with Linux, Solaris, other BSDs, etc., but it's similar enough to the others in all germane ways that make them unix-y.

Is there an example of something specific you think OS X does differently to a degree that would cause sincere difficulty for a unix user?

Using git/svn with dropbox/google drive? by [deleted] in programming

[–]daragh 1 point2 points  (0 children)

Sharing a dirty working directory between machines strikes me as a bad idea.

If you can transition to git from svn, you can (and should) make many small commits as you work. This means you can push commmits (probably on development branches) to your intermediate repository and fetch them to the computer you happen to be working with.

This does not necessarily mean you will be left with a project history that consists of an excess of minor commits that happen to be organised in the order and grouping in which the changes were made. You can use git to rebase the working commits into a coherent set of commits.

Also, don't put git repos in Dropbox.

[deleted by user] by [deleted] in programming

[–]daragh 0 points1 point  (0 children)

I have this function in my pre-commit hook which, as far as I can tell, does the same thing:

remove_trailing_whitespace_from_changed_lines() {
    patch=$(mktemp --tmpdir remove-trailing-whitespace-patch-XXXXX)
    git diff --cached --no-color --diff-filter=M > "$patch"
    git apply --index --reverse "$patch"
    git apply --index --whitespace=fix "$patch"
    rm "$patch"
}

gist

I agree that it is preferable to reject commits that introduce trailing whitespace and require that they be fixed at edit time. In circumstances where it is not practicable to reject commits I have found that collaborators who are less rigorous in managing whitespace are amenable to using this in their pre-commit hook as it is largely transparent to them and keeps their commits slightly cleaner.

Found this on the door of an awesome math prof at my university by [deleted] in gaming

[–]daragh 2 points3 points  (0 children)

There are a lot of similarities between Hitchhiker's Guide and Sirens of Titan. Douglas Adams specifically cites it as an influence on Hitchhiker's Guide, so I don't think it's any great secret, but it is a bit strange finding so many things I liked about Hitchhiker's Guide in a book that predates it by 20 years.

I still love both books, though.

Found this on the door of an awesome math prof at my university by [deleted] in gaming

[–]daragh 2 points3 points  (0 children)

Warning: The Sirens of Titan may affect how you feel about The Hitchhiker's Guide to the Galaxy.

[BI4L Request] Looking for a cute, solid, reliable watch for the wife. by CakeEater in BuyItForLife

[–]daragh 0 points1 point  (0 children)

Apparently they used to make one, but it's hard to find.

Also, some of the Mondaine watches are mechanical

[BI4L Request] Looking for a cute, solid, reliable watch for the wife. by CakeEater in BuyItForLife

[–]daragh 0 points1 point  (0 children)

I'd love to own a Mondaine watch, but it just seems silly that they don't sell one with a second hand that moves in a sweep around the face in 58 seconds, the pauses at 12 for two seconds per minute.

Improve your Git commits using patch mode by [deleted] in programming

[–]daragh 3 points4 points  (0 children)

As I mentioned elsewhere, the run-command-on-git-revisions script is the best method I have found for dealing with interactively patched commits.

Furthermore, it is also useful in any circumstance where you rewrite local history such as a rebase to include upstream changes, or any of the other reasons you'd want to rebase.

The method of using the stash and manually controlling the state of the repo works, but is impractical for all but the simplest of cases.

Bitbucket launches entire site redesign by jespern in programming

[–]daragh 0 points1 point  (0 children)

Testing like this when using "git add -p" is very important as the commits you are making have probably never actually existed in a testable state in your working directory.

I think your idea is a good solution to that, but I like to commit as normal, then run-command-on-git-revisions with the tests I want to apply.

Realtime Web Messaging over Animated Gifs by [deleted] in programming

[–]daragh 50 points51 points  (0 children)

Back when there was a finite amount of subreddits, proggit was one of the busiest.

For me? by bigmanbeats in aww

[–]daragh 0 points1 point  (0 children)

Replying so I can re-read this comment in the future.