mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.7K
active users

#standardlibrary

0 posts0 participants0 posts today

There are a number of useful little functions in node:util besides util.inspect() that I’m only just familiarising myself with after admittedly rolling my own versions for a number of them. Hmm, should’ve read through this documentation page more carefully sooner.

e.g., util.deprecate(), util.diff(), util.debugLog(), util.isDeepStrictEqual(), etc.

RT @raymondh@twitter.com Raymond Hettinger

Python tip: The examples in the random module provide a nice introduction to many useful techniques: bootstrapping, resampling statistics, simulations, and modeling.

For mastery, don't miss the Jake Vanderplas video and Peter Norvig's notebooks.

docs.python.org/3/library/rand

Python documentationrandom — Generate pseudo-random numbersSource code: Lib/random.py This module implements pseudo-random number generators for various distributions. For integers, there is uniform selection from a range. For sequences, there is uniform s...
#python#tip#random