- "Are you asking what tools we'd recommend? I love PhpStorm and HeidiSQL"
- "If the newbie has experience with a few other languages, he/she should be able to pick up PHP on the fly. As such, I would have him/her read all of the documentation for the framework your team uses, i.e. Laravel, Symphony, etc. Reading through these framework docs will not only give the newbie an idea of PHP's syntax, but also a head start on understanding how your framework functions. There are so many good articles and videos on Laravel, for example. and I would be remiss if I didn't mention the PSR documentation at php-fig.org."
- "Honestly the documentation for Laravel is so good that I would seriously consider starting there."
- "If they have no php and minimal development background: https://www.amazon.com/Wicked-Cool-PHP-Real-World-Difficult/dp/1593271735"
- "It's not modern but it's a quick, results oriented way to get moving. After they have some basis they can move into small projects
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function parse_git_dirty { | |
[[ $(git status 2> /dev/null | tail -n1) != "nothing to commit, working tree clean" ]] && echo "*" | |
} | |
function parse_git_stash { | |
[[ $(git stash list 2> /dev/null | tail -n1) != "" ]] && echo "^" | |
} | |
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e "s/* \(.*\)/\1$(parse_git_dirty)$(parse_git_stash)/" | |
} | |
PS1='kman:> \W \[\e[0;36m\]$(parse_git_branch)\[\e[m\] $ ' |
- https://medium.com/@diamondgfx/phoenix-v1-1-2-and-react-js-3dbd195a880a#.9v6fcp4as
- https://github.com/slashdotdash/phoenix-react-redux-example
- https://github.com/bigardone/phoenix-trello
- https://www.viget.com/articles/phoenix-and-react-a-killer-combo
- https://blog.diacode.com/building-a-simple-chat-using-phoenix-framework-presence-and-react
- https://10consulting.com/2015/11/18/phoenix-react-redux-example/
- http://blog.overstuffedgorilla.com/render-react-with-phoenix/
- https://www.learnphoenix.io/#/?_k=3hm6q6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ExpensiveOperationWorker do | |
# recursion and pattern matching | |
def process([head | tail]) do | |
operation_passed?(head) && process(tail) | |
end | |
def process([]), do: true | |
# Enum.reduce_while | |
def process_operations(operations) do | |
Enum.reduce_while(operations, true, fn number, acc -> |
#Elixir chat client & functional programming talk outline http://www.meetup.com/dev-coop/events/232116993/
- Review previous weeks
- https://github.com/kblake/functional-programming
- Functional Programming
- OOP has lead to complex software patterns
- Multicore, distributed, concurrent world
- Functions: pure, no side-effects, deterministic
- Immutability: known data, copy and alter, avoid race-conditions
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defmodule ChatClient do | |
@server_name :chat_server | |
def hello do | |
IO.puts "hello world!!!" | |
end | |
def join_server server_id, cookie \\ :"cookiemonster" do | |
Node.set_cookie(Node.self, cookie) | |
pid = spawn(__MODULE__, :message_listener, []) |
- http://neuralnetworksanddeeplearning.com/index.html
- https://en.wikipedia.org/wiki/Backpropagation
- http://yann.lecun.com/exdb/publis/pdf/lecun-98b.pdf
- http://page.mi.fu-berlin.de/rojas/neural/chapter/K7.pdf
- http://andrew.gibiansky.com/blog/categories/machine-learning/
- http://natureofcode.com/book/chapter-10-neural-networks/
- http://www.andreykurenkov.com/writing/a-brief-history-of-neural-nets-and-deep-learning/
- http://whiteboard.ping.se/MachineLearning/BackProp
- https://github.com/jostmey/DeepNeuralClassifier#theory
- https://en.m.wikipedia.org/wiki/Delta_rule
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Read more here: | |
http://www.benjaminoakes.com/2013/10/15/superclass-mismatch-when-inheriting-from-struct-new/ | |
http://thepugautomatic.com/2013/08/struct-inheritance-is-overused/ | |
http://idiosyncratic-ruby.com/18-con-struct-attributes.html#why-not-structs-everywhere | |
https://twitter.com/joshsusser/status/365286610578849794 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
test_scores = [88, 100, 93, 65, 89, 90, 78, 99, 54] | |
If given an array of integers, display a horizontal histogram using ‘*’ | |
For example, | |
Produce: | |
88 : **************************************************************************************** |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
IO.puts "Conway's Game of Life" | |
defmodule Cell do | |
def next_cycle do | |
receive do | |
{sender, number_live_neighbors} -> | |
cond do | |
number_live_neighbors < 2 -> | |
send sender, {:died, die_off} | |
number_live_neighbors > 3 -> |
NewerOlder