Encyclopedia of Programming Languages
http://progopedia.com/
Snippets and thoughts from a passionate software developer interested in all things DevOps, Continuous Delivery, Functional Programming, Distributed Systems. Also on Twitter as @mcallana.
Thursday, June 30, 2011
Tuesday, June 28, 2011
Friday, June 24, 2011
Language Classifications
Strict (call-by-value)
Lazy (call-by-need)
Pure
Static
Dynamic
Duck-typed
Functional
Object-oriented
Lazy (call-by-need)
Pure
Static
Dynamic
Duck-typed
Functional
Object-oriented
Language | Pure | Strict | Non-Strict (Lazy) |
---|---|---|---|
Haskell | Yes | No | Yes |
ML | |||
Erlang | |||
Scheme | |||
Java | |||
C# | |||
Scala | |||
Ruby | |||
F# | |||
SQL | |||
Regex |
OCaml notes
Functional core of Objective CAML:
http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora015.htmlVariables are variable:
# letp
=
1
0
;;
val p : int = 10
# letk
x
=
(x
,
p
,
x
+
p);;
val k : int -> int * int * int =
# kp
;;
- : int * int * int = 10, 10, 20
# letp
=
1
0
0
0
;;
val p : int = 1000
# kp
;;
- : int * int * int = 1000, 10, 1010
http://caml.inria.fr/pub/docs/manual-ocaml/expr.html
Looping:
while expr1 do expr2 done
for name = expr1 to expr2 do expr3 done
for name = expr1 downto expr2 do expr3 done
Exceptions: try ... with ... -> ...
Objects
Coercion (casting to superclass): subobject :> superclass
Message sending (calling method on object): object # method
Object duplication: Oo.copy
Recursive functions: rec
String concatenation: ^
Characters delimited by ` not ': `a`
http://caml.inria.fr/pub/docs/oreilly-book/html/book-ora016.html#toc21
Tuples
Records
Sum Types
Constant Constructor: typesuit
=
Spades
|
Hearts
|
Diamonds
|
Clubs
;;
Constructor with Args: typecard
=
King
of
suit
|
Queen
of
suit
|
Knight
of
suit
|
Knave
of
suit
|
Minor_card
of
suit
*
int
|
Trump
of
int
|
Joker
;;
Recursive Types
Parameterised Types: type('a
,
'b)
list2
=
Thursday, June 16, 2011
Monday, June 13, 2011
Yow Night - Cloud
Cloud
8/6/2011
Tim Buntel – MS SQL Azure
www.windowsazurepass.com
Promocode: Azurecloud
Clayton Brown – SalesForce
IaaS, PaaS, Saas
Hardy – Ninefold
Iaas
5 key concerns
• Latency
• Self-service
• Data jurisdiction
• Solid financial backing
• Local support
XenServer or VMWare
CentOS, Open SUSE, Ubuntu, Windows 2003/08
Upload ISO
Don’t pay if don’t use
Starts from 2.2c/hr ($30/m) 1 CPU, 384Mb RAM, 80Gb HDD
James Durell – SpringSource Cloud Foundry
Open PaaS
github.com/cloudfoundry
Security?
Risk?
Insurance?
DR?
8/6/2011
Tim Buntel – MS SQL Azure
www.windowsazurepass.com
Promocode: Azurecloud
Clayton Brown – SalesForce
IaaS, PaaS, Saas
Hardy – Ninefold
Iaas
5 key concerns
• Latency
• Self-service
• Data jurisdiction
• Solid financial backing
• Local support
XenServer or VMWare
CentOS, Open SUSE, Ubuntu, Windows 2003/08
Upload ISO
Don’t pay if don’t use
Starts from 2.2c/hr ($30/m) 1 CPU, 384Mb RAM, 80Gb HDD
James Durell – SpringSource Cloud Foundry
Open PaaS
github.com/cloudfoundry
Security?
Risk?
Insurance?
DR?
Yow night – 12 Agile Adoption Failure Modes
Jean Tabaka
9/6/2011
Rally: Tim Miller, Ryan Martins
pm.stackexchange.com
Most orgs have suicidal tendencies
It’s about caring for your world
David Snowden sense making – failure stories are most powerful
Agile helps me be a better me/artist – create your own reality
- Checkbook commitment
- Unengaged – just do it
- Culture that doesn’t support change
- “Follow the plan”
- Need to change the metrics
- Best practices… good practices… emergent practices
- Standard of work enforced
i. Governance = conformance
ii. Standard of work is static
iii. Cross-org uniform
iv. Detailed documentation security blanket
v. PMO as enforcers
- Ineffective use of retrospectives
- “This sucks” threshold – if nothing’s gonna change, why bother?
- Should ask:
i. What are we doing well?
ii. What’s not serving us as a team?
iii. What would we change to improve?
- No retrospective
- There is absolutely nothing wrong
- No action
- Stable environment?
- TANSTAAFL – There ain’t no such thing as a free lunch
- Will work for infrastructure
- Lack of full planning participation
- Waiting for decisions = waste
- Conversation
- Unavailable product owner
- Too many product owners
- Too busy for all the communicating
- Product owner = hardest role. What does product owner get out of it?
- Commitment with team
- Bad scrum masters
- Command and control
i. Telling people what to do = Low morale and lower IQs
ii. Cognitive abilities approve the more decisions we make
- Servant Leader
i. Serve and facilitate
ii. Remove impediments
- Not having an onsite evangelist
- Team lacking
- Red tape decisions
- Not forming, storming, norming, performing
- Testing not pulled forward
- Pushed to deliver
- Increased defects
- Failure-demand work vs value-demand work
- Piled up trash
- Stop the line
- Traditional performance appraisals
- Manager’s yearly evaluation
- Individual heroics rewarded – holds back agile success
- Frequent team evaluation
- Reverting to form
- Change is hard
Saturday, June 11, 2011
Monads for Java Programmer
http://irekjozwiak.com/entry/2009/06/13/Monads-for-Java-C---programmers.html
(>>=) bind
(>>=) bind
a1 >>= a2 = join (fmap a2 a1)
fmap _ Nothing = Nothing
fmap someFunction (Just a) = Just (someFunction a)
> fmap (+ 2) (Just 4)
Just 6
> fmap (+ 2) (Nothing)
Nothing
join Nothing = Nothing
join (Just Nothing) = Nothing
join (Just (Just x)) = Just x
Friday, June 10, 2011
Dan Pink: Team motivation
http://blog.agilegamedevelopment.com/2011/03/team-motivation.html
1. Money does not incentivise better work (except in monkey work).
2. If-then rewards often destroy productivity
3. The secret to high-performance is unseen intrinsic drive to do things because they matter
4. We already know this, the science confirms this, business ignores it
Building blocks for a new way of working:
Autonomy - The urge to direct our own lives
Mastery - The desire to get better at something that matters
Purpose - The yearning to do what we do in service of something larger than ourselves
Intinsic motivation
ROWE - Results Oriented Work Environment
No schedules - show up when you want
Just have to get their work done. How, when, where up to them.
1. Money does not incentivise better work (except in monkey work).
2. If-then rewards often destroy productivity
3. The secret to high-performance is unseen intrinsic drive to do things because they matter
4. We already know this, the science confirms this, business ignores it
Building blocks for a new way of working:
Autonomy - The urge to direct our own lives
Mastery - The desire to get better at something that matters
Purpose - The yearning to do what we do in service of something larger than ourselves
Intinsic motivation
ROWE - Results Oriented Work Environment
No schedules - show up when you want
Just have to get their work done. How, when, where up to them.
Subscribe to:
Posts (Atom)