HNHacker News
TopNewBestAskShowJobs

dgreensp

3,476 karma · joined April 10, 2007

David Greenspan
submissionscomments
dgreensp··on Elon Musk's first LA tunnel with free rides to kick off this summer
Innovating on the TBMs is definitely part of it; I don't know why you are concluding from a picture that it isn't? Boring smaller tunnels is also part of it.

You can read more here: https://www.boringcompany.com/faq/

I don't have an easy way to check your claims against Elon's, for example whether existing "modern" TBMs are fully electric as you claim, or run on fuel as Elon claims, and whether continuous tunneling is the norm or not.

dgreensp··on Elon Musk's first LA tunnel with free rides to kick off this summer
According to Elon, conventional tunneling costs "as much as $1 billion per mile," which is the biggest reason we don't have more tunnels.
dgreensp··on New Changes in Chrome 66 Break Audio in Thousands of Websites and Games
Wow. Although I’m not seeing much empathy expressed by the Chrome developers posting in the thread, I hope they realize they made a colossal mistake here, which could have been avoided if they’d been more thoughtful about this change and considered the impact.
dgreensp··on C Is Not a Low-Level Language
High-level and low-level are relative, to be sure, but Java is definitely considered higher-level than C -- it was designed to target a virtual machine, for example, while C was designed to target real machines -- so I think it illustrates the article's point perfectly.
dgreensp··on C Is Not a Low-Level Language
I admit it's not fair to blame C in particular. The comparison is between how we write and execute software and how we could write and execute software, and the language absolutely comes into play, in addition to how the language is conventionally used. "Legacy" code in this context is code that was written in the past and is not going to be updated or rewritten.

I disagree that tasks performed by a computer either don't parallelize or the cost of synchronization is too high. At a fine-grained level, our compilers vectorize (i.e. parallelize) our code -- with limits imposed by C's "fake low-levelness" as described in the article -- and then our processors exploit all the parallelism they can find in the instructions. At a coarser level, even if calculating a SHA (say) isn't parallelizable, running a git command computes many SHAs. The reasons why independent computations are not done on separate processors -- even automatically -- come down to programming language features (how easy is it to express or discover the independence, one way or another) and real or perceived performance overhead. Hardware can be designed so that synchronization overhead doesn't kill the benefits of parallelization. GPUs are a case in point.

The world is going in the direction of N cores. We'll probably get something like a mash-up of a GPU and a modern CPU, eventually. If C had been overtaken by a less imperative, more data-flow-oriented language, such that everyone could recompile their code and take advantage of more cores, maybe these processors would have come sooner.

dgreensp··on C Is Not a Low-Level Language
The point is specifically about parallel vs sequential programs. Legacy C code is sequential, and the C model makes parallel programming very difficult.

I met a guy back in college, a PhD who went to work at Intel, who told me the same thing. In theory, the future of general purpose computing was tons of small cores. In practice, Intel's customers just wanted existing C code to keep running exponentially faster.

dgreensp··on C Is Not a Low-Level Language
I think the author's point is that despite being perceived as low-level, C doesn't really differ from, say, Java on the last bullet.

In other words, a programmer who sits down and uses C and not Java might think, "I am being forced to pay attention to irrelevant things and think in unnatural ways, but that's because I am writing fast code using operations that map to operations done by the physical machine. In a higher-level language like Java, more of these details are out of my control because they are abstracted away by the language and handled by the compiler."

I think the article does a great job dismantling this point of view, and telling the story that C is not so different from Java, aside from being unsafe and ill-specified.

dgreensp··on Google's “Director of Engineering” Hiring Test (2016)
Yes, Google is missing out on some top-end candidates, who probably wouldn’t be happy there anyway. It’s not so simple as having a less annoying interview process and getting better engineers. The interview process is an extension of the corporate culture. It embodies certain attitudes and probably attracts certain personalities and repels others. Lots of people want to work at Google, and lots of people do, so only Google knows if something about the process is not working for them.

I’ve worked at Google, and engaged with Google recruiters over the years (who didn’t even know I was an ex-Googler). Talking to their recruiters does feel like talking to chatbots and can feel quite dehumanizing, in big and small ways. I’ve also worked at small start-ups that did world-class recruiting, or at least several classes better than Google — perhaps there are even higher classes, who knows. Both activities are called “recruiting” but they barely seem like the same thing.

