Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: You've been served 13

So I served a guy a restraining order today. He'd beat up my friend a couple times, gave him a concussion the last time. So my friend got a restraining order, but he's a waiter and this is the dead time of year for that in Santa Fe, and he doesn't have the money to pay the sheriff to serve the papers. So I volunteered. This guy is a punk ass gangster wannabe who hangs out with a crowd of (snicker) Santa Fe toughs. But they kicked the shit out of my friend in public a couple times, and they are cracked out of their heads a lot of the time, so yeah, I was a little scared. But it was the right thing to do, and the fact that you have to pay someone to serve a restraining order sucks balls, so I had to do it. I had to track the fucker down, too, because he didn't show up for work tonight. He was off at some bar with his friends. I walked right up to him, made sure it was him (I've never met the guy), handed him the papers and walked out, calm as you please.

My hands are shaking a little bit now, though.

User Journal

Journal Journal: I love Amazon [tag: sarcasm] 1

I love Amazon.

    I was helping my aunt put her bookstore online. She has a used paperback store with tens of thousands of books in stock. She's been doing it for over 25 years, and the technology hasn't changed since Day 1. Literally, she's still using the same old cash register as the day she started.

    A few years ago, I suggested putting it online, and/or selling some of her overstock through eBay. I'd say Amazon, but they rape vendors on the fees. To demonstrate what I was trying to explain, I put together a warm friendly front end that would pull the book details from Amazon. It was the best source I could find for any arbitrary ISBN.

    Well, 3+ years later, she gave me the go ahead to start clearing out the back room. Great, I can start doing the inventory, and listing items. Great went to not so great. I picked up a cheap barcode scanner, and scanned the first book. I got an error back from Amazon. My API key was still valid, but they now require the requests to be signed. Digging around a little, this happened in August of 2009. I do receive emails from them, but I never saw anything regarding this. Apparently they gave their developer network 3 months to implement the signing.

    Their signing isn't quite as easy as it seems it should be. Their documentation is now focused on their cloud computing platform. The rest is sparse at best. Most of the references I found talked about how to do it before the signing, which I already mastered. I finally found someone who had posted a function that would sign the request. That took a few hours and a lot of Google searches to accomplish. What a way to support legacy apps. I found plenty of references where other folks had modules written for their software that broke on the day of the changeover. If this had been a production application, it would have been a real headache. Come on, don't change the functionality of the API without clear explanation of how to fix it.

    Now it's up and back running. I'm adding the rest of the required functionality. I could have spent the weekend adding functionality, rather than chasing down a solution to fix what they broke.

User Journal

Journal Journal: Mom passed away Christmas morning 9

Pancreatic cancer. You just don't recover from that one. This last year has been pretty hard. I'm the only child of a single mom, so this has all been on me and my wife. And of course, being my mom, she had to go die oversees. In a little tiny village outside of Peterborough in England. Well, she actually passed away in a Sue Ryder hospice in Peterborough, Thorpe Hall. The building is older than my country. She was staying with her old friend Marianna and her husband in Nassington. So there we were, my wife and I, in a foreign country experiencing the snowstorm of the decade, staying with virtual strangers in a tiny village with all of 20 or so buildings, for Christmas. I'll just say this, my mom died like she lived: weirdly.

User Journal

Journal Journal: Things I learned driving at 2am 2

This is non-tech, but I thought I'd share. :)

    I learned something at 2am the other morning. Driving at night, in an unfamiliar area, isn't always the best idea. I took a guy to his place from a bar, because he was absolutely hammered. File that under "no good deed goes unpunished".

    After leaving his place, I was heading home. I bumped over something at about 20mph. It wasn't much of a bump, but I immediately heard my tires go flat. Like, a dramatic wooshing sound from both tires on one side. I stopped and looked. Sure enough, both tires were flat, but I didn't see any damage to the rims. I assumed it just damaged the tires. Maybe it was some broken glass or something in the road. I was 10 miles from home, but it was cold out, and I wasn't going to wait for a tow truck. I could drive the car, but only at 10 miles per hour. Talk about a less than entertaining drive.

    I ordered tires the next morning, and they arrived today. I pulled the two flat wheels off, so I could get the new tires mounted. As soon as I did, I saw the bad news. The inside lip of the rim was seriously bent. Like, so much that I could put my finger between the rim and the tire. No wonder they went woosh dramatically.

    I went to a few shops to see if I could get the rims fixed or replaced. I already know it's virtually impossible to find OEM replacement wheels for my car. They were exclusive to my car, and only on 3 years, on a very specific submodel, in that style. I was in a little accident in February, and the other drivers insurance company had to cough up $1000/ea for the wheels from the only place they could find them. It took weeks to get them in.

    In talking to them about the damage, they said it was clear that I hit a pothole. If it had been a loose object in the road, both wheels would not have been bent exactly the same way. If it had been a curb, the outside lip of the wheel would have been damaged. So, dumb luck on a dark road in the middle of the night.

    So, that's my rant. I am carless until after the 1st, since no one locally stocks anything that could fit, and no one is doing shipments over the holiday. {sigh}

User Journal

Journal Journal: Windows 7 Ultimate

Anyone that knows me knows, I'm a died in the wool Linux fan. I use Windows as a tool to accomplish a task. That is, if I *need* to run a Windows application, that I can't do any other way, I use Windows.

      Someone was nice enough to donate a copy of Windows 7 Ultimate to me to try out. I had been using XP Professional for my Windows work. I tried, and didn't like Vista. I've retried it several times over, and have been annoyed with it when it does stupid things. I tried a few beta's, and worked with it in normal releases on others computers.

      I had low expectations for Windows 7. I expected a freshly skinned Vista.

      The hardware I'm working on is a AMD AM3 Athlon II x4 620 (2.6Ghz) overclocked to 3Ghz. Asus motherboard, with integrated ATI Radeon HD 3300, and 2Gb of DDR3 RAM. 512Mb is shared to the video card, which I will be fixing sometime soon. This Asus board was the only one that took DDR3 that CompUSA had in stock at the local store. I figured it's easier to stay with this video card for now, and upgrade it later. I also plan the same for the CPU. I'll be purchasing an actual Phenom II x4, as the pricing comes down. I did a little reading, and this CPU overclocked does as well or better than it's Phenom II x4 sister. Hey, can't argue with that, especially with the lowest price tag in the store.

      I have Windows 7 Ultimate 64-bit in it's own partition. I can say, "well, it's not too bad." It's doesn't seem as resource hungry as Vista.

    The only things I've noticed are that there are no Vista nor 64-bit drivers for my old Linksys WUSB11. The fault there is with Linksys not making new drivers for their legacy hardware, not Microsoft It does manage my Belkin USB device well though. Well, it handles it better than XP did. I had intermittent service with it, and attributed that to the device. It works well with the 64-bit Vista drivers. The drivers don't just install themselves, like they're suppose to, so it takes a little loving to make it work. Not a big deal though, everything else went in fluidly.

    I've noticed that Win7 automatically schedules a defrag for 1am weekly. Nice touch. I changed the schedule to daily, and the time to later, when I'm less likely to be using the machine.

    Would I avoid a 64 bit version of Linux for Win7 64-bit? No.

    I noticed something funny. They keep two separate trees for x86(32) and x86(64) program files. Under Linux, with the proper libraries installed, this is unnecessary. I don't know the purpose of this. Maybe it's for organization. Maybe it's because it pays attention to the path. Maybe it just likes it that way. Either way, it seems odd.

    On a 64bit Linux (Slamd64 and now Slackware 64), I've always had almost everything compiled for 64 bit. The only glaring exception was Firefox, because there was no 64bit flash plugin. Since that was resolved months ago, I've used 64bit everything. I have run 32 bit applications, because I was testing something from a 32 bit machine. No big deal there, it just worked.

    For folks that like Windows (like most average home users), I won't scare them away from Win7 as an upgrade path. I warned people off of Vista, because I always ran into problems. It seems like they've done something mostly right this time. :) I still reserve the right to decide that it sucks, if I start running into serious problems. For now though, the install went smooth, and it's working pretty well.

    I just did another Win7 install on an older Athlon64 machine (3000+, 1Gb RAM), and performance wise it seems slightly better than XP.

    As a note, these measurements are "seat of the pants" measurements. They were not quantified with any benchmarks. Really, end users care about how good it feels, even if the benchmarks prove otherwise.

