Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jcrites
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
74 ms
·
421.
▲
by
jcrites
11y ago
(Oops; didn't see that you'd replied before I deleted my comment. My deleted comment asked whether cops routinely wear body armor. I figured I could research that on my own rather than ask.)
422.
▲
by
jcrites
11y ago
Yes. I'd highly recommend making `git pull --rebase` the default behavior of your `git pull` operation. I'd thought that the Git folks were going to make this the default behavior at some point. It really ought to be. `git pull --
423.
▲
by
jcrites
11y ago
I have found the tutorials and references on git-scm.com to be effective. http://git-scm.com/doc Learning and adopting Git was definitely worth it for me and organizations I've worked with. It provides advantages that
424.
▲
by
jcrites
11y ago
I believe that garbage collection is a net win because it allows software to be composed in simple ways when it would otherwise be difficult to compose. I can pass data from one part of the program to another without coordinating both parts
425.
▲
by
jcrites
11y ago
Postmates used to require you to specify the rating & tip on the courier's phone on pickup. Some time ago they changed it such that now you can specify the tip on your own device any time after receiving the order. (I had sent this
426.
▲
by
jcrites
11y ago
The Pomodoro Technique, which is mentioned on the page, has been helpful to me when I need to concentrate on solo work privately. I'd recommend it. It's an effective technique, and the only one I've discovered that's bee
427.
▲
by
jcrites
11y ago
We're talking about deliveries to Gmail, and Gmail can decide what kind of client certificates count as authenticated when sending emails to Gmail. For example, they could establish the convention that the highest tier of lock icon req
428.
▲
by
jcrites
11y ago
I think this is a good move that establishes a useful foundation, building on the work that Google has done thus far in their Safer Email effort. The quality of the security depends on the implementation details, but being Google, I would e
429.
▲
by
jcrites
11y ago
Some additional arguments against DNSSEC and a FAQ from Thomas Ptacek: http://sockpuppet.org/blog/2015/01/15/against-dnssec/ http://sockpuppet.org/stuff/dnssec-qa.html I was no
430.
▲
by
jcrites
11y ago
> I'm not kidding. They believe it keeps everyone grounded or keeps everyone familiar with the product or some other malarkey. This is a good idea and I'd recommend it. Perhaps not as a mandatory forced rotation, but as somethi
431.
▲
by
jcrites
11y ago
No, annotations do not accomplish the same thing in practice. Annotations function properly only when the code was written with annotations, and where the code and all callers are checked against the annotations. Unfortunately, annotations
432.
▲
by
jcrites
11y ago
If you are in the midst of an upgrade like this, then you might want to program defensively. In this case I would do that by applying annotations like FindBugs' @CheckForNull or @Nonnull or @Nullable. Across a trust boundary like an in
433.
▲
by
jcrites
11y ago
> Optional<T> myOptional = null That hasn't been a problem for me in practice. It's pretty clear that a reference to Optional should never be null. It can be statically or dynamically checked with @Nonnull or a preconditi
434.
▲
by
jcrites
11y ago
The lack of pattern matching doesn't make it useless. The existence of Optional reminds the programmer to check whether the value is present, and the type system does enforce this; you can't accidentally treat an Optional as a ref
435.
▲
by
jcrites
11y ago
Neat! EMR also added support for Spark this year: https://aws.amazon.com/elasticmapreduce/details/spark/
436.
▲
by
jcrites
11y ago
> suddenly Gmail was connecting to my mail server over an IPv6 interface Nitpick: when sending email, the sending mail server establishes a connection to the receiving server, not vice versa. The sender is responsible for looking up the
437.
▲
by
jcrites
11y ago
> JVM is actually a great platform to deploy code on The JVM is a fantastic platform to build for and run on. I know of nothing else that's so powerfully general purpose for typical server-side business work, with such a compelling
438.
▲
by
jcrites
11y ago
This raises an interesting meta-question for founders and investors. How can you differentiate ideas that are "just not that good" from ideas that could be amazing, but need adequate investment and execution? I never would have gu
439.
▲
by
jcrites
11y ago
The Kinesis Pro is excellent and by far the fastest keyboard I've ever typed on, as well as the most ergonomic (no strain for me): http://www.kinesis-ergo.com/shop/advantage-pro-for-pc-mac/ It optimizes the c
440.
▲
by
jcrites
11y ago
I don't have any special knowledge of GFS, but one purpose of distributed file systems of that sort is generally to avoid the need for additional backup by replicating the data many times as part of its routine operation. The data stor
441.
▲
by
jcrites
11y ago
It's fun to try to explain concepts, and a nice way to refresh memory, so let me take a shot. Imagine a programming language where no function returns a value. Instead of returning a value, the function calls the callback and passes w
442.
▲
by
jcrites
11y ago
It's something you could arrange if you wanted to, but it could be pretty complicated! Swapping individual classes within a VM and having multiple classloaders could be very nuanced to debug. I suspect it would also complicate usage of
443.
▲
by
jcrites
11y ago
I have not worked in Erlang and and am not super familiar with OTP, so my answer might be only quasi on-topic. Java concurrency primitives like ExecutorService and BlockingQueue with support from libraries like Google Guava (ListenableFutur
444.
▲
by
jcrites
11y ago
In software engineering, elegance is prized and is often related to efficiency in several layers. At the human layer, one expression of this idea is the principle of least astonishment: "People are part of the system. The design should
445.
▲
by
jcrites
11y ago
True, but I think part of this is about shaping behavior, and about self-discipline. And perhaps also the cognitive bias that comes from knowing one's own program well. A program I wrote always seems more obvious to me than it does to
446.
▲
by
jcrites
11y ago
Type inference can make the code easier to write. But, is the code easier to read, and overall less effort for the business? Code tends to be read significantly more than it's written. This is a simplification but seems to be true enou
447.
▲
by
jcrites
11y ago
(My memory could be off; it was a long time ago, and I was young) I believe that I first began learning to program in Turbo C or C++ and Turbo Pascal, far before I ever encountered Microsoft development tools, except maybe VB6, or other ope
448.
▲
by
jcrites
11y ago
One of the biggest security gaps in SMTP is that failing to establish TLS will result in falling back to plaintext; it's opportunistic TLS. Senders and receivers don't perform path validation because a validation failure will not
449.
▲
by
jcrites
11y ago
> Every time I identified a problem, I was correct that it was a problem -- my failing was in not realizing that there were several things going on at once. Very common! One thing that's been helpful for us is establishing predefine
450.
▲
by
jcrites
11y ago
Tips are largely a red herring in discussions of minimum wage, since tipped workers always earn minimum wage regardless of whether they get any tips or not. This is true under US federal law, at least, though I haven't researched how i
More ›