My personal advice

"Don't write shitty code." -Sims

md5sums anyone?

I think ubuntu got rid of them

Tuesday 04 November 2008 at 08:53 am

Why remove such a valuable resource? I could not find them on their servers anywhere. One use of md5sums is to calculate the md5sum of all the data in a file. Then after you copy the file, you can calculate the md5sum of the copy. If the md5um of the original matches the md5sum of the copy, then the two files are identical. If they are different, something must have happened to corrupt the data during the copy opertation.

This is very handy to verify if the file you've just downloaded is not corrupt. Why ubuntu doesn't have the md5sums for their CDROM iso image files on their website is beyond me.

If they do exist, please point me to them.

http filtering - awsome

Monday 03 November 2008 at 03:07 am

So, my site isn't down as I thought it was. Anyone who came here might have thought I fell of the planet. I did, but that's not the reason why there is no recent news. I can't access this page from my ISPs BS connection. So now I'm tunneling through an SSH connection.

Sarcasm aside, here is something ammusing from my SVN logs:

Read the rest...

Poor programming

It's really not cool.

Thursday 09 October 2008 at 12:54 am

Look, I really don't want to be annoyed and upset. I really don't want to have to deal with your crap.

OK, that didn't start out too well. Let's try again.

I've come here to vent. On a day to day basis, I can usually ignore those people that would normally annoy me. In fact, I can even work with them from a distance. I might even be able to share a chuckle with them from time to time. However, coding is an entirely different issue, and when I have to deal with shit code and botched systems, it's really not good for my health.

Not many people will read this. Of those that do, only a few will probably share the same sentiment. So, I guess writing this is more of an exercise in venting. After all, the rest of the day might be more tollerable. In the slight chance that you are a programmer, you may learn something, or you may just have a good laugh.

Please, dear programmers all over the world, listen up. Don't write shitty code. It's just not natural. It's corny. It's awkward. It's not cool. If you do, you are a looser. There have been many books written on the subject. I don't need to repeat anything. So, just don't write bull shit. OK there it is. I think it might boil down this: You're just not cut out for it and you're bull shitting your employer or whoever. I know you can make some money doing something that many others cannot. However, that is no excuse to program. Program because you're lazy. Program because you're creative. Program because you like systems. Program because you like numbers. Don't program because you need money. Don't program because you think you are clever. Because if you are doing that, you are probably pissing off the rest of us who have to come along and deal with your kludges. I may have to hack together something here or there. However, I don't go making systems if my knowledge of the subject is poor, and I surely won't sell it. Large software corporations come to mind. Damn those greedy fuckers.

OK I'm done. Have a nice day!

Find files in Windows

Containing string

Thursday 02 October 2008 at 08:19 am

OK, so this is my MS rant for the day.

So you go throught the trouble of turning off the animated character(A.K.A. making the dog jump off a cliff). Then you "Change files and folders search behavior" to "Advanced"(my ass). Then you are using the "Search Companion", as it's titled, in Windows Explorer and you use the "A word or phrase in the file" field, it will not return... well it's broken... or maybe it's a feature.

Stupid turd.

OK good night

War FTP Daemon

WTF???

Tuesday 19 August 2008 at 08:17 am

I usually don't go picking on software developers, but what the what is this? I find while snooping around an old company PC in need of an overhaul. The last "IT guy", as they affectionatly refer to him, used this machine, and it is filled with such junk as the "War FTP Daemon".

From the War FTP Daemon help file:

"About War FTP Daemon 1.70

I started writing War FTP daemon back in November 1995, after realizing that there was no decent freeware FTP server for Windows. In fact, at that time there was no freeware FTP server at all, - only a number of crippled shareware servers, that really didn't impress me too much."

What a dim wit. What a load of pure turd. Or maybe he's just blatant liar. Fumb duck.

OK wait up. Maybe 1995 was really the darkages. However I do remember using an ftp daemon with the ubiquitous Redhat.

Financial Planning

Or growing food

Friday 01 August 2008 at 11:51 am

Or something along the same lines.

I've always been a proponent of keeping meticulous spending records. I've never been really sure why. I've always said that I need to know how much money I can spend or how I can save. Analysis is great. However, I think I now know the real reason.

Read the rest...

Numbers are beautiful.

Can you hear the math?

Thursday 17 July 2008 at 2:54 pm

