Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
User Journal

Journal Journal: Hard drives 6

Time for more storage. Where's the current sweet spot? It looks like drives are considerably more expensive than I was expecting. I'm guessing that's still a hangover from the flooding in the Far East. I'm considering a Samsung HD204UI or a Seagate ST2000DL003. Both are 2TB, which is about right for what I need. Both are slow (5400 and 5900 rpm respectively). That's OK. I/O performance is not the bottleneck here. That said, I'd rather have a bit quicker, but going up to 7200 rpm adds significant extra expenditure.

I'm way out of touch with PC hardware standards. The Seagate is nominally SATA III (a misnomer, IIRC). Will that be backwardly compatible with my SATA I/II controllers, or will I need to upgrade those as well? Any other suggestions on models I should be looking at, or things I should be considering?

User Journal

Journal Journal: Mozilla 9

Dear Mozilla developers. I know you're a bunch of incompetent morons, but would it really be so hard to change that and release a decent product? Please?

User Journal

Journal Journal: The Good Slashkeeping Seal of Approval

Coined this today. Sounds like a winner - an award for the coolest application of technology. Doesn't have to be useful, just very, very cool.

Programming

Journal Journal: On coding 8

Object orientation and code readability are mostly mutually exclusive.
User Journal

Journal Journal: The perils of progress 5

Ever increasing storage capacity is making me lazy. In years gone by, when resources were more limited, a full filesystem would be cause for investigation, to find out why it had become full, and what could be done about it. These days, the easy option is to just extend the volume a bit more and grow the filesystem. I'm running a bit low on free PV space, so last week I didn't grow my home filesystem by as much as I normally would when it filled up. But even so, I was a little surprised to find out that within a couple of days it was already full again. That's not normal. It turned out that a single log file was continually growing and had taken up nearly a third of the total space on that filesystem. But because the default assumption is that I have more disk space than I'll be able to use, I hadn't been keeping an eye on what was taking up the space. D'oh! So a single rm has taken me back to having loads of free space.

User Journal

Journal Journal: teh google+ 3

I'm digging G+ more and more. Feel free to add me to your whatever circles. I have a "/.ers" circle.

my g+ profile

Android

Journal Journal: Even Caffeine Is Failing Me Now 1

Who wants post caffeine withdrawals? Not me. So I drink watered down coffee. It only takes a small amount of caffeine to kick-start someone, anything after that is wasted and makes coming down off it that much more regrettable. I also like to sleep at night, not twitch and throw all my covers on the floor.

I'm tired. Bone tired. Caffeine can't do anything about that. Need to hit the hay earlier. Stop eating junk, too.

Gonna be a challenge though. Got an Android tablet today. Want to try all sorts of fun stuff. Install Apache and PHP on it. See if I can make it wireless server. That'd be killer fun.

Ah. But need sleep.

Decisions. Decisions.

User Journal

Journal Journal: PyCon 2011 4

I am in Atlanta for PyCon, and you're on Slashdot reading about it. So there. Neener neener neener.

User Journal

Journal Journal: Farewell Libya 17

So Libya has cut itself off from the net. This isn't an entirely unexpected move. But it has the side effect of screwing over anyone with a .ly domain. The main loser there is probably bit.ly. It still seems to be up at the moment, but I'm guessing that DNS caches will expire soon enough and then they'll be in trouble.

But somehow I just can't find it in me to feel any sympathy for them. At the time they launched, I pointed out that they were putting themselves at the mercy of the Libyan government. But it seems they preferred the two digit .ly ccTLD to the three digit .com domain they could have used instead. There are times when convenience trumps reliability. But this wasn't one of them. I wasn't expecting it to go wrong as quickly as it did, but I was aware of the possibility. It seems they either weren't aware of it, or chose to ignore the risk. That wasn't the wisest move in the world, even without the benefit of hindsight.

Maybe it'll act as a warning to those who have jumped on the .co bandwagon recently. But I doubt it. So I won't be surprised if the Colombian government screws them over at some point, in the same way the Libyan government has just done. And I won't have any sympathy for them, either.

User Journal

Journal Journal: Circular dependencies in three languages 1

Here are six files for ya, showing a problem in 3 different scripting languages. What will they do?
--------- test1.php:
<?php
require 'test2.php';

define('SOMECONSTANT','hello world');

function foo() {
                return SOMECONSTANT;
}

echo foo(); echo "\n";

--------- test2.php:
<?php
require_once 'test1.php';

echo foo(); echo "\n";
--------- test1.py:
#!/usr/bin/python
import test2

SOMECONSTANT='hello world'

def foo():
                return SOMECONSTANT

print foo()
--------- test2.py:
#!/usr/bin/python
import test1

print test1.foo()
--------- test1.rb:
#!/usr/bin/ruby
require 'test2.rb'

SOMECONSTANT='hello world'

def foo
                SOMECONSTANT
end

puts foo()
--------- test2.rb:
#!/usr/bin/ruby
require 'test1.rb'

puts foo()
---------
Ok, scriptfiends, predict the output of these three commands:
php -q -f test1.php
python test1.py
ruby test1.rb

and then do some pasting and try it out. Match your predictions?

The PHP one bit me pretty hard today.

User Journal

Journal Journal: Star Trek meets Candyland 5


The other day my family was playing Candyland. Our daughter was getting into it so I started playing some classic Star Trek fight music.
The music ends just as she advances to GLORIOUS VICTORY!

YouTube video here

It's awesome, not that I'm biased... :)
User Journal

Journal Journal: One Too Many 2

I have a password written on a post-it note underneath my keyboard. Decades went by without this ever having happened, but now I have one of these. [rationalize]And I'm keeping the post-it, because it'll probably be months or years before I ever need that password again, so there's just no chance I'll be able to remember it (it's actually a pretty well-made password).[/rationalize] OTOH, I suppose I could just throw it away and then the next time I need it, ask someone for it again. [truth]But no, it amuses me that I've entered the ranks of people with passwords on post-its at their desks, so I'm keeping it, for that reason if nothing else.[/truth]

Slashdot Top Deals

If the aborigine drafted an IQ test, all of Western civilization would presumably flunk it. -- Stanley Garn

Working...