User Journal

Journal Journal: Just testing out some journal submission changes 8

I don't actually have anything to say. Kathleen is due any day, and I'm looking forward to a few weeks of staying home, getting poor sleep, and changing diapers.
But mostly I'm testing to see if journal saving works properly.

User Journal

Journal Journal: Updates to Journal System 13

We've made some significant updates to the submission/journal system. Visiting Submissions and Journals yields a new form that allows stuff like tags to the data types. There are a number of annoying bugs, but for the most part the dust is starting to settle. More notes will be coming, but this journal entry is really just me putting the final test on the new Journal form.

User Journal

Journal Journal: Things I Discovered Since Unemployment... 8

Here's a few insights that I've acquired since unemployment. I've been unemployed for about 3 months now, and technically homeless.

    1) Laundry is much easier to do, when all you wear is shorts and sandals. Here in Florida, it's hot, so wearing a shirt is an unnecessary evil, and just gets sweaty anyways. (and yes, I'm in shape enough to do it)

    2) Pants and socks feel funny. I actually dressed up one day and realized that all the extra clothes felt restricting. Well, and hot. I was much happier stripping down and putting just shorts back on. I'm not a nudist, I'm just practical. When it's 95 degrees out, anything you might be wearing is too much. I strongly encourage attractive women to do it too. :)

    3) People with jobs can't come out to play as often. I am job hunting, but since 20% of the population is doing the same thing, I'm not getting any positive feedback. When I want to hang out with someone who is working, I have to wait for them to get off work, and we have to stop drinking early on Sunday night. That slows down my drunken weekends, when they have to get to bed "to go to work."

    4) It can get really boring with nothing better to do. Some of you may have noticed an increase in my posting on here. Hey, I have time on my hands, in between sending off resumes, watching TV, and talking on the phone.

    5) The headhunters are desperate too. Like I said, I'm in Florida. No, I don't want my resume sent off with 100 others, for a 3 month minimum wage job as an entry level programmer in a language I don't know, that would require me moving 1,000 miles. They don't quite understand why either. I don't exactly have the budget to move anywhere. After taxes, I'll be lucky to come home with $1k/mo, and that's not going to cover rent, power, water, food, and gas. I'd also have to break my lease at the end of 3 months, which won't go over that well either.

    6) Picking up odd jobs can be fun. This month, I've:

  Worked on a dozen cars.
  Done plumbing work in a half dozen places,
  Cleaned countless computers of viruses, malware, and stupid things that slow the machine down (how many toolbars do you really need for your browsers?).
  Several days of "personal security" which consists of me owning a gun, which sat in the house, and me being there "just in case" something happened. At least they were good for conversations, or else I would have been bored out of my mind.

    In doing the odd jobs, I've found they're asking me to do them, because they can't afford a "professional" to do them. Either way, when I'm done, it's still done right. I've taken "payment" in food, cigarettes, gas, and places to sleep. I did get someone to buy me a GPS, so I won't get quite so lost in strange cities. It's neat. I no longer have to call and say "I'm at this intersection" just to find out I'm in the wrong city. :)

    All in all, I'd like to have a job again, and my own place to live. Since I haven't slept in the same place for more than about 3 days in a row, I'm getting to see a lot of places that I otherwise wouldn't have had time to. I have helped a lot of people out, and saved them a fortune. I usually tell them what the job would have cost by a "professional", and they "pay" me what they can afford, in the method that they can do it in. I've had some nice dinners in the comfort of someone elses home. :)

    It's been interesting. I'm left with $20 in my pocket and couple 2 liters of soda, and a tank full of gas.

    And as a side note, if you have work for me, I can be almost anywhere if you're paying gas, food, and a place to sleep. :) This is a long stretch from my old 6 figure job, but I am anything but stressed out these days. I have people lined up for the short term of doing things, so I won't go hungry anytime soon.

