Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codeflo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
99 ms
·
811.
▲
by
codeflo
5y ago
I’ll prefix by saying I agree with a lot of the criticisms, and I’ve experienced first hand how hard to explain and error prone hooks are. But for this post, let me defend the concept. The idea, in a very rough nutshell, is to allow separat
812.
▲
by
codeflo
5y ago
It’s often not even that much manual housekeeping. If you follow the second advice, then ESLint will do a fine job of telling you exactly what’s missing or superfluous. (I argue that ESLint is almost required when working with React. You ca
813.
▲
by
codeflo
5y ago
Another point about bootstrapping an ancient version of GHC first and using that to build more modern versions: you need to run the generated x86 code (that also targets an old OS version) to do that, and it’s increasingly not a given that
814.
▲
by
codeflo
5y ago
This is almost content-free, and the little that is there misuses/confuses terminology. Not HN worthy material to put it mildly.
815.
▲
by
codeflo
5y ago
The formulation that the forces “cancel out” at the Lagrange points bothers me, even though it’s not technically wrong. At each of the five points, there’s a net gravitational force towards the sun (to be more precise: towards the common ba
816.
▲
by
codeflo
5y ago
That’s true, a binary tree isn’t a problem, it’s a tool for solving a certain class of problems. Since you can’t build reusable tools in pre-generic Go, (and, to be honest, only a limited set of tools with Go’s new generic system), programm
817.
▲
by
codeflo
5y ago
Multiple dies integrated with an interconnect on a single chip is how you build big processors these days. AMD has been doing the same thing for years, and I’m sure the largest M2 will as well. What I find interesting is that there’s no des
818.
▲
by
codeflo
5y ago
Linked from Tufte’s article, I found this interesting comment from someone’s experience at Microsoft: [1] > Attempting to have slides serve both as projected visuals and as stand-alone handouts makes for bad visuals and bad documentation
819.
▲
by
codeflo
5y ago
For a clean build and a reasonably specced machine, all the intermediate artifacts will still be in the cache during linking.
820.
▲
by
codeflo
5y ago
The virus signatures haven’t been updated since my last recompile though.
821.
▲
by
codeflo
5y ago
> People that have never used the Oracle RDBMS give it grief because of Larry, the rep of the company, etc It’s also not developer friendly, like at all. Starting with licensing, that insane installer, arcane configuration, documentation
822.
▲
by
codeflo
5y ago
“Allowing unproductive distractions” is one of the major reason why I think home office is fundamentally less productive, no matter how much people have come to like it. Pair programming through screen sharing works fine on a technical leve
823.
▲
by
codeflo
5y ago
Medium term certainly, but short term, who knows. Prices go up, supply chains become interrupted, factories that process food go out of business. And it’s not like poorer countries in Africa can simply buy their way out of any supply issue
824.
▲
by
codeflo
5y ago
It seems so easy to fall into a false balance trap. But while Western media is certainly flawed, there’s a fundamental difference between honest mistakes and intentional lies. The truth is very unlikely to be half-way between the two. Compa
825.
▲
by
codeflo
5y ago
It is talked about, but maybe not to the extent that it could be. For obvious historic reasons, race and class are highly correlated. I think this causes certain class issues to disguise as race issues and vice versa. To be clear, both kind
826.
▲
by
codeflo
5y ago
> As far as I know, the answer is simply that your eyes aren't rectilinear That's true, but not the problem. Think about this logically. The goal is to show the exact same color at the same angle. If you achieve that (possible
827.
▲
by
codeflo
5y ago
Does this simply remove the JavaScript or do something more clever? Because I think in the age of SPAs, the proper way to save "content pages" might be to execute the JavaScript once and serialize the resulting DOM back to HTML. I
828.
▲
by
codeflo
5y ago
Aperture size has an effect on depth of field (the degree to which points that are out of focus are blurred). I think in practical cameras, aperture size isn't constant as you vary camera size, so that makes the scale relevant. But I&#
829.
▲
by
codeflo
5y ago
I was looking for someone commenting this. There's no mystery, it's really just geometry. Imagine casting a ray from your eyeball to a pixel on the monitor. Then imagine the same ray at the same angle on the actual scene. If the p
830.
▲
by
codeflo
5y ago
Absolutely true. I’d add that Rust is also doing a lot more expensive optimizations in release builds.
831.
▲
by
codeflo
5y ago
It’s not just a random implementation artifact. Since all slices in Go are mutable, it logically wouldn’t make sense to upcast them while keeping the reference. That would mean the ability to put other objects in the slice. Same for pointer
832.
▲
by
codeflo
5y ago
From the article you linked, those subdictionaries seem to support calling a function g[T1] inside a function f[T1, T2]. There’s a concept called polymorphic recursion, supported by languages like Haskell, which goes beyond that and allows
833.
▲
by
codeflo
5y ago
In whatever way these terms will eventually crystallize, I think the addition of meta-progression to the permadeath+randomization combo is important enough to call the result a new genre. It’s a very fun and addictive combination. I’m also
834.
▲
by
codeflo
5y ago
> Do Visual Studio/C# coders typically see the many different universes of tooling outside of the limited MS Stack as childish or less evolved? Don’t extrapolate too much from N=1. I used to work in a shop that mainly uses Microsoft
835.
▲
by
codeflo
5y ago
True, but I think enabling more cases where you can use function composition instead of pattern matching and explicit recursion would be a win.
836.
▲
by
codeflo
5y ago
The GHC approach you describe is also what people do with Results in Rust, and (analogously) with Java's typed exceptions. The idea is that in a multi-layered program, every layer exposes errors that are semantically appropriate for th
837.
▲
by
codeflo
5y ago
I've written small stuff in Haskell a decade ago. I have a soft spot for the language -- it has clearly influenced many notable languages that came after it. But I also admire the patience of anyone who actually manages to use it in pr
838.
▲
by
codeflo
5y ago
> I've also heard of servers getting ddosed if they are known to pirate paid addons. That's certainly an interesting way to police copyright violations. It's funny how the communities you describe might have foreshadowed N
839.
▲
by
codeflo
5y ago
I also hate it when technical terms are needlessly overloaded, and I can only assume it's often because our field is fractured enough that even widely known terminology might not be known in every little niche. But one has to wonder...
840.
▲
by
codeflo
5y ago
No, I would agree that something with a smaller runtime might be considered closer to the metal, I was talking about level of abstraction, which I think is different. One example is that a typical C code that depends on a libc is farther fr
More ›