codeblocks
codeblocks
[code blocks]
162 posts
Like the smell of rain on a summer day: coding
Don't wanna be here? Send us removal request.
codeblocks · 8 years ago
Link
Combined my blog with my portfolio, and got them all hosted on my own business. Drop on by!
0 notes
codeblocks · 8 years ago
Text
Installing Golang on OSX with Brew and oh-my-zsh
brew install go worked well, as expected. However, at the end of the installation, the notes suggest I add GOROOT to my path:
You may wish to add the GOROOT-based install location to your PATH: export PATH=$PATH:/usr/local/opt/go/libexec/bin
Buuuuut, it didn't work. After trying out some different iterations, I was reminded when ls-ing through the surrounding directories that /usr/local/opt/go/... was aliased because Homebrew. This Stack Overflow answer reinforced my hunch. So, I updated my .zshrc:
export GOPATH="/Users/IceKing/Code/go" export GOROOT="/usr/local/Cellar/go/1.7.1/libexec" export PATH="$PATH:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:$HOME/.npm-packages/bin:$GOROOT"
and it worked.
Background: homebrew, the missing package manager for osx | oh my zsh shell | golang
0 notes
codeblocks · 8 years ago
Photo
Tumblr media
Learning about the random function in Processing is evoking the same feeling I had when I first learned about HTML's <blink> tag.
0 notes
codeblocks · 9 years ago
Quote
In 1996 Keith Shafer and several others proposed a solution to the problem of broken URLs. The link to this solution is now broken. Roy Fielding posted an implementation suggestion in July of 1995. The link is now broken.
src
0 notes
codeblocks · 9 years ago
Quote
...making positive outcomes the easiest and default approach creates positive feedback loops
src via this tweet
0 notes
codeblocks · 9 years ago
Photo
Tumblr media
Sunday Funday.
0 notes
codeblocks · 9 years ago
Photo
Tumblr media
http://frontside.io/blog/2016/07/07/the-conjoined-triangles-of-senior-level-development.html
0 notes
codeblocks · 9 years ago
Quote
PowerPoint is just simulated acetate overhead slides, and to me, that is a kind of a moral crime.
Alan Kay, src
0 notes
codeblocks · 9 years ago
Text
"Recursion is the GOTO of functional programming." -- Erik Meijer
def fact(n): return reduce(lambda x, y: x * y, range(1, n + 1)) print(fact(5)) #=> 120
0 notes
codeblocks · 9 years ago
Photo
Tumblr media
0 notes
codeblocks · 9 years ago
Quote
This book is dedicated, in respect and admiration, to the spirit that lives in the computer. >I think that it's extraordinarily important that we in computer science keep fun in computing. When it started out, it was an awful lot of fun. Of course, the paying customers got shafted every now and then, and after a while we began to take their complaints seriously. We began to feel as if we really were responsible for the successful, error-free perfect use of these machines. I don't think we are. I think we're responsible for stretching them, setting them off in new directions, and keeping fun in the house. I hope the field of computer science never loses its sense of fun. Above all, I hope we don't become missionaries. Don't feel as if you're Bible salesmen. The world has too many of those already. What you know about computing other people will learn. Don't feel as if the key to successful computing is only in your hands. What's in your hands, I think and hope, is intelligence: the ability to see the machine as more than when you were first led up to it, that you can make it more. Alan J. Perlis (April 1, 1922-February 7, 1990)
https://mitpress.mit.edu/sicp/full-text/book/book-Z-H-3.html
0 notes
codeblocks · 9 years ago
Text
Massimo Banzi’s 13 Rules for Open Source Projects
Adapted from a talk by Massimo Banzi, co-founder of Arduino, presented at World Maker Faire 2011 in New York.
1. Don’t make something you don’t use yourself.
2. Know who you are making it for.
3. Know what you want out of it.
4. Make projects, not platforms.
5. Respect the intelligence of the beginner.
6. Experts are not the best advisors when you want to make tools for beginners.
7. If nobody complains you’re doing something wrong.
8. Including people is hard (but necessary)
9. Good hardware, good software, good explanations, and generous users make a great project
10. If you’re not prepared to have someone adapt, improve, clone, or trash your work, don’t share it.
11. Open source software doesn’t necessarily translate into a business model… open source hardware must.
12. Expect resistance… and conspiracy theories.
13. Don’t let the fact that you don’t know what you’re doing stop you.
135 notes · View notes
codeblocks · 9 years ago
Photo
Tumblr media
163 notes · View notes
codeblocks · 9 years ago
Photo
Tumblr media
30K notes · View notes
codeblocks · 9 years ago
Text
When my teammates try to push to the same branch at the same time
/* by chrisbodhi */
29 notes · View notes
codeblocks · 9 years ago
Text
Use this one trick to get the version of a locally-installed Node module
npm view MODULE | grep version:
0 notes
codeblocks · 9 years ago
Photo
Tumblr media
Confusion / Anxiety / Resistance / Frustration / False Starts / Change / Vision / Skills / Incentives / Resources / Action Plan (via A Framework for Thinking About Systems Change · Intense Minimalism)
137 notes · View notes