HNHacker News
TopNewBestAskShowJobs

maho

686 karma · joined October 15, 2013

submissionscomments
maho··on Physicists make most precise measurement ever of the proton's magnetic moment
The main interesting thing about a high-precision measurement of the proton's magnetic moment is to compare the result to the magnetic moment of the antiproton. Depending on your string theory of choice, you should be able to see a difference between those two values. So far, they are identical within the measurement uncertainty.

The proton team (Mooser et al in Mainz) and antiproton team (Ulmer et al at CERN) are collaberating very closely, so any improvement in one apparatus leads to an improvement in the other.

The same groups are closely related to a group (Sturm et al in Mainz/Heidelberg) that measures the magnetic moment of the electron near a nucleus. The measurement precision is even higher, and QED gives predictions of similar precision, so these measurements are used as tests of QED.

maho··on Firefox Quantum
Will the canvas mouse input lag also go down? I tried to program some small games once and noticed this was horrible on all my (Windows 7) desktop browsers. Just tried again using this demo [1] (not mine!), and now on Chrome it was OK.

Edit: I just took the plunge and tested the beta (57.0b14). Unfortunately, the input lag did not go down. I think subtle lags like this cause web-apps to feel so uncomfortable for me.

[1] http://jsfiddle.net/Donk/5gXX8/2/embedded/result/

maho··on Try quickly typing 1+ 2 + 3 into the iOS 11 Calculator
On iOS 10, it does not disable animations but replaces them with fade-ins/fade-outs. I don't know the behaviour on iOS 11, but I suspect it is going to be the same.
maho··on Plain emails not only save time but work better (2016)
Each email went out to 12,000 people. 125 opened the unstyled mail, 37 opened the styled mail. That result seems pretty significant to me.
maho··on How many people are in space right now
You have to take births and deaths into account, which is not straightforward. Assuming fast interstellar travel, "loss of simultaneity" causes the number of people in space to depend on your reference frame (your speed and location).
maho··on PixelNN – Example-Based Image Synthesis
I hope some day this will generalize to video. I don't care about the exact shape of background trees in an action movie - with this approach, they could be compressed to just a few bytes, regardless of resolution.
maho··on Out of all major energy sources, nuclear is the safest
While I mostly agree with the article's risk assessments, it unfortunately leaves out one major risk factor: Nuclear proliferation. If more and more countries have access to nuclear power plants, then they also have the possibility to divert significant quantities (SQ) [1] of fissile materials towards nuclear weapons.

I cannot find the source right now, but a talk given by non-proliferation experts outlined how accounting for fissile material in a reactor is about 99% accurate. But even 1% of nuclear fuel, on a nuclear-powered-world scale, is equivalent to hundreds of SQs per year, assuming current genration and next-generation reactor technologies.

A nuclear conflict, even if regional (only a few dozen discharges) can potentially have dire, world-wide consequences. The article should have at least touched on those.

[1]: http://nsspi.tamu.edu/nssep/reference/technical-safeguards-t...

maho··on Show HN: Insect – a high-precision scientific calculator with physical units
Oh wow, even microparsec/kilofortnight in m/s works now. This did not work for many years, and prompted me to write my only ever e-mail to Google with a complaint about 5 years ago.

Unfortunaetly, the conversion 30 miles per gallon in liter/100 km still displays an equal sign, which is technically wrong. However, this conversion is so useful, that I won't complain about it.

maho··on Show HN: Insect – a high-precision scientific calculator with physical units
I absolutely agree with these requests! I am so desperate for an uncertainty-aware/unit-aware calculator that I tried implementing one myself, even though it is quite beyond my skill-set. I gave up and used Mathematica (more on that below). Two comments on the requests:

- Most existing calculators that offer propagation of uncertainty use a simplified formula -- the one with the square root and the partial derivatives. That's OK for lab courses. But in real life, the distributions of the input parameters are non-Gaussian, the formulas depend on each other in subtle ways that are easy to miss, and you have to deal with systematic and statistic errors (precision vs. accuracy). Most researches I know, myself included, sort-of fudge this with pen-and-paper and Excel, and end up underestimating their errors... In my view, the best solution is a Monte-Carlo type calculation, where you draw the input parameters from their respective distributions, then do the calculation, and repeat 10000 times. The mean and the std deviation gives you final result.

