Friday, March 30, 2012

whee hacking

I posted this on Google+ 3:04 AM today

it must be a great idea to share a log of hacking at 1 am to an unknown time because i'm not done yet.


hacking at 1:05 am. i need caffeine. -1:05
i should keep a journal in my status… or not. all am of course -1:06
saying rude words to "No match" code completion is satisfying -1:10
oh god. my code sucks. -1:14
just realized "inefficient" is the word i was looking for. i was going to put those in single quotes, but i'm in programming mode and that would generate a build error because "inefficeint" is a string not a character -1:16
build > 5 build errors > ffffuuuuuuu > o wait just a if statement i was in the middle of writing. no big deal -~1:19i was originally doing this in my gmail status, but i ran out of characters in the middle of the above entry (it cut off at "in the"; middle wasn't there) -1:24
oh god. why am i even doing this? -1:44
wow. it's 2. just wow. -2:00
horror = 52 lines of code (made up of 1 if statement and 25 else if statements) to manually convert all 26 letters to their numerical counterparts (a = 1, b = 2, etc) - 2:11
changing the numbers from my 25 copy/paste operations was significantly easier because it didn't try to code-complete all of it -2:12
wow, i'm using assertions. i feel so hardcore. if i ran assert(programmer.hasALife); it'd crash -2:17
yeah, i felt like abort(); just wasn't doing it -2:17
also, got my first warning. i've never gotten warnings, only errors. -2:18
so tired… -2:19
it's 222. -2:22
does c++ use methods or functions? -2:25
had to try twice before i typed - instead of = on that last one. my typing skills are degraded, i can tell… i should go to bed. -2:26
my comments are unbelievably vague. "set plaintext value i" and "perform algorithm" aren't extremely helpful -2:29
lol. "//make sure key[i] exists, mostly because I like using assertions" -2:33
i'm hungry. cookies. -2:51
alright screw this. i can't concentrate enough to get anything done. -3:03
hey! 303! a palindrome! -3:04
bye -3:04

No comments:

Post a Comment

Comment goes here.