HNHacker News
TopNewBestAskShowJobs

smueller1234

1,121 karma · joined November 25, 2016

submissionscomments
smueller1234··on Zen 2 Missives – AMD now delivering efficiencies that are double that of Intel
Javascript runs locally. Eg. a quick search turns up: https://github.com/cgvwzq/spectre
smueller1234··on Our Graham Greene in Havana
Agreed on Greene bring a great author and story teller! Of all the Greene texts I've read, I had mixed feelings about The Power and the Glory when I read it a decade or so ago. I imagine if prior to picking it up I had read more about the historical context it is set in, I would've gotten more out of it.

For a thoroughly enjoyable read I'd also recommend The Comedians.

smueller1234··on The Linux kernel's inability to gracefully handle low memory pressure
Any remaining reasonable use cases would be sufficiently corner-casey that that the first order approximation is "if you want it to behave like a database, no, you do not want MyISAM".

This being said, at least some years ago, a use case I saw that held SOME water then was generating MyISAM tables offline, importing them as-is into a running MySQL (or taking an instance offline and bringing it back up) and then serving from it read-only. At least at the time, this provided better RO performance than InnoDB. I wouldn't be surprised if that was still true. Please don't do that at home!

Also, I think until the previous-to-most-recent release, some internal tables were still MyISAM, causing MySQL overall to have some very rare cases of not being crash safe. Again, I think that's since been resolved in 5.8(?).

smueller1234··on The Linux kernel's inability to gracefully handle low memory pressure
GP ist using the MyISAM storage engine. It's not crash safe. This is sad but expected behavior.

Don't use MyISAM!

smueller1234··on Dwindling CPAN Releases
The "use VERSION" syntax is fundamentally much older. It used to strictly just assert a minimum version. It also, pre 5.6, required floating point versions ("use 5.005"). In newer versions of perl, this syntax will also invoke "use feature <stuff new in your version and all versions before>" which allows the use of incompatible new features in its lexical scope. One example is that "use 5.12;" and above will turn on "use strict" in the lexical scope. I fought long and hard for that one. Makes the language strictly better (pun intended).
smueller1234··on Crafting Interpreters: Calls and Functions
Quick search, first hit: https://stackoverflow.com/questions/10675072/is-the-register...

I know, hardly authoritative. But it matches precisely what I remember from when I was hacking on perl with an eye to performance at the time.

Maybe drop that bit regarding 'register'? The rest of that section is still perfectly valid. That is, assuming the compiler doesn't actually perform the local variable/keep in register optimisation itself, but I think it can't do that at least in the general case. I only remember vague things about this. At least aliasing may defeat the compiler optimisation.

Caveat: Like yourself, I picked this stuff up without studying it as part of a degree. Anybody with a proper compiler background want to jump in and enlighten maybe?

smueller1234··on Crafting Interpreters: Calls and Functions
"If we store the ip directly in a C local variable and mark it register, there’s a good chance the C compiler will accede to our polite request."

Hmm. I may be getting rusty, but do modern compilers actually still pay attention to the "register" keyword?

Also, I may have read this too quickly, but if I'm not mistaken you limit the number of parameters to 8, yet the number of arguments passed to 255. Does that make sense?

Thank you once again for a brilliant read!

smueller1234··on We’re Updating Our Terms of Service to Better Explain How Facebook Works
Ironically, the gdpr also attempts to protect you from "accidental data destruction" (what folks would usually call data loss in storage, though the gdpr uses the expression for 'lost a USB drive the somebody else can find'). This means that if nothing else, gdpr makes it legitimate business interest (compliance) to have IMMUTABLE backups.
smueller1234··on Refurbishing the Rancilio Silvia Espresso Machine
At the same time I heard at least certain years of the Silvia used solder with lead. shrug Pick your poison?
smueller1234··on Refurbishing the Rancilio Silvia Espresso Machine
Single data point: I sold my 2009 model in the Netherlands for 175EUR in late 2017. Original price when new was about twice that.
smueller1234··on HAProxy 2.0
Can't tell you. Don't work there any more and don't remember in detail, but wouldn't disclose that if I was still there. Let's say: a significant fraction of an engineer per year. (But note that this was a very large internet company, worth tens of billions, to have had to build it's own multi level load balancer, not a startup.)
smueller1234··on HAProxy 2.0
I'll let others comment on the technical differences.

Have you read The Maglev paper out of Google? At the time right before that was published, one of my engineers was implementing much the same thing. They considered both HAProxy and nginx for the second layer of load balancing. The were technical reasons in either direction. There was some pressure (from me) to go with nginx because we were already using it as our primary webserver, so we could avoid introducing another new technology for people to master.

We went with HAProxy. Why? Because when said engineer contacted them, describing what he was doing, they (here: the main HAProxy dev) engaged in discussion, helped, even included his needs in their planning. At least at the time, nginx folks just responded with that they'd talk to him after he had secured a licensing deal. The uphill battle this engineer would've had to fight in corporate politics to get licensing sorted out that early in the prototyping phase would have been rough. Last I heard, the company still had a licensing/support deal with HAProxy.

