[ January 2013 ]

Powered by glolg
Display Preferences Most Recent Entries Chatterbox Blog Links Site Statistics Category Tags About Me, Myself and Gilbert XML RSS Feed
Sunday, Jan 27, 2013 - 01:13 SGT
Posted By: Gilbert

B-D-E-Day

One Off Thirty


I turn my nose up at your pathetic foray into interior decoration


Ramly burger the night before, dinner with surprise cake with the 4O bunch last night, by-election drama today, what more can a guy ask for?

Well, there's always coming in second in a faculty-wide click fraud detection (sort-of-covered before) contest. Frankly, I had expected to get my ass whupped by a horde of hungry and ambitious undergraduates, but it wasn't happening, to my slight dismay; this is certainly not due to any lack of ability on their end. Among the messages taken home this time, near the top is that eighty percent of success is simply showing up.

Since things ended up this way, I suppose it is only proper to divest Team SSSS (i.e. myself) of the greater part of the prize money, such that the remaining share is no more than that of the three-man winning team (who really merited it) from the lab of my undergrad supervisor, divided equally. To this end, I have earmarked a number of worthy beneficiaries, spanning the gamut of deserving needy students, delightful old geezers, unfortunate servicemen, funny local cartoonists and small cute furry creatures.

Mr. Ham: Like me? C'mon, you know you want to.

Me: Small cute furry creatures with their grubby paws buried deep in dodgy enterprises excepted. As for the remainder, a little has been set aside for reading material and maybe genetic testing (motivated by cornea thickness findings). Then I may need to purchase some extra gear for research, which might not be fully covered by grant funding.

Mr. Ham: And then it's back to being a strategic calculating parsimonious mercenary bastard?

Me: Of course. I also got wind of Kaggle and their far larger purses from several sources recently, but that's on a completely different level, and I probably owe enough on my plate right now. Like churning out some papers and getting out of here - I think my supervisors would understand, they've been great, without even mentioning the periodic free tidbits.

Mr. Ham: 是的,既然没希望的也过去了,去干你该干的事吧!

Me: What the heck?! You know Mandarin too?

Mr. Ham: 愚蠢的人类总是小看着仓鼠.


Er... this particular contribution is still reserved for next time
(Source: orangeinks.com)



Obligatory List Of Points



Intermission




Final Yam

That took some time. And... the Workers' Party won!


Note who the footer is still on about


Just for the record - WP's Lee Li Lian got 16038 votes (54.52%), Dr. Son of Punggol from a poor family made good who clears leaves from drains and needs no sympathy came in second with 12856 votes (43.71%), the Son of JBJ who doesn't want to be seen as riding his father's coattails but still manages to mention him in every speech cleared 353 votes (1.20%), with a perhaps slightly less hopeful but certainly online-savvy participant in the democratic process bringing up the rear with 168 votes (0.57%).

It'll be interesting to hear what Herr Ahm has to say.

*Herr Ahm is snoring on the ground*

Me: *prods him* Hey ham, wake up! Those CNA chaps masquerading as journalists have finally stopped their endless reruns of the hopeless RP and SDA candidates, and cut over to the Returning Officer, who has announced the results. And most of your margins were off.

Herr Ahm: *groggily* Oh? Well, there was at least one prediction I was very sure of. Please press that button over there, it'll generate and post the appropriate image after extracting the percentages from the Internet.

Me: *clicks "Generate Macro" button* Like this?



Herr Ahm: *sits ups* I see the fourth and fifth placed finishers did get tagged as spoilers. It was inevitable, really - they acted almost as if they didn't want the votes. Then again, an online rally wasn't that bad an idea... until your emcee outshines your candidate completely.

Me: Fourth and fifth? There were only four candidates.

Herr Ahm: I apologize for forgetting to mention the Spoilt Vote Party, who garnered 417 votes (1.42%, translated into valid votes) and thereby beat the two party leaders, a slightly dubious record that they will now have to live with.

Mr. Robo: *cuts in* Herr Ahm, I think this is still quite an incredible prediction. How did you manage it?

Herr Ahm: Through my grounding in CS, young pandawan.

Mr. Robo: *happily* I always knew my dedication to Computer Science would pay off eventually!

Herr Ahm: Huh? No, no, I mean Common Sense.

But enough of the selfless contributors to democracy and the government coffers - I have got to admit that I badly underestimated how buey song the people are. Although I didn't count out the WP winning, the extreme range of my prediction was 48% to 46%, certainly not this 54.52% to 43.71% thrashing that ensued.

Your incumbents could try to put it down to some "by-election effect", but I think they will have to acknowledge that the ground is shifting, more than even I anticipated - if only in private. A swing of over 10% is no joke. True, part of it can be put down to the candidate; not only was he a new face, he was also a new party member of barely three weeks' standing, who duly proceeded to endear himself to residents with inane comments like "Everybody has a car".

The contrast with the down-to-earth always-there WP candidate could hardly be greater, and this combined with the news that they have been steadily attracting willing new talent, including an NUS professor of sociology, should be unsettling to the incumbents, who disappointingly stuck to the hackneyed tactics of backhanded threats and incessant media whoring:


A bit more subtle liao, pan chance lah
(Original source: hardwarezone.com.sg)


Me: Okay, they have at least been pretending to try - there were some pretty serious property cooling measures, and an Enhanced Baby Bonus scheme, as I was looking out for, as well as more plans in the pipeline.

Herr Ahm: *sighs* Tell me, you expect the measures to work?

Me: Er, not really. The official target is a very modest "1.4 or 1.5", curiously close to the upper limit of my so-far-prescient 2008 take, but I would be impressed if the average for the next five years budges even 1.3. To be fair, it's not all their fault, but I don't see any appreciable effect without a truly sincere attempt to make the Bonus broad-based. The S$2000 extra has been made out to be a big deal, but is still a fraction of what is "given" by tax rebates and matching contributions.

But I don't believe couples are gunning for cash gifts or big perks - the fundamental problem is that bringing up a kid is getting less affordable by the day even as job security becomes more uncertain, with no signs of the situation letting up; even the recent policy of giving housing priority to couples with children has been viewed as silently benefiting new citizens more, as locals generally prefer to get a flat first. And frankly, this one has to be their fault.

Herr Ahm: My sentiments exactly. Ho seh liao lor.


Eh sai si le gong one ah
(Source: Facebook)


Let's not overreact - it's only one seat, after all - but the thing about the GRC system is that when you win, you win big, but when you lose, you lose big too. Just sayin', if you know what I mean. *winks*



comments (0) - email - share - print - direct link
trackbacks (0) - trackback url

Back to top


Sunday, Jan 20, 2013 - 00:59 SGT
Posted By: Gilbert

- -
Ba Dum Dum

The 2D1N Soju Bang buffet of slow-moving Korean MTVs in which no tables were harmed was followed by a kickabout at Stadio@Fairway on Friday night at short notice, meaning that my discounted neon-pink-and-navy-blue boots could finally be unveiled. Hey, they're handy in poor lighting.