Operating Systems

Journal Journal: Adventures with a TC1000 1

As any of you who read my journal know, I was laid off a couple months ago. Nope, no luck on the job front, and no unemployment to carry me through.

    I've been picking up the odd jobs here and there, but they rarely pay for much more than cigarettes and gas. Otherwise, I've been living by the good graces of friends. If I didn't have my friends, I would have starved to death over a month ago. Thanks to all of you.

    Now, on with my journal rant. :)

    My laptop died. Well, the power jack on the back died. No power means no laptop. A friend has loaned me his old Compaq TC1000. It's a 1Ghz Transmeta with 768Mb RAM. I put a 100Gb hard drive in that I had laying around.

    I thought it would be a brilliant plan to dual boot it. WinXP on one partition, and Slackware Linux on another. It's working pretty well, but I'd like to share some comparisons.

    Both OS's are completely up to date. In the Windows world, that means it's bloated beyond use. In the Linux world, it's nice and fast.

    With XP, I've removed absolutely everything that I could find that wasn't necessary to save CPU time and memory. I did every tweak I could.

    With Slackware, I haven't tweaked it yet. I did a full install, but only enabled the essential services. I currently have it running Gnome.

    With XP, it was an interesting exercise of copying drivers to a USB drive, and then copying them onto the tablet, so I could install them. After several rounds of that, I got online. It wasn't just the network driver that needed help. There was so much to do, it took me several days to get things working almost properly.

    With Linux, the wired ethernet adapter just worked. The wireless adapter wanted a firmware binary, which I found and dropped into place. I ran into some glitches with the video driver in Xorg, but nothing show stopping. I had Linux running in a matter of about an hour, and a few more hours tweaking Xorg.

    To browse the net, say for viewing here, it was an interesting exercise.

    MSIE on XP is so slow it's unusable. Even when I'm attached to someone's wireless at a good connection, it feels like I'm on a 9600 baud connection.

    Firefox on XP is tolerable for the first few minutes, but then it ends up sucking up too much memory and CPU time. I did several tweaks, but that hasn't helped much.

    Google Chrome on XP is my answer there. It actually behaves moderately well.

    So, now Slackware.

    Even with the limited resources, Firefox on Linux performs just about as I'd expect. It can be a little slow on occasion (as is normal for a Transmeta, from what I've read), but generally it's kicking along just like it should.

    There is no offical Chrome yet, so I haven't tried.

    I was going to try some of the other browser, but haven't bothered yet.

    I'm using this tablet as my GPS also. I had purchased Garmin's MobilePC software a while back. It works in Windows fine, as long as I shut everything else down first. In Linux, it works fine under Xorg, but since it was bundled with it's own GPS receiver, it wants to see that to activate all the functions. I'm still working on that part. I found that it should work, but I haven't made it work yet.

    I'm writing this right now from the tablet, using Firefox under Linux. I had noticed that using Firefox under XP, I could type out lines, and wait for them to display. I could get up to 2 lines ahead, which is very sad. With Firefox under Linux, it's hept right up with me the whole time. That's always nice to see, since I type over 100wpm. :)

    Ok, enough of my random ramblings. If you didn't want them, you wouldn't read my journal. :)

