Note di Matteo


TIL

TIL Argon2 per le password non è più sicuro di bcrypt come si pensa:

[...] Me (@jmgosney) and @Sc00bzT were both on the experts panel for the Password Hashing Competition, and both of us will tell you not to use Argon2 for password hashing. It is weaker than bcrypt at runtimes < 1000 ms.

Yep, we basically completely failed. We set out to identify The One True PHF and instead we selected yet another KDF. We also placed way too much emphasis on "memory hardness" when we should have been emphasizing "cache hardness."

@TerahashCorp

Bottom line, if you're already using argon2, you're totally fine. It's still a good PHF and much better than most everything out there. But if you aren't using argon2, bcrypt is a better choice.

@jmgosney

#69 /
14 ottobre 2025
/
21:07
/ #dev#security

TIL ora JavaScript ha una funzione nativa groupBy() e non serve più usare reduce(). Mini guida qui.

#67 /
14 ottobre 2025
/
11:39
/ #dev#javascript

TIL gli Heisenbug:

In computer programming jargon, a heisenbug is a software bug that seems to disappear or alter its behavior when one attempts to study it. The term is a pun on the name of Werner Heisenberg, the physicist who first asserted the observer effect of quantum mechanics, which states that the act of observing a system inevitably alters its state. In electronics, the traditional term is probe effect, where attaching a test probe to a device changes its behavior.

#44 /
5 ottobre 2025
/
15:47
/ #dev

TIL la prima centrale geotermica al mondo è stata costruita in Toscana nel 1913 ed è rimasta l'unica fino al 1958. La più grande centrale geotermica in Europa è tutt'ora in Toscana, nella "Valle del diavolo", dove si produce il 10% dell'energia geotermica prodotta nel mondo. (Presadiretta)

#20 /
29 settembre 2025
/
23:11
/ #energia#innovazione#italia#mondo

TIL tutti questi software nell'ambito video/multimediale sono stati originariamente creati da sviluppatori francesi:

  • ffmpeg
  • VLC / VideoLAN
  • x264 (codec H.264)
  • DivX (codec)
  • HandBrake (GUI per transcoding)
  • Matroska/MKV (formato container)
  • GPAC/MP4Box (packager)
  • MediaInfo (debugging)
  • dav1d (codec AV1 di VideoLAN)
  • HLS.js
  • TSDuck

(fonte)

#9 /
28 settembre 2025
/
13:44
/ #video

TIL il firewall di Cloudflare era inizialmente fatto con nginx + PHP (!):

[...] the first version of FL was implemented based on the NGINX webserver, with product logic implemented in PHP. After 3 years, the system became too complex to manage effectively, and too slow to respond, and an almost complete rewrite of the running system was performed.

E poi fino al 2024 nginx (openresty) con scripting Lua:

From this point on, FL was implemented using NGINX, the OpenResty framework, and LuaJIT. While this was great for a long time, over the last few years it started to show its age. We had to spend increasing amounts of time fixing or working around obscure bugs in LuaJIT. The highly dynamic and unstructured nature of our Lua code, which was a blessing when first trying to implement logic quickly, became a source of errors and delay when trying to integrate large amounts of complex product logic.

Da quest'anno è in rollout la nuova versione scritta in Rust.

#2 /
27 settembre 2025
/
11:31
/ #cloudflare#cdn

← Precedente Pagina 2 di 2