Jan 13, 2018

What’s the difference between data science, machine learning, and artificial intelligence?


The fields do have a great deal of overlap. An oversimplified definition of the difference between the three fields:
  • Data science produces insights
  • Machine learning produces predictions
  • Artificial intelligence produces actions

David Robinson
http://varianceexplained.org/r/ds-ml-ai/

Nov 20, 2017

PuDB - visual Python debugger

Some useful shortcut keys:


Context
Purpose
Key

Move around dialogs
Arrow buttons

Focus console window
Ctrl X

Open external console (such as bpython)
!

See output
o

Open a module file
m

Focus variables window
V
Variable
expand/collapse
\ (backslash)

Wrap lines
w

Change sidebar width
+  and -

Change window size
[ and ]




Focus code window
C
(note: capitalized character)
Code
Step out
f

Run to cursor
t

Continue
c

Step into
s

Next
n

start/end
G and g

Go to line
L

Focus stack trace
S

Focus breakpoint
B

Toogle breakpoint
b

Redraw screen
Ctrl L

Nov 7, 2017

Linux dev apps

https://github.com/Philip-Scott/Notes-up

https://github.com/lainsce/yishu/


https://github.com/zealdocs/zeal
Documents

https://github.com/horst3180/arc-theme

https://github.com/mypaint/mypaint

https://git-cola.github.io/


Web based

Presentation
https://yhatt.github.io/marp/

Time management
https://github.com/overshard/timestrap

Offline save
https://github.com/wallabag/wallabag

Photo albums
https://github.com/electerious/Lychee

Great Javascript libraries

http://riotjs.com
I don't need ReactJS. This is much better in term of control and feel,
in sacrifice of eco


http://blissfuljs.com
I don't need jquery

Oh don't edit URI manually, save your life:
https://github.com/medialize/URI.js

A pleasant JS/CSS loader
https://github.com/muicss/loadjs

Small messaging
https://github.com/CodeSeven/toastr
http://justindomingue.github.io/ohSnap/

Picker
http://christophilus.com/tiny-date-picker/

Drag & drop
https://draggabilly.desandro.com/

Best WYSIWYG
https://github.com/summernote/summernote

Great Python libraries


webassets - framework independent asset manage (+Coffee/SASS/minify...)
https://github.com/miracle2k/webassets

Enteprise CRUD
https://github.com/odoo/odoo

Fuzzy string match
https://github.com/seatgeek/fuzzywuzzy

Encryption and sigining
https://github.com/pyca/pynacl

Date & time
https://github.com/crsmithdev/arrow

Visual PDB
https://github.com/inducer/pudb

Validate! Validate!
https://github.com/pyeve/cerberus

theskumar / python-dotenv

Aug 25, 2017

Systemd log files

Systemd only store file in disk if /var/log/journal folder exists.

Restrict log grow

# /etc/systemd/journald.conf
SystemMaxUse=1G
SystemKeepFree=512M
RuntimeMaxUse=512M
RuntimeKeepFree=512M
Reload
systemctl restart  systemd-journald


Clean manually

journalctl --vacuum-size=1G

Archlinux

* Nice feature: freeze Arch binary to a specific date, so I can install without updates
until I want :D

https://wiki.archlinux.org/index.php/Arch_Linux_Archive


* Other way to run container, without Docker
https://wiki.archlinux.org/index.php/Systemd-nspawn