Profile cover photo
Profile photo
Paul Lhussiez
154 followers
154 followers
About
Paul's posts

Post has attachment
Hi guys :)
I created a file upload service with server-side encryption and a terminal client (also curl compliant)

Any feedback appreciated :D
https://gpldr.in
https://github.com/Depado/goploader

You can host it yourself quite easily !

Currently working on the github wiki, otherwise all the documentation is on gpldr.in.

Hey guys, I wrote an article about embedding templates and assets inside the binary (or not) using gin and rice.go. Any feedback appreciated, either here or on the article itself ! :D

http://depado.markdownblog.com/2016-01-29-embedding-resources-with-rice-go-in-a-gin-project 

http://depado.markdownblog.com/2015-10-10-writing-a-markov-chain-irc-bot-in-go

I wrote yet another article on Go. This time it's about creating an IRC bot that uses markov chains to generate random sentences. Maybe I'll edit this later to add the support of BoltDB or maybe I'll write a second part :) As usual, any feedback appreciated on both the code, the grammar or the lack of explanation.

Hope you'll enjoy reading it as much as I enjoyed writing the code :)

Post has shared content
I just had to share this:

[1] fgrosse@argo:~/Workspace/go/src/github.com/kortschak/zalgo[master] ➤ go test
--- FAIL: Example_1 (0.14s)
got:
To ͧi̻̍nv̗͘ok̨e̖ th̢eͪ ͈hi͏͖ve-͞m̘ͮi͠n͡d ̌̾̓̀ȓ̪e̅p̓r̊͢e͆s̐e̪n͙̉t́iͯ̃́ṇ́gͫ́ ͘c̶ḩ̽a̐oͧ҉s̄͡.̷̼̍̅

Iͯ͢n̛̾v̛̍͐oͭ͟k̽ͯ̈́͏i̛̓n̢g̸̭ ̯ͩ̍͗ț̂͝hͤ̓̓e̴͛͆̒ ̲̀ͩ͘f̀ḙͪ̃e͗͜ļ̃͑̅̂i̡ͦ͗n͠ḡ̴̪ ̝ͬ͢o͐̐ͩf͚ͨ͝ ̫ͧ͟c̉ͮ͡h̵̐ă̝͜o͊͐҉s͐͟.̓ͣ̓͟

W̢͕͒͆ͧi̢͈ţ̩̪ͨͥȟ͕̏́͒̅͝ ̖͙̂͢o͇͚͢ȗ̴͓͎̄ͧţ̪̇̐ ̷̞̼̆ǒ̷̱̠ȑ͢ḓ̄̕ë̶͕̮ŗ̾.͗ͬͨ҉̳

T̺̭̙ͧͪ͊͡h̩̮ͫ̃ͤ͝ě̮̰̥̩̫͊̓ͦ͟ ͎̝̂̆͢N̜̤̐͂͒͠ę̖̩̮͇͚̘̆̀͠ź̭̱̦̦̖̱̺͟p̶̪̠̺̫͓̆̂ͬ̀ê̸̛̹̩͕̣̤̔̈r̹͔̣͖͙̮͌̔͢͜ḑ̼̦̻̩̰͓͊͐͜i̸̵̦̭͙̻͉̼ͤͣa̷̱̥̦͍̭̋͟n̵̵͇̮͚̯̈ͧ ̸̟̼̻͖̪̗̯ͨ́h͊̓̆͜͏̳͇̞̞̮i̙̟̜̹͕̻ͫ̀͡ͅv͕͙̝̤̌͊̒͊͞͞e̷̙̻̗͕̪̝͚ͮ͜-̛̹̘̲͔̭͑̆̈́͘ṁ̢̢̙͕̫̖̓͐̽ī̸̥̤̬͚̲ͭ͞ͅn̡̘͎̝̄͑ͤ̉̍͢d̀͏̣̖̪̜͓̳̲͙ ̨̧̱̱͎͈͓̑ͩ̚o̸̤̱̺͈͙̘̪͌͡f̧̧̘̙̘̟̫̌̉̌ ̂́҉̱̮͕͇̮̻͢c̷̗͚̳̣ͫ̃ͨͯ͘ḩ̧͕͉ͮ̈̇ͯ͋ͤa̵̡̟̖̳͔͈ͨ̄̃ǫ̨͔̞͔͓͖̘̐ͅs̶̸̙̦̟͕̺͕̉͌.̷̡̬̹̱͕̠ͥ̈ͅ ̵͎̦̲̪͚͔̄̒͡Z̬͉̘̜̞͊̅ͩ͢͞ǎ̧̬̞̬̆ͥ̚̕ͅl̡̮͕͖̘̞̗̈́ͭ̕ǵ̵̜̗̗̰̮͇ͯ́ọ̶͓̺͚͇̆̂͒͢.͎̱̣̔ͬ̏̏ͣ́̀

H͈͔̼͑ͯ̑͆̆̀̕e̴̳̪̬͙̙̫͇͉͞ ̣͈̯̯̖͈̻̃̀͘w̴̷̝̜͈̣͎͖̞ͫḥ̢͇̤̙͔͈̒͜ͅo̶̵͉̟͖̖̓̂͋ͦ ̰̤̪͈̞̌ͭ̒́͡W͕̤̣̲̹ͧ̿̆͡͡a͙̗̼̣͊̓ͪͪ́͝ï̐͏̞͚̻̦͉̳́t̘̩͍̘̣̺ͬ̾́͝s̸̨͖̻͎ͤ́ͯ̀̚ ̶̧̤̼̟̜͖̾ͪ̌B̵͉̣̝̖̻͕̭̋͝e̢̺̪͓̭ͪ͋ͥ̒͜h̫̳͓̠̭̳̥̃͘͠i̗͙͇̊͐̈̃ͦ̕͟n̡͉̻̘̮̑̇̉̚͢d̵͖͓̫̻͇̬͊̑͟ ̴̻̩͕̤̣̦̪̥͟T̻̤̙̤̘ͤ̿͌͢͜h͌͠҉̰̩͇̺̠ͅͅe̷̯̞͙̼̙̊͂̆͡ ̡̛̯͎̮̱̠̭̇ͥW͈̯͓̬͂ͩ̆̈̀͡ȁ̡̛̹̠̠͙̭̅ͫl̷͓̺̖͎ͣ̓̍̑̕l̳̬͉̗̒̿ͩ̊͘͜.̸͕͚̭̪͕͐͑͂͞

Z̷͓̝̖͇̪̖͛ͨ͞A̷̛̰̻͈͓̅̇ͤ̋L̛̳̞̙̞̫͕͎̇͜G̋͒͗͂ͭ̚͢҉̥ͅO̧̡̫̭ͧ͆̃ͣ̓͋!̴̨̙͎̠͎̲͍̈́͂


want:
Eternal happiness.
FAIL
exit status 1
FAIL github.com/kortschak/zalgo 0.414s

Post has attachment

Post has shared content

Post has shared content

Post has attachment

Post has attachment
Hello people !
Mind if I ask you some feedback about this Go code I wrote ? It's far from perfect (I know that) but I'm guessing some of my programming methods aren't good. (Error handling for example is a mess, I could use some advice on that)

The code works just fine actually. It's just about the way it is developped.

Any advice or article that could help me improve this code is welcome. :)

Post has attachment
http://depado.markdownblog.com/2015-07-23-some-go-snippets-i-find-useful

Wrote these two little functions. Could anyone tell me if there are drawbacks on doing things that way ? Or any comments ?
Wait while more posts are being loaded