Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tveita
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
38 ms
·
421.
▲
by
tveita
9y ago
Clippy has some checks for naming convention beyond what rustc and rustfmt does. Not nearly as much as https://github.com/brson/rust-api-guidelines , but the wrong_self_convention check helped me make sense of the as&#x
422.
▲
by
tveita
10y ago
If you're using a configurable logging library like logback for Java, it is fairly easy to have your application support both structured logging directly to Elasticsearch, and logging a more human readable format to disk or stderr for
423.
▲
by
tveita
10y ago
The linked https://www.percona.com/doc/percona-toolkit/2.1/pt-online-sc... generally works really well though, and in the simplest case it's as easy as following the usage example. I'm surprised tha
424.
▲
by
tveita
10y ago
They mention using a write-ahead-log, which should be sufficient for durability if implemented correctly.
425.
▲
by
tveita
10y ago
Do you have any source for this? I've heard about pink being considered masculine and blue feminine, but I've never heard about this feminist campaign, and frankly it sounds unlikely.
426.
▲
by
tveita
10y ago
Requiring the WHERE clause in DELETE FROM would probably have avoided some very expensive disasters, too... I'll just come out and say it, modern SQL amazing and powerful but it is not a good language. The language spec shows a weird
427.
▲
by
tveita
10y ago
From all the big ForEx investors who will only learn about Brexit when they read in the papers that it has happened?
428.
▲
by
tveita
10y ago
It hasn't happened for mobiles or laptops, and I suspect similar reasons will prevent it from happening for cars. As long as battery life, size and weight are all important to the buyers, manufacturers would rather put in the extra cus
429.
▲
by
tveita
10y ago
Looks like that script could benefit from a couple of rounds of ShellCheck. http://www.shellcheck.net/
430.
▲
by
tveita
10y ago
It already is as convenient to pirate Netflix videos as it is to view them on Netflix. You'll get a better selection, with a better UI, and often higher quality encodes. I still keep a Netflix subscription, because I want to pay for
431.
▲
by
tveita
10y ago
> We use XDR - RFC 4506 and RPCv2 - RFC 1831 to communicate between our servers. I see the appeal in using the same format everywhere, but it seems like they'd have a easier time using something with more mindshare, like Protocol Bu
432.
▲
by
tveita
10y ago
Uber is of course a ridesharing service, so it's reasonable for the driver to confirm that you're going the same way they are, to prevent a detour. /s
433.
▲
by
tveita
10y ago
> Why would an issuer ever let a client decide what algo to use? JWT, like SAML, is made to support separate identity providers and the service providers. In the spirit of generality, this means the identity provider(s) could be from a d
434.
▲
by
tveita
10y ago
Available for over 2000 years now. https://mobile.twitter.com/unicode/status/722133439726505984
435.
▲
by
tveita
10y ago
> It is a DSL from the logic family I'm having trouble seeing what features GraphQL gets from the logic family. The query feels more like a way to execute a series of function calls with parameters, like a chain of promises. You can
436.
▲
by
tveita
10y ago
Going directly to CFRG with this kind of feels like stealing the thunder from the ongoing CAESAR competition. Unfortunately the only misuse-resistant CAESAR candidate left in the running is AEZ, according to https://aezoo.compute
437.
▲
by
tveita
10y ago
> there is an interesting question about how people get paid for their work. DRM on movies has zero technical effects right now, and still many people manage to get paid, somehow. Maybe they should continue doing what they're doing,
438.
▲
by
tveita
10y ago
NaiveHasher (declared as "struct NaiveHasher(u64);") is a tuple with one 64-bit field named "0". (Tuple fields are implitly named as 0, 1, 2 ...) It implements a very simple hashing function for 64-bit numbers, each hash
439.
▲
by
tveita
10y ago
I read the section on sequential numbers as just illustrating a worst-case scenario of the case that could happen with either a naive hasher or malicious input. As far as I can see all the graphs but one use random numbers, so hashing won&#
440.
▲
by
tveita
10y ago
That bias graph is made assuming you are picking numbers between 0 and 32768. With a 64-bit hash the bias is negligible. With a 32-bit hash I suppose you could argue significance around 100 million items. I think the text is clear that the
441.
▲
by
tveita
10y ago
It could be made to work on Git, but you'd need to make a collision that included the git blob header. The resulting files would not have the same SHA-1 hash until the header was added though, so they wouldn't be useful except for
442.
▲
by
tveita
10y ago
I wonder how the clock skew bounds affect performance. Would a more accurate clock increase throughput?
443.
▲
by
tveita
10y ago
> If I offer you $1000 for something you're selling, and someone else offers $2000, who are you going to sell it to? But audience are not fungible. If you are to spend an evening with someone there are more important considerations
444.
▲
by
tveita
10y ago
In Canada the Interac debit card network has transaction fees on the order of a few cents. It's crazy how much money US payment processors manage to skim off.
445.
▲
by
tveita
10y ago
«He told Ars that the software maker initially planned to patch the flaw in December but later decided to delay the release until February so it could be included with other planned SMB fixes.» «it is not the first time Microsoft sits on my
446.
▲
by
tveita
10y ago
Time for a hosted Fossil service? :) http://fossil-scm.org (Actually, googling that it turns out one already exists...)
447.
▲
by
tveita
10y ago
"during code review". But did this code go through code review? If not your "higher level of scrutiny" are still not high enough to warrant mention.
448.
▲
by
tveita
10y ago
So in other words it wouldn't have made a difference. A better type system gives you the option to enforce stricter checks to help you catch mistakes, but the same people with the same procedures would have written this bug in any lang
449.
▲
by
tveita
10y ago
They've been pretty open about how they store passwords and it's definitely not plaintext, here's a talk about it: https://video.adm.ntnu.no/pres/54b660049af94 My outside impression is that security is t
450.
▲
by
tveita
10y ago
"While critics might note that Apple’s price increase is greater than the pound’s loss in value, financial analysts predict that the market still hasn’t fully priced in the cost of Brexit — that is to say the pound still has further to
More ›