HNHacker News
TopNewBestAskShowJobs

millstone

6,895 karma · joined November 23, 2012

submissionscomments
millstone··on Porting a 100% local app to the web
Desktop apps can reach higher quality. Compare e.g. Apple Keynote to Google Slides, the difference is obvious.
millstone··on “I've had to relearn coding to get through the new interviews”
Maybe 15 to 1.
millstone··on “I've had to relearn coding to get through the new interviews”
That sounds damn frustrating. Would you be willing to share your area of expertise?

At 17 YoE, I avoid the cloud and ML because it's hard to bring my skills and experience to bear, and also I have no passion for them. But I have also found there's a ton of C++ code out there; IME there's a lot of appetite for someone who can wrangle it.

millstone··on “I've had to relearn coding to get through the new interviews”
The author has been working as a developer for 15 years, and claims very strong technical skills. Why are they learning/re-learning Python, C++, SQL, C#, college math? Nobody will be fooled by that; at 15 YoE they will be evaluated on what they have done over a career, not over the last month.

> it's all about how much time you can spend on Leetcode.

The author is playing a game built for new grads. Here's a secret, speaking as an (ex) Facebook interviewer:

Facebook's hiring pipeline is optimized for new grads, but its hiring needs are senior engineers. They know this, but you can't build a high-volume interview pipeline for senior engineers: there's not enough of them, their skill set is too varied. So Facebook is kind of at a loss, but in general if you have 15 YoE and can show you're good, they want to hire you. In particular they'll try to find deep domain experts ("pirates", their term) to evaluate you.

So be prepared to demonstrate basic competence in coding, and also some deep expertise. T-shaped engineers, as they say.

millstone··on Futures explained in 200 lines of Rust
> if a future is inert, how can it ever detect that it is ready to make progress and call wake

This is the crux, and I wish the discussion started by posing and answering this question.

Futures are NOT inert. This is referenced only obliquely:

When a future is not ready yet, poll returns Poll::Pending and stores a clone of the Waker copied from the current Context. This Waker is then woken once the future can make progress

The passive voice "the waker is woken" obscures the fact that the Future itself is responsible for arranging the call to wake(). This means that the Future maintains some sort of dual active presence: it owns a thread, or a timer, or adds a file descriptor to an fd set, etc.

An example from futures::io::AsyncRead::poll:

If no data is available for reading, the method returns Poll::Pending and arranges for the current task to receive a notification when the object becomes readable or is closed.

So `poll()` is a misleading name: it is not a passive check but a hook for the Future to materialize its dual, active half.

millstone··on An API is a user interface
There's a massive difference between a back button and gl.texParameterf().

I honestly have no idea what "proper domain and service modeling" means but a good UI is NOT a natural consequence of good engineering. That's why human interface design is a real discipline.

millstone··on An API is a user interface
We should take APIs seriously; that does not make APIs the same as user interfaces. Programmers are the exclusive consumers of the Application Programming Interface, while users don't have to know about it. It is true that "programmers are users, too" but this is like saying that tomato farmers also eat tomatoes; the farmer and the chef have different concerns.

The point is that conflating these cheapens both disciplines. A good API may last decades, a good UI can float across multiple APIs.

millstone··on Reddit is slowly killing the old interface? native image galleries are invisible
14 year club high five!

The default subreddits are as bad as you'd expect, but there's many awesome smaller ones. Pray your niche subreddit never becomes default.

IMO this is why they keep old reddit around. Some use reddit for bite-sized entertainment; others use it for serious advice and discussion. It makes sense for the site to have two modes.

millstone··on Reddit is slowly killing the old interface? native image galleries are invisible
The old web placed HTML and CSS as primary, and used JS for incidental tasks like form validation, or fixing up the back button. The big idea was "graceful degradation": sites were expected to work without JS, at the cost of (say) a server-side error instead of immediate feedback.

Modern reddit does not gracefully degrade: it requires JS to click buttons, to load images, to scroll, etc. Old reddit still works well without JS. So does Google for that matter.