dgreensp··on Stack Overflow Isn’t Very Welcoming – It’s Time for That to Change
100% this. To say that the author of the post — whose job includes knowing whether women and minorities feel particularly unwelcome or not, based on actual data and talking to them — must have invented this point is rather outlandish. Based on what?

An online community can’t possibly be less welcoming to women, for example... because it has screen names? Because people don’t express open disdain for women like they do for newbies? You don’t have to be an expert on this stuff to know not to rush to hasty conclusions, especially in the face of evidence.

dgreensp··on Java is Pass-by-Value
I don’t see why C++ “references” should have a monopoly on the term “reference," such that a language calling anything else a reference is making an error. C++ references are actually kind of a weird/unusual language feature that isn’t being taken up by other languages. I don’t see cause for reserving a term for them. Each language can decide what it is going to call a “reference.”
dgreensp··on Apple open-sources FoundationDB
Spanner is geographically distributed and synchronizes over Google’s fiber. I’m not sure where FoundationDB falls on the spectrum, but there is “distributed” meaning runs on multiple machines, vs multiple availability zones (which could be in the same rough geographic area to minimize latency), vs multiple geographic regions, which is one of Google’s design goals for its distributed infrastructure nowadays: to be able to withstand a natural disaster or other disruption that takes a whole region offline, without missing a beat.

There’s still a lot to be said for the property, “scales horizontally to N machines,” of course, even if those machines have to be in the same data center.

dgreensp··on Facebook points finger at Google and Twitter for data collection
Agreed, I found Facebook’s explanation perfectly adequate and respectable. They are basically explaining cookies and embeds/iframes to a non-technical audience — no more, no less. It makes sense to give other examples like Google ads and Twitter buttons in this context.
dgreensp··on “Coming Out” as Face Blind
The author calls her face-blindness “mild” and “not as severe”; I wonder what severe face-blindness entails?? How do you recognize less than the author?

I have a small bit of difficulty with faces that my ex-wife made me aware of. Since then, if I don’t recognize someone I may say, “Sorry, I’m bit bad at faces,” and this seems to go over well. I also sometimes say this to cut short conversations about “who my kids look like.”

dgreensp··on Reddit's redesign could kill discussion subreddits
From reading Reddit threads about the redesign: pretty much everyone hates it, especially Reddit’s most passionate users, who have been very articulate, consistent, and aligned about exactly what they don’t like, and Reddit just keeps brushing them off and dismissing their point of view.

Maybe the purpose of the redesign is something like monetization? Or maybe they are just out of touch and by the time they really understood the community’s point of view, the decisions had been made, so the Reddit employees tasked with handling the community response can’t really say or do much.

dgreensp··on Designing better file organization around tags, not hierarchies (2017)
I found this to be a great collection of insights!

My criticisms:

Organizing your files and digital “stuff” has very little to do with the “rich structure of human knowledge,” to me, any more than organizing your kitchen or garage is an exercise in philosophy. The goal should be as usable a system as possible, full stop. Now, the actual content of the article is extremely practically oriented, so I have no beef with that. I just think people get carried away with the idea that storing a file is “representing knowledge,” and it takes them in weird directions like trying to create elaborate universal ontologies. The question is, is it easier or harder to find your files, and save your files?

Whenever a phrase like “representing knowledge” or “augmenting intelligence” comes up, it’s like everyone gets a boner, and then moves on to something unrelated, like (hopefully) usability.

Mutability: Everything changes. The only way to have immutable facts is to have timestamps. Image hosting sites, message boards, etc are misleading examples of file storage because they are really means of publishing. When you publish something, and people link to it, there’s a case for thinking of immutability as the default, though even then, most things that can be published can be retracted or edited. This comment can be edited after I publish it. I think true immutability as a default, for files as opposed to time-stamped facts, only makes sense in a very narrow domain.

dgreensp··on Designing better file organization around tags, not hierarchies (2017)
I can strain my imagination and optimistically say that with a suitable UI, the tag-based file browser would be no worse than the hierarchical one — using tags to categorize your files in a not-too-coarse, not-too-fine way, and maybe even having more flexibility in how you organize and browse your files. Do you ever put information in the file name that could be a tag, or make up meaningless file names when there are few enough files related to a particular page, for example? Or put information in names that could be attached as some sort of comment or notes metadata instead? But I think you bring up some important issues when it comes to organizing your stuff.

