March 2006 Archives
gedit has this nice feature where it asks you what character set encoding a document is in if it can't decide this for itself. I'm not familiar with the mechanism that is being used for this, but it probably has something to do with ninja badgers, character counting and a telepathic link to the borg collective. The problem is that if it has to give up on guessing what the file is, there's no way to force the file to be opened as any file type at all. I encountered this when trying to access some old data that had trailing NULL characters at the end of the file. The problem is that there's no 'mangle it to this file type and show it to me' option.
For me, this solved the problem.
Finally an email that only weighs in at 5k (damned html email). It contains a link to pictures. Now if only he would not have his website in a notes database. It just makes me cringe when I see it. It's so... wrong. There's no other word for it.
Theoretically, you can embed ID tags into mp3 files once they are out of frame. The property of the tag is that it appears as junk for non-supporting applications. Embedding audio bumpers at the start and finish is trivial (you may need to eat a v1.1 tag at the end of the file).
Other trivial pieces of information I discovered today - WiFi is a pun-term of HiFi, and doesn't stand for Wireless Fidelity, it was simply the name that the ad execs came up with when asked (as 802.11 doesn't have a ring to it). [via The old new thing]
| You Are Teal Green |
![]() Expressive and creative, you have a knack for making the impossible possible. While you are a bit offbeat, you don't scare people away with your quirks. Your warm personality nicely counteracts and strange habits you may have. |
It really is annoying, they keep hitting the same problems again and again and again. You would think they could get to the solution without having to suffer through so many problems. Case in point, season 2, I think, and the Israeli agent gets dragged out of the SUV and beaten to death by the racist hicks just to add another two hours to the storyline (minimum). In a movie there wouldn't be a twist like that because it kills the bloody story, and drags things out so much that you just want to shout at the TV to speed things up.
Of course I was watching the show on DVD, so it made all the delays more painful. I presume if it was on TV that the delays would not have felt so bad. I gave up after season 2, I just don't have patience for a directed yet unfocused show.
Hang on a minute, my favourite shows over the last while have all be japanese anime, which has the distinction of regular bouts of aimlessness. The advantage is that they're only 22 odd minutes each which makes them a lot easier to digest.
Anyone else got a tune-in?
AIR, which really touched me. Kanon is another show that got me.
IMDB link.
640x480 (or 800x600 I think) VGA graphics drive, no wifi, no networking, no bluetooth. Pretty much useless from the usable laptop front. I'd take Linux on it before Windows if that's the case. Of course theres a fully functional unix machine under the hood for Mac OS X, and while someone will probably want to shoot me for it, the fact that it's proprietary isn't too much of a big loss.
I was talking to my mate Mark on St. Paddys day about Hyper Threading processors, and he was mentioning that they're not the best at high-performance computation (without extensive and expensive hints in the code). I agreed, mentioning that the latest generation of multi-core processors offer roughly equivalent cost and scale almost multi-processorly. I then went on to explain that the multi-threaded processors are better for I/O workloads, you shove a lot of the scheduling cost back into the silicon where it belongs, rather than having the OS deal with it in software.
For a big server, performing lots of I/O, a multi-core and multi-threaded processor would be the best of both worlds, and based on the direction that Sun is taking with the Niagra system, one can see that this can be taken to a scary extreme - consider 8 core with 8 threads per core all on the one processor module. The power-savings alone would be enough to warrant buying these machines.
Im still waiting for quotes on a few more laptops. I can wait, I just don't know for how much longer. Meanwhile I'll probably buy a phone. Nokia 6230i looks like a cheap and easy option - buyable from €260.19. Or maybe an annoying smartphone like the iMate PDA 2K (it's the original of the O2 XDA IIs).
I'm considering getting a new laptop (again) and I've reached the point where the hardware that's available is reaching what I want. It needs dual-core processor; I'm not getting another uni-processor machine again. Acer have dual core centrino models, with a decent graphics card. The only problems are the DVD drive and the video card. It's a DVD-RAM drive. It won't region free! it's the same problem as the Ferraris. I don't want to re-code all the non region-2 discs I have. That would be a pain in the ass. The video card isn't supported in Linux either, which is another annoyance. I hope that ATI release a driver for the X1000 family soon.
Alternatives are Alienware and their Aurora m7700, which has an athlon processor. Has a more supported graphics card, but it's about twice as expensive as the Acer. Then there's the Widow PC laptop. Still the price tag problem.
Until I get a new laptop, I'll have to be happy with the one I have. It's an early generation centrino, so I've only got a/b wireless, and an integrated GPU. It works well for what I'm doing (programming, watching movies, occasional game).
Shame that Dell haven't caught up on dual core for the gaming laptop.
This complaint was brought to you by people who care how network bandwidth is being consumed.
If I was listening to music at this time, I would be listening to Stinkarelli; I watch too much TV
Could it be that having Splinter Cell and F.E.A.R. installed on the computer at the same time could be causing problems? Or was it an incorrect patch, as it worked before I applied the patch.
Annoying, I'll just have to stick to playing Splinter Cell until I'm finished it.
This Update is only compatible with the English (United States) version of F.E.A.R. Please use the correct Update for the installed version of the game.This was the auto-update tool that came with the application. What a waste of my bandwidth!
Aaaaaaargh!
honestly, the overall quality of movies this year was terrible! Make better movies on a lower budget and don't shove the horrible ones on us because you have the money to advertise them.
I never realized (until I saw it ono IMDB) that the full title of 'The Talented Mr. Ripley' was 'The Mysterious Yearning Secretive Sad Lonely Troubled Confused Loving Musical Gifted Intelligent Beautiful Tender Sensitive Haunted Passionate Talented Mr. Ripley'. What a sad title.
Besides, I got such slagging over the Marmalade pudding recipe.
- 4oz. Margarine
- 4oz. Sugar
- 2 Tablesp. Water
- 6oz. self-raising flour
- 2 eggs
- 1/4 Teasp. salt
- Flavouring
Method:
cream fat and sugar, beat in the whisked eggs, stir in the flour and salt with added water, Steam or bake.
For Marmalade Pudding:
Add one large tablesp. of marmalade to the foundation mixture. Steam and serve with Marmalade sauce.
To Steam:
-
- use a steamer over a pan of boiling water.
- Have a well fitting lid.
- Keep water boiling and steaming all the time
- Place the pudding basin in a saucepan with boiling water.
- Water should come half way up the sides of the basin
- Keep the water boiling, and as it boils away, fill up with boiling water, but do not wet the top of the pudding
- Steam in a pressure cooker, according to instructions.
Time for steaming is about 1.5 hours for a pudding made from 6-8oz. flour.
Turning out: A light pudding breaks easily, so loosen it gently from the sides of the basin with a flexible round-ended blade, which should be pressed against the side of the basin, not the pudding.
When loose, cover the basin with a hot dish and invert quickly.
A good pudding may be marred by careless serving and enhanced by dainty dishing.
To Bake:
Use a pie dish, cake tin, soufflé tin, fireproof dish, ring mould, small moulds or deep bun tins.
Grease well.
Line the base of any flat-bottomed tin so that pudding will turn out easily.Bake in a moderate oven (350f or No. 4)
Small moulds may be baked at a slightly higher temperature than large ones.
Time required: 30-40 minutes for large and 15-20 for small moulds.
This was in foot of the new legislation that had been introduced for the storage of all internet communications for an arbitrary time. Every bit was being recorded just in case it needed to be checked at a later time for terrorist activities.
This nightmare took a strange turn when I examined the data gathering software. It was performing a simple data dump of everything that was passing through. Because of the vast quantity of data, nothing was being done to ensure that it could not be tampered with by anyone should they have access to the data. At a later point one of my friends found himself in court facing a criminal charge of conspiracy to commit murder based on the content of one of the logs that had been recorded.
It's scary, but it is possible for it to happen. The question beomes how do we ensure the integrity of the data that is in the recording? If you wanted to prevent accidental tampering with the data, then using some form of checksum on individual blocks of data would provide for that, however a malicious tamperer could simply alter the checksum for the given blocks to prevent their detection. Based on the quantity of information being gathered, you could chain the checksums. Initialize the first block to some random piece of information. checksum it. For the next checksum initialize it from the content of the previous checksum. The principle is used in various encryption systems (Cipher Block Chaining). If you wish to tamper with the data in-stream you need to alter the checksum from the point of alteration to the end of the recording.
As simulteneously you have a program continually writing new blocks of information to the storage device, you would need to either (a) insinuate a program that would alter the checksums as they are written to the device, or (b) interfere with the recording program to possess the new checksum just prior to the next write to the device, thereby having it perform the updating for you.
Both techniques are not impossible to perform, in fact the first is downright trivial. The only way of bypassing this sort of tampering is to ensure that the recording device is isolated in some way from the data that it is recording.
For this purpose, it would need to be a specially assembled recording device which possesses two fail-hot network interfaces as it's only method of communication to the outside world. A fail-hot network interface pair is one that when the power is removed simply keeps the network traffic passing through without interruption.
Secondly it would just record the data, it would have no interpretation capabilities. The reason for this is to remove any chance that it could be subverted through maliciously formed network packets.
The box should be tamper-evident. by having this facility, any efforts to extract the data through physical manipulation of the recording device would be easily noticed, thus rendering the data recorded inadmissable in a court. Tampering with the device would be a criminal offence.
The device would need to be regularly inspected, hot-swapping new devices for old ones so the data recording could carry on uninterrupted.
