This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
- Haskell is a functional programming language.
# Path to your oh-my-zsh configuration. | |
export ZSH=$HOME/.oh-my-zsh | |
# Set name of the theme to load. | |
# Look in ~/.oh-my-zsh/themes/ | |
# Optionally, if you set this to "random", it'll load a random theme each | |
# time that oh-my-zsh is loaded. | |
#export ZSH_THEME="robbyrussell" | |
export ZSH_THEME="zanshin" |
Latency Comparison Numbers (~2012) | |
---------------------------------- | |
L1 cache reference 0.5 ns | |
Branch mispredict 5 ns | |
L2 cache reference 7 ns 14x L1 cache | |
Mutex lock/unlock 25 ns | |
Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
Compress 1K bytes with Zippy 3,000 ns 3 us | |
Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
This is a summary of the "Learn You A Haskell" online book under http://learnyouahaskell.com/chapters.
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
{- | |
Денис Шевченко, 2015 | |
-} | |
module Main where | |
import Control.Monad.Writer.Lazy | |
import Data.Functor ((<$>)) | |
import Data.List (dropWhileEnd) | |
import Data.Char (isSpace) |
WARNING This list outdated, for the up to date version visit https://haskellcosm.com
Types of work:
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
##Classical Inheritance emulation experiments in Javascript. the Second one
I've been experimenting different ways to emulate classical inheritance in javascript and I will daily publish insights about some experiments that I've been doing in the last months till I reach a stable and usable solution for this inexistent problem.
The Second one:
function Class(){}
# Hello, and welcome to makefile basics. | |
# | |
# You will learn why `make` is so great, and why, despite its "weird" syntax, | |
# it is actually a highly expressive, efficient, and powerful way to build | |
# programs. | |
# | |
# Once you're done here, go to | |
# http://www.gnu.org/software/make/manual/make.html | |
# to learn SOOOO much more. |
=Algorithms | |
+ Дискретная математика для программистов Г. Хаггард | |
+ Concrete Mathematics: A Foundation for Computer Science Ronald L. Graham | |
+ Алгоритмы. Построение и анализ Томас Кормен | |
+ Искусство программирования. Том 1. Основные алгоритмы Дональд Кнут | |
+ The Algorithm Design Manual Steven S Skiena | |
+ Introduction to Distributed Algorithms Gerard Tel | |
+ Clever Algorithms: Nature-Inspired Programming Recipes Jason Brownlee |