Sign in

Patrick is a software engineer from New England. Today, he resides in Seattle where he enjoys playing chess and ice hockey.
Close-up photograph of a ruby gemstone
Close-up photograph of a ruby gemstone
Photo by Joshua Fuller on Unsplash
class Txn
ACTIONABLE_STATES
= [:authenticated, :to_settle]
DONE_STATES = [:settled, :declined]
end
txn.state
# :settled
txn.state.in? ACTIONABLE_STATES
# true
def some_method
all_states
= Txn::ACTIONABLE_STATES.concat(Txn::DONE_STATES)

all_states.each do |state|
# ... …


Photo by Luca Bravo on Unsplash
/**
* Foo.java
*/

public class Foo {
public static String foo = Config.getInstance().getFoo();
}


Use the <article> tag

The title should be a <h1> tag


What changed

The rationale



Synthesizing a full major out of MIT’s OpenCourseWare


  • Are there patterns?
  • If not, is it suitable for random number generation?

Method

import matplotlib.pyplot as plt import numpy as np with open('pi.txt') as f: read_data = f.read() # 0 1 2 3 4 5 6 7 8 9…

The Dvorak Simplified Keyboard, patented in 1936

Why did I switch in the first place?

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store