News for hackers. Stuff that matters.

jargonjustin

Re:Streams in Java 8 on Sunday February 09, 2014 @08:48PM (#7208600)
Java's Comparator type is more general (you don't necessarily need to project the type for comparison) and an existing abstraction. It's not hard to introduce a combinator to transform the representation as a library, as in:

    countries.sorted(by(x -> x.population)).limit(3).map(x -> x.name)
where `by` looks something like:

    <S, T> Comparator<T> by(Projection<S, T> projection);

    interface Projection<S, T> {
       Comparable<S> project(T value);
    }
Re:Introducing Chronos: A Replacement for Cron on Friday March 15, 2013 @09:37PM (#5383997)
It's solving a rather different problem than cron, but it's a problem that many people first attempt to use cron to solve. It's a replacement not in the sense of being a better cron, but as solving a problem for which cron is often used inappropriately.
No, Amazon Silk routes HTTPS traffic directly to the origin server.

https://www.eff.org/2011/october/amazon-fire%E2%80%99s-new-b...