- Arbitrary precision is doable, but often unnecessary. To me, it was always more important to know when the result is numerical garbage (in which case I rearrange the equations to make them more computer-friendly), than to choose some precision up-front, hoping it would be enough. For me, interval arithmetic [1] is the best solution. All numbers are represented by the next higher and next lower floating point number, and each calculation results in a new interval, where the result is guaranteed to be in the interval. Often, the intervals blow up unnecessarily, but are still much smaller than the desired accuracy or precision. These days, whenever I get an unexpected result, I repeat the calculation with interval arithmetic in Mathematica or Matlab to exclude numerical errors. Interval arithmetic is not very costly in terms of run-time, and there are great libraries out there.

The unit-aware, uncertainty aware calculator that I ended up using for my PhD-thesis was Mathematica. Mathematica deals with units somewhat well and iterates over lists natively. You can write standard formulas and feed them lists for the Monte-Carlo calculation. However, unit calculations are extremely slow. My workaround split the calculation into one unit-calculation and 10000 unit-less calculations. However, I ran into so many Mathematica bugs and quirks that hosed the calculation ("transparent" Mathematica-updates that changed the result, file corruption (!), swalled minus-signs (!!)) that I cannot possibly recommend Mathematica for anything but toy projects.

Great work! I will keep a close eye on this awesom project!

[1]: http://subs.emis.de/LNI/Seminar/Seminar07/148.pdf

maho··on The European Parliament votes non-bindingly to reintroduce visas for Americans
You are forgetting the "Visa Waiver Program". Essentially, the rest of us Europeans are required to fill out detailed forms, pay a fee for filling out those forms, and then get a government-issued authorization for "visa free" travel. Right.
maho··on Why We Hear Voices in Random Noise
A few years ago, I was struggling to find the weak, electronic signal of an ion in a single-particle ion trap. I was certain the ion was still in the trap, but I probably had the trapping voltage wrong and the ion was not in resonance with the narrow-band (300 Hz) detector. I was trying to think where to borrow a broad-band FFT detector this late at night to look for the ion, when I realized I could just mix down the signal to the auditory range and use headphones to let my ears do the "FFT". I would easily get a few kHz of bandwidth this way!

But after only a few minutes of listening to the white noise of the (likely empty) trap, I started to hear voices, among which was the voice of the deceased PostDoc who had designed the experiment. I took the headphones off and never used that method again.

I'm afraid it would be quite easy to drive oneself mad this way.

maho··on Some Funny Things Happened on the Way to the Moon (2002)
Thank you. The site is pretty unusable on my iPhone.
maho··on Valve – Handbook for New Employees (2012) [pdf]
We value “T-shaped” people. That is, people who are both generalists (highly skilled at a broad set of valuable things—the top of the T) and also experts (among the best in their field within a narrow discipline -- the vertical leg of the T).

This is a nice metaphor. I try to be T-shaped, but I wonder how useful I am becoming... My expertise in high-precision mass spectrometry is not something companies are looking for....

maho··on I Accidentally Some Machine Learning – My Story of a Month of Learning Elixir
I think he accidentally the whole thing [1].

[1] http://de.urbandictionary.com/define.php?term=Accidentally

maho··on I got arrested in Kazakhstan and represented myself in court
At least he deleted the pictures of the girl. To share her story (edit: I removed some details here) along with her (hopefully fake!) name can already put her in danger, considering the extremely conservative environment she is likely still in. But to include pictures of her - I am at a loss for words at this level of insensitivity.

Here's hoping the pictures won't show up in archived versions of the article.

maho··on It’s No 'Accident:' Advocates Want to Speak of Car 'Crashes' Instead
> Roadway fatalities are soaring at a rate not seen in 50 years, resulting from crashes, collisions and other incidents caused by drivers.