Or maybe you can see it. What makes something look beautiful? Is it some random quantity? What makes harmony or disonance between notes? Maybe your eyes can fool you, but my ears do not fool me. The timed intervals, and the proportionately spaced frequencies paint pictures that your eye can never see. What of the sound of nature? Or perfectly proportionate green trees of all shapes and sizes? Can you see the numbers in the flower? Or what about the human figure? A face? A body? What factors in the system do you adjust to change a character? And what disproportions can be measured in relation to beautiful proportions?

Count the numbers of this resonating sound.

I wonder how long humans will continue to worship the imperfections of their fantasies. Numbers are good enough for me. ;)

It's not the Gates, it's the bars.

Next time you ask me why I use FOSS...

Monday 07 July 2008 at 07:37 am

...read this:

http://news.bbc.co.uk/2/hi/technology/7487060.stm

(A standard anti-greed rant goes here.)

How I think

The way my thoughts work...

Wednesday 02 July 2008 at 08:55 am

...and maybe yours too.

So I was sitting here at my desk in this hot office because some of the staff do not want to have the air conditioner on because they think it's cold. When it's hot, I get tired. So I was thinking about OTRS and if the ability to change owner really was such a necesarry permission and how important it was. My first though was that it wasn't such an "elevated" permission or ability. Mind you, I'm thinking this as I am half asleep dosing off. Then I think about file ownership and how realistically only root can chown. Suddenly one thought sort of vaporised the other. That is all happening as I am slipping deeper into sleep and my brain waves are slowing down. So the end result was obviously more lucid and visual.

The thoughts were like white hot rings. Not sure what the hell that means. It's just the last image in my mind before I woke up. You see, I was so amazed that I might have "seen" a thought process, I pulled out of the sleep. I guess I had been wavering on the threshold of sleep for about 10 minutes by then and fighting it off.

That probably explains why we have a tendency to become attached to our ideas. Because changing opinion, destroys a thought. One thought conquers the other. At least in my brain it did. Or was it my mind? Hrmm... not sure. I'll let you ponder that. ;)

MS's MDI SDI WFT Office BS

I just don't get it

Wednesday 02 July 2008 at 02:25 am

OK, so when I use the big orb thingy to Orb >Send > Email, Excel and and Outlook is locked up until I've sent that email. I tried it with Word - same thing.

I don't read the marketing hype, but if you do, see if they included the above occurence... And they sell us this stuff. :/

I used to always trash talk Billy G. - until I read this:

http://blog.seattlepi.nwsource.com/microsoft/archives/141821.asp 

Rock on dude, but your software still sucks - sorry.

KDE4 un-usability

Wednesday 19 November 2008 at 10:26 am

I have a lot of pity on the developers of KDE. Many people think KDE4 sux. The thing is they don't know why it sux. Sure they can find reasons of why they don't like it, but let's take it farther back. I'm going to point a finger at the usability team.

Read the rest...

4 wheel engine system

Sunday 14 September 2008 at 06:36 am

This is a concept for the use of eninges on wheels rather than a central eninge.

Advantages:

  • less energy lost through torque transfer via mechanics
  • no single point of failure
  • multiple wheel drive
  • individual speed control

Disadvatages:

  • none that I can see yet

Read the rest...

Ubuntu Server 8.01 Samba won't work

Friday 05 September 2008 at 07:28 am

You just installed the Ubuntu Server Edition 8.01. Samba doesn't seem to work. You're not doing anything fancy - just simple user based security and a few shares. It won't authentincate. You notice something in your logs:

create_builtin_users: Failed to create Users

What the what??? You are not a Windows user. So reinstalling never crosses your mind. Give it a go. It worked for me. I am pretty sure I installed samba via the installer and not after via apt-get. So maybe there is a flaw in the installer. Who knows? It works now. Dope.

Your Honor

Wednesday 13 August 2008 at 10:00 am

It's a good day for FOSS. In the Jacobsen versus Katzer case, the Court of Appeals for the Federal Circuit overturned a lower courts decision regarding a FOSS licence. If you want to understand FOSS(Free Open Source Software), have a read of this:

http://www.consortiuminfo.org/standardsblog/article.php?story=20080813143330810

And this is a pretty good read as well:

http://www.cafc.uscourts.gov/opinions/08-1001.pdf

JkDefrag for MS Windows

Tuesday 15 July 2008 at 09:18 am

...However, this thing actually works well and is fast. Best of all, it's open source:

http://www.kessels.com/JkDefrag/

I recommend understanding what file fragmentation is. Then when you use your PC think of how neat you like your closet to be and put files on your harddisk one at a time. Then, if you work with large media files, defragmentation should no be necessary. However, if you work with retarded software, or come across a wretched PC at work, this great software by Mr. Kessels should do the trick. It's also great for when you need to split a partition. That's actually what I was trying to do and MS defrag just would not cut it.

