Thu, 2 Apr 2009

8:36 PM - Getting Git on OS X

http://www.bergek.com/2008/09/21/install-git-on-mac-os-x-105/

()

8:35 PM - Playing with git scm

git is a version control system used for the linux kernel, gnome and dragonfly. I recently installed a copy on midnightbsd, windows and mac os x. So far, the mac install has been the most painful. We're starting to use it for a work project as it supports better branching and merging than CVS. We have a great deal of binary files to work with and it will be far easier on that front.

On windows, it was a matter of going to code.google.com and grabbing an installer. It even integrates with PUTTY which I already had installed. It includes bash too. I rather enjoy the CLI interface although it is a tad annoying dealing with windows file paths.

The mac install requires me to build it from source (ideally) and then I got GitX which is a nice gui frontend. I think GitX should come with a copy of git (optionally).

On MidnightBSD, I just used the port. It took on the time to compile. Very quick.

I'll post again when I decide if i like it.

()

Wed, 1 Apr 2009

Thu, 26 Mar 2009

10:17 AM - Internet Explorer Security features

Microsoft has added some interesting features to IE8. X-Frame-Options: Deny is a header that can be sent to block clickjacking. Thus someone cannot hide your page in a frameset in IE. X-XSS-Protection: 0 allows you to disable a new feature which looks for playback of scripts in a cross-site request.

()

10:11 AM - IE8

Microsoft apparently released IE8 last week. I'm in the middle of installation now. It sounds like some of the standards compliance fixes will be good long term. I suspect this may break a lot of badly written sites. Some of the fixes could make it difficult to know a site working in IE8 will work in older versions. I suspect my laptop will stay on IE7 for some time.

()

Tue, 24 Mar 2009

11:06 PM - (no subject)

After attending a funeral yesterday and dealing with the aftermath of caryn's job situation, I think I'm ready for some good news.   

GET /goodnews HTTP/1.0

()

Thu, 12 Mar 2009

9:45 AM - (no subject)

Caryn and I have been a bit under the weather.  She came home from work around lunch time yesterday.  I'm now feeling a little crappy like she did yesterday.  Yuck.

I managed to help her and fit in a full work day yesterday.  Things like that can be so distracting.   I also got several of the web apps up in the morning yesterday.   Most services should be working again.  Chris spent part of the day working on xfce 4 for mnbsd.  That was nice.

()

Wed, 11 Mar 2009

8:04 AM - (no subject)

 Caryn and I saw the watchmen over the weekend.  It was a decent movie.  I was relieved to see that most people were smart enough not to bring young people to the movie.  It is not for children.  

I spent most of the weekend working on the server.  Some dipshit and his "hacking group" aka friends decided to annoy me and get into my server.  I found that he got in through a cgi program I had installed on one of the sites and then used wget to fetch a script from another system (his webserver?) to run further commands.  I also saw php files were modified to run comands as system.  It pissed me off not only because it made my sites and email down for 3 days, but work site stuff as well.  I'd like to send the little shit a bill for my time.  

On the upside, I've been auditing ports that I use on systems lately for newer versions, etc.

()

Fri, 20 Feb 2009

12:52 AM - Browser issues

I've been testing a webapp I've been writing in IE 6 today.  It amazes me how many CSS bugs I've found to date.  However, there are also things IE can do that FF and Safari seem to choke on.  For instance, try using dojo's digit buttons with a submit button on a form.  It renders in iE, but in the other browsers it doesn't show any text and ends up as a small square.   Very strange.

As we get closer to standards compliance with some browsers, IE seems to be getting worse.  Some of the bugs are present in IE7 too.  I wish I didn't have to support IE 6.  I don't on my own sites. 

()

Sun, 15 Feb 2009

10:31 PM - (no subject)

Just playing with my iPhone . It is rather interesting. Watching the dresdan files.

()

3:04 PM - Guitar Hero Aerosmith (Wii)

I've been playing Guitar Hero: Aerosmith lately.  I bought a copy used for $18.  The game is quite fun, but there are a few subtle differences from Guitar Hero 3.  First, you have to play the first two gigs to unlock the last two.  In the previous game, you could play any two of the first three to get the last one to show up.  Contrary to what I thought, the game includes several tracks that are not Aerosmith songs.  These are played by the opening act which you are (the first 2 songs per level).  

It's a fun game if you like aerosmith or old music (70s/early 80s)  as many of the covers seem to be from that time period so far.  I happen to like that sort of music.  

The game seems to take longer to load than the previous game.  I think the load screens are less entertaining so I notice.  

