Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
fl0ki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
fl0ki
2y ago
Look on the bright side, this will be a great way to generate royalty-free assets for horror games.
62.
▲
by
fl0ki
2y ago
A lot of westerns are just samurai movies, with guns replacing swords.
63.
▲
by
fl0ki
2y ago
If you read this and think it doesn't apply in corporate technology jobs, either you're already doing so well at it that you take it for granted, or you are so unaware of the relationship dynamics going on around you that you don&
64.
▲
by
fl0ki
2y ago
Even dealing with point of sale and customer support issues becomes a lot easier when they know you're a few taps on your phone away from reversing a transaction. Make it clear that it's something you're very comfortable with
65.
▲
by
fl0ki
2y ago
I see it the same way I see surround/spatial audio and HDR on an OLED. Most people won't get much out of it, but those that do notice will tend to prefer the option when available, even at substantial cost.
66.
▲
by
fl0ki
2y ago
It looks like I get to be the one to comment a classic criticism of RCT absolutism. There have been no RCTs on parachutes or bulletproof vests. Volunteers welcome.
67.
▲
by
fl0ki
2y ago
Fun fact: part of why TOML 1.1 has taken so long to land is because of open questions around unicode key normalization. That in itself sounds dry and boring, but the discussion threads are anything but. https://github.com/to
68.
▲
by
fl0ki
2y ago
I inherited a project where a dozen different entity kinds were all given UUIDv4s. Users mostly see namespaced strings, but actually searching by those strings is janky and unreliable for other reasons (including the fact that they can ch
69.
▲
by
fl0ki
2y ago
> In a context world, you would use io.Writer/Reader or net.Conn to write small bits of data and check whether the context is cancelled in between 1KB writes (or whatever size). That can still block pretty much indefinitely. Imagine
70.
▲
by
fl0ki
2y ago
Valve chose KDE for SteamOS, including as the desktop mode on the Steam Deck, a device sold to be so user-friendly that it can compete with home consoles including the Nintendo Switch. (Not saying that desktop mode itself is as foolproof as
71.
▲
by
fl0ki
2y ago
I did say "My steak pipeline:" but yeah, adjust as needed.
72.
▲
by
fl0ki
2y ago
> Using algorithms&data structures trivia in interviews I never said trivia. By definition, trivia is stuff that is not important. I interview for things that are important to the work we do, and I give plenty of hints along the way
73.
▲
by
fl0ki
2y ago
> the only realistic impact of picking a sub-optimal algorithm is slightly higher CPU utilization rates and background tasks taking a bit longer to finish. At FAANG scale this couldn't be further from the truth. Let me give an examp
74.
▲
by
fl0ki
2y ago
I'm not GP but: > If you don't like GNOME's design then just don't use it, I don't, but for many years GNOME has been in a position where it can't use this excuse any more. GNOME is most people's first
75.
▲
by
fl0ki
2y ago
> And at companies that operate at such scale, there are many, many safety measures put up - not to mention the continuous performance analysis and reviews. If I can see these issues hit at multiple separate FAANG companies famed for the
76.
▲
by
fl0ki
2y ago
I agree at the level of source code, but sometimes algorithm skills affect the whole architecture. Even simple things like where certain data and logic would optimally exist can have cascading and compounding consequences for the whole rest
77.
▲
by
fl0ki
2y ago
It's even worse than that. Choosing to copy another OS should have made the rest easy because it eliminates many design decisions and lets you focus on implementation. Somehow they still blew it, copying limitations rather than advanta
78.
▲
by
fl0ki
2y ago
The only thing worse than modern Material is when there was a multi-year (?) period where Google didn't think buttons needed any affordance indicating they were buttons, not in shape, contrast, color, etc. and with touch UIs you don&
79.
▲
by
fl0ki
2y ago
I have definitely seen senior developers put quadratic and even exponential algorithms into production and cause global outages. Code review didn't help, because their code was reviewed by other people who were interviewed to the same
80.
▲
by
fl0ki
2y ago
At least two correctness risks remain with Go's approach: goroutines observe this cancellation asynchronously. You can cancel an operation from your point of view, and begin another one (a retry of the first, or another operation altog
81.
▲
by
fl0ki
2y ago
Try sous vide. You pre-cook the meat without losing any of the water or fat because it's sealed, then you finish the outside with a pan or grill. My steak pipeline: * Buy uncut slabs of USDA Prime grade ribeye from your local butcher o
82.
▲
by
fl0ki
2y ago
Fair enough, thanks for the criticism. Here a few more studies: https://nutritionandmetabolism.biomedcentral.com/articles/10... > The LCKD improved glycemic control in patients with type 2 diabetes such that diabete
83.
▲
by
fl0ki
2y ago
It's only fair to call out that #[non_exhaustive] only helps you for the very specific case of adding new enum variants or struct fields. It does nothing for the burden of keeping all existing variants and fields compatible with any wa
84.
▲
by
fl0ki
2y ago
It's a relatively bigger deal for many other potential sources of errors, like parsing a string as a number. Also, even if the caller does not unwrap the error values, producing errors often requires at least one heap allocation. These
85.
▲
by
fl0ki
2y ago
> On the surface, it would be weird for ketones to improve brain activity - after all "keto flu" is a thing, and it is definitely is not a state of high performance. Keto flu is from a low level of ketones, not a high level.
86.
▲
by
fl0ki
2y ago
> a large number of people who don't understand either the basic technique (like rest) To be fair, it's hard to understand when virtually everyone using this term is using it wrong. https://htmx.org/essays/
87.
▲
by
fl0ki
2y ago
I have another one for you. GraphQL should never be used as a way to "GET-modify-PUT" records, but often is, because why reinvent GET if you already have GraphQL? Because the query specifies the fields, so if new fields are added
88.
▲
by
fl0ki
2y ago
There can be lots of other factors that make a particular refactor more or less desirable. Is the code actually that long or not really, is it already complex or straightforward, was it written well in the first place, etc. Without seeing t
89.
▲
by
fl0ki
2y ago
Non-CGO goroutines are preemptible via signals so there may still be more to it than that. If anyone knows the precise mechanism used I'd be very keen to hear it.
90.
▲
by
fl0ki
2y ago
Attempts at compensating for the westernism of science generally have not gone well. A notable example is Lysenkoism. The USSR was generally pretty good at science -- it wouldn't have even been in the space race if it wasn't -- an
More ›