User Journal

Journal Journal: Linux RAID performance benchmarks

  I am setting up a new server, which has to be as fast as I can make it.  Quantifiable results are king here. Hopefully this will help others out, but I strongly recommend doing your own testing on your own configuration.

  I wrote a couple scripts.  One formats the array with a specific filesystem.  The second reads and writes.  Basically (in psuedocode)

echo 0 > a
while (i < 31)
cp a b
cat b > a
end

Here are the results, sorted by speed then RAID level.  My apologies for the layout on here.  I copy&pasted it from an OpenOffice spreadsheet.

fs    raid level    format (sec)    write 1g (sec)
xfs    0    2    20
jfs    0    n/a    20
ext2    0    60    20
ext4dev    0    48    22
ext3    0    62    22
reiser    0    n/a    25
ext4    5    77    32
ext4    0    49    32
ext4    1    61    33
xfs    5    9    48
jfs    5    n/a    50
ext4dev    5    74    50
ext2    5    93    55
reiser    5    n/a    58
ext3    5    94    61
jfs    1    n/a    66
xfs    1    2    68
reiser    1    n/a    69
ext4dev    1    59    70
ext2    1    63    70
ext3    1    68    72

The same list, ordered by filesystem and then raid level.

fs    raid level    format (sec)    write 1g (sec)
ext2    0    60    20
ext2    1    63    70
ext2    5    93    55
ext3    0    62    22
ext3    1    68    72
ext3    5    94    61
ext4    0    49    32
ext4    1    61    33
ext4    5    77    32
ext4dev    0    48    22
ext4dev    1    59    70
ext4dev    5    74    50
jfs    0    n/a    20
jfs    1    n/a    66
jfs    5    n/a    50
reiser    0    n/a    25
reiser    1    n/a    69
reiser    5    n/a    58
xfs    0    2    20
xfs    1    2    68
xfs    5    9    48