millstone··on Google to end the “top stories carousel” benefit to AMP next spring
To my knowledge, Google has never explained why they don't offer a setting here. Here's someone requesting a way, and getting smoke blown back instead: https://support.google.com/webmasters/forum/AAAA2Jdx3sU8ogdv...

I guess it's in Google's interest to force AMP.

millstone··on Windows 10 is now nagging users with full screen Microsoft Edge ads
That sounds like a really crappy experience.

Windows is increasingly incorporating these web-style nudges every day. If you open the Start menu, you get animated ads; if you search in it you get popups pushing you to join Microsoft rewards [1]. What a distressing shift.

1: https://www.windowsphoneinfo.com/threads/microsoft-rewards-p...

millstone··on Windows 10 is now nagging users with full screen Microsoft Edge ads
Has Google's nagging escalated? They've been doing this since forever, I am not sure why MS would react now.
millstone··on Windows 10 is now nagging users with full screen Microsoft Edge ads
What does Microsoft hope to accomplish with Edge? Two competing ideas:

1. Edge means giving up: Edge is rebranded Chrome, MS merely hopes to reap seigniorage from Bing as the default homepage

2. Edge means doubling down: MS wants to focus its efforts on differentiating features like privacy or Windows integration, where Google is at a disadvantage

They are pushing Edge hard so #1 doesn't seem plausible, but #2 would be a coup, and inevitably lead to a fork, like WebKit/Blink.

millstone··on Apple blocks game streaming services unless individual games are approved
Well I strongly disagree with all of that. You're talking about "uninformed choices of Americans" that are "unequipped to understand," but I was there in 2007 when the iPhone was introduced, and there's a reason that EVERY phone is essentially an iPhone and not a Blackberry. This did not "disenfranchise" anyone, it radically empowered us all (in the same way that google.com did).
millstone··on Apple blocks game streaming services unless individual games are approved
Every PC game developer sweats piracy. Windows is targeted first (or only) because it is the vastly dominant gaming platform. But the piracy aspect is real, and important, and it hurts Windows gaming.

If you are developing a Nintendo Switch game, you can focus on building a better game, instead of anti-piracy techniques, or futzing with hardware incompatibilities. That's iOS too.

millstone··on Apple blocks game streaming services unless individual games are approved
It's not useful to cast this in terms of standards. If your users use a non-standards compliant browser, you fix your website, not the browser.

With regard to your second paragraph, I believe you have made a category error between "the App Store" and "the browser." The browser is not a store.

millstone··on Apple blocks game streaming services unless individual games are approved
Fair point and thank you for the clarification. By "iOS exclusive" I should have said "not on Android." I honestly considered it common knowledge that these games are available on Windows, Switch, etc. but maybe not all readers know that.

To refine my point, many successful games come to iOS because it is a controlled environment, with negligible piracy. The games come to Android later or not at all, because it is more of a wild west.

As for productivity, iOS has an undeniable platform advantage, and by that I mean tablets. Apple focuses on the iPad but Android tablets are kind of a joke. Here's androidpolice agreeing: https://www.androidpolice.com/2020/04/21/do-yourself-a-favor...

millstone··on Apple blocks game streaming services unless individual games are approved
"Enabling multiple browsers" is a red herring. Android enables multiple browser engines, but non-Blink browsers are a rounding error; it's bought nothing in terms of browser diversity.

Really it's just code for "let me, a web developer, target Chrome only, so I can just tell Safari users to install Chrome."

millstone··on Apple blocks game streaming services unless individual games are approved
I demand open computing. I have it, it's cheaper than ever, like RPis are given away in cereal boxes.

I also have an iPad. I know I lose some software access (e.g. Facebook streaming games) but I also gain software, like Slay the Spire and FTL and Bastion. These games are iOS exclusive in part because iOS effectively prevents piracy, which is another way of saying that users cannot run whatever software they want.

I'm quite happy having some general-purpose computers, and also some purpose-built app-console devices. Why must every device be general purpose?

