Google Guava Implementation of cloneWithoutNulls(List)
public static <A> List<A> cloneWithoutNulls(final List<A> list) {
Collection<a> nonNulls = Collections2.filter(list, Predicates.notNull());</a>Rich Hickey • 3 years ago
Sorry, I have to disagree with the entire premise here.
A wide variety of experiences might lead to well-roundedness, but not to greatness, nor even goodness. By constantly switching from one thing to another you are always reaching above your comfort zone, yes, but doing so by resetting your skill and knowledge level to zero.
Mastery comes from a combination of at least several of the following:
| What was the hottest day? Where was that? | |
| select zip from weather where MaxTemperatureF in (select max(MaxTemperatureF) max_temp from weather); | |
| or | |
| select zip, date, max(MaxTemperatureF) max_temp from weather group by zip, date order by max_temp desc limit 1; | |
| How many trips started at each station? | |
| select start_station, count(trip_id) num_trips from trips group by start_station; | |
| What's the shortest trip that happened? | |
| select trip_id, duration from trips where duration in (select min(duration) from trips); |