Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Danack
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
by
Danack
9y ago
ಠ_ಠ
2.
▲
by
Danack
9y ago
I can't comment as to multi-region, but we saw issues last night at around 6pm UTC, which look similar to the ongoing issues we are seeing.
3.
▲
by
Danack
9y ago
We've been having 'fun' with ongoing issues for a site since 6pm UTC yesterday, which got dramatically worse this morning...and having been recurring during the day. Having multiple hour outages makes me really want to go bac
4.
▲
by
Danack
10y ago
"it offers significant improvements." - citation needed. It was better for a period after the fork, but the only guy working on it hasn't maintained it that well...there's a significant number of bugs in GraphicsMagick t
5.
▲
by
Danack
10y ago
> It seems the most polite thing. Nope, it's not polite, it's the most convenient thing for you. > It’s certainly the most professional thing. That phrase sucks. Whenever I hear it, I always interpret it as "Someone did
6.
▲
by
Danack
11y ago
Yeah, it's terrible. You can't give read only Oauth access to private repos....it has to be read/write. Which means if you want to use online CI tools with those private repos....you've got to hope they don't either
7.
▲
by
Danack
11y ago
From the fine article: 1. Customer places an order. 2. SYN: Can I charge $30? 3. SYN/ACK: Yes. 4. ACK + SYN: Do it. 5. SYN/ACK: I am gonna do it. 6. ACK: I see that you're gonna do it. "If that was the
8.
▲
by
Danack
11y ago
The slowness appears to be caused by continual directory scanning. For me at least, turning off the "Refresh when files change" option, and so having to do "view, refresh" or Command-R, made SourceTree be zippy again. An
9.
▲
by
Danack
11y ago
Amazon Cloudfront uses HTTP 1.0 to connect the origin server. https://aws.amazon.com/blogs/aws/amazon-cloudfront-support-f...
10.
▲
by
Danack
11y ago
Also people are probably used to holding things that don't matter too much if dropped. If someone dropped a 10/20/30 kg bag of rice and it landed on my toes, the bag would just fold around the foot and it wouldn't be a p
11.
▲
by
Danack
11y ago
>> There is a second form of Dependency Injection that uses setters instead of constructor injection. Do not use this form. >Why? Not using setter injection eliminates a huge class of bugs that occur when people try to use objects
12.
▲
by
Danack
11y ago
> function add( ... ): float {} Which if you read it out, it sounds entirely natural "This is a function called foo, which takes some params, and returns a float". Most of the other variants don't read as naturally. > S
13.
▲
by
Danack
12y ago
> Is there any other benefit? Strict types make it easier to reason about code, that the tl;dr version. > To me it seems that Ze'ev's proposal would be even better for you - > it does the equivalent of the validation an
14.
▲
by
Danack
12y ago
> Can you explain why? Hopefully. > How does putting (int) before the arguments to function help anything? It wouldn't. Anyone who is casting from an unknown type to an int by using just `(int)` is doing something wrong in my op
15.
▲
by
Danack
12y ago
This is actually quite revealing. Some people think that PHP is just used for the same small web pages it was used for 15 years ago. Other people would like to use PHP more as a general computing language. Having optional types takes nothin
16.
▲
by
Danack
12y ago
PHP has had type-hints for parameters for several version, but they could only be used for classes. The new types-hints cover the 'scalar' values (aka not object) and are int, float, string and bool. They allow a function to decl
17.
▲
by
Danack
12y ago
>The PHP 5 to 7 jump should be much smaller than from 4 to 5. And also the jump from 5.4+ to 7 is probably smaller than the jump from 5.2 to 5.3. Although I think the PHP project does need to support versions for longer, the adoption rat
18.
▲
by
Danack
12y ago
To explain the slightly horrible fact that there are two modes, strict and weak with strict mode being enabled on a per file basis; people just couldn't agree on whether the types should be strict or if they should use PHP's exist
19.
▲
by
Danack
12y ago
Hovering over a country shows where they import arms from.
20.
▲
by
Danack
12y ago
"Are there any [lang] libraries that are backings for the [service] API?" This is explicitly listed as off-topic: Questions asking us to recommend or find a book, tool, "software library, tutorial or other off-site resource a
21.
▲
by
Danack
12y ago
The problem doesn't stem from people just being wankers in a chat room, it's a deeper problem than that. It's hard to know exactly why people voted to close the 'niche' question you're talking about, but I had
22.
▲
by
Danack
12y ago
So it's just failing a lot of the time on purpose?