Open in app

Sign In

Write

Sign In

David Bertoldi
David Bertoldi

268 Followers

Home

About

Oct 6, 2022

Hashing passwords in Java

How to secure passwords with modern secure algorithms — Encrypt or hash? Encrypting is a two way function and it’s reversible: you can decrypt the encrypted string to get original string if you have the key. …

Java

5 min read

Hashing passwords in Java
Hashing passwords in Java
Java

5 min read


Published in Towards Data Science

·Mar 30, 2020

10 things you’re doing wrong in Java

The most common mistakes Java developers make — In my career I’ve interviewed dozens of software engineers, from juniors to senior technical leaders. And in many cases candidates had gaps in the basic concepts. In this article I’m going to put in a list the most common mistakes Java developers do, based on my experience both as Technical…

Programming

7 min read

10 things you’re doing wrong in Java
10 things you’re doing wrong in Java
Programming

7 min read


Published in Towards Data Science

·Nov 11, 2019

Building a Pseudorandom Number Generator

In less of 50 lines of Python code — In my article “How to get an unbiased RNG from an unbalanced one” I showed how to extract randomness from any kind of source. Now the aim is to build a pseudo random number generator from scratch! “Why do I need a random number?” The importance of random numbers is not in the number itself (they are…

Python

8 min read

Building a Pseudorandom Number Generator
Building a Pseudorandom Number Generator
Python

8 min read


Published in Towards Data Science

·Jul 30, 2019

Storing a movie into pi (π)

Is it worth to use π as data archive? — Over the years many claims of a more romantic than scientific origin have been made about π. And all of them had something to do with the infinity or the fact that the its decimal part contains every other sequence of numbers never conceived. This is not true or…

Data Science

4 min read

Storing a movie into π
Storing a movie into π
Data Science

4 min read


Published in Towards Data Science

·Jul 26, 2019

How to write your first Quine program

A quick guide to self replicating programs in Python — Aim of this guide is to show how to write a program that outputs its own source code with no input. This family of programs is called Quine. Why is this interesting? Well, because self-referencing stuff tends to be always interesting :) There are many ways to build such programs…

Python

5 min read

How to write your first Quine program
How to write your first Quine program
Python

5 min read


Published in Towards Data Science

·Jul 24, 2019

How to get an unbiased RNG from an unbalanced one

A randomness extractor in Python applicable from skewed coins to Shakespeare — “Anyone who considers arithmetical methods of producing random digits is, of course, in a state of sin.” — John von Neumann Is it possible to obtain a fair toss from an unfair coin? Or, generally, is it possible to extract randomness from a source with an output that has a…

Data Science

8 min read

How to get an unbiased RNG from an unbalanced one
How to get an unbiased RNG from an unbalanced one
Data Science

8 min read

David Bertoldi

David Bertoldi

268 Followers

Technical Architect at Salesforce

Following
  • TDS Editors

    TDS Editors

  • Sara Sollevanti

    Sara Sollevanti

  • Luca Mezzalira

    Luca Mezzalira

  • Michele Riva

    Michele Riva

  • Antonio Aiello

    Antonio Aiello

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech