Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Carpetsmoker
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
541.
▲
by
Carpetsmoker
8y ago
Flying cars will always be less efficient (and thus, more expensive) than driving cars due to the physics of it. I wouldn't hold my breath on flying cars replacing driving cars, just as airplanes haven't replaced trains.
542.
▲
by
Carpetsmoker
8y ago
> If the main argument is economic costs Economic, human, and ecological costs. I am not hugely in favour of reducing everything to economics (although it's definitely an important part). I also don't think that it's as si
543.
▲
by
Carpetsmoker
8y ago
Politicians say that business must self-regulate or that consumers must choose different. Businesses say that they are following the laws made by the politicians and are meeting consumer demands. Consumers say the government should regulate
544.
▲
by
Carpetsmoker
8y ago
> The only thing not fine is whether humans survive what they/we ultimately have brought about. Humans will be fine, as a species. But the human and economic costs will be large. Compare it to the Hurricane Katrina: most people in N
545.
▲
by
Carpetsmoker
8y ago
Sounds very optimistic, but also depends on a lot of "if"s and "maybe"s. Fact is that while a lot of hard problems do get solved by new innovations, not all of them are, and systems do fail catastrophically sometim
546.
▲
by
Carpetsmoker
8y ago
> Earplugs make me feel claustrophobic, and I have the uncontrollable urge to rip them out after 15 minutes. I used to have similar problems; but I've learned to adapt to them with time and patience. All other things being equal, I&
547.
▲
by
Carpetsmoker
8y ago
I tried to use BFG to clean a repo of excessive large files once. After the `git push --force` our entire repo was gone. Oops! Use with care, do it on a Sunday (or other time most devs aren't working), and be prepared to restore a back
548.
▲
by
Carpetsmoker
8y ago
I'm not sure if we've got enough wrappers yet. I think we want several more!
549.
▲
by
Carpetsmoker
8y ago
I never advocated rewriting anything. If you have a RoR/Django/PHP/Java app and it works well: keep on truckin'! But I've also found that writing new applications in Go has some good benefits over e.g. RoR. Things
550.
▲
by
Carpetsmoker
8y ago
Yeah; I use https://github.com/DATA-DOG/go-txdb Works pretty well.
551.
▲
by
Carpetsmoker
8y ago
I've been using a lot of Go to write web applications the last three years, and I find it's a very smooth experience. I don't have a hate-on for Ruby on Rails; my last job was as a Rails dev and I liked it. I still like, even
552.
▲
by
Carpetsmoker
8y ago
> Containers are basically a few syscalls wrapped in a ball of mud I don't think it has to be; I mean, the current Linux/Docker situation is kind of that, but that's just a single implementation. > most containers are b
553.
▲
by
Carpetsmoker
8y ago
I think Amsterdam (and more recently, Rotterdam) are not representative for the rest of the country though. A lot of the problems in Amsterdam are just because there are too many tourists. There are currently about 18 million/year. It&
554.
▲
by
Carpetsmoker
8y ago
A lot the companies that store the data aren't. It's not TechDirt storing most of the data: it's all the 3rd-party crap they load. But that's not really the point I think, the article claims that they care "very muc
555.
▲
by
Carpetsmoker
8y ago
There have been many free ad-supported services that don't collect your data for many years: newspapers, TV channels, radio, etc. "Accept data collection or pay for it" is a false dichotomy. Ad-supported websites don't n
556.
▲
by
Carpetsmoker
8y ago
I think pledge (and unveil) are really good ideas, but that doesn't mean it's a substitute for containers. They're kind of different: pledge mostly just enforces correctness of a program, whereas containers enforce separati
557.
▲
by
Carpetsmoker
8y ago
What's the alternative to Android though? Apple has its own well-documented issues, as well as a rather large price-tag. I just use my phone for maps and some chat services, don't need a very fancy phone. Even the iPhone 7 is list
558.
▲
by
Carpetsmoker
8y ago
They are not "platitudes" though, but real-world practical concerns. To give a specific example, even with these extensions you won't be able to handle NULL bytes in your shell script. So if you ever want to store, say, a PNG
559.
▲
by
Carpetsmoker
8y ago
Adding to this, it's not just bash you have to worry about: also grep, wc, head, cut, and all other external utilities you're calling. There are actually quite a few incompatibilities between different implementations and versions
560.
▲
The shell scripting trap
(arp242.net)
7 points
by
Carpetsmoker
8y ago
|
0 comments
561.
▲
by
Carpetsmoker
8y ago
I think it was some tool at moz.com, but I don't recall from the top of my head. I don't think it was Google itself. I have no idea what effect that has; I'm not really in to that world. > I have had no issues with even le
562.
▲
by
Carpetsmoker
8y ago
"man pf.conf" is also very useful.
563.
▲
by
Carpetsmoker
8y ago
Yeah, that was an error >_< I fixed it. Thanks!
564.
▲
by
Carpetsmoker
8y ago
I like the "Ruby approach" of: if foo ... else ... end It solves some of the issues that you can have with Python, while at the same time also avoiding the whole nonsense with the braces. I find i
565.
▲
by
Carpetsmoker
8y ago
I wrote this article, and at this point I don't really have a strong preference for any one format. I think a lot depends on what it's used for. YAML can actually be pretty useful. For example, recently I wrote a tool to generate
566.
▲
by
Carpetsmoker
8y ago
I generate Swagger/OpenAPI files, and use YAML because it's easier to read. If I had to write OpenAPI files manually I'd probably choose to jump out of the window.
567.
▲
by
Carpetsmoker
8y ago
Thanks! Last time I checked my domain got penalized for having abnormal low markup or some such, which apparently makes it look like a spam site. I am proud of this.
568.
▲
by
Carpetsmoker
8y ago
JSON is slightly easier since you have actual start/stop marks in the form of `{`, `}`, instead of relying on 2-space indentation. (are there 8 or 10 spaces there? Hard to see).
569.
▲
by
Carpetsmoker
8y ago
This is ugly.