Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: WTF? 1

leto:/stuff% mkdir mp3
mkdir: cannot create directory `mp3': No space left on device
leto:/stuff% mkdir qwe
leto:/stuff% mv qwe mp3
leto:/stuff% ls -ld mp3
drwxrwxr-x. 2 tet tet 4096 Dec 22 20:53 mp3
leto:/stuff% df -h .
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/leto-stuff 30G 9.9G 19G 35% /stuff
leto:/stuff% df -hi .
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/mapper/leto-stuff 1.9M 322 1.9M 1% /stuff

This appears to be 100% repeatable behaviour.

User Journal

Journal Journal: Vindicated 4

My decision to rip all of my audio losslessly to FLAC has been vindicated. I rip to Vorbis as well, but I always thought it was worth having the lossless originals around too. That way, if a new codec arrived on the scene at a later date, I could rerip to that without any further loss of quality. That codec is now here. Hello, Opus!

Programming

Journal Journal: Javascript 1

I'd forgotten how much I hated Javascript. I very much appear better suited to server programming than to web programming...

User Journal

Journal Journal: On the merits of redundancy 3

Some people think I'm paranoid. I wouldn't say so. It's just that I pay more attention to the potential worst case outcome that some. So when it comes to storage, I have a mirrored RAID array in my home server. The contents are backed up to a separate disk in the same machine. I also have an offsite backup in a datacentre.

My offsite backup machine died, and is now sat at home waiting for me to rebuild it. So it was somewhat alarming when my backup drive also died. Uncomfortable about running with less redundancy than normal, I immediately went out and bought a replacement drive. When checking the drives in the machine to see which one I needed to pull out, I noticed that one of the mirrored drives had also failed and the array was running in degraded state. Eeeek! Of my four levels of redundancy, three had failed. If I'd had fewer, I'd be screwed right now!

I'm not sure why I wasn't notified about the RAID failure. Normally I automatically get an email when the array enters a degraded state. That's something I need to look into. For now, the array is rebuilding. I'll fit the new backup drive when I get home this evening.

User Journal

Journal Journal: Getting a Job 4

Someone on Slashdot recently claimed I hadn't read Keep the Aspidistra Flying because I thought the ending was depressing. After I finished my PhD in 2007, I've managed to avoid the same fate and have successfully avoided having a real job for almost five years. I've done freelance programming and written four books, and had a lot of time to post on Slashdot (as you can tell from the fact that, so far, I've posted more than anyone else this quarter) and do open source stuff (Ohloh ranks me in the top 2,000 geeks with no life^W^W^W^Wopen source developers).

That's about to change though. I had two interesting job offers recently (I seem to get job offers from banks very often, but I have a very low tolerance for tedium, so I'd probably have been fired around day 3 if I'd taken any of them). One was from Google in Paris (yay!) but working on boring things (boo!). The other was from Cambridge University, which is about as well paid as you expect in academia (aww!) but basically involves working on the same stuff I do for fun (yay!) with some very intelligent people (yay!). Oh, and it's in a city where a quick search found four tango classes (yay!) and property prices not much lower than London (oops!) and which is both small and flat enough that I can cycle everywhere (yay!) and so does everyone else (look out!).

So, in a few weeks I'm moving to Cambridge. I'll miss looking out at the sea, but being able to dance tango more than once a week should be some compensation. There also seems to be a lively salsa scene, although having to learn yet another set of names for the same Rueda steps is going to be a little tiresome...

When I visited, I went for drinks with some of the makerspace guys the night before my interview (I have no idea how much I drank, but it didn't seem to affect my interview performance too badly...) and met someone who worked on the C++11 atomics spec (which I was in the middle of implementing at the time) and someone who had ported 2BSD to a 32-bit PIC with 128KB of RAM, so it definitely seems like a city with no shortage of geeks...

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?

Programming

Journal Journal: On coding 8

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

Journal Journal: Wow, I Need to Get a Life 5

This weekend (I think, maybe earlier), Slashdot published some statistics about the most active people. Apparently I am in the top four most active commenters for the past month and the past quarter. This is quite depressing.

In happier, and unrelated news, my FreeBSD commit bit was approved this weekend, so I can now cause untold destruction on the Internet at large...

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: What Phone? 6

My current phone is a Nokia N80. I've had it a few years and I'm reasonably happy with it, but it has a fault with the charging circuit and it's pretty bulky, so I'm thinking about replacing it. Unfortunately, there seem to be about 3,000 different options with no competent way of way of working out which one is sensible.

I mainly use my phone as... a phone. So, the most important feature for me is the ability to make and receive calls. Because I am a cheapskate, this includes SIP (and WiFi), since my SIP provider charges a lot less than my mobile provider when calling landlines. I really like WebOS in terms of UI, but that seems to rule the Pre out because the only WebOS SIP client is alpha quality and doesn't integrate with the address book. This is something that Nokia does really well - the SIP client is fully integrated, so I can just select someone from my address book and select Internet Call to make the call. No extra skill required.

Beyond that, the only thing I really need is to be able to sync contacts via bluetooth and to use it as a modem via bluetooth - both pretty standard features, I'd assume, since my last three phones have had them.

In terms of smartphone features, I'm not that bothered. A programming environment that supports native code so that I can port my ObjC runtime would be nice - I have no interest in VM-based crap - but aside from that I don't have any strong requirements.

I would, however, like decent battery life and a small size, and ideally a nice camera. The bulk and poor battery life of my N80 means that I quite often leave it at home.

So, any suggestions?

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.

Slashdot Top Deals

Remember to say hello to your bank teller.

Working...