Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
yes_or_gnome
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
31.
▲
by
yes_or_gnome
9y ago
> What happened to the Content-Encoding: gzip header though? > I still don’t know where the Content-Encoding: gzip header went! Did Cloudflare remove it? Did my webhost stop serving it for some reason? I have no idea! Anyway, my site
32.
▲
by
yes_or_gnome
9y ago
There's no disagreement there. Let's remember that `test` is older than most programming languages. I can't find an exact date, but 1979 is the earliest mention of it being in `sh v7` and turned into a UNIX System III built-i
33.
▲
by
yes_or_gnome
9y ago
This problem isn't a Bash problem, nor is it a shell problem. '[' is a binary that takes a set of args terminates with a ']'. It's often just a symlink to the 'test' binary. The other "problem&qu
34.
▲
by
yes_or_gnome
10y ago
Personally, I've found it hard to find much information about pre-HTTP/1.0. To my understanding, "HTTP/0.9" is a retroactive version number. The original HTTP protocol was incredibly simple. An HTTP Request was simp
35.
▲
by
yes_or_gnome
10y ago
In California (at least), the pumps work regardless of which side the car is parked on. The hoses are longer and the hands free mechanism is very different from the east coast. Actually, I prefer to extend the hose over the car as it feels
36.
▲
by
yes_or_gnome
10y ago
Install flake8, there's support for mypy, flake8, and pylint. I can't answer the other, but you could always file a feature request.
37.
▲
by
yes_or_gnome
10y ago
The Acting AG at that time? The current FBI director, James Comey. Truth is stranger than fiction.
38.
▲
by
yes_or_gnome
10y ago
What about the possibility that Snowden dies from a freak accident or suspicious circumstances while in exile? Either will look like a government coverup. It's probably better to get him home one way or the other - I'd prefer a pa
39.
▲
by
yes_or_gnome
10y ago
Absolutely, correct. In college, I worked for a security team contracted to GE. There's an absurd number of APT trying to get details about GE's engines and production. Executives, engineers, even pilots would have to send their l
40.
▲
by
yes_or_gnome
10y ago
He's not even a top 20 approver. Greg KH takes those honors, Andrew Morton is number 3, and I forget the rest. The list comes out annually from the Linux Foundation. (Sorry, no link.) The foundation requires an email address and creden
41.
▲
by
yes_or_gnome
10y ago
Yes, but the term "byte" doesn't tell you much. Most people assume that a byte is 8-bits which isn't true. If the definition the of `char` was `1 octet`, then you could make safer assumptions about "What's the
42.
▲
by
yes_or_gnome
10y ago
Not really. Signatures should be SHA256 already, you shouldn't be running as root (which as always been frowned upon).
43.
▲
by
yes_or_gnome
10y ago
> In Unicode's lexicon, this string contains surrogate code points, not surrogate code units. This is wrong, and as I stated, it is surprising that Python permits it. Unicode explicitly warns against this behavior: > Note that th
44.
▲
by
yes_or_gnome
10y ago
That's not wrong. In [1]: import json In [2]: json.dumps("\N{PILE OF POO}") Out[2]: '"\\ud83d\\udca9"' Quality detective work there. JSON, being JavaScript [Object Notation], is stan
45.
▲
by
yes_or_gnome
10y ago
YAML has braces. In fact, it's a super set of JSON. Any YAML parser should be able to parse JSON encoded data with one exception. Block comments. Which is a bastardization of JSON (as mentioned in the article) so block comments shouldn
46.
▲
by
yes_or_gnome
10y ago
Because you cannot rely on some chintzy IoT device to have dynamically loadable libraries. In all likelihood, they don't. But let's assume they do have loadable stdlib, would would you trust the integrity of your botnet to dozens
47.
▲
by
yes_or_gnome
10y ago
I talked to an acquaintance at Apple about the new iPhone recently, and the Galaxy Note 7 topic came up. I wasn't aware that the problem hasn't been publicly revealed. So, here's what I remember of that conversation; though m
48.
▲
by
yes_or_gnome
10y ago
Absolutely agree. I completely disabled arrow keys for a short time; ~3 months. It started out after reading a similar recommendation. It was difficult for a few days, but then I completely forgot about my arrow keys and the fact that I dis
49.
▲
by
yes_or_gnome
10y ago
Are you using a US-QWERTY keyboard layout? If so you're losing "switch case" (~); close alternatives are 'gu' lowercase, and 'gU' uppercase, not quite the same. And, "goto mark" operator (`); clo
50.
▲
by
yes_or_gnome
10y ago
This is a great resource, but the article is pretty strict on the arrow keys. I would recommend `nnoremap`, over `noremap`, because it only disabled the arrow keys in Normal Mode. The author's explains his rationale in the next section
51.
▲
by
yes_or_gnome
10y ago
For those looking for Klingon, and many more ficticious fonts, there is the "ConScript Unicode Registry" [0] which defines the BMP Private Plane[1]. [0] https://en.wikipedia.org/wiki/ConScript_Unicode_Registry
52.
▲
by
yes_or_gnome
10y ago
I have to disagree. All but 3 of those pictographs are already in the Unicode standard. You have to patch fonts because A) your preferred font may not have them and B) to make certain that the font meets Powerline's expectations. The o
53.
▲
by
yes_or_gnome
10y ago
Upfront, I want to say that I agree with just-about everything that you have written here. I would have upvoted you and move on if it weren't for the lame "placebo seat" comment. It's beyond me as to how anyone could wat
54.
▲
by
yes_or_gnome
10y ago
It'll be interesting to see this play out. If the bankrupt company is unwilling or unable to unload their cargo, could another company start repossessing the ships? I'd imagine it would have to on the behalf of several companies;
55.
▲
by
yes_or_gnome
10y ago
One of my favorite moments from Michael Lewis' Moneyball is how Billy Beane's introduces Lenny Dykstra: > Physically, Lenny didn’t belong in the same league with him. He was half Billy’s size, and had a fraction of Billy’s prom
56.
▲
by
yes_or_gnome
10y ago
Most pardons happen on the last day of office. Also, there are 'pocket vetos' where the acting president either doesn't want to outright veto to alienate his party or wants to see the election results before making a final de
57.
▲
by
yes_or_gnome
10y ago
It is. Like most programming language deprecations, it's implementation was removed and the name remains for backwards compatibility.
58.
▲
by
yes_or_gnome
10y ago
In 3.6, this will be ordered. Python creates a dict out of the keywords arguments, so before 3.6, this creates the old hash-ordered dict which is covered to an OrderedDict. But, as the other commenter mentioned, a list of 2-tuples is the sa
59.
▲
by
yes_or_gnome
10y ago
It's hard, for me, to imagine what they would do differently than UDP (because it's minimal, just two port numbers). Having not yet read the spec for the QUIC protocol, there must be some amount header that would immediately follo
60.
▲
by
yes_or_gnome
10y ago
There are tens of thousands of people either walking or driving the streets of Mountain View and Sunnyvale where Google is testing its self-driving cars. So, the members of the public are at risk. But, I understand that you mean behind the
More ›