Profile

Cover photo
Gustav Paul
Lives in Stellenbosch
94 followers|19,183 views
AboutPostsPhotosVideos

Stream

Gustav Paul

Shared publicly  - 
 
For the first time in the 4 years since I've switched from building web apps in ruby to distributed systems in golang I'm looking forward to building a web front-end.

http://elm-lang.org/

Elm looks like an awesome gateway drug to get my colleagues hooked on Haskell. For me it looks like a great way to bring Haskell into my work place.

Lastly, yay for maintainable web guis!
1
Gustav Paul's profile photoDaniël Malherbe's profile photo
3 comments
 
Really enjoying the knots vid... should dust off my old rusty remnants of math and install elm for playtime.
Add a comment...

Gustav Paul

Shared publicly  - 
 
Yesterday I mentioned how shit I predict stack + cabal, etc is going to be, given my experience with ghc+cabal on its own, but inflamed by the mess that is rvm. I'm very happy to report that Stack Is Amazing.

I repeat, stack makes me feel like a super hero. In order to setup haskell-mode I had to install a couple of haskell binaries like 'stylish-haskell', 'hindent', etc. This was super easy:

1. git clone the relevant repo
2. stack init (if there wasn't a stack.yml file already)
3. stack install
4. done.

I made a new project from a template - a directory structure I feel is immediately useful with ./src/ and a ./app/ directories with stubs showing how those two interact.

It has been a kickass experience. I had to manually copy the latest haskell-mode *.el files into the haskell-mode-13.14.2 directory created by the emacs 'package-install' from the elpa-stable repository, as the one that is currently there doesn't have stack-ghci support yet.
1
Add a comment...

Gustav Paul

Shared publicly  - 
 
Does anyone install programming language environments from the fedora mirrors? Every time I've tried and start getting anywhere with a new language it inevitably leads to a hell of PATH variable amputation.

RVM , rvm gemsets, rvm use system, etc VS ruby rpm

'rvm use system' thinks there's a system ruby, my GEM_PATH is completely schizophrenic, bundler thinks it is compiling code from space, its a total mess

More recently I experienced the joys of the packaged GHC and Cabal RPMs and had to take a vacation to recover from that hell.

Now once more I'm hit with:
Compiler version mismatched, found ghc-7.8.4 ... expected ghc-7.10.2. TT

Try running "stack setup" to install the correct GHC into /home/gustav/.stack/programs/x86_64-linux/

Oh. No. I feel another RVM approaching. I just hope Cabal is completely off my laptop, any leftover config files are sure to cause madness.

Every time I start working on a new language (or go back to an old one, in the case of ruby) I appreciate the "copy the source into your own repo"-style of vendoring followed by golang more and more.
1
Walter Schulze's profile photoGustav Paul's profile photo
3 comments
 
OK, it turns out stack is amazing. I'm making a new post.
Add a comment...

Gustav Paul

Shared publicly  - 
 
sometimes when i feel a little confused i just open up https://en.wikipedia.org/wiki/Duff%27s_device and read a bit. when i feel more confused, i switch back and find that my original problem is actually pretty simple
1
Add a comment...

Gustav Paul

Shared publicly  - 
New submitter Mokki writes: After many complaints that Samsung SSDs corrupted data when used with Linux, Samsung found out that the bug was in the Linux kernel and submitted a patch to fix it. It turns out that kernels without the final fix can corrupt data if the system is using linux md raid with ...
1
Add a comment...

Gustav Paul

Shared publicly  - 
 
Lovely view from my office balcony this morning. Wish i could capture the fresh smell, light breeze and sound of water and birds. Stellenbosch is awesome
4
Dean van Zyl's profile photoDonovan Thatcher's profile photo
2 comments
 
Lol. Almost the same as my view from block D ;)
Add a comment...
Have them in circles
94 people
sara mori's profile photo
Nadia Locke's profile photo
Pretty Mcetywa's profile photo
Donovan Thatcher's profile photo
Gideon Redelinghuys's profile photo
Lunate Rockinghorses's profile photo
Dirk Warnich's profile photo
SHAUN JANSA's profile photo
Andre Bergh's profile photo

Gustav Paul

Shared publicly  - 
 
my secret passion: knots!
I thoroughly enjoyed this very accessible talk by Kay Ye. Even if you know nothing about mathematics but just wonder what they do for fun, watch it!

https://www.youtube.com/watch?v=Wahc9Ocka1g&index=20&list=PLcGKfGEEONaCIl5eU53uPBnRJ9rbIH32R
1
Add a comment...

Gustav Paul

Shared publicly  - 
 
Classic commit message by @r:

cmd/doc: submit to the punched card tyranny

People use 80-column terminals because their grandparents used
punched cards. When I last used a punched card, in 1978, it seemed
antiquated even then. But today, people still set their terminal
widths to 80 to honor the struggles their fallen ancestors made to
endure this painful technology.

We must all stand and salute the 80 column flag, or risk the opprobium
of our peers.

For Pete's sake, I don't even use a fixed-width font. I don't even
believe in columns.

Fixes #11639 with extreme reluctance.

P.S. To avoid the horror of an automatically folded line of text, this commit message has been formatted to fit on an 80-column line, except for this postscript.
1
Add a comment...

Gustav Paul

Shared publicly  - 
 
beautiful start to the day having to change some old c++ code to read with O_DIRECT (sorry Linus). Nothing makes me smile like `man 2`
1
Add a comment...

Gustav Paul

Shared publicly  - 
 
i'm writing a tiny python cli. the code took 5 minutes to write and I've spent 10 fixing bugs. every single one would have been caught by a compiler's type checker. sigh.
1
Hans van der Merwe's profile photo
2 comments
 
But seriously, python defines a language that can be interpreted or compiled. Most implementations seem to op for interpretation, mostly to be able to use optimisers, see pypy.
If it is truly a problem look into pylint and pychecker, it performs mostly the same parsing as a compiler would. Or for long term use invest in an IDE with all the bell and whistles, pycharm comes to mind.
Add a comment...

Gustav Paul

Shared publicly  - 
 
my favourite little go play: http://play.golang.org/p/5pqL6ywl_4
1
Add a comment...
People
Have them in circles
94 people
sara mori's profile photo
Nadia Locke's profile photo
Pretty Mcetywa's profile photo
Donovan Thatcher's profile photo
Gideon Redelinghuys's profile photo
Lunate Rockinghorses's profile photo
Dirk Warnich's profile photo
SHAUN JANSA's profile photo
Andre Bergh's profile photo
Basic Information
Gender
Decline to State
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Stellenbosch