The whole premise of the article seems wrong. According to https://en.m.wikipedia.org/wiki/List_of_motor_vehicle_deaths... [1] the rate of traffic fatalities has declined markedly in the last years. It has declined per inhabitants, it has declined per vehicle miles traveled, and it has even declined absolutely! In the last 10 years, it went from 42000 deaths per year to 32000 deaths per year. This is an incredible success! Driving in the U.S. remains significantly more dangerous than in other first world countries (compare Europe, or even Germany, where there is no speedlimit on most sections of the Autobahn). But the gap is fortunately closing.

It would be fascinating to read about how the increased safety was achieved.

[1] The wikipedia article does not contain information on the year 2015. The NYT article uses the increase from 2014-2015 as basis for the claim that roadway fatalities are soaring.

maho··on A Friendly Introduction to The Riemann Hypothesis [pdf]
An interesting read! Unfortunately the author omits the mindblowing (at least for me) proof of why the series

Z(s) = 1 + 1/(2^s) + 1/(3^s) + 1/(4^s) + ...

is equal to the infinite product over the terms "1/(1-p^(-s))", with one term for each prime number p.

This proof does not need a lot of math [1], and if you know the formula for a geometric series, you can also "prove it" by hand-waving: Each term in the product is a geometric series, and if you multiply all these series out, the result is a sum over all possible permutations of prime-factored numbers (well, the inverses of them). Since each natural number has exactly one such represnetation, it's effectively a sum over all 1/(n^s).

Of course, you need some rigor to show that you are actually allowed to rearrange terms of an infinite product of inite sums like that...

[1]: https://en.wikipedia.org/wiki/Proof_of_the_Euler_product_for...

maho··on Minnesota woman broadcasts police stop and shooting on Facebook Live
If you compare "being killed by the police" to other causes of death, then yes, you can call it rare.

However, 600 killings in just over half a year is deeply troubling when you compare it to other first-world nations. For example, in Germany, the police kills approximately 6-8 people per year [1]. If you scale this number by the US/German population, it's equivalent to 24-32 police killing per year. Clearly, the U.S. has a problem.

[1]: https://de.wikipedia.org/wiki/Waffengebrauch_der_Polizei_in_...

maho··on Context switch logging with the Windows Event Tracing API (2014)
Disable all Javascript? No, that does not work. That's why extensions like NoScript exist, so that you can whitelist safe domains.

This is actually quite usable, but on about 3% of websites, it doesn't work. These site are usually those horrible abomination of bloat-pages that, for no good reason whatsoever, need javascript files from 20 different domains in order to display a static page (I'm looking at you, Wired.com). In these cases, it becomes too tedious to pick the domains that should be whitelisted.

Most times, I simply close the offending website. In the rare case that I actually want to visit the site, I temporarily switch to Chrome.

I still go through the hassle of using NoScript, because it un-breaks pages that would otherwise for no good reason whatsoever decide it's OK to intercept common key combinations (CTRL+t), disable right-clicks, serve pop-ups, pop-overs, or pop-unders, start playing videos or sound without me asking for that thank you very much, or generally try to hijack my browser, my data, or my computer.

maho··on The Fallout – The medical aftermath of Hiroshima
I'm not sure why you are getting downvoted. I can reproduce this behaviour in Chrome. I don't have the best eyes and occasionally use the same trick to increase legibility.

The myriad subtle ways in which designers of "rich websites" break accessibility can be quite frustrating. And most of it is completely unnecessary - the article would still be an amzing read if it were a classic article with standard scroll behavior.

maho··on Traffic to Wikipedia terrorism entries plunged after Snowden revelations
I read your comment half-way, then upvoted it. I mentally prepared a response with further arguments against the size of the chilling effect. Then I read the rest of your reply and saw all the keywords. "Oh no", I thought, "I showed my engagement with this post by upvoting it!"

Needless to say, I don't feel like arguing against the chilling effect anymore.

maho··on NGS: Next Generation Unix Shell
You are right, I forgot about Gnome and KDE. I tend to use classic shells on Linux, and the graphical shell on Windows, so I made a wrong generalization. It's probably more accurate to say that "undo" of simple operations (rm, mv) is something graphical shells get right.

