|
|
TCHS 4O 2000 [4o's nonsense] alvinny [2] - csq - edchong jenming - joseph - law meepok - mingqi - pea pengkian [2] - qwergopot - woof xinghao - zhengyu HCJC 01S60 [understated sixzero] andy - edwin - jack jiaqi - peter - rex serena SAF 21SA khenghui - jiaming - jinrui [2] ritchie - vicknesh - zhenhao Others Lwei [2] - shaowei - website links - Alien Loves Predator BloggerSG Cute Overload! Cyanide and Happiness Daily Bunny Hamleto Hattrick Magic: The Gathering The Onion The Order of the Stick Perry Bible Fellowship PvP Online Soccernet Sluggy Freelance The Students' Sketchpad Talk Rock Talking Cock.com Tom the Dancing Bug Wikipedia Wulffmorgenthaler |
|
bert's blog v1.21 Powered by glolg Programmed with Perl 5.6.1 on Apache/1.3.27 (Red Hat Linux) best viewed at 1024 x 768 resolution on Internet Explorer 6.0+ or Mozilla Firefox 1.5+ today's page views: 1456 (46 mobile) all-time page views: 3990763 most viewed entry: 18739 views most commented entry: 14 comments number of entries: 1302 page created Sat Dec 5, 2026 14:04:29 |
|
- tagcloud - academics [70] art [8] changelog [49] current events [36] cute stuff [12] gaming [11] music [8] outings [16] philosophy [10] poetry [4] programming [15] rants [5] reviews [8] sport [37] travel [19] work [3] miscellaneous [75] |
|
- category tags - academics art changelog current events cute stuff gaming miscellaneous music outings philosophy poetry programming rants reviews sport travel work tags in total: 386 |
| ||
|
- changelog - changelog v1.16a --------------- * Basic bug fixes for bert's blog mobile beta, including navigation by date not working for new months, and intra-blog links not working as expected Mr. Ham: Haven't seen Mr. Robo about for awhile. Me: That's because he's been dead since Thursday afternoon. Mr. Ham: Seriously, I thought he was, you know, just pretending, and badly at that. Me: No, he's dead-dead. Forever-dead. Mr. Ham: *dabs at eye with handkerchief* Aw, that's... so sad. Me: And your acting is as hopeless as always. Mr. Ham: He wasn't that cute anyway, and was getting as lumpy as leftover porridge. How about you get a wombat next? Or even a pig and goat combo? And I did raise Mysdeth to Paragon Level 10 in his honour, not that his being up there helped with the utterly crap drops. The ghost of Mr. Robo: I don't mind it too much, actually - I'm feeling far better, not to say lighter, and as an added bonus, it doesn't hurt as much when Ms. Robo kicks me in the nads in my spiritual form. Mr. Ham: Well, your coder-for-hire contract doesn't expire upon your expiry, just sayin', and since you don't need to eat or sleep now, I'm expecting an increase in productivity levels; but that's after your sabbatical, I'm not that heartless. Me: Well, if so, you could return him the healthcare plan proceeds you hambezzled from him. Mr. Ham: *grumbles* You have no proof! Ok, how about this - I'm writing a cheque for the full amount *pulls out lighter* and burning it to him, right now. Fair enough? *smirks* Me: I don't know... The ghost of Mr. Robo: *interrupts* That's quite acceptable, see? *holds up a shimmering ledger* It's being debited into my account up here as we speak. Mr. Ham: *jaw hits the floor* What... how... The ghost of Mr. Robo: FireWire through the Cloud. Mr. Ham: That doesn't even make any sense! The ghost of Mr. Robo: *smiles* Things are not always as they seem, Mr. Ham. Kind Of Unexpected Made it to the CodeForScience Talk and Awards on Saturday morning, and was mildly taken aback by there being rather fewer teams than I had expected, especially given the extremely liberal eligibility criteria (basically, one just has to be over eighteen years of age); while I can understand professors not joining up (even if they are probably among the best-placed to understand the needs involved), it was still strange that there were not more students, given the annual intake in computer science and engineering-related fields at the very least, despite the mass e-mail invitation. I suppose it's mostly down to modesty (saying that, one of the participants displayed an admirable go-getting spirit, which might however have gone overboard elsewhere) - given that we're not short on technical expertise from my experience - since even if one doesn't win any of the prizes on offer, the organizers were still lavish with the door gifts, which included a sturdy bag, another T-shirt to work into my rotation, and a very thoughtful 4GB thumbdrive that will make for a great backup device, and that's not even mentioning lunch. Finding the venue was, however, a pain. ![]() And Birdmarks from the cousin [N.B. On this topic, one way for an individual to decide whether to sign up for a contest, if both too few (unfair to the organizers) or too many (too low a chance of placing/encouraging others to have a go) entries are undesirable, might be to estimate the number of potential entrants E and the number of desired entrants D, generate a random number uniformly distributed between 0 and 1, and sign up only if it is less than or equal to D/E (perhaps weighted by other factors), and trusting all others to do the same. Of course, this probably wouldn't work in reality] As it happened, I appeared to have gotten third (but it was still kind of annoying, upon lugging the framed certificate home, for my granny to ask why it wasn't first) Now, with the expection of the champions, whom I felt were clear winners given their overall execution and polish (which I've got to admit that my app has little of as of now, given the hurry), I thought all of the rest were far more even in quality, and it would probably be more equitable to have a finer gradation in prizes, and in fact quite a few of the ideas are actually complementary. Which reminds me, I guess I'm now obliged to seriously buff it up, but that can wait a bit. One final note: I do expect academic publishers to face stiffer competition in the future, even if it might not be upon them that swiftly, given that arXiv (which I only recently found out is supposed to be pronounced as "archive") and the like have been around for a long time. Given the limitations (if book-likeness) of the PDF format, adding value with various conveniences could be one of the ways to go. Mr. Ham: That's fantastic! By any chance, if you're looking to put the prize money somewhere, might I offer you my services as Certified Financial Con-sultant? Me: Um, no. Most of it will be used to set up the Mr. Robo Memorial Fund for Interesting But Probably Ultimately Useless Technical Innovations And Emergency Journal Fees, the first project of which probably will be a DIY (not that DIY) touch screen, when we find the time. And of course a contribution to Mr. Card Game (N.B. got a random copy of Knowing Me, Knowing You) ![]() But when it comes to innovation, I bow unreservedly to his wisdom (But then life wouldn't be as colourful, would it?) Mr. Ham: But why, when you could multiply it with me, and then buy all the screens and stuff you want, or even an island, which you could then plonk some top talent on and begin selling million-dollar flats in a few short decades? Me: First off, I suspect that perhaps too many - and not just in Singapore, mind - are turning to finance as an end in itself. And secondly, your form being on your personal Cayman Islands letterhead doesn't exactly inspire confidence. Mr. Ham: Oh. Good catch. Epilogue Mr. Ham: Well, that's it. Mr. Robo's really gone. Me: Yep. Didn't seem right to have Man vs. Ham this week, though we probably would have lost anyway. United looked as if their entire team were twenty years older in the first half! *Looks up* The moon looks especially round today. And the sky's on fire. ![]() (Sources: Flickr, Flickr, Wikipedia) Mr. Robo just texted to say that the First Bunny Lunar Bank has gone up in flames, together with their backup servers, such that all transactions within the past day are reversed. You wouldn't have had anything to do with that, Mr. Ham? Mr. Ham: What? No! Scout's honour, m'lud. *winks*
It's been over a week since the last update, which tends to mean that I've been sort of busy, which might or might not be true this time. What is true is the altercation heard between two aunties on my routine bus trip to campus last Wednesday, apparently about inconsiderate luggage placement. This by itself is common enough, but it was the first time I can remember nationality being dragged into it. Interesting times ahead? On the broad brush of the future of transport explored in the previous post, a piece on driverless cars came out on Wired two days later, as did an article on Japan's flirtation with ultra-compact vehicles that are "smaller than a golf cart". Certainly, none of these ideas are exactly that new, as a Google search will ascertain; it's more of when they will come to fruition for me. The Age of Exploration is over, anyhow. The week's DotA adventure was with Centaur, Shadow Demon, Spectre, Magnataur and Terrorblade in that order, as far as I can recall. Raised the Wizard Roboms to Inferno too on Saturday, raising DPS to near 50k through pumping Critical Hit Chance and skilling Sparkflint and Force Weapon. Sunday saw more Game of Thrones, during which I managed to complete most of Archer's Only Time Will Tell - the man has a gift for storytelling - before watching United limp to a completely unconvincing win at Anfield (but I'll take it). This meant that FAKEBERT remains ahead at 638.75/500 seeds in Man vs. Ham, while Mr. Ham has gotten off the ground thanks to Southampton whacking Villa 4-1, right before he was about to denounce the human conspiracy for anti-hamsterism. In between all this, there was the Saga of the Archbishop; while there are various primary views floating around, the happenings should be able to be summarized as such:
All that left me having to pull from my posterior on Monday, which happened to be the deadline for CodeForScience, which I had absolutely no idea why I had signed up for. Well, you gotta finish what you started, or so they say, so it was time to speedlearn Google Gadgets-type API (fortunately, I had some prior experience in this integration thing, if not on this particular platform). That said, it was a 24-hour hackathon the last time round. Oh, there were issues, such as not being able to get the sciverseResultsView to work at all, and of course the question of what contribution could be made that had not already been done. For example, one of the Q&As discussed references, but this had already been implemented excellently by Turkish participants. In the end, I settled on the extremely basic idea of allowing users to compare multiple papers side-by-side (N.B. TeX may be beautiful, but it's hard to beat simple HTML for accessibility): Getting the video out probably took almost as much time as the app itself, contrary to expectations. I was ready to do the voiceover (itself a right chore - haven't exactly practised my diction since the oral examinations back in secondary school, and it shows), when I found out that neither my home PC nor my lab one, both running Windows 7, recognized the microphone integrated into my earbuds! In the end, I dragged out the WinXP netbook that probably cost barely more than the graphics card on both the desktops, and to my chagrin if relief, it worked perfectly. Microsoft, y u like this? Windows Live Movie Maker did work well enough, after I failed to get to grips with CamStudio's built-in captioning. Tip: switch the codec to something like Xvid before beginning, instead of generating gigabyte-sized files with the default settings. Tuesday's lunch kindly sponsored by my supervisors - thanks! ![]() Chicken rice within
![]() The oft-hammered-here incumbents have shown some willingness to make some changes, for which they should be feted and given the benefit of the doubt that it's not just another wayang (which the "national conversation" is, predictably, slowly becoming) His Royal Highness was sufficiently disturbed by the improbable sight to query whether it was common for senior citizens to exercise under the midday sun, his concern perhaps driven by the fallout of his sibling's overexposure to the same a few weeks ago. Not that I see too much wrong with that - let some lucky girl be Disney Princess Of The Day, come on - and so it seems, others think so too as well. Managed another 10km "run" this morning after four hours' sleep, and made it to about 4.5km at a steady pace, hit 35 mins for 5km, and mostly brisk-walked back in 1:16:52, a two minute improvement, disappointing given how the route was kinder than RunNUS. Not much improvement in knee condition, but 2.4km should be alright. Seen Around NUS ![]() Couldn't think of an excuse to hop on There has been a push for more cyclist-friendly measures after a spate of unfortunate accidents, including the provision of more dedicated bicycle lanes. Little has changed since I covered this in passing five years ago, with the inconveniently intermediate speed of bicycles causing them to belong neither on the roads nor on the walkways. Unfortunately, the relatively low observed usage of bikes makes it difficult to justify permanently dedicated lanes as of now, in my opinion. I had been saving up for a repeat rant about the rare specimens who insist on keeping to the middle of narrow two-man-width pathways come what may, as if it would kill them to pick a side, and who sometimes even drift into a blocking position. However, upon closer reflection and examination, I discovered that some of these champions appear to want but the attention of eye-contact. Other times, it almost seems like a contest of who can ignore the oncoming guy longest. Strangely, this is almost uniquely a campus phenomenon. The other complaint is more universal, but scarcely less irritating - the line-of-chatting-friends-all-abreast formation, rightly picked on by an expat observer, which is mostly why I try to hang back when in a group. Give way mutually will lose face ah? While I have no solid evidence on this, my suspicion is that a goodly proportion of students, at least, try very hard to always flock in a group in the same manner as they try to always eat in a herd. Hmm. On yet more transport-related news, the insistence by the relevant minister that public transport is significantly subsidized by the government struck some as odd, considering where the subsidies ultimately come from in the first place (hint: it's not the government). Of course, it could be said that the average commuter is subsidized on the whole, but the fact that the assertion was made is still strange to begin with, considering that transportation is obviously a public good - how is letting your workers get to their workplaces to generate GDP something to claim additional credit for? Skipping to a new (or not) development from DARPA: Not quite an AT-AT yet, but it's a start On the future of public transport here, new MRT lines have been planned, but one can't help but dream about even more ambitious introductions, such as nonstop express trains (brought up here). Beyond that, however, it is hard to look past how inefficient cars are actually - while their main utility is in hauling their passengers from place to place quickly and safely, their payload is generally only from 6% to 20% of the total weight moved (assuming one to four passengers of 80kg each, in a vehicle weighing 1400kg on average) While we do have more efficient options - bicycles and motorcycles (average weight maybe 150kg?) - they are rightly considered to be less safe. As for more exotic devices, golf carts are kinda slow (often limited to less than 24km/h) but still dangerous, about the same as Segways, while lawnmower-powered rides go up to 140km/h (!), and can be rather fuel-efficient besides. Given all this, what would be the ideal urban vehicle, technically speaking? I would go for a stable chassis of go-kart dimensions and lightweight frame material powered by a mower-grade engine, with a top speed capped at perhaps 80km/h, leaving required development mostly in the area of driver protection during collisions (plenty of airbags, maybe?), though damage should be somewhat mitigated by the relatively light weights involved, especially if all other vehicles on the road were also of this form; F=ma, after all. ![]() What it could look like (seatbelt and airbags not included) (Source: zigwire.com) Further innovations are possible. While self-driving cars look certain to be an eventual reality, what if it became the norm for such cars to further cooperate with each other? Intuitively, organizing traffic in a situation where all vehicles are networked-autonomous should be easier than when, say, only half of them are, since there would remain some uncertainty about the action of human drivers in the latter case. Some theoretical advantages of such an integrated system would include:
As to the expected gain in efficiency, a simulation could probably be written. There would, of course, be well-founded concerns and objections, such as:
Still, it's nice to picture what could be. Dishes Up From Test-tubes On to workers, Sakae Sushi was all over the news for claiming that they were unable to find cleaners despite offering the princely salary of S$3000 a month. Many were predictably skeptical, given how much above the market norm this amount was. As it was, once the news broke, they had 300 applicants within days, which makes one wonder where they had been advertising the job before this. As it turned out, the offer was not quite that simple - the originally-stated 9 hour day was quickly revised to 12 hours, with a six-day work week, which comes out to S$8.72 an hour following Ministry of Manpower guidelines of a 44 hour work week, with overtime paid at 1.5 times the normal rate. While higher than the norm (and indeed working in fast food), it is not that outlandish, even for manual labour. I have two observations to make. Firstly, I was taken aback by some of the responses to this offer. While there may well have been an implicit suggestion that local workers are picky (which as we have seen, they probably aren't if the price is right), the other objections are mind-boggling. For example, stating that the wage is lower than the lowest minimum wage in Australia or the USA, when USA minimum wages are commonly about S$9/hour - and isn't washing dishes more or less the definition of a minimum-wage job? I tend to side with the little guy, but find it hard to do so here. Secondly, it was revealed that foreign workers in fact cost the company a comparable amount - S$2300 to S$2900 - but the workers themselves get far less after the contractors take their cut, which doesn't seem equitable to the workers, but what do I know. Here I have to say that Bangladeshi workers are generally very nice fellows, with one of them even thanking me for sharing a seat on the bus with him! If only they would refrain from picnicking in the middle of the pavement... Ran Off With The Band The banding system for secondary schools has been scrapped (see how it was), a daring move which should be applauded, then recognized to perhaps not mean that much - while it should do away with some busywork for the administrators and teachers, parents and prospective students are not going to suddenly recognize all schools as equal. Additionally, it seems like the awards have not been completely done away with either, instead being replaced by recognition for measures such as "student all-round development" and "character and citizenship education". How they are going to go about quantifying that, I have no idea; then again, it seems that they have been doing it all this while, though without much relation to the banding. Hopefully this doesn't simply presage a shift from compulsory tuition to compulsory volunteer work and other wayang. And Here We Have It The organizers of the Mitosis Detection contest have returned the results on the test set, and it turned out to have a rather higher precision, but correspondingly lower sensitivity, than I had expected. On the off-chance that anyone's interested, researchers from ETH Zurich/HCI Heidelberg and A*STAR have placed their approaches, both refreshingly distinct from mine, online (a third contribution from Warwick, not yet available, uses a Gaussian Mixture Model). Am eagerly anticipating picking up more much-needed ideas from the event. On the practical side, I'm beginning to be resigned to better (i.e. more) data being more important than "better" classification techniques, especially when there is little data to begin with, i.e. a results-focused enterprise might do well to allocate resources towards the two keeping this in mind. Do-do-dota! Had a honest-to-goodness all-human 3 vs. 3 series for the first time in ages on Saturday night, getting home to watch United score four in the second half to cap it all nicely. Reviews follow: Game 1: Warlock/Lich/Phantom Assassin vs. Tiny/Drow Ranger/Ogre Magi. Warlock held ranged advantage in the middle lane, while Lich as usual had an almost unfair early start (probably viz. infinite-mana Nova). Sentinel pushed middle aggressively ("Plan B") very early on, which might not be advisable in a three-man game, ending up significantly underleveled. Illusions can be fun! Oh, and Aghanim's now upgrades Warlock's ultimate to two Infernals, which it should be remembered can be deadly even simply running alongside enemy heroes, with their Permanent Immolation (30-50 damage/second, stacks). Build was Ring of Regen/Ring of Basilius, fueling utility spell Shadow Word. Game 2: Omniknight/Death Prophet/Sand King vs. Viper/Drow Ranger/Axe. Top lane was Omniknight vs. Axe, probably not one of Axe's better matchups especially as Omni gets geared up. Viper had the early hand over Death Prophet in the middle as is to be expected, though pushing was not easy with spammable Carrion Swarm. Sand King's Sandstorm could unfortunately be countered with Silence, but he provided a welcome outlet for the one skill point in Repel taken early, a classic combo. Farming proved simple enough after Vladimir's Offering, while Death Prophet provided Exorcism for downing towers. Game 3: Enigma/Razor/Spirit Breaker vs. Undying/Drow Ranger/Lion. Wasn't too hot on Enigma, but decided not to repick, and spammed Gauntlets of Ogre Strength to boost his lousy health pool (my days of running about with naked Pugnas are over), and plenty of Tangos. They never got turned into Bracers though, with conservative play required against Lion, and Blink Dagger was skipped too for straight Guinsoo's Scythe of Vyse after the gold rolled in from some fortunate-not-to-be-pre-disabled Black Holes, which were more damaging than I recalled. Standard team-fight initiation: Malefice on the fighter, Guinsoo on the caster, Midnight Pulse the area, everybody dives in. Mekansm was a late acquisition of convenience that saw some use. Bonus observation: It is probably better to be overeager in using skills - particularly targeted stuns - than too careful; perfect is the fatal enemy of good enough. Footying The Bill Missed the Malaysia Cup again, though just as well this time, as the Lions put on a simulacrum of a football match against Johor FC. Well, it's not the first, and definitely will not the last, time where two sides whom will both go through by drawing somehow play well below their usual level in the final round of a group stage. Solution: don't buy a ticket. It was meanwhile a washout in Man vs. Ham, with all bets for the week falling through - can't be too sad at City and Chelsea being held, though, even as West Ham failed to beat Norwich, and Southampton were trounced by Arsenal. United won handsomely at Wigan to make up the distance, following Rule Number One: ![]() (Source: Somewhere on the Internet) Late Breaking Tweet Of The Day It's becoming like an annual observance now: ![]() (Source: twitter.com)
Another end to a long day calls for some serious unwinding: Me: Haven't had anything crack me up like that for weeks! Why don't some pets entertain like this? Oh, not Mr. Robo, who's had nearly all his fur drop off from the stress of preparing experiments. Yes, I mean you, Mr. Ham. Mr. Ham: How undignified - and that's backed by the research you two seem so big on, which is not even the proper killer robot or Big Brother sort. Just so you know, I had my own projects, such as sowing strife and discord between two of hamsterdom's greatest enemies, cats and humans, and keeping competitors off my turf. Me: Aren't the pandas safely landed? Mr. Ham: See, I gave it as good as it got, but I got distracted by some crushing news from Korea. Poor things, they've gone from tragedy to tragedy in short order. Me: Can't understand what people see in Gangnam Style either. Mr. Ham: What? No! I'm talking about the fall of a G-V star among stars. Months after losing a Dear Leader, they now also mourn a Celestial Leader - he was my Sun, he was my Moon, he was my Sun Myung Moon! Cherished head of our partner organization the... uh... where are my notes... *fumbles in pocket* um... 日月神教. Yeah, that must be it. And oh, he's your Dad too. Myself, I'm up to being Great-Grandfather. Me: ... Mr. Ham: *sniffs* Ingrates! History will remember him as the Messiah, or at least among the top five! ...Ok, top ten minimum. O miserable are those who doubt his messiahness, for they are as the discarded popcorn buckets trampled underfoot! Those who mock us do not understand, for many raisins we shall partake of in the Light of his face, both solar and lunar, which come to think of it is solar too... never mind. Tremble in the presence of the once and forever Kim! His considerable will, subject to legal interpretation and behind-the-scene wranglings by his brood of kids, be done! Me: I think you're mixing up both your clients and your passive-aggressive implorations very badly. Mr. Ham: Darn, knew I had taken on too many of them. Still, Lil' Kim's exceeded my expectations - it seems like he's quite the beefcake up there. Which may not be quite that impressive when you consider that he can have competitors thrown into gulags, but Hollywood's kinda unforgiving too. And he's snagged himself a wifey as well! Dear thing must have been over the moon, maybe even the Sun, and the only thing that could have made the union even more perfect would have been the addition of a couple thousand other couples who had barely even met each other! Me: I don't know about that... Mr. Ham: Many are the things you do not know, human. Like the fact that you're doomed if you do not join the One True Quadrilateral. That's one of the problems you lot have - Korea's got K-pop, your artistes run off to Taiwan and Malaysia if they're any good. Korea's supported Samsung and Hyundai, your last hit was the SoundBlaster. Korea's got on the world stage with Sun and his multibillion-dollar empire, and you imbeciles shut down your best hope for the future, and for what? A mere fifty million and change. Ho ho. Best Furry Pals I then got into a heated altercation with Mr. Ham on his business methods, and it got to the point where he suggested we patch it up by watching Ted together. Me: So what do you think of it? Mr. Ham: For a film based wholly on adolescent wish-fulfilment, it wasn't too bad. Me: Uh huh, the premise was pure fantasy, but it did work. Mr. Ham: Yup, the whole bit about a 35 year-old used-car peddlar hitching up with Mila Kunis, then fronting for Norah Jones - what an utter fairytale! Thank goodness the director had the good sense to throw in a teddy bear coming to life as a Christmas wish to make the plot slightly plausible. Me: Kunis doesn't really do it for me... Mr. Ham: Yes, yes, elbows too pointy, I've been there. Ted, though, is a bear after my own heart - in different circumstances, one in which I hadn't tried to sabotage his black-and-white cousins, we might have become fast friends. ![]() Now you're talkin', baby! (Source: Somewhere on the Internet) Me: I can well believe that. Mr. Ham: Just curious, what would you do if you were caught in that predicament? Bros before hos, surely? Me: Oh, I've got the nearest animal shelter on speed-dial for that eventuality. Mr. Ham: That would have been funnier, you know, had I not been earning like a hundredfold your piddly income from my personal Cult. But hey, look, we're buddies, there's always a place for you in my organization, man. Whaddya want to be? A Cousin? I think an opening for Grand-Uncle rank just opened up, interested? There's been a long history of such sinecures for connected folk since the Middle Ages and before, so don't think too badly of it. Me: Thanks for the concern, but there are still some things I will not do, my friend. Mr. Ham: *shrugs* Alright, probably wouldn't have worked out anyway, you got a crap singing voice. Tuition Tut Perspectives From A Private Tutor has been making the rounds, which led me to question myself why I am not out there corrupting the young. Given that even China is banning Math Olympiad prep classes, there might be even more business spillover here, not that custom was ever lacking. For those who may prefer reading about doing math than doing it, like me, I recommend You Failed Your Math Test, Comrade Einstein, about how politics can interfere with the purest of sciences. I was about to check it out from the library, when I realised that there was a full PDF copy floating about, with a number of superficially-attackable problems. After looking at them, I decided to tackle Calc II first, if ever. I must also remark that I was flabbergasted at Harvard probing half the class of Government 1310: Introduction to Congress for cheating. Shouldn't they be given extra credit, considering the subject matter? At the very least, it is an extremely important matter that deserves detailed personal attention by worthy officials. How Would One Do It? One cannot help but run across all manner of challenges in daily life, of which this xkcd comic (N.B. They have a wiki dedicated to explaining the strips now) stuck in my head. From the hover text: "FYI: If you get curious and start trying to calculate the time adjustment function that minimizes the gap between the most-used and least-used digit (for a representative sample of common cook times) without altering any time by more than 10%, and someone asks you what you're doing, it's easier to just lie." Before moving on, however, I popped on to the corresponding forum thread to check if anyone had already done it; seems not, but there were a lot of eye-openers, such as some microwaves allowing freer interpretations of times (e.g. entering 0:90 is accepted for 1 min 30 seconds), alternate input methods (e.g. a button for +30 seconds, which had some users simply pressing it in multiples) and users having quirky habits (e.g. being predisposed towards multiple mashing approximations, such as entering 0:22 for 20 seconds) So, on to an actual solution sketch. There remain some assumptions to be made, of which the most basic is probably what sort of valid times the microwave accepts (i.e. can 0:90 be entered, or must it be 1:30?). Since there seems to be no particular justification for either without holding a survey, I'll just go with the former from here on (ironically, the microwave I have at home has but a dial) With this decided, every input time T (in seconds) can be translated into a set of actual inputs RT={RT_1, RT_2, ...}, subject to the constraint that 0.9*T<=RT_i<=1.1*T for all i. Consider a concrete example: When T=90, R90={0:81,...,0:99, 1:21,...,1:39}, |R90|=38. It is then time to set a second assumption - is the time adjustment function allowed to take its previous outputs as an input, i.e. is it allowed to have a memory? If not (disregarding randomization for now), then every T always maps to the same output, and the problem can be cast as optimization on the given distribution of input times, with the objective function being min(gap(sum(RTi_j))), on a mapping of each i to some j. Now, the optimization problem has a long and storied history that I am neither qualified nor inclined to enter at depth. There are, however, a few things to note. First is that checking all possibilities always reveals the right answer - but in many practical instances, such as this one, takes far too long. So is there some efficient way to minimize the gap? While I have neither found one nor am ready to state that one does not exist either, I thought it instructive to compare this to some classic problems. Take the subset sum problem, which asks, given any set (or bag) of integers, whether there is a subset that adds up to zero (trivially extended to any integer) First, the similarity and good news - here, the size of the subset is fixed as the number of unique inputs times N, and in addition, there is a constraint that each element in that subset must come from a different subset in a given partition (also of size N) of the entire set, so the search space is (far) smaller than an equivalently-sized subset sum problem. But even so, does this make the problem intrinsically easier? Not really, with the yet-more-similar multiple-choice knapsack problem (MCKP) known to be also NP-hard - no efficient solution is known for it in general. Note that while the microwave problem is not exactly MCKP, in that there is an additional gap-function covering the "profits" (the RTi_j values, themselves multi-dimensional histograms of ten elements corresponding to the ten digits), I am hard-pressed to see how this would make the computation substantially simpler. All this points to a heuristic solution, in which the search space is scoured using some technique like simulated annealing, parameters extracted, and results reported (disappointing, I know) ![]() Simple example of exhaustive greedy search with T=10 (50 times), T=30 (100 times), T=60 (200 times) Note normalised gap (NGap) = 1 if the natural inputs "10", "30" and "60" were chosen; static mappings were "9", "27", "81" The results can be improved with the allowal of memory and/or randomization. Consider the case where the cooking times were all T=50 - then, any static mapping would forever produce the same two digits, i.e. the normalised gap must be 1, whereas if randomization were allowed, the digits used would be able to spread over the entire 0-9 range (since allowable R50={45...55}, for a normalised gap of less than 1. With memory of past choices, the average-gap-over-time would be further minimized, since the best mapping option could then be selected at each input time. Gah, it'll probably be easier to use a scramble keypad. One In A Million It had to happen. ![]() It must be the best public housing in the world! (Source: SGAG.SG) The best tip that I got for the week was to immediately renew my library books upon checking them out, which should save me a pretty penny on fines. The other big tip, from one of my reads, was never to pay more than 15 years' fair rental value for a property, with 150 months an ideal. This does seem to hold here, using the S$2560 average of median rents, which points to prices of S$384k to S$460k for five-room flats. There was to be more here, but it deserves its own post. Viva la Résistance! Having done what I had set out to, and gained a few Paragon levels on my Demon Hunter, I resolved to return to Oboham the Monk and get him to Inferno difficulty (the cousin's now on Dragon Force, of all things). To this end, I found out that I had lost sight of my original vision of a nigh-unkillable grinder-tank, and boy, does it lend itself to a whole new experience when he's built properly. First, the gearing. Following the idea outlined in this forum post, I stacked All Resist and Arcane Resist stats on Oboham's items with highest priority, and then Life Regeneration, only taking Dexterity and Vitality when they came along for the ride. With the One With Everything and Time Of Need-runed Mantra, a mere 265000 gold (again, could have been less with more patient spending) bought 1370 in every resistance, 5912 Armor, 2368 Life regenerated per second and *ba-dum* a mere 968 Dexterity, 10k DPS and, most startlingly of all, 12000 Life. Wait, wasn't the Monk supposed to be a meat-shield class? Why then does he have less than half the Life points of the glass cannon Demon Hunter, despite having only 40% more Armor? Well, the magic lies in those resistances, of which Physical Resistance is one - as with the Dexterity bonus and Critical Hit Damage (exploitatively stacked by Demon Hunters), they are mutually multiplicative. In this case, 1370 resist would mean that all incoming damage is reduced by about 81%. This remaining 19% has another 65% chunk taken out of it by the 5912 Armor if physical, which then has a 30% discount applied for being a melee class, leaving only 4.5% of the original damage, assuming it's not dodged outright (30% chance) or blocked (18% chance) in the first place. Okay, so a monster hits for 4500 damage down from 100000 raw - isn't that still a large percentage of Oboham's health? Well, to begin with, Oboham would heal that back in less than two seconds passively, no questions asked - while the Life on Hit affix is popular, why bother with it when one can just run about for five seconds and be back at full health? This is just the beginning of Oboham's survivability toolbox. Breath of Heaven, on a 15 second cooldown, becomes close to a full heal; Serenity, on a 20 second cooldown, is three seconds of invulnerability plus a full heal. Blinding Flash gets enemies off his back, Mantra of Healing is yet more regeneration (perhaps overkill), and there are always health potions on top of all that, of course. To cap it all, the dirt-cheap breastplate I picked out happens to have Health Globes grant a bonus 10k Life (plus 6k from the boots) ![]() Here, everybody gather around and hit me, it'll save time in the long run The practical upshot of this is that Oboham is practically immortal in the course of normal play on Hell difficulty - basically, he can be left in a mob of Elites and Champions for a toilet break, smile through taking their attacks on his face indefinitely, stand in multiple Plague or Desecrator pools, and probably kill them eventually through his Thorns aura, all the while not even seeing his health pool do more than twitch. There are drawbacks, certainly, the most glaring being that killing monsters actually takes time now. Run-of-the-mill mobs that Mysdeth one-hits take multiple punches, bosses that she shoots down in seconds can take minutes, Lashing Tail Kick can't be spammed like Chakrams and is less powerful besides due to the huge difference in base damage, and Oboham has no mobility skill on a par with Vault. In conclusion, for efficiently farming items (which was the whole point, wasn't it? Even games need to crunch numbers one eh) I'll still take a Demon Hunter over a Monk any day (though I haven't gotten anything worthwhile other than a poor Ageless Might that would probably be most valuable broken down into a Fiery Brimstone - well, at least Exquisite Essences still sell for something), or at least until I can afford a lot more damage for Oboham, and maybe gear him more towards Armor. For the record, Mysdeth is doing the Festering Woods -> Halls of Agony (1 and 2) -> Cursed Hold -> Halls of Agony (3) run, which takes about half an hour on average, and gives 50k gold/2.75M exp, and a crapload of unsellable magic and rare items that gets turned into essences or sold to the in-game vendor for maybe 25k gold. Yes, paying cash would be far more efficient, but that defeats the whole purpose, doesn't it?
- academics - No EPL this week, so it's just my idea of leisure and me. HEp-2 Update Screening the just-released Technical Program for ICPR turned up at least three papers (and presumably contestants) on the HEp-2 classification problem described here previously. A team from Hong Kong used Multiclass Boosting SVM, though no hard figures about the results are available in their abstract, while representatives from SUNY Buffalo claimed 91.13% on HOG, texture and ROI features, also using SVM, though it was not immediately clear if this accuracy was obtained using leave-one-out. More details are accessible for the entry from Lund, Sweden, as they have very kindly placed their paper online. They report a leave-one-out accuracy of 97.4%, 1% higher than what I managed (apparently, the previous best on this dataset was 79.3%, with Adaboost), using the Random Trees classifier on close to a thousand features; unsurprisingly, the distribution of their confusion matrix is quite similar to mine, being born of the same data and uncertainties:
In both cases, the confusion between the similar-looking homogeneous and fine speckled classes is the strongest, and they have additionally improved upon some categories, most notably on the fine speckled cells. ![]() To gain some estimate of the reliability of my results, I ran my SVM-based procedure 10000 times on random even (not leave-one-out) splits of the given data, which gave an average of 95.1% accuracy, a minimum of 89.7% and a maximum of 98.9%, with a standard deviation of 1.18. 90% of the range was between 93.0% and 96.9%, with the distribution approximately symmetrical; since the actual competition held-out test set is also the same size as the given data, I would hazard that the actual spread would be comparable (±2% in a 90% confidence interval), perhaps a bit less. In any case, I believe that getting some 96% leave-one-out accuracy with just ten features might still offer some insights as to how compact an effective descriptor for the cell classes can be, again assuming no implementation errors. Go Mitt! (Yeah Right) With the deadline for the Mitosis Detection contest approaching, it was time to finally get onto it in earnest. After squinting at the dataset for ages, I had to conclude that it was far harder than the HEp-2 one, at least in terms of predicted raw classification accuracy achievable; while there are only two classes - mitotic or non-mitotic, the difference is that while I feel fairly confident of visually identifying the type of HEp-2 cells, I can't tell between mitotic and non-mitotic cells myself - so what hope of training a computer to do it? ![]() Which of these are mitotic? Since I had signed up for it, though, I felt obliged to give it a go, and therefore hardened my forehead and began to probe for clues. The first question was whether it was even possible to segment out the mitotic nuclei candidates for consideration, and happily enough a preliminary investigation revealed that they were generally far darker than the average pixel in the slide image. What this means is that, taking only the darkest 1% of pixels, they would include 47% of the pixels marked as within a mitosis, and moreover cover half of all individual mitoses by at least 50%; these figures rise as the threshold is raised, and 91% of all mitoses would be at least half covered by the darkest 4% of pixels, and 99% by the darkest 10%. In addition, this simple method of segmentation produces candidate regions - which I shall call blobs from here on - that are close to the size and appearance of the true mitotic extent, since nuclei are generally separated from other nuclei by lighter-coloured cell tissue. The tradeoff then is that while a higher threshold includes more true mitoses, they also include more false candidates - at a 4% threshold, some 323 candidate blobs are produced on average per image, with only about 6 of them true mitoses; at 10% (which was chosen), the number of candidate blobs rises to 963: ![]() Are there any further observations that can be used to winnow more of these false candidates? Well, it can be seen that true mitoses range from 209 pixels to 2782 pixels in size, and therefore too-small blobs of about 100 pixels or below can be ignored. While about 10% of the mitoses come with multiple components, the largest of these components still has a size of over 209, so the rule still holds. Despite all this, plenty of candidates yet remain, and we shall have to, as with the HEp-2 cells, attempt to extract features from them that allow the computer to discriminate between them (as covered). From experience, the pipeline of action in such tasks is dully standard:
Size, as has been seen, is a pretty good feature, if far from enough on its own. How ideal a feature is can be estimated visually from the distributions, or slightly more rigorously using some measure of the difference in normalised distribution between the mitosis and non-mitosis classes. The results can be, and were, unexpected, with the skewedness of normalised intensity apparently being the most discriminative feature among those examined, with custom additions included after much thought, such as the average distance to neighbouring candidate blobs and the number of gaps within, being almost as useless as the position: ![]() (Click to enlarge) Not that skewedness is even all that good a feature to begin with, but that's what we have got to work with. Next was throwing all of them in and having LIBSVM sort it out. Frankly, I would have been shocked had it managed to come out with anything close to the supplied opinion of human experts (which, it has to be said, do not always concur) There does not appear to have been much research down this exact line (which was part of the reason why the contest was organized), though I did dig up a fairly recent paper that had the machine agree with human experts 63.6% of the time on mitotic cells, and 98.6% of the time on non-mitotic cells, using a process that appears fairly similar to what I am attempting, with SVM as the major classification technique. These results broadly concur with my grid search findings, using ten-fold cross-validation: ![]() In particular, at a non-mitotic sensitivity of 98.4%, a corresponding 75.4% mitotic sensitivity is achieved, similar to the above claims (again, keep in mind that the datasets used are different). However, the problem is that there are on average over 900 candidates per image, so a 98.4% non-mitotic sensitivity, while very high on the surface, means that there would still be some 16 false positives per image! Though most of the true mitotic cells would be detected, since there are generally only like five of them per image, the output would still not be very useful for diagnostic purposes, as slides of healthy tissue would probably then return a similar number of positives as cancerous tissue. Well, I'm not gonna sweat it too much, seeing as this is just for fun, and so the final question is: what tradeoff between true and false positives should I shoot for? Now, the evaluation metrics are based on pure recall (sensitivity), precision and the F-measure, which is a combination of sensitivity and precision. Sensitivity is probably the easiest one to maximize, if other measures are disregarded - simply report all the initially-segmented blobs as true positives; recall that like 99% sensitivity is possible this way at a 10% threshold. However, the readings would then be basically completely meaningless, so I'll pass up on this slightly-cheap plan (though I wouldn't judge contestants who do go down this route for the medal) Precision is a more practical measure, which basically asks how sure one is that a candidate predicted to be mitotic by the computer actually is mitotic. Assuming that the system picks out 20 candidates, 5 of which are actually correct, the precision is then 5/20=0.25. From the graph above, one possible combination is 16.98%/99.93%, which means that the system only gets like one in six true mitoses, but almost nothing wrong, which unfortunately is again not very useful. As sensitivity and precision are both flawed, in that one can focus exclusively and score very highly on either of them while producing rubbish, it is natural to try and combine them in some way to encourage results that are fairly well-balanced. One popular metric is the F-measure, which is 2*(precision*sensitivity)/(precision+sensitivity), which seems to me like a reasonable target. With this in mind, I translated the abovementioned data points to their F-measure equivalents: ![]() ...and the combination of 57.21%/99.70% maximizes the projected F-measure at 0.575 and indeed, detecting nearly 60% of the true mitoses while having only about three false detections per image seems kind of promising (Cohen's kappa=0.572, which seems fair). Not so bad lah. Of course, whether this performance translates over to the held-out data remains to be seen. An average of 4.2 candidates were returned from the trained model per test image, which does seem plausible enough. Well, that was disconcertingly like my usual research.
- The State's Times commentary on the National Day Rally. What can be said? (More later) That's the weekend done - Saturday afternoon saw shopping for Mom's birthday present, which was a sight easier than finding jeans that fit (i.e. non-skinny/slim-fit, non-low-rise). Despite being willing to pay, the only pairs that were easy on the thighs (and further up) were inches too wide at the waist. There has got to be a market for custom orders. That meant no live Malaysia Cup action at Jalan Besar, but the Lions won 1-0 in any case. Next on the schedule was RunNUS in the morning - I had quite adventurously signed up for it as part of a IPPT training schedule. Unfortunately, I didn't quite manage to fulfil the "steady progression" bit, but well, it's just 10km, and I've taken out the sole inserts that so hobbled me. How hard can it be with char siew bao fuel? Slightly harder than expected. The "steady pace, no walking" plan fell to pieces at about 4km, which was about when I did some mental arithmetic and realised that my planned timing of 55-60 minutes was a bit too ambitious - if I could do it, I wouldn't be preparing for the IPPT at all! Eventually made it back in 1:18:49, collected the finisher's tee and began mulling over the eight-hour marathon time limit before my ego smacked my id. Knees certainly need more seasoning. Bowled four games after that. Need more practice. Jest On The Go Having a smartphone had made the daily bus journeys less dreary, with access to forums, news sites and Wikipedia at my fingertips. Technology has been catching up everywhere, with NUSNET password resets now possible by SMS-ing one's student number and NRIC/FIN to the SMS@NUS service, though this has somehow not been documented online. The news does, regrettably, include the above plea to perpetual one-party rule (which should resonate with some incumbent supporters who are quite incredibly mulling over an end to democracy and elections [!] - all roads do end in Rome...), which then goes on to praise the PM for bravely admitting to the inevitable raising of taxes (let's guess - mostly on the GST, to help the poor again) The cloying lauding of the PM then moves on his chiding locals for their (sometimes perhaps justified, sometimes less so) verbal assault on foreigners, which might have been easier to stomach had the reverse been emphasized as well, which I gather makes for a large part of the resentment. No home ground advantage, fair enough, but why the handicap? The farce would then be surpassed by the birth-rate problem being dismissed out of hand as (quote) "...it's ultimately not about money, it's about values, about deep motivations." Fair enough, it's not all about money, but it's still a bit rich coming from a leadership that has all but conceded that values and deep motivations are, you know, not quite sufficient when it comes to the honour of national administration. Furthermore, they are already throwing plenty of money for babies - just only to those who are making a lot of it. As previously pointed out here, look, if it's not about money, why not put your money where your mouth is and prove it? It could be noted here that the "not about money" assertion only comes into its own when the money goes outwards - there have been remarkably few qualms about using money to shape values and motivations when the money flows in the opposite direction (think the COE, ERP and additional fees for third babies in the Stop At Two era) After all this, the reference to the "national conversation project" was laughable. As Herr Ahm would say, it would be a monologue in all but name, with the proceedings as follows:
Herr Ahm: *chomping on cigar* Heh, you know it too - they're all in it too deep, by their own doing, to make significant changes. You do have to give it to them, though, for managing to sell short-termism as long-termism, and vice versa. Me: I don't think the event horizon has been reached yet, but it's closing. But they're not helping themselves with not-very-subtle banners like "Once-xenophobic Japan is being forced to woo foreign talent, in the face of some citizens' resentment" (Today, 31 Aug, emphasis as printed), which when read deeper in reveals that the foreigner percentage in Japan is like 2%, and their "influx" is 2000 skilled foreigners a year. Herr Ahm: Just face it, it's all been decided way up there - which by itself is fair enough, but an interesting point is that when the above writer decries populism, he ignores that the incumbents are the incumbents precisely as they are popular, by definition and some gerrymandering. Hopefully they do not forget to stay popular enough. Me: Sometimes I wonder, why should I care? What will be, will be, just make hay while the sun shines like them. Bat Hung Up Wang Yuegu, one of our Olympic medal-winning representatives, has retired, which brings me back to my recent outburst. I deeply regret that I was not able to wholeheartedly support the team, but it was a situation that could have been avoided in the first place. The foreign-talent-in-sports scheme started off decently enough - invite top coaches and athletes to train and spar with locals, and if a couple of them wanted to convert, well, why not? I remember enjoying Jing Junhong's exploits (she's deservedly coaching here, by the way), under the impression that it was a stop-gap measure, and that it would lead to higher standards from local players. I was also younger and more trusting. Unfortunately, somewhere along the way, it turned into you win stuff for us, and we hand you citizenship, don't bother about the locals. Which may have some parallels elsewhere. Making a U-turn may be hard now, with promises that probably shouldn't have been made, made - which also may have parallels to the wider picture... Expended (Spoilers!) Was up for The Expendables II on Tuesday night:
GOD's The Word The Champions League group stage draw threw up one of the deadliest groups in memory, with Group D containing Real Madrid, Manchester City, Ajax Amsterdam and Borussia Dortmund, all league champions of their respective countries. One could almost feel sorry for the clubs. Almost. United meanwhile got Braga, Galatasaray and Cluj, and if they don't get through again, there's nobody to blame. Three's The Trick The slightly-anticipated release of Paragon levels for post-level 60 Diablo 3 characters has motivated me to develop my Demon Hunter to that point, alongside the Monk and Wizard, and I was surprised, if pleasantly, that the game got markedly easier as I hit max level and ventured into the final two Acts of Hell difficulty. Almost all mobs fell within like three arrow shots at most, while even Diablo himself took only a few concerted volleys in between dodging. I can't speak for Barbarians and Witch Doctors yet, but it has been my experience that being a Demon Hunter is far easier than being a Monk or Wizard, at this stage. Yes, Monks can heal, Wizards can teleport and area slow, but who needs any of that when an averagely-geared Demon Hunter can just fling several Chakrams, follow up by blindly shooting, and clear just about everything in seconds? Which brings me back to the pain of being melee - as far as I can see, the Demon Hunter is more or less a Monk that can punch enemies before they even appear on the screen, and who, to add insult to injury, also punches harder due to not needing to care as much about defence. Even more crazily, base damage affects near every skill; so let's say that the unfairly-punched-from-across-the-screen monsters aren't dead yet, and are now running at that insolent Demon Hunter. Well, the Demon Hunter doesn't have Teleport, but she can Vault a similar distance, and leave a trail of cinders that does 1500% base weapon damage over three seconds. If that sounds mad, it is. All this is probably why it took only 30 hours to reach level 60 this time, as opposed to 40 for the Wizard, and 60 for the Monk. Familiarity may have had a bit to do with it, less so resources, since gear upgrades were all well within self-generated funds. I suppose about 15 to 20 hours is very possible, especially without picking up items/managing inventory, and purposefully grinding at monster-rich areas (the Stygian Crawlers, or treasure chests on legs as I call them, at Arreat Crater come to mind) Mysdeth has been having a good time of it in Inferno Act I so far, with 2325 Dexterity, 786 Vitality and 400+ Strength/Intelligence, 74k+ DPS (with Sharpshooter maxed, 41k+ without), 28k HP, 70% Magic Find and 14% Gold Find. The gear required cost less than half a million gold in total, probably less if I had been patient and not depended on buyouts from the Auction House (searching for high Dex, and then considering the other goodies):
[N.B. One asterix denotes one socket filled by a Flawless Square Emerald (+34 Dexterity); all items are Rare] The take-home messages:
One other thing to keep in mind is that item values should depreciate steadily over time (unless Blizzard tweaks the generation rate of top-end gear, as some suspect), since the supply of very good items tends to grow much faster than the player-base demand - or: if one can't pass a certain barrier, don't fret - simply wait a couple of months for the requisite gear to become affordable.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
![]() Copyright © 2006-2026 GLYS. All Rights Reserved. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||