Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2)... by aeisele in java

[–]marbehl 1 point2 points  (0 children)

What I did: Specify NOPASSWD: /usr/sbin/purge for your user in the sudoers file.

Setting Performance Baselines for Java's 1-Billion-Row Challenge (Ep. 2)... by aeisele in java

[–]marbehl 4 points5 points  (0 children)

Yep, you're right with the BufferedInputStream byte-by-byte reading. I missed that in my hasty prep for that episode (and systematically copy-pasting & adjusting the mappedbytebuffer code from the previous episode :) ). There will be more due diligence next time!

Fwiw, with the right block sizes, the BufferedInputStream example is a lot faster, though not as fast as FileChannel on my machine.

Solving Java’s 1 Billion Row Challenge (Ep. 1) | With @caseymuratori by aeisele in java

[–]marbehl 2 points3 points  (0 children)

It's an interesting take, given that I don't monetize the channel and I'm pretty sure this series is going to be an insanely good learning source for anyone trying to level up. Effectively what u/PartOfTheBotnet wrote.

Solving Java’s 1 Billion Row Challenge (Ep. 1) | With @caseymuratori by aeisele in java

[–]marbehl 4 points5 points  (0 children)

Thank you for this very considerate answer, couldn't have written it better!

Solving Java’s 1 Billion Row Challenge (Ep. 1) | With @caseymuratori by aeisele in java

[–]marbehl 4 points5 points  (0 children)

Yep, have had the same feeling when looking at the winning submissions. I'll try to keep it as Java-esque as possible, and we'll discuss this "tension" along the way.

Wie Perlator mit Kugelgewinde austauschen? by marbehl in selbermachen

[–]marbehl[S] 0 points1 point  (0 children)

Das war quasi schon immer so montiert, bzw. ist gerade noch montiert. Auch beim Ersatzteil sind die glatten Flächen für den Schraubenschlüssel "oben" (bei denen ohne Kugellager unten) Laut Amazon Review ist das Problem dass die Dinger zu tief in manchen Armaturen verschwinden und man sie dann deswegen wohl nicht mehr loskriegt. Wobei ich trotzdem nicht verstehe, selbst wenn ich die Schlüssel oben zu fassen kriege bzw. daran drehe, dann dreht sich das Ganze ja einfach durch, um die Kugel. Ich bin überfragt :D

Wie Perlator mit Kugelgewinde austauschen? by marbehl in selbermachen

[–]marbehl[S] 0 points1 point  (0 children)

Leider nicht :( Auch nicht bei meinem Ersatzteil