I took some time to rediscover what little touch I possessed, and was content with trying to eliminate obvious holes on the defensive end, while providing another body at the other end and on corners, ending with a second-degree assist and two near-assists.

Should really try to pick up how to dribble someday, but with how little I'm playing, it always seemed better to stick to passing - thing about dribbling is that it's inherently a higher-risk, higher-reward choice, which I've never quite come to terms with. No way to correct that but playing more and being willing to fail.

Came across a reference to some local research on personality types, and while it was not publicly available, the journal administrator got back within minutes after an email request. Now that's what I call responsiveness. There appears to be slightly more introvert-types locally as compared to the USA, with some other minor peculiarities.

And it seems that Lance Armstrong has finally admitted to doping, and well, I'm not that surprised given that he defeated numerous known dopers. This does raise the uncomfortable spectre of how prevalent it is in other sports, and a New Yorker journalist has ventured that "virtually all the men and women in every event shorter than four hundred metres are doped". Please, not Bolt too...

[Bonus: spot possible false dichotomy in research conclusion]


PE-BE Day Draws Closer

Herr Ahm: I'll make this quick. The SDP eventually saw the light and withdrew, leaving the RP and SDA to carry the baby.

Me: The pullout was largely hailed online, but Dr. Chee going as far as to assert that it "won't hurt (their) credibility" might be asking for too much.

Herr Ahm: Yup, you just can't behave in a completely stupid manner and expect to wave your hands and be rid of the image. It was probably a crap idea for any of the SDP or RP to contest in the first place, which should be evident from the most basic analysis, but at least the SDP did the right thing, ignored the sunk costs and cut their losses. As they say, 识时务者为俊杰.

As to whether it was all some cunning plan to lure the incumbents out or other opposition parties in - given how much less silly they could have made themselves look while remaining convincing, I subscribe to Sir Bernard Ingham here: "Many journalists have fallen for the conspiracy theory of government. I do assure you that they would produce more accurate work if they adhered to the cock-up theory."

I can be a little more sympathetic about the SDA, as it's actually their home base, but when you're paying for teenaged volunteers to wave your flags, leaving insufficient funds to even hold a rally, it might be a sign to pack it in. The incumbents can actually afford their nasi lemak freebies, you know, even without it being on the taxpayer dime. If I may say so, they have also been slightly suspiciously publicly helpful - one never sees so many accidents happen around Opposition leaders with cameras in attendance!

Speaking of the incumbents, they have wasted no time in dangling carrots as usual, with Rivervale Plaza elevated to being the most important shopping centre in the country, with no less than the Prime Minister himself pledging an interest in its renovation. Just order the Army Engineers out already.

Me: As it turns out, you predicted the WP's candidate correctly.

Herr Ahm: *shrugs* Hey, I'm the Master Political Analyst, not some human wannabe. She has as good a chance as any.

And the RP. Ah, the RP. I have turned it over and over in my head, and I still have not the faintest clue what they are doing. The man himself stated that his goal is to see "the right to democracy win", and then follows up by saying that he is "very confident that in a free and fair one-on-one fight, the PAP would lose".

Well, this being a guy with a double first from Cambridge, I frankly didn't expect him to call a press conference with practically no warning to declare his candidacy, and run on a platform of "No broken promises" (what happened to West Coast GRC?) while committing to a chain of nurseries (managed by the NTUC, no less!). But I expected him to have enough sense not to run at all, so...

Given the historical performance of candidates claiming widespread support where all evidence points to the contrary, whilst offering to donate part of the salary (10% this time), I can't see him going very far, to say the least.


He has, if nothing, won in one respect
(Original source: TODAY)


Me: Cutting to the chase, any updated predictions?

Herr Ahm: I'll confidently venture that the RP and SDA won't get beyond single digits, put together. In fact, I would put both of them at 3±2%. After that, I would have the incumbents retain with 49±3%, while the WP improves to 45±3%, if only by virtue of having shown themselves to be the only contesting opposition party not to be some flavour of idiot this time round.


Please, Don't Do This At Home

Some time ago, "knows when to shut up" was proposed as a desirable trait to have in a partner. While admittedly slightly blunt, an example may serve to showcase its importance:

Ideal scenario:

P: Have you decided what to do with your spare funds yet?

Me: I have placed it in a competitive interest-bearing checking account. It is done.

P: Good.

(Bliss)


Hell on Earth scenario (only slightly embellished, if that):

P: Have you decided what to do with your spare funds yet?

Me: I have placed it in a competitive interest-bearing checking account. It is done.

P: What about the excess? Take it out so that the deposit is a nice round number.

