Profile

Cover photo
Maxime Poulin
Attended Cégep Limoilou
Lives in Beauport, Québec, QC, CA
201,037 views
AboutPostsCollections

Stream

Maxime Poulin

Shared publicly  - 
 
I made not only one, but TWO triangles! #OpenGL  isn't exactly the easiest thing to get going, but hopefully I can get a cube soon. And bigger models. And switch to manual memory management, because right now the destructors are only called when the GC collects, and since the program is so small it only does so at the end of the program. But it's a start!

EDIT: In case anyone is interested in seeing the source code (and by extension how bad I suck as OpenGL and probably fucked up my renderer design already): http://git.max-p.me/Max-P/opengl-playground
2
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Someone who uses my git server (git.max-p.me) gave a link to a friend to share a project.

"Oh, didn't knew GitMax, it's a new GitHub service?"

We're still both laughing at it. My git server will therefore now officially be named "GitMax" (although that's just a basic Gogs that's not even customized at all).
3
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Welp, apparently Shout (in NodeJS) is significantly more reliable than ZNC. ZNC just shits itself and never reconnects after only hours while Shout pretty much stays on until the frontend can no longer sync with the backend.
1
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Downloading updates as system user over plain HTTP. For fucks sake Samsung, million dollar company and you can't pay developers smart enough to understand the very basic concept that you don't fucking download ANYTHING over HTTP, like, EVER. Especially on mobile devices that frequently hops on untrusted networks. At least not without proper strong package signing.

(And this is all disregarding the fact that the keyboard runs as system, because fuck the least privileges rule)

https://www.nowsecure.com/blog/2015/06/16/remote-code-execution-as-system-user-on-samsung-phones/
A remote attacker capable of controlling a user’s network traffic can manipulate the keyboard update mechanism on Samsung phones and execute code as a privileged (system) user on the target’s phone.
2
Douglas McMillan's profile photo
 
Well said.
Add a comment...

Maxime Poulin

Shared publicly  - 
 
My IRC client crashed a few times today. So now I want to make an IRC daemon + client to replace that nodejs pile of crap I'm using.

I need to stop
1- Burning myself up doing more work while I can barely handle a few hours of regular work during the week
2- Wanting to rewrite everything
2
Maxime Poulin's profile photoJason Weatherly's profile photoMike Wallace (MikeWallaceDev)'s profile photo
6 comments
 
Hmm, I don't remember the name of the one I use on my tablet. It was ok, lacked name completion. 
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Pushed to githib and dub. Now everyone's programs can segfault because of me! :D
2
Jason Weatherly's profile photo
 
Nothing like a good segfault to get the day going.
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Weee, I'm finally done with that stupid GeoIP database library! Damn, it took much, much longer to port than I expected. Just to identify in which country the user lives so I can know if we need to charge taxes or not... sigh, stupid tax laws.

That database format is somewhat nice, and somewhat pretty bad at the same time. The lookup table appears to be very fast (is it a btree? I have no idea what those things are named), but the data and metadata sections are a complete clusterfuck of nonsense for which the documentation is very confusing (you have to search backward for a 12 byte long tag to find the metadata section, instead of just putting it at the beginning of the file, which is of course required to even be able to read what's at the beginning...) They tried to pack a lot of data in tiny spaces, and that results in some nonsense. It's impossible to lazy-parse it: you have to traverse the whole thing, and each type is even more confusing than the other. At some spots we count bytes, at some spots we count values, and at some places it's litterally both. Yikes.

Probably going to push it to GitHub and then on the dub registry tomorrow for others to use, just need to add a bit of a finishing touch to it. The code is probably a disaster, but it works (for me).

It's on my server for now, and I'm going to have a quick well deserved Smirnoff Ice.
http://git.max-p.me/Max-P/dmaxminddb/src/master
2
Maxime Poulin's profile photo
 
And an example output the example program generates: http://d.max-p.me/temp/dmaxminddb.txt
Add a comment...

Maxime Poulin

Shared publicly  - 
 
"Yay, all unit tests passing!"

I can't stop laughing at it.
2
Add a comment...

Maxime Poulin

Shared publicly  - 
 
"Due to licensing restrictions in your country, our radios can only be listened from our website.", says the downloaded .pls from DigitallyImported.

Weird, the previous playlists I had from before still work fine... Oh. Well, that's an easy fix to bypass this bullshit. Change the link to where it logically would be and presto, it works!

I wonder if that's really an oversight, or just the developers being smart to please management without really caring about this kind of stupid stuff.
1
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Woahh, this is crazy. More neural networks... I wish I understood this all works!
Google sets up feedback loop in its image recognition neural network, creating hallucinatory images that veer from beautiful to terrifying
5
2
Douglas McMillan's profile photoNigel Swan (Snott)'s profile photoPatrick Corbett's profile photo
 
You can see how they do it, but I think it would need to do a pass like this for every image or variation it 'knows'. You can also see the 'shape' of their sharpening algorithms. Exceptionally pretty stuff though, and if you've tried their image search on Android, quite effective as well.
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Fuck. I ran "systemctl poweroff" on my host instead of my VM. They had to dispatch someone in the datacenter to go press the power button to start it back up.

Whoops.
3
Maxime Poulin's profile photoDouglas McMillan's profile photo
3 comments
 
Cool. Depending on what terminal emulator you use, you may be able to do We should name the colour "Don't reboot me" red. 
Add a comment...

Maxime Poulin

Shared publicly  - 
 
Neural networks applied to Super Mario World!
 
I wrote a program that teaches itself how to play Super Mario World! I call it MarI/O
258 comments on original post
2
Add a comment...
Maxime's Collections
Story
Tagline
A very arrogant sarcastic developer. Works as intended, wontfix.
Introduction
I love computers and electronics. I could sit in front of a computer all day long! I know bits of everything I can get my hand on, which is pretty helpful in programming to have a general idea of what the hell is going on between the program I wrote and the hardware it's running on. People seems to think I work well although there's always room for improvement.

I'm a bit shy but I like meeting new people and talking.  I like to keep it simple and straightforward. If I have something to say believe be you will know about it.

Also, I'm such a faggot ~
Bragging rights
I didn't go to school for any of the tasks I do for work. Such a waste of time.
Education
  • Cégep Limoilou
    Sciences informatiques et mathématiques, 2009 - 2012
Basic Information
Gender
Male
Looking for
Friends, Dating, A relationship, Networking
Work
Occupation
Programmeur
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
Beauport, Québec, QC, CA
Previously
Beaupré, Québec, QC, CA - L'Ange-Gardien, QC, CA
Links