January 8, 2010
[Flash 9 is required to listen to audio.]

First song of 2010. made with garageband on a Mac. Not sure how i feel about that. I like tracking better and don’t like loopy sort of things, but it was a fun diversion.

January 3, 2010
Creating as an idol

  • often got my worth from what I’ve created
  • the process and experience of creating and fixing things and finding the solution is elating and gives a high
  • the above happens when dreaming and designing and solving each prob bit not when faithfully completing projects.
  • often without disciple things aren’t fixed and I jump to the next thing becuase the next thing is a new high.
  • the prospect of completion brings elation during the beginning bit often there is little satisfaction upon completion and it often feels pointless and empty.

October 28, 2009
challenge done: a 6 line playlist.com WPF player using powershell and powerboots

Here is a quick version. It only works if the original song is still around. Maybe i’ll fix that another day but it was a nice little proof of concept.

ps code

$pl = 3040381707
$xml = [xml](new-object system.net.webclient).downloadstring(“http://pl.playlist.com/pl.php?playlist=$([int]($pl/256))”)
Boots -MaxHeight 600 { stackpanel -width 300 { Label -HorizontalAlignment center -FontSize 30 “Song Title” | Tee -Variable global:title;
MediaElement -loadedbehavior “Manual”  -Width 150 -height 1 - | Tee -Variable global:mp;Image -MaxWidth 180  | Tee -variable global:myimage}
ScrollViewer { stackpanel   {$xml.playlist.tracklist.track | foreach { button  $_.annotation -tooltip “$($_.tracktitle) `r`n by $($_.artist) `r`n on $($_.album)” -Tag $_ -On_Click {
if ($this.tag.image.length -gt 0){ $myimage.source = $this.tag.image }; $title.Content = $this.tag.tracktitle ; $mp.stop(); $mp.source = $this.tag.originallocation;$mp.play() }
if ($_.image.length -gt 0) { Image $_.image  -Height 50 -Width 50 ; }} }}}

screenie

Fun powershell project of the evening

Goal: make a small (5 to 10 line) powershell script that uses powerboots to present a snazy ui consuming some sort of web based service and be something that would have general web user interest.

September 21, 2009
AD Authentication with firefox

The main reason I still used IE at work as the default browser was the plethora of intranet sort of apps that require that AD Authentication. I knew it was probably an easy setting, but hadn’t got around to it. Thanks to a question to twitter and a quick answer I got a link to.

http://superuser.com/questions/5161/windows-domain-authentication-with-firefox

August 17, 2009
gave up the 24 hour MVC thing

as you can probably tell i gave up the MVC 24 hour project. It was good for learning but i lost motivation to complete it. I have some other projects that i might do a 24 hour on some time.

March 4, 2009
in response to scott hanselmans list of computer memories

Scott posted an awesome list here. http://www.hanselman.com/blog/10AwesomeThingsIRememberAboutComputers.aspx AS for me quickly: wow lots of memories there! similar with vic20 and tape drive. others would be coding in basic then 6502 assembler of c64. Once took over the 1541 disk drives CPU to use a a “coprocessor” to do 3d calcs. another making my own bootsector OS for 386 that was 32 bit. Messing with Himem, Qemm, etc is a memory, but not fun. Reading a Peter Norton book on x86 assembler, i was blown away that x86 has a multiplication opcode. typing in stuff from oldschool mags were great also FIDONET!!!!!!! Dialing overseas BBSs to download demoscene productions. http://www.hanselman.com/blog/CommentView.aspx?guid=4857D217-FBCA-49D9-AFCC-B78CB9EC022F#5bce0922-c087-4707-9819-bfb2fe4faf88

February 17, 2009
A separate twitter account, twitter etiquette and the whole person

For a while i’ve wanted to tweet more about my spiritual life, yet I haven’t wanted to bombard the stereotypical twitter follower who follows me mostly for geek reasons.

Making this decision has been an interesting process because one of the things I love about twitter is the insights you get into people, seeing more of the “Whole Person” - for better or worse, through the variety of tweets they have. You learn things about their family, worldview, humanity and other hobbies that you wouldn’t through many normal geek channels.

Twitter Etiquette I suppose is quite complicated given the public nature, and the various reasons people follow you, and unfollow you etc, but as a follower i’ve learnt that a huge conversation between 2 people shouldn’t get to that stage and go Direct Message before then, and that you end up unfollowing people who tweet a lot about things that aren’t relevant to you.

As a Christian though I don’t want to segregate my life into different buckets, the public and the private, for I am a whole person, and my religion and worldview are part of all of that. I am committed that along with the geeky stuff, the different parts of me - quirkiness, family, faith, humor and even a little bit of politics gets expressed from time to time in my Geekstream yet the majority of my followers are following me for purely geekish reasons, in particular PowerShell reasons.

So i’ve set up a new @karlofjesus twitter account to complement my geekier @karlprosser . There is not going to be a total seperation of Church and Code however, its just that @karlprosser will only see that in moderation.

on the same note there will be two tumblr miniblogs http://karlofjesus.prossertribe.com and http://geekkarl.prossertribe.com

and eventually there will be a a blog other than my geeky one at http://www.karlprosser.com/coder that will bring in the whole stream - the spiritual, the geek and the family man.

I’ll be contacting the people I know that are friends mostly for spiritual reasons and invite them to the new stream.

February 3, 2009
different 24 seasons.

though its a bit premature with only having done 4 hours of my first 24 season. I’ve planned the next few 24 seasons - things that i’ve really wanted to touch, and they are mostly all based around this application. SOme should be less than 24 hours effort as well 1) This app. Building Tweetloss, an ASP.NET MVC twitter app, with powershell script in the background. 2) Building a RestFul API for (1) in less than 24 hours 3) Building a Silverlight frontend for above application in less than 24 hours 4) Rebuilding tweetloss in pure ruby on rails, in an ubuntu VM. 5) Rebuilding in ironruby on rails 6) Building 100% webapp just in javascript. I.e one HTML/Javascript file could be downloaded and run on anybody’s machine, without the need for a webhost. Using some widgets, ajaxy stuff etc.. basically a full client side application using public web apis (maybe a mashup). I have a particular idea for a front app for playlist.com

