Joined April 2013
·
Posted to
Creating a simple TCP server in Go
over 1 year
ago
Hello Daniel!
I do not think it is good practice to require the handler to close the connection. It should be closed by the caller.
Posted to
You don't need to have "Prelude" in your ghci prompt
over 1 year
ago
But this cancels out every other module as well…
Since prelude is loaded nearly everytime, I'd like to have a way to show every loaded module except prelude.
Posted to
Setting a lambda prompt in Haskell
over 1 year
ago
Have seen this to late and wrote another tip regarding the Lambda and the modules at https://coderwall.com/p/13h9bw
I also covered coloring there.
Posted to
Installing PhantomJS 1.9 on Ubuntu 12.04 x64/x86
over 1 year
ago
Try to do sudo apt-get remove phantomjs
first, then run the commands again.
Achievements
150 Karma
16,783 Total ProTip Views
Altruist
Increase developer well-being by sharing at least 20 open source projects
Epidexipteryx
Have at least one original repo where C++ is the dominant language
Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos
Charity
Fork and commit to someone's open source project in need
Mongoose 3
Have at least three original repos where Ruby is the dominant language
Mongoose
Have at least one original repo where Ruby is the dominant language
And I just realise, the use of
ALL_UPPER_CASE_CONSTANTS
is not idiomatic go. Constants in go are named just as everything in go using camelcase, where the first letters case indicates wether the constant is exported or not from the package. Exporting frommain
does not make sense, since you can not import a package namedmain
.