• Home
  • Downloads
  • Services
  • Hello
  • Webmail

Less speed, more haste

Jan13
2012
avatar Written by Alex

From LinkedIn today:

Chris Yiu is now connected to Helen Lewis, Digtal enagement manager at HM Treasury

Doesn’t bode well for Helen Lewis’ digital engagements, huh?

Posted in Uncategorized

A new year

Jan01
2012
avatar Written by Alex

Happy New Year to all!

 

Posted in Uncategorized

Modifying codecs

Nov16
2011
avatar Written by Alex

Does anybody know how to have partial subtitles in an .mp4 file? So far I have all, or none. I don’t need subtitles for a predominantly English film, but then I do need them in the one or two scenes that are in other languages…

This is automatic on a normal DVD stream, so I imagine it must be possible?

</alex>

Posted in Uncategorized

Changing codecs

Oct22
2011
avatar Written by Alex

Like many people, I have a fair number of DVDs; and given the upscaling strengths of both the PS3 and Denon amplifier, I don’t have many Blueray discs. In fact, the PS3 is almost exclusively used as a media player since it ties beautifully to the NAS on which I store every bit of non-DVD media; and every CD I buy gets ripped to mp3 and dutifully archived in the loft…

Given this trend, I’ve decided to take a similar approach to the DVDs, and store the lot of them digitally instead. My experience of this process goes back almost 15 years now and I would normally just use DivX and mp3 audio as my codec-of-choice. However, a few keys things have changed since those heady days of Winamp:

Firstly, I find that between the PS3, the Samsung TV and VLC on various computers, AVI containers with DivX video just aren’t reliable as a storage method. What plays on one won’t on the other; audio synchronization can be as issue; and there are filesize limitations. The new kid on the block appears to be MKV, but that has inconsistent support – so it doesn’t really solve the problem.

Secondly, 15-10 years ago, disk sizes were in the 10-100GB range. I remember having my first RAID disaster with an array of five 120GB disks. These days, 2TB is the norm and (subject to regional floods) can be got for almost nothing. So, whilst my gut instinct is to stick to the ~700MB per film approach I used to, I don’t intend to burn these to disc nor do I care about the capacity I’ll use (within reason!).

Lastly, I used to use stereo MP3, and that was (and is) fine for audio that requires nothing more. I never used to have decent surround sound equipment, nor the desire to sacrifice video quality within the tight constraint of that 700MB target filesize. These days however, I just can’t think why I shouldn’t retain all 5.1 surround sound channels.

With these new requirements in mind then, I’ve elected for MP4 containers with h264/AAC encoding. Some tests I’ve run show 320kbps AAC audio with 1.1Mbps h264 video runs at about 10MB/minute, with quality pretty indistinguishable from the original DVD. It also plays nicely with every piece of equipment I own.

The problem I have is that I have no idea on the optimum way to convert what video I already have. With a couple of thousand existing video files in predominantly AVI(Divx) format, I need something scripted; ffmpeg is likely the correct option, but whilst I can put together conversion parameters that do the job, the resulting quality is abysmal. Answers on a (h264) postcard…

</alex>

Posted in Uncategorized

iConsumer

Oct14
2011
avatar Written by Alex

I recently posted a short comment on Google+ in relation to an article in the The Daily Mail online; an article about the release of Apple’s iPhone 4s in which a man had camped outside an Apple shop in Covent Garden for ten days in order to be the first in line. There were similar idiotic motions made by countless others across the globe presented in the article. I just want to break that down…

A phone is produced. A good smartphone, sure, but alas just a phone. It has some features that make for a good choice if one is in the market: buying their first phone in a while, or if one needs to buy a new phone for one reason or another. However, here we have a man who has essentially pretended to be homeless for almost two weeks not because he needed to, nor because it was some absurd condition of being able to purchase said phone; but because for some unbelievable reason he decided he had to be the first to buy it. I realise that with countless other sheeple, not queuing might mean that you wouldn’t manage to buy one on the day of release… but when it’s just a phone I fail to see what the problem is in waiting another two weeks.

I also wonder who it is in society that can afford a £500 consumerist gadget, and yet also afford to spend ten days sat on a pavement. Was this his vacation, in which case I’d argue a serious mental health problem? Or is he one of the countless unemployed on benefits who somehow still have large quantities of free cash to spend on needless nice-to-haves? Either way, I see a problem.

This man is undoubtedly an Apple ‘fanboi’, and the extent to which Apple ‘fandom’ exists is something I can literally not fathom – I am totally and utterly incapable of understanding it. The Onion, famed for piss-take satire, writes stories that have been becoming more and more realistic for a while now, and worryingly it’s the world that getting more ridiculous than The Onion less so. Indeed, following the death of Steve Jobs they hit the nail absolutely perfectly on the head.

