- "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 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
-- PostgreSQL 9.2 beta (for the new JSON datatype) | |
-- You can actually use an earlier version and a TEXT type too | |
-- PL/V8 http://code.google.com/p/plv8js/wiki/PLV8 | |
-- JSON Types need to be mapped into corresponding PG types | |
-- | |
-- Number => INT or DOUBLE PRECISION | |
-- String => TEXT |
This file contains 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\] $ ' |
This file contains 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
#RUBYISMS | |
a = b.foo | |
if a.empty? | |
a = b.bar | |
else | |
a.reverse! | |
end | |
#can be simplied a little by assigning and |
#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
- 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 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 -> |
This file contains 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 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
# Erlang R16B | |
# Elixir 0.9.3 | |
# amrita 0.1.3 | |
# mix.exs ##################################### | |
defmodule AmritaSandbox.Mixfile do | |
use Mix.Project | |
def project do | |
[ app: :amrita_sandbox, |
NewerOlder