Archive for March, 2007

Things you didn’t know about Foxconn

Wednesday, March 28th, 2007

I figure that given all of the geek’s positions to Foxconn, and the so called cheapness of the product it deserves some attention that it’s not so cheap.

This is first of probably several posts that will assert that Foxconn is not the cheap ass mobo manufacturer  that many people consider them. Foxconn has not been making motherboards as long as people think they have, but they get a bad name somehow.

I know someone who has only bought 4 of them total that I know of, but somehow they remember Foxconn being around for the last 5 years and seeing tons of them going bad: Foxconn has only been selling motherboards since 2003 under that name.

Foxconn isn’t the horrible small company people think it is, nor do they create bad quality boards just to make a profit. Foxconn has worked for many years at making millions of boards for HP, Dell and others, not to mention being an OEM for Apple. Major companies such as Microsoft, Sony and others also think that Foxconn makes a pretty nice product, enough so that they rely on them to make their units at great reduction in price.

I know from reading so much that Foxconn has a lower price not because of quality, but due to the Chinese connection, plain & simple.

Multiple file uploads with PHP and CSS DOM

Tuesday, March 27th, 2007

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

Get out of the dark ages and into a new programming tool

Tuesday, March 27th, 2007

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

Can you drink alcohol with albuterol?

Tuesday, March 27th, 2007

Of course you can! Should you? Of course not,  since you’re already having health problems, why would you make them any worse?

There is many reasons behind this, but why would you want to dry out your lung tissue, before you squirt it with material to cause the muscles to relax? Since Albuterol is a short acting drug, then there is not any sufficient evidence that I can find to suggest that a few hour stay of alcohol wouldn’t cause any major problems.

I am not your doctor however, and talking to a medical professional is the best idea, this is merely my own idea. Don’t take anything of what I say seriously, since I’m not a doctor and am not licensed to give you medical advice. I don’t even have a license to be a rambling fool.

Wordpress Error 28

Thursday, March 22nd, 2007

If you happen to get a Wordpress Error 28 when you are selecting posts, managing, or even trying to view the front of your site, there is Mysql error going on. (Duh).

Anyway, in most cases, check out the space available on your Mysql slice or partition, and you’ll probably find the culprit. (IE it’s normally out of disk space for tmp tables)
I know you’ll probably have plenty of RAM for temp tables, but Wordpress won’t do that apparently.

Build an octacore system for $2,400 and make a profit.

Wednesday, March 21st, 2007

Never before in the history of computing has computers been so fast, for so cheap.

Early last year, Intel announced that they were coming out with a new product in the start of 2007, Q1 that would be called Clovertown. Clovertown would change a lot of things, primarily, the number of processors that you could have on one chip, then double the amount that one board could handle. It’s more important than just that however, since Clovertown is based on older core technology, and as a Xeon style product it has a lot of distribution for datacenters: it’s cheaper.

Clovertown wasn’t the only chip on the block however, as many of you know, the QX6700 was released by Intel as a Core 2 Extreme, but is now coming out with a Core 2 Quad.

Running a QX6700 will no doubt provide better performance than a single Clovertown such as the 5310, but when you start to escalate up to two 5310’s, there should be a difference that makes more sense to go with the dual Clovertowns. The Core 2 Quad however will consume even less power than the QX6700, with the Clovertown getting the same treatment as well.
771 was to be the socket of choice for Intel to release the Clovertown, and the QX6700/QX6800 is a socket 775 chip, so the following features must be kept in mind when building a system with either processor:

1. You are dealing with a single cpu that has two dual core chips mashed together
(The Q in the Intel names are not to be mistaken for the X6700 which is a dual)
Two Woodcrests=1 Clovertown
Two Clovertowns=1 OctaCore System
Two Kentfields=1 Qx6700
Two Conroes=1 Qx6800
2. Current 775 socket northbridges do not allow for a dual cpu architecture, you must go with 771

3. Current 775 quad core chips are limited, with the production runs on the 65nm process seeming to be sparse and producting really, really expensive chips

4. Not until the next chipset, Clarksboro will you see the data contention of the chipset be alleviated, and even then it’s a new chip as well, the Tigerton.

These chips come in a variety of different cache options, and your application will of course dictate how much cache you want. This is the same issues as the Celeron, with some applications doing better with less cache, and even some operating systems doing better with less cache because of locking issues with more cache (?).

The benchmarks are clear, that when you stack an 8 core system against a 4 core system, there is just too much concurrency to deny a lead for a multi threaded application. Making the Freebsd kernel, or the linux kernel are very important tasks that show the incredible difference that cores make on a build.

I won’t deny however the naysayers of their two cents that some parts of the build process are not able to be built concurrently, and you must wait for one dependent library to finish before the rest can be spawned.

In short, there is a large difference for price in which market you go with, and varying levels of performance to boot. Intel won’t deny that using 2xWoodcrest will eat up more power than the single chip Qx6800, but there is more performance for multithreaded apps.

The difference is real, with two systems built for profit (and for mistakes made):

4 Core 775 system=$2,600
8 Core 771 system=$2,400

Vista is on the out for a day, so is the fangs

Monday, March 12th, 2007

You can really tell when there is blood in the water and the sharks want a taste.

Some consider this last weekend the time when Microsoft admitted there was problems in some cases with Sleep, Hibernate or call it what you will. In short it saves the amount of time you need to boot your computer up. The point being that there is always some problems with the way various devices get shut down and how that affects your kernel as it cleans up.

I remember reading this way back, then trying the different modes of sleep on my PC (AMD64, Nforce4). I had no such problems, in fact, I could do it even when I was playing games and the game would wake back up too.

Then I read notes like this about the state of the repair of the sleep process for Vista and take it to heart, knowing for sure that Microsoft is going to issue patches for things that might be better off fixed in vendor code.

This skidmark over here starts complaining about how horrible Vista is, but he really likes black boxes. You cannot see inside black boxes, you don’t know what’s going on inside of them and you don’t know why they crash. He’s ignorant, and doesn’t even know how to interpret the blue screen beyond the color and throwing google the text he sees. At least some person with moderate sense starts to wonder if it’s drivers and not the hardware causing the problem.

One does have to start wondering why so many people blame Microsoft and not the company who made the laptop. They don’t question the chipsets, or any circuitry that might be inside, trying to do it’s own power saving. Let’s not mention that the same people expect Microsoft to buy every notebook on the planet and make sure Vista works on it. Only one company makes sure their product works on every notebook it’s designed for: Apple.

I take heart when someone posts what their system is and how well it works with Vista sleep, and while granted it would have been better to have a Detailed entry a model number is good enough. (Hey, the chipsets make a good indicator if it’ll support ACPI)

I’ve seen a Dell and an HP so far that work just fine with Vista. But I digress, I do not have the model numbers in my head. I can tell you however that the Dell only had 512mb of ram, so you know how that is going to turn out…. or do we?
As always, you can consider my opinion to be that Microsoft is not the only one to blame here, and we are operating off of insufficient information. There is no non-biased repository of information that talks about the amount of systems sleep -does- work on.

The only conclusion I can reliably draw at this moment is that no company has any business releasing a product or feature that works less than 50% of the time. Saying they would do this only infers that the Titanic didn’t sink because of an Iceberg, it sank because the designers knew 50% of the rivets would come out when it turned left.

Norton refusing to install?

Wednesday, March 7th, 2007

For those in the know, Norton is a whore, more specific, their cousin NAV will slut themselves to any machine with free megabytes and a systray to clutter.

norton refuses

This was an installation that failed, and the cause of the system requirement was never found.
Having ran another part of the setup process, it installed without a problem. Who knows… it’s Norton.

Albuterol and you

Wednesday, March 7th, 2007

Albuterol is your friend if you can’t breathe very good, me being one of them.
For many years, I spent time on the circuit of having constant throat infections,
sinus infections, and the dreaded: can’t breathe worth a damn.

I’ve had one ____SLIIIIIIGHT____ infection in the 6 months since I stopped smoking,
and not a single throat infection since!!!!!!!!!

My problem is three fold, and I’m pretty much to blame completely for two of them.

#1. Smoking causes COPD
Whereas people with lung cancer contains 80% smokers, COPD encompasses even more.
#2. Allergies cause most asthma
Allergies that cause your nose to plug up can cause your lungs to plug up too.
#3. I was very premature
My lungs stuck together when I was born and parents told I probably wouldn’t live.
Two weeks in intensive care in 1977

I never understood why when I exercised, I coughed and gasped… oh it must just be me smoking, I’m sure it’ll go away. I never figured out that more often, when I smoked I coughed… must be temporary. About a year ago when my ENT doctor put me on an albuterol inhaler, I thought he must be crazy, I don’t have asthma… do I?

Turns out, asthma I did have, and I followed his advice to find out what triggered it.

#1. Wheezing.
I was told pretty much damn near any wheezing is a bad thing, anytime you have a long rasp that doesn’t clear up with a good cough.
#2. Tightness in chest
Exercising, or an attack hits people different ways. Some sufferers will not be able to breathe at all, have a tight chest, then have wheezing at the same time. I was a mixed sufferer… I sometimes had both, sometimes just the tightness.
#3. I have COPD and there is no real cure.
I’m living with this, staying calm, living my life with advice from medical professionals.

COPD is not a death sentence, but you must be careful as every attack you have puts your
lungs at risk for reduced function. With proper care, exercise and a good head, mortality is damn close to the norm. If you don’t pay attention to what your medical professional is saying, you will be a statistic much sooner than you should have.

So, when those things happen, I puff on my inhaler. Before I exercise, I puff on the inhaler.
If I fail to follow those instructions, I have really bad dizzy spells, I see black spots and feel like I”m going to pass out until I really concentrate to breathe.

I’ve found that there is two myths when it comes to albuterol. One is the common misconception about inhalers and the such, or any medicine for that matter.

1. You can get addicted to the inhalers.

There is no real reason to get addicted to inhalers, it’s purely a psychological addiction, one that I had cleared up with my doctor when I went back after being told this myth. I can find no evidence that Albuterol has lower effectiveness over time, nor is it habit forming beyond thinking the medicine is needed when it’s not.

Here’s one reaction to the myth of albuterol addiction.

Now, for the people who don’t quite know, or have found this by search engine lookup, I have a common myth about inhalers:

1. You must use a spacer, chamber, or a paper towel tube to get medicine in your lungs.

That’s just not true for most adult asthmatics, but for children or those that have different neck physiologies, then you need a spacer.

Here’s an excerpt from a site that I do trust:

If you have difficulty getting the medication into your lungs, a spacer (a special device that attaches to the inhaler) may help; ask your doctor, pharmacist, or respiratory therapist for more information.

Use only the adapter that comes with your canister. Do not use the adapter with any other product canister.