HNHacker News
TopNewBestAskShowJobs

quarterwave

166 karma · joined February 7, 2014

submissionscomments
quarterwave··on FFTs and Optical Lenses
One interesting point is why is the far-field amplitude of light diffracted by the lens a spatial Fourier transform? The best explanation I know of is in Chapter 21 of the Feynman Lectures on Physics (vol 2), accessible online (thanks to CalTech) at http://www.feynmanlectures.caltech.edu/II_21.html#Ch21-S3

In short: Moving charges create electromagnetic radiation (light). Since light travels at non-infinite speed, when a wiggle of light reaches us, we're actually seeing the imprint of the motion of the source charges at an earlier point in time. This earlier time is clearly related to how far the observer is from the source. Hence, if the distance is r then at time t we would be seeing the wiggle of the source charge at an earlier time = t - r/c. For a collection of source charges we need to integrate the delayed source potential over the volume of the source, so it's intuitively clear why that would be a Fourier transform.

There's technicalities of far-field and 1/r fall-off, which I've glossed over, you can find full details in Chapter 21. The final line is a gem: 'You will not, then, be surprised to find that the laws of electricity and magnetism are already correct for Einstein's relativity. We will not have to “fix them up,” as we had to do for Newton's laws of mechanics.'

quarterwave··on The Fourier Transform and its Applications
These are excellent lectures! I saw Chap 4, and it was very satisfying to watch the introduction to convergence, L2 norm, inner product etc. Technically, Fourier transform requires only the L1 norm (the 'Manhattan distance') to be finite, but L2 intersection L1 is a superb way to motivate distributions. These lectures must be made required viewing for all students of engineering and mathematical sciences.
quarterwave··on The Normal Distribution: A derivation from basic principles [pdf]
Isn't the key point here about isotropy, similar to the velocities in the ideal gas?
quarterwave··on A ‘Rebel’ Without a Ph.D
Another example of Dyson's ability to find mathematical connections: the link between the zeros of the Riemann zeta function and random matrices.

http://www.ias.edu/about/publications/ias-letter/articles/20...

quarterwave··on RubyConf India – Hospitality was anything but pleasant at The Lalit Goa
For future reference: would there be benefit in hiring a reputed event management company, if so what would be the overhead?

Reasoning is three fold. The event management companies: (i) know which places work, (ii) they give repeat business, so less likely to be brushed off, and (iii) their boss (even if not onsite) has been in such situations before & knows what to do.

quarterwave··on Fourier transform for dummies
Start with different people talking all at once - some loudly, some softly. We can try and make out what someone is saying, but it's not easy. So we put each person on a different radio station & we then 'tune' our radio with a little knob and dial.

If our ears could hear radio frequencies - like AM1070 - then each station by itself would sound like a dull drone or a tuning fork. It's dull because it's repetitive - it sounds the same this second as it sounded the previous one. To make the drone interesting we multiply it with a person's voice signal (say from a microphone or rolling tape) - then the drone kind of goes wah-wuh-wuh-wah, and this 'modulated' signal is a lot more interesting.

That's basically the Fourier transform - a sum of Speech.Station signals, where Speech is interesting and Station is repetitive.

---

