HNHacker News
TopNewBestAskShowJobs

mikhael

8,995 karma · joined November 4, 2008

submissionscomments
mikhael··on The Pronunciation of Django
I find this even more confusing.

#1: You preface that sentence with "But in French" so why mention English? Can /dʒ/ actually be written some other way than "dj" in French? From your post, it seems like the answer is no.

#2: The first paragraph of the third card neither mentions nor implies (to the non-linguists among us, at least) anything about English "j" having a hint of "d". This is something I'd never realized before, and only discovered it by saying "James" aloud a few times after this post; and I'm still not 100% sure that it's right, based on the post.

mikhael··on The Pronunciation of Django
Is this a deliberately confusing explanation?

"... this falsehood perpetuated on the big screen in Quentin Tarantino's Django Unchained where the eponymous character spells his name, adding 'the D is silent'."

...

"The D is not silent, it's very much pronounced."

...

"... Tarantino's film teaches the correct pronunciation ... it is incorrect to say 'the D is silent'."

...

"But in French, /dʒ/ can be written 'dj' because the 'j' alone is just /ʒ/."

OK, if the "d" is not silent, don't you mean that /dʒ/ must be written "dj"?

Why not just say that, in English, "j" as in "James" has the tongue touching the roof of the mouth, so it always sounds a little like a "d", but in French it doesn't?

mikhael··on Auto-Threading Compilers Are Here
I second the call of bullshit. Though I've only skimmed the paper, I don't see any concrete performance numbers. I only see this:

"The group has written sev- eral million lines of code, including: core libraries (includ- ing collections with polymorphism over element permis- sions and data-parallel operations when safe), a webserver, a high level optimizing compiler, and an MPEG decoder. These and other applications written in the source language are performance-competitive with established implementa- tions on standard benchmarks; we mention this not because our language design is focused on performance, but merely to point out that heavy use of reference immutability, includ- ing removing mutable static/global state, has not come at the cost of performance in the experience of the Microsoft team."

mikhael··on What’s really so bad about bubble sort?
I'm confused about one part of your analysis. You write that Q^k_l = Q^(k-1)_(l+1) * (1 - 1/(l+1)), but it's not obvious to me why the multipler, (1 - 1/(l+1)), is correct in general (past the second sweep). I went so far as to write a little bit of code to calculate various values of Q^3_l, exactly, from values of Q^2_(l+1), for an 8-element array, and found that it did not hold. (I assume that you were assuming that the initial array permutations were picked uniformly from the set of all permutations). Have I done something wrong or missed something totally obvious?

Thanks!

mikhael··on Dropbox Introduces 2-Factor Authentication
You would also lose easy access to file histories, correct? This is one reason why I'm a fan of SpiderOak -- the index remains encrypted, but file histories are still stored (efficiently).
mikhael··on Viacom pulls “The Daily Show” offline as a result of contract dispute
That reddit comment only really clarifies one thing: that the cable provider doesn't pay the network very much. Based on the rest of the comment -- the fact that ads are really what support networks -- it still seems silly for cable/satellite providers to have to pay non-broadcast networks at all.
mikhael··on Vigilantes Have Renamed "The new iPad"
While I think this makes sense, I've often had the feeling that there's a keeping-up-with-the-Jones' aspect to having an iPhone, driving people to get the new models based on comparison -- "Which iPhone do you have? 3G? Oh, mine is 3GS." How would this play out without labels? "Oh, you have a new iPad? Mine is new, I bought it 6 months ago. Oh, is yours a new new iPad?"
mikhael··on Machine Learning Video Library - Learning From Data (Abu-Mostafa)
Do you know whether Prof. Ng has updated the material since the first run of the class?

We are still in the honeymoon phase of free, online university courses, so I think there's been relatively little criticism of what's available now, but I'll go for it: I was disappointed by the Coursera/Stanford ML class. It was obviously watered down, the homeworks were very (very) easy, and I retained little or nothing of significance.

In contrast, the Caltech class was clearly not watered down, and, as the material was much more focused (with a strong theme of generalization, an idea almost entirely absent from the Stanford class, as I recall) I feel I learned far more.

Another big difference: the Caltech class had traditional hour-long lectures, a simple web form for submitting answers to the multiple-choice* homeworks, and a plain vBulletin forum. The lectures were live on ustream, but otherwise, no fancy infrastructure.

So I think that some interesting questions will come up. Do we need complex (new) platforms to deliver good classes? For me, the answer right now is no -- what clearly matters is the quality and thoughtfulness of the material and how well it is delivered. Can a topic like machine learning be taught effectively to someone who doesn't have a lot of time, or who doesn't have the appropriate background (in CS, math)? Can/should it be faked? I don't think so, but I think there are certainly nuances here.

* Despite being multiple-choice, the homeworks were not easy -- they typically required a lot of thought, and many required writing a lot of code from scratch.

mikhael··on Apple patent: Method and apparatus for executing program code
The obfuscation comes as a result of the patent examiners whittling down the overly broad claims made by the authors. This is a process that goes on for numerous rounds, back and forth. Personally I see the result as "precision" -- an agreement between the authors and the patent office about what has truly been invented -- rather than any kind of purposeful obfuscation. (I make no claims that this is a good process, that the patent examiners are as competent as they ought to be, or that authors in general are not trying to scam the system).
mikhael··on Apple patent: Method and apparatus for executing program code
> (past the initial, incomprehensible-unless-you're-a-patent-lawyer "Claims" section)

On the contrary, the claims are meant to be understandable to any reasonably technical person (anyone "highly skilled in the art"). On the other hand, your average non-technical lawyer would be completely unable to read them.

This doesn't mean it won't take time to fully digest a patent's claims, as they tend to be written with a very high degree of precision.

mikhael··on Save Padmapper: Craigslist is wrong to shut them down. An open letter to Craig
i meant it not as a way of solving the current problem so much as a way of preventing it from happening again. indeed, i haven't any great ideas about how to redirect the massive momentum that craigslist has right now.
mikhael··on Save Padmapper: Craigslist is wrong to shut them down. An open letter to Craig
i wonder whether there is enough interest to build a community-supported "open-craigslist" on top of which anyone might build their own tools/services.
mikhael··on Dianne Hackborn responds again about android graphics
Probably the key paragraph, in relation to the recent discussion:

> In fact it was just not feasible to implement hardware accelerated drawing inside windows until recently. Because Android is designed around having multiple windows on the screen, to have the drawing inside each window be hardware accelerated means requiring that the GPU and driver support multiple active GL contexts in different processes running at the same time. The hardware at that time just didn’t support this, even ignoring the additional memory needed for it that was not available. Even today we are in the early stages of this -- most mobile GPUs still have fairly expensive GL context switching.

mikhael··on How to turn a biased coin into a Fair Coin
yeah, indeed -- but i think the optimization is actually broken. if you are just waiting for an HT or a TH in a sequence of flips, then you will just wind up with H..HT or T..TH, so that the very first flip decides the outcome. this is how i first (much too hastily) read the algorithm, but, somewhat surprisingly, found that the expectation matched exactly.
mikhael··on How to turn a biased coin into a Fair Coin
thanks for writing this. the formula used in the webpage, (HH+TT+HT)/TH, appears to be off by one. i calculated it myself from the series, i.e. sum(n=0 to inf, 2(n+1)2pq(p^2+q^2)^n), and through the algebra i work it out to the same as yours (doubled).

i'm not sure how the author's formula was derived, but i get the same result calculating the series for a slightly different (but wrong) algorithm: just keep flipping until HT or TH appears (not flipping by pairs). this series is sum(n=1 to inf, (n+1)(qp^n + pq^n)), i.e. sum(n=0 to inf, (n+1)(qp^n + pq^n)) - (p+q). the series works out to 1/(p(1-p)), but that last term would account for the one-off difference.

mikhael··on Cracked Siri has been successfully ported to an iPhone 4
it seems (highly) unlikely to me that it will ever be successfully ported, as apple can surely white-list the service by IMEI or serial number.
mikhael··on Windows Laptop Makers Can’t Catch Up to the MacBook Air
has anyone else noticed horrible dithering on the new macbook air's screen? i will say that i absolutely love the machine otherwise, but - especially when e.g. watching a movie - i find this problem terribly distracting and have even thought about returning it as a result.
mikhael··on Where the fuck is this
The problem is that the "fuck" here really has nothing to do with the app. It would add some amount of shock and emphasis to the question ("where is this?") but there is nothing shocking or surprising about the images, so it's just oddly out of place.
mikhael··on Memoirs from a Disgruntled MBA
Agreed. I almost questioned whether this post was a parody, instead of a genuine example of the entitled generation.
mikhael··on Google Singleton Detector
I have seen this article referenced rather often, and I really have a problem with it. Despite being called "Singleton Considered Stupid," much of the article is not about singletons at all, and he barely addresses why singletons are bad. The actual arguments, buried 3/4 of the way into the article, boil down to a) resource/memory management problems, and b) that in the future, you might possibly need more than one object of anything you decide to make a singleton. (He mentions multithreading too, but that is just silly; e.g. even if I had multiple Log objects, there would need to be synchronization at some point if I'm outputting to the same stream). He writes numerous times that it's bad OOP, or "OOP made easy," because it is too much like procedural programming, but only mentions the factory-method pattern as an alternative at the very end of the article, and doesn't actually say WHY it's better. The necessity for, or at least temptation of global state is not even mentioned.
mikhael··on Google reminds users to "Call Dad", makes users angry
When I first saw it, I did find it remarkably annoying, but didn't actually put my finger on it until now: to me it doesn't feel "cute" at all, but rather like a machine or a robot, maybe trying to sound cute, but coming off only as imperative -- like "Reminder: taxes are due today."
mikhael··on Show HN: Craigslist Instant
all i see is a black, unreadable page, with a search bar and a vaguely labeled "community" button whose behavior i could not predict at all, and which produced nothing local to my own community when i tried to use it.
mikhael··on Ask HN: Advice on traveling in Japan?
i went for the first time this summer, and i can give a little advice; depending on your level of spontaneity, you may or may not really care:

as a visitor to japan, getting a temp. cell phone seemed ridiculously hard. there are no prepaid SIMs/phones; you can only do a rental. and no matter what plan you get, outgoing calls will be ~90yen/minute.

so: after two days in tokyo, i wound up renting an iphone (3GS), and it was immensely helpful. having maps + gps was really fantastic. i installed and used skype pretty often - it breaks up a lot over 3G, but again, it's far better than paying 90yen/minute. i highly recommend this company: http://jcrcorp.com. i have no association with them, but they were a pleasure to work with. (also note: an android phone may work better, as iphones are on softbank which is a newer and less well established carrier).

i also found that free wi-fi seemed to be very, very rare. you can find some coffee shops with wi-fi, but you have to buy a ticket at a nearby FamilyMart for ~500yen/day.

do you know any of the language? if the answer is no, it's probably too late now; but i found that using the japanese keyboard on iphone (just kana) was very helpful to mapping stuff out.

it's worth spending a few minutes to understand the addressing system: http://en.wikipedia.org/wiki/Japanese_addressing_system. there are no street names, and it's generally very different from the US.

finally, i assume you already know this, but tokyo is not cheap; be prepared to spend a lot of money, and enjoy yourself.

feel free to contact me off-list.

mikhael··on [dead]
use of double-exclamation points => bias
mikhael··on The MIT Red Balloon Challenge Pyramid Scheme
it's not a pyramid scheme. if you read it carefully, it's actually an inverse-pyramid scheme. the payouts are limited and well defined.
mikhael··on [dead]
it's a shame that the blogger provided inadequate summary of the article. at the same time, i found this very upsetting:

"This begins with the realization that every American adult is responsible for his or her own health."

the assumption that every american adult has complete control over his life is false. i don't even believe that this is approximately true -- especially when health care is the issue at hand.

mikhael··on On the Linear Time Algorithm For Finding Fibonacci Numbers
it does make sense; there are two issues here. one is that the author overlooked (or ignored) the fact that "input size" means number of bits. the number N uses ~log2(N) = M bits, so that is the input size, not N, and O(N) is O(2^M).

the other is that addition of two D-digits numbers takes O(D) time (this is what the author means to expose in the article). as you have pointed out, the base (10, or 2, or anything else) does not matter for asymptotic analysis here, because the logarithm functions are all linearly related.

mikhael··on On the Linear Time Algorithm For Finding Fibonacci Numbers
most people would consider the so-called "linear" algorithm exponential, as the size of the input for the number n is m = Theta(log(n)) bits; the running time is Theta(2^m). the "quadratic" running time is Theta(4^m).
mikhael··on Ask HN: Good Hacker Cities
though palo alto sucks for mexican food, the best places in SF are far, far above and beyond anything in boston -- anna's doesn't even care to compete. try el farolito or el castillito. my favorite in the boston area is tacos lupita, in somerville (it's where the people who work at anna's eat.)
mikhael··on Ask YC: How to Build the Perfect Voting Machine?
http://scantegrity.org/

Scantegrity is an open source election verification technology for optical scan voting systems. It uses privacy preserving confirmation numbers to allow each voter to verify her vote is counted. The confirmation numbers also allow anyone to verify that all the votes were counted correcly.

← PreviousPage 2 of 2