What bugs me most about this delusional worship is something shared by many others’ posts that I’ve read: that Steve Jobs did not cure cancer, nor work to reduce poverty or deliver peace. He was an almost textbook-definition capitalist who manufactured need-less western middle-class gadgets that do very little in the support of humanity. To my knowledge, he himself was not a noted philanthropist, and neither is the company he ran (though that’s not to say neither were charitable). The products he manufactured, though shiny and clearly excellently marketed, were not innovative; and they were manufactured in Asia under immense pressure and with very little regard for human rights – all purely because Apple’s desire for wealth is apparently more important than such small matters as the string of worker suicides.

What gets me though more than all that greed, is that it’s based on the manufacture and sale of devices that people do not actually need! The man camping on the pavement no doubt already had an iPhone 4: his ‘need’ – and I mean need as in ‘need to eat’ – for the new model is literally non-existent. In the words of The Onion, these people “reportedly needs to get [their] fucking priorities straight”.

</alex>

Posted in Uncategorized

Webmail upgrade

Oct09
2011
avatar Written by Alex

Webmail has been upgraded.

Along with a slew of bug fixes, the notable new feature seems to be a fully-functional address book.

Posted in Uncategorized

Thought provocation

Sep29
2011
avatar Written by Alex

Claire’s been reading. And I for one don’t envy her. Of a 119-page document (one of many), a single figure she quoted jumped out as rather surprising for me; and, given a single sentence can provoke so much subsequent analysis, I fear for what the remaining 118.9 pages may contain.

The particular statistic mentioned was that when a habitat’s size is increased by a factor of ten, the number of species only doubles. I’m not sure of the wider context in which this was stated – and in particular whether it was presented as a problem – but it immediately implies a number of things as far as I can tell:

1. Species density is non-linear. That is to say that the number of species found per unit of land area is not linearly correlated. The following chart based on the quoted statistic shows this more clearly (assuming a starting point of 100 species in 100 units of land area):

Chart showing species density2. As land area decreases, the number of species decreases (tending towards zero) but at a much slower rate. This implies that you’ll run out of land leaving some species with no habitat (but still present).

3. As land area increases, the number of species increases (tending towards infinity) but at a much slower rate. This implies (given a finite maximum land area on our planet) that there is a finite maximum number of species the earth can accomodate.

4. The non-linear relationship implies some kind of ‘compression’. That is to say, as land area is reduced by 90%, the species density (note not population density) is reduced by only 50%. This equates to an increase in the number of species per land-area-unit of 500%.

5. This increase of 500% implies an inherent change to inter-species relationships; specifically the food chain (to me at any rate). After all, as you crush competing species together with ever-increased resource shortages – living space, food resources, etc. – it makes sense that competition will increase correspondingly. Dramatic changes to environmental or inter-species relationships are – under Punctuated Equilibrium Darwinism – believed to be a key driver for an increase in the rate of evolution.

6. An increase in the rate of evolution should be measurable, primarily by intra-species variations.

This last one is particularly interesting to me. If punctuated equilibrium were true, and we would see an increased rate of evolution in habitats under threat (and assuming the rate of evolution were fast enough to cope with the rate of habitat destruction), then is habitat destruction implicitly bad? Is it true to say that evolution is inherently positive, given its definition being ‘survival of the fittest’?

And, what of the inverse? The above supposition would suggest that given an abundance of available habitat and resources, the rate of evolution would slow down. Is that inherently bad?

I don’t know the answers, or even whether inferences drawn from theories like PED are necessarily valid. But like I say, I don’t envy Claire the work she has ahead – just the subject matter :)

</alex>

Posted in Uncategorized

You get what you pay for…

Sep23
2011
avatar Written by Alex

The old adage the “you get what you pay for” is mostly true. It means you don’t get anything for free, and where you scrimp on the cost you’ll tend to get cheap crap in return.

This is certainly true in the broadband market: if you see a high headline rate for peanuts (think adverts for ‘unlimited’ 24MBps broadband at just £5/mth), then the chances are pretty high that you’ll be throttled to hell and cut off after you’ve managed to download a couple of gigabytes. Similarly if you pay more for a more honest ISP – ‘honest’ in that they don’t massively oversell their backbone network – then you’ll typically see much more reliable (and faster) results.

Now, regardless of all that, we all get screwed by the fact that the performance of xDSL technologies degrades over distance: that 24MBps might be almost true if you sleep under a desk in the exchange; it certainly isn’t true if (like me) you live a good few kilometers away. This problem is the catalyst for no end of inventive measures taken by users, from foil wrapping cables to eliminate noise, to establishing private microwave links to friends with faster connections. Me? I stick with BE who at least allow me to control the all-too-critical SNR ratio myself for a fairly reasonable price.