But why are classic shells shipped without even the simplest "undo" features? We can probably all tell stories-from-the-trenches of how we accidentally did something aweful by typing the wrong command. Sometimes, it's hosing the network configuration of a remote machine, which is not something where "undo" would help you. However, in my experience, most cases involve doing something foolish with rm or mv, where "undo" would be tremendously helpful. I guess the main reason why I don't use the text shells of Windows is that Windows explorer gives me Ctrl+Z, which is saving my behind approximately once per year.

As a final thought, all shells (graphical or not) should expand the undo-features beyond rm and mv. For example, if I change system settings (or even Application settings?) and am not happy, I would love to be able to simply "undo" them, without trying to remember what the previous setting was. I realize that this is an incredibly hard problem, and that it is unlikely to be solved in an evolutionary step of the existing shells. That's why hearing about NGS got me so excited.

maho··on NGS: Next Generation Unix Shell
My number-one wish for a NGS:

Undo!

Take, for example, rm. The hoops we have to jump through when accidentally rm'ing a file are ridiculous [1]. But in most cases (smallish, non-secret files), rm should be trivially undoable. Windows gets this right: By default, files are not deleted, but moved to trash. If there is not enough space in trash, Windows warns you. Or, if you really want to delete a file instead of moving it to trash, you can press SHIFT+DELETE, in which case Windows will also warn you that it can't be undone. (What is missing in Windows is a "nuke" option that overwrites the old bits with random data, for those rare cases where a file must be purged from the system completely.) But in most cases, after deleting a file, you can simply press CTRL+Z to get it back.

It is possible to make rm behave like that in Linux [2], but in a NGS, this should be the default behaviour (in my view), with "delete" for really deleting (unlinking) a file, and "nuke" for completely distroying a file, as seperate commands.

Undo is hard. Most programs are on their third, fourth, or even higher release before getting it right. (Mathematica 10 is stil trying to get there...) But I think we should try harder to solve the undo-problem with respect to file-system interactions, or with respect to system-settings, in Linux.

[1]: http://unix.stackexchange.com/questions/10883/where-do-files...

[2]: http://unix.stackexchange.com/questions/42757/make-rm-move-t...

maho··on VW 'Dieselgate' software developed at Audi in 1999: report
I am German and went to school in Germany. I completed the 11th grade at an American high school in Oregon, as an exchange student.

One of the more unexpected culture shocks I experienced, was how academic cheating was seen as bad even by the American students. In contrast, let me give you a brief, personal account of academic cheating in my school(s) in Germany:

