Sat, 29 Apr 2006

11:57 PM - XForms, what the hell are they?

I got a link to wikipedia in relation to NeXT tonight and i stumbled across XForms. I've seen it posted on the w3 site for awhile and just thought it was a new syntax for HTML forms. Its much more than that. Its an MVC approach to forms which uses XML as a data source (part of the model) and can populate the form. What's really interesting is that it can be used in a generalized form to build GUIs. There are toolkits to use this client or server side, on mobile devices or even as an abstraction for standard local gui apps.

http://en.wikipedia.org/wiki/XForms

This info caused me to research MVC more :)

location: Home

()

11:54 PM - Definition of Controller in MVC

I've struggled a bit with the MVC approach to programming Web or local gui apps for some time. I learned tonight there are two different definitions for the controller "C".

Here's my favorite.

The two meanings aren't as different as they seem. In both cases, the Controller is the element responsible for processing change. Whether the major work here is in capturing user input or routing the different layers depends on the environment.

In WebApps, a Controller has to authenticate, parse the request, validate it, and deduce the appropriate procedures (or methods to run). This is all a consequence of WebApp 's being remote (so we need validation), stateless, and done over a narrow channel (URL + request). So, the Controller functions mainly as glue.

In a local rich client GUI, on the other hand, none of this is necessary -- it's stateful, so there's no need to load a context. It's local, so we don't need to worry about validation. It's in process, so we don't need to parse requests and deduce procedures -- we can just hook them up in source (via callbacks or delegates or whatever). On the other hand, we do need to spend a lot of time capturing and deducing user input from keys and the mouse. So, it makes sense to call this element the controller. (In WebApp's, this is all done for us, and serialized to a narrow channel -- the URL and request).

In both cases, the Controller is the element for processing and routing change. The difference is only whether the bulk of that work lies in capturing the input or setting up an app flow based on it.

(from http://c2.com/cgi/wiki?WhatsaControllerAnyway)

Also see http://en.wikipedia.org/wiki/Model-view-controller

location: Home

()

6:06 PM - (no subject)

Its been a rough day. Caryn's graduation went fine, but it wasn't easy dealing with all the questions. We're not in a position to stick around kalamazoo for a year. She's starting work and i've got to go two more years. I'm not sure I want to though. I've been in school since 2001. I wish I had a degree now. At the same time I wonder what kind of job i could get in detroit with an associates degree. So many bachelors and masters canidates floating around. It would be hard to convince everyone that i can code even though i didn't get a degree in 3 years at western. :(

I want to be happy for caryn but at the same time i feel like i got sucker punched.

()

Fri, 28 Apr 2006

7:33 PM - Today

Tomorrow is caryn's graduation. We went shopping for clothes to wear and i got a copy of quake 4. I got carded! lol.

Had to get an oil change and tire rotation. Sat with a really old lady at the dealership today. Irritating. Dude at the service desk said it was his forth grade teacher! Did an inventory on the macs.. one had stolen ram according to inventory.

location: Home

()

Mon, 24 Apr 2006

8:17 PM - LOL

I'll just post it...


4.18.2006
JEWEL TO APPEAR ON THE YOUNG AND THE RESTLESS
Jewel will appear in an emotional episode of The Young and the Restless on
Wednesday, May 31. She will perform two new songs, "Again and Again" and
"Good Day," at a special benefit at the coffeehouse as family and friends
gather on the one year anniversary of Cassie's tragic death. Check local
listings.

()

2:17 PM - MacBook Pro 17 inch out

Apple just posted the 17 inch Macbook Pro... 2799 though :(

Unrelated... boycott Windows Media format sites including cnn and netscape.  Damn anti apple bastards.  Real player or quicktime is ok because its cross platform.

()

2:04 PM - (no subject)

I posted some in the new mbsd journal, but I got stuck on building the damn isos this weekend.  On the third attempt it died actually making the iso stating disk space was gone when it wasn't.  There's a patch in newer freebsd code that fixes that problem and i think i'll need to import some of that code soon.  I did get ssh cvs working though!  Actually it just worked.. i thought i had to do someting.  As long as the user is in my cvs group. its all good.

()

2:01 PM - Reasons people quit their jobs

http://netscape.salary.com/articles/body/atcl_careeradvice.asp?atc=541

This article is quite interesting.  something like 9 percent of people quit there job because of the current gas prices!  Commuting cost has gone up 50 percent in the last year and average saleries only 3.7 percent.  (that includes big ceos and people with no raises)  Are you listening Mr. President? 

Boredom is high on the list.  20 percent said they were board and 33 percent of those said it was lack of work to do!  Anyone else see a problem with that? 

()

Sat, 22 Apr 2006

11:55 PM - (no subject)

Agghhh... 3 tries and Midnight BSD release won't build. This time it failed in documentation.  I'm attempting to build without documenation.  Hopefully it will work.

()

5:52 PM - et, mbsd, etc

Just got done playing et today. Got almost 2 hours of practice in. Not too bad. skully stayed a long time and kami did as well. Pytox bailed again.

Building the iso failed on mbsd and i switched to windows after that happened to finish playing. I'll have to work on the problem and get it up later. It looked like some of the cvs commits didn't go through.

location: Home

()

Fri, 21 Apr 2006

11:53 PM - Strange day

Just talked to evan. pd merged with another clan so things are changing. He's getting a dedicated windows box which is kewl. I told him i thought it would be easier than linux for him. Hell i'd probably consider a windows box if i was doing a new server now, especially with vmware and the ms product free to run virtual shit.

location: Home
music: Silent Legacy - Yes I Am - Melissa Etheridge

()

8:37 PM - Linus is an ASS

Linus said the following: "I claim that Mach people (and apparently FreeBSD) are incompetent idiots. Playing games with VM is bad. memory copies are _also_ bad, but quite frankly, memory copies often have _less_ downside than VM games, and bigger caches will only continue to drive that point home." Well the Linux kernel doesn't even have a stable api. Figure that out asshole. Full story: http://kerneltrap.org/node/6506 I pronounce Linux "piece of shit".

location: Home
mood: Pissed off

(1 comment | )

Thu, 20 Apr 2006

11:00 PM - (no subject)

Already found something wrong. The memory usage is now up to 32mb of ram! It does run faster, but the additional ram would kill some users machines. I think I have a few ideas that might cut the memory usage. The actual executable size is about the same from the last release though.

location: Home

()

10:57 PM - FxCop

Microsoft has a tool called FxCop to check assemblies for problems. (.NET exe and dll files)

I'm playing with it tonight. It found over 100 errors with the JJ windows client. I got it down to 84. I'll have to bug test the hell out of it since I made changes to important code paths.

location: Home

()

11:48 AM - Yahoo is scum again

http://yro.slashdot.org/article.pl?sid=06/04/20/1252230

Yet again, Yahoo proves how shitty they are. For every bad thing google does, yahoo has to one up them! Showing porn ads to kids in the 90s to helping a communist goverment hunt down journalists. Do you yahoo?

location: Home
music: Slide - Dizzy up the Girl - The Goo Goo Dolls

()

11:35 AM - (no subject)

Words can't express how pissed I am after my presentation today.  Lets just say I was up till 4:30 am working on it and my prof handed everyone their ass!

()

Tue, 18 Apr 2006

11:05 PM - And she'll have fun fun fun till her daddy took the t-bird away...

ok why thats in my mind i'll never know. I'm working on the mosix cluster again. Damn thing crashed on me AGAIN. I'm really hating open mosix. Glad its dying. On the up side, I found a neat rc.subr patch for freebsd to give it color linux style process info. :)

I'm running the flac benchmark (flac'ing 12 files at once) on the damn cluster. The both time was considerably faster. Both machines are finishing about the same time so it must be disk bound. Not the best benchmark but probably realistic for determining its usefulness.

Swaroop wants to meet with me tomorrow to finish up the project. I'll be glad when i'm done with this damn thing.

I need to lookup finals for each class soon. I haven't been paying attention. At least I don't have lab at 8am tomorrow!

Someone signed up for jj and cancelled today after posting her first message. I deleted all of the data of course. It just sucked. I want to get more users.

()

Mon, 17 Apr 2006

2:18 PM - China vs India

Now when you buy a new pc, you have a choice between china and india.  Dell has decided to produce their computers in india to go along with tech support and testing. 

http://news.bbc.co.uk/2/hi/business/4824416.stm

Then with Lenovo (formerly IBM pc division)  partially owned by the chinese gov't its a showdown of asia.  Of course macs are made in china too so its india's big chance! 

I think I'll stick to chinese computers.  The chinese get that not everything is default.  In fact, an indian testing center is a contradiction in terms! 

()

Sun, 16 Apr 2006

7:04 PM - Open Mosix

I'm working on the cluster right now. I actually got lame to distribute across the nodes! Its about fucking time. The bitch is i've only managed to create a 42-44 percent load in the cluster. I think its mostly io bound which makes sense. Ogg might do better.

()

Thu, 13 Apr 2006

11:19 PM - JJ Win client

I'm working on the Windows client a bit tonight to relax. I found some neat source code examples I may try to implement. I fixed a few bugs. The toolbars are no longer movable until i figure out how to save their location. I changed the options for music detect so that options are grayed out if detect is disabled.

I may have a replacement control that does native HTML. It would be much more powerful and i may go that route if needed.

I changed the background of the alert box. That alone knocked 100kb off the generated executable size! Its now around 260KB instead of 360KB. Adding features will beef it up again, but anything helps. Resident size is down about 500KB with the journal entry form loaded. JJ does consume a lot of ram right now. I'm working on that problem. I think part of it is caching of data in memory. I may write it out to disk and fetch it in later versions.

location: Home
music: Sunday Bloody Sunday - Jersey Devils - U2

()