Sidenotes to self from the internet

While reading PEP 342 and PEP 3156 somehow I glided to reading this article by conway. Jeez, the things that people dealt with once sound like science fiction mumbo jumbo today… in regards to properties of a new compiler:

"It can be segmented into many possible configura-
tions, depending on the source computer’s storage size,
such that (a) once a segment leaves high-speed storage it
will not be recalled; (b) only two working tapes are required, and no tape sorting is needed. One such configuration requires five segments for a machine with 8000 six-
bit characters of core storage.”

Computer Science used to be fascinating stuff… On a lighter unrelated note, Gavin McInnes is a funny guy, and this `hotchip` concert is a blast to listen to!

Brute Force Coding in my Sleep

Occasionally, I’d fall asleep while still thinking about code. I’m sure it happens to anyone who’s deeply concentrated on their work while going to sleep, but this one surprised me.

For me, this code-sleep combination happens very rarely. Simply because I rarely keep thinking about code in the evening hours - house tasks and simple, mindless rest, occupy most of my late hours.

Anyway, on this specific occasion, I was actively imagining a few lines of code in Tortuga and how I would go about continuing it. Now, I don’t actually remember what I dreamt about, and I’m pretty certain it wasn’t only code, but an amazing thing happened when I woke up.

When I woke up, I recalled the last few seconds of my “dream” (if you could even call it that) - it was going over the logic of possible “forks” of code in order to see which would be better. I didn’t even realize that I ever did that! I figured out what code not to write in my sleep! Ok it sounds less amazing than it was a few minutes ago, but bare with me.

This leads me to believe that my sleeping mind was attempting to slowly and methodically write a block, a few lines, of pseudocode, and simulate running them to have a look at the results. It’s like leaving the mind autopilot on a task to check on the results in the morning.

This seems like a brute forcing approach, hence “brute force coding” is the name I came up with.

Neat ain’t it? Has this been happening to anyone?

Linux Command Goodies

Back from the latest escapade into the territory of wild forest cheat sheet, the hero emerged with a new commando goodie in his belt. Seriously though, I found some cool shit:

The LS|SED grenade:
"…Display file names without extension - this is very useful in conjunction with the for loop to perform some operation each file and specify the output filename with a different extension…" 

ls -1 | sed -e ‘s/.[a-zA-Z*]*$//’

Simple Cheat Sheet, and the Big Cheat Sheet or so I like to call it.

Thats all I had time for this morning, see you later.

So much crap (on iPhone SDK Books)

Since my new OOO project is programming for the iPhone, I’ve been reading and researching iPhone Programming material. Here’s what I found so far:

  • Working on the mac (borrowed) is wonderful! I can’t get enough of it.. I think it’s the font rendering + osx.
  • Reading iPhone “quickfix” books is awful. You feel like you’ve read through a whole book of interesting tutorials but haven’t really grasped how all those delegates, controllers, views and datasources connect (and yes i mean MVC is poorly emphasized).
  • Lots of books to chose but which ones are good? This is what i found available on the net: *if you know: tell me*
  1. iPhone SDK Programming, A Beginner’s Guide - p9
  2. Objective-C_for_Absolute_Beginners - done
  3. AppleScript Language Guide
  4. Beginning iPhone Development - Exploring the iPhone SDK
  5. Cocoa Programming for Mac OS X, Third Edition
  6. Iphone In Action - Introduction to Web and SDK Development
  7. Iphone SDK Application Development, 1st Edition
  8. Learn Objective-C on the Mac
  9. Learn Xcode Tools for Mac OS X and iPhone Development (Learn Series)
  10. More iPhone 3 Development - Tackling iPhone SDK 3
  11. Professional iPhone and iPod Touch Programming
  12. The Objective-C 2.0 Programming Language
  13. The iPhone Developer’s Cookbook
  14. Xcode 3 unleashed
  15. iPhone Advanced Projects
  16. iPhone Forensics Recovering Evidence, Personal Data, and Corporate Assets
  17. iPhone Games Projects
  18. iPhone User Interface Design Projects
  19. iPhone_and_iPad_in_Action - p68

I will update here as soon as I read some more books or find cool resources.

everyone: feel free to add more/less in comments

What the hellzz!

That damn bot made me write my first post and I didn’t even mean to answer his stupid question. Oh well, might as well continue saying something important - in come the geekiness!

Must try this: apparently you can 

edit: I was gonna stop there but had to say something in case anyone listens (or actually, and much more probable, that I look here again a sometime later):: If all blogging actually is is reposting other articles it does make you feel kind of useless (and boring), so you really gotta find something interesting to say or dear ego boy will get hurt…

I’ll post another one so the source will change a bit…

tumblrbot asked:


Hard to remember anything that early, since i wasn’t alive yet… I guess the ability to craft prehistoric weapons could be when we became human. Oh wait, you were asking me as in *me* not me as in *the human race* .. i always get confused - geez!