HNHacker News
TopNewBestAskShowJobs

bkcooper

261 karma · joined June 22, 2014

submissionscomments
bkcooper··on There exists a classical model of the photon after all
What's the current status of Bohm's hidden variable theory? Does it stand up in light of the Bell test?

Yes. Bell's theorem doesn't forbid hidden variable theories (in fact, he has a publication preceding his famous result explicitly demonstrating a hidden variable theory that could reproduce QM measurements on a two-level system), just local hidden variable theories. In his collected papers, Bell often remarks that he feels Bohm's interpretation should be more widely studied.

It's a good question why it's not. My understanding, though I'm not well versed in the subject, is that there are some pretty severe shortcomings to it, particularly when you start considering systems with many particles. I've read some of Bohm's writings to try to understand it and as far as I got I found it pretty underwhelming; it seemed more like a bookkeeping trick than any sort of real insight.

bkcooper··on An Introduction to the Central Limit Theorem
I think the first half of the article showing how this works with a given sample distribution is pretty good. I don't think it's really doing much to build intuition at the end, though.

It's also worth pointing out that there are distributions for which the central limit theorem doesn't hold (e.g. the sum of samples from a Lorentzian distribution will again be Lorentzian, not Gaussian.)

bkcooper··on How One Stupid Tweet Blew Up Justine Sacco’s Life
I think it's much more likely that people revel in seeing someone go down; the article clearly alluded to this sadistic aspect I think.

This is possible. But I think it's less about this and more about status marking. Joining the pile on is often a quick, cheap way to demonstrate that you care about the right things.

bkcooper··on Practical Data Science in Python
I'll also note [self promo!] that I wrote on book on High Performance Python

I've really enjoyed this book so far, so thanks!

bkcooper··on Learn Physics by Programming in Haskell [pdf]
Your activities sound useful and worthwhile. A comment on this:

And, as it has been seen on our entry level numerical physics course, learning programming, numerics and physics the same time is really quite hard.

Yeah. My feeling is that the numerical side of things is a lock to get short shrift in this type of course. In my own education, there were certainly lots of nods at numerical work, but they really undersold the subtle difficulties of doing numerics well.

bkcooper··on Learn Physics by Programming in Haskell [pdf]
I am intrigued by this approach (I have Structure and Interpretation of Classical Mechanics on my lengthy to-read pile) but I do wonder whether expecting ~sophomores to be trying to pick up Haskell and the physics at the same time is a bit much.

The aspect of this that interests me most is related to a classic observation that, for most people learning physics, it's hard to separate difficulties with the physical content and difficulties with the mathematical content. The distinction between these is vague, but the separations like "set up the differential equation" vs. "solve the differential equation" that this functional style suggests seem like a good approximation to "physics" vs. "math."

bkcooper··on A Software Engineer’s Adventures in Learning Mathematics
If you liked Axler, you might check out Abbott's Understanding Analysis, also in the Springer UTM series. I think it covers somewhat less than Rudin (e.g. looking at baby Rudin's contents, I'm pretty sure Abbott doesn't touch Lebesgue integration) but it's a pretty great introductory analysis book IMO.
bkcooper··on A Software Engineer’s Adventures in Learning Mathematics
This is a good book, although I agree with others that truly learning from it would be difficult. If you like this, another book you might really enjoy is the Princeton Companion to Mathematics.
bkcooper··on First NetHack bot ascension
Good stuff.

There's a bot with several wins in Dungeon Crawl Stone Soup, another roguelike. The combinations it has won are pretty rote, but it's still very impressive, particularly since I don't think it's even capable of knowing that much about the game (it uses Lua handles to pick up information about the state and I believe there's a fair chunk of the game that isn't exposed that way.)

bkcooper··on William Gibson: How I wrote Neuromancer
Strongly agree on Spook Country. It is my second favorite Gibson by quite a bit and I feel it's generally underappreciated.
bkcooper··on The Fourier Transform, explained in one sentence
Note that in a real paper or textbook, such a detailed description explaining each term would most definitely be absent, even without the color coding.

I disagree. In a textbook, it is very unlikely (and would be a sign of a badly written book) that there are terms in a displayed equation that are genuinely undefined. The worst case scenario is that they are not defined immediately next to the equation and presume that you have read the preceding material.

