HNHacker News
TopNewBestAskShowJobs

dgreensp

3,476 karma · joined April 10, 2007

David Greenspan
submissionscomments
dgreensp··on Search at Slack
The subject of how bad Slack's search is comes up all the time in talking to friends and co-workers, and I wonder if the described ranking changes are enough.

Usually when I'm searching, I'm looking for a particular message, possibly even one I read earlier that day, and I may know a few things about it, like who sent it and that it had an important link, but I still can't necessarily find it! The results are also presented in a giant cartoony way that makes me page through many pages. Tokenizing my search into "keywords" means that even if I know a substring of what I'm looking for, it doesn't come up as relevant, or the tokenizer tokenized the text differently. This is also why GitHub search can't find a lot of things.

What I would want in a search experience is the equivalent of Control-F over the list of messages I've actually seen.

dgreensp··on Copper is key in burning fat
Processing absolutely does remove minerals, along with vitamins and fiber, such as when you make white flour by removing the "bran and germ" of the wheat grain. Most often, one particular part of a food is extracted, potentially subjected to high heats and/or chemical processes in order to alter the taste, consistency, shelf life, or other properties of the substance, and then combined with other such substances.

For example, a cracker might consist of flour, soybean oil (i.e. fat extracted from soybeans by soaking them in chemicals called hexanes and hydrogenated), corn syrup (sugar extracted from corn), and corn starch. The human body needs dozens of micronutrients that are easily found in a bite of a naturally-occurring food but easily absent from an artificial food, especially when the necessary sugars, fats, and starches have been sourced as cheaply and conveniently as possible for manufacturing. This isn't a value judgment, and I love eating processed foods.

dgreensp··on Melown – 3D mapping implementation in JS, smooth and silent
Wow, looks and feels great! Better than Google!
dgreensp··on A Prettier JavaScript Formatter
I used Recast on a codebase at work to migrate to a new code style, and I ran into a long tail of issues with preserving comments that looked like they would require some significant work to fix. I know the author of Recast (Hi Ben) and corresponded with him a little bit about it at the time.
dgreensp··on Faster Images using HTTP2 and Progressive JPEGs
Progressive JPEGs are actually a worse experience on browsers that don't render them progressively, like Safari (including iOS). This is why many major sites, such as Flickr, don't use progressive JPEGs (last time I checked, which was a few years ago).

See: http://calendar.perfplanet.com/2012/progressive-jpegs-a-new-...

dgreensp··on Programming Is Forgetting: Toward a New Hacker Ethic
This is a great talk, and I loved the discussion and criticism of the roots of hacker culture, and also what the author describes as "logical positivism." You can look at something like Bitcoin as a textbook example. The thinking was that by making a simplified model of money, money can be replaced, and the government (authority) circumvented. In reality, money is not just numbers in a ledger, and when you take away one authority you institute others.