We can play this same game with the speech itself - or music. Think of each note do-re-mi-... as radio stations, and the pressure applied to each key of the piano as the speech. So, music can be represented by a combination of the form KeyPressure.MusicalNote. The KeyPressure sequence can be recorded in a music sheet. The notes themselves are boring (as the kids say in The Sound of Music, the notes don't mean anything), it's the "multiplication and sum" with the KeyPressure sequence that makes music.

Again, note the summation overy x.y terms, where x is interesting and y is repetitive - that's the Fourier transform.

Historical sidelight: The simplest sheet music is Morse code, dah-dit. When telegraph became a booming business there was a shortage of wires to handle the volume of messages. People wanted a way to send more Morse per wire. Alexander Graham Bell had a bright idea - this was a few decades before radio - he took several Morse streams & put each dit-dah-dah-dit-dah sequence onto separate notes (like do-re-mi), and then sent the lot down a single wire. As he played with his system he had the deep insight that if the Morse code was replaced by sheet notation, then he could transmit music down a wire - and that became the telephone!

quarterwave··on "Brainstorming is a terrible way to generate good ideas"
Does cathedral v. bazaar also apply to creativity?

Cathedral creativity = "divine spark" of the individual.

Bazaar = small/random steps shaped by the evolutionary processes of fork, commit, & pull.

quarterwave··on Sandstorm Personal Cloud Platform
"Sandstorm makes it easy to run web apps on your own server."

Could that server be one's mobile phone?

quarterwave··on Basecamp was under network attack
A speculative thought:

Apart from being distributed, the insidious power of DDoS appears to lie in "subscriber-calling-server". Why not go the other way around? At least only for specific subscription services, not general purpose web access.

The situation of a DDoS attack is first communicated by the web service provider texting a subscriber, who texts back their present IP address. The web service provider then "calls" the subscriber from a hitherto unknown IP address. Of course, that address could be leaked too, but at least it's not obvious public knowledge like a DNS entry.

Sounds like circuit switched telephony/modems rather than packet switching, but can it be implemented in software?

quarterwave··on Show HN: Crowdsourced salary prediction
Apart from salary, is any indication provided of the volume of matching jobs/locations?
quarterwave··on College Notebook by Isaac Newton
Reminds me of an incident (I forget where I read about it) where Dirac is giving a lecture in Europe, someone asks a question & Dirac has to start working it out on the board - and Ehrenfest turns around and yells: Kids, now we can see how he does these things!, or something like that.
quarterwave··on Tamil Nadu state departments asked to switch over to open source software
I've seen ATM's being serviced/refilled - one can usually spot a "tower" PC in there. When an ATM app crashes the underlying PC operating system GUI is visible - with the standard screen background.

OTOH my <big bank in India> has good online services, usage pattern monitoring, two-factor authentication etc. With this bank I've never had a single online transaction as much as hang or go wrong in the past 10 years. When I travel I sometimes get a call to verify the transaction I've just made at an ATM.

So the only conclusion I can draw is that the bank finds it easier to monitor/control things from their data center. They probably consider all terminals as vulnerable and operate from that premise.

quarterwave··on Laterpay – Buy digital content, pay later
Good point, I was wondering how the link was made to the content provider.
quarterwave··on Sales Hiring Guide For B2B Startup Founders
I have only a feeble knowledge of American football, still I'll employ the metaphor to put forward a thesis:

Good B2B sales people are like wide receivers, they can run like the Hades, provided there is a ball and it gets thrown to them.

If the receiver has to run into the outfield & then come back to say we need to inflate this ball some more - worse, starts looking around for a pump - that's close to being finished.

The founder bears the responsibility of ensuring there is a properly inflated ball, and only then start to pass it. This is a great responsibility, coming on top of the taxing burden of creating a new product out of thin air & putting the show together.

It's good that the founder performs the initial sales function, but this is also where early adopters can mislead the product fit for (eventually) the real paying customers. At the least, do all the 'pivoting' before the wide receivers come into the game.

quarterwave··on SparkFun: We Hear You
Imagine how much money would have been spent if this had to go to court to achieve the same result: we'll let you go this time, but in future please pay more attention to product design/appearance.
quarterwave··on Ask HN: What's a good, intermediate-level JS book?
+1 for the Eloquent book. Has a very nice section on functional programming. Plus, in my opinion, some of the best typesetting I've seen in a technical book.

I also learnt a good deal from Stoyan Stefanov's book "Objected-Oriented Javascript", for example closures. I don't know why the book had to have that title, maybe to attract Java/C# developers.

Prototypical inheritance is covered in both Eloquent and OOJ.

Here is a nice article on the topic: http://beej.us/blog/data/javascript-prototypes-inheritance/

Read more such articles, easier than starting a book.

quarterwave··on Leslie Lamport awarded Turing Award
A special mention must be made about the puns in the LaTeX book, like the letter sample written from Gnu York.
quarterwave··on Show HN: Tired of doing coding interviews on Skype? We've built this
I'm guessing it will take a bit of work to support multiple languages/frameworks/platforms. A simpler solution may be to allow an interviewer to spin up a machine with the image/environment of choice (AWS, DigitalOcean etc) and do some kind of screen sharing with markup - easy to circle some code on a touch screen tablet. Interviewers typically specialize in languages and platforms, so every interviewer can maintain their favorite "interview machine image".

The feature I like best is the group comments - I would recommend restricting read access by all interviewers until everyone's feedback has been read by the interview co-ordinator, and the everyone gets to see all the comments during the hire/not group discussion among a possibly distributed team.

Also, I'm wondering why take on (what I assume is) the rather onerous task of supporting voice chat? Wouldn't it be simpler to adopt Skype (thru an API?) rather than fight it? My humble two cents: focus on where you're adding value, not call quality, security etc.

quarterwave··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
Thanks.
quarterwave··on Sources: Microsoft In Talks To Acquire Mobile App Development Startup Xamarin
Any comment on a comparison with html5/js? Especially for early-stage start-ups that need to prototype quickly.
quarterwave··on Ask HN: Best GNU/Linux laptop as of March 2014?
Lenovo G series. i5-3230M + 8GB. No extra graphics. Bought it without any OS. Installed Ubuntu 13.04, everything worked without tweaking, including the Skype client for Linux. Great value for money.
quarterwave··on Ask HN: What does GPA indicate of a person?
The inverted scenario got me thinking. I would prefer to hire the triple major with interest and training, putting interest ahead of training.

And you're right - the hiring manager isn't a case of prisoner's dilemma. Thanks for calling that out.

I've learnt several new things from this discussion, especially the references to scientific studies of selection bias. Thank you.

quarterwave··on Ask HN: What does GPA indicate of a person?
One example i can speak to is analog chip design.

In a more civilized age, an analog hiring manager chose students based on some mysterious Force, mentored them - and they worked in that company for a long time, often on several generations of the same chip.

The scenario today is different. Hiring managers designing a chip product are in a prisoner's dilemma situation - they follow the 'hire from XYZ school' formula precisely because they don't want the risk of a "contrarian hire" to be found useless for the current chip tapeout.

The XYZ universities that have higher 'analog chip design reputation' also offer more immersion: star faculty, elective courses, exposure to tools and labs, sending project chip designs for fab in a foundry shuttle. An XYZ hire - even with lower GPA - can be put to productive use immediately, no learning curve with tools etc. The learning happened in school, talking with other students while doing projects.

Contrast with a student from ABC school that offers only one proforma analog course, has better grades but needs at least a quarter to ramp up. The short-term costs in this field of statistically proving the lack of a long-term correlation may be too high - no matter the quantitative evidence from other fields such as software.

quarterwave··on Ask HN: What does GPA indicate of a person?
The person who went to a 'high reputation' college is more likely to have had better peers, and so more likely to have learned more by thermalization.

Also, software jobs are unique - one can be effective in a software job without knowing much about computer science. Jobs such as designing transistors or aircraft require strong basics, of the type that is usually acquired by undergraduate rigor. I doubt if a situation would exist where 14% of aero engineers at Boeing or Airbus never went to college.

quarterwave··on How a Light Saber Works
My theory - just made it up - a lightsaber is a hologram formed by phase conjugation of third-order non-linear vacuum polarization (chi-3). A fusion energy source emits gamma rays which form the hologram, and in turn the hologram shapes the beam, it's a feedback effect.

A lightsaber beam can block another light beam in the following way - the incoming beam acts as a wiggler for the lightsaber pump photons, which first get downshifted and then disintegrate into matter-antimatter pairs. The trick is to separate the matter from antimatter and channel them into the reactor. So firing at a lightsaber actually charges it.

The problem of course is conservation of momentum. To counteract the backwards jolt, a lightsaber creates a forward momentum impulse. This counteraction is not perfect, so Jedi are trained to maintain their balance in such situations.

When two lightsabers contact their beams are actually consumed by the other. That's why the Jedi/Sith can go on fighting forever, all the while throwing senate furniture at each other.

quarterwave··on Ask HN: What does GPA indicate of a person?
GPA is useful when curated with the 'reputation' of a particular college or university. For example, "Person P scored 3.25 from XYZ college, which is more impressive than person Q who got 3.75 from ABC college". This reputation information is usually known to those who have interviewed several years worth of interns and entry-level hires.

It usually means that P from XYZ has the discipline to undergo the grind, so at the minimum one can expect some business value from that discipline. It doesn't say whether Q is incapable of the same discipline, just that P is a safer bet. Outlier E&OE.

quarterwave··on Stanford bioengineer develops a 50-cent paper microscope
How does the microscope cost compare with paying the technician who will do the diagnosis? Assuming even $1000 per tech - which is roughly the per capita GDP(nom) of many countries - in this case maybe it's just better to buy the scopes in volume from Alibaba?

So the real value of the 50-center may be for people to make their own samples, and use a local shop to upload a cell phone picture to an online analysis service. Running on the cloud, maybe?

quarterwave··on Windows Phone overtakes Blackberry in the U.S
"undertook" - ROFL.
quarterwave··on Attorneys for Barrett Brown want case on linking to hacked material dismissed
Are there any countries where this kind of prosecution would not even get past the court clerk?
quarterwave··on The Indian sanitary pad revolutionary
Branded pads retail range Rupees 10-25 per pad - some variation in capacity. So the contemporary ratio ranges from 4:1 to 10:1. So 16:2.5 is good estimate even for contemporary comparison!

@pja you are hereby awarded 1 Fermi (see recent link on the topic of Fermi estimates).

The saving is significant because one can also buy shampoo in sachets that cost Rs.5, so the savings expand access to a range of basic hygiene products.

← PreviousPage 4 of 5Next →