Better HN
topnewbestaskshowjobs
Log inSign up

chimeracoder

21,186 karma 路 joined Oct 12, 2010 (16y ago) 路 6,050 submissions

Inveterate builder.

Personal site: http://www.adityamukerjee.net/

My email is pretty easy to guess from my username.

Submissions

comment 14y ago 路 link 路 parent

> Using two distinct constants which differ only by a factor of two sounds more confusing than choosing either one and sticking to it.

Physics is incredibly unusual in that it has very few overloaded terms, and so almost everything that is expressed in daily use is expressed with as much precision and as little ambiguity as possible. Most scientific disciplines are not so lucky.

It does still happens in physics (h and h-bar, as noted in another response below), but it happens all the time in statistics, so much so that it's incredibly frustrating to read a new text for the first time.

饾渶? Probably refers to the error of a regression, assumed to have mean zero and be independent.

e? Uh-oh. Possibly refers to the error term in a regression, as above. But it could also refer to the residuals, which always have mean zero and are never independent. Very different.

锚? Okay, once I see this, I know that the author probably doesn't use 饾渶 as well, so this narrows it down somewhat. But not entirely.

And don't get me started about 'standard error'. I have heard that term used in reference to a sample mean, a sample mean divided by the square root of the population, or the standard error of a regression (which is more complicated than I care to describe in plain English).

Do you want to get started about economists, who often use 蟺 as a variable? Or computer scientists, who use it to refer to a process calculus?

How about 危, which can be used to indicate a sum, but can also be used to indicate a covariance matrix? Which, by the way, can also be expressed in terms of either S or Q, depending on who you ask.

Ooh! How about 螞? That's the precision matrix, so it has to be precise, right? Well, yes, except that all we're doing is writing the inverse of 危, so it's an unnecesary letter altogether[1].

Right now, we're dealing only with conflicts within a given field, but we could open Pandora's box and talk about the fact that 位 is an anonymous function in computer science, but a constant that (partially) defines the stationary point for a given optimization problem.

Or letters that look like each other - can you really tell the difference between 谓 and v? Or 蠅 and w? What about when I write them out by hand?

[1] Unless you're using the term to implicitly declare that the covariance matrix is invertible, but if you think that substituting one capital Greek letter for another is a clear way of telling me that a matrix is full-rank, we need to have a much longer conversation.

EDIT I must say, I'm very impressed that HN handled all that unicode beautifully. Kudos to pg (& co.?)!

comment 14y ago 路 link 路 parent

How should Google know that?

comment 14y ago 路 link 路 parent

How does this violate the rules? He's already signed a waiver to his 4th amendment rights, so no court order is needed - he's essentially given them full control over his own property, including his phone (which I presume would include accessing the data via adb instead of the phone screen).

comment 14y ago 路 link 路 parent

That's exactly what happened. Writers are taught to put the least important parts at the end, so that the editors know what to cut when trying to reach word count targets. When several standalone sentences are written (like here), editors are supposed to know that they can move that sentence to a more appropriate place, or cut out those that don't go well together. Think of it like a 'filler sentences' bank that the writer provides for the editor who will end up rewriting the end of the story.

This here is just an example of very shoddy editing.

comment 14y ago 路 link 路 parent

Honestly, I'm not sure Ubuntu even excels at that anymore.

When I switched my parents over to Linux, I installed Mint, not Ubuntu. This was well before the Unity debacle, but even besides that, I'm glad I did. Mint looked familiar to them (coming from Windows), and while it may be heavily bloated from a software perspective (the stuff that makes Arch users cringe, since they ship everything by default to maximize configuration-free compatibility), it feels very lightweight from a user perspective - like what Windows might be like if they stripped out all of the stuff that people really don't care about.

comment 14y ago 路 link 路 parent

This has nothing to do with a GUI vs. command-line interface. You're confusing the decision of what information to present with how to present it.

comment 14y ago 路 link 路 parent

> He uses circles with dots in the middle to represent the size. So is the value being plotted proportional to the radius of these circles or the area? Not clear

It's worse than that. Is the size of the circle proportional to the number of incidents, or to the density of incidents? Large circles look like they should the most 'dangerous', but that would imply a high density, which would imply a small circle.

The entire visual representation serves no purpose except to contradict the data it presents.

comment 14y ago 路 link 路 parent

>how phenomenally fast the compiler is

This, more than anything else, is what's really got me interested in trying out Go when I have some time! I know it's not the most important thing in the world - my projects are generally such that compile times aren't a huge time suck - but it's still an exciting thought nevertheless.

comment 14y ago 路 link 路 parent

I haven't seen stats recently, but I know that as recently as a year or two ago, Yahoo had much more penetration internationally (ie, not US) than Google did. I'm not sure if that still holds, or if it applies to Brazil, but that may be part of it.

comment 14y ago 路 link 路 parent