The SNR ratio determines the balance between all-out-hell-for-leather speed and make-it-actually-usable reliability. At one end of the spectrum you’ll have a line that synchronises at a high speed but is so noisy that packets get garbled along the way; the result is a slower real-world speed because all those garbled packets need to be retransmitted (probably repeatedly) until they come through in one piece. At the other end, you have a line configured for reliability, where potential speed is sacrificed to esnure all packets come through in one attempt. Obviously, the balance lies in the middle: there is always a sweet spot where the optimum SNR lies, and it’s always some way below the ISP’s determined setting (they want to avoid you phoning in and costing them money of course).

Unlike most ISPs, my BE line lets me set that figure. Their fastest setting gave a 20% speed boost over my previous ISP with no (perceptible) reliability issues. Great! I’ve now long believed that this is about the maximum speed my 6km-long line can support.

But, it turns out that, just rarely, you get more than what you pay for. In my case, I have a Billion 7800n router that is pretty awesome. It’s awesome before you know about the hidden /snr.html page. After that you discover it’s friggin’ marvelous! – it’s simply the best router you can buy for xDSL internet access (IMHO) … Why? Because it allows me to set my SNR below even BE’s lower limit, and somehow manages to still pull it off with no (perceptible) reliability issues.

The end result? Another 25% speed increase for free, gratis, nada.

</alex>

Posted in Uncategorized

Amazing Amazon

Sep22
2011
avatar Written by Alex

OK. Those who know me well know that I’ll give people (or companies) a hard time when they need a good kick up the arse. Those who know me really well know I’ll also go out of my way to recognize the exceptional.

In Cyprus I dropped my Kindle. It was in its case, and was dropped from only a couple of feet, but I dropped it through clumsiness and the screen cracked. I didn’t buy the nice scotch at the airport on the basis that it cost the same as the replacement Kindle I expected to have to buy.

Cue Amazing Amazon. Yesterday morning at around 8am I clicked the ‘Contact Us’ button on their website and within 10 seconds had a call from them. Having explained my clumsiness and that my Kindle is 11 month’s old and well used/loved/battered, the very helpful guy on the other end explained that they believe a Kindle should survive a 5 foot fall and he’d therefore send me a replacement. That replacement turned up now.

Let’s recap: I have a device that’s barely within its warranty. I’m clumsy. I drop my device. I break my device. There’s no manufacturer fault at all.

And yet Amazon manage not only to take it on the chin on my behalf but get me a replacement device within 26 hours. Oh, and they’ll pick up the other one from anywhere, whenever, at my convenience.

THAT my friends is how to run a business and keep your customers fiercely loyal! Amazon, I’m yours.

</alex>

Posted in Uncategorized

Erect, oink moos / Cookies Mentor

Aug16
2011
avatar Written by Alex

I don’t understand why the web is pretty unusable without cookies.

I’ve taken to using the excellent Cookie Monster add-on for Firefox to eliminate the quite astonishingly array of advertising and tracking cookies that I’d picked up. Since then, no tracking cookies, but almost every site breaks at first until it’s explicitly permitted to write a cookie, most without any kind of warning or error message. This was abundantly clear when trying to buy a poster photo print at the weekend.

Cookies and sessions are not the same thing, and apparently the web programmers responsible for much of what’s out there don’t quite get that. Here’s a hint:

Sessions encompass the scope of my current interaction with your site. Not just this single stateless HTTP request, but my whole interaction. Feel free to put a session ID in the URL. This in no way precludes you from handling my entire interaction, whether it’s viewing the front page of your postcard site or actually purchasing something.

Cookies encompass the scope of multiple interactions with your site. That is, they provide a method for you to store a piece of information that enables you to correlate multiple sessions.

The functional difference to both of us is minimal: if I refuse your cookie, I’ll have to identify myself every time I establish a new session. That is a reasonable fallback and is my choice. I appreciate this might interfere with your ability to sell my browsing habits to all and sundry, but (shockingly) your and my idea of the role you play in our relationship is different.

In the end, I bought my photo print from a site that gave me the product I wanted without forcing cookies on me.

To the rest of you, fix it or f**k off.

</alex>

Posted in Uncategorized
« Older Entries
Unblue is the home of Alex Lis, a software consultant for Pegasystems.

Links

  • Google Calendar
  • Google Docs
  • ITA Flight search
  • nFTP – Free file transfers
  • Webmail
Avatars by Sterling Adventures

EvoLve theme by Theme4Press  •  Powered by WordPress Unblue