bkcooper··on “The following surprisingly difficult problem was given to my son's Math Circle”
Given the description, it sounds like this problem was given to a club of kids who do recreational/contest problems, which makes a pretty big difference. I think they probably get the spirit in which it is offered and understand the implicit constraints (e.g. no giving away chickens).
bkcooper··on “The following surprisingly difficult problem was given to my son's Math Circle”
I get interested in the response to these sorts of problems. Both in the comments here and over at Tao's post, there are a lot of examples of brute force solutions. This seems like a common response to recreational mathematical problems, and it has always seemed to me like it's missing the point. These questions aren't generally posed because people care about the answer, but because there are interesting or surprising ideas involved in working it out. In this problem, I guess the surprising thing would be that you are actually given sufficient information to find the answer. The simplest brute force approaches can tell you this, but don't tell you anything about why that may be. I'm reminded of Hamming's motto: "the purpose of computing is insight, not numbers."
bkcooper··on “The following surprisingly difficult problem was given to my son's Math Circle”
He rented a time machine so that he could buy the 36 chickens sold in the afternoon and then sell them in the morning at a $2.50 premium per chicken.
bkcooper··on Skunk Works Reveals Compact Fusion Reactor Details
As far as I can tell from reading various articles (including the Aviation Week article linked elsewhere in the comments), they haven't. The expectation is that they will have a prototype in five years. For that reason, I wouldn't get too excited about this.
bkcooper··on How Memorizing “$19.05” Can Help You Outsmart the MTA
Really, the only people I see likely getting caught out on this are tourists leaving with unused balances. The argument that "they get the money sooner" seems like nonsense to me. They get the money when you put it on the card, either way.

Re: the tourists, Metro in DC has an approach that I assume is for charging tourists more, which is that paper farecards (instead of the reusable SmarTrip card) get a surcharge of $1 on each trip. They're very open about the surcharge, so if you don't like it, then you can get a SmarTrip; however, it would then take a pretty involved computation to end up with zero balance at the end.

I'm actually pretty favorable toward the DC policy. Increasing tourist revenue (who probably are going to be pretty willing to pay slightly more for limited subway use) in a tourist-heavy spot seems like a reasonable approach to subsidizing the heavier commuting users of the system. With Metro specifically that may not be a huge deal because so many people have their commuting paid for as a benefit, but I like the basic idea.

bkcooper··on Life outside the lab: The ones who got away
The examples given highlight the three sucky things about academic jobs: (i) less money than top-tier alternatives, (ii) insane competition at the start of your career, and (iii) difficulty maintaining work-life balance if you want to be successful.

ii and iii are the big issues for me (and obviously interwoven.) While it's not an original observation, one aspect of ii) that is especially bad is that most people probably have a distorted perspective on how good they are when they are starting out. The pool you will actually be competing with is probably much stronger than you realized.

In discussing some of these issues with a friend of mine, he said that he thought a good solution would be to substantially cut graduate enrollment and fill the labor gap with an increase in staff scientist positions. I think there's a lot to recommend that, but I can't say I see it realistically happening.

bkcooper··on What's a Mathematician to do?
That's an excellent response. In one of the comments on it, there is a link to a paper[1] by Thurston that is well worth your time. I found it an inspiring read.

[1] http://arxiv.org/abs/math/9404236

bkcooper··on New Google lab working on quantum computing hardware
I'm pretty intrigued by this. Martinis is very good, and I already thought it was interesting when I saw earlier today that Google had picked him up. That he will be trying to improve D-Wave style designs (by dropping in transmons, from the sound of this article) is not at all what I would have guessed.

I think that will be fairly tough. It's been a while since I looked at D-Wave, but aside from the whole "is it quantum" question about their stuff, their fabrication always seemed like a real strength. They had tons of on-chip circuits for addressing all of the qubits, and building devices with that many Josephson junctions that work is not easy. The comment that some of their material choices are probably limiting coherence is almost certainly true (this was one of Martinis's big contributions from ~10 years ago). But translating processes of that complexity to cleaner setups seems like it's going to require some real fabrication fu. I certainly wouldn't put it past Martinis, but it's ambitious for sure.

bkcooper··on Entangled Photons Make a Picture from a Paradox
if this beam does carry information about the image then we would have FTL communication possible.

See Michael Nielsen's answer elsewhere in the comments for why this is not the case.

Another question is why L3-L3' red beam - the image info carrying beam - is fed into NL2 crystal thus providing a chance to physically affect formation of NL2-D5-L6 yellow beam, ie. to exchange information.

The interference requires us to not know which path the photon took way back at BS1, in that diagram. The probability of pair formation in the nonlinear crystals is quite low, so with very high likelihood, only one of the crystals will be responsible for producing a pair of photons (including the yellow signal photon.)

Suppose you did not route the imaging photon through NL2. Then observing an output photon at D3 would tell you that the pair production happened at NL2 (since there is no way for the imaging photon to get there.) This will destroy the interference pattern of the "yellow" photons. That is why the beam is sent through NL2.