We cheated. A lot [1]. Mostly, it was "cooperative cheating" (copying each other's homework, comparing answers during exams), but sometimes it was cheating to get ahead personally (using cheat sheets). Only rarely did we copy homework off the internet, but mostly, because the internet was pretty new. Having others (parents) flat-out do homework for us was, at least to me, unknown, and would have been seen as "bad" cheating, even by the students.

Our teachers were by no means oblivious to the problem. Quite the contrary! Having cheated in schools themselves, they knew all the tricks. They spotted us. And they mostly let it slide. I guess if all students are cheating, they still have a level playing-field? In any case, the cooperative nature of our cheating, and the "us vs. the teachers"-attitude, created a strong bond among us students, and helped integrate the nerds among us (myself included) into the general student body. Imagine my surprise, as I tried to recreate this bond with my fellow American students at the Oregon high-school!

Most times, the consequences for getting caught cheating in an exam were (from 1st grade to final exams at University, including medical "boards", my wife tells me): You get a warning for being caught the 1st time, a stern warning for being caught the second time, and you fail the exam for being caught the third time. This is per exam.

The only times I ever heard second warnings being issued, was teachers mocking the students for being too obvious. I don't recall ever seeing someone fail an exam for cheating, although I hear, it does happen.

Cheating subsides as you move up in the academic system. Cheating on your PhD-thesis is not seen as a trivial offense anymore, but as a serious offense not entirely unlike fraud.

And here is my points about Dieselgate: I would not be surprised at all if management and the whole engineering team were in on it together - at every German (and possibly European) company simultaneously. With a mindset of: "If everyone is doing it, noone is at an unfair disadvantage." Just like school. Or like quoting fuel-consumption measured by the European standrad such-and-such. Or like giving projected battery-life for a tablet or notebook. Or ...

I have since come to appreciate the American way of treating (academic) cheating, but, at times, I also appreciate the German way. It's simply a cultural difference, and I don't argue for either way as the "right way".

[1]: http://www.zeit.de/2012/34/C-Abschreibestudie-Interview-Satt... (This German article describes a study, in which 4 out of 5 students admitted to having cheated in the last semester, at university. If anything, I would expect the fraction of cheating high-school students to be even higher.)

Addendum: I have also worked with students from countries, where cheating seems to be even more blatant than in Germany. I was (Of course! Certainly!) morally outraged! I only later realized my hubris.

maho··on Thermal camera footage allegedly shows pro cyclists using motors
Your cheater-bike-build sounds pretty interesting. Did you describe the build-process in detail somewhere? Or would you care to write it up?
maho··on Shrink Go binaries 7x with this one weird trick
It makes perfect sense to me. I interpret "x" as shorthand/lazyhand notation of the Angloamerican multiplication symbol "×", which I verbally expand to the word "times". Furthermore, calling something "two times smaller" is equivalent to calling it "half the size", since "smallness" is simply the logical and mathematical inverse of "bigness", or "size". The same argument holds for unoptimized code being two times slower, or half as fast. (Slowness is the inverse of speed.)
maho··on Physicists discover flaws in superconductor theory
Electric light and toasters run on electricity "generated" by the generator.

A lot of ships have electric engines. On cruise ships, diesel electric propulsion offers quieter and smoother rides. Some air-craft carriers and submarines have nuclear-electric propulsion systems.

The article made me cringe, too, but mainly because it created a false impression on how big magnets are really energized. I've done it a few times (always with the same magnet, which keeps quenching...), and described the process here:

http://physics.stackexchange.com/questions/69222/

maho··on Why I love ugly, messy interfaces
I think the article is still spot on - the "minimal design" frenzy has influenced more than just bootstrap landing pages.

The YouTube App on my iPad looks wonderful, but for the life of me, I can't find any back/forward navigation buttons. I suspect they were minimized away (I'm on iOS7 on my iPad2, this may be different in newer versions).

My Android phone (Cyanogenmod) has a wonderfully minimal interface that even includes a universal back button - but a "go forward" button was presumably deemed too messy and either thrown out completely, or hidden so deeply that I did not manage to find it in a year. This is especially bothersome in the Android browser...

Yesterday I used a personal Oxygen sensor, for safety reasons. It's a wonderfully designed piece, with just two buttons. Yet their functions are so overloaded, there is no way you can use the sensor without studying and memorizing the user manual.

My Windows PC becomes "simpler and more beautiful" each time the Windows version number goes up, but always at the cost of useful (but messy-looking) interfaces. Quick access to wireless network properties? Too messy! Modify the DDE-commands that the Explorer issues when double-clicking a file? A GUI is too messy for that, users should just use regedit.exe. The "go up"-button in Windows Explorer? Why, "go back" should satisfy all our users' needs!

Of course, destuffying messy interfaces is a noble and important cause. But the degree of mimimalism that current designers seem to strive for is, in my personal opinion, too radical, and I enjoyed reading a piece that points out how sometimes, great interfaces must have lots of buttons.

maho··on Boom (YC W16) – Supersonic Passenger Airplanes
I'm curious, since you posted a route and a ticket price: Will you be operating Boom as a new airline, or do you plan to sell your plane to other airlines?
maho··on Mozilla Pushes the Web to New Levels as a Platform for Games
Do these new technologies enable lower mouse-event latencies? I struggle with making even the simplest 2d apps in a canvas element, because they always end up feeling sluggish. This was and still is a major point where Flash beats HTML5.
← PreviousPage 2 of 4Next →