Me: Huh? (Inner thought: Does this matter? And it's my money, not yours)

P: Just take it out.

Me: Okay, fine.

...

P: Are you sure it's safe, since it's not incorporated locally? Why not put it in UOB or OCBC like I've always done?

Me: It's mostly covered by MAS deposit insurance, exactly like our local banks.

P: Is this insurance safe?

Me: Yes... (Inner thought: If not, the government has collapsed and I'll probably have bigger worries than that)

P: Sure? I know more about this than you, I've talked to the people over at UOB and OCBC, you know. I have experience in fixed deposits. I also remember reading in the papers that some banks collapsed a few years ago.

Me: ... (Inner thought: It appears my degree in economics was for naught)

P: And where's the passbook? You can't trust banks if they don't give you a passbook.

Me: It's all accessible online now.

*P calls up relatives to discuss the perils and pitfalls of banks without passbooks, and concludes she is now an expert in the matter of passbooks and their relation to bank solvency*

P: You sure it's safe?

Me: Yes...

P: Why don't you throw it in fixed deposits, like me? What's wrong with fixed deposits? They're safe. Do it for me.

Me: The interest from the checking account is nearly equivalent to that of the best fixed deposit returns that I could find, and the flexibility to withdraw and take advantage of any good investment opportunities more than makes up for it in my opinion.

P: Investments? What do you know about investments? You'll lose all your money!

Me: ... (Inner thought: Thanks for the vote of confidence)

P: You sure you don't want a fixed deposit? There are branches in the neighbourhood market. It's so convenient.

Me: ...

P: And where's the excess I told you to take out?

Me: The cheque clearing process will take a few days, as is standard.

P: Why are you so incompetent? Why can't the bank do that? Are you sure the money's safe? Maybe they've lost it already? Oh, why didn't you just put it in a fixed deposit? That's safe! What do you have against UOB and OCBC?

Me: ... (Inner thought: Man, if you want that so badly, I'll just draw it from the savings account, happy?)

P: You sure this bank can cash the cheque? Where would they get the money from anyway? You sure they can do it?

Me: ... (Inner thought: Why is this happening to me?)

P: And why do you have only this flimsy sheet of paper to show for it? Will the bank eat your money?

Me: ... (Inner thought: I would suppose that you only get a similar flimsy sheet of paper as record of your fixed deposits too)

P: And what happens if the Internet gets a virus? Will all the money be gone then?

Me: It doesn't work like that. (Inner thought: Just kill me now)

P: Also, why isn't there a comma to mark the thousands on the receipt? My statements always have a comma.

*After bedtime*

P: Come on, just put it in a fixed deposit, I know more about this banking thing than you, especially in the area of fixed deposits. Don't regret it next time.

...

And you sure the PIN number they supplied you for the ATM card is accurate?

Me: ... (Inner thought: Must... not... give... in...)

P: Okay, never mind, I'm not going to care about this any longer. It's your business.

*The next day*

P: Are you very sure it's safe? Have you considered fixed deposits?


Let's just say that girls who can't speak are inexplicably getting increasingly attractive by the day.

From the looks of it, some banks are running multiple systems in parallel, with the representative having to switch between a modern web-based interface and a DOS-like one that might well be running COBOL on the backend for all I know. Better that than Java, I suppose.

She also introduced the TM Nest Egg scheme, which sounds possibly promising for those who have excess liquidity - (figures approximate) for a S$1.05k contribution each month for five years, the policy will return about S$81k after ten years (at 5.25% investment return, which the company has always met so far) on the S$61k put in.

This comes out to a return of about 4% per annum on similarly-structured fixed deposits, without mentioning the insurance coverage, which I suppose should be a decent medium-term deal for risk-averse individuals in today's climate, especially if they don't expect interest rates to go up. There is, of course, a non-zero chance that the company won't meet its investment return targets, so it also comes down to how much one believes in track records.

Local property developers and prices have been hit by the government's latest round of cooling measures. I would have taken credit for calling a correction, but that would be sort of unfair given the open-endedness of the prediction. I could never understand the advice by some netizens to buy "since the long-term trend will be up" (but not in size), when it seems so likely that we're on the cusp of a short-term one.

Or, in other words, yes, you could make a profit by holding long enough, but why not buy in nearer a local minimum? With reference to history, a buyer might not have lost out if he had dived in at the 1996 peak, but how much better would it have been had he gone in around the 1999 trough?

That said, while the builder in me gets excited at the planned doubling of our rail network, the subtext is that the "growth by pumping people in" strategy will remain essentially unchanged (so much for conversations). A quick estimate suggests that if this is to happen, the makeup of "Singaporeans" may be very different in as short as a few decades. Well, if they have made their resolution, let there at least be some token effort at arresting the native birth dearth. We will see soon.


I could look at this all day
(Source: dukenostalgia.com)



Heartwarmers (Badly Needed)

Kittens, ducks, bunny love and pet ambition. Outsourcing to watch them is, however, not recommended.


300k

The all-time pageview count has exceeded 300000 somewhat earlier than projected, boosted by a record 3230 hits on the fifteenth; yes, I know it's chicken feed in the wider blogosphere, and Mr. Ham beat that in three days by pretending to be a shapely female with a penchant for revealing attire just to cement the point, but still not too bad for a focusless personal sounding board. Cheers!



comments (0) - email - share - print - direct link
trackbacks (0) - trackback url

Back to top

Sunday, Jan 13, 2013 - 20:29 SGT
Posted By: Gilbert

Beep Beep

The subject I contemplated the most deeply this week:

In a Mass Knife Fight to the Death Between Every American President, Who Would Win and Why?

[N.B. Obama doesn't figure that high, likely rightly]
[N.N.B. Not all hypothetical matchups stand the test of time]




The Circus Has Come To Town

The AIM debacle [see contrarian view] has been smothered for now, with the PM ordering the Ministry of National Development to probe the deal. The review being expected in a couple of months, the Workers' Party has sensibly deferred its discussion on the issue until such time as it is completed.

Herr Ahm: *snickers*

Me: You were sitting here all along? My political analysis hiring budget is shot for the week.

Herr Ahm: It's alright, I'm chilling anyway, and you really don't need me for this - what do you expect to come out of this?

Me: Erm... a completely wild guess - no fundamental concerns, everything above board, residents' interests foremost, best-faith effort, a couple of minor mistakes made, we're open to suggestions, case closed, let's move on?

Herr Ahm: And it may take a hundred pages to say that. I've sent one such report to them with attached request for payment - hey, I'm sure you'll agree that SMCs should be given a chance over MNCs sometimes. By the way, want to bet on the outcome again?

Me: Nola nola. Then again, if you look at it from the incumbents' perspective, one can easily imagine how they can earnestly believe that it's okay. People's Association lidat oso can, like this chinchai why cannot ah? Wrong meh? At least don't use the same address if you want to play like that lah.

And it seems like the Master Political Analyst isn't infallible. While you got the timeframe for the calling of the by-election spot-on - it came three days to the month - it'll be held on January 26, earlier than expected but probably the most interesting birthday gift I could have hoped for. Not only that, it's winding up to be a multi-cornered fight.

Herr Ahm: I thought I had covered this already? And I never claimed to be always right, just mostly, and probably more importantly, I can tell about how likely I am to be right. But let's not come to conclusions too quickly - there may well be fewer candidates than you think come Polling Day.

*puffs on cigar*

Let us work through this rationally, skipping the attention-seekers who won't even manage to get a seconder. Fine, the SDA hopefuls will probably join in, they're that type, but I don't see them bettering the 4.5% they got under any circumstances. But at least they have been around, so one can understand if they are reluctant to sit out.

The case for the other two major parties known to be possibly in the running - the RP and SDP - is much more curious. What are they trying to achieve? True, it's just one seat and makes little difference in the bigger picture whether the PAP or WP wins, but they should still have some motivation, no?

Me: "Whether the PAP or WP wins"?

Herr Ahm: You seriously think any of the others have the slightest hope, on a par with Singapore winning the next World Cup? Fine, politicians having politician-sized egos, I can't completely count out them having a delusion that they can win it with both the PAP and WP in the ring.

Leaving that aside, let's assume they know they won't win. What's left? Maybe they think that they can at least upstage the WP by getting more votes than the WP candidate, but sorry, I honestly don't see that happening either - I would see about 20% as the most either can expect in a three-cornered battle, against some 30% for the WP, and losing their deposit with less than 12.5% is not far-fetched either, particularly if they get tagged as spoilers. Of course, it only gets worse with four or more competitors.

So it's down to keeping their names in the news, and getting their message out. Fine, I understand that. In fact, the two parties do have some salient points that probably are worth raising in Parliament, and their top candidates might be more eloquent and pressing than the WP's remaining options, who I feel have drawn undeserved flak for being reserved.

Me: But there's a problem.

Herr Ahm: Indeed. There is both a local and a national dimension to the game. While the incumbents might be accused of laying it on in local matters to deflect attention from national ones, with no less than a DPM getting involved in shopping center upgrading, the RP and SDP might then be seen as going the opposite way. Basically, they're just turning up upon hearing that the seat is available, and saying, "We wouldn't be here otherwise, but vote me in!". That is usually known as being opportunistic.

Okay, so maybe they have to be bold. That's good. I like bold people. Then the SDP announced that it had invited the WP for talks, but had been rebuffed. Well, one can see it from both sides - it is not unreasonable for the SDP to want some communication, all the more as it shows they understand what a multi-cornered fight entails, but it is also understandable if the WP is wary of a party having previously put in next to no effort in the constituency trying to elbow in. Even if the SDP was indeed attempting to pressure the WP into a response by making their overtures public, this is still fair game to me.

But then the SDP dropped a bombshell.

In a statement posted 11 January on their official website, they declared: "(blah blah blah) ... In the spirit of compromise and cooperation, we would like to propose that our two parties run a joint campaign and field one candidate from the SDP. If victorious, the SDP candidate will enter Parliament and the WP will run the Punggol East Town Council [!] ... (blah blah blah)"


Seldom has a meme been more appropriate
(Original Source: knowyourmeme.com)


Me: You know, I like the SDP. I admire their commitment to rights causes, and of all the major parties here, my personal leanings probably lie closest to them. In a straight duel between WP and SDP tickets, I would probably go SDP. And whatever people might paint him as, it cannot be denied that Dr. Chee pursues what he believes in, even if his methods in the past were probably more suited to "activist" than "politician". I've read his books too, they made some sense.

So why do this?

I know I'm bad in social situations, but even I know better than to walk up to another guy and say, buddy, let's make a deal - you leverage all the groundwork you did and continue doing all the grunt work, all that to pay for my glamorous presentations. Don't mind that the effort put in was 95-5, now I'm here, let's unite and be fair and cooperative - 50-50 it is! Win-win-win! What a deal!

Herr Ahm: Heh heh. One doesn't need a doctorate to realise that this is a crap idea, and furthermore, will be seen by almost everyone to be a crap idea. You know it's beyond facepalm when the average reader's immediate reaction is "what is he smoking?"

Heck, I wouldn't mind some of that weed either.

The thing about bargaining, is that you have to have something to bargain with. What chips do the SDP, or for the matter the RP, have in Punggol East? In the latter case, Mr. Jeyeratnam can at least make the point that his dad once contested there, but somehow I don't see his offering to run under the WP banner (which does also have parental precedent) doing a lot for his own party members' morale. Why didn't he just join the WP, if he can accept this arrangement? Then again, as if it matters.

And what other chips do they have elsewhere? Running in strong WP areas can only be seen as plain sabotage, not to mention likely loss of deposit, while the WP has shown little interest in expanding into their territory. Just a gentle suggestion - they could, like, focus on their own fiefs and convince the residents that they are in it for the long haul. From another perspective, if the vacated SMC were Yuhua or Bukit Panjang, I frankly don't see the WP trying to butt in.


I'm tired of waiting, ALL IN!
(Original Source: flickr.com)


Well, it seems that the SDP has finally wised up to how dumb they sounded, with Dr. Chee now insisting that they had been "misinterpreted" by the public, and that it could be the other way round - they run the town council - too. Sorry, man, it ain't flying - the "vice versa" was not "not put out prominently enough", it was simply not put out at all. In short, you lot screwed up. Good day, sir. As one commentator put it, "there is a very fine line between a genius and a savant".

Me: Enough of that, you got the PAP's candidate wrong too, which as it turned out was guaranteed since the stand-in had his own posts.

Herr Ahm: I was careless, fine, not that it makes a significant difference either. Or do you have an affinity for your kind, since you're also aspiring to become an asshole doctor?

Me: Let us hope you never get explosive diarrhea.


Dunno If I'm Qualified To Tutor Primary School

These kids are expected to be scary smart (or at least damn good at memorizing words) nowadays. I had to look up osseous (connection with ossuary didn't come till later)

And does it matter in the end?


The Idealists

Crossing over to ideas that might actually work, a couple caught my eye this past week. There was a piece about backpacks being a relatively recent innovation, with students resigned to tying belts around their books before the 1970s. I had always thought satchels were timeless, but this shows that even obvious ideas may not be that obvious.

Over here, there's been a coin-operated tray return suggestion, which looks like an extension that solves multiple problems in one swoop. Don't want tables to be choped? No tabletop to reserve (though a seat-booking system might be promising - lest one thinks this is futuristic, see the automats of the 1900s)! But better find another job for the cleaning aunties then...

And M:TG got around to the evolve keyword. Not exactly what I envisaged, but close enough.

Others have however run their course, like Windows Messenger, which come to think of it I haven't opened in years, despite once being a staple. Figuring out how it overhauled ICQ, or Facebook (which is trialing charging for messages - a toss-up between showing that stamps made sense, and making a grab for revenue) Myspace etc in detail might be a topic for the future. [N.B. It seems that ICQ is still kicking despite being "out" for a decade]

Meanwhile, tech columnist Manjoo has declared the death of the netbook, but it appears a case of consumers accepting that tablets weren't meant for work to begin with, and also that of why not have both designs if possible?


It was the obvious hybrid design
- well, Dell's may be sturdier in the long run

(Source: wired.com)


Have no fear that computers are going to take over the world, though - they can't even swear properly yet.

Perhaps the most thought-provoking, if also most technical, of all is an advance in computing on encrypted databases by MIT researchers. As usual, it's perhaps been slightly oversold, being limited to certain types of queries, but still pretty incredible; let's say that "123" has been encrypted as "70D83A3", and "456" as "2F69180" - how could one possibly add "70D83A3" and "2F69180" together to get say "834BC05" corresponding to "579", without ever knowing how to decrypt any of the three encrypted values?

Building up from a few simple examples may be helpful. First of, it is clear that one can easily compare whether two values are the same even after encryption without knowing anything about the actual values, since they should map to the same output (which should be what is minimally attempted when storing passwords, and seems to correspond to SEARCH functionality in the paper)

One might next consider a slightly more non-trivial if still very conceptually simple example - say we want all the factors of some very large number A, but for some reason do not want anyone else to know exactly what A is. We could then multiply A by some smaller B, pass the product to some guy with a supercomputer, and remove the factorization of B when we get the result back. A more practical illustration might be anonymous salary averaging.

I won't pretend to know how they handle more complex operations, which is its own entire field of study, but for now it seems mostly to be integrating existing algorithms in a useful way (like PGP?) - and very relevant, particularly if the cloud paradigm wins out. And perhaps town councils would then not feel a need to protect their systems and data so badly...


The Escapist

For the best refrain I've heard in a while:


A nightingale in a golden cage/
That's me locked inside reality's maze/
Come someone make my heavy heart light/
Come undone bring me back to life

[Full Lyrics - Loop It]
[Full Movie (Set in a time before/after vampires sold out
to Acme Sparklers Ltd. and got cheated on)
]

(Is he bump firing a bow at 0:42?!)


comments (0) - email - share - print - direct link
trackbacks (0) - trackback url

Back to top

Monday, Jan 07, 2013 - 00:54 SGT
Posted By: Gilbert

Yo Bro


Old New News Recap

By great good fortune, I have made it to 2013, and I say "I" because there is no telling how many fell victim to the dreaded Mayan Apocalypse. I awaited the fateful night (or day, since they didn't specify it in Greenwich Mean Time or equivalent) with trepidation, having foraged a BLT burger with my survivalist skills, but neither flame nor ponding nor zombie blight descended, in an unsatisfactory anticlimax.

I'll still be wearing my commemorative T-shirts with pride.

Despairingly, from observation, the event seems to have been awaited with more than mock-seriousness by a section of the population that might be described as having nothing better to do, and the rascal Mr. Ham has reported a rise in takings for his Cult enterprise in the days leading up to the damp splutter. If there is just one thing one can be certain about people of this disposition, it is that they never learn.

But it's a new year, let bygones be bygones, and have a new beginning. I do like people, especially in abstract and in general - just because I don't like to make small talk doesn't mean that I don't mean them well; I have no intention or expectation of knowing anybody to close to 100% anyway (which is, come to think of it, positively frightening, even if possible), and a level less than that can often be largely gleaned from observation, by repeated experience.

This extends to the incumbent party, who for all of their indiscretions have still... waitamin, they're kicking off by threatening to sue a blogger. How refreshing.

I really want to like y'all too, dunch lidat leh.

It's hard to see how exactly this helps - while Mr. Au (who has gotten into similar straits often enough) was quick to apologize and remove the post deemed offensive (while keeping three similar ones up), this could be - and in fact is likely - seen more as a measure to protect himself from being sued until his pants drop, rather than a sincere admission of contrition (of course, this doesn't prevent the sentiment from "being expressed" in official correspondance), with it well-known that deep pockets (without other factors coming into play) are a major factor in toughing out this sort of lawsuit.

Various online commentators have remarked that the Streisand is in effect, with the blog in question catapulted into the limelight with front-page national mouthpiece exposure, the sort of advertising that would have cost tens of thousands.

In further testaments to the futility of this act, the removed post (with comments) are already immortalised at multiple locations (good luck trying to hunt all copies down), prominent and regular citizens have weighed in that the analysis was far from unreasonable, and the comments (opinions) were actually fairly tame compared to those that regularly appear at venues like Yahoo! News. But yes, whack the little guy.

Despite belated attempts to duck the incident by hand-waving, and a rather unconvincing explanation by the coordinating chairman of incumbent town councils (example justification for awarding the contract to a S$2 company with no known track record, or even Internet presence: "...we were confident that AIM, backed by the PAP, would honour its commitments") [detailed picking-apart], one feels that this is hardly a satisfactory conclusion to the matter at hand.

This is especially so with the new masters of Aljunied producing black-and-white proof that they were the ones being terminated on, barely a month and a half after winning the election - tellingly, given the incumbent coordinating chairman's assertion in passing that "assessing new software and actually developing a replacement system that would meet our new requirements would take time, maybe 18-24 months or even longer", it seems that Herr Ahm's reading of incumbent priorities was, again, on target.

The biggest irony here, though, is that probably none of this would have happened had the incumbents not tried to make a meal of the town council rankings, which was itself timed suspiciously conveniently in the middle of the Honourable Affair fallout.


Used without express approval of His Holiness
(Source: diylol.com)


On to the sporting side, one of our national heroes has retired... and scooted off, which as mentioned is neither wholly unexpected nor indeed blameable. To make it completely clear, I have nothing at all against any nationality coaching, treating or otherwise supporting our athletes (and in fact several former table tennis champions are engaged in such roles), and possibly making good money doing so; what I am not in favour of is getting already international-quality stars over in a questionable attempt to "win glory".

Interestingly, movement of sporting talent for development is apparently not as encouraged in the other direction, with the bid of two LionsXII players to ply their trade in Thailand being looked upon with disfavour (and has in fact fallen through). Well, we might pick up the Malaysia Cup (and piss off our northern neighbours), but I wonder when a local lad will make it in one of the major European leagues.

And some loose ends: about half a year ago, we mentioned the age identification problem in the online vice ring case, and it has only recently been revealed that the lady used her (legal-aged) sister's IC! Those guys were completely pwned.

Oh, and to avoid getting picked up by intrusive security cameras, Quora introduced me to a better solution than pasting paper on one's face (which would probably draw more attention than it's worth) - infrared LEDs will do the trick, while passing unnoticed by humans.


Brah Talk

Not having seen Mr. Ham for some time, I, together with the ghost of Mr. Robo, made an appointment, and was mildly thrown off by the location of the rendezvous being on the second storey of a run-down shophouse. At least The Ham Himself was there and waiting, lounging in a trenchcoat behind a heavy oaken desk.


Mr. Ham: O hai! Long time no see.

Me: *looking about* Not exactly your... usual digs.

Mr. Ham: Oh, this dive! Don't mind it, I rented it for the... privacy. Those I help through my Be A Brah! program don't need snoops giving them more problems.

Me: Be A Brah!?

Mr. Ham: Yup. Not everybody is lucky enough to have a father, elder brother or other knowledgeable-male-role-model-with-head-screwed-on-tight to confer with and receive lad mags from, which puts the poor chaps at a severe disadvantage if they're bad at figuring stuff out on their own.


No, they didn't make it up, he did say that. USA! USA! USA!


See? One doesn't get to be Father of a Superpower by treading on eggshells, mumbling platitudes and scraping to the politically-correct rabble.

Me: Even if I do not fully agree with his conclusions, the strength of applicability of his reasoning being ultimately personal in nature, I can't help but appreciate his rationality and candidness; for Truth, particularly if couched in amiability, is ever compelling.


You actually believe that?
Please excuse me while I giggle good-naturedly.

(Source: gifrific.com)


Mr. Ham: I came up with the idea one day, after feeling extremely dirty and disgusted with myself in the middle of rolling in the ill-gotten gains from my personal Cult enterprise. As some chick said well in a movie, my ledger's filled with red, and I thought this was the least I could do to... balance things up a bit.

Me: How about you just shut down the Cult and return the cash?

Mr. Ham: I have expensive tastes. Now, as I was saying, this place is where I help lost souls sort themselves out - not by mollycoddling them, but solely through The Power of the Truth. We basically chat, and if they say stupid things, I slam the desk and shout "That's stupid!" - usually less politely than that, but that's the general idea. It's an absolute wonder how much one can get done, once divested of stupid thoughts.

Mr. Robo: *doubtfully* Does this actually work?

Mr. Ham: *shoots straight up and hammers desk with both paws, producing a deafening crash* THAT'S STUPID!

See, wasn't that hard, was it?

Me: Sounds awfully like your on-ice mr.ham show.

Mr. Ham: Oh, this is not-for-profit. Mostly. And I'm not against helping the ladies too. For instance, there was this chick that came to me for advice. Well-bred, well-read, pretty sharp, very fat, spent half an hour basically asking me why she couldn't seem to snag a decent boyfriend. I listened patiently, sat back and looked at the ceiling thoughtfully for a full minute after she was done, then blew a smoke ring and slowly tapped the ashes from my pipe before turning back to her and saying:

"My dear, you're fat."

"But the good news is that there's absolutely nothing the matter with you other than being eighty pounds overweight, so if you eat less and exercise more according to the plan I will send you, you should be good to go in less than a year."

Mr. Robo: Are you sure that was her main problem?

Mr. Ham: *yells at full blast* THAT'S BLOODY STUPID!

*sits down in a huff and drags paw through head fur*

You know, this crap makes me very angry. Her "friends" would only say bullshit like "It's not you, it's them", "You just have to wait for a guy who will appreciate you", "There's somebody for everybody" et cetera ad infinitum for years. Not one of them cared enough to tell her the truth.

Well, she saw the light - did I mention she was smart? - lost the weight in ten months, and within a week, following some more of my tips, attracted a veritable flock of suitors.

Me: Happy ending, so it seems. Frankly, it's hard not to shake one's head at the unfulfilled potential of some of those... big lasses. It's like watching a boy dribble past defenders "like a cocker spaniel chasing a piece of silver paper in the wind" at the neighbourhood park, only to discover he has no intention of going professional and becoming the next Giggs.

Mr. Ham: Indeed, she only picked the third biggest asshole of the lot, in the end. But last I checked, they're happy.


She did have sufficient sense to skip the top two
(Source: thepolyman.com)


Mr. Robo: But... um... she isn't supposed to, like, like assholes right, being a nice gal and all that...

Mr. Ham: *sighs* Mr. Human, I see how you have a problem. Your top technical executive has a more tenuous grasp of reality than the average teenaged female. Next he'll be saying that a guy's status, finances and height has absolutely nothing to do with it.

Mr. Robo: But doesn't...

Mr. Ham: *roars* THAT'S-SO-FRICKING-STUPID-OHMYLAWDHOWTHEHECKDIDYOUSURVIVETOTHISDAY???!

Me: *looks through open window* I think you've blown him at least three blocks down the street. Impressive.

Mr. Ham: *head in hands* He's winding up to be my toughest reclamation job yet. Maybe ever.


The Spear Points Back

Mr. Ham: But enough of him. Since it's been a slow day... how about... you?

Me: Me? And what about me?

Mr. Ham: *eyes twinkling* Well, what you like, of course! We have the time.

Me: Strange you should ask. Actually, some of the guys were curious about more or less the same thing when we were on vacation. I was reticent then, but thinking back, none of it is really secret-worthy, so here goes.

I have only ever really wanted two girls - not simultaneously - and the first would probably be classed as a crush. This, unfortunately, took some eighteen years in total. Both are married now, so there's nothing too much to say about either.

I suppose I could have gotten with a number of other girls, some of whom, so I have heard, might have been regarded as prettier. But as the well-worn cliche goes, beauty is ever in the eye of the beholder, and in this matter I do the choosing for myself only, and no one else.


My face! Ruined! I'm not cute at all!
(Source: petoftheday.com)


There's no point in settling for second place in this area, and not because I'm competitive, which I am - heck, I've collected my share of third-place finishes in all sorts of competitions, which I'm actually quite okay with; it's a placing, doesn't attract too much attention - 不用太起眼吧 - and gives some confidence that one can go all the way if need be.

No, it simply wouldn't be fair. Since I knew what I wanted, there was no way I could pretend that I didn't.

Mr. Ham: So, you're basically telling me that you're an idiot.

Me: You could put it that way.

Mr. Ham: But you're a free agent now.

Me: I guess so.

Mr. Ham: Well, seeing as The State's Times has just done a piece on "The Checklist Syndrome" - and not for the first time either - what's yours?


Checking Off

Me: It's very simple, really. The key points are but four:
  1. Must really want to know her (and vice versa)
  2. She must want (many) kids, and as a priority
  3. Loyal (slightly possessive even ideal)
  4. Not pathological (includes things that really should go without saying, e.g. doesn't have a habit of throwing money down the rubbish chute; of course, "hot enough" probably compensates for "a teeny bit crazy")


Exhibit A.J.


Hopefully these are not too much to ask for?

Mr. Ham: Erm... know?

Me: I mean it in the archaic sense, and it's non-negotiable - even in my most hapless loserish days, I was not that dense. Indeed, the two girls I wanted had their similarities - mostly physically, and in their mannerisms.

As to the process of stork summoning, I admit I may have been somewhat negligent in this respect in my earlier life - but as Franklin pointed out, all knacks can by practise be acquired. 后天努力可以弥补先天不足, there's nothing new about this at all.

I'll come to the things that I don't really care about shortly.

Mr. Ham: Ah, I see. Then it makes perfect sense. Myself, I've seen too many personals that focus on garbage. "Supportive of career". "Helps about the house". "Willing to compromise" (heh). For these cases, I have prepared shrink-wrapped stacks of namecards of some of the top career counselors, home cleaners, professional negotiators, etc that I know, which should fulfil their every stated desire.

*empties ash*

Ha, I knew a fellow who thought he had it made, when he got a wife who was the full package - clever, charming, pretty... only to find out to his horror after the wedding that he missed the Most Important Point - she didn't really want to know him. These nights, he spends much of his time hunched over, wrapped up in a blanket and staring blankly at a corner.


I'm not saying it's like that... but it's like that
(Source: memegenerator.net)


Yes, maybe you can't expect some ladies to say it, out of modesty - but if so, you better be very, very, very sure that they do want it, or you're up shit creek without a paddle. Most guys do want their partners to enjoy it too, you know.

Me: It might not be that important if, in the back of his head, the guy thinks that he can still get his jollies elsewhere... but I'm traditional this way. All the more reason to be careful, and not to do anything mindbogglingly stupid.

Mr. Ham: I get you.

*puffs on pipe*

Some of the stuff they say they want, I don't think they actually want it. Like when they manage to grab the pants, they too often discover that this means their guy has to walk about with his balls swingin' in the wind; and if he allows this to happen, they're probably small, so it's not even something to be proud of - hard to pull off this look, even for the best of them. And then she gets angry and wonders what's wrong!

Me: And the not-really-important crap, covering qualities that are at best nice-to-have, but pale when compared to what's actually important (i.e. no care, José):
  1. Educational qualifications (as long as not that dumb)
  2. Family background (as long as mostly honest)
  3. Profession (as long as mostly honest)
  4. Religion (as long as not pushy)
  5. "Personality"
  6. Social status
  7. Similar interests/hobbies
  8. Likes/does not like X*
[*where X is stuff like: literature/music/art genres, television programmes, fashions, travelling, particular public figures, political leanings, sport clubs, academic preferences, foodstuffs, pina coladas, operating systems, colours, etc]


It had to be emphasized
(Original source: knowyourmeme.com)


The reasoning is incredibly simple: for almost all of these qualities, they can be obtained far more easily, and without recrimination, elsewhere. Look, if I wanted to discuss the intricacies of arcane data structures, I have hours each day to do so with my pick of very knowledgeable colleagues at work, and if that fails, there are any number of discussion outlets, frequented by some of the top experts, available online.

The same goes for virtually any subject that I can conceive of, from seventeenth-century central European history to the long-term direction of the global economy to the current state of Manchester United, few of which it would be fair to expect any individual, even taking educational background into account, to have more than a surface knowledge of.

Explaining the points, one by one:

Educational qualifications - Sure, it does show some evidence of aptitude and willingness to work, but let's be honest - most people can probably get a recognized degree in some subject if they want to and can afford it nowadays, so it's no big deal.

Now, of course, obtaining it from a world-class university is certainly a mark of distinction, but let's put it this way - I would not automatically expect an average Ph.D. to be good at, say, short-distance sprinting. Sure, some of them may be, but from observation any relation between the two is very weak at best. Now, replace "sprinting" with "being a wife".

Family background - I expect to marry her, not her family. Wants to visit every week? Fine. Alright with dropping by twice a year? Great! Anything short of "wastrel sibling panhandling for thousands each month" will be wholeheartedly accepted.

Profession - Doodles, sells fish, herds kids, lays bricks, leads countries, signs billion-dollar contracts? Totally no care as long as Key Points #1, #2, #3 & #4 are met, counts for next to nothing otherwise.

It's not a case of insecurity, just priorities. Madame President of the Free World? Superb! Madame President has no time for babies? No mutually-beneficial arrangement can be envisaged.

Social status - see Family background.

Interests/hobbies/likes - Generally no issues unless she decides to make them one.

"Personality" - Fine, I will admit that some people may widely be judged to have a "better personality" than others. But I will also assert that I have not met anybody whose "personality" was so incredible as to come anywhere close to overriding Key Point #1. In fact, I also note that "great personality" is often used to damn with faint praise, i.e. when somebody is nice but not exactly memorable for anything, "great personality" is a safe fallback. Who can say otherwise?

Also, frankly, a lot works in terms of personality - moody, doesn't smile much? Could work. Bubbly, saccharine sweet? Maybe. Alternating between temperaments? Why not? It all goes back to Key Point #1.

Religion - This is an interesting one. Personally, I'm fine with most beliefs that don't extend to animal sacrifice, as long as she doesn't expect me to join in or pretend to believe it.

It is a conclusion, reached after long and careful observation, that the inanimate objects and collected papers that a person fancies have a pitifully tiny influence on how objectively "good" or "honourable" that person is. Once we get past "Don't kill or rob or bully others (unless we say so, then it's alright, and even obligatory)", there's frankly very little to pick between the various popular providers of faith.

In this vein, whatever a guy says he believes in doesn't have all that much to do with whether he will stray either, all the more if he thinks he will be forgiven by procedure. Let's be honest. For most guys, they can get it if they make their mind up to, even if they have to pay for it; it's down to him and him alone, not anyone spying from up there, which didn't stop him from jacking off previously anyway.

Of course, I recognize the common dilemma of "must continue, otherwise they'll kick me out and I'll lose all my friends and feel very bad", a phase I had expected most to grow out of after witnessing vicious primary school cliques, but is evidently not the case. Fair enough. I thoroughly despise the socially-enforced practice of demanding at least in-name conversion as a condition of marriage, however.

Oh, I am completely okay with driving her to the place of worship of her choice, and allowing the erection of an altar of her design, if she so desires - customary rule for new additions applies: you want to keep Him, fine; you take care of Him. No less than what supposedly the wisest man to ever live did. Now, if He makes Himself useful by paying the bills and fixing the leaky faucet through direct agency, I might be willing to discuss the matter further. In summary, if she doesn't insist on harping about this matter, I won't have to hurt her by thoroughly demolishing her arguments. Quid pro quo, give and take, eh?

Heck, I won't even keep her from pulling the kids in, only that I reserve the right, if asked, to honestly explain my non-conformance, and to conclude by staring into their eyes and sincerely saying "Dear, no matter who your favourite mythical action hero is, now or in the future, I will *always* love you."

Alright, it isn't all bad - a small, sincere dose can be adorable, as with little girls awaiting Santas bearing gifts. It only gets severely irritating when they get mean and shun other kids for believing in the Easter Bunny/Tooth Fairy/Kitchen Elves.

Mr. Ham: A... fresh take.

Me: Well, I'll end off with the qualities that are probably more desirable than the eight "don't really care" ones, but are still not mandatory as the four key points are:
  1. Youth - frankly, 32 can't beat 22 because 22 will become 32 in due time. It's that simple. Of course, past a certain point, it becomes near impossible that Key Points #1 and #2 can be met. Probably the strongest preference after the Big Four.
  2. Knows when to shut up - an extremely underrated skill
  3. Optimistic outlook - note this may not necessarily tally with what is outwardly shown. Desired if only because I'm insufferable enough for two, and perhaps more
  4. Good cook - so I may be a misogynistic pig, but pigs and piglets have to eat too

*Mr. Robo staggers back in*

Mr. Robo: *weakly* Did I... miss anything?

Mr. Ham: *gently* Come, my brother. We have a lot to talk about. Just wait inside there. *directs Mr. Robo to adjacent room, and closes the door*

I may have found my calling. This is true saving of souls.

Me: *smiles* I fully understand, Mr. Ham. You're doing good work. *pats Mr. Ham on back*



comments (0) - email - share - print - direct link
trackbacks (1) - trackback url

Back to top

Friday, Jan 04, 2013 - 23:43 SGT
Posted By: Gilbert

Food For Thought

Warning: This is a sketch of my thoughts on a problem I found absorbing, which might not exactly be everyone's cup of tea; that stated, let's dive into it.


The intuition behind data compression should be readily graspable - as there often exist patterns, or redundancies, in interesting information, we often do not have to exhaustively mention every detail. To simplify the following discussion, we assume that all data has been converted into bits (which they in fact are in computers), or collections of zeroes and ones only - for example, the symbol "A" can be represented by "1000001", the symbol "Z" by "1011010", and so on.

It might then be expected that, for an alphabet of 2N or fewer unique symbols, we can assign each symbol a corresponding bit string of length N. However, a little further thought also reveals that one does not actually need N bits for each symbol, which happens to be the basic idea behind the Huffman and other coding/compression schemes.

[N.B. Huffman coding probably deserves a short diversion on its own - it works by assigning shorter bit strings to more frequently-occuring symbols. For example, with "e" the most common character in English, a Huffman encoder for general English text could assign it the bit string "1", of length one.

This does however mean that only two of the four possible bit strings of length two - "00" and "01" - are available, since "10" and "11" would have to be interpreted as "e" on the first bit. This is as symbol separations have to be inferred purely from the data stream of bits only, and is a point often lost on students completely new to the field. A common naïve response would be to designate a bit, such as "0", to be the symbol separator, but this would mean that the N symbols would have to be mapped to the N bit strings of lengths 1 to N composed wholly of "1"s, clearly inefficient.. or is it?

Perhaps slightly surprisingly, this state of affairs may sometimes correspond to the outcome of Huffman coding. More generally, however, there are cases in the construction of the code where the objects with the lowest probabilities are groups of symbols, rather than single symbols, especially towards the end of the construction procedure, which implies that the shortest bit strings are in a sense "reserved". Intuitively, Huffman coding does not compress by much when all symbols are about equally probable, but this is getting somewhat out of scope already.]

And, uh, back on track (and avoiding the temptation of lossy compression for another day). It seems patently obvious that a universal lossless compression algorithm that is guaranteed to reduce any bit string into a shorter one, and reverse the operation perfectly, cannot exist. The simplest explanation would be that if such an algorithm existed, all data would be (eventually) compressible into a single bit by repeated applications, which is plainly ridiculous.

Ignorance of this concept has drawn the ire of a Mr. Nelson, who issued an open challenge, about a decade ago, to compress a million random digits (that birthed some of the most hilarious reviews ever) - or equivalently, to produce a program that operates on some given data to reproduce the million digits, where the bit string length of program and data is shorter than the bit string length of the million digits.

Now, while this has not been achieved, it is evident (as acknowledged in an update, and probably elsewhere) that the accepters of this challenge do have at least one advantage - their program does not have to be a good general compressor at all. It just has to be (barely) good at one particular (if long) input, and to make it even easier, the length of standard libraries is excluded (which I think should not be the case, if the definition of compression is taken strictly)


What Is Random?


Begs to differ
(Source: dotafire.com)


But why is the challenge starter so confident that such a program does not exist, or is at least very unlikely to? This, I believe, stems from the belief that the data (from RAND, no less) is random, i.e. there are no exploitable patterns within.

This does beg the question of what exactly makes data "random". There are several possible approaches, beginning with some form of circular definition (it is random if it cannot be [significantly?] compressed, it cannot be compressed because it is random). In practice, what is often done is to run the candidate data through a battery of tests (e.g. Diehard), and declare the data random if it passes.

It should be acknowledged that "randomness" can be a fairly tricky concept, with humans often unable to simulate it well, and it is sometimes nonintuitive to boot (e.g. the sequence of ten coin flips "HHHHHHHHHH" is actually exactly as random as say "HTTTHTHHTH" for a fair coin)

[N.B. A fun diversion: ability probabilities in DotA are not independently random, in the sense that a Bash with a stated 25% chance to occur per attack does not actually have a true 25% chance each attack.

Rather, the distribution is weighted such that although Bash does happen on 25% of attacks in the long run, multiple consecutive Bashes (or non-Bashes) are less common than might be expected. For example, a true flat 25% per-attack chance would give a 6.25% chance that two consecutive attacks would both produce Bashes, whereas with the modified distribution used in practice, the actual chance is only about 0.7%, which is compensated by long periods of going without Bashes occur correspondingly less often too, reducing the impact of luck (if possibly slightly exploitable)]

Coming back, one oft-stated property of pseudo-random number generators (PRNGs) is that they are periodic, or more precisely that if the generator contains N bits in its internal state, it will repeat itself (forever) after producing no more than 2N numbers. This makes sense if we consider each state (which includes the seed, if any) to deterministically lead to some other state, and anyhow 2N is large enough in practice for many purposes even with fairly small N.


Have Some Pi On Us


(Source: flickr.com)


Consider now the case of π=3.14159... . It is known that π is irrational, i.e. it has no period (note that this does not by itself imply that all subsequences must eventually occur in π, and in fact the longest known subsequences of the same digit are relatively short, even if this is in fact suspected to be the case). It is slightly more questionable as to whether it is random, which has, perhaps unexpectedly, remained under debate in recent years.

A 2005 paper by the physicist Fischbach of Purdue claimed that π is a fairly good, if not the best, source of random numbers. The methodology was duly criticized and the conclusion disagreed with by other researchers, however, so it seems reasonable to suppose that the digits of π are about as random as sequences produced by many existing PRNGs, for what it's worth.

What ties this in is that many algorithms for π, including the fairly recent BBP formula that remarkably manages to compute a (hexadecimal) digit at a given location in π without having to compute all the digits before it, are known. Then, if π is considered random, each of these may be thought of as a non-periodic PRNG.

[N.B. BBP still takes a longer time the deeper the desired digit is within π, so it's not completely magic. Notably, it was discovered mechanically using the PSLQ integer relation finding algorithm, and only afterwards had a traditional proof constructed for it. And before I forget, let's throw in an intuitive explanation of Euler's formula.]

At this point, it could be argued that π is not an ideal PRNG since, well, it's π! It would hardly be random if an observer notes that the first digits are the famous "1,4,1,5,9,2,6,5", and infers that "3,5,9,..." follows, right?

Some counters would be that there is no reason why some other schema for extracting digits of π, such as say advancing five digits before retreating two (among other possibly far more convoluted methods), could not be used, and the inference might not necessarily apply in theory anyway (since the sequence should occur at countless other positions in π, though to be fair this is a weak refutation).

Perhaps most importantly, there is no call to use a π generator over other irrational number generators, which one suspects could be constructed out of arbitrary BBP-like spigot formulae. Fine, they would be kinda slow if many numbers are required, but you get what you pay for.


No Lunch Tabs Accepted



So back to the challenge, the creator does accept that there is no proof that the million seemingly-random digits do not actually comprise some special irrational number that can be described by a relatively compact formula, just that it appears to be unlikely. However, since the compressibility standard is so generous (one single byte less than the original suffices), one might suspect that a small distributional bias (within limits of randomness tests) might be enough - and yet no-one has managed.

To illustrate the difficulty, consider the very simple strategy of identifying sequences of bit strings in arithmetic progression. Let the length of the bit string be L, the address of the first occurence be A, the (constant) gap between occurences be G, and the number of repeats be R.

In this scheme, for it to be "profitable" to compress this sequence, it must be that L*R > L+F(A)+F(G)+F(R), where F() represents a reserved fixed length for that variable, for simplicity. Typical values could be F(A)=20 (since 220 is just more than a million, this would be enough to represent the address of all the digits), F(G)=12 (assuming we want to search only in jumps of up to 4096 digits) and F(R)=6 (assuming we are more than happy enough to find a progression that holds up to 64 times). If so, we have L*R > L+38, or equivalently L > 38/(R-1).

But do such profitably-compressible sequences exist? Well, let us imagine that the string "1010" is found at some positions A, A+12 and A+24 (so in this case L=4 and G=12); while this may seem promising, it is quickly realised that to make even a two-bit profit, R has to be 11, and the probability of that is about 1/(24)8, or less than one in four billion if the bits are indeed (more-or-less) random, as compared to the less than four million bits in the given data.

We could try to skimp on any of F(A), F(G) and F(R), but this would either reduce the number of potential matches, or cap the potential benefit of matches. And if this were not enough, we need to make sufficient "profit" to cover the cost of the code, which crazy optimizations notwithstanding should still run into the thousands of bits. Aww.



comments (2) - email - share - print - direct link
trackbacks (0) - trackback url


<< February 2013December 2012 >>

Copyright © 2006-2026 GLYS. All Rights Reserved.