Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
euiq
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
euiq
3y ago
The title is essentially clickbait. From the article: > Google is the latest company to tighten its return-to-work policies to get workers to commute more often. In an internal email, the company said it could make office attendance an e
32.
▲
by
euiq
3y ago
fair enough—the book certainly seems to favor "make things strict enough so that your usual algorithms work" over "rewire your brain for laziness"
33.
▲
by
euiq
3y ago
Note that someone who seems to manage a Swift team at Apple left a more encouraging response later: < https://forums.swift.org/t/why-is-swift-so-slow-timeout-in-c... >
34.
▲
by
euiq
3y ago
Though I have only skimmed the book, this strikes me as an unfair characterization. For example, this case study discusses laziness extensively: < https://haskell.foundation/hs-opt-handbook.github.io/src/Cas... &
35.
▲
by
euiq
3y ago
It’s not there anymore, presumably because it graduated from beta earlier this month: < https://github.blog/changelog/2023-05-08-the-new-code-search... >
36.
▲
by
euiq
3y ago
While we're talking about this, I've been quite disappointed by the new GitHub file browser: the new features look neat, but the core file browsing experience is significantly worse for me because the new UI is much more complicat
37.
▲
by
euiq
3y ago
Clearly the solution is to clone Russ Cox.
38.
▲
by
euiq
3y ago
It's amazing, isn't it? People care much more about seeing their favorite sports team win than about actually moving technology forward.
39.
▲
by
euiq
3y ago
What a wild ride! We went from "family man stabbed by crazy homeless person" to drama involving a plastic surgeon's Iranian wife and her overprotective brother.
40.
▲
by
euiq
4y ago
Great demo! The article also has a link to it.
41.
▲
by
euiq
4y ago
I assume the parent comment is talking about "thinking" (not that I have any personal experience with that).
42.
▲
by
euiq
4y ago
Exactly: the author is confident that this is just "random trivia" that is beneath them, but the explanation they give shows that they're clueless.
43.
▲
by
euiq
4y ago
> I still draw a blank when asked what the magnitude of complexity is for the guests function I just wrote (damnit, of course calculating the permutations of a list is n-squared, but this is an interrogation of the random trivia I can
44.
▲
by
euiq
4y ago
I'm interested in learning more about how to optimize JavaScript programs. Do you know of any good examples or other resources in this area?
45.
▲
by
euiq
4y ago
Visual Studio Code does this (see "File links"): < https://code.visualstudio.com/docs/terminal/basics#_links >
46.
▲
by
euiq
4y ago
It's a term of art used by Herb Sutter, among others: https://stackoverflow.com/q/15875252
47.
▲
by
euiq
5y ago
Note that the intern in question was close to finishing their PhD in a related area.
48.
▲
by
euiq
6y ago
> Of course that type doesn't encode everything there is to know about that function, even assuming purity. Right—we need to require foo id = id.
49.
▲
by
euiq
6y ago
That's not a very convincing example, given that numeric literals are polymorphic in Haskell.
50.
▲
by
euiq
6y ago
The problem with inheriting from asyncio.Protocol is that it ties your code to the callback-based low level asyncio API—I'm not surprised that this package doesn't have any tests.
51.
▲
by
euiq
6y ago
Let's just define Spec(R) = Hom(R,-) and call it a day.
52.
▲
by
euiq
6y ago
The current stream interface is still somewhat awkward. Apart from the question whether the reader and writer really need to separate objects, there's also the problem that the write and close methods are synchronous—in order to use th
53.
▲
by
euiq
6y ago
What would the CPU-heavy code await on?
54.
▲
by
euiq
6y ago
Right—garbage collection makes most software engineering significantly easier.
55.
▲
by
euiq
6y ago
Note that the example in the post only works because variables in the closure can be rebound. Not every language allows you to do that.