Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
couchand
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
couchand
3y ago
All fields are subfields of polymathy.
62.
▲
by
couchand
3y ago
Oh yes certainly. And I think that when you're deep into creation it can be really really hard to remember that experience, and so recently I'm trying to find ways to help pull back the curtain for folks.
63.
▲
by
couchand
3y ago
Well some of us do. There's this interesting effect where many people perceive the limitations on their current tools to be equivalent to limitations on their abstract abilities. If they don't know how to do it, it's imposs
64.
▲
by
couchand
3y ago
Editors generally support composing right-to-left languages that way? So I suppose the metaphor suggests that all editors should directly support the visible glyphs semantically? And yet, that's explicitly not the semantic purpose of
65.
▲
by
couchand
3y ago
I'm not sure we have full data on the question, but by my own experiences the default expectation for most people regarding version control is copy the file and rename it. The default expectation for most people on collaboration tooli
66.
▲
by
couchand
3y ago
> Making it convenient for you to communicate with other varied humans contributing to, or otherwise interested in the code, is the key differentiator. And apparently this is not the part SourceHut prioritizes. No wonder, because it'
67.
▲
by
couchand
3y ago
To some extent there's a horses for courses argument here: which projects stand to benefit from a high proportion of drive-by contributions? Which projects can appropriately leverage nuanced textual discussion? If the Linux kernel had
68.
▲
by
couchand
3y ago
You describe a very real problem, but from what I can tell it's an entirely disjoint context. I'm honestly not clear what the scenario you're suggesting is. Your platform would send an authenticated URL to a verified user o
69.
▲
by
couchand
3y ago
Where in that article does it say that the self, that human consciousness, that a soul arises purely from the arrangement of particles in our bodies?
70.
▲
by
couchand
3y ago
> In the end we are all particles citation needed
71.
▲
by
couchand
3y ago
> Atomic sections must be short: long atomic sections will break liveness, i.e. may cause the system to become unresponsive. > ... > Based on disk latency, we may target say a millisecond as duration before which to commit the curr
72.
▲
by
couchand
3y ago
If anybody but the intended recipient gets the magic URL first there's something more critical wrong with some assumption in your authentication scheme.
73.
▲
by
couchand
3y ago
Indeed, the only valid operation with the magic URL is exchanging the URL-based token with something else (your PDF, a session token, etc.) and then expiring the URL, so by the time the scanner gets around to it the original URL is invalid.
74.
▲
by
couchand
3y ago
Congrats on the show HN! It looks like you've put a lot of thought and effort into this, and reasearched a number of alternatives. I'm curious to know more of what you found lacking in the various visual programming languages? Y
75.
▲
by
couchand
3y ago
The model seems quite similar to a subset PD, with only object and message boxes. Objects can have only a single output port. (edit: I was mistaken, they can have multiple ports, though as far as I can tell there's no port-sequencing
76.
▲
by
couchand
3y ago
Woah woah woah let's not get hasty. We can have panicking and nonpanicking versions of the API (at least until somebody builds the nonpanicking version of Rust, that will be great). The panicking version is for quick, off-the-cuff us
77.
▲
by
couchand
3y ago
Regardless of how supposedly non-controversial each technical design decision is, you will find that the entire scope of them never is. So you will always be working to bring people along to your design choices and help them understand the
78.
▲
by
couchand
3y ago
Every word you wrote is true. It's all still true if you replace "DSL" with any project and "Boring Old Language" with the competitor. This is the stopping at 90% problem somebody just posted a link to in another t
79.
▲
by
couchand
3y ago
The point I (and it seems several others here) are trying to make is that your API already is a DSL, the question is just whether it's a good one or a bad one. A good one is internally consistent so that users have predictability when
80.
▲
by
couchand
3y ago
Panic is perfectly fine in certain cases, but it's absolutely not a general error-handling mechanism for Good Programs (TM). (Some contexts excluded, horses for courses and all that) You can and should recover from bog standard IO fail
81.
▲
by
couchand
3y ago
Very good point. See, for instance Kiselyov's embedding of his tagless final form: https://www.okmij.org/ftp/tagless-final/course/lecture.pdf
82.
▲
by
couchand
3y ago
Yes, eat your vegetables! A question of philosophy: If you have all that, don't you already have a DSL, using a deep embedding in the host language?
83.
▲
by
couchand
3y ago
> Better for ordinary users? No. Win95 was much more compatible, with more hardware and more software. Not sure about the hardware side, but my understanding of the canonical story why OS/2 lost is exactly because it supported runni
84.
▲
by
couchand
3y ago
> mallocing every object So don't do that then? Put most things on the stack. It's far faster than any allocation.
85.
▲
by
couchand
3y ago
I think most people's concern with GC is not the allocation side of it? And in any case alloca blows them all out of the water. > if latency matters you end up having to care about (de)allocation patterns at the app level. Yes, and
86.
▲
by
couchand
3y ago
I suspect they're heavily relying on intuition coming from Rust, where both of those forms are okay. The one from TFA is sugar for your version. This works fine as long as there is only a single await point, otherwise you have to tra
87.
▲
by
couchand
3y ago
I suspect the GP was merely suggesting a less-costly alternative. Perhaps building a complete standalone compiler or interpreter is hard, but we're all designing APIs in our programming languange of choice day in and day out. Both str
88.
▲
by
couchand
3y ago
Don't be so quick to discount DSLs. Sure, you don't want a half-baked DSL when some simple imperative code would do. But if you watch your API evolve into an algebra and then don't formalize it with a DSL you might be leavi
89.
▲
by
couchand
3y ago
What makes me say that a well-built program properly handles errors?
90.
▲
by
couchand
3y ago
> As of right now, Dada doesn't really exist, though we have some experimental prototypes... > OK, from here on out I'm going to pretend that Dada really exists in its full glory. This is a brilliant trick I only recently di
More ›