Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wtetzner
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
391.
▲
by
wtetzner
3y ago
There's a lot of value in a short iteration loop when debugging unexpected behavior. Often you end up needing to keep trying different variations until you understand what's going on.
392.
▲
by
wtetzner
3y ago
I'm pretty sure it's already available on macOS and M* chips.
393.
▲
by
wtetzner
3y ago
I think XPath would be the XML analog to jq. It would be cool to be able to use XPath to query JSON. Of course you'd need to come up with a good mapping between JSON nodes and XML nodes.
394.
▲
by
wtetzner
3y ago
My first instinct was to pronounce jaq as "jack".
395.
▲
by
wtetzner
3y ago
> If you don't override it, then your IDs won't decode right when you update. They'll decode fine. Encoding might change.
396.
▲
by
wtetzner
3y ago
Isn't it just LGPL? Why is that a "mess"?
397.
▲
by
wtetzner
3y ago
Why were there death threats?
398.
▲
by
wtetzner
3y ago
Except none of those solutions are package managers, are they? The thing that's nice about nix is that you can just specify which packages you want by name, and easily get them in your path.
399.
▲
by
wtetzner
3y ago
Depending on who you ask, the fact that the type system is unsound could be considered a form of brokenness.
400.
▲
by
wtetzner
3y ago
I would argue that implicit conversions in a dynamically typed language is a mistake in general. It's the "wrong thing by default" in the sense that it's too easy to write broken code by accident. And I think that's
401.
▲
by
wtetzner
3y ago
I guess I have a hard time seeing how PPXs are worse than `go generate`.
402.
▲
by
wtetzner
3y ago
> This is a bold statement, care to back that up with examples? I would argue it's less bold than claiming Go does keep things simple and uniform. It's weird to require someone to prove that a language doesn't have nic
403.
▲
by
wtetzner
3y ago
Paging still has a cost.
404.
▲
by
wtetzner
3y ago
> I mean, the thing it provides is that it doesn't provide powerful abstraction facilities. There's a fundamental limit to how bad the code can get. Right, and I'm suggesting that Go isn't an improvement over OCaml in
405.
▲
by
wtetzner
3y ago
By lighter-weight, I simply mean conceptually, not necessarily computationally.
406.
▲
by
wtetzner
3y ago
> Do you get anything when not using NixOS to manage everything? Sure, I think the biggest benefit is being able to get a temporary environment for a project. You can have all of your dependencies pinned, even for languages that don'
407.
▲
by
wtetzner
3y ago
Wearing masks also potentially has negative effects on children, e.g. https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9637007/ I think it's pretty clear that we didn't (and still don't) understand
408.
▲
by
wtetzner
3y ago
I don't really buy into this view of Go. Go doesn't keep things simple and uniform. It's more limited in many ways than other languages, but it's feature set is largely arbitrary, and not particularly simple. Limited and
409.
▲
by
wtetzner
3y ago
To be fair, I don't think I'd want someone who's not very capable working on anything important, no matter what language they're using. I know it happens all the time, but I don't think that's a particularly
410.
▲
by
wtetzner
3y ago
> I prefer Go over Lisp on the cover because I prefer the explicit, low magic code of Go with all its boiler plate and using my brain power on business problems not what makes me more productive or feel better / clever while doing m
411.
▲
by
wtetzner
3y ago
> Rust, C++, Go, Python, etc. are good, but they're not made for us. I also don't see any technical reason you couldn't have the best of both worlds. E.g. a dynamic runtime environment that allows recompiling functions on
412.
▲
by
wtetzner
3y ago
No "Beating the Averages"? Also, it's too bad it doesn't use PG's voice.
413.
▲
by
wtetzner
3y ago
I'd say that probably depends on what your hot path is. If it's write-heavy, then you'll probably end up with performance issues when you need to write the same data to multiple tables in a single transaction. And if all of t
414.
▲
by
wtetzner
3y ago
Does it force the updates? Ot can you postpone them indefinitely? My biggest issue with Windows was the forced reboots.
415.
▲
by
wtetzner
3y ago
> a nag that users unfortunately still ignore For good reason. Running those updates requires restarting the computer, which in turn means you have to get your working state setup again after each update. People use computers to get thin
416.
▲
by
wtetzner
3y ago
Core 2 Duo was released in 2006, so people had multicore CPUs in their laptops the second half of that year. I'm just saying, in general, parallelism was viewed as important, but Guido apparently didn't think so.
417.
▲
by
wtetzner
3y ago
Is that really true? We already had multicore machines, and Herb Sutter's "The free lunch is over" article had been published for years by then.
418.
▲
by
wtetzner
3y ago
It's not a language feature in Python though. The GIL doesn't automatically make code thread safe.
419.
▲
by
wtetzner
3y ago
Of course Java has thread safe collections in the standard library. ConcurrentHashMap etc. are popular in multithreaded contexts.
420.
▲
by
wtetzner
3y ago
> The guy is surrounded by yes men. Or maybe he just doesn't care when people tell him "no".
More ›