Archive by Author

iphone programming course

the university of stanford published a iphone programming course. you should check it out when are planing on iphone development.

get it here

TIP: i used wget to fetch all the pdf-files:

wget -r -l2 -H -A.pdf http://www.stanford.edu/class/cs193p/cgi-bin/downloads.php

another one joining the shelfari posse

i am adding myself into the line of book-shelf-sharers. after michel, björn and stefan here is my shelfari.

Shelfari: Book reviews on your book blog

Do not pollute your code

Last week a had another episode where i realized how important it is to remove code and files u are not shure why they are there. ok i have to admit i am still living in an environment with about 500k lines of code and a coverage far away from 10%. so testing was not our strength. so it is a bit harder to know if the code is used anywhere.

but still. to pollute your source-tree with stuff you dont need anymore but are afraid to loose is a bad habit. of course you should have source control to have the security to return to a point in the past where the code existed. but dont comment dozens of lines in production-code. it makes it hard to read and probably the next time you are going to implement the commented code your u are smarter and will do it better.

as i like to say: removing old code is as nice as producing new one.

happy removing…

Favorite Tools I

I know there are a lot of tools lists out there one of the the best i found for Windows based tools is the one of scott hanselman.  but because this one is very big and has a lot of tools in it and also lacks the mac os site of stuff i decided to compile my very little own tools list:

file manager

windows: total commander (26€)

most powerful two-pane-designed eplorer substitute i know. is around a long time now and still updated. with all the good stuff we loved in norton commander (which we called "the friend" back in the days). but here is what i like most:

  • obviously the two pane design
  • the focus on keyboard over mouse
  • instant search as you type like firefox (there are various other options to search the current filelist)
  • multiple tab support
  • syncronous navigation of the open panes (when developing software it is that you often have multiple nearly equal directory tree, open them both in one pane and navigate through them in sync, very nice)
  • the copy/move-queue (you can add to a queue when copying/moving files)
  • renaming assistant

mac os x: pathfinder (40€)

a nice replacement for the finder. no comparison to total commander but ok. i like:

  • the drop stack where you can drop files and dirs
  • intergated terminal
  • integrated preview

editor (usually for viewing only)

my normal editor for coding is the editor in my ide (visual studio or eclipse). but for viewing textfiles or searching/replacing in them i use:

windows: notepad++ (free, os)

  • fast
  • multiple opened files (can remember which files where open in last session)
  • can change encoding format

mac os x: macvim (free, os)

mac os clone of the glorious loved/hated vim-editor.

  • vim can do everything…

image viewing

windows: irfanview (free)

  • fast
  • can make screenshots
  • nice printing
  • view exif data
  • crop images

mac os x: xee (free)

  • fast
  • very easy interface
image editing

windows: paint.net (free, os)

  • fast
  • supports layers

mac os x: photoshop elements (70€)

  • most features i used from photoshop i can use here
  • repair brush
  • scan ability
  • the legendary photoshup user interface

to bee continued…

angry monkeys

today i got a copy of the book The Productive Programmer by Neal Ford seems like a great book. i will write about it when i read it more but while scrolling through it a small story got my attention: the angry monkeys. great stuff. here it is:

several years ago some scientist made an experiment. they put 5 monkeys in a cage, hung some bananas on the ceiling and added a stepladder to the scenery. the monkeys got the bananas with the ladder. in the next step the scientists sprayed the monkeys with ice cold water as soon as they touched the stepladder. so they learned not to touch the ladder what means no bananas. next step: remove a monkey and add one who doesn’t now the scene. so the monkey tried to get the bananas with the ladder. as soon as he reaches over to the ladder the other monkeys beat him up (angry monkeys). the monkeys that know the water where replaced by unknown monkeys in the next steps until not one monkeys knew why they beat up the new clueless monkey.

u see at the end none of the monkeys know why they beat up the clueless one. doesn’t this sound familiar? ever got the answer: “cause we do it that way forever?” the monkeys would say that…

so u should find a better cause for something. and when you dont know why. don’t do it!

so long basti

nothing but dotnet – jean-paul boodhoo’s bootcamp

last week i attended in jean-paul boodhoo’s nothin but .net – bootcamp course. this was a great experience.

i read about it in his blog and i could convince my boss to send me there. shure i heard some stuff about it and i read the overview from jp with the disclaimer :

**********Please be aware that the length of course days (based on prior iterations of the course) can fluctuate dramatically based on the level of student interaction. It is best to come ready expecting the course days to be no less than 10 hours.************

but what then happened exceeded all my expectations. jp previously send us prep material about what software to install and how to configure the laptop. he also included a small exercise where we should implement some function, so the tests get green. he also gave us the advise to have a look on his shows on dnrtv. so it is just as you may be thinking now: you can easily spend a weekend or two on the preparations.

after everybody had arrived jp took a look at the excercises we had prepared. then he choose one solution and the magic started. i have never seen someone before who grasps the code of others and navigates through it as fast as him. fast as lightning he refactors and afterwards nothing is like before. it was fascinating but sometimes hard to keep track. fortunately jp recorded everything (as long as anyone reminded him). now we have 6GiB (27h) worth of screencast lying around waiting to see them in slomo.

then we started configuring all laptops to run sql-server (or its express edition) and iis on all those different os (winx xp pro, win xp home, vista 32bit/64bit in german!!) so we all can run the webapplication which we wanted to implement in the following days. here is one of the few things that might be improved concerning the courses to come: the setup of the machines took several hours and at the end not everyone could run the app smoothly. i think it would be helpful to have a different approach to show alle the stuff we wanted to learn during the week. what came to my mind was to use a small wpf app with sql-server compact edition. that way there wouldnt be any complex setup needed. jp appreciated the suggestion. perhaps he will use that kind of environment in his next courses.

the following days we implemented the webstore-app. we mostly used a kind of ping-pong-style. jp wrote a test and we implemented the methods to green the tests. the team (usually small groups of 2-4) that finished the tests at first checked in so the others had to revert their changes and update. that was a bit frustrating when you were part of a slower team and it was hard to follow. but we re-paired perpetually so i think it was ok in the end and everyone was happy. sometime we had an assignment given by jp to implement a story by ourselves so we had the chance to write the tests ourselves.

for me the last two days where the best. i got used to jp’s speed and could therefore follow his curser and ideas more easily. moreover the extreme situation of coding till 4am (up until 18h) welded the team together. i think that is the main advantage of the bootcamp style. if we had the same time sliced in the usual 8h days the team wouldnt have become that close. its is a little bit like other situations where people experience extreme challenges. it brings them together. so i hope i will meet these great guys again. (perhaps just to dive into the memories we all share).

there are many things i didn’t mention here. but if you want to know more about what happened i list some blogs of other attendees:

overall it was a great week. thanks to the awesome team. especially jp who is an outstanding personality. i hope i get the chance to meet im again sometime.

keep on movin

basti


Blogging with iphone…jipiiie

This is my first Post From my iPhone. I hope its not my last and the future ones tell some more stuff….

german podcast: chaos computer club – chaosradio

this is a great german radioshow available as podcast. the ccc is known for its security and privacy protection work. it is one of the biggest and most influential hacker organisations since 1980s.

120min
monthly (last wednesday)
different thems usually thre to five people discussion with call-ins

Chaosradio: Willkommen beim Chaosradio!

Blogged with Flock

best toolslist i know

you want to have a comprehensive list of tools for your everyday life as geek, developer or the usual computer guy? here it is: www.hanselman.com/tools