Showing posts with label unsolved. Show all posts
Showing posts with label unsolved. Show all posts

2012-07-18

Open letter to a Google recruiter

You write:

> Hi Henning
> 
> My Name is redacted I work in the Engineering Staffing team at Google. I tried
> to get in contact with you via email about opportunities here at Google as
> well as to understand more about what you are doing at the moment.
> 
> I just wanted to follow this up to make sure that you had received my
> previous email and to make sure you had the opportunity to have a chat
> about potential engineering roles at Google. Is there a chance you?d like
> to hear more?
> 
> With your experience and our current open roles, we may have a role that?s
> a good fit for you. Please let me know if you would be up for a chat. If,
> however, this isn?t something you?re interested in, just let me know and I
> will make sure we don't send more emails.

Yes, I did receive your earlier email, but I must confess I have had some trouble figuring out what to think of it. The email headers look like you're what you say you are (or else a cracker/scammer who have subverted Google's email infrastructure, in which case my hat's off to you). Beyond that, though, I'm confused.

Google is consistently portrayed by the prevailing wisdom as the gold standard for how to efficiently attract talented tech people. The contemporary hacker mythos is ripe with legends about how wonderful an employer Google is. I've even had co-students whose top expressed professional ambition was someday to be worthy of working for Google. Based on that reputation, one would think that you already get more applications than you can meaningfully process and evaluate, without soliciting them in fishing expeditions like this one.

Granted, the really top talented people are probably always in short supply everywhere, and in my vainer moments I do fancy myself one of those. It would certainly be flattering to think that someone with Google's reputation, already having the pick among hordes of eager applicants, would consider me in particular worth of reaching out to personally.

Unfortunately, that is not the vibe I get from your letters. Surely if someone at Google has spent enough effort to decide on a reasoned basis that I might be worth the effort of wooing, that someone could easily have penned a few sentences describing how they reached that conclusion. If your emails had contained those sentences, it would have gone a long way convincing me that I should actually be flattered.

But they didn't; in fact they are completely generic. And that seems to make it a more likely conclusion that I'm just one of 30,000 rows in some mail-merge input table. Sending out masses of form letters is extremely cheap today, and receiving one does not make me feel flattered. It makes me feel like I'm being treated cheaply.

Not, mind you, that I completely get why you'd need to send out masses of form letters in the first place. But Occam's razor suggests that I'm just mistaken about how automatically that wonderful reputation of yours translates into actual piles of CVs.

* * *

In any case, I'm happily employed and not interested in relocating to London. Tried being an expat once, was miserable. Not planning to leave again if I can help it.

2010-05-25

The book of Job

I've neglected to write anything here recently. Perhaps I should save some of the more self-contained comments I write in other places, to give people a better chance to tell me how mistaken I am. Here's my reaction to a recent Slacktivist post:

I've tried several times to read the Book of Job, but always had to give up about a third way in. The prose set-up is readable enough, but then the speeches start, and they make my eyes glaze over. The only content I can get from them is "a really, really verbose shouting match". The speakers assert their position with great eloquence, repetition, and doubtless masterful poetry in the original language. But while there is much asserting going on, essentially no arguments are presented. And I've not found a line where anyone even pretends to address a point their opponent has made.

The friends repeatedly implore Job to step down and make peace with God again and then everything will be alright (despite, as told in the prologue, that everything went bad while Job was behaving examplary), mixed with alternately chiding Job for complaining and hinting that it must all, somehow, be his own fault. Job, in turn, does not attempt to clear up this misunderstanding but prefers to switch between heaping big flowery loquacious abuse on God and heaping big flowery loquacious abuse on his friends for their (admittedly inexpert) attempts to cheer him up.

This goes on at least until about chapter twenty-something, at which time I admit defeat and put down the bible in exasperation.

If it's a play one could at least try to defend it as a magnificently tongue-in-cheek satire on how different religious viewpoints simply cannot communicate in any meaningful way, because they fail to listen to each other. But that somehow sounds a bit too modern of a morale.

I think I even prefer Plato. Yes, everyone Socrates speaks to is a strawman, but at least they're strawmen who pretend to care what Socrates is saying, and vice versa.

