Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
__jem
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
121.
▲
by
__jem
5y ago
Curious what something like Neo4j offers over a something like [this]( https://docs.microsoft.com/en-us/sql/relational-databases/gr... ) in MSSQL.
122.
▲
by
__jem
5y ago
similar ergonomics, better performance
123.
▲
by
__jem
5y ago
Maybe I’m missing something, but I don’t think this is true? E.g., https://www.pulumi.com/blog/dynamic-providers/ There’s also an example of their blog on doing a schema migration with custom logic.
124.
▲
by
__jem
5y ago
Interop from Clojure -> Java is still incredibly easy, though. I often will just wrap a Java library rather than look for a pre-existing Clojure implementation because it's so easy. Of course, most Java libs don't value immutab
125.
▲
by
__jem
5y ago
I recently moved back to Arch from NixOS. I really love the idea, and the execution isn't necessarily bad, but it didn't make sense for me on the desktop. Straying off the beaten path quickly led to the sense that I was going to h
126.
▲
by
__jem
5y ago
This has to be one of the funniest financial things I've heard. "Uhhh, you know when your account dropped 50%? Actually that is only like 10% if you pretend it's a log scale." Unfortunately for them, USD is not on a log
127.
▲
by
__jem
5y ago
It interacts pretty poorly with, e.g., terminals in IDEs, but is essential for my day to day in my regular terminal emulator. Worth noting I'm not a vim power user, but I could live without vim keybindings for moving around, it just fe
128.
▲
by
__jem
5y ago
99.9 isn't "A" though -- that's something like 10 hours of downtime per year. Even at 6 9s, 30 seconds is plenty of time to end up in a split brain situation!
129.
▲
by
__jem
5y ago
> A package manager with up to date packages (granted there are Linuxbrew and things like Snap now for Linux.) On what planet is is homebrew better than Linux package managers? I agree with many of the other items in these lists, but thi
130.
▲
by
__jem
5y ago
> The code the compiler generates must have the same final result, but it doesn't have to actually work the same way. You're obviously correct, but I think this ignores downstream costs of sufficiently magical compilers. If my
131.
▲
by
__jem
5y ago
this technique works with sealed classes, i’ve done it before. it throws a runtime exception if it can’t identify the discriminant.
132.
▲
by
__jem
5y ago
i don’t understand why you think this is a huge gotcha. most vegans are oriented around harm reduction, not absolute minimization. otherwise, they’d just kill themselves. there’s no ethical consumption under capitalism, etc. either way, the
133.
▲
by
__jem
5y ago
Yeah, I agree that business people are often quite receptive when you lay it out in terms of economic impact. I agree that this is a skill all devs should work on -- even just being able to talk about orders of magnitude of $ in your estima
134.
▲
by
__jem
5y ago
highly recommend using plantuml, which allows you to version diagrams as text. the diagrams are super ugly but it's totally worth it.
135.
▲
by
__jem
5y ago
The answer here is to lean on the compiler. I _love_ rustdoc and think the fact that it can compile all your example code and links is awesome!
136.
▲
by
__jem
5y ago
This is harsh, but I largely agree. I think the issue is that you often weren't hired to write docs either... biz often only cares about new features. It's not the writing docs is hard, but that it takes a lot of time . I can wri
137.
▲
by
__jem
5y ago
One of my roommates reset the router and accidentally enabled upnp, which I didn't notice for weeks. Just fixed it a few weeks ago, and seems like I avoided this, phew. I think I'm going to decom the QNAP and just roll my own...
138.
▲
by
__jem
5y ago
fwiw i love cape cod and the islands and hope you can figure out a way to fight for those things. i spent a lot of time on martha's vineyard growing up and it was always so sad to hear islanders talk about their kids leaving for better
139.
▲
by
__jem
5y ago
How is $200/mo savings worth spending more than like 10 seconds of engineering time on? If you have to support the solution at all you wipe out all the savings almost instantly.
140.
▲
by
__jem
5y ago
Seems like a pretty big about face for them.
141.
▲
by
__jem
5y ago
Who cares what's good for the companies; I care about what's good for labor.
142.
▲
by
__jem
5y ago
If it's arbitrary precision, what's the difference, besides slightly more bookkeeping on your end?
143.
▲
by
__jem
5y ago
Not changing `this` is a huge benefit that shouldn't be ignored. Especially when you're programming in a more functional style, it makes sense to default to arrow functions because you never want to engage in `this` shenanigans an
144.
▲
by
__jem
5y ago
Right but I'm wondering how you avoid polluting your production dataset with test data, hence the question about multi-tenancy in the database. Do you use a different schema? Discriminator column? How do you know the data came from the
145.
▲
by
__jem
5y ago
Because the basis of every state's contract laws are different. Something are illegal in CA but not in NY.
146.
▲
by
__jem
5y ago
> but test talks to all production business systems too I'm not sure I understand this, would you mind explaining more? Do you mean you have multi-tenancy in databases and application (the "tenants" being stage/test a
147.
▲
by
__jem
6y ago
I've gotten into NixOS for my personal daily driver, but I'd love to see more resources about how to orchestrate CI/CD flows with Nix. It's not totally clear how I'd move from the simple single machine configuration
148.
▲
by
__jem
6y ago
I switched to NixOS after tripping over my laptop's power chord during an update, which broke Linux in such horrifying ways that I didn't dare attempt recovery. I agree that I'm not sure the extra complexity is worth it for d
149.
▲
by
__jem
6y ago
> Not vaccinating though is an inaction Not clear at all to me that failure to vaccinate is inaction rather than action. Viruses push our understanding of moral culpability and causality, but the comparison to blood donation isn't a
150.
▲
by
__jem
6y ago
Mandatory school vaccination is pretty common in most liberal democracies, no? Is this really a new idea?
More ›