HN user

daemianmack

16 karma
Posts0
Comments19
View on HN
No posts found.
  Ansible looks to me like the product of a person who looked 
  at Puppet, said something like "ugh Ruby, ew syntax" and  
  made his own thing, without looking deeper.
Before he created Ansible, Michael Dehaan was Puppet's product manager.

Surprisingly entertaining -- thanks! It'd be nice if the the popup messages had a force field around them, so they stayed readable for as long as possible.

GitHub for Mac 1.1 15 years ago

You can split hunks until they're consecutive lines. You can't split more granularly than that with -p. You'd need to edit the patch, either directly or with git gui or similar.

Our boy just turned 3 months old. People keep telling us we got really lucky, but the impact on sleep and personal time has not been that huge.

During my wife's pregnancy, I had a big development project eating up 90%-95% of my free time: I wanted to get it done before he arrived, anticipating the huge time suck everyone warned me about. (I ended hitting the finish line, and deployed over the two-week paternity leave, and let him push the launch button when he was 8 days old.)

In my experience -- and again, YMMV, etc. -- if you can regiment your time carefully, it's absolutely not that big a deal. Yes, our days are substantially different now, but we work together really well to relieve each other; I get plenty of development time, she gets plenty of roller derby time, and after completing the post-deploy piece of my last project, I've already picked up another major project and am getting things done.

I've always been a pretty light sleeper, and it's not uncommon for me to be woken up at 4 and just not go back to sleep, so perhaps I already could deal with mild sleep deprivation well, but I really have no complaints about the amount of sleep we're getting. Generally I'll take the last feeding of the night, since I probably won't go back to sleep after, and there were a couple days in there where I dragged a bit, but really, the impact has been negligible.

(The impact of him coming home sick from daycare is an entirely different story. It's like he's a breeder reactor for bugs. I haven't been that sick in years.)

The best way I found to take care of my wife is to get her what she wants, when she wants it -- i.e., literally stand up before she's finished her request and go take care of it, stat. She's in a ton of discomfort (both before and after pregnancy, especially if you're doing a natural birth) and will appreciate the hell out of you going the extra mile. Post-birth, being instantly ready to locate/retrieve/position whatever baby paraphernalia or etc. has been a big help to her. Before we gravitated to a nice he-eats-then-we-eat schedule, I used to feed her and myself both as she fed the baby. Felt silly the first time but it worked out great logistically.

Some random bits in no particular order...

Interesting baby hack: one time the boy was crying, and just holding him wasn't doing the trick, so I figured his diaper needed changing. As a rule, his crying increases dramatically when first laid down for the diaper change, then he perks up and stops crying after he's cleaned up. So I laid him down, took off his diaper, and found that it was actually clean. When I re-diapered him and picked him up, he stopped crying... even though he didn't need the diaper change in the first place. I think if we could find out what was going on in their little brains, we'd be pretty surprised.

Totally invest in the mechanical swing kerben mentions.

When nothing else works, a warm bath has proven to be an awesome baby-fixer for us.

You will learn many new ways to care about poop.

Having my food be smart energy packets reduces the excitement of sitting down to dinner. On the other hand, it's been indispensable for getting back in shape -- this combined with working out 4/5 days a week and I'm down to 190 from 210 a year ago, and 245 four years ago.

Breakfast: Shake -- strawberries, blueberries, bananas, Greens Plus superfood powder, chia seeds, flax seeds, soy milk.

Lunch: Usually turkey and field greens and a couple apples. Occasionally PBJs on high-protein bread. Sometimes Thai or Vietnamese pho.

Dinner: Once or twice a week, NY strip medium-rare in a cast-iron pan.

A ton of salmon, three or four nights a week -- fresh, canned.

Tilapia. Been replacing this with pork cutlets lately.

Mix and match any of these with steamed broccoli, baked tomatoes, cauliflower, brown Basmati rice, cottage cheese.

No butter, no sauces -- salt, pepper, sriracha, habanero powder etc. for seasoning.

It'd be possible to add a lot more variety if I wanted to take the time to get creative with it.

Perfect; I was just looking for vc-annotate-next today.

Magit user here. I love it for its ability to let me do line-level control over what I place in the index. I use the prompt for deep surgery but for general coding/logging/commit-bundling, I haven't found anything better.

The documentation for it is great. I wanted something a little more breezy for quick task-centric scanning and made this...

http://daemianmack.com/2009/09/24/magit-cheatsheet/#

Maybe it'll be useful to you.

Funny, about an hour ago I finally broke down and remapped Ctrl+w to backward-kill-word[1] after re-reading Yegge's Effective Emacs, and you've just reminded me to push the commit to my fork of emacs-starter-kit, which is a great way to get a core set of functionality. Works best if you're tyrannical about keeping it up to date, which I mostly am.

http://github.com/daemianmack/emacs-starter-kit/

Favorite two most recent additions: pyflakes/pylint for Python, and rainbow-mode for CSS.

[1] Having backward-kill-word a two-finger-stroke, instead of the two-handed alt+Backspace, is great! On the other hand, it turns out I kill-region a lot more than I thought I did, so that's a little weird.

To me, finger seemed to lapse the same way the old-school tilde-based 'personal website' gave way to Geocities et al -- people gradually shifted away from it.

Remember John Carmack of id Software using a plan file to distribute Doom news?

That was, to my own recollection, the last gasp of finger; everyone else I knew of had stopped using it years before he did.

[dead] 16 years ago

'Leads to' is an unfortunate choice of words at best.

Unless there are details not yet divulged, this appears pretty similar to, e.g., 'Casual Encounters section of Craigslist Leads to Murder of Phoenix Man'.

Very nice. The developer's responsiveness to bug reports is what makes this the best form-styling solution for a side project I'm working on at the moment; this should be pretty well-vetted. Josh, thanks for your efforts!

Cool. I've been enjoying sup on a daily basis for quite some time now, and it's great. C-speed search and robust emacs integration sound wonderful; it's too bad these features sprung up inside a different client... but it's good to have options. I'm looking forward to seeing where this goes.

I've recently come to the same conclusion as the author.

I've long been an advocate of Linux, but a few years go I sort of gradually switched off Linux on the desktop back to Windows. It wasn't premeditated; I built a new box, made it Windows for gaming, and then one day realized I was using it exclusively for desktop stuff.

Well, I say desktop, but I think the real differentiator here is X Window... I use Linux command-line programs for much of my daily desktop productivity stuff -- email (sup+fetchmail), irc/aim (irssi, bitlbee), text editing (emacs), etc.

At work we recently rebuilt our boxes using Ubuntu. I was thrilled for about two weeks, and then all those little X annoyances started creeping back in. Frankly, I was kind of surprised; I had assumed that it would have come a lot farther in the few years since I had last used Linux for desktop.

Actually using X Window programs has become annoying. I can sort of feel that legion of disparate programmers all taking their own stab at desktop GUI programming and all arriving there somewhat differently.

Eventually a few of us broke down and hackintoshed our boxes, and I couldn't be happier.

Linux on the server? Absolutely.

But on the desktop? OS/X.

It does. The relevant snippet from my .emacs.d:

  ;; For tramp with my bash config, the prompt of which terminates
  ;; in a newline. Tell tramp how to detect the end of my prompt.
  (setq shell-prompt-pattern "
  ")
The value of the shell-prompt-var is a literal newline. (That newline entered, naturally, with a C-q C-j.)