Good presales matter!

(Edit: can't spell.)

smueller1234··on Google Cloud Networking Incident Postmortem
No, not at Google. Lore has it in our office that it used to be hacked high speed segways. At least until somebody decided to build a ramp to jump with and the fiery chariot was reduced to rubble. The driver lived.
smueller1234··on How I Made $200k When I Was 16 Years Old Through Coding (2018)
Apologies for being obtuse. It was me, not you, that failed at communication. :)

The type of work, though, and skills required are quite different, regardless of that they technically both develop and involve 'technology'. Semiconductor lithography requires a pretty exciting mix of skills starting with plain physics (classical and by now a bit of quantum optics), materials science, mechanical engineering, data analysis/science, software engineering (both for simulation and analysis of production of lensing systems), and I'm sure I'm missing half. It is quite different from "writes software for a software company", which is the framing I had interpreted from the comment I originally responded to.

smueller1234··on How I Made $200k When I Was 16 Years Old Through Coding (2018)
Building spy satellites could be argued to be electrical engineering, space/flight engineering, physics, data science, etc. In the interpretation of tech industry == software, these are career options that are open to physicists (and similar grads) that aren't in the-HN-type-of-tech.
smueller1234··on How I Made $200k When I Was 16 Years Old Through Coding (2018)
That's the gross oversimplification I went for, indeed!
smueller1234··on How I Made $200k When I Was 16 Years Old Through Coding (2018)
That's not true. My physicist friends from university ended up in various different places. Many of them with a technical or analytical twist, yes, but certainly not all in the 'tech industry': several data scientist, a quant, various opportunities at insurance companies, one who builds spy satellites, somebody who builds lensing systems for lithography, and of course a few who became software/system engineers. None of my acquaintances from uni struggled to find good employment in various industries.
smueller1234··on Is everything we eat associated with cancer? A systematic cookbook review
There's no known link between cosmic microwave background and cancer. Would do for one hell of a difficult thing to study, too.

There's perfectly ample evidence for cosmic rays (ie. high energy radiation from astronomical sources) increasing risk of cancer as does any ionizing radiation. Maybe GP conflated the two?

smueller1234··on Dark Matter Detector Records One of the Rarest Events Known to Science
The Pierre Auger Observatory, which can be described as doing astronomy using particle physics, published in Science about an exciting anisotropy at very high energies at about 2.5 sigma. (It was a prescription, so it would have been published even as a negative result but likely not in Science.) Alas, it turned out to be a statistical fluke as well. We had to publish a note to the effect later.

The particle physicists in the collaboration were by and large against calling it a discovery. The astronomers (by and large) shared your sentiment about the particle physicists being curious folk. :)

https://arxiv.org/abs/0712.2843

smueller1234··on 1060-hour image of the Large Magellanic Cloud captured by amateur astronomers
I've seen the Magellanic Clouds with my naked eye. I worked at an observatory in rural Argentina (location because light pollution). One night, I went out to one of the telescopes for emergency maintenance. When we got back out into the dark and hadn't turned on the headlamps of the car yet, the Milky Way stretched like a band across the sky, and you could see both Magellanic Clouds as small but macroscopic objects, indeed looking like clouds.

This was among the most breathtaking things I've ever seen (the other being a particularly vivid showing of northern lights in Alaska). The southern hemisphere's sky is infinitely more exciting than the northern one.

smueller1234··on Xg2xg: Lookup table of similar tech and services for ex-Googlers
Free food is what you make of it.

If your income as a Google engineer is so tight that you have to make sure you get the most out of breakfast and dinner, go for it (but also maybe have a long hard think). The culture may well vary between sites, but this idea that Google (and others) exclusively employ fresh college grads and try to embrace then 24x7 just isn't true. We have families just like anyone else, and they matter to us every bit as much as everyone else's families matter to them.

I for my part am happy that I get a healthy, hot meal for lunch so dinner can be a quick snack when I get home, so I have more time with the kids. The alternative is more time spent on chores.

Please stop spreading these tired tropes.

smueller1234··on Xg2xg: Lookup table of similar tech and services for ex-Googlers
This is pretty misleading: a lot of the presented open source equivalents are nothing like the original. For example, comparing HDFS to Colossus is... optimistic? Having used / worked on/with both, the similarity is roughly that they both store bytes. This would be a lot less misleading if there were annotations and if the "open source/real world" didn't mix together other large companies' products with open source. For example protobuf is open source, but this makes it look like it isn't.
smueller1234··on US Workers Are Highly Taxed If You Count Premiums
I found a stark difference in German and American higher education that the German higher education system treats you like an adult, including accountability for your own schedule, whereas in comparison American universities appear an extension of middle school. Carefully created and controlled curriculum, etc. That's in no way a statement about the academic merit in either direction, of course.

This is very much aligned with the direct cost and services provided. Attending German universities is virtually free, and under certain conditions, the country will give you very cheap loans to pay for your living expenses. My spouse had a single digit number of thousands of Euros to pay back after graduating.

