HNHacker News
TopNewBestAskShowJobs

dgreensp

3,476 karma · joined April 10, 2007

David Greenspan
submissionscomments
dgreensp··on Tiles to Curves: Fun with Voronoi Graphs
Wow, great results with that technique!
dgreensp··on It’s Never Going to Be Perfect, So Just Get It Done
I love that guy, but I think the best use of this level of awareness into the mechanics of your procrastination — the elaborate story — is to realize it’s just a story. The moment you really realize this, the story changes.
dgreensp··on It’s Never Going to Be Perfect, So Just Get It Done
I’m reminded of a similar online NY Times piece I read, years ago, I think by a woman named Gladys, which was entirely about the harrowing process of procrastinating on, and eventually writing, the piece. All I could think was, poor Gladys. Not, here’s an authority on procrastination. Heck, I’m more of an authority on procrastination, based on my high school and college years alone, not even counting that I’ve overcome it in my 30s.

There is so much better advice than “just get it done” (isn’t that like telling a commitment-phobe, nobody’s perfect, so just pick someone and commit? I’m sure someone, somewhere, has given themselves that advice and taken it, with positive results, but it’s kind of questionable advice in general).

For example, “meditate” is good advice. Let the anxiety come up; allow it to flow, and leave; see it without judging it or trying to figure it out. Even realizing your problem with starting is an anxiety problem, and feeling the feeling in your body, is a huge step. Maybe noting some beliefs that contribute to it. “Journal” is good advice. Practice writing in your voice, and the act of writing. Journal about your anxiety. Learn to enjoy your writing. Practice will improve the quality. Discounting quality will not help.

Stories about how I procrastinated on something for a month and then late one night managed to forget my usual thought patterns for an hour and do it? I have hundreds of those from my past. There is some information in the thoughts I had when finally doing it (“I get it! You just do it!”), but not relative to the information you will get from going inwards and asking how to change your own patterns of feelings, thoughts, and behaviors.

dgreensp··on Show HN: Ludigraphix, geometry-oriented vector drawing software for Mac
Sounds a bit like the awesome Geometer’s Sketchpad?
dgreensp··on Jepsen: TiDB 2.1.7
Most Jepsen reports seem to find glaring flaws, including subsystems that add complexity while reducing correctness, like the “auto-retry” features here, or novel consensus schemes that just aren’t airtight and therefore technically don’t work.
dgreensp··on Types and Tests
Yup. In a codebase without static types, large-scale refactors are probably just not practical, which may be why fans of dynamic types don't have this problem; they can't, and thus don't, do substantial refactors without rewriting.
dgreensp··on Show HN: Procedural Character Animation with Machine Learning in Three.js
Call me a critic, but I don't see any "realistic transitions"? I mean, the positions of the limbs are continuous, barely. Stopping is very jerky. Sometimes the dog does a sort of "downward dog" pose for a long time when you stop, sometimes entering and exiting this pose slowly. The hind legs look weirdly limp at times. Is this better than some sort of naive interpolation between animations?

It took me a while to realize about the A-W-D movement controls (I tried arrow keys and mouse first), and, as others have said, everything is really dark.

dgreensp··on Svelte 3: Rethinking Reactivity
If you need a rich text editor, I would just plug in a framework-agnostic rich text editor (e.g. ProseMirror).
dgreensp··on Collapsing Towers of Interpreters (2018) [pdf]
Can you summarize the insights you have had beyond what the paper covers? Sounds fascinating. I don’t know why people aren’t more actively pursuing this stuff, either.
dgreensp··on HyperCard Adventures
A lot of the stacks seem to be missing?
dgreensp··on Why Are Young People Pretending to Love Work?
Is your employer hiring?
dgreensp··on When hiring senior engineers, you’re not buying, you’re selling
I’ve had trouble finding those systems or algorithmic jobs too, like the grandparent, where some kind of engineering quality matters, be it performance or correctness or something. Everyone wants to hire a “full-stack engineer” to write application code that a junior dev could write, but they want someone senior anyway.
dgreensp··on The New Retirement Plan: Save Almost Everything, Spend Virtually Nothing
This doesn’t work anymore.
dgreensp··on Fear, trust and JavaScript: When types and functional programming fail
Static types are great because they make certain classes of bug impossible to write, but they have their limits. There are escape hatches, like casts and Object types, even in statically-typed languages, though fewer of them in languages with more advanced type systems. There are reasons to like PureScript over TypeScript, just as there are reasons to like Haskell over Java. TypeScript doesn’t give you a way to ban side effects, for example, being part of the imperative family of languages that it is. So if you are super into banning side effects you might like a language that does.

The thing to realize is that at the end of the day, all you are doing is reducing bugs, and while your type system (IMO) really can help reduce bugs, it will never catch all bugs. There is still value in a function declaring that its argument is of type User (and not defensively checking it) even if it is theoretically possible, in the presence of a bug, though unlikely, that the argument is not really a User. The function has said what its precondition is, and (assuming you are validating any data that comes over the network or from an untyped source), this precondition will in practice be checked 99% of the time. If a bug happens to line up with a hole in the type system, you’ll just have to debug and fix it.

dgreensp··on Formality – An efficient programming language and proof assistant
I'm reading up on the author's Symmetric Interaction Calculus now, this stuff is wild and fun!
dgreensp··on Skip – A programming language to skip the things you have already computed
I can see why someone who stumbles on Skip would classify it as "systems-ish": General-purpose statically-typed language that compiles to native code with an emphasis on being fast with predictable performance. Go is thought of as a systems language, and it is a garbage-collected language meant for writing servers!

How would you describe when to use Skip? It looks really interesting.

dgreensp··on NewSQL databases fail to guarantee consistency and I blame Spanner
The author of the CAP theorem says the same thing about CAP:

