dustin

I write code.
My view one second before 2012.

My view one second before 2012.

Comments (View)

Wants vs. Needs

  • jyfl987: hi, i am planning to implement an memcache server side application, can you guys told me where is the parsing part in projects memecached
  • dsal: What? Are you wanting to write an engine?
  • jyfl987: yes, my boss want to using memcache's protocol as our rpc protocol and i want to use inetd to wrote an simple and multi-thread implement for it
  • jyfl987: found it, its in memcache.c try_read_command
  • dsal: No, you want the storage engine framework. Trond wrote a tutorial on writing engines with it: http://blog.couchbase.com/writing-your-own-storage-engine-memcached
  • jyfl987: nope, i dont need the storage engine
  • dsal: If you think you need try_read_command, you need the storage engine interface.
  • jyfl987: i just want to learn how to parse the command :]
  • dsal: Why do you want to parse the command?
  • jyfl987: i am not a cs student, so missed some knowledge on parsing/compiling
  • dsal: This is definitely not the place to look, then.
  • jyfl987: anyway, i found what i need
  • dsal: I think you found what you were looking for. You've yet to find what you need.
  • jyfl987: yep,
Comments (View)
Another shot from the show last night.  My phone can do some pretty amazing stuff.

Another shot from the show last night. My phone can do some pretty amazing stuff.

Comments (View)
Bunny parked in fire lane.

Bunny parked in fire lane.

Comments (View)

Test Ease

  • E: R, what would you like this repo called?
  • R: Test tools?
  • D: When I was in fourth grade, I had to find my own spelling words out of the dictionary and write stories and stuff around them.
  • D: One week, I used the word "scrotum" -- "pouch containing testes". My story was very interesting and I could not convince my teacher that I did not know that "testes" was not the plural of test.
  • D: My story involved a scientist conducting tests on a deer.
  • D: The part about delivering the results my teacher found particularly disturbing.
  • D: So, if you're asking for my opinion on what to call your bag of tests...
Comments (View)

My roses are starting to bloom.

Comments (View)
Next on FOX:  Two guys, a goat and a scooter.

Next on FOX: Two guys, a goat and a scooter.

Comments (View)

Movie Night

  • (my daughter got invited to movie night by some boy and mentioned another boy would be there. I asked her if she'd be watching porn with a bunch of boys. She said she would not. Then I got this SMS later)
  • her: ...23:30 or would you mind at 24:00 because we are watching forest hump 22:51
  • her: Gump* 22:52
  • Me: ¡ I knew you were watching porn! 22:52
  • her: Dad! 22:52
Comments (View)
I rigged up a tea warmer out of stuff I found around the house…

I rigged up a tea warmer out of stuff I found around the house…

Comments (View)

YAGNI

  • (upon finding an important bug obscured deep within code we will never use)
  • Him: on 679, sounds like you're tempted to make some big changes to fix it right but pointy haired boss (me) is loathe for big changes at this time
  • Me: I hope you recognize you're making every argument I've ever made against adding code that we don't need because of the horrible support burden it brings.
Comments (View)