Profile

Cover photo
Gustav Paul
Lives in Stellenbosch
95 followers|16,641 views
AboutPostsPhotosVideos

Stream

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...

Gustav Paul

Shared publicly  - 
 
https://www.usenix.org/system/files/conference/osdi14/osdi14-paper-yuan.pdf

you have more catastrophic failures, I have more
if err != nil
if err != nil
if err != nil
if err != nil
...
no trade, sorry
1
Add a comment...
In their circles
104 people
Have them in circles
95 people
Jessica Rochefort's profile photo
Tom Locke's profile photo
AJ Kock's profile photo
Dean van Zyl's profile photo
Gideon Maree's profile photo
Fritz Paul's profile photo
Dirk Keen's profile photo
jodi Hugo's profile photo
Jodi Paul's profile photo

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...

Gustav Paul

Shared publicly  - 
 
gnome+nvidia leads to annoying damage/repaint issues and kde's KIO isn't supported by neither sublime text nor emacs. it turns out kde with 'n dose of gvfs via gnome's nautilus is the way to go for me.
1
Walter Schulze's profile photoHans van der Merwe's profile photoGustav Paul's profile photo
4 comments
 
it's certainly annoying having to mount stuff this way but its ok for now - i'm actually considering getting /etc/fstab involved.
Add a comment...

Gustav Paul

Shared publicly  - 
 
I was on leave yesterday to go rock climbing on Table Mountain, then I get to work today to find Jay Kreps' I (heart) Logs has arrived and is lying on my desk. If you get the chance, work on any team managed by my friend (and manager) John Gilmore, you rock dude!
1
John Gilmore's profile photo
 
Thanks man :-)
Add a comment...

Gustav Paul

Shared publicly  - 
 
From 'real world haskell'

A helpful analogy to understand the value of static typing is to look at it as putting pieces into a jigsaw puzzle. In Haskell, if a piece has the wrong shape, it simply won't fit. In a dynamically typed language, all the pieces are 1x1 squares and always fit, so you have to constantly examine the resulting picture and check (through testing) whether it's correct.
3
Add a comment...
People
In their circles
104 people
Have them in circles
95 people
Jessica Rochefort's profile photo
Tom Locke's profile photo
AJ Kock's profile photo
Dean van Zyl's profile photo
Gideon Maree's profile photo
Fritz Paul's profile photo
Dirk Keen's profile photo
jodi Hugo's profile photo
Jodi Paul'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