https://www.infoq.com/articles/cap-twelve-years-later-how-th...

dgreensp··on NewSQL databases fail to guarantee consistency and I blame Spanner
This is the clearest presentation of why CAP is misleading that I’ve ever seen! Wonderful.

If the app programmer knows they don’t have global consistency, just consistency per partition, I wonder if in practice there are ways to achieve the necessary application-level guarantees such as in the photo-sharing case (not that it sounds that appealing to need to do so).

dgreensp··on A Ray-Box Intersection Algorithm and Efficient Dynamic Voxel Rendering
Anyone hiring engineers to implement stuff like this? That would be my dream job.
dgreensp··on Towards Natural Language Semantic Code Search at GitHub
While that's basically true, git grep doesn't scale...

With ever-cheaper RAM, ever-faster SSDs, and cloud computing, it could actually make sense, now or soon, to scan through an entire repo, either on "disk" or in RAM. I started building an app that would suck down any GitHub repo by simulating a git clone in the back-end, in the time it took you to type in your query, and hold it in RAM across queries. As a user, I'm sure I would gladly pay however many cents it costs to take up this much RAM when I'm on the search page over the course of a month.

Even if a linear scan isn't feasible, regex search at scale is not an unsolved problem, and GitHub has access to world-class engineers. Google Code used trigrams to do regex search with an index (https://swtch.com/~rsc/regexp/regexp4.html). Sourcegraph offers regex search.

dgreensp··on Introducing Cloudflare’s IPFS Gateway
I see, so geo distribution could be as simple as making the file available in multiple locations, with IPFS doing the rest.
dgreensp··on Towards Natural Language Semantic Code Search at GitHub
Thanks for the recommendation
dgreensp··on Towards Natural Language Semantic Code Search at GitHub
It is a real cultural problem how engineers get more excited about machine learning than basic usability.

GitHub search can't even search for a literal string, let alone a regex. It can't search a subdirectory. Ranking is indistinguishable from random. It's been this way for years. How about building an actual, usable, basic code search and then getting all fancy with your machine learning?

I almost built my own "online git grep for GitHub" last year.

dgreensp··on Introducing Cloudflare’s IPFS Gateway
Is IPFS really a store, let alone a store with any particular performance or availability properties? If I want to be sure a file is available, don’t I have to host it or pay someone to host it? And if I want to make sure it is geo distributed, I have to geo distribute it or pay a service to? What is the big change?
dgreensp··on Driverless Hype Collides with Merciless Reality
If we’re comparing a bus or train to a Lyft or Uber carpool or line of some sort, wouldn’t you expect it to be more cost effective to drive people around in buses rather than cars, even if the app coordinates things so that there are two people in the car? It sounds like buses are not very cost effective.

I think what’s actually happening is Uber drivers are paid peanuts and provide and maintain their own vehicles. There’s a technology innovation (eg the efficiency of knowing if and where someone needs a ride) coupled with a labor innovation in paying drivers less than minimum wage.

dgreensp··on The Commons Clause is an existential threat to open source
Does a software license actually have the power to prevent you from selling consulting services? All a license can do is grant you rights you wouldn’t otherwise have because of copyright law, right?

I’m new to the matter, but I do see in the Commons Clause an intent to manipulate and mislead. If the goal is to provide an option for companies who would otherwise take their software closed-source, why does that option have to sound super-duper open sourcy while not having terms recognizable as open source? I’m not even a rabid free software guy or anything, but just compare the name to the terms. There is no possible way that “Commons Clause” is not intended to be confused with, or somehow gain a positive spin that has nothing to do with its content from, CC or Apache Commons.

People who care about things like Creative Commons or about open source as anything more than “source available” will label this as “evil” or at best a marketing ploy.

dgreensp··on Facebook addiction linked to staking your self-worth on social acceptance
There’s nothing pathological about simply seeking and obtaining social acceptance online, if that’s what you’re saying, and social acceptance is part of the self-worth equation, according to the article.

Needing people to like you has little to do with acting for the common good. It’s literally about what you can get rather than what you can give. The first think to do if you want to truly focus on others’ well-being is to stop caring what anyone has to say about who you are and what you do. Living authentically is going to make some people confused or uncomfortable. A lot of people are super judgmental and are looking for validation of their own tastes and choices.

dgreensp··on Show HN: Ultralight – Lightweight, Pure-GPU HTML UI Renderer for C++
Is there a video or screenshot anywhere, I wonder? I'd like to see it in action. Rendering HTML could mean a lot of things.

It's not clear how much of a browser they are reimplementing. Features include XSLT and local storage, scroll bars, "text selection and dragging"? While on the to-do list is "full GIF support" and "CSS shadows." It's such a mixture of things that doesn't sound based on what you'd minimally need for a game UI.

"We've stripped WebKit to the bare essentials" - Sounds like maybe they took the non-rendering part of WebKit (eg layout) and wrote their own renderer(s)?

Fascinating.

dgreensp··on Learning Dexterity
All I know is what the articles and commenters were saying then, as an interesting contrast to this comment now. Every article on AlphaGo described a general state of shock at achieving something that (even if at a purely psychological level) seemed at least 10 years away.

https://www.technologyreview.com/s/546066/googles-ai-masters...

> Just a couple of years ago, in fact, most Go players and game programmers believed the game was so complex that it would take several decades before computers might reach the standard of a human expert player.

dgreensp··on Learning Dexterity
I agree it looks sloppy, but that doesn’t mean it isn’t reliable. All it has to do in any given moment is make progress towards the goal of having the cube in the proper orientation, on average. It may be that it can do that very reliably even with noisy inputs and outputs.
← PreviousPage 9 of 30Next →