Category Archives: Theory

PyWin32 Silent Install

Working on the MSI for the OpenWin project I ran in to an issue, how to silently install PyWin32. It took some digging, and I ended up having to open a feature request to get the answer (Mark Hammond replied very quickly), but here it is…

 

(Instructions specific to Python 2.6.x but should be easy to adapt)

Extract the .exe installer (I use UniExtract http://legroom.net/software/uniextract)

It will create 2 directories PLATLIB and SCRIPTS copy the contents of both directores in to c:python26libsite-packages

Then cd to c:python26libsite-packages and run “python pywin32_postinstall.py -install”

Remove pywin32_postinstall.py

That will install PyWin32 silently.

 

You may not have to copy the pywin32_postinstall.py script to site-packages or cd to that dir, but that is how I did it the first time and it worked, and I just haven’t tested it any other way.

USB Art

Had an idea that slowly morphed in to a pretty cool concept after some extensive discussion with Will Kelly…

 

A plexigalss cube of USB devices, basically start with a small clear cube (corner balanced) that you can connect USB devices that is just a giant JBOD. People can send in their physical devices, the installation is read only. You plug the device in and it has a little blue read light that blinks when it is accessed or a scaled light from Green to Red depending on how much content on the drive is down voted or flagged as not fitting the acceptance agreement (nothing illegal etc). As more USB drives come in, another layer is added to the cube and another micro server to handle all the additional devices. The submission would be open for a certain period of time, or to a max limit of devices, then the cube is sealed and becomes a snap shot of files in time and is an interactive art installation since it would pulse and blink randomly as the files were accessed etc. There would be a website front end that randomly displays content from the drives on the main page, and it would all be searchable.

 

Thoughts?

Rackspace Cloud Builders

Rackspace Cloud Builders was announced today. Check it out: http://www.rackspace.com/cloudbuilders/

Catch me on twitter/aim/skype/IRC(freenode) if you would like to talk RCB/OpenStack – JordanRinke

Automating the email archive script

There is no way to actuall schedule an event in Outlook that I know of, however if you add the following code to the same session as the previous sub it will kick off whenever a task with the subject “MOVEOLDEMAILREMINDER” pops a reminder. To set this up create a new task, give it the subject “MOVEOLDEMAILREMINDER” and set a reminder. When the reminder fires, the code below will execute, moving the reminder to a day later. Simply dismiss the reminder popup and your email over 30 days old will have been moved to a personal folder. If you want to run this a week apart instead of daily, just change the DateAdd number from 1 to 7.

Private Sub Application_Reminder(ByVal Item As Object)
Dim objTask As Object
Set objTask = Item
If objTask.Subject = "MOVEOLDEMAILREMINDER" Then
    objTask.ReminderTime = DateAdd("d", 1, objTask.ReminderTime)
    objTask.Save
    MoveOldEmails
End If
Set objTask = Nothing
End Sub

Fiction

[14:37] <rackmike> write a story about MikeD’s fictional crimes

How geeks make plans

This is pseudo code and a mix of various languages (i.e. it wouldn’t compile in anything) but this was how it went down in real time…

3:36:01 PM: Jordan Rinke:

define Night (Drinks as new Drinking, Pool as new Billiards, BBQ as new Dinner, optional Go_Out as new Bar) {
 Arrive(Drinking.location)
 Drinking.execute()
 BBQ.execute()
 Billiards.execute()

 if defined Go_Out then {
  Go_Out.execute
  return hungover
 } else {
  return maybe_hungover
 }

}

main() {
 If Wayne.Walls.Approve = 1 then {
  Drinking.location = “Patio”
  Billiards.location = “Wayne Enterprise”
  BBQ.location = Drinking.location
  retval = Night (Drinking, Billiars, BBQ)
  # 
  #Optional Go_Out needs definition
 }

return = retval

}
3:36:55 PM: Wayne Walls: 1

3:37:35 PM: Jordan Rinke: this deserves a blog post lol

3:37:41 PM: Wayne Walls: lol

3:37:47 PM: Wayne Walls: i agree

Must see movies for any geek.

A friend recently had some free time to geek out and enjoy himself, he decided the best way to relax would be movies and video games. He had seen most of the must see / great movies etc so we decided to send an email out to everyone at work and ask them for a list of their must see movies. I qualified my question by asking for must see movies for a “geek dude”. Below is the list of movies I received, I have included anything that was part of a franchise so for instance if someone suggested Alien, then I included Aliens, Aliens3 and Alien Resurrection. I know there will be some grumbling about this but this is my blog and I think people should see an entire franchise even if some people thinks one or more of the films suck. Having said that, there are some movies on this list that I personally think aren’t worth watching… however movie reviews are such subjective things I have included them since they were recommended and who knows you might love them.

Admittedly not all the movies are geek specific, some are obscure, or interesting, horrific or hilarious etc. I think this ended up being a list of movies recommended by geeks instead of specifically for geeks hah.

If you have movies that should be on this list that have not been included, please post up in the comments and I will update the list to be as complete as possible.

12 Monkeys – http://www.imdb.com/title/tt0114746/
2001 a Space Odyssey – http://www.imdb.com/title/tt0062622/
Airplane! – http://www.imdb.com/title/tt0080339/
Akira – http://www.imdb.com/title/tt0094625/
Alien – http://www.imdb.com/title/tt0078748/
Alien 3 – http://www.imdb.com/title/tt0103644/
Alien: Resurrection – http://www.imdb.com/title/tt0118583/
Aliens – http://www.imdb.com/title/tt0090605/
Antitrust – http://www.imdb.com/title/tt0218817/
Apollo 13 – http://www.imdb.com/title/tt0112384/
Army of Darkness – http://www.imdb.com/title/tt0106308/
Avalon – http://www.imdb.com/title/tt0267287/
Big Trouble in Little China – http://www.imdb.com/title/tt0090728/
Blade Runner – http://www.imdb.com/title/tt0083658/
Brainscan – http://www.imdb.com/title/tt0109327/
Brainstorm – http://www.imdb.com/title/tt0085271/
Children of Men – http://www.imdb.com/title/tt0206634/
Chopper – http://www.imdb.com/title/tt0221073/
Clash of the Titans (1981) – http://www.imdb.com/title/tt0082186/
Clockwork Orange – http://www.imdb.com/title/tt0066921/
Dark City – http://www.imdb.com/title/tt0118929/
Death Race 2000 (1975) – http://www.imdb.com/title/tt0072856/
Electric Dreams – http://www.imdb.com/title/tt0087197/
Equilibrium – http://www.imdb.com/title/tt0238380/
Event Horizon – http://www.imdb.com/title/tt0119081/
Forbidden Planet – http://www.imdb.com/title/tt0049223/
Ghost in the Shell – http://www.imdb.com/title/tt0113568/
Grandma’s Boy – http://www.imdb.com/title/tt0456554/
Hackers – http://www.imdb.com/title/tt0113243/
Hardcandy – http://www.imdb.com/title/tt0424136/
Heat – http://www.imdb.com/title/tt0113277/
High Tension – http://www.imdb.com/title/tt0338095/
Highlander – http://www.imdb.com/title/tt0091203/
Highlander II – http://www.imdb.com/title/tt0102034/
Idiocracy – http://www.imdb.com/title/tt0387808/
Krull – http://www.imdb.com/title/tt0085811/
Legend – http://www.imdb.com/title/tt0089469/
Lock, Stock and Two Smoking Barrels – http://www.imdb.com/title/tt0120735/
Logan’s Run – http://www.imdb.com/title/tt0074812/
Love Object – http://www.imdb.com/title/tt0328077/
Mad Max – http://www.imdb.com/title/tt0079501/
Mad Max 2: The Road Warrior – http://www.imdb.com/title/tt0082694/
Mad Max Beyond Thunderdome – http://www.imdb.com/title/tt0089530/
Manos: The Hands of Fate – http://www.imdb.com/title/tt0060666/
May – http://www.imdb.com/title/tt0303361/
Mazes and Monsters – http://www.imdb.com/title/tt0084314/
Minority Report – http://www.imdb.com/title/tt0181689/
Nerds 2.0.1 – http://www.imdb.com/title/tt0207264/
Once Were Warriors – http://www.imdb.com/title/tt0110729/
Paprika – http://www.imdb.com/title/tt0851578/
Pitch Black – http://www.imdb.com/title/tt0134847/
Raider’s of the Lost Ark – http://www.imdb.com/title/tt0082971/
Real Genius – http://www.imdb.com/title/tt0089886/
Revenge of the Ninja – http://www.imdb.com/title/tt0086192/
RoboCop – http://www.imdb.com/title/tt0093870/
RoboCop 2 – http://www.imdb.com/title/tt0100502/
RoboCop 3 – http://www.imdb.com/title/tt0107978/
Rollerball (1975) – http://www.imdb.com/title/tt0073631/
Rollerball (2002) – http://www.imdb.com/title/tt0246894/
Romper stomper – http://www.imdb.com/title/tt0105275/
Serenity – http://www.imdb.com/title/tt0379786/ (watch the associated TV series called “Firefly”)
Snatch – http://www.imdb.com/title/tt0208092/
Sneakers – http://www.imdb.com/title/tt0105435/
Solarbabies – http://www.imdb.com/title/tt0091981/
Star Trek (2009) – http://www.imdb.com/title/tt0796366/
Star Trek II: The Wrath of Khan – http://www.imdb.com/title/tt0084726/
Star Trek III: The Search for Spock – http://www.imdb.com/title/tt0088170/
Star Trek IV: The Voyage Home – http://www.imdb.com/title/tt0092007/
Star Trek V: The Final Frontier – http://www.imdb.com/title/tt0098382/
Star Trek VI: The Undiscovered Country – http://www.imdb.com/title/tt0102975/
Star Trek: First Contact – http://www.imdb.com/title/tt0117731/
Star Trek: Generations – http://www.imdb.com/title/tt0111280/
Star Trek: Insurrection – http://www.imdb.com/title/tt0120844/
Star Trek: Nemesis – http://www.imdb.com/title/tt0253754/
Star Trek: The Motion Picture – http://www.imdb.com/title/tt0079945/
Star Wars: Episode I – The Phantom Menace – http://www.imdb.com/title/tt0120915/
Star Wars: Episode II – Attack of the Clones – http://www.imdb.com/title/tt0121765/
Star Wars: Episode III – Revenge of the Sith – http://www.imdb.com/title/tt0121766/
Star Wars: Episode IV – A New Hope – http://www.imdb.com/title/tt0076759/
Star Wars: Episode V – The Empire Strikes Back – http://www.imdb.com/title/tt0080684/
Star Wars: Episode VI – Return of the Jedi – http://www.imdb.com/title/tt0086190/
Starman – http://www.imdb.com/title/tt0088172/
Starship Troopers – http://www.imdb.com/title/tt0120201/
Sunshine – http://www.imdb.com/title/tt0448134/
Superman – http://www.imdb.com/title/tt0078346/
Superman II – http://www.imdb.com/title/tt0081573/
Superman III – http://www.imdb.com/title/tt0086393/
Superman IV: The Quest for Peace – http://www.imdb.com/title/tt0094074/
Superman Returns – http://www.imdb.com/title/tt0348150/
Swordfish – http://www.imdb.com/title/tt0244244/
Terminator 2: Judgment Day – http://www.imdb.com/title/tt0103064/
Terminator 3: Rise of the Machines – http://www.imdb.com/title/tt0181852/
Terminator Salvation – http://www.imdb.com/title/tt0438488/
The Adventures of Baron Munchausen – http://www.imdb.com/title/tt0096764/
The Beastmaster – http://www.imdb.com/title/tt0083630/
The Bushido Blade – http://www.imdb.com/title/tt0078918/
The Chronicles of Riddick – http://www.imdb.com/title/tt0296572/
The Dark Crystal – http://www.imdb.com/title/tt0083791/
The Fifth Element – http://www.imdb.com/title/tt0119116/
The Game – http://www.imdb.com/title/tt0119174/
The Hitch Hikers Guide to the Galaxy (1981) – http://www.imdb.com/title/tt0081874/
The Hitchhiker’s Guide to the Galaxy (2005) – http://www.imdb.com/title/tt0371724/
The Last Dragon – http://www.imdb.com/title/tt0089461/
The Last Starfighter – http://www.imdb.com/title/tt0087597/
The Lord of the Rings: The Fellowship of the Ring – http://www.imdb.com/title/tt0120737/
The Lord of the Rings: The Return of the King – http://www.imdb.com/title/tt0167260/
The Lord of the Rings: The Two Towers – http://www.imdb.com/title/tt0167261/
The Lost Boys – http://www.imdb.com/title/tt0093437/
The Man From Earth – http://www.imdb.com/title/tt0756683/
The Man Who Fell to Earth – http://www.imdb.com/title/tt0074851/
The Manhattan Project – http://www.imdb.com/title/tt0091472/
The Matrix – http://www.imdb.com/title/tt0133093/
The Matrix Reloaded – http://www.imdb.com/title/tt0234215/
The Matrix Revolutions – http://www.imdb.com/title/tt0242653/
The Net – http://www.imdb.com/title/tt0113957/
The Princess Bride – http://www.imdb.com/title/tt0093779/
The Right Stuff – http://www.imdb.com/title/tt0086197/
The Terminator – http://www.imdb.com/title/tt0088247/
The Year My Voice Broke – http://www.imdb.com/title/tt0094347/
They Live – http://www.imdb.com/title/tt0096256/
THX-1138 – http://www.imdb.com/title/tt0066434/
Time Bandits – http://www.imdb.com/title/tt0081633/
Triumph of the Nerds – http://www.imdb.com/title/tt0115398/
Tron – http://www.imdb.com/title/tt0084827/
True Romance – http://www.imdb.com/title/tt0108399/
Two Hands – http://www.imdb.com/title/tt0145547/
Underworld – http://www.imdb.com/title/tt0320691/
Underworld: Evolution – http://www.imdb.com/title/tt0401855/
Underworld: Rise of the Lycans – http://www.imdb.com/title/tt0834001/
V for Vendetta – http://www.imdb.com/title/tt0434409/
Wargames – http://www.imdb.com/title/tt0086567/
Weird Science – http://www.imdb.com/title/tt0090305/

Daily ToDo lists vs Perpetual ToDo lists?

I have been trying to review material on todo lists and various life management aspects, I still have a lot of material to read, review, and contemplate but I am curious what everyone elses thoughts (and reading recommendations are) in regards to the topic. My manager Grant Herbon made a very insightful observation recently that the key to time/life management is simply using whatever system works best for you, with that in mind, what system works best for you?

  The internal debate I am having right now (before even selecting a method/presentation medium) is if todo lists should be a time limited thing daily, weekly etc. or if they should be a perpetual list just consumed in small chunks. Where the perpetual todo list concept comes from is a period in my life when I practiced polyphasic sleep. Basically ever 4 hours I slept for 15 minutes for a total of 2 hours asleep per day, I did this for a number of months. One of the most interesting things that I observed while on that sleep schedule was a nearly continuous stream of consciousness and also the disappearance of the concept of completing stuff within a day proper. My todo list became a number of 4 hour long sprints and the list as a whole became a long list of things that were then broken down and consumed in 4 hours chunks. Not effective for a normal schedule but conceptually it interests me which leads me to where I am now. Trying to evaluate the systems that exist, and deciding if some modified perpetual program would be effective long term. Maybe something like this exists already and I just haven’t found the proper publication, or maybe I will end up with a blend of ideas. Much research is still needed but I am very interested to hear your thoughts and recommendations on the topics. I know that many of you who read this randomly when I actually post are very driven and successful people so I would love to hear from you.

(Most people find the polyphasic sleep stuff odd/interesting as well so I am totally open to comment/discussion around that as well if you have any questions)

Stepping it up

And by stepping it up I mean here is another blog post 40 days later! woooo!

Wow

I just realized that I haven’t posted a public blog post in over 6 months. What a boring blog. I will try to step it up.