Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tveita
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
661.
▲
by
tveita
12y ago
Any modern voting system should provide deliberate protection against this by letting you claim to have voted for any candidate. Let's say you're in the voting booth and have taken the picture. You can then do at least one of the
662.
▲
by
tveita
12y ago
So who is deallocating the returned string in confirm_hello_from_rust_compiled? Looks like you lost a fair bit of the safety checking in the Rust to C transition, if you didn't even have to mark the whole function unsafe.
663.
▲
by
tveita
12y ago
That's well articulated - sometimes looking at pictures you almost forget how real reality looks and feels. Incidentally, the color gamut of screens should hopefully improve somewhat with next-gen screens targeting Rec. 2020. But whe
664.
▲
by
tveita
12y ago
Of course, even if they're taking from their own well they're draining the groundwater just as effectively. It's hard to see how a market based solution wouldn't turn into a tragedy of the commons without enforcing limit
665.
▲
by
tveita
12y ago
I have earlier tried the Oralux Linux distribution, as a non-blind user but not looking at the screen, to see how far I could get. It was slow going, but I managed to follow the instructions at boot to start an emacs tutorial and get to the
666.
▲
by
tveita
12y ago
There are no systems to my knowledge where the server will compile and execute a .c file from a directory when accessed. Yet that seems to be the default configuration for many PHP installations unless you specifically guard against it it.
667.
▲
by
tveita
12y ago
If correctly disabled https://www1.cnnic.cn/ should give a certificate error.
668.
▲
by
tveita
12y ago
Unsurprisingly his "400-ish line C++ header that implements an HTTP server" falls far short of supporting the full HTTP spec. For instance it looks like multiple occurrences of the same header will be ignored, and it will just clo
669.
▲
by
tveita
12y ago
Target shows its employees anti-union propaganda videos. It's interesting how it presents a union as a big bad "other" that would necessarily work against its members' interests, and to see many of the familiar arguments
670.
▲
by
tveita
12y ago
They're pretty inconsistent about it. They tend to avoid large deliberate breaks, but you still see smaller incompatibilities. Off the top of my head, here's a case where they changed the output of a hash function between 5.3 and
671.
▲
by
tveita
12y ago
I think it makes most sense to think of it as paying for access to the tape robot. If Amazon store your data in a tape archive (I don't know if they do, but they at least seem to have similar constraints), they can only access a small
672.
▲
by
tveita
12y ago
I'm sorry, could you define what you mean by "grey area sex"?
673.
▲
by
tveita
12y ago
I think the point is that mining is subsidized by "printing" new bitcoins, which currently make up most of the block reward. Speculation is in theory not a factor, since spending $ on buying a bitcoin == spending $ on mining a bit
674.
▲
by
tveita
12y ago
Thrift has been production quality for some time now, so if you've been looking for something like this you may also want to check out https://thrift.apache.org/
675.
▲
by
tveita
12y ago
I have no idea what you are talking about. There is nothing in Go that prevents people from making breaking changes to a package - and therefore breaking changes happen. I'll trust my real-world observations of broken dependencies over
676.
▲
by
tveita
12y ago
In the EU this is the role of national data protection authorities. http://ec.europa.eu/justice/data-protection/bodies/authoriti... e; well, not actually pen testing, but knowing what personal information com
677.
▲
by
tveita
12y ago
Since I can fairly reliably type "mvn compile" to build five year old Java projects, I think it's fair to say that the Go community is in a dependency hell of their own making. Should every library author vendor their depende
678.
▲
by
tveita
12y ago
I would classify godep as a package manager in the same vein as bundler, pip, npm, etc., and in my experience it is absolutely essential if you still want your Go code to compile a month after you wrote it. I think the bit about source vers
679.
▲
by
tveita
12y ago
Schema design tends to be a bit different than in a traditional relational database due to the different constraints and capabilities. For instance, IIRC Facebook has a video talking about how they use HBase for messages, and they have an e
680.
▲
by
tveita
12y ago
> This is a bug, because the C++ standard mandates a worst case of O(n log n). Specifically, this is a requirement in C++11. Earlier C++ standards only require it to be average-case O(n log n).
681.
▲
by
tveita
12y ago
It looks like the Python version that's good for 2^49 items uses 1360 bytes for this array, allocated on the stack. I wouldn't worry about an extra couple of bytes nearly as much as I would worry about changing the behaviour of a
682.
▲
by
tveita
12y ago
This looks like statement based replication, which can come out of sync if you're not careful to make your statements deterministic. Any use of random(), as a trivial example.
683.
▲
by
tveita
12y ago
Superfish is a US company, though, and Komodia is Israel based. There is nothing connecting this to the Chinese government. This appears to be a a cross-border display of greed and incompetence.
684.
▲
by
tveita
12y ago
This is a PDF attached to this issue, requesting blacklisting of the Superfish certificate: https://bugzilla.mozilla.org/show_bug.cgi?id=1134506
685.
▲
by
tveita
12y ago
You can add new authentication methods by defining the format of the authorization/authentication headers. OAuth 2 does it. The only thing you need is buy-in from application authors.
686.
▲
by
tveita
12y ago
It played for me 30 minutes ago, but it doesn't anymore. I thought it was a embedded Youtube video at first, but it's actually a .mov file hosted in Google docs. First time I've noticed that way of hosting, maybe they have a
687.
▲
by
tveita
12y ago
SLF4J has two ways to do "tagged logging": markers that are passed per-call, and a thread-local mapped diagnostic context (MDC). The latter is useful because you can set it for an entire request and have it included even for code
688.
▲
by
tveita
12y ago
Jailing the people responsible for committing criminal misconduct and confiscating their gains seems like a nice solution to this dilemma.
689.
▲
by
tveita
12y ago
None of those links say that MySQL's ON DUPLICATE KEY UPDATE doesn't work as intended. There's a single caveat: "If more than one unique index is matched, only the first is updated. It is not recommended to use this stat
690.
▲
by
tveita
12y ago
Both MySQL and SQLite's implementations work satisfactorily, so I tend to think that PostgreSQL's reluctance is the perfect being the enemy of good. It's a pattern that shows up often when you're mirroring data from a th
More ›