> The vast majority of non-US websites has very little to lose from blocking US traffic.

Yes, but US websites comprise the vast majority of top websites on the Internet....

comment 14y ago 路 link 路 parent

This is a big pet peeve of mine. 'Curate' doesn't mean 'select a list of things I like and think other people will like'. Overusing and misusing words eventually causes them to lose their meaning altogether.

comment 14y ago 路 link 路 parent

> Obviously you can't pronounce a sound that you don't even know exists.

It's possible that they could interpolate those sounds. For example, Bengali has a sound that's halfway between a 'd' and a 't'. Using some statistical heuristics, it's possible that they could approximate that letter using your pronunciations of 'd' and 't' (and knowing how bilingual Bengali-English speakers who pronounce 'd' and 't' similarly to how you do also pronounce that letter).

comment 14y ago 路 link 路 parent

I'm curious if a distribution like RedHat will ever link /usr/bin/python to python3 instead of python2, the way Arch did. Arch gets away with it because it's a bleeding-edge rolling-release distro, but a distro like CentOS that prides itself on stability has much more to lose. This is the only real point of uncertainty, if you ask me.

comment 14y ago 路 link 路 parent

Arch moved to python3 well over a year ago.

Python2 is still in base-devel, but /usr/bin/python symlinks to python3, not python2.

comment 14y ago 路 link 路 parent

Columbia does too, and I believe Harvard does as well.

(Interestingly, Columbia College has to take it, but the engineering school abolished the requirement about a decade ago. Most people incorrectly believe it's because 'engineers can build things; they don't need to swim', but the truth is that there was a miscommunication, and the engineering school removed the requirement because they thought that Columbia College already had.).

comment 14y ago 路 link 路 parent

Not surprising - many Python built-ins are implemented in C. And for any numerical or computational libraries, doing it in C is all but essential.

Tangential, but this is why NumPy totally changed my workflow. I can use all of the benefits of Python, including its libraries and syntax, and still have a program that executes at the speed of C, rather than Python[1].

[1] Not literally the speed of C, but you get the idea.

comment 14y ago 路 link 路 parent

If C isn't suitable for projects with more than 10K lines, then praytell, what language should my kernel be written in?

I've been meaning to try Go for a while (the fast compile times alone intrigued me), but this type of post really just puts me off - if you're telling me that C isn't suitable for large projects, then that tells me you may not know C well enough to make that judgement.

comment 14y ago 路 link 路 parent

Aside from the fact that that comic misrepresents the argument behind 1984, they're not really at odds with one another the way the comic makes it seem.

Orwell was writing within the context of his time - the late 1940s. So if he were writing today, it's not too hard to imagine him writing about banning websites (ie, SOPA), or the similar actions that are going on today.

If Orwell were writing today, I imagine 1984 might look more like Cory Doctrow's 'Scroogled'

> http://blogoscoped.com/archive/2007-09-17-n72.html

(The one main difference between the two that Orwell may have gotten 'wrong' is that it is the corporations, not the strictly the government, that serve as Big Brother in Doctrow's case - or rather, a coalition of corporations and the government. Then again, in Neal Stephenson, the corporations eventually become the government, so that's not as significant a difference as it really might seem.)

comment 14y ago 路 link 路 parent

Nowhere is price gouging so clear as in the case of textbooks. You have almost perfectly inelastic demand, and a single supplier. You don't need to be an economist to figure out how that one's going to work out.

This semester, my econometrics professor had a professional publisher 'compile' his seminar notes into a 'reader'. This basically meant printing out the pdfs and putting them in cheap binding, the kind that you might get at Staples for a negligible sum. He was shocked when they ended up costing almost $100 per copy for the student, since there was no copyright/licensing in question - they were his own class notes.

If a college student told me that they spent over $1000 per semester in textbooks, I would have no trouble believing it at all. Used books are not always available or viable. Workbooks are less common, but now publisher have 'access keys' that they are using to force students to buy the new books. My professors have always been understanding when I refuse to do the online exercises that require the access keys (unless they send me unlocked copies), but I can imagine not all students are so lucky.

I'm also fortunate that my classes (CS, statistics, economics) tend to have one textbook per course, and they usually aren't so dependent on the in-book homework problems. For CS in particular, you can often use online books/tutorials in case of the text, depending on the class.

But for my friends in humanities-based classes, with perhaps ten overpriced books for a course? I pity the fools - or rather, I pity their empty wallets!

comment 14y ago 路 link 路 parent

> ./configure && make && sudo make install

When I used Ubuntu, I'm not sure I ever even needed that.

comment 14y ago 路 link 路 parent

There are a number of articles that surfaced on Sunday/Monday, but in short, yes - it was a Rails mass-assignment vulnerability.

comment 14y ago 路 link 路 parent

The real problem is what knowledge the question is supposed to test - is it testing whether you know the answer to the question, or is it testing something else altogether?