Would it be better if, instead of having kitchen drawers and cabinets, we had a tag-based system, because, you know, the structure of human knowledge and all that? Why should I be forced to put a utensil in zero or one drawers? Actually, the cabinets and drawers system is nice because you have a sense of “place” — you can think intuitively about where an item is, where an item goes; even if where an item goes is a somewhat arbitrary choice, at least you know exactly what decisions have to be made (which drawer and which compartment in the drawer organizer, for example) to put it away. You can also do a traversal through the cabinets and drawers to see what objects are being stored and how they are being organized, and any time you open a cabinet, you are focusing on a different set of objects. Imagine if you had 10 cabinets and 10 objects in each cabinet, but you actually only have 20 objects total. Every time you open a different cabinet, you see a different 10 of those 20 items. Confusing.

I wonder if it would help to have required tags, and exclusive tags. Files with tag X must have tags of type A, B, and C, and may have other nonessential tags. X would be something like, “is a project file for some project,” and A could be the type of project name tags, and so on.

dgreensp··on Introducing Fly Edge Apps
Interesting to hear!

Thanks for the EtherPad love. (I'm finally working on my next app!) There's something a bit AppJet-like about Fly. I also really think this model could be the future; do you even need an "application server" if you have Fly and a datastore? I'm really looking forward to what you come up with for persistence. At AppJet, we had something called "magic storage" where you could access the "database" via proxy objects, with no explicit database calls. I wouldn't do it quite the same way now, but I can imagine some really neat JS persistence APIs that strip away the usual impedance mismatches between application logic and database, especially if the data is "right there" at the edge.

dgreensp··on Introducing Fly Edge Apps
Sounds great.

When I think about using this, the main question that comes to mind is about the scale and scope of your infrastructure, compared to Cloudflare, for example, which recently came out with a way to run JavaScript at the edge, and has more "edge chops," as a company, than I could ever ask for. I say this having started a YC company that advertised "scalable" hosted apps, but planned to deal with the actual scaling as it came up. With start-ups, you never know when you are just using an MVP, you know?

This is a new enough type of thing (edge apps) that it's not going to become a commodity overnight, but it seems like the kind of business where, once there's competition, small customers will care about developer experience, but larger customers will care more about price and performance. This is the problem with "easy-to-use" developer tools and services; customers with money can burn a few extra developer hours getting a more complicated service configured.

All that said, Fly sounds legit and innovative. :)

dgreensp··on Why there are so many online mattress-in-a-box companies
Remember how the movies Armageddon and Deep Impact both came out in the same year? (Apparently it was 1998.) It was so weird to have a choice of two bad asteroid movies, which wasn’t exactly a common trope at the time.

I got a similar feeling when a company advertised in my Facebook feed that it had “reinvented belts,” and then a different company advertised more or less the same thing a few weeks later! Same with pills designed to boost your brain power. One week you are being pitched by brand X, the next by brand Y, and each one gives the impression that someone passionate about belts, or neuroscience, or whatever, poured their blood, sweat, and tears into this revolutionary new product.

Edit: I actually bought a “reinvented” belt, and I love it. I wonder if modern marketing, i.e. Facebook, makes it possible to “reinvent” mundane objects and make a buck, maybe the way it used to be before products became more commoditized and distributed by big corporations.

dgreensp··on Nuclear fusion on brink of being realised, say MIT scientists
Something that pretty much everyone in the world wants to see happen, but still faces a few technical hurdles, is much more likely to ever happen than something that is already possible but not enough people want, it seems to me.

Achieving ubiquitous nuclear power is more like achieving ubiquitous electric cars than achieving ubiquitous flying cars. It’ll probably happen any decade now, vs maybe never.

dgreensp··on A revolution in our sense of self
Wait, what if we’ve just been anthropomorphizing ourselves this whole time??

That’s right, treating humans as if they have human traits like beliefs and intentions.

dgreensp··on A revolution in our sense of self
“The author is projecting his vapidity on the whole human race.”

Yes. Thank you.

Does the author think nobody knows how a fridge works, and actually there is nothing to know?

I recognized immediately in the metaphor of “selves as fictional characters” that the author would be arguing we are all “spin all the way down” — just stories we tell ourselves.

