From 1gb to 300mb heap allocation and half processing time. for the win:
HashMap<Interger, ArrayList<LocalDateTime>> -> IntObjectMap<LongArrayList>>
HashMap<Integer, ArrayList<Tuple<Integer, Integer>>> -> IntObjectMap<LongArrayList>>
Eugene Kuleshov’s Tweets
In Java method references like "Type::methodName" for static methods get quite verbose compared to "this::methodName" for instance methods. Wonder why "static::methodName" wasn't allowed to reference methods in the same class. ?
1
2
Learn how you can reduce Maven build time by compiling javac as a GraalVM native image: medium.com/@john_freeman/ by
2
120
240
This new digital exhibition in the Atelier des Lumières, Paris, immerses visitors in the paintings of Vincent van Gogh. Projecting on all the surfaces and using music, it retraces the intense life of the artist in a deeply multimedia fashion buff.ly/2N29kBC
0:30
190.5K views
144
2,463
5,772
Читаю надпись «Саудовская аравия - Россия. 18:00» и думаю, а чего это счёт уже известен? Сам счёт не удивил, впрочем я не фанат футбола.
5
28
114
I’m afraid this may hurt your head a little.
0:31
4.8M views
1,305
74.7K
167.5K
Java tip... since JDK6, a lightweight embeddable web-server has been shipped as part of the regular SE JRE.
It's not the Servlet API, but has minimal API to get stuff done without bloat or extra libs. Includes: auth hooks, middleware filters, HTTPS, etc.
docs.oracle.com/javase/9/docs/
5
99
260
246
11.9K
20.4K
Presenting the "sleep sort", our favorite O(wtf) sorting algorithm. (C'mon, it's the weekend..) 😂
23
1,186
1,628
OH: "So far, the Infinite monkey theorem is just giving us an infinite number of javascript frameworks, and no Shakespeare"
16
1,545
2,049
90% Of Programming Is Writing Code, The Other Half Is Writing Tests
9
309
500
I tweeted this yesterday, but for some reason it flew under the radar☺ Consider this program: It compiles w/o error and throws ClassCastExc
10
120
195
Use whatever brace style you prefer.
But not this.
Don't do this.
Seek help instead of this.
939
16.3K
16.8K
The answer to "what version was this fixed in?" is always whatever the latest version is, assuming it's actually fixed.
2
20
64
console.table().
One of those handy little things you can use in the browser developer tools console.
76
2,355
2,073
Value types, appetizer course, served in the shade. mail.openjdk.java.net/pipermail/valh
61
83
Replying to
I don’t know who made this pic but it’s bloody well accurate.
21
1,613
1,759
My son excitedly called me over to point out that 1/998 has decimal digits of successive powers of 2. 0.001002004008016032064128256
38
842
2,130
That was enlightening!
Quote Tweet
How to use jam nuts: boltscience.com/pages/twonuts.
(The thin nut goes on the bottom...)
4
20
63
I aspire to this tweet. Lawsuits are awful but I would print and frame something this. Legendary. Crazybob for life.
Quote Tweet
Replying to @sarahjeong
Schmidt being asked about another email. Says he doesn't know who this guy is. "His email is crazybob."
2
6
43
55 years ago today, we left Earth for the 1st time. A brave man led the way - thank you, Yuri Alekseyevich Gagarin.
38
2,601
3,945
Funniest code article I've read in quite a while. Scary, too: thedailywtf.com/articles/biddi
2
195
138
How to respond to people who are wrong on the internet:
1. Write draft of response
2. Edit draft
3. Close tab
4. Enjoy your life
3
32
35
Looking for malware on your system that automated tools are not going to find?
Check out Mark Russinovich's talk.
channel9.msdn.com/Events/TechEd/
3
74
117
Happy Fibonacci day! Be sure to do something special at 11:23 5/8/13. Props to Frank Yellin for pointing this out.
10
122
19





