Put another way, the problem is less the specificity of the questions and more the ease with which you can expect to earn them.

I haven't used Swing/AWT in two years, and I couldn't really tell you what inherits from what. But after a weekend of breaking through the rust, I'd get back into it, so it's of no consequence to any potential employer.

However, some language-specific questions are very telling. For example:

    How many arguments does type() take in Python?[1]
If you answer '1' or 'either 1 or 3', that tells me two very different things about you. The latter tells me that you may understand that Python uses prototypical inheritance, rather than 'pure' class inheritance, and it tells me that you may have done a non-trivial amount of Python metaprogramming before. If you understand Python's inheritance structure in this way, you're a much more valuable candidate to some companies than you are for simply knowing syntax errors and interpreter-specific quirks... and the opposite may be true at another company).

(Of course, it's possible that you know that and have simply forgotten, or were confused by the phrasing, etc. - no question is perfect, but after enough of these, you start to piece together a picture of the candidate).

The point is, the former question is something that you can reasonably learn during a training period and which asks little more than face value. As for the latter question - you all know that now, so you can also learn it during a reasonable training period. But actually applying that knowledge (which comes with the followup questions) is something that would require a significant level of familiarity with the subject in question, which is what they are really trying to get at.

[1]This may not be the best wording for the question, since it tips the interviewee off to the trick beforehand, but I can imagine a way to present this question so that it wouldn't.

comment 14y ago 路 link 路 parent

Yes, but you don't see anyone referring to HTC phones as 'forks'.

comment 14y ago 路 link 路 parent

Any chance of a Kindle/ebook version? It's already free online, but it might make for a bit more pleasant reading on a tablet/mobile device.

comment 14y ago 路 link 路 parent

You might as well add a few 'drop table;'s in there, just in case. That way, if/when your potential employers accidentally wipe the databases at Facebook (or wherever they happen to be invading your privacy), they'll have two lawsuits on their hands!

(The first being the one you file for an invasion of privacy, of course).

comment 14y ago 路 link 路 parent

> Guy drops a zero day on a major service provider

This was anything but a zero-day, and that's the whole reason people are mad. Homakov very clearly made an effort to get this patched before exploiting it before taking action himself. They're not mad that it wasn't fixed immediately on Sunday; they're mad that, on Sunday, there was still a problem in the first place. Big difference.

comment 14y ago 路 link 路 parent

The last line of the article is priceless:

"No doubt, the State Department will officially adopt Facebook at about the same time the revenue-challenged site follows Friendster into social networking oblivion"

comment 14y ago 路 link 路 parent

It's not so useless when you remind them that, if they didn't tell you that when you first got in the cab, you're not obligated to pay them. That might 'magically' fix the machine.

In all honesty, though, I've never had that happen once.

comment 14y ago 路 link 路 parent

> how visually distracting the parentheses are (and yes, experience Lisp hackers learn to tune them out; that doesn't change the fact that they are visually distracting

I wouldn't call myself an experienced Lisp hacker, but I don't think the parentheses are visually distracting, any more than I think that the curly braces in C are distracting.

The only problem that I can really see with the parentheses-based S-expression syntax is the fact that it's not always immediately clear where a given S-expression begins and ends. This is a that's-a-feature-not-a-bug situation, though, because that visual ambiguity is a byproduct of the list-code symmetry that makes Lisp so powerful. This comes at the cost of some initial visual ambiguity. Even in Lisp, some sacrifices have to be made. The one thing that's a huge help, though, is Vim's auto-highlighting feature, which lets me know easily where the other half of a parentheses/brackets/etc. pair is. (This isn't unique to Lisp - it will do that for any open-close token pairs in any language).

Pretty Lisp seems to be an attempt to correct that more than it is an attempt to 'correct' the parentheses, which I view as a strength rather than a shortcoming of Lisp. A much simpler way to achieve that end goal would be to write a short Vim keybinding/plugin that would either automatically or manually (toggle on/off) highlight the entire function/list that the cursor is on, instead of just the opening and closing parentheses.

To me, that would be the best of both worlds, and it would probably be a very simple task for someone familiar with Vim configuration.

comment 14y ago 路 link 路 parent

> We can ignore 100/400 year problem, for now, because our sample population (working age) were born before 2000.

Actually, it's that they're born after 1900, because 2000 was a leap year, but you get the idea.

> Wondering what you'd get from Bayesian. Maybe you wouldn't have to assume random distribution of birthdays? Like, maybe mothers really want to (or don't want to) have leap babies, so that slightly influences the likelihood of a Feb 29 birthday?

Exactly - it's rather well-known that the distribution of birthdays isn't uniform (even for the other 365 days). It's only been ~10 minutes, so I'll wait a bit (in case any curious person wants to tackle this) before explaining some of the ways I was thinking that one could incorporate that information into the model .

1
195196197
202