February 2, 2009
No Time yet.

Though i wish i had pulled a 24 hour stint at once, i’m glad i took the evening off with the family and got some sleep, especially given the fact that i’m recovering from being sick. I hope to at least finish up Hour 4 today.

February 1, 2009
HOUR 4: (First Half) 4:00PM to 4:30 PM - events occur in real time.

Hour 4 (1st half) : 4:00pm to 4:30pm Hmm the guy in http://blog.codeville.net/2009/01/26/video-aspnet-mvc-show-me-the-code/ doesn’t use the models folder, but makes a separate DLL, which makes sense to me with interfaces and the way I normally work, but I wonder if ASP.NET MVC really cares about the model as much, and just leaves you to yourself without any Convention over Configuration stuff. 4:00 Worked on some Model stuff, using Linq2Objects to Mock it up. Putting the results into ViewData. 4:30 interupted hour to go to church. or maybe I should say that church was interupted earlier to do this?

HOUR 3: 3:00PM to 4:00PM - events occur in real time.

Hour2: 2:00 to 3:00

2:05 Got installed, template there, created first application, for hello world got “System.BadImageFormatException: Bad IL range.” ODD error - but probably to be expected with no controller, or model

2:12 Got myself a nice cup of “English Breakfast Tea”

2:13 - YUCK I accidentally had made a VB.NET rather than C# project. I feel Dirty

2:16 made a NEW C# one, without tests and I didn’t get that strange error. Going to try C# with tests.

2:18 YAY, C# ASP.NET MVC project, with tests, compiled and run with no errors. Though I don’t intend of doing custom tests in the alpha. I’ll keep it this way.

2:20 changed app name, and it looks like I’m using master pages some anyway at least since that’s what the template uses.

2:25 poking through each file in the template generated project, and making sure I understand everything I see. Decided to not bother with other templates for now, but use this project to get a full round trip with different URLs, presenting data from the DB

2:29 I see the accountcontroller. I won’t have any login stuff in this Alpha. But I’ll leave this in here for now.

2:35 Decided on buying the domain name, but having a hard time locating my registrar login info :)

2:44 purchased tweetloss.com , there we go. You now know the name of the application.

2:45 BATHROOM break.

2:48 Decided on a restful URL pattern, and working on first Controller and View.

3:00 Making progress with the view and controller

"Convention over configuration is scary but fun, its great when you can guess the convention, but hard when you are trying to trace through how something works."

— Karl Prosser (ME)

HOUR 2: 2:00PM to 3:00PM - events occur in real time.

Hour2: 2:00 to 3:00

2:05 Got installed, template there, created first application, for hello world got “System.BadImageFormatException: Bad IL range.” ODD error - but probably to be expected with no controller, or model

2:12 Got myself a nice cup of “English Breakfast Tea”

2:13 - YUCK I accidentally had made a VB.NET rather than C# project. I feel Dirty

2:16 made a NEW C# one, without tests and I didn’t get that strange error. Going to try C# with tests.

2:18 YAY, C# ASP.NET MVC project, with tests, compiled and run with no errors. Though I don’t intend of doing custom tests in the alpha. I’ll keep it this way.

2:20 changed app name, and it looks like I’m using master pages some anyway at least since that’s what the template uses.

2:25 poking through each file in the template generated project, and making sure I understand everything I see. Decided to not bother with other templates for now, but use this project to get a full round trip with different URLs, presenting data from the DB

2:29 I see the accountcontroller. I won’t have any login stuff in this Alpha. But I’ll leave this in here for now.

2:35 Decided on buying the domain name, but having a hard time locating my registrar login info :)

2:44 purchased tweetloss.com , there we go. You now know the name of the application.

2:45 BATHROOM break.

2:48 Decided on a restful URL pattern, and working on first Controller and View.

3:00 Making progress with the view and controller

HOUR 1: 1:00PM to 2:00PM - events occur in real time.

1:00 to 2:00 - events occur in real time.

1:10 - Blogged about the project.

1:15 - researched if there were any similar apps. Only one mentioned that doesn’t exist yet. Might have missed something, but since this is mostly a learning experience that’s a fine risk.

1:20 applied .net 3.5 SP1 to dev machine.

1:26 looked for an ASP.NET blog entry I remember but can’t find. I really need to go back to bookmarking and use something cool like DIIGo

1:30 ARG, dotnet update is 304 MB and going to take 1 hour :(

1:31 contemplating whether I should throw $10 at a domain name for this thing.

1:36 found the blog item I was looking for http://bit.ly/IedX

1:36 - had some issue installing .net framework 3.5 SP1 - hope a reboot will fix it

1:37 realized that I didn’t put “WILL NOT USE TDD” in the list of things not in scope in the Alpha.

1:40 found this blog entry from Scott WU  http://bit.ly/IedXhttp://bit.ly/129PF that has a link to the download. Wow the MSI is less than 2MB/ (downloaded)

1:55 - windows updates completed, finished reading the blog entry I found earlier, and ASP.NET MVC RC about to be installed.

1:56 ASP.NET MVC RC setup installer had an ERROR - ARRG - think when it was trying to add the templates to visual studio.

1:59 maybe it completed. But there was still an error. This hour wasn’t as productive as I’d have hoped.