Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
codeflo
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
601.
▲
by
codeflo
4y ago
That’s really cool! But let’s have a technical discussion about the hiccups some commenters mention. I’ve experimented with Web Audio stuff in the past, and wasn’t happy with it. It seems to be mainly intended to play back premade music fil
602.
▲
by
codeflo
4y ago
Again: How is adding a new, “bad” implementation any easier to maintain than simply calling the already existing optimized one that the GP linked to?
603.
▲
by
codeflo
4y ago
“Avoid premature optimization” means to do the cleanest/clearest thing now, and only optimize later when you have the full picture. Arguably, that advice doesn’t apply to standard library functions anyway, at least not to the same exte
604.
▲
by
codeflo
4y ago
I even somewhat agree with that principle, but it don’t think it applies to using the standard library, which is (a) not little and (b) not a new dependency you add to the project. If that’s the justification to keep an implementation bad o
605.
▲
by
codeflo
4y ago
I’ve been wanting to learn Emacs for 20 years. Is now finally the time?
606.
▲
by
codeflo
4y ago
Maybe not everybody cares about the wasted tick, but the response to such niche feature requests in open source projects used to be a simple “patches welcome”. I found that way more helpful and less aggressive than what seems to be the new
607.
▲
by
codeflo
4y ago
What do you mean by “require”? Complex numbers can be represented as a 2x2 matrix of real numbers (a scaled rotation around the origin), so transitively, that’s true for any equation involving complex numbers.
608.
▲
by
codeflo
4y ago
Yes? What do you imagine games looked like in 2004? That was the year Half-Life 2 came out. Obviously, a game like RCT also has to run a simulation and can’t focus on graphics as much as a shooter. I’m just saying, if anything, RCT3 looked
609.
▲
by
codeflo
4y ago
Lots of scandals around DNA evidence as well. It’s not the science itself that’s wrong, but mistakes can be made and were made during collection and in interpretation.
610.
▲
by
codeflo
4y ago
> I hope you understand that despite your hopes for me I cannot agree. Sorry to crush your hopes, I hope you can forgive me. Honestly, I don't have the slightest idea what's going on with you.
611.
▲
by
codeflo
4y ago
I’m not imagining anything, I’m arguing from logic. If the code is distributed via Git, then you have a normal programming language (with a particularly cool IDE/REPL). Which isn’t in any way a bad thing, but I hope you will agree that
612.
▲
by
codeflo
4y ago
> all that changes in practice is the text of log message
613.
▲
by
codeflo
4y ago
> There is a curious hypothesis that the world arranges itself by the continued fraction powers of number e Sounds intriguing. Do you have any references off the top of your head, or at least some keywords that I can google to learn more
614.
▲
by
codeflo
4y ago
Exactly. How are you supposed to code review something that lives in RAM?
615.
▲
by
codeflo
4y ago
Underrated comment. I’m all for precisely modeling domain and I/O errors. But for “this is a bug” type of exceptions, what good do all those tiny variations (and the resulting philosophical debates about when to use which one) do, if a
616.
▲
by
codeflo
4y ago
I’m not from the US, and neither is the sun, of course. I do believe that the “clockwise” direction was established to match the direction of the shadow movement on a sundial in the Northern hemisphere. It’s not just maps, even clocks are E
617.
▲
by
codeflo
4y ago
From some of the comments, I’m not sure people fully get this. It’s basically doing a geometric construction of the sun’s path across the sky, using the distance between the hour hand and the 12 on the watch face as one of the input angles
618.
▲
by
codeflo
4y ago
There’s also a whole “the really smart among the rich people are actually smart enough to recognize the importance of my work” marketing pitch, if you know that (AFAIK at least) he actually lives off of donations to his research project.
619.
▲
by
codeflo
4y ago
That by itself only explains the initial decision. It’s still interesting that they’ve stuck to it for 20 years after LLVM’s release. Lots of technical details of GHC changed during that time, it’s not like the architecture is set in ston
620.
▲
by
codeflo
4y ago
From an engineering point of view, it’s interesting they chose to implement their own intermediate language, as opposed to just sticking to LLVM IR and “outsourcing” the problem of code generation. I actually researched this some time ago,
621.
▲
by
codeflo
4y ago
Stable Diffusion is simply fantastic, we live in great times to have such a thing as open-source to play with. And however justified the skepticism expressed in other HN comments might be, I truly hope they figure out a business model that’
622.
▲
by
codeflo
4y ago
Needs (1986) in the title. But if you add references to deep learning and metaverse, replace the font with Helvetica, and add a few flatly shaded hand-drawings of a cute animal mascot, this could actually be printed today.
623.
▲
by
codeflo
4y ago
So, to summarize: Both Reddit and Discord force transfered seemingly officially named communities to the trademark owning entity. That sucks, but it’s also something that social media companies have been doing 10 times a week since forever.
624.
▲
by
codeflo
4y ago
In my opinion that was a very clever naming scheme to target the TeamSpeak crowd. In gaming communities, having “your own server” has always come with a sense of pride.
625.
▲
by
codeflo
4y ago
If you look very closely, the model does have wrists. (Most noticeable on the models left arm — that is the viewer’s right.) Either way, the shoulder and elbow joints don’t move much during rope skipping, and no matter how it’s recorded, th
626.
▲
by
codeflo
4y ago
Weren’t both Easter and Christmas non-Christian holidays originally?
627.
▲
by
codeflo
4y ago
Type erasure is a specific compilation technique, it means more than a lack of introspection capabilities. In most languages, a function taking a float and a function taking an int end up producing different compiler output (because they ne
628.
▲
by
codeflo
4y ago
Perhaps TypeScript is a very clean example of the duplication phenomenon you mention in that article, because unlike in most languages, static types are completely erased during compilation. It’s literally a typecheck-time functional progra
629.
▲
by
codeflo
4y ago
Maybe what's meant is that the blitter allowed the machine to practically deal with the amount of data that so many colors required. The C64 could display more colors in static images than in animated sprites.
630.
▲
by
codeflo
4y ago
I guess a lot can be done to force the model to create properly connected 3D shapes instead of these thin protruding 2D slices. But I noticed something else. Some of the angles “in between” the frog faces have three eyes. I wonder if part o
More ›