TIL

Today I Learned

Python Long String

Published:
Category: { programming } { basics }
Tags:
Summary: Python long string formatting

Python If on Numbers

Published:
Category: { programming } { basics }
Tags:
Summary: If on int is dangerous

Python Datetime on Different OS

Published:
Category: { programming } { basics }
Tags:
Summary: Python datetime on different os behaves inconsistently

Controlled Experiments

Published:
Category: { statistics }
Summary: The three levels of controlled experiments

Pandas with MultiProcessing

Published:
Category: { programming } { basics }
Summary: Adding new data to dataframe using multiprocessing

Fitt's Law

Published:
Category: { misc }
Tags:
Summary: How fast can you move your mouse to target

Copy Scalars and Lists in Python

Published:
Category: { programming } { basics }
Tags:
Summary: Python copy values of scalars but addresses of lists

Certificate Errors in urllib

Published:
Summary: Dealing with errors when scraping data

Calculated Columns in Pandas

Published:
Category: { programming } { basics }
Summary: Create new columns in pandas

tree in Linux

Published:
Category: { programming } { basics }
Tags:
Summary: Trees in computer science

Heap on Mac and Linux

Published:
Category: { programming }
Summary: Some caveats about heap on mac and linux

CMake Usage

Published:
Category: { programming }
Tags:
Summary: How to use CMake to generate makefiles

C++ int Multiplication

Published:
Category: { programming }
Tags:
Summary: int multiplication in C++ should be processed with caution.

Allocating Memory for Multidimensional Array in C++

Published:
Category: { programming }
Tags:
Summary: Some caveats

C++ range-for-statement

Published:
Category: { programming }
Tags:
Summary: In C++ we can use range-for-statement

List All Folders in Linux or Mac

Published:
Category: { programming }
Tags:
Summary: Using ls and tree commands to list folders only

Python Default Parameters Tripped Me Up

Published:
Category: { programming } { basics }
Tags:
Summary: Python default parameters might be changed with each run

Some Tests on Matplotlib Backends

Published:
Category: { programming }
Summary: Matplotlib provides many different backends

Mathematica Provides Great PlotTheme Options

Published:
Category: { programming }
Summary: Amazingly, Mathematica provides an option for plot that automatically generates beautiful plots.

Turn a Series Expansion into Function in Mathematica

Published:
Category: { programming }
Summary: Turn a series expansion in Mathematica into a function