That said, mistrusting authorities such as governments is a valid and valuable position, as is standing up for the right to tinker with hardware on principle. Some of the bullet points that are bulldozed in this talk seem to have a philosophical kernel that is sound, if controversial or subversive. It's pretty interesting to me that computer tinkerers in the 70s, before personal computers, couldn't own a computer or take one apart. Is that the lack of "access" the ethic decries? Properly contextualized, is this point just about the inherent value of freedom to tinker? Or is "access should be total" a juvenile rationalization for breaking into computer systems, and "information should be free" an excuse to steal or expose secrets? (And is this ambiguity real or an artifact of Levy's formulation?)

I would separate "philosophy" from "culture." If in a particular subculture like hacker culture, "all that matters is how good you are," this is equalizing in a way -- for example, a man and woman with equal skills will have equal status -- but it can also lead to phenomena such as arrogant rockstars and frequent pissing contests. And what about the people who aren't so good, how are they supposed to feel? So this "ethic" can generate a traditionally male sort of culture that is off-putting or toxic to many people, male and female. The fact is that creating a diverse and inclusive community is its own value and doesn't follow from anything about hacking.

dgreensp··on The bank lent me $2m so I spent it on strippers and cars
I don't think whether or not everyone knows the consequences is relevant. You can work out the purely legal or administrative downsides (to you) of lots of things.
dgreensp··on The bank lent me $2m so I spent it on strippers and cars
> I was just unlucky I guess that it happened to me.

People like this who have no sense of personal responsibility are an evil in the world. He spends millions of dollars of other people's money, declares bankruptcy (presumably), and when his actions are deemed dishonest and immoral, though not technically illegal, he acts like that's just name-calling and gets right back up on his high horse. Remind you of any Presidents-elect?

I expected better of HN commenters. Remember when we had a spirited discussion about people defaulting on their student loans and blaming society for making them take huge loans they can't pay back? This situation lacks any of the nuance of that one.

dgreensp··on The sad truth about depressive realism (2006) [pdf]
I read "optimal strategy" as slightly tongue-in-cheek, considering we don't have direct control over our moods.
dgreensp··on What's wrong with Software nowadays and how we can fix it
After reading the thesis, the proposed model of computing is like a concurrent Smalltalk where everything is completely mutable, even an object's code and prototype chain. The author then writes a function to calculate the Fibonacci sequence by turning it into a distributed system, with some effort, and then runs the code and talks about its performance!

At first glance, there seems to be a lot of incidental complexity and creative choice in expressing a function from integer to integer in this system, which goes against the ideas of code reuse and separating meaning from optimization -- i.e. that there is one global Fibonacci function that we can inspect and understand and don't have to rewrite for performance, or in another language, or to run in a distributed fashion.

dgreensp··on What's wrong with Software nowadays and how we can fix it
I'm going to buck the trend of cynicism and say this is beautiful and matches my own ideas closely, though I have not read the paper yet.

How many of us seasoned programmers came to an understanding with computers by playing in a "toy world" of comprehensible, somewhat visible, documented, predictable abstractions, such as Logo, HyperCard, Excel, BASIC, or even assembly code, and now perform bizarre ceremonial rites on a daily basis to get a teetering stack to perform our bidding as part of "real" programming? There's a vicious interplay between how "bad" and complex software is and how arcane and unapproachable it is, even to experts, driving away all but the most determined to crack the code, who then work together to try to build quality components and applications against great odds.

dgreensp··on Graphics Deep Dive: Cascaded Voxel Cone Tracing in the Tomorrow Children
This is modern technology -- the most modern, since it was invented for this game. Global illumination this good is not something you can get off the shelf, to my knowledge.
dgreensp··on Does Google's Hiring Process Put Off Talented Applicants?
Yes, absolutely. Google is legendary for this. They are turning off not just talented applicants, but presumably applicants with other options and applicants with a good dose of self-respect who won't put up with such a long, impersonal process.

I've been in the world of 20-to-30-person start-ups for the last several years and seen some amazing recruiting processes. Emails to new leads are personal, not copy-pasted, and take context into account. Phone screens weed out all but the most likely applicants to work out. On-site interviews are a chance to get to know the team. Offers are made quickly, even same-day.

dgreensp··on Reddit’s CEO edited comments that criticized him
While I expect this issue to blow over, you are right that defending the CEO's actions by saying he was "frustrated" or it was a prank or whatever else is ridiculous. Imagine the CEO of Google editing YouTube comments.

I don't know if these analogies are totally apt or not, though; it sounds like the CEO here is also a moderator of a forum and may have edit privileges by virtue of that; it's not like he's executing SQL queries to rewrite the comments in place, I assume, he's just abusing "editorial" powers in pretty much the worst way possible (quietly changing content to say the opposite).

dgreensp··on Smalltalk vs. Scheme, JavaScript, and Java
I see it as popularity vs merit. A lot of things feed into popularity, like familiarity and network effects. Also, you can be popular by appealing to the sentiments or taste of the masses or influencers, regardless of merit, unless there are strong corrective market forces.
dgreensp··on Smalltalk vs. Scheme, JavaScript, and Java
I see mostly criticisms unrelated to SmallTalk.

Scheme: Show me the code comparison. How is FP vs OOP relevant, even if true?

JavaScript: How is the comparison to Lisp relevant, especially after the preceding? Author just chose some appealing praise of JavaScript to tear down.

Java: This reduces to an argument you should consider SmallTalk at all for systems programming.

dgreensp··on The Danger of Being Default Alive
Dreams are prettier than reality. It's fun to not have customers. It's fun to just spend investors' money. Lots of things are fun, for a while.
dgreensp··on Parsing JSON is a Minefield
An informative article. The point is not that parsing JSON is "hard" in any sense of the word. It's that it's underspecified, which leads to parsers disagreeing.

Although the syntax of JSON is simple and well-specced:

* The semantics are not fully specified

* There are multiple specs (which is a problem even if they are 99% equivalent)

* Some of the specs are needlessly ambiguous in edge cases

* Some parsers are needlessly lenient or support extensions

dgreensp··on Theranos Faces Growing Number of Lawsuits Over Blood Tests
She's dragging herself through the mess at this point.

It's not unusual for founders to raise large amounts (at least eight figures, say), ignore all criticism, and fail spectacularly years later in ways that make you wonder what the hell they were thinking. What's unusual in her case is her Trump-like ability to hold frame and act like nothing is wrong or ever was wrong, regardless of pesky "facts."

dgreensp··on Show HN: Wave function collapse algorithm
You might be interested in this work showing texture synthesis over a 2d surface with non-uniform geometry, rotation, scale, or even velocity: http://hhoppe.com/proj/apptexsyn/
dgreensp··on Why do Anything?
My anxiety has slowly lessened as I've gotten older. I'm now 32 and married with kids. I attribute it to getting out on my own, growing up, and letting things go.

Get out: For most of us, there was something toxic about our home or school environment. It might be obvious, or it might be something you have to dig out. You may still be in a toxic environment, where people undermine your sense of who you are and discourage real growth. (In fact, most school and work environments have this quality, but it makes a big difference how you take it and what you're doing with the rest of your hours.) For me, I had to get some serious distance from my parents and get out of grad school. Get out, and you'll begin to heal, which is a process that takes years.

Grow up: Take ownership of your body, your living space, your time, and so on. Clean your apartment. Go to the gym. Get a real job. Enjoy hard, meaningful work. Have real responsibilities. A lot of people seem to want to avoid growing up. Have friends and hobbies. Stop coasting on the advantages that launched you into the world (money, grades, connections, accomplishments, etc.).

Letting things go: Every once in a while, you'll be relieved to find you just don't care about something anymore. This is a known side effect of getting older and could be biological. You don't care as much what people think of you. You don't care about some old grudge or embarrassment you've been clinging on to. You don't care what you thought your life would be. You just live for now.

dgreensp··on Why do Anything?
No one needs this advice. We already worship ideas. Especially on HN, which is full of perfectionistic, idealistic founders or one-day founders who will probably spend the first year or years of their start-up lovingly gazing at their technical vision, while their "perfect" idea and "perfect" product mysteriously don't resonate with any customers.

I get it, though. In my teens and 20s, procrastination was the closest thing I had to meditation or serenity. This is the case when you are very, very anxious all the time, and your head is full of "I should do this," "I should do that" -- tyrannical dictates that won't go away, but at least you can ignore them for periods of time and try to nurture your authentic self a bit. However, I would not praise this situation for being more dramatic (more glorious!) than true calm.

dgreensp··on Maybe Blockchain Really Does Have Magical Powers
I think by "blockchain" they mean hashed blocks that include the hash of the previous block and can be synced; basically git.
dgreensp··on With Moderate Drinking Under Fire, Alcohol Companies Go on Offensive
"There is no safe level of drinking." By this logic, there is no safe level of anything.
dgreensp··on Hitchhiker trees: functional, persistent, off-heap sorted maps
How many bytes is a node, in practice? If you stuff hundreds or thousands of pointers in a node, plus a bunch of log, isn't that a lot of data to clone when you do a path-copy? It seems like there's a major trade-off there, unless you always write in large batches. I suppose you could have fast "cons-ing" of events onto the root log without any copying. It would be interesting to know what choices lead to good performance in a sample use case.
dgreensp··on Interactive Dynamic Video
As the primary author stated, MIT PR does not make these videos. I've seen plenty of dry, poorly-produced videos; what you're seeing reflects the dedication, talent, and charisma of the researcher more than anything else. Source: I was a grad student at MIT.
dgreensp··on A Nihilist's Guide to Meaning
Thanks for bringing this up. Small things can have huge personal significance. I think the article makes sense until it tries to model meaning in an impersonal way; there's a bit of a switcheroo when the author goes from saying meaning is an emotion to saying it is a matter of fact.

I'd say that meaning, as a cognitive emotion, is heavily dependent on what "facts" we hold to be true and what stories we tell ourselves. Most people are not telling themselves stories about the entirety of time and space, so it literally has no impact on their experience of meaning. Death, on the other hand, affects us all; everyone has an attitude towards their own future and eventual death, however unexamined it is. That doesn't mean everyone has the same attitude, though. Some people would like to become immortal above all else, while others are not bothered in the slightest by having a finite lifespan, or believe that their "spirit" is somehow infinite.

It is possible to intellectualize about where meaning comes from in order to bring more into your life, as a kind of therapy; see https://en.wikipedia.org/wiki/Logotherapy

dgreensp··on Ways to get motivated when you don’t feel like working
Motivation comes from having (personal) goals.

The rest is confronting your fear, boredom, and anxiety; managing your time and energy; developing good habits and process; and knowing when to ask for help or study up. You have to be an expert at getting unstuck.

dgreensp··on Show HN: Anime.js – Polyvalent JavaScript Animation Engine
The only documentation of the anime.path function is the example: anime.path('path')

I think I can guess how to use it -- the argument is a "target" that resolves to an SVG path element (in the example, the only SVG path element on the page), and some processing is performed on the path element to get some sort of path object -- but it might help to clarify.

dgreensp··on Salary Negotiation
This is me, too. If you know what you're worth and what salary or range you are willing to take, you can just answer the question. I like to dodge the question about previous salary if it's lower than I want, but if there's a number that would make you happy that you know is in step with the market, you can just say it.
← PreviousPage 15 of 30Next →