MS Access average bug

Wednesday 09 July 2008 at 04:10 am

I have 149 records with the sum of a particular field adding up to 3.9683. What is the average? Very simple math. avg = 0.02663288590604026846

However, if I use the built in average function I get: 2.6632

It looks like some kind of rounding or formatting problem.

Anyway, it's a real bother.

How I think

Wednesday 02 July 2008 at 08:55 am

...and maybe yours too.

So I was sitting here at my desk in this hot office because some of the staff do not want to have the air conditioner on because they think it's cold. When it's hot, I get tired. So I was thinking about OTRS and if the ability to change owner really was such a necesarry permission and how important it was. My first though was that it wasn't such an "elevated" permission or ability. Mind you, I'm thinking this as I am half asleep dosing off. Then I think about file ownership and how realistically only root can chown. Suddenly one thought sort of vaporised the other. That is all happening as I am slipping deeper into sleep and my brain waves are slowing down. So the end result was obviously more lucid and visual.

The thoughts were like white hot rings. Not sure what the hell that means. It's just the last image in my mind before I woke up. You see, I was so amazed that I might have "seen" a thought process, I pulled out of the sleep. I guess I had been wavering on the threshold of sleep for about 10 minutes by then and fighting it off.

That probably explains why we have a tendency to become attached to our ideas. Because changing opinion, destroys a thought. One thought conquers the other. At least in my brain it did. Or was it my mind? Hrmm... not sure. I'll let you ponder that. ;)

ubuntu has no root account

Monday 23 June 2008 at 05:35 am

I've read so many complaints about buntu having no root accont. I've always heard people reply to go and make one. Well, I have to say:

sudo -i

dumbest fuckers this week

Monday 16 June 2008 at 12:04 pm

OK I read about a lot dumb shiznit this week. This gives us a unique view into Japanese culture. Check this out:

http://mdn.mainichi.jp/national/news/20080616p2a00m0na028000c.html

So, first of all, the pimp phones the popos and tells them that his ho was scared and ran away from her trick who wanted to take drugs. Then, the trick ends up at the station with the gear on him. OK that is some really funny shit. I may even have an extra bounce in my step for a few days. I can't help but be ammused while visiting the circus.

are you nuts?

Saturday 24 May 2008 at 7:29 pm

Today, well actually since it's 4:30 it was actually yesterday, someone said that they would give up their nuts for wings. I don't know if I would have phrased it like that. I was going to say something, but I like to avoid conflict: If you quit fucking around, I bet you'll fly. All wise men know: The single most potent manipulator of human kind is sex. OK, I can't take credit for that. I read it somewhere. Can you argue with that?

Here are some of my compositions. Feel free to download and listent to them. However, you may not distribute or broadcast them in way or form. Thanks and enjoy.

Summer Sand

Sunday 18 May 2008 at 05:50 am

OK, so it's really warm enough to hit the beach. Enjoy this tune while your at it!




download now...

Photosynthesis

Sunday 18 May 2008 at 05:45 am

I thought this song would be good for the season with spring and all. It's getting very green around here. ;)


download now...

Gabe's Guitar

Sunday 18 May 2008 at 05:44 am

Something I recorded with a friend in Mexico. He's a good guitarist. Probably even better since this recording.


download now...

Sound of Sounds

Sunday 18 May 2008 at 05:41 am

Here is one a made quite a while ago. I think I was in Germany at the time. It's rather chill and mellow.


download now...

KDE4 on Kubuntu 8.10 review

Tuesday 04 November 2008 at 2:27 pm

I've installed Kubuntu 8.10 on two systems.

The first machine is a 4 year old Sony Z series laptop running a Pentium M 1.2 GHz with 768MB of RAM. This machine has wifi and a 1400x1050 LCD driven by a Radeon 7000 with 16MB of RAM.

The second machine I've just installed 2GB of RAM and put in the new X2 6000. So it's quite powerful. I can edit raw HD footage on this machine. Most composites can playback realtime. The Nvidia GT6800 with 256MB RAM drives a 1440x900 LCD.

I'm wasn't so interested in wifi support or suspend and all that. I just wanted to finally check out KDE4.

Read the rest...

show columns from table

Thursday 02 October 2008 at 08:28 am

So what I've found is that aparently there is no show command in MS SQL Server. So you can't do:

show columns from table

Outstanding! Really, it sticks out like white man in the DRC.

backup over the net