PhD students are often underpaid employees and are treated that way (for better or worse) instead of being considered as and treated like students. This doesn't imply one is preferable to another, just that it is a continuation of treating them with and expecting a higher degree of maturity and independence.

An upshot for me was that when I applied to my first industry job, the time as a PhD student was treated as work experience.

So yeah, I think you're spot on in that many folks from continental Europe would find the amenities bewildering. :)

smueller1234··on Nuclear power is the fastest way to slash greenhouse gas emissions, decarbonize
To add to that: backup generators are also a logistical mess. Diesel doesn't last infinitely. Do in particular if you expect to run large generators to sustain significant load (like in big data centers, I don't know how significant the load is for the backup gens of a nuclear plant), the amount of diesel you get to store is impressive. Which in turn means that the logistics/tank life issues of the fuel get worse.

The physical&power infrastructure side of big data centers is really quite interesting, by the way. Not something we all get exposed to regularly but I can only encourage anyone who has a chance to learn about it to take that opportunity.

smueller1234··on Nuclear power is the fastest way to slash greenhouse gas emissions, decarbonize
Let me argue that there's at least one more design flaw: backup generators are generally not very reliable. So for any given plant, there's a comparatively high risk that they don't work when you need them. This risk is non trivial even when the generators are well taken care of (both maintenance and regular test runs) but it's very easy to skimp on the tests.

My knowledge is from another industry that relies heavily on backup generators.

smueller1234··on Ask HN: Physicists of HN, what are you working on these days?
NB: I'm not insinuating wrong doing. These were the most brilliant and dedicated people I ever worked with, and with flawless integrity. The choices around publications I describe were scientifically and ethically sound.
smueller1234··on Ask HN: Physicists of HN, what are you working on these days?
Anecdote time!

Back in 2007, I was writing my diploma thesis (think master's just twice as long, German system prior to bachelor/master) at Auger. The collaboration has a rule that for the first year in, you don't go into the author list, but stay on it for a year after you leave. That optimizes for having the actual contributors on papers. Towards the end of my not-on-the-papers year, the collaboration published a really big paper on correlations between the arrival directions of the highest energy cosmic rays, and certain objects, active galactic nuclei (giant black holes at the center of other galaxies). This didn't just get published in Science, it made it to the cover. It was a step towards working out where these mysterious particles are coming from, and what mechanism might possibly exist to accelerate them to such energies! I was kind of bummed not to have my name on that paper (though even at the time thought the one year rule made sense).

The publication had been hotly debated internally. It had received all conceivable internal scrutiny (the author list contained over four hundred names). There had been a stark debate about what the right statistical significance was for claiming a discovery. Astronomers were used to less rigorous requirements than the particle physicists that together made up the collaboration. Ultimately, it was decided to claim a correlation. (A nil result would have been published as well.)

Almost from the day of publication, the statistical significance of the result, but in data continuously collected since, started to diminish. I was involved in running the nightly data reconstruction, and often times we would huddle around one of the workstations on the morning, to check whether a new high energy event increased or decreased the significance. It kept going the "wrong" way.

The collaboration went into a frenzy to double check everything. They redid the calculations, checked all hardware (a field of water tanks and electronics 3000km^2). Had lots of internal conferences with heated debates.

Ultimately a note was published describing the staggering decline of significance. If I remember correctly, my name was on the author list by then and I got to joke that I knew it all along.

I'm no longer in the field. Since then, the collaboration has published a di-polar asymmetry of the arrival directions of the highest energy cosmic rays. That proves something we already pretty much knew: these are not particles from our galaxy. That was a meaningful discovery. But I'm not aware of a publication with as exuberant a discovery as the source correlation.

smueller1234··on Ask HN: Physicists of HN, what are you working on these days?
I used to have that uncertainty (was in Auger as a PhD student, so a similar field), but assuming it's something you think you might enjoy doing, going from writing analysis software in astrophysics to doing that as a primary profession is not very hard. It does likely come with a reset of expectations, going back to primarily learning instead of teaching for a little while.

Happy to expand on my experience if that would be helpful.

smueller1234··on Local Variables
I thought the choice to implement locals and all of their semantics using just the main stack was both curious and surprising. (I'm most familiar with perl's implementation, which requires a bunch of stacks flying in for formation to implement it's complex scoping semantics.)

In the book, Bob says he designed the language such that it would be possible to use just one stack. What does that mean? It sounds very discouraging for newbies because it implies a lot of foresight or trial and error.

Overall, while this is among the most interesting subjects covered, I find the chapter a bit lacking in either one of two ways: either it is for beginners, and then the chapter feels very magical or is for intermediates and then a bit of extra verbiage on the design choices that led you there would be appropriate.

Nitpick: I would totally have stopped low and done the -1 initialization trick as well. But yuck. ;)

smueller1234··on KaTeX – Fast math typesetting library for the web
Thank you for arxiv-vanity! An amazingly clever and amazingly useful tool!
← PreviousPage 7 of 13Next →