tags: aerosmith games guitar hero wii

()

Wed, 11 Feb 2009

6:30 PM - Dojo Grid defects

I've been using the new Grid in Dojo 1.2 for a project.  I've come across some missing features that I feel are a requirement for a Grid.  First, the component doesn't seem to have a way to handle multiline data such as that in a textarea.  I need this for a project.  Dojo also doesn't document the expected input to the grid components.  So when developing JSON output, you have to either write a lot of custom formatters which require research or try to figure out what it's expecting. 

To a certain extend, it should make your life easier and be adaptive not the other way around. At the very least, they could document it properly.  I did find this

Many components are missing from that that i see in 1.2.3 dojo's files. 

()

4:58 PM - Lincoln

While driving back from the cafe, I heard a piece on NPR about President Lincoln.  According to someone on NPR, Lincoln had hoped the freed slaves would leave the United States.  It does bring some questions into image many have of Lincoln. 

(1 comment | )

4:55 PM - Suze Orman

Wow, I just read an article on MSN about Suze Orman. It's interesting to see a Microsoft site bash a CNBC employee as they have a partnership.

I actually agree with many of the points brought up in this article.  If she only has 3% of her own money in the stock market, it does put doubt on her advice about investing. 

mood: Confused Confused

()

1:15 PM - Terrible

http://www.cnn.com/2009/US/02/11/missing.florida.girl/index.html 

Anyone who's been in a mobile home knows the rear door is a joke.  Most of them can be easily opened depending on the weather without signs of "forced entry".  However, I would be suspect of the girlfriend if she didn't want the daughter in "their" life.   Without knowing the situation, it's hard to say.  

When I was living in one of those tin cans, I had a friend who snuck in a few times using the rear door during the summer.  If you held the knob a certain way, you could literally open the door without any serious trouble.  

()

Tue, 10 Feb 2009

3:03 PM - Dojo Bug

I've been fighting with Dojo for the last 24 hours over a very stupid bug.  The TextArea widget doesn't appear to work properly with data from an ItemFileReadStore. So setValue didn't give an error, but it didn't put anything in the box either.  Very odd. Here is an excert from the code.  This version works because of the ' ' + .  When that is removed from setValue, the call appears to do nothing.

    function projselect(id)
    {
        var myurl = "admin_invoices_json.php?id=" + dijit.byId('project').valueNode.value;
        //var value = document.forms.frmNewInvoice.project.options[id].value;
        var store = new dojo.data.ItemFileReadStore({url: myurl });
        var newValue = store.fetch(
        {
            query: {project_id: "*"} ,
            onComplete: function(items, request) {                      
                dijit.byId('billingaddress').setValue(' ' + items[0].billing_address);
                dijit.byId('billingperson').setValue(items[0].billing_person);          
            }
        });
    }

<tr>
<td class="formlabel" width="200">Billing Person</td>
<td><input name="billingperson" type="text" id="billingperson" size="45" maxlength="45" value="" dojoType="dijit.form.ValidationTextBox" trim="true" required="true" /></td>
</tr>
<tr>
<td class="formlabel" valign="top">Billing Address</td>
<td><textarea id="billingaddress" name="billingaddress" cols="50" rows="10" dojoType="dijit.form.Textarea"></textarea></td>
</tr>

The JSON

{ identifier: 'project_id', label: 'project_id', items:[{"project_id":"74","billing_person":"Billing Guy","billing_address":"1111 Test St Test County, MI 48108"}]}

tags: html dojo json bug

()

Mon, 26 Jan 2009

6:04 PM - (no subject)

I spent the weekend researching cognos, ajax libraries, and methods to do charting.  I may have an upcoming project to create a dashboard.  I've always been a fan of dojo, but I know so many people that like jquery.  I haven't been impressed with it.  As an experiment, I created a pie chart with dojo for just journal's public/private/friends posts statistics.  It doesn't look too bad.  I don't think it makes sense to have that on the front page, but that's another issue.  

I created a linkedin profile today.  I've been putting it off for awhile, but it seems like a good idea.  I haven't taken the time to get it all together yet. 

()

Thu, 22 Jan 2009

3:06 PM - Work

I've been working for a company called PRIME research since December.  It was initially a part time position through the 20th.  However, it appears I've got an extension through July and possibly a full time gig.  

I'm working with AMP (PHP, MySQL, Apache) for the projects.   

()

Sun, 4 Jan 2009

3:06 AM - (no subject)

Posting from Midnightbsd using javajj. This is going well.

location: Home

()

1:47 AM - test

I'm testing the java jjclient

location: Home

()