Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ori_b
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
65 ms
·
961.
▲
by
ori_b
6y ago
No. The complaint is that Google is redirecting the content to servers that they control.
962.
▲
by
ori_b
6y ago
So that system administrators know they misconfigured it, rather than having it silently do the wrong thing.
963.
▲
by
ori_b
6y ago
JS is probably closer to billions.
964.
▲
by
ori_b
6y ago
duckduckgo, as far as I recall.
965.
▲
by
ori_b
6y ago
I'd prefer if it was done with the federal marshals, or some other civilian organization. Something like the way that Ruby Bridges was escorted to school during desegregation.
966.
▲
by
ori_b
6y ago
> In 1992 the military was used to put an end to the Rodney King riots in Los Angeles. Yes, we've been wrong more than once.
967.
▲
by
ori_b
6y ago
Bringing the military in on stopping it is crossing the Rubicon. In as literal a sense as you can get without living in Italy. Regardless of feelings on the current situation, the idea of getting the military involved should be extremely un
968.
▲
by
ori_b
6y ago
I'd rather not run a linux VM for this, so yes. It should be possible to isolate it to /opt/github-linter/* on my BSD machines, or put into a nix package. (Also, I guess this is one more reason that docker is a big red f
969.
▲
by
ori_b
6y ago
> That's one point in this discussion. The language allows error handling that way. Compared to a language with proper sum types or exceptions, where one would have to actively work against the language to end up with that mess. I&#
970.
▲
by
ori_b
6y ago
> It's about the default error handling method being sane. Gorm isn't using the default error handling.
971.
▲
by
ori_b
6y ago
> They absolutely do not do this. Please provide evidence of this. God knows my entire feed is filled with political speech by friends and family, so if you're right about this, I may have the cudgel I need! Repeat some of the mes
972.
▲
by
ori_b
6y ago
> The fact that Facebook appears to be running their platform with this principle is in no way inconsistent with the statement "They actively want their users to be free to consume what they want, even if others think that’s bad fo
973.
▲
by
ori_b
6y ago
They've already decided to do this, they just carved out an exception for when it's a politician lying. Read their terms of service.
974.
▲
by
ori_b
6y ago
We've gone from > They actively want their users to be free to consume what they want, even if others think that’s bad for them. To "They're legally allowed to remove whatever posts they want, and they don't need t
975.
▲
by
ori_b
6y ago
> Sure, this is a fair exception. FB has decided that it does not want to be a porn site. We may all disagree with that decision, but it's theirs to make. Yes, they've made a decision to restrict what the users can see, becau
976.
▲
by
ori_b
6y ago
That's blatantly false. Try posting porn, or lies in ads about non-political topics. Political ads are the only thing that gets a pass.
977.
▲
by
ori_b
6y ago
This misses the point hard. The problem is people who don't realize they're being lied to.
978.
▲
by
ori_b
6y ago
Does any language save you from explicitly screwing up error handling? Gorm is doing the Go equivalent of: class Query { class QueryResult { Exception error; Value result; } public
979.
▲
by
ori_b
6y ago
Or .unwrap(), which I see relatively often.
980.
▲
by
ori_b
6y ago
I see. Then how did it get on their site?
981.
▲
by
ori_b
6y ago
And what adjustment should you do when it makes a request to, for example, ` https://mms.cnn.com/aaldXQhJ0VycCFqfnQhcGp1fkojSDwxbG5ueiJ5I... `?
982.
▲
by
ori_b
6y ago
Yep. if you read it, that page is basically their experience report with that decision.
983.
▲
by
ori_b
6y ago
It's also recommended against by Firefox because it's been causing performance issues: https://wiki.mozilla.org/Performance/Avoid_SQLite_In_Your_Ne...
984.
▲
Performance: Avoid SQLite in your next Firefox Feature
(wiki.mozilla.org)
6 points
by
ori_b
6y ago
|
0 comments
985.
▲
by
ori_b
6y ago
Yes. But if you go that way, though, sqlite is just a slow and clunky format compared to, eg, json or protobuf. I doubt that any program out there uses sqlite this way, other than those which realize they painted themselves into a performan
986.
▲
by
ori_b
6y ago
> Thanks for the link, but only when the OS or your computer crashes, not even the application itself. Ah, right there are also the journalling knobs that you'd tweak to get to max performance -- either in-memory or no journalling
987.
▲
by
ori_b
6y ago
Because you've got another operation triggered by a UI action, and you need the previous one to finish, for example.
988.
▲
by
ori_b
6y ago
> If you have an FPS or interactivity target that needs to be guaranteed to be better than about 0.1-1 second - depending on platform - you can't have any disk IO at all on the UI thread, or any thread that's supposed to react
989.
▲
by
ori_b
6y ago
> Are you talking about a server application? I'm talking about doing a handful of transactions -- even a single one, now that I looked at the actual numbers that sqlite discusses -- being enough to introduce user-visible jank. &g
990.
▲
by
ori_b
6y ago
I made a mistake -- it's an order of magnitude slower. That means a single transaction is within the threshold for human perception. If you block the UI thread on a transaction, you're now dropping 6 frames at 60fps. If you block
More ›