[Original comment thread].

2009-02-19

More socket strangeness

Today's fun fact:

If you're on Windows XP, and you have a TCP socket, and you have set SO_SNDBUF to 0 in order to do your own sender buffering, and you have called WSASend to start an overlapped send operation and Windows has called your callback stating the the send succeeded, and the other end of the socket is on the same machine, and that other end has not yet read the data you wrote, and you then call shutdown() to close the sending end of the socket, then the connection will be reset!

It works fine if you never touch SO_SNDBUF at all. But it doesn't help to set SO_SNDBUF to a nonzero value only just before shutdown()...

2008-11-05

Does P equal NP? This is not an answer.

A preprint by Sten-Åke Tärnlund, purporting to prove that P≠NP, is making its rounds on the internets. I noticed it through a blog post by Bruce Schneier; he quite sensibly notes that "these sorts of papers make the rounds regularly, and [Schneier's] advice is to not pay attention to any of them."

Still, someone has to try to pick such papers apart, if only to make sure that they are as worthless as statistics suggest. I'll volunteer for this one. (This mini-review was originally intended to be a comment to Schneier's posting, but grew a bit too large for that. Also, I want to use markup that plain-text comments cannot contain).

It is not easy to figure out what the author is getting at, because the paper is pithy to the point of sloppiness. Take, for example:

Definition 8 p(a) for c·|a|q some c q ∈ N any a ∈ L.
By comparison with other similarly terse definitions, this apparently means
Definition 8. Let p(a) abbreviate c·|a|q for some c and q in N, and any list a.
But what are the scope of the quantifiers on c and q? Are they constant throughout the paper or can they depend on something? What can they depend on? It makes no sense in context to let them depend on a ... Complexity theory has no lenity for those who fail to be rigorous about order and scope of quantifiers.

Formally, the paper begins to go wrong no later than Definition 13, where T(s,a,u) is defined to mean something that involve the "truth" symbol ⊨ (or |= if your font, like mine, has no native Unicode glyph for this symbol), which is not in the language of B – but in the remainder of the paper T(s,a,u) is treated as if it was a formula of B, and bogosity ensues.

Of course, a formal error does not mean that the idea behind the paper is flawed. But it does not bode well – one would think that an author who is smart enough to solve an open problem as famous and long-standing as this would be more careful. Indeed, a true flaw shows up:

As far as I understand it, the main argument in the paper goes somewhat like this: Assume that you give me a Turing machine that purports to solve SAT (i.e., decide whether a propositional formula is a tautology) in polynomial time. Then I'll try to run a sufficiently large "pigeonhole formula" PFm through your machine. I already know that this formula is a tautology, but if your machine tells me that in polynomial time, I can extract a short proof of the formula from what the machine does. This contradicts a theorem by Haken which says that proofs (in a certain restricted form) of the pigeonhole formula are always long. Therefore, your machine either does not solve SAT or does not do it in polynomial time.

What first meets the eye here is that the paper appears to redefine SAT. The SAT we all know and love is about propositional formulas (i.e., expressions built from Boolean variables and the Boolean operators not, and, or and so forth). However, PFm which the paper tries to use the SAT solver on is not propositional. It is defined only informally here, but for it to have any relation to Haken's theorem, it needs to contain non-Boolean variables and equality operators. Those belong to predicate calculus, not propositional logic. However, this is not in itself damning, because satisfiability in the pure first-order theory of equality is easily seen to be in NP. A valid proof that this is outside P would also solve the P=NP question.

Correction (2008-11-09): It turns out that there are indeed purely propositional formalizations of the pigeonhole principle, and the paper must be referring to one of those. I had in mind a formula such as "(a=1 or a=2) and (b=1 or b=2) and (c=1 or c=2) implies a=b or a=c or b=c". What I did not notice (and, in my defence, the paper never writes out an example of its PFm) was that we can just expand, say, "a=b" to "(a=1 and b=1) or (a=2 and b=2)", in which case we can take things like b=2 as propositional variables.