The machine for this test is a dual 4 core Opteron 2350 (8 cores total) with 64Gb RAM, 3 integrated nVidia MCP55 SATA controllers, and 4 500Gb Western Digital WD5001ABYS-0 SATA drives.  The OS is a plain installation of Slamd64 12.2 (Slackware for AMD64).  uname reports:
root @ vsql2 (/proc) uname -a
Linux vsql2 2.6.27.7 #1 SMP Sun Dec 7 22:31:27 GMT 2008 x86_64 Quad-Core AMD Opteron(tm) Processor 2350 AuthenticAMD GNU/Linux

I have not customized the kernel at all, which may lead to performance increases beyond this.  This wasn't a performance test, it was a filesystem and raid comparison.  For example, better SATA drivers should improve the performance, but that should directly scale.

The RAID configuration is as follows.  Each partition is a 100Gb partition, so they're each working with the same size space.

root @ vsql2 (/proc) cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid10] [raid6] [raid5] [raid4] [multipath]
md1 : active raid1 sdd2[2] sdc2[1] sdb2[0]
      104864192 blocks [3/3] [UUU]

md2 : active raid5 sdd3[2] sdc3[1] sdb3[0]
      209728384 blocks level 5, 64k chunk, algorithm 2 [3/3] [UUU]

md0 : active raid0 sdd1[2] sdc1[1] sdb1[0]
      314592576 blocks 64k chunks

unused devices: <none>

User Journal

Journal Journal: My positive contributions? Bwahahaha! 8

I got a new box on Slashdot this afternoon, thanking me for my 'positive contributions' and letting me turn off advertising because of them. Wait, there's advertising on the Internet now? When did that start?

User Journal

Journal Journal: Hey jcr, let's talk

So, what is your position on property ownership?
1.) Personal Property
I think, you work for it, it's yours. I help defend what you worked for from those who would take it unfairly, you do the same for me.
2.) Real Property
Natural resources should not be owned. If you are working an area, I'll ask if I can help and what the terms are before I help myself. If you claim an area you aren't working, I won't respect that unless you and I have made a personal deal to that regard. If someone tries to drive you from their land, I'll try to help you stop them, if you are willing to do the same for me.
3.) Intellectual Property
I'll always say where I got my ideas from. I'd like it if I could get some recognition for my good ideas.

Cooperation versus competition?
I think cooperation is almost always in an individual's self interest. Competition, of the form where some people have to 'lose' in order for others to win, is usually not in an individual's self interest, if it can be avoided.

Taking care of others?
I think desperate, frightened, hurt, or angry humans are the most dangerous thing on the planet. Making sure no one feels that way unnecessarily is in everyone's best interest. I resent people getting a free ride on the work some of us try to do making sure people aren't a danger due to desperation.

The free market?
A really good idea, in theory. However, a hybrid system where competition is balanced with cooperation is better for everyone. The benefits of such cooperation should be limited to other cooperators, and not extended to the ruthless and selfish.

That's a start.

User Journal

Journal Journal: A lovely Troll Tuesday

