Archive for the Programming Category

Photosynth

Photosynth: or; how to use up your 80 core desktop computer.

I must admit, I’m left wondering at times what we’ll think of next to do with over 80 cores. This is one of them.

There is no chance that the math involved is easy, and can be done on a 486.

Where oh where is _Why?

I’ve posted about HacketyHack before, and I believe it’s a wonderful tool that will no dbout grow to a huge fanbase. But Holy Smokes Batman, something is wrong at the Batcave!

I wonder what’s wrong? This all started as a problem with the shared programs, not being able to well… share them.
Let’s hope that _Why gets back from dreamland, or at least back home and gets the problem fixed. I was hoping to get more lessons, and especially past lesson 5a sometime soon.

5/31/07- 500 server error is gone, but the shared programs do not work. It’s a really neat feature that needs fixed!

I’m a Python developer, dabble in Ruby, run FreeBSD on over 20 machines, plus I like to boot Ubuntu once after Saturday in order to still prove that Linux trumps Windows any given ‘Sunday’.

When I see articles like this on parallelism, I wonder if they really know why there can’t be more split work on threading. Intel given compilers aside, there is only so much extra work that can be divided among threads before there is too much overhead involved in the processing of said work.

In the end, you can call octacores the end of all, or you can wonder what the world will be like when you have 200 terabytes on board, with your 80 core machine running on an 8 gigabit connection. We simply don’t know what to split all those tasks into, let alone the system being able to reach any efficiency about it.

Ok, so you want to check and make sure you can test your IDS, or your mac address filter, but you don’t have anymore wireless cards. The simple thing to do in linux is to use the ifconfig command to change the ether hw.

On windows, it’s no so simple, but there is hope, and free utilities to change your mac address of any network card in your computer.

Try out macshift, a free XP tool to change your mac address.

Multiple file uploads with PHP and CSS DOM

Well, we have all hit upon the little program of mutliple file uploads. We know why it’s such a problem, the cons and pro to it, and the newbs who don’t even know how to zip up files to get around that problem.

Yes, we all know (the people having the know how), that you constantly jazz up your skills to help you do small things fast, to enable the larger picture of your project to be revealed. This is one of those things that you must learn how to just break a project down so you can deal with things faster later.
I digress however that most of the people who require a web based interface to update pictures for a Flex based slideshow for example, won’t see the true power of zipping up their files first before they upload them. The simple one sweep of that mouse to enable the user to collect their files like cards being pulled up off the table from a fresh deck.

No, these users are best served by a form window that prompts them for each file to upload, one at a time. This gets dirty for many reasons, with the most feared being by me, that they won’t have a specification on how many pics they want to upload at a time. Enter nitemare #2, that they want to change the number of pics at anytime.

Thankfully php, javascript, xml and other technologies such as DOM maniuplation has provided many easy outs for the needs we have gotten ourselves into.

I will talk about the best approach right now that I can tell, which is a little library provided free of charge from: the stick man

So you do some coding with php, html, perl or maybe even some ruby from time to time.

The oddest thing happens to you when you look at macs… you get all weak in the knees, because macs have the coolest application for coders like you. You know that having a mac means all sorts of things, mainly being that you are stuck in an upgrade cycle for years to come. Selling off your kids is not something you’d like to do, and your cat would like to stay out of testing facilities.

In short, you are not getting a mac, or you’ve had a cheap one and it just didn’t fit the bill with the copy of osx you put on it. You know textmate will make your life easier, but the price tag on the computer is what kills it for you.

The simple answer now is: http://e-texteditor.com/index.html

The slightly longer answer is here: http://garbageburrito.com/blog/entry/391/a-macesque-rails-development-environment-on-windows

in a ruby sorta way: why

I’m glad to have a unique view of what wikipedia is all about nowadays, the in and outs of having a user contributed repository of information. Everyone knows that wikipedia is sorta like the encyclopedias that you’re accustomed to, with a dash of the web interspersed and a total history available.

First of all, -why- is a great ruby promoter among other things. I can understand his mullings about being good enough to put on wiki of all wikis and the feelings of not being good enough.

So i’d like to sum up why, when I did actually get around to finding his [deletion discussion] on wikipedia, I was aware of what this lititle gem was all about. Geez I must have been tired, I went right past a perfectly valid google search that I missed altogether and grazed over an posting. Shame on me, and my sloppy blog reading, I might have not been able to be the one who, in the end, made his wikipedia entry stick.
Ruby is starting to grow on me, no real projects or sample programs have passed these fingers however bad that I want it to.