millstone··on What’s the Role of Developer Experience in Programming Languages Research?
Have you been in this situation? Will you please say more if so?
millstone··on 750M genetically modified mosquitoes to be released in Florida
Reading wikipedia, the Sterile Insect Technique seems awesome! I hope someone knowledgeable can answer some questions:

1. If a fertile female mates with a sterile male, why does she not just mate again?

2. How are males selected?

3. How are males sterilized? Wikipedia refers to "irradiation of reproductive cells" but this can't be so precisely targeted...right?

millstone··on Uber and Lyft expected to prevail in CA ballot measure
California has a long and happy history of badly-conceived but very-well-funded propositions going down in flames. Prop 33 in 2012 comes to mind, losing badly despite $17m for and only $275k against: https://ballotpedia.org/California_Proposition_33,_Automobil...
millstone··on Intermittent fasting from dawn to sunset induces anticancer response
This is published in Nature, which does not traffic in garbage. This is an observational (not experimental) study which means that the subjects already planned to fast in observance of Ramadan, and the paper discussed what was observed wrt to health and cancer indicators. It's not a polemic.
millstone··on Intermittent fasting from dawn to sunset induces anticancer response
The study focused on Muslims observing Ramadan, which does forbid drinking liquids (including water) during the daytime.
millstone··on Tesla Autopilot 'a distant second' to GM's Super Cruise in hands-free test
CR has had some badly designed tests in the past, but the way they run their org is outstanding. They're a nonprofit, they purchase all products retail, they accept no advertising dollars, they forbid using their testing results in advertising.

It seems natural and very above board for Cruise to want to spread this good review, though they cannot use it in advertising.

millstone··on Bazel Build System Support for LLVM
The official .deb is 156MB compressed, which is prohibitive for all but the largest OSS projects. I assume much of that is the bundled JRE, but that only illustrates the point about Java.

Most tellingly, Google has gone through two major build system migrations (Android and Chrome), and neither project chose to migrate to Bazel/Blaze. If Google won't eat their own dogfood, it doesn't inspire much confidence.

millstone··on Bazel Build System Support for LLVM
The effect is that open source projects avoid Bazel. I'd rather fight with CMake than take a Java dependency in a C++ codebase.

It's a pity, feels like a real missed opportunity.

millstone··on Twitter still hasn't unlocked the New York Post's account
Journalists have an obligation to protect their sources, which prevents many stories from being independently verified. However they can be verified by other news outlets, who have their own sources. The "losers and suckers" story was independently verified by NYT, WaPo, and AP. But the NYPost has not been verified by anyone, nor they did seek verification, nor did they even ask Biden for comment, because they know the story is bullshit.

The "double standard" idea makes my blood boil, because it casts basic facts in partisan terms. Twitter fact-checked Trump tweets, but not Biden tweets. But that's not a double standard; it's a single standard, and it just so happens that Biden does not tweet outright lies such as "California sends a ballot to anyone living in the state."

Twitter clearly does not want to be in this position and the right-wing misinformation machine is exploiting that aggressively. The NYPost story got a huge Streisand-effect boost. It's impossible to give Twitter good advice today.

millstone··on Quantum Tunnel Shows Particles Can Break the Speed of Light
"Tunneling" refers to the process by which a particle may pass through a classically-forbidden potential barrier. It is like bowling, and finding your ball in the next lane over. You didn't throw it hard enough to hop the lane barriers, but there it is.

> particles can exceed c0 (the speed of light in a vacuum) during tunnelling

No particle's speed is measured here, so it cannot exceed c.

What does "during tunneling" mean? Tunneling means measuring its position here, and then over there. You can't do that simultaneously with measuring its speed in between, because of the uncertainty principle.

The wavefunction can be thought of as a probability distribution. That can be updated instantly, even if it becomes very bimodal, because it's just a change in knowledge.

millstone··on Just Write the Parser
I think the design is great. Simple and easy to read.
← PreviousPage 6 of 34Next →