Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ominous_prime
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
91.
▲
by
ominous_prime
12y ago
you should never have an import order dependency, since initialization order is unspecified.
92.
▲
by
ominous_prime
12y ago
> Why does systemd need to provide it? I already provides enough things. I'm not saying it needs to, or trying to defend systemd. All I'm saying that systemd is providing and alternative to running another resolver.
93.
▲
by
ominous_prime
12y ago
Technically, those only over-rule the resolver from the local system libraries. They do not over-rule DNS queries.
94.
▲
by
ominous_prime
12y ago
I don't understand your comment. a DNS server is typically also a cache, and this is what systemd was attempting to provide, without the public server part. It's the same thing that distros were using e.g. dnsmasq for. What does t
95.
▲
by
ominous_prime
12y ago
> And now systemd adds to this. What the flying fuck? While I agree with you that these layers of caching can lead to headaches, Linux doesn't have a built-in cache (and distros often don't provide one by default). Systemd woul
96.
▲
by
ominous_prime
12y ago
yeah, it could do without the snark, but there is a point that this project doesn't really do anything other than wrap opencv with a short python script. There's nothing wrong with that, but I don't see why it's made it
97.
▲
by
ominous_prime
12y ago
Yes. It's amazingly expensive to be poor. I have the luxury of using credit cards solely for net30 financing. Car loan -- maybe if I'm fairly certain my investment account will return more than the loan APR. Without that cushion o
98.
▲
by
ominous_prime
12y ago
I definitely don't want to hide problems with my init systems behind a supervisor that has its own host of problems. The union of those two products does not make a more stable, easy-to-reason-about system. Granted I could choose so
99.
▲
by
ominous_prime
12y ago
Yes. Aluminum and stainless steel have very similar "Specific Strength" characteristics, though the steel is slightly stronger and has a much higher tensile strength. In a measure of stiffness, aluminum has a higher "Specif
100.
▲
by
ominous_prime
12y ago
But that's not a buffer overflow. You can't access uninitialized memory (well, without unsafe anyway).
101.
▲
by
ominous_prime
12y ago
I wonder what the current performance difference is to OpenSSH6.1+? I think those graphs they have might be very old, and there's been a lot of improvements in the core OpenSSH code since then.
102.
▲
by
ominous_prime
12y ago
Not likely. The OpenSSH team is very conservative, and RedHat isn't likely to make such an invasive change into a core utility. PSC has been maintaining these patches for a long time. I'm pretty sure I was using this nearly 10 yea
103.
▲
by
ominous_prime
12y ago
What's the use-case for passing a pointer to C that can't be de-referenced?
104.
▲
by
ominous_prime
12y ago
You're right, I can't find where it's explicitly forbidden in the docs, but it also isn't stated that you can pass pointers to C code either. There has been more recent discussion here ( https://code.google.c
105.
▲
by
ominous_prime
12y ago
I don't think this would really handle the pinning aspect if a compacting GC is implemented, would it? It does keep the pointer alive, but it technically doesn't do anything to prevent the GC from changing the pointer.
106.
▲
by
ominous_prime
12y ago
The current state of the CGO interface is that you can't safely pass Go pointers to C code. That's all this document is repeating. You may have used this successfully in the past, I know I have, and it works with the GC toolchai
107.
▲
by
ominous_prime
12y ago
You can use progressive jpegs without progressive rendering. Google images isn't even using this, they are displaying a very low-res photo immediately, and loading a higher quality one in the background. (and FYI, most sites that optim
108.
▲
by
ominous_prime
12y ago
These were not taken with any form of "camera obscura".
109.
▲
by
ominous_prime
12y ago
'we' in this case means cloudflare, where jgc is employed
110.
▲
by
ominous_prime
12y ago
This is becoming even more important with SSDs. I used to do a lot of data recovery, and photos were of course a very common type of data that customers wanted to recover. If the drive was spinning, I could usually recover most of the data.
111.
▲
by
ominous_prime
12y ago
Probably the most visible example is the http library. You would never use python's reference http server in production; Go's http server is not only rock solid, but very high performance. Go's http client is really easy to u
112.
▲
by
ominous_prime
12y ago
Go's std lib is much more useful though (on top of being higher quality). I've done a number of fairly complex Go projects without leaving the std library -- I can't say the same for python.
113.
▲
by
ominous_prime
12y ago
This is just the front page if the nimrod site. There's nothing there about Rust, Go, or any language comparison.
114.
▲
by
ominous_prime
12y ago
A previous python project I worked on had multiple independently developed services, sometimes with conflicting requirements. Production often separated these, but keeping staging and local development environments happy was a constant stru
115.
▲
by
ominous_prime
12y ago
I'm happy that it works for you, but many people have complex infrastructures that aren't easily deployed with virtualenv+apt-get alone. I wish I could deploy our python apps with virtualenv alone, but before docker we ended up
116.
▲
by
ominous_prime
12y ago
SSL support has been around for a while, but 1.5 has been considered beta for a few years now, though that hasn't stopped it from being deployed in a lot of production environments. Before SSL was rolled into haproxy, nginx was often
117.
▲
by
ominous_prime
12y ago
TERM is the canonical way to signal a process to exit gracefully. The management application has no way to determine what other special handling your app may require.
118.
▲
by
ominous_prime
12y ago
Probably only because CRLF is sort of the network line ending standard, used in many common protocols like http, imap, smtp, etc.
119.
▲
by
ominous_prime
12y ago
is there an active fork of log4go? The original hasn't been updated in 2 years, with a couple serious issues which have been open at least as long. I would also love a flexible logging package (that isn't glog ;).
120.
▲
by
ominous_prime
12y ago
It depends on what batteries you want. The Go standard library is pretty amazing as far as standard libraries go (I'd say it's more useful than python's, and definitely contains less cruft). Community provided libraries are e
More ›