Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cyphar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
84 ms
·
931.
▲
by
cyphar
7y ago
Which operation are you asking about? [1] is a sister comment which I posted that outlines how to do most of the operations I mentioned. [1]: https://news.ycombinator.com/item?id=22168494
932.
▲
by
cyphar
7y ago
The first operations I mentioned (adding or removing a device from a vdev, or adding a new vdev) are one command with no downtime: % zpool attach <pool> <vdev> <device> // add to a vdev % zpool detach <
933.
▲
by
cyphar
7y ago
You can grow and add/remove raid1 devices (mirror vdevs) in ZFS without any significant work or downtime. Shrinking does require a bit more work, but depending on your setup it can be done fairly painlessly with send/recv (and shr
934.
▲
by
cyphar
7y ago
The downside of 1-based indexing is that pointer arithmetic stops being consistent with array indexing. Both approaches have downsides.
935.
▲
by
cyphar
7y ago
It's a bit strange that they recommend using the Tor Browser, but the Tor Browser is shown as being "unique" using their fingerprinting setup. Presumably this is just a lack of data rather than a real claim that browsers like
936.
▲
by
cyphar
7y ago
Switzerland (unfortunately) doesn't have what I (as an Australian) would recognise as universal healthcare. It's very similar to the "public option" to use the US terminology. It is still closer to modern healthcare than
937.
▲
by
cyphar
7y ago
On the other hand, it does mean that effective ticket prices would now be more expensive for people who have service animals. While not necessarily malicious, it is a form of discrimination. Airlines don't charge overweight passengers
938.
▲
by
cyphar
7y ago
That's not an entirely accurate understanding of the GPLv3 "anti-tivoisation" restrictions. The restrictions boil down to "if you distribute hardware that has GPLv3 code on it, you must provide the source code (as with G
939.
▲
by
cyphar
7y ago
It's a reference to Arrested Development. There's also no need to take it personally -- not to mention that both Arizona and California are in the same country (thus making it by definition not nationalistic to say you prefer one
940.
▲
by
cyphar
7y ago
media.ccc.de is where the Chaos Communications Congress uploads their conference talks (they're one of the largest hacker conferences in Europe). However, their hosting site is available for any conference to use, so it's more lik
941.
▲
by
cyphar
7y ago
> Not liberal ideals. Globalist neoliberal ideals. "Neoliberal" refers to Clinton-style ("third way") liberal politicians. I don't know who you're using it to refer to. > Having europe turn from a "v
942.
▲
by
cyphar
7y ago
> As long as your keys to decrypt messages are on your device only, the body of the message will be gibberish for your email host. The original comment didn't imply usage of PGP. They asked whether messages being encrypted between m
943.
▲
by
cyphar
7y ago
The problem is that if you want to permit users to do things like dereference pointers and do pointer arithmetic (a requirement for a C-like language) there is no way for the compiler to ensure (even at runtime, because the pointer might no
944.
▲
by
cyphar
7y ago
Oh neat, that's quite cool. I was hoping to write an Android app for magic-wormhole -- so you could share files with mobile devices. Packaging Go on Android is much nicer than Python, so I might revive that idea at some point.
945.
▲
by
cyphar
7y ago
Sure, but you can't communicate with someone using just a client. As I said, it would be like referring to email as "Outlook" or "GMail". To compare Signal and Matrix, you'd be comparing the entire ecosystem (b
946.
▲
by
cyphar
7y ago
The protocol is now called "The Signal Protocol". > How does wire compare to matrix? Matrix has most of the same features, but also supports groups much better than Signal-based protocols (a group-wide key is used an regenerate
947.
▲
by
cyphar
7y ago
Signal is also the protocol, and there is only one official Signal client for each platform (and Moxie has been incredibly aggressive towards any alternative clients -- threatening trademark lawsuits in some cases, or just blocking the clie
948.
▲
by
cyphar
7y ago
If any of the people you are communicating with are using an email provider that they don't personally host, then the problem is exactly the same. In fact, arguably a better comparison to E2EE is that they have to host an email server
949.
▲
by
cyphar
7y ago
Replace "Google" with "your email provider". Even if there were many diverse email providers with significant adoption, the problem would remain. Unless you're using PGP (and -- critically -- the other people know h
950.
▲
by
cyphar
7y ago
> A better solution for p2p E2EE file-transfer is croc [0] because it can compile to a statically-linked binary without runtime dependencies. For some definition of "better", sure. I really do wonder why the author didn't
951.
▲
by
cyphar
7y ago
magic-wormhole solves this problem (while being encrypted and incredibly easy to use). If the two hosts can directly reach each other, it will directly do the transfer, otherwise it uses a public relay server which both hosts can reach.
952.
▲
by
cyphar
7y ago
The result of the "majority vote" is done preferentially, which means that there is no situation in which vote splitting will occur. It makes no sense to refer to the "majority vote" in this context, because the whole po
953.
▲
by
cyphar
7y ago
It's crazy how incredibly similar to magic-wormhole[1] this looks. EDIT: Ah, they mention magic-wormhole in the acknowledgements as being an inspiration. [1]: https://github.com/warner/magic-wormhole
954.
▲
by
cyphar
7y ago
Another really neat solution to sending data between two machines that don't have a pre-existing channel is magic-wormhole[1]. It's much simpler because it's just a number and some easy-to-distinquish code words like 1-stetho
955.
▲
by
cyphar
7y ago
It (in theory) should be, but most often if you click "opt-out" they kick you off the site -- hence "refuse service". With GDPR (loosely) that is no longer allowed when it comes to the opt-in nature of data processing di
956.
▲
by
cyphar
7y ago
It's a classic example of a legislative loophole. What the cookie law was actually trying to do was provide a way for users to opt-out of cookie-based tracking. But, someone figured out that if you just ask for permission to use cookie
957.
▲
by
cyphar
7y ago
The array access example shows why this isn't generally possible -- the programmer hasn't written any bounds-checking code or assertions (they just wrote x[y]). Should the compiler emit bounds-checks? If yes, your code is now slow
958.
▲
by
cyphar
7y ago
When it comes to simplicity, Go is definitely quite similar to C in many respects (and not all of them good). After I started working with Rust for a little bit, I think it better matches the feeling I get with C when it comes to being conf
959.
▲
by
cyphar
7y ago
I'm not sure that is the primary reason -- many other projects have had their compile times explode over many years, even though the same logic should apply. Not to mention if you build the kernel regularly, you benefit from incrementa
960.
▲
by
cyphar
7y ago
Though it should be noted that packed structures cause compilers to produce absolutely garbage code when accessing them (because most of the accesses become unaligned) and it becomes incredibly memory-unsafe (as in "your program may cr
More ›