Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror
×
Cellphones

Journal Journal: I Hate Mobile Providers

It's that time of year again, where I realise I'm paying more than I need to for my phone and think about switching providers. Currently I'm paying abut £14 a month, for 100 minutes of calls and 40MB of data. I rarely make more than 60 minutes of calls in a month (I hate telephones), but I'd like more data so I can use my 770 as intended.

For the last four years, I have been looking for a service like this, where it provides calls but is mainly focussed on data. I am looking (somewhat half-heatedly, I admit) for jobs and the moment and so I don't know how long I will be staying in the UK for, making any contract with a minimum period unacceptable. This shouldn't be a problem, since I already own a phone so no network needs to make and recoup any investment (and yet most of them still require a minimum period of a year for a contract, and Three don't even offer SIM-only contracts).

Does anyone know of a UK operator which doesn't suck, and does provide intermittent data use for a reasonable rate? I am starting to think I should invest in WiMAX companies; at this rate they're going to make a killing when they start deploying over here...

OS X

Journal Journal: A Leopard ate my ~

There is no way I could feel more disdain for Apple's QA department than I do right now. It seems that, in spite of the fact Leopard was in development for over two years, no one bothered to test what happened when you updated an account using FileVault from Tiger. My experience was:

  1. The installer worked fine.
  2. I logged in, and used the OS for a day.
  3. The kernel paniced.
  4. On rebooting, my home directory was inaccessible, and Disk Utility was unable to repair the disk image.

Oh well, I thought. It's an occupational hazard when using an encrypted disk image for your home directory; if you don't get a clean shutdown then you can lose data. So, mindful of this, I restored from a recent backup and rebooted. Sure enough, there I was logged in again. Then, a few weeks later, I upgraded to 10.5.1, shut down cleanly, rebooted, and... couldn't log in. Apparently the disk image was corrupted. Worse, it turns out this is a known fault: Leopard always leaves FileVault home directories created with Tiger in an unmountable state when you log out.

I'm going to say that again:

Leopard always leaves FileVault home directories created with Tiger in an unmountable state when you log out.

What kind of monumentally incompetent design is this? I have no idea. Anyway, enough of the ranting. I'm sure what people really want to know is 'what do I do when my shiny new OS has just eaten 30GB of personal data.' Step one is to swear at Apple. A lot. Step two is to realise that this 'corrupt' disk image, with a 'bad superblock' actually mounts fine in Tiger still. Fortunately, I haven't 'up'graded my Powerbook to Leopard. I booted the MBP in target mode, mounted it on the PowerBook, mounted the disk image and copied all of the files out.

I now had /Users/theraven/theraven.sparseimage containing the disk image that Leopard was too inept to use and /Users/tr containing my files. After swapping these over, I rebooted. Could I log in? No. Now it didn't think that the disk image was corrupt, it just couldn't find it. A problem.

This lead to the question of how to tell OS X that I was no longer using FileVault. Apparently this isn't documented anywhere I could find via Google and so I had to spend a long time hunting through the filesystem. Thanks again Apple.

It turns out that the relevant file is /var/db/dslocal/nodes/Default/users/theraven.plist (where theraven is my username). To edit this, you have to log in as root. I did this by booting to single user mode (hold command-s on boot). Inside this file, you will find a key-value pair where the key is home_loc and the value is an array. If you delete this key, then it will fall back to using the home directory as a directory, rather than a mount point. You can then reboot (or just exit from single user mode) and log in. You can probably then reenable file vault and have it re-encrypt your data, but I think I want some confirmation from Apple that they are only mostly incompetent, rather than completely inept before doing this.

Once upon a time, Apple was known for attention to detail and thorough testing. I suppose their current activities are good news for Étoilé, but I'd rather we competed by raising our standards than by Apple lowering theirs.

User Journal

Journal Journal: Improve your posts and end world hunger 4

Someone just sent me the best link I've seen in a long time: http://freerice.com/index.php.

It's a simple vocabulary game which asks you to pick the closest synonym for a word from four options. It shows you adverts, and for every word you get right they donate 10 grains of rice to the UN World Food Program. It adjusts the difficulty based on how many you've got right so far, up to a maximum of 50. I seem to be hovering around he 40±2 mark at the moment.

EDIT: I got to 47 for a bit, but then dropped down again. Still haven't made it to 48, which they claim few people beat.

User Journal

Journal Journal: Keybindings in Discussion2 21

Since this is not yet documented, I figured I would mention this here now... we are experimenting with some very rudimentary keystroke navigation in the discussion2 system. We support both FPS style WASD keybindings, as well as the standard vi layout of HJKL. Down/Up will cycle you through next/previous comment chronologically... left/right will cycle you through next/previous in thread order. Holding SHIFT down while you press the navigation key will collapse the previous comment. And when you get to the end, pressing down or right will attempt to retrieve more comments if you want them.

What this means is that you can now use D2 to simulate most of the most popular viewing modes of the original discussion system. By dragging both the abbreviate & display sliders right next to each other you effectively remove abbreviated comments which simulates nested mode. By toggling comment retrieval order to 'Oldest First' and using up down, you can effectivel read the discussion from oldest to newest. And of course the default settings gives you the best comments first, providing a nice default view of discussions for most anonymous users (who rarely participate and we want to really show only the best comments).

You can also disable D2 in the comment prefs (the word 'prefs' in the floating dialog box) if you are logged in. Right now we're testing D2 for a large percentage of anonymous readers. As soon as we finish IE7 support we'll roll out D2 for the rest of the ACs.

User Journal

Journal Journal: A2 Party, T-Shirts, California 4

The Ann Arbor party seemed to go great- lots of people packed Leopold Bros place, doing battle with barflies and football fans. It was somewhat bizarre watching obvious normal bar people try to figure out what this large crowd of 'different' people were all about. We handed out a ton of t-shirts, drank much alcohol, ate nachos etc. Our party had a great number of Slashdot and SourceForge staffers... all folks who have been with Slashdot for so many years it's hard to remember Slashdot without them. I'm not exactly sure how many people eventually showed up... a lot of our RSVPs didn't show, and a lot more didn't bother sign up at all, so I think the two balanced out.

For me personally these sorts of things are always difficult. I'm not very good at crowds. I can smile for a picture, but I'm perpetually nervous when surrounded by strangers who have certain expectations of me. There's a reason I live life behind a keyboard!

Further compounding matters lately is baby induced chronic sleep deprivation. Me want REM cycles. It's always nice to get out and have a beer. Kathleen & I get only so many hours "out" together now, gotta make each one count. The party attendees were all cool... and understanding that I was pretty tired.

Anyway, thanks to everyone who showed up... I've still got the california party later this week. Hopefully my throat heals up by then. The only real problem with this location was the acoustics... I had to shout to be heard, and stick my ear in front of people to hear them (baby crying has done some amount of hopefully temporary ear damage). My throat is raaaaw from yelling. Sucking on cough drops helps.

As for other parties, boxes have been shipped. Hopefully they have arrived to most places on time, although I think they were shipped on a slowish shipping option so I'm not sure. I know some folks got shirts on friday, but I'm sure the others will arrive monday or so. Also, keep in mind that we only had 700 shirts and 2300 attendees from 136 parties with more than 5 attendees. So obviously not every party is getting a box... when we sent out the bulk mail, we had over 100 replies, and I'm sure there was nowhere near enough to fill even that.

But shirts or not, I hope your parties go well. Remember to submit videos or pictures or whatever to anniversary at slashdot dot org for your chance at the $1k ThinkGeek gift certificate grand prize.

User Journal

Journal Journal: Parties 10

So if you only count anniversary parties with 5 or more attendees, we have 128 venues with a grand total of 2366 attendees. The largest parties include Pudge's in seattle with 129, mine in Ann Arbor with 194 and Hemos's in CA with 197.

I'm sure that there will be many RSVPs that no show, but still, that's still an awful lot of interest. We'll be shipping shirts to a good number of those parties, but we have triple the attendees to shirts available, so we'll see just how far we're able to spread the love. Emails will be going out to party planners in the next couple days to get postal addresses.

Unix

Journal Journal: Decrypting the OpenBSD Theme Song 5

OpenBSD has just released the theme song for the 4.2 release. The song title is 100001 1010101. What does that mean?

Converting them to decimal, we get:

100001 = 32 + 1 = 33
1010101 = 64 + 16 + 4 + 1 = 85

As ASCII codes, these are ! and U. Not particularly meaningful, but it gives us a hint. Considering the song's subject some connection to money could be a good guess. Considering OpenBSD's focus on cryptography, it seems like it might be encrypted in some way, but presumably some way that's known to be insecure enough that someone with only two characters and a knowledge of the context can decrypt it. A Caesar Cypher is an obvious bet. Since it's in binary, a power of two seems like a nice bet for an easy-to-guess key. We want one that leaves both characters in the letters region of the character set (65-90, 97-122). Picking 32, we get:

1000001 = 64 + 1 = 65
1110101 = 64 + 32 + 16 + 4 + 1 = 117

This corresponds to the letters A and u. Since Au is the chemical element for gold, this is probably the answer.

Of course, with only a two-letter cyphertext and no knowledge of the algorithm or key, we can't be sure, and the 'real' decryption could be anything, but it seems likely that the correct answer is gold considering the subject of the song. Assuming it is a Caesar Cypher, we know that the distance between the two characters must be 52, so we can write a simple program that will output them all:

#include <stdio.h>

int main(void)
{
for(int i=0 ; i<128 ; i++)
{
printf("%d: %c%c\n", i - 33, (char)i, (char)(i + 52) & 127);
}
return 0;
}

The only results where both are in the letter range are:

32: Au
33: Bv
34: Cw
35: Dx
36: Ey
37: Fz

Of these, only Au is an atomic symbol. The others might have some other meaning, but Au still seems like the best bet. No other powers of two give us a value in the letter range, although 16 gives 1e, which might mean something to someone (decimal 30? ASCII code for record separator?).

In summary, the title for the new OpenBSD theme song could be anything, but is probably Gold. Also, I am definitely a geek.

User Journal

Journal Journal: A2 Party Venue Change

As we're nearing 100 signed up people for the A2 Slashdot anniversary party, we've changed the venue to Leopold Bros... it's just a block south from the other place and they can handle us. I've also got word that we'll be printing a few hundred extra shirts since there was already like 50 parties with 5+ people in attendance. We certainly won't have enough for everyone, but we'll make a good dent in it.

I will of course put this information into a story next reasonable chance I get for a story, but I figured at least I could get the word out there. The anniversary party entry on the official page has been updated with the new location & address.

User Journal

Journal Journal: Anniversary Parties, Important Notes 6

The A2 party already has like 70 signed up. We're going to have to rethink venue or time I think if we really have that many people. Wait a few more days and see what we can work out. Keep reading in the party forum for info. We have 500 shirts to print and hand out... it'll be fun to see where they go.

more info as I get it. There will be notes on future stories as days get closer.

User Journal

Journal Journal: Squash Ball: 1, Eye: 0 2

I recently started playing squash. It's quite fun, you put two people in a small room and they try to hit a small ball past each other. It turns out, this ball is almost exactly the same size as an eyeball. It also turns out to be somewhat more resilient than an eyeball. When I played last Thursday, the ball left my opponent's racket and went straight into my right eye.

This, perhaps unsurprisingly, way quite astonishingly painful. After about five minutes, my vision started to go cloudy, so I went to the hospital. One of the nice things about Swansea is that there is a hospital right next to the sports centre, which specialises in eyes. After waiting for a little while, someone shined a bright light in my eyes, poked them a bit, and gave me some drops to take. Apparently my iris was bleeding (hence the cloudy vision). I had to use two kinds of eye drops and go back the next day. By this time, it was hoped, the cloudiness would have cleared enough for the doctor to see into my eye and see if my retina had detached.

The next day, the cloudiness hadn't cleared much, but the doctor couldn't see any damage (but I have to go back after another three weeks to make absolutely sure).

Today, for the first time since the accident, I can see clearly. Unfortunately, the pupil on my right eye is still very dilated (I think this is the eye drops, but I'm not completely sure), and so I am having to wear sunglasses and sit in a dark room to avoid being dazzled. The good news is that the week-long moratorium on exercise is lifted tomorrow, so I can go to salsa in the evening.

Intel

Journal Journal: Intel Adds Vertex Shader Hardware Support

According to El Reg, Intel have added hardware vertex shader support to a number of their GPUs. Those affected by the driver update include the Q963, G965, 945G and the mobile GM965. Previously these parts only supported pixel shaders in hardware, and used a (slow) pure-software implementation for vertex shading. The hardware contains a mixture of fixed-function and programmable hardware; this driver update will use the programmable hardware to run vertex shaders.

The new drivers are Windows-only, but the existence of this functionality provides some hope that their Free Software drivers will also gain vertex shader support at some point.

Graphics

Journal Journal: Is 3D Hardware still Hard?

First generation video cards were basically a blob of memory and a DAC. Then came simple 3D cards that were basically rasterisers. Then the cards started doing transform, clipping, and lighting calculation all in hardware. Then manufacturers started moving away from the whole fixed-function concept. Modern graphics cards are basically floating point vector stream processors.

While the Open Graphics Project is aiming to build a fairly simple fixed-function device, I wonder if this is the best approach. It seems that it would be simpler to start with something like the OpenRISC core and:

  1. Remove the integer units (not needed).
  2. Increase the floating point pipeline width to 128 or 256 bits, giving 4-way SIMD on every operation.
  3. Add hardware support for trig operations.
  4. Stamp a few dozen of these cores onto a die.
  5. Do everything else in software.

You'd get a chip that is heavily optimised for doing graphical operations, but still a general purpose design, a lot like modern GPUs. The other benefit is that there are a lot more open source developers capable of writing software OpenGL implementations for this kind of device than there are able to make meaningful contributions to GPU design.

For bonus points, you could add a few stock OpenRISC cores, a memory controller, USB controller, etc to the design, and have a completely open source system-on-a-chip design.

Slashdot.org

Journal Journal: Attention iPhone Users! 20

If any of you are using an iPhone and are willing to help test out some Slashdot handheld crap, shoot me off a note... my email is the same address as always, and if you can't guess it, you probably can't help anyway ;) I've built a stylesheet and Tim put together a few little options that we think will make a few bits of Slashdot look nice on an iPhone (or really most lower resolution displays) but unfortunately none of us actually HAVE one yet... so anyway, let us know. Or if you work at Apple, send us freebies dammit!
User Journal

Journal Journal: DRM-Free iTunes 3

Apple launches a DRM-free version of iTunes, and the Slashdot coverage is an article bitching that it adds your name, email address, and date of purchase in the metadata.

The rest of the world seems to be having a slightly more positive reaction, judging by how badly lamped the iTunes store was when I tried checking it last night (song previews were failing to load, individual pages took thirty seconds or more, and the two albums I upgraded last night are still downloading).

Album upgrades cost 25% of the original price, which isn't too bad for doubling the quality and ditching the DRM. I'd bough 12 albums from iTMS (including one EP) before the DRM started irritating me by being incompatible with devices I wanted to use to play back music. Of those, only two were available DRM-free.

I plan on buying a few albums DRM-free in the next week or so. I hope other people will too, so that Apple can point at the proportion of DRM-free downloads and say to the other labels 'look how much money you are losing by not selling your tracks DRM-free.' Then all they need to do is get the price down to EmuSic levels (or, at least, the same price they have in the US, for those of us in the UK).

User Journal

Journal Journal: Hosting Resolved

I had another chat with my hosting company's CEO today, and he agreed to give me one of their standard plans for slightly less than it usually costs with twice as much bandwidth and a second IP. While this is still a bit more than some other companies, knowing that if stuff goes wrong I have email and IM addresses for the CEO, CTO and head tech and can bitch at them until someone fixes it probably makes it worth while. They extended my existing contract by a month to give me time to shop around for a new host, and then agreed to the suggestion I felt fair after I'd looked at some of their competitors.

Mac Mini Colo are now back on my 'would recommend' list. Anyone looking for hosting that falls somewhere between low end dedicated servers and high-end virtual private servers would do well to check them out.

In a year, I will probably move to a Xen-based solution, but at the moment they tend not to have enough RAM or disk space. Anyone looking at starting a hosting business should take note of this. There is a serious shortage of VPS solutions with decent amounts of disk space and RAM. Get some 750GB disks (maybe RAID-1, two per machine), and 5-6GB of RAM, and you can put 10 VMs with decent specs in each node. CPU is rarely the limiting factor for budget hosting, and live migration can help out a lot here if you choose to go for a SAN backend and just have a lot of disks somewhere in your rack.

Slashdot Top Deals

We are each entitled to our own opinion, but no one is entitled to his own facts. -- Patrick Moynihan

Working...