Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wtetzner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
301.
▲
by
wtetzner
2y ago
> Saying that you ‘couldn’t care less about X’ doesn’t seem logical at all because you of course could I think the whole point is that it means you don't care at all, and therefore it's not possible to care less.
302.
▲
by
wtetzner
2y ago
Seed oils (used in almost everything these days) contain a lot of linoleic acid, which is a precursor to endocannabinoids, potentially giving you the munchies. If eating gives you the munchies, making you want to eat more, I'd call tha
303.
▲
by
wtetzner
2y ago
> They are simply extreme lock-in proponents and don't want to support cross platform graphics API. Which seems like an ineffective move when you have no market share.
304.
▲
by
wtetzner
2y ago
I'd guess SteamOS is more about control than licensing costs. I don't think Valve wants to be at the mercy of Microsoft and their policy & technical decisions.
305.
▲
by
wtetzner
2y ago
If you write a network-bottlenecked app in a slow language, then the slow execution time is piled on top of the network latency, making things even worse. I also think people underestimate how much impact their slow code has even in network
306.
▲
by
wtetzner
2y ago
> and the most likely thing is that you will neither reinvent it nor pick the best library that an opinionated framework with hundreds of eyeballs has. Having used Spring has convinced me that framework popularity has no correlation with
307.
▲
by
wtetzner
2y ago
I don't think this makes sense? You need to specify an exchange rate somewhere. > just as meter is a unit type of Length The difference is that length units are fixed, but exchange rates are constantly changing.
308.
▲
by
wtetzner
2y ago
> Money ask = 2.1M USD; Feels like it should be Money<USD> ask = 2.1M USD; Then methods like .plus() wouldn't even be defined for incompatible currencies. Of course that doesn't work for .equals(), so you'd st
309.
▲
by
wtetzner
2y ago
If it's so well known that he lies about his games, I'd say at this point any gamer that is disappointed that one of his games isn't what he said it would be has only themselves to blame.
310.
▲
by
wtetzner
2y ago
Yeah, I've noticed too much Omega 6 is at least one big cause of my anxiety. Avoiding vegetable oils (and foods that are cooked with it) and just using coconut oil, tallow, butter etc. reduces my anxiety to the point that it's bar
311.
▲
by
wtetzner
2y ago
I've found the opposite. Misleading comments can be far worse than no comments.
312.
▲
by
wtetzner
2y ago
You can use methods in Rust for volatile reads/writes. https://doc.rust-lang.org/std/ptr/fn.write_volatile.html https://doc.rust-lang.org/std/ptr/fn.read_volatile.html
313.
▲
by
wtetzner
2y ago
I wonder if there's something in our food and/or environment that effectively does that over long periods of time, ultimately causing some forms of dementia?
314.
▲
by
wtetzner
2y ago
This us making some pretty big assumptions about what the town in question looks like.
315.
▲
by
wtetzner
2y ago
I don't know if that's really true. The government tends to be inefficient, and I sometimes wonder if having more tax money available just allows them to be even more inefficient.
316.
▲
by
wtetzner
2y ago
> is a LOT more time and frustration fighting the borrow checker, and getting things to compile. As someone who works in Rust professionally, I've only found this to be true in the initial learning curve (which is admittedly steeper
317.
▲
by
wtetzner
2y ago
You would actually use a Result type: use std::io; pub fn read(path: Path) -> io::Result<Bytes> { File::open(path)?.read_to_end() }
318.
▲
by
wtetzner
2y ago
No, but many are unwilling.
319.
▲
by
wtetzner
2y ago
It won't get new features, but will likely require maintenance to keep it running as new versions of operating systems are released.
320.
▲
by
wtetzner
2y ago
It's not just a scale thing though. It also matters how problematic a collision will be. But yes, if you're just using them as primary keys in a database you're probably fine with auto increment for most use cases.
321.
▲
by
wtetzner
2y ago
> the standard UUID representation doesn't like this. Yeah, I've gotten in the habit of stripping hyphens from the string representation of UUIDs in a lot of the code I write for that reason.
322.
▲
by
wtetzner
2y ago
Even UUIDs are not guaranteed to not have duplicates. It's just extremely unlikely, largely due to their length.
323.
▲
by
wtetzner
2y ago
I guess CTEs already provide that (even if they're a bit clunky). WITH a AS (select * from tbla), b AS (select * from tblb) select * from a join b
324.
▲
by
wtetzner
2y ago
> So yeah a minimal example won't use a lot of space but if you start to use the bells and whistles serde brings you will definitely bloat your target directory. Which seems orthogonal to the number of dependencies?
325.
▲
by
wtetzner
2y ago
I'm not really sure I understand what you're saying and/or asking. As far as I can tell, the statement in question was simply saying that showing the steps to come to a solution is rare, and also that it helps to teach how to
326.
▲
by
wtetzner
2y ago
> You add two dependencies in Rust, and suddenly you have a dozen dependencies of dependencies of dependencies, including at least three different logging crates. In the world of C, which is what Rust is trying to displace, that's j
327.
▲
by
wtetzner
2y ago
I think it's important to figure out what you're comparing though. A language that makes it easy to pull in dependencies also encourages breaking code into separate modules. Languages that make dependency management hard tend to h
328.
▲
by
wtetzner
2y ago
Nope, instead it's pulled into every project whether you need it or not.
329.
▲
by
wtetzner
2y ago
Out-of-the-box you can add serde_json to your Cargo.toml file in a single line and have JSON parsing. serde_json = "*" I'm not sure I see the problem.
330.
▲
by
wtetzner
2y ago
I don't think there's any arrogance in the statement. It doesn't assume others don't think. It's simply observing that most blog posts and how-to articles show the final result, but not necessarily the steps that we
More ›