Sections
Daniel
Moriah
Photos
Recipes
Software
Other
About
Contact
Show/Hide Search
Wolf
Entries By:
Daniel
Moriah

Entry Type:
Audio/Video
Blog
Chat
Code
Link
Lyrics
Picture
Quote
Thought

Archives By:
2008
M
A
M
F
J
2007
D
N
O
S
A
J
J
M
A
M
F
J
2006
D
N
O
S
A
J
J
M
A
M
F
J
2005
D
N
O
S
A
J
J
M
A
M
F
J
2004
D
N
O
S
A
J
J
M
A
M
F
J
2003
D
N
O
S
A

Links:
Toast Driven
Gemstone Creations
Wagging Work
Luke
Andy
Nummy!
Peter
Arthur
Nico
Mike T.
Phil
May 11, 2008

[Daniel] Too Warm Laptop

Dear Steve Jobs,

I love your laptops. That said, it's not a laptop if it's too damn warm to keep on my lap for more than 20 minutes. I finish each and every night with two giant sweat marks on the thighs of my shorts and a giant red mark on my left leg from 2 hours of use. From typing and surfing. In a text editor (called TextMate). I fear how much hotter a MacBook Pro would be over my MacBook. Let's look into cooling solutions. Kthxbye!

Love, Daniel
May 6, 2008
April 12, 2008

[Daniel] Parenting Is... #27

...the horrendous anxiety of waiting while your spouse takes one of your children to the emergency room.

[Daniel] Yay For Meme's!


107 git
83 cd
42 rake
33 dig
26 ls
25 rm
20 python
17 ssh
15 sqlite3
14 clear


Pretty standard, really. I'm surprised that "clear" wasn't closer to the top. Via The B-List which originated from Bill de hOra.
April 10, 2008
April 2, 2008

[Daniel] Parenting Is... #26

...the way your heart melts when your newborn smiles.
March 24, 2008

[Daniel] All Your (Code) Base Are Belong To GitHub

Yay for a worn-out meme and a bigger hurrah for an awesome service! GitHub is a hosting solution for the Git version control system.

Why Git? Git provides a different model for version control from traditional centralized version control systems. Git uses a distributed model where every checkout is actually a complete repository. This means you have complete history along with all branches. Others can clone out of your checkout. And merging, something that traditionally very painful in systems like Subversion, is easy and pain-free. Not mention Git being extremely fast, space efficient and able to be used even while offline.

GitHub takes all the power and provides a great interface, easy code sharing and the ability to easily fork other projects hosted on GitHub. Built by Chris Wanstrath, Tom Preston-Werner and (apparently) PJ Hyett, the app is already solid for a beta and there's going to be quite a few more goodies added before launch. Others have already noted the interesting social aspects so I won't dog on that point too much.

GitHub comes highly recommended and I still have two invites available if anyone's interested.
March 21, 2008

[Daniel] Strangely Expressive

Life with Number Two has been largely good. However, after the intense colic Mini Me experienced, it is strange to hear Number Two cry, simply because it's so much more expressive. You can actually tell the difference between "I'm hungry", "I'm tired" and "It hurts!", as opposed to the constant pained cry. It's very odd and sometimes causes a double take.
March 18, 2008

[Daniel] Oh Snap!

#!/usr/bin/env python
"""Since SnapTalent (http://snaptalent.com/) seems to have some solid jobs and a decent site, but no list of ads, let's make one."""
import urllib2

base_url = 'http://snaptalent.com/ads/'

for i in xrange(255):
    current_url = "%s%s" % (base_url, i)
    
    try:
        oh_snap = urllib2.urlopen(current_url)
        
        if oh_snap.code == 200:
            print "Valid URL: %s" % current_url
        
        oh_snap.close()
    except:
        pass
            
March 14, 2008

[Moriah] Parenting Is... #25

...watching in astonishment as your 2-week-old newborn rolls himself over from tummy to back during "tummy time" on the floor.
February 27, 2008

[Daniel] On The Eve Of Number Two's Arrival

Tonight is the eve of what ties for the biggest days of my life. Tomorrow (hopefully) our second child (Number Two) will be born and I'm panicky tonight. It has been a year and a half since Mini Me (our first) was born and it has been mostly wonderful. I could've lived without the colic he had early on and I could've done a better job at times but it's been a good time. And as an added bonus, the time seems to have gone by at a snail's pace, which enabled me to really enjoy this time with Moriah and him.

But tonight, as I laid Mini Me down to sleep, something happened and I started to panic. The realization that this was his last night as an only child hit hard and he doesn't even know/understand it. That the room next door that's been prepared for Number Two would be empty just 1-2 more nights and then not again for a very long time was just as difficult. All of a sudden time seemed to speed way up in a way I was not prepared for and do not welcome.

Up until today, I was anxious and excited for Number Two's arrival. I still am. But trepidation about the next couple weeks in creeping in. There's going to be so much more to juggle and get done, which doesn't worry me. What worries me is how the time will pass and what I will make of it.

I can only hope that these feelings will subside and that time will go back to the wonderfully slow pace I have been enjoying since we arrived in Texas almost 3 years ago. I'm going to do my best to make sure both kids feel loved, receive our attention and that we make the most of it. With any luck, it will be enough.
February 25, 2008

Moriah says...

An awesome limerick, courtesy of LimerickDB:

Limerick #292

A preoccupied vegan named Hugh
picked up the wrong sandwich to chew.
He took a big bite
before spitting, in fright,
"OMG, WTF, BBQ!"

February 23, 2008

[Daniel] Serving Git From Mac OS X

I'm running Git built from source on Mac OS X 10.5. I've been trying to migrate from Subversion to Git for awhile now but always got hung up on how to host the "repository". My ideal was to push to a bare repository in the style of Subversion and be able to pull from it elsewhere. The problem lies in wanting to how it on my laptop.

I beat my head against the following error message for a good hour: "bash: git-upload-pack: command not found". None of the documentation I stumbled across seemed very helpful. Then it occurred to me that it might be a path issue, as Git seems to install to "/usr/local/bin" by default.

The solution (provided you've built Git correctly with a standard "configure/make/make install") looks something like this:


  1. Within your project, create a bare repository (i.e. "git clone --bare -l . /Users/daniel/git/project.git").

  2. Inform Git the project needs to be servable (i.e. "git --bare --git-dir=/Users/daniel/git/project.git update-server-info").

  3. Create (or edit) a ".bashrc" file in your home directory. Prepend on the "/usr/local/bin" directory to the PATH (i.e. "export PATH=/usr/local/bin:$PATH").

  4. On a remote server, clone the project. I like SSH so running that would look like "git clone ssh://daniel@domain.dyndns.org/Users/daniel/git/project.git project".



Note that the path to the Git repository is absolute. I created a "git" folder in my home directory for storing all the Git repositories in one place.

New Shoes!