Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
riwsky
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
41 ms
·
451.
▲
by
riwsky
4y ago
Could you give an example of an edit you couldn’t express?
452.
▲
by
riwsky
4y ago
My proposal: add “→”, with the following semantics: Instead of having programmers slog through an if statement: if err != nil { return err } Allow them to instead write [the superior]: err != nil → { return err }
453.
▲
by
riwsky
4y ago
Being purely neurological would strongly suggest uniform distribution of the disorder _itself_ — but absent a purely neurobiological _test_ for those symptoms, uniform distribution wouldn’t imply uniform detection. “ADHD is primarily a neur
454.
▲
by
riwsky
4y ago
Also the implementation is all wrong. The proper way to add an element to a linkedin list is to send the element an email titled "I just requested to connect", along with a "view profile" and "accept" link.
455.
▲
by
riwsky
4y ago
partially a conflation of terms, here: while the article discusses vertical integration, the main thing people think of for "businesses built explicitly on unbundling" is horizontal unbundling—picking a niche that is solved OK by
456.
▲
by
riwsky
4y ago
I’ve seem many a front page HN article about teenage engineering—but I’ve gotta admit, this might be the first one about teenagers engineering.
457.
▲
IntelliJ EAP quiet-launches support for Linux-arm64 remote dev
(youtrack.jetbrains.com)
3 points
by
riwsky
4y ago
|
2 comments
458.
▲
by
riwsky
4y ago
that is: "Docker on M1 support".
459.
▲
by
riwsky
4y ago
Legit—`da` and `di` are the ones that trip me up the most. Edits much simpler than that are often the same keystrokes as vim (`A`, `C`, `.`, `/`, etc), and those much more complicated would have kicked me into visual mode anyway.
460.
▲
by
riwsky
4y ago
I found myself coming home to vim recently, as well—I just now call it [helix]( https://helix-editor.com ). Cuteness aside: for all the awesomeness that a tailored vim setup provides, I haven't been able to keep one stable si
461.
▲
by
riwsky
4y ago
Honestly, I took it as an axiom so as to steel-man the article's argument; if there were no difference between prescribed and unprescribed use, any dismissal of concerns about overprescription would be trivial. But if I had to argue fo
462.
▲
by
riwsky
4y ago
Classic Gemini excuse-making. Clearly these kids' problems are caused by $CELESTIAL_BODY being at $PLACE during $TIME; idk why they keep whining like this! But also: focus isn't distributed bimodally; ADHD is in some respects a ma
463.
▲
by
riwsky
4y ago
See also: https://www.nytimes.com/2021/09/25/opinion/interrupting-coop...
464.
▲
by
riwsky
4y ago
Context (I work at Oscar): Oscar (no longer a startup; IPO'd last year) ran their own mesos cluster for the same reasons anyone uses k8s today: to help teams deliver in parallel. "Startup headcount" can mean different things
465.
▲
by
riwsky
4y ago
You’re right that classes exemplify declaring requirements upfront; the GP is limiting scope to what happens at compile time. Taking an argument of class Bar typically means taking pointers at runtime to a subclass’ method implementations
466.
▲
by
riwsky
4y ago
Benefit of the doubt to the author: they caveat the asking-lots-of-questions with "If [they] don't have enough information". Were they familiar enough with the checkout system to answer the question off the cuff, they may wel
467.
▲
by
riwsky
4y ago
You misunderstand. The author _laments_ that the conversation got hung up on the first question. The points you raise (e.g. "do my existing programmers have the necessary skills", "will this make future projects faster to dev
468.
▲
by
riwsky
4y ago
shoutout to the MVP of "studied a bunch of books on human interaction in their 20s" techniques: disarming a criticism by undefensively agreeing with it
469.
▲
by
riwsky
4y ago
And just like that, you’ve invented Rust!
470.
▲
by
riwsky
4y ago
Even though it'd be a while before this really affects the Chrome codebase, it's a real testament to how well Rust nails the safe-but-low-level niche. Google does not lack resources to tool (or staff!) a C++ codebase correctly, no
471.
▲
by
riwsky
4y ago
You can put them in the interface, and then you can use the interface as a type constraint for generics: https://go.dev/play/p/U25AzZndz-7 If you wanted to argue that you can't use it everywhere you could use
472.
▲
by
riwsky
4y ago
Huh? You can put concrete types in interface definitions as of 1.18. See the spec: https://go.dev/ref/spec#Interface_types
473.
▲
by
riwsky
4y ago
“Want B” is not the same as “B”. “Should do A” is not the same as “A”. The reverse of “types prevent certain kinds of bugs” would be that “all code which doesn’t suffer from those kinds of bugs is typed”, not “if you don’t want those bugs,
474.
▲
by
riwsky
4y ago
it's all because cats made it so that, on the Internet, nobody knows you're a dog
475.
▲
by
riwsky
4y ago
Bon Iver, 2015 interview: > the thing I’m working with the most is the OP-1. It’s a sampler-based synthesizer, and I honestly think it’s the most important instrument that’s come into my life since I first picked up a guitar when I was 1
476.
▲
by
riwsky
4y ago
poorly, it turns out
477.
▲
by
riwsky
4y ago
It’s not. dbt goes out of its way to avoid having to parse SQL into an ast; Markdoc is Stripe going out of its way to parse input to an ast. dbt’s approach is more similar to the ERB system Stripe mentions Markdoc replacing.
478.
▲
by
riwsky
4y ago
https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Ac...
479.
▲
by
riwsky
4y ago
Had the same thought, reading the strings package. Why’d they mention letters? Were Ken Thompson and Rob Pike even aware of the concept of Unicode code points?
480.
▲
by
riwsky
5y ago
Bogosort
More ›