Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
spc476
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
34 ms
·
391.
▲
by
spc476
5y ago
Well, someone convinced the Python community that their coding standard should be the one coding standard.
392.
▲
by
spc476
5y ago
I use single quotes for items that, while technically a string, could be considered a value or symbol. For example: syslog('debug',"Just opened %s for output",filename) While there's no semantic differenc
393.
▲
by
spc476
5y ago
The industry doesn't want artisans, it wants cogs.
394.
▲
by
spc476
5y ago
No, the next big milestone is embedding the format style as the syntax of the language. I'm curious as to why Go didn't even do this (they should have, in my opinion, but wimped out and left it to an external tool).
395.
▲
by
spc476
5y ago
Yes, it's opinionated, but who's opinion got carved into stone?
396.
▲
by
spc476
5y ago
Why is that a footgun? If it just piped the output to stdout, then to convert a file , you then have to $ dos2unix file >x $ mv x file In my mind, overwriting the file is the Right Thing.
397.
▲
by
spc476
5y ago
We're still working from home, but I get together with a few people from the office once a week for lunch. I'll admit that we might be lucky in that we all live in the same city so it's easy for us to meet for a weekly lunch
398.
▲
by
spc476
5y ago
Not really. I watched "Star Trek II" and "Ronin" on HDTV and found it painful. The sets on STII looked cheap and the uniforms looked like costumes. "Ronin" looked like a soap opera. I found it hard to watch
399.
▲
by
spc476
5y ago
I was not. Thank you.
400.
▲
by
spc476
5y ago
Some years ago, I was at my cousin's house watching some movies on his HDTV. The first movie was "Star Trek II: The Wrath of Khan," which I recall seeing in movie theaters when it was released in 1982 (as I date myself here)
401.
▲
by
spc476
5y ago
Biltmore House [1], the largest private home in the United States, cost $5,000,000 to build in 1895-1900 (I think it's a beautiful home and I would love to have it's library). Adjusted for inflation, it would cost around $160,0
402.
▲
by
spc476
5y ago
It would have been better to make one film, and treat it like the fantasy it was (more geared towards children). Have a framing sequence where Bilbo is telling a very young Frodo about his adventure "there and back again." But a
403.
▲
by
spc476
5y ago
I often wish that Google's slogan was "Do Good" instead of "Do No Evil". It's easy to gloss over that "not".
404.
▲
by
spc476
5y ago
I read all the time about how great the latest technology like Docker and Kubernetes is, and how one should always update every 20 minutes or else you'll have your entire life, much less your identity, stolen by hackers, and beside
405.
▲
by
spc476
5y ago
Pv6 and NAT were developed in the mid-90s. They've both been around for far longer than just 15 years.
406.
▲
by
spc476
5y ago
You're being generous with two years. In my experience, if it's older than 20 minutes, burn the program, salt the disk, it's horribly obsolete, you'll be hacked and your identity stolen. Oh, and by the time you've
407.
▲
by
spc476
5y ago
For some, yes.
408.
▲
by
spc476
5y ago
I think it even applies to "never implement crypto on your own"---are you sure you've taken into account side-channel attacks? Timing attacks? Random number generation (if it's required)? Cleaning memory after use?
409.
▲
by
spc476
5y ago
The push for TOFU really only began about a year after the protocol was first designed, as it was deemed "too difficult" to obtain a real certificate, even from Let's Encrypt. On the other hand, those that want something SSH-
410.
▲
by
spc476
5y ago
Okay, so when you have the "Encrypt All The Things" campaign, and "never NEVER implement crypto on your own," what else is there besides TLS? One of the triggers for Gemini was the push to add TLS to gopher, which isn&#x
411.
▲
by
spc476
5y ago
But gopher doesn't have TLS. Yes, there are clients that attempt to make TLS connections to gopher servers and will fall back to plain TCP on failure, but that's a hack (and a pretty annoying one at that).
412.
▲
by
spc476
5y ago
We asked our customer to include a small piece of information for every request they made to us to better serve them. It took five years for our customer to make the change. A one-or-two day cadence didn't make sense for us, nor ap
413.
▲
by
spc476
5y ago
strncpy() is for a different context, and it won't necessarily NUL terminate the destination [1]. It's not a compromise for strcpy(). strlcopy() will NUL terminate the destination, but it first appeared in 1998, nine years after
414.
▲
by
spc476
5y ago
It's bad now . It might not have been bad when it was originally written. Back when Unix was first being developed, you had machines with 64K or 128K of RAM, which is not much, and because of that, software was much simpler, and suc
415.
▲
by
spc476
5y ago
It's been attempted. Intel tried doing this with the Intel 432, but it never got beyond the prototype stage as it was very slow, even by the standards of the day (1982).
416.
▲
by
spc476
5y ago
Laurel and Hardy would refilm many of their shorts in different languages, where they were speaking the foreign language. I always thought that was pretty cool.
417.
▲
by
spc476
5y ago
Somehow, the first Tacoma Narrows Bridge comes to mind. Carefully engineered, it still fell apart in a stiff breeze (fortunately, no one was killed).
418.
▲
by
spc476
5y ago
> You can write your programs and use the same language to prove theorems about them. Didn't Kurt Gödel and Alan Turing do some work on proving statements within a system?
419.
▲
by
spc476
5y ago
It's too bad _Mathematics for the Millions_ [1] isn't used as a text book. It covers the evolution of math throughout history, basically showing how mathematics was derived by the problems being solved. [1] https://www
420.
▲
by
spc476
5y ago
I came across this video ( https://www.youtube.com/watch?v=rjYc8h3xt-E ) where-by a former flat-earther goes into why they (and formerly, he) believed in the Flat Earth model.
More ›