Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pacala
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
48 ms
·
421.
▲
by
pacala
8y ago
The transaction must enter the system somewhere. The 'coordinator' is that entry point, with a durable log so we don't inadvertently lose the transaction. It's only job is to push the transaction to all the workers invol
422.
▲
by
pacala
8y ago
Interesting. This assumes there is a way to do consistent remote reads, that is some way to implement B.read(value=y, tx=T). Additionally, this works without using a global sync point, as per your other message. Naive implementation: * B ju
423.
▲
by
pacala
8y ago
Perhaps I'm not getting the setup right. Assuming that data is partitioned between worker A and worker B, I see no way to rewrite a distributed transaction to proceed based strictly on information available to A or to B. T(
424.
▲
by
pacala
8y ago
Perhaps I'm not getting the main point right. Looks like the proposal is a minor optimization of the 2PC protocol, where a worker ACKs the transaction as soon as possible, presumably somewhere between updating the durable log and updat
425.
▲
by
pacala
8y ago
> that [python3] code is definitely ugly as shit Can you please give some examples? I've recently picked up Python 3, wondering what well known traps I should avoid.
426.
▲
by
pacala
8y ago
Great point. What happened with good old physical connections via USB cables?
427.
▲
by
pacala
8y ago
Surely somebody in the '90s said something similar with regard to location data, and yet your location is tracked 24/7 by adtech megacorps, and the thousands of tech/adops employees don't say a peep. The playbook has 3 e
428.
▲
by
pacala
8y ago
"Allow Google Maps to always access your location. Yes. Ask Me Later". Given the multiple precedents on the erosion of privacy path in the past 20 years, of which I quoted one example above, it's pretty obvious that they will
429.
▲
by
pacala
8y ago
Never had crapware other than google ‘s own spyware.
430.
▲
by
pacala
8y ago
FWIW, there is [used to be?] a git interface for the centralized monorepo. Really handy for managing multiple dev braches at the same time.
431.
▲
by
pacala
8y ago
Pinning dependencies is easy, and gets one stuck on Java 1.3 and IE 6. Since the library maintainer doesn't know it broke dependent code, the dependent code will be unlikely to have a smooth upgrade path. It's just a matter of hav
432.
▲
by
pacala
8y ago
That lifestyle is sustainable for preindustrial population levels.
433.
▲
by
pacala
8y ago
Thanks for providing a great example of useful getters. If you're computing a derived property that depends strictly on the data at hand and its attributes, getters are useful. When designing code, follow the Getter Idempotency Princip
434.
▲
by
pacala
8y ago
Technically speaking, what's a good way to connect to data sources for cloud apps? I'd be nervous to let cloud apps [or hackers thereof] to slurp arbitrary bits of data through JDBC. Quite a bit more comfortable having the connect
435.
▲
by
pacala
8y ago
Run/debug code via PyCharm/VSCode. Cache long computations on disk via a suitable pickle, x = cache(time_consuming_fn, 'path/to/cached/data'). When stale results are suspected, 'restart' the envi
436.
▲
by
pacala
8y ago
The most expensive part of training AlphaZero is creating the training dataset by self-playing tens of millions of games.
437.
▲
by
pacala
8y ago
Hard to have a serious conversation when an industry that is one third minority [asian] hyperboles into almost exclusively white.
438.
▲
by
pacala
8y ago
The ‘nobody wants to do job X’ problem has the usual solution: compensation.
439.
▲
by
pacala
8y ago
If only it were that easy. The largest cloud company has a core component of their strategy monetization of open source. I haven’t heard them paying royalties to the people that developed the software.
440.
▲
by
pacala
8y ago
It's a lot of fun to be in your '50s, have your body start to fall apart and be a few paychecks away from being thrown into the streets. But hey, you could afford having a few beers with your friends in your '20s. Or even tak
441.
▲
by
pacala
8y ago
Correct. That's why people use https://en.wikipedia.org/wiki/F1_score instead of just accuracy.
442.
▲
by
pacala
8y ago
Wonderful. Make the inevitable layoff be that much more psychologically damaging.
443.
▲
by
pacala
8y ago
On top, you'd hope the respective manager is matching the engineer's traits, if not exceeding them.
444.
▲
by
pacala
8y ago
Exactly. You've hired a monstrously large entity to snoop on all your activities. This is in no way equivalent to hiring a human person, which has orders of magnitude smaller information and economic footprint. An analogy that keeps th
445.
▲
by
pacala
8y ago
The human assistant.
446.
▲
by
pacala
8y ago
That's the definition of a third party.
447.
▲
by
pacala
8y ago
If I catch said human assistant reporting my daily activities to a third party, they will be terminated with extreme prejudice.
448.
▲
by
pacala
8y ago
Judging by the relative success of biological and social systems, systems that communicate effectively with each other end up much smarter than systems that don't communicate as effectively. Smarter as in winning the competition for re
449.
▲
by
pacala
8y ago
Containers are a mechanism to run your old machine[s], but with a reproducible setup script. A machine packed in a container happens to also run on your dev/CI environments. There isn't much logical difference between a physical m
450.
▲
by
pacala
8y ago
Scala blocks-as-closures are fairly simple and universal.
More ›