back
user profile
bikeshaving
832karma·178submissions·April 7, 2019
recent activity (178 total)
comment
My favorite part of excalidraw over any other drawing tool is the messiness. With regular line and shape tools I end up obsessing over geometric precision and symmetry, with excalidraw it’s impossible…
comment
If you’re interested in a language which does claim to optimize pure functions, take a look at Koka ( https://koka-lang.github.io/koka/doc/index.html ), a research language fr…
comment
> The fact that a function gives you the same result given the same arguments is not meant to be some kind of encouragement to redundantly call a function many times. All pure functions are by defi…
comment
When we say “pure functions are free” out loud, of course it seems categorically false, and I don’t think anyone has ever credibly argued for this claim. And yet I think it is an implicit assumption o…
comment
> A pure function only looks at the parameters passed in to it, and all it does is return one or more computed values based on the parameters. It has no logical side effects. This is an abstraction…
comment
I find walking in small circles is even better if you have a tiled floor which can be felt tactilely underfoot. If I ever own a house, the one thing I’ll focus on is kitchen tiling with an interesting…
comment
The one thing I wonder, can you explain why the Vue wrapper around React Native ( https://github.com/GeekyAnts/vue-native-core/stargazers ) seems to be more popular than Vue N…
comment
I wonder if the Matrix protocol can be extended to do realtime document collaboration. I’ve been yearning for end-to-end encrypted realtime collaboration solution via OT or CRDT, I just don’t really h…
comment
I’ve been working on rich text editing ideas for the past month or so, and I have to say, innerText is probably not the solution you’re looking for, for that use-case. Despite what they say about stan…
comment
Ctrl-Enter is the shortcut for inserting a soft newline for content-editables on Safari btw. You might want to consider supporting command-enter for this reason alone.
comment
I’m very familiar with Safari address bar issues, where sometimes Safari just fails to navigate to a URL and you get an audible bell, or just general weirdness when you type too fast, and can say I ha…
comment
Have you tried Safari 14? I recently upgraded and they’ve finally fixed the address bar race conditions and swipe back/forward lag which drove me away in previous versions.
comment
Couldn’t they have used `tee -a` rather than providing an impromptu vim tutorial? Haha.
comment
I’m not sure why this is on the front page. It’s a short blog post about struggles with a TV remote, and then an image of an MSPaint remote which LITERALLY has hieroglyphics on it I guess I should mak…
comment
I wrote a step-by-step implementation of the majority of Crank.js’s component model. I was sort of sad to see what’s happened to Hacktoberfest so I wanted to do this writeup to encourage contributions…
comment
The benefit of doing “O(n) routing” is that you don’t have to do complicated things so that a certain route gets more precedence. Real websites often have legacy URLs or one-off URLs for marketing, an…
comment
Twitter likely uses content-editables over input elements because there are certain features which require more complicated, dynamic rendering than just plaintext (hashtags, mentions, links). They pro…
comment
I think you might be missing the point the article was trying to make when you took the negative emotion which the author was describing (“annoyances”) and turned it into a positive one (“delight”). I…
comment
Rather than splitting up Twitter, what if we just stopped the constant process of acquiring and dismantling any company which dares to threaten the big tech companies. Vine should still be around.
comment
I’m not sure habituating people to getting asked for 2FA codes is a good idea. Seems like it’s just going to make people more susceptible to social engineering attacks.
comment
The prose in this article is pretty, and characteristic of the New Yorker style. Sometimes I want to articulate what exactly the New Yorker style is, but I don’t read enough anymore to pick out its di…
comment
One thing I really want to make sure with Crank is that sync stays sync and async stays async. One of my early formative programming experiences was having to track down a race condition in an om app …
comment
If the OP was saying that Crank is less magical then I agree. Although it always made me sad that we measure APIs based on how little magic they bring. Like go to Disney World or something.
comment
I’m not sure how Crank is more “magical” than any other framework. All `this.refresh` does is make the current component execute again. For function components, this means the component gets executed …
comment
You’ll notice that in a lot of the Crank examples, I freely mix side-effects with the actual yielding/returning of elements. This is because Crank doesn’t treat side-effects as special. Given tha…