Monday 29 September 2008 at 01:45 am

I do this so may times, and there are so many ways to do it. I always forget how to do it and start reading the man pages again. So I am just making a note of it so I can look it up when I need it.

Backup system:

nc –l –p 10000 | dd of=/home/user/file.gz


Source system:

dd if=/dev/sda1 | gzip  -cf | nc 192.168.1.10 10000 –q 10

Upgrading 64-bit Kubuntu to 8.04

Wednesday 30 July 2008 at 4:16 pm

The upgrade may just hang when

Generating locales...

So I just

sudo killall locale-gen

every time it hung. The install would continue. However, some packages were not installed because of this. After I rebooted and ran Adept, it

sudo dpkg --configure -a

It worked that time around. Earlier I had to dpkg --configure -a to recover from the initial hang as I had killed off dpkg instead of just locale-gen. I guess once all the packages were installed, local-gen worked fine again and was able to generate the locales.

After the upgrade, X resumes correctly as well as my wifi NIC. I tried putting the system to sleep in the middle of a ping. It resumed and came back online and kept the ping running. Quite dope and surely worth the few extra minutes working around the bugs. Reason why I don't want to just install fresh, like a good Windows luser would, is because I don't have a CDROM drive and upgrading iz more 1337 yo. :P

Dell Poweredge SC 440 Broadcom NetXtreme BCM 5754

Tuesday 15 July 2008 at 07:14 am

You can find them here on Broadcom's website:

http://www.broadcom.com/support/ethernet_nic/netxtreme_desktop.php

The story is Dell was selling PowerEdge SC 440s for about 20'000JPY a piece with no OS. On Dell's site, there are no Windows XP drivers for the integrated NIC.

html pre and css

Thursday 26 June 2008 at 09:06 am

OK, so I was wondering why since I put pre tags around my code examples on this site, it doesn't change the font to a nice monospace font. Then I realized I had defined the * (astersik) element font-family. So I needed to override that and define the pre elements font-family. I did that and added a left border and padding. Nice. But now my line breaks and white space are ignored. What to do? Do this:

white-space: pre-wrap;

mounting windows server 2003 shares

Thursday 26 June 2008 at 08:31 am

So basically, I learned that you can't use the SMB protocol to mount a share from a Windows Server 2003 server.

You'll get this error:

cli_negprot: SMB signing is mandatory and we have disabled it.
6497: protocol negotiation failed
SMB connection failed

AFAICT, the linux SMB implementation doesn't support signing. So you have to use the CIFS protocol. Like this:

mount -t cifs //192.168.0.3/sharename /mnt/point/ -o username=name,password=word

It seems like you need to use ip addresses with this method. That's not a problem for me. Maybe if your linux box joins the domain, you can use the server name. I dunno. Give it a try.

SVN repository working copy inside another

Thursday 19 June 2008 at 03:12 am

I know it sounds like a disaster. It probably should be clasified as one. However, I came across a situation at my work where it is possible for that to happen. So I tested it out. TortoiseSVN seems to handle it fine. The root and any subdirs of the WC inside the other WC are ignored. I'll give an example. We have 2 repos: A and B. B is under A. When you make a change to B and commit A, nothing happens to B and only changes made to A, if any, are committed to A. It makes sense. Possibly the .svn subdir in the root of the repo has something to do with this working correctly. Seems like a bit of level headed programming to me. I'm not sure if other clients will handle this well. I've only tried it with TortoiseSVN and svn for Windows.

However, it is not level headed to have a WC inside another. I do not recommend it. Don't take my word for it. Test it further if you really want to depend on it.

extract email addresses from text file

Thursday 19 June 2008 at 01:14 am

perl -wne'while(/[\w\.\-]+@[\w\.\-]+\w+/g){print "$&\n"}' input.txt | sort -u > output.txt


That will parse input.txt for email addresses and write them to output.txt. And no, I won't tell you how to change this to make csv so you can send unsolicited email.

Source:

http://bytes.com/forum/thread648158.html

KDE on MS Windows

Wednesday 18 June 2008 at 2:05 pm

Well, it's for real. I tried it myself. It's quite Alpha and correctly marked as such. However, I was surprised that it actually loaded and was usable. Kate was in good order. Some of the icons in some of the apps were just question marks. The fonts rendered poorly in Kword. All in all it was quite amazing. If it keep going in this positive direction, there will be so many nice apps to use with Windows. I can keep my brain calm and focused on solving problems rather than fixing the tools I use to solve problems. If you're interested, check it out here:

http://windows.kde.org/