bkcooper··on Quantum Gravity Expert Says "Philosophical Superficiality" Has Harmed Physics
What are some examples of the questions that got this answer?
bkcooper··on Entangled Photons Make a Picture from a Paradox
I've only skimmed the arXiv link briefly, but the method does not rely on interference between photons of two different frequencies. In optical experiments, entangled photons are frequently generated through a nonlinear process in a crystal. High energy photons go in and with some probability lead to the production of two lower energy photons. Energy and momentum conservation lead to constraints on what these can be, such that if you've measured one photon you know all about the other. This is how they are entangled.

In the setup of this experiment (see Fig. 1 of the arXiv link), there are two conversion crystals labeled NL1 and NL2. These convert the pump laser into two longer wavelengths, referred to as the signal wavelength and idler wavelength. The object is probed at the idler wavelength, but the interference depends only on photons at the signal wavelength.

bkcooper··on Feynman Lectures on Physics now free online
That's a tough question. One of the most appealing things about the Feynman lectures is the breadth and how self-contained it is. I don't think there are really good analogues for that. The closest thing I can think of is one of the monster first-year physics tomes like Halliday and Resnick. That will teach you much of the basics (large chunks of Vol. 1 and 2 of the Feynman lectures), has huge numbers of problems, but it is of course less fun. It is also probably comparably or more expensive.

Going much further than that gets tricky, because you will usually need more development in math in concert with the physics. The omnibus "engineering mathematics" type books will cover a lot of it but I don't really like them. Boas's Mathematical Methods in the Physical Sciences would be something I would look at. For more detailed looks at electromagnetism and quantum mechanics, I (and many others I know) really liked David Griffiths's textbooks. The Feynman lectures make an excellent supplement to these for the different perspective and interesting physical insights.

bkcooper··on Feynman Lectures on Physics now free online
The Feynman lectures certainly will teach you a lot, but I think it would be a fairly trying textbook for learning a lot of the material for the first time. Among other things, a very serious deficiency for self-education is a complete lack of problems to work (which just reflects that these really were lectures).
bkcooper··on How to Read a Research Paper [pdf]
I think the overall advice here is pretty solid. I might add a couple comments:

--- The time budget is extremely sensitive to how much you already know about the subject. If you're generally up on the literature in an area, it is often much easier to isolate the chunks that are genuinely new to you and thereby grok the paper very quickly. In a new field, even several hours to really read a paper might not be enough, depending on how much backtracking you need to do to understand core ideas.

--- In physics, the conventional wisdom (which I agree with) is that the main thing to do when checking out a paper is to look at the figures. These are generally chosen to highlight the most important points of the paper and will often quickly convey what was measured/calculated, how the effect scales, etc.

bkcooper··on How to Read a Research Paper [pdf]
It might be different in the browser, but in Zotero Standalone (which is what I use), right clicking the name of the collection in the left sidebar will give you an option to Export Collection. BibTeX will be one of the options. It works pretty well. I occasionally had issues with special characters and had to make changes every now and then for biblatex.
bkcooper··on Cylinders in Spheres
Looking at the other comments, it seems like most people really like the cheat. I admit it's very cute, and you're absolutely right that this sort of thinking can be helpful in artificial situations like exams and games --- I've used it myself.

That artificiality is why I don't really like that approach, though. It's a brand of thinking that generally works only on artificial problems, because the key component ("you wouldn't be asking me this if it didn't have a well-defined answer") doesn't exist on most problems. Proving that it's constant and then using the r -> 0 trick to calculate the constant is much more satisfactory to me.

bkcooper··on Transforming Code into Beautiful, Idiomatic Python [video]
Your second example looks fine to me.

EDIT: My best guess as to what's going on is that they want to display the for-else idiom which could be useful in other contexts (e.g. if you don't want to return anything from inside the loop and can't break out that way.) It's a kinda surprising idiom; I had forgotten you could even do that in Python and at first thought it might be a misindentation until I realized the logic would be wrong if the else paired with if.

bkcooper··on Modern Science and the Bayesian-Frequentist Controversy (2005) [pdf]
Also, as a physicist I'm disappointed that the paper asserts that physicists disdained statistics in 1903. For the most part, statistical mechanics was developed in the late 1800s!

Sure, but Boltzmann's ideas were famously controversial at the time. I don't think they represent a good measure of mainstream practice at the time.

bkcooper··on Sorry, Folks, Rich People Don't Create The Jobs
The threshold for the 1% is "centi-millionaire," eh? I'm apparently substantially more baller than I realized.
← PreviousPage 3 of 4Next →