If you work on stripping away the stories, you will find there is a “you” underneath, after all.

A lot of the things we tell ourselves are not true, but that doesn’t mean there is no truth of the matter. You can even ask yourself, when you are telling yourself a story, is that really true? And you may find yourself answering, “Well, no...” You have to at least believe in yourself (so to speak) to make progress in knowing yourself, getting along with yourself, and loving yourself.

dgreensp··on A revolution in our sense of self
I disagree with this argument. I think some portion of our brain is devoted to “modeling,” and the things being modeled include other parts of our brain; other parts of our body; phenomena that include certain parts of the brain and non-brain body parts (eg emotions); other times and places; other people; our environment; and so on and so forth.

Certain modes of thinking, like abstract thought and reasoning, can only draw on these models, so in that limited scope, the only a available data is the models — which there are more of than we could ever attend to exhaustively. In other states of mind, there is all kinds of other data.

dgreensp··on Fact Checking “The Founder”
It was baffling to me why they changed the story in all these ways that didn’t even make for a better story. The scene where Harry just happens to be standing there when Ray is trying to get a loan, for example, felt sort of odd. Screwing the brothers out of the handshake deal for royalties is another odd thing to make up.

The movie was all plot, anyway, just sort of a timeline of facts in movie form, so it’s not like altering the facts at random, in large and small ways, made it more cohesive or something.

dgreensp··on IBM Plex – A new typeface
Oh wow, I was not expecting that!
dgreensp··on Insanity Wins as Appeals Court Overturns Google's Fair Use Victory for Java APIs
Wow, enough mockery and name-calling?

I am actually with Oracle on this whole thing. Calling Android “fair use” is the insane argument, as legal experts have said. Fair use is a narrow exemption, not meant to apply to huge corporations and commercial products. Android is a commercial product; Google even tried to argue that! Google is not akin to a library performing a public service by making Android. Android is not Java “criticism, comment, news reporting, teaching (including multiple copies for classroom use), scholarship, or research.” (The fact that senior people at Google seem to honestly believe that Android would have to at least be a little more of a profit center to be impeachable on copyright grounds is straight out of an HBO script.)

Google’s own engineers didn’t think it would be legal to copy Java and “scrub the J word” (actual quote) without licensing from Oracle. The emails are damning. They knew it wouldn’t be a “clean-room reimplementation” of the APIs, and it wasn’t. Also, the Java “API” includes the entire behavior of the standard library. Whether or not APIs are copyrightable (a gray area to be sure), I think it’s misleading to compare the Java APIs to other examples of “interfaces.” In any case, Oracle showed that portions of code were either copy-pasted or heavily “recollected,” so I say they did their job showing they have a real case. They don’t deserve to be mocked.

dgreensp··on Announcing the Second Edition of “Refactoring”
TypeScript is fast becoming the go-to language for JavaScript with types.
dgreensp··on Hours After FOSTA Passes, Reddit Bans 'Escorts' and 'SugarDaddy' Communities
r/SexWorkers seems to have survived, thanks to its long-standing policies against advertising/transactions, so sex workers can still talk about sex work, in theory and practice, for now.
dgreensp··on Theranos and Zenefits are a feature, not a bug, of Silicon Valley
Just because “exuberance and fraud” are bound to happen doesn’t mean they are a good thing. I also don’t buy the skippery slope between pitching your vision and lying about the facts. Theranos clearly crossed the line, demonstrating that the line is sometimes clear. An article arguing that the line is sometimes blurry, or that deception can be a good thing, should draw on different material.

If Silicon Valley as a whole is a bit scammy, it doesn’t serve us to defend it on that score or spin it into a positive.

dgreensp··on The Bitter Truth of Learning: It’s Tough, Unpleasant, and Often Pointless
I am definitely on the side of “do the things you ultimately enjoy.”

If you don’t enjoy something, ask yourself if you really have to do it, and if you do, ask yourself how you can enjoy it more. And I say this as a dad who has changed hundreds of poopy diapers and resolved thousands of toddler requests and minor conflicts. Learning French is not “better” than watching TV. There are lots of pointless, impoverishing hard tasks and meaningful, enriching easy tasks. Any value judgments on struggle will make this harder to see.

← PreviousPage 11 of 30Next →