I just love trolling libertarians. They are so easy to work up into a frothing rage. Like flat-earthers and creationists, they have to shut off all logical parts of their minds in order to go on believing their patently untrue and counter-factual ideology. This makes them easy pickings for trolls. Now, unlike most trolls, I actually believe what I'm writing. But that's beside the point. The point is, watching stupid people get angry is fun.

User Journal

Journal Journal: Wiki-Dickery-Sock 1

From this comment by gringofrijolero, I got the idea to do a whole 'wiki-dickory-sock' song, I figure 8-10 verses would do. So, first verse, taking gringofrijolero's verse and making it more Wikipedia specific:

Wiki-Dickery-Sock
Rules lawyers ran out the clock
We all got bored
"Yeah, you're the lord."
Wiki-Dickery-Sock

Then the verse I came up with:

Wiki-Dickery-Sock
Deletionists erased 'River_Ock'
The river's not notable,
Its water's not potable,"
Wiki-Dickery-Sock

Now to expand on the examples I came up with in the thread:

Wiki-Dickery-Sock
The vandals defaced 'Iraq.'
They said it was good
When Saddam got wood
Wiki-Dickery-Sock

Hmm, the original rhyme does end with the same nonsense line it begins with, but Andrew Dice Clay uses the last line for the punchline to good comedic effect, perhaps I should here.

Wiki-Dickery-Sock
The vandals defaced 'Iraq.'
They said it was good
When Saddam got wood
So we banned their whole IP block.

But then there is the difficulty in coming up with twice as many relevant and funny '-ock' rhymes. Cock and block only go so far.

Wiki-Dickery-Sock
Deletionists erased 'River_Ock'
The river's not notable,
Its water's not potable,
Put it on the chopping block!

Wiki-Dickery-Sock
Rules lawyers ran out the clock
We all got bored
"Yeah, you're the lord."
(of making us sleepy, you cock)

Thought for latter 'Trekkies aren't quite as logical as Spock.' Work it in somehow. 'Puppet masters brought out every sock' will make a good last line somewhere.

User Journal

Journal Journal: Gas combustion expansion rates and golfball cannon 3

I was entertained looking at "spud guns". That is, guns that shoot potatoes. My thoughts went from potatoes to more interesting, and regular sized objects.

    I found a site talking about piercing a solid wood door (by mistake) with a tennis ball. Oops. :) I was thinking more life golf balls.

    One site I found claimed that with propane and atmospheric air, they achieved double the speed of sound (680 m/s or 1522 mph). That sounded unrealistic.

    So I was wondering, what are the combustion expansion rates of various available gasses. I figured with the intelligent people on here, someone may know.

    Propane and atmospheric air doesn't seem ideal. Most of the information I read pointed out a problem. After a single shot, the had to vent the combustion chamber, or it wouldn't fire again (not enough oxygen).

    So, here's my theoretical ideas.

    Propane/Oxygen, like from a small torch set available at any hardware store.

    MAPP gas/Oxygen

    Hydrogen/Oxygen, electrolyzed from water.

    Atomized gasoline and atmospheric air.

    Atomized aviation fuel (110LL) and NOS. :) Ok, I'm going a little overboard, and would probably blow the combustion chamber.

    Any are easily accessible, and could have good results, without the need to vent the chamber after each shot.

    I guess the other obvious question would be about the volume of expansion of the gas before combustion is complete. I saw some pictures of people using hair spray with an 8' barrel. I can't imagine the combustion created enough expansion to utilize that space, so it would actually slow it down towards the end of the barrel. I know properly sized firearms use the right size barrel, so the combustion is just almost finished by the time the bullet leaves the end of the barrel. Too much flash means there was still fuel to burn. No flash means the barrel was too long.

    This is all theoretical. I live in a lovely deed restricted residential community. I know any will go "BOOM" really nicely, so the neighbors may just complain a little. I'm just bothered that I couldn't find the combustion expansion properties of the gases.

    But someday, it may be fun to make one. :) I liked model rocketry and miniature blackpowder cannons as a kid, so this is just an extension of that. How can I make something go fast. :)

Slashdot Top Deals

HELP!!!! I'm being held prisoner in /usr/games/lib!

Working...