The true fallacy here, however, is the tacit assumption (partly concealed as Definitions 13 and 14) that if we have a Turing machine that recognizes tautologies, then a short proof that this machine answers yes for a given formula corresponds to a short proof that the formula is indeed a tautology. But this is not necessarily true; it is at least conceivable that there is a fast Turing machine that recognizes tautologies but that we cannot prove that this is what it does. In that case, a trace of the Turing machine's action does not correspond to any proof that the formula is a tautology, much less a short one. And even if the machine provably recognizes tautologies, we cannot necessarily extract a short proof in a particular formalism from a short run of the machine.

There is various additional smoke and mirrors, including the central proposition which is stated thus:

Theorem 1 SAT ∉ P is true in a simply consistent extension B' of theory B.
Does this mean simply that there is some consistent extension of B in which SAT is not in P, or that SAT∉P is true in every consistent extension of B? I cannot tell. In the former case, the proposition says nothing about the standard model for B (i.e. Turing machines modeled with the standard integers, which are not necessarily a model for the extension). In the latter case, why bother speaking about extensions in the first place?

In conclusion, Schneier is right, and this can safely be ignored.

2008-06-18

My router wants Taiwan

Every so often – actually, every so seldom – my Zyxel Prestige 660R-61 ADSL router will enter the strangest failure mode you can imagine. Everything works except I'm unable to resolve DNS names, giving the immediate impression that the entire internet has disappeared. (I once had a smart, brilliant coworker burst into my office and announce that this was a big moment in the history of the internet: Google had gone down! Turned out that our nameserver had fallen ill, and the web addresses he had used as a control group happened to be cached locally).

No, lacking DNS is not in itself strange. The strange thing is how this lack arises.

See, every time I send a DNS query packet from one of the several computers behind the router, what comes back is a response packet that purports to tell be the IP address of www.kimo.com.tw. Apparently the router is not trying to falsify the address of the host I want to find. I ask about, for example, www.google.com, and back comes a packet saying (translated from RFC-1035 speak): "Thank you for your inquiry about the IP address of www.kimo.com.tw. It is my pleasure to inform you that the IP address of www.kimo.com.tw is 207.69.188.186".

It's always www.kimo.com.tw. It's always 207.69.188.186. It only happens for UDP queries; DNS over TCP is unaffected. It's not the nameserver at my ISP that misbehaves; I get the same pattern when I ask a root server about "com.". I don't know whether the router rewrites my outgoing requests to be about www.kimo.com.tw, or responds with a stock reply on its own, or rewrites incoming answers. I don't know whether it affects UDP packets not to/from port 53.

This has happened two or three times over a period of several years. It seems to tend to follow downtime on the ADSL connection. But whenever it happens, rebooting my local router clears the problem. It's very strange.

Is the router getting infected with some malware? I have a hard time figuring out what said malware could be attempting to achieve. Because the name in the reply does not match that in the request, the resolver on my local computer will just fail instead of return a wrong answer to the application.

After intensive web searching the best I have been able to find is this page in Russian, which judging by Google's translation seems to describe exactly this syndrome. Apparently it is claimed that no malware is involved, but I cannot make sense of the machine-translated explanation of what actually happens.

2008-06-15

Memetracing: Doctorow on a Balloon

What is it with Cory Doctorow and hot-air balloons? Humorous references appear to be popping up in the strangest places – last in Bruce Schneier and the King of the Crabs (which I discovered through Schneier's own blog).

But just what do these references actually reference? I find them mildly funny because they evoke memories of the Xkcd episode "Blogofaire", as well as the small print in "Online Communities".

On the other hand, I don't get out much. For all I know, Doctorow might be famous for being an avid balloon pilot in addition to a writer, and that's what everybody are alluding to. On the other-other hand, I cannot seem to google up any non-humorous Doctorow/balloon juxtapositions.

So perhaps it is all an in-joke referencing the xkcd strips, or perhaps xkcd was itself referencing some ur-joke known to only a few initiates (or, alternatively, to everybody but me). Impossible to know, really – when an Internet meme reaches a certain critical mass, half of those who pass it on have no idea what it refers to, anyway. Close to nobody ever played Zero Wing, but that does not prevent the all your X are belong to us snowclone from being productive.