Memory Errors

This article gives a cool look into what happens when just one bit is flipped, and how to trace it. The author really wants to accuse cosmic radiation, but I’d be more inclined to blame manufacturing processes and/or other environmental conditions before that.

Posted in Computing, Linux | Leave a comment

Facebook & Privacy

Facebook is a private company. It’s top priority is monetizing your usage of Facebook.com. So, and this doesn’t take a genius to figure out, it is tracking all that you do, collecting as much data as possible, and selling it.

If you don’t like Facebook’s privacy practices, go ahead and complain. But it shouldn’t result in front page news articles about people whining about something a private company did after they gave their rights away to that company. You all should have quit, instead. That would change their policy, real quick. That, and I wouldn’t have to wade through thousands of, “OMG FACEBOOK PRiVACY AleRT!” articles getting in the way of my real news stories.

Get off my internets, basically. I did read something interesting about Facebook a few days ago, though. It was about how Facebook addressed its lack of privacy features by provided multitudes of them. A potential aim of this (and I believe it), was to confuse users so that their settings would end up being inadequate.

What a great idea. “You want privacy settings? I’ll give you privacy settings.”

Posted in The Internets | Tagged | Leave a comment

Spring Semester Over

I passed Calculus, finally. I also passed Physics, where oddly, on all three tests I received exactly an 80. I would say that I got an 80 on the final, except that it was extremely easy.

In the meantime I’ve been doing a little work around the house and on the car, and I’ve also done a little C programming, just for the heck of it.

I’ve revisited my infamous random sort algorithms. I used variations of a random sort algorithm in my data structures and algorithms class at UWYO, one or two homemade tests, and on a test for course placement at UTA (with a whole lot of controversy around that).

The one at UWYO was what I like to call the “shuffle the deck” variation. You assign each element in whatever list you want sorted a new place in the list, chosen randomly but only using each place once, and then check to see if it’s sorted. Repeat until the list is sorted. I remember doing this cleverly, but I can’t remember exactly how. I’m working on recreating it. (This is known as a Bogosort, apparently I wasn’t the first one to think of it.)

The one on that test at UTA was a simple swap two values, and check if sorted. It was all from memory in pseudo-code. This, also, is known as a Bozosort. All I had to do, according to the instructions, was to “Write, in pseudo-code, a sorting algorithm.” So, I wrote a sorting algorithm. I got bad marks on that test (but was still able to pass after a small scolding). Unfortunately, my requests to see the actual graded test went against deaf ears…

So, anyway, here’s what I have:


int isSorted(int array[], int length)
{
int c;
for (c = 0; c < (length - 1); ++c) if (!(array[c] <= array[c + 1])) return 0;

return 1;
}

//rands1 - Random Swap Sort - v1.0.1
//1.0.1 - Changed return value from int to void
void rands1(int array[], int length)
{
while (!isSorted(array, length))
{
swap(&array[rand() % length], &array[rand() % length]);
}
}

//rands2 - Shuffle sort v0
void rands2(int array[], int length)
{
int i;
while (!isSorted(array, length))
{
//give each array value a new index from an index pool and swap them all
}
}

I haven’t quite implemented my favorite yet. I have timed the sorting of random lists from 2 to 12 items long, each 1000 times. I turns out that sorting a list from 2-9 items is, as far as a human can tell, just as fast as quicksort and the like. It’s that magic number 10 where things start taking time. Then at 11 items it’s already unbearable. At a list size of 12 items it took 54 hours to sort 1000 unique lists, the average one taking 3 minutes or so.

I’m working on the bozosort, and can’t wait to see how slow it is.

Posted in Programming | Tagged , , | Leave a comment

Shut Up You Moron

OMG MY KID GOT AUTISM BECAUSE HE GOT SHOTS BEFORE OMG OMG I SAW A UTUBE VID THAT PROVES THE VACCINE CAUSED IT, LOOK IM JENY MCCHARTHY I KNOW WHAT I AM TALKING ABOUT BECAUSE IM FAMOUS

Posted in Uncategorized | Leave a comment

Now Just Get It Off The Coins

The Government sanctioned National Day Of Prayer has been Government un-sanctioned. This is good because it should have never been a recognized day to begin with.

Of course, the Religious Right will call this a personal attack on their faith, despite that the Day was held as non-denominational, religion-unspecific. That and there’s nothing holding them, or individuals in the government, from praying on that or any other day.

So, finally some sense is coming out of our government.

Posted in Politics, Religion | Leave a comment

Sexual Education

This guy is nuts. In Wisconsin, a new law’s coming in to effect that would properly educate teenagers about condoms, contraceptives, and other sex stuff. All the Republicans have jumped on their usual bandwagon, especially the fanatical evangelical DA:

“Forcing our schools to instruct children on how to utilize contraceptives encourages our children to engage in sexual behavior, whether as a victim or an offender,” he wrote. “It is akin to teaching children about alcohol use, then instructing them on how to make mixed alcoholic drinks.”

Wrong. Like PZ Myers says, it’s like saying teaching about seatbelts will cause teenagers to automatically go out and wreck their cars. No one wants to wreck their car. No one wants to get an STD, and most teenagers don’t want to get pregnant.

But most teenagers will get in an automotive accident. And most will have sex.

So, suck it up and face reality. Our country needs to teach kids about contraceptives. Europeans get a comprehensive education on this, and their teenage pregnancy rates are no where near ours.

Posted in Law, Politics, Religion | Leave a comment

BLOZUP.COM

Has been revitalized, yet again. Take a look.

Posted in Automotive | Leave a comment

America, Right Or Wrong!

Just kidding!

Why is it that the demographic that’s most for small government, and more importantly, not trusting trust your government, would be first (I’m betting) to defend this.

Fear your government, including the Republicans. Or, at least your military.

Yeah! Go Team! U, S, A! U, S, A! We are awesome. I’m proud to be an American, where at least I know my government has entered a war with questionable motives and now shoot civilians for no apparent reasonnnnnnn!

They should have that as background music, actually. The original, not my version.

Posted in Ethics, News | Tagged , , | Leave a comment

Corsair H50

Wow. This thing works. And it’s so simple.

My GF/Fiance/Wife’s supercomputer (Core i7, DDR3, GTX 260), had a little running hot problem. I decided to buy a Corsair H50 water cooling kit at Fry’s, and try it out. The reviews on NewEgg were all great. I discovered however, that her case doesn’t have a spot for a 120MM fan (or at least, one that can accommodate a 1″ radiator as well).

So she bought an Antec 300 case. It was $44 plus tax at Fry’s, and it was a deal. The Foxconn or whatever case she had before was extremely shitty in comparison (and the front USB slots broke). I have the top 140mm on low, and the 120MM moved to the front, next to the hard disk drive and also set on low. It barely makes any noise when on. I am super impressed.

So, now instead of 60-70° C under load, it’s at 50°. It got to 57° once. I can play GTA IV without the fans on it going berserk. Yeah, the radiator fan throttles up (moreso on the cut scenes), but it doesn’t reach the welding temperatures that it did before.

So, now we have a computer with a radiator, and coolant. Cool.

I have to admit, now, that her computer case was holding it back. Now I overclocked her DDR3 to 1333 mHz, to match her FSB (or QPI Link or whatever it’s called now). I also enabled “Turbo Boost” in the BIOS, whatever that means, but I won’t actually overclock it until I’m sure it’s stable with those modifications.

Posted in Computing | Tagged , | Leave a comment

My RAID Stillbirth

I attempted to construct a 5 disk RAID-5 on the in-house supercomputer (a Core i7), but I ran into a problem. One of the disks was screeching like mad. It sounded like something was scraping the platters…

It was somewhat amusing. As soon as I had built the array, and restarted, the noise came on and the disk controller said that the array was in need of a rebuild.

I’m not too sure which disk it was, the problem seemed to be intermittent. However, I will hold off on any RAIDs until I get my own gaming rig.

Posted in Computing | Tagged , | 1 Comment