Details
-
AboutCreator of W.I.L.L, co creator of learn-blog, Linux officianado, python and machine learning enthusiast.
-
SkillsPython, js, machine learning, computational linguistics, Android, Linux administration, html, css, basic cpp and Java.
-
LocationAmerica
-
Website
-
Github
Joined devRant on 10/5/2016
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
-
Fuck oauth2. Is it a framework or a specification? It fails at both. If it's a framework I want implementations that I can use. If it's a spec I want clear documentation with examples. Fails at both.6
-
Anyone here implemented an oauth2 server in python?
I've been researching it for a fair bit, and it just seems like a giant swamp that I'd rather stay away from (ex: https://hueniverse.com/oauth-2-0-an...)
It also feels needlessly work intensive and (at least on the server side), underdocumented.
I'll probably be making my own custom solution.
Thoughts? -
Informal python poll:
Do you put your __init__ functions at the top or bottom of your classes?
AKA:
class myClass:
def mymethod(self, arg):
pass
def __init__(self):
pass
or...
class myClass:
def __init__(self):
pass
def mymethod(self, arg):
pass5 -
I just realized how weird my searches would seem to an outsider
"python twisted vs falcon celery"
"python hug vs falcon"
I do like naming stuff as animals though. Maybe we should sort all of the python web servers by speed and name them accordingly.
Falcon is obviously the fastest, we can name twisted cheetah, and all the way at the end Django becomes elephant. Big and powerful but soooooooooo slow. -
Me: After 3 days of deliberation, I finally picked a framework, I can jump into the rewrite
*2 hours of inspired coding later
I finished the configuration validation and logging setup! What was that framework again?1 -
I've been wandering around with a brain itch for the past few days trying to pick an API framework.
I wanted to something fast and async, so I would normally use Go, but it's an interface to a python project, so I had to find a good asynchronous python web server.
Twisted provides async options, but they aren't baked in, and tornado/cyclone/airohttp are written in a weird way for someone coming from flask/Django.
Finally I resolved to use Falcon, because it was built for APIs and async by default, but it was crazy verbose to write. I settled in to write it anyway... But then I found the perfect library. Hug: https://github.com/timothycrosley/....
I can finally think clearly.
Now I can finally write my code... At least until I have to pick a framework for the rewrite of the web app.5 -
Elon musk starts new companies like I start new projects.
I like that he's doing AI research, but it's annoying that the day after he tweets something, everybody's telling me that Elon Musk already invented true AI.
These companies are basically just think tanks, so why not call them that?4 -
*Writes something I think is clever
*Write like a 3 sentence comment explaining why it's clever.
*Smugly run.
*Doesn't work.
*Quietly erase line and comment.
*Repeat -
My file structure:
Documents -
- That one impeccably structured folder that I never remember to put anything in
- Gigantic project folder that will some day kill me in my sleep
- That one unrelated folder that all of my non project scripts just end up in. No structure whatsoever
- about 2 billion loose files5 -
running tar commands like
tar -abcdefghijfoeifjeoigejj3powogjp3wrijgo3iwerjgoijokjfwefmpwefoewfjweojfw66611 -
I feel like I'm in an abusive relationship with Ubuntu.
I love it but whenever I'm with it it screws up my environment and doesn't work when I need it to.
I go back to Windows reluctantly and get everything set up and stable. I'm happy, but not excited about it. And then, within a few months, I get that thought. Maybe if I put enough work in I can make Ubuntu work for me as my main environment.24 -
I serialized and parsed a million reddit comments with spacy on my laptop.
It took over an hour.
And then, right when it finished....
http://imgur.com/TIiACHC
I forgot to change from json to ujson
FML.4 -
I'm proud to announce a new project made by myself and @thejohnhoffer, that started on devrant.
We started collaborating after I made a rant about machine learning and, since then we've been working hard on a plain language blog that simplifies machine learning concepts.
We call it learn-blog.
Check it out at ironman5366.github.io/learn-blog15 -
I'm all spooked out. I just added complicated JS code in a massive block, doing something complicated, using syntax that I wasn't sure about.
Load the page, smugly expecting like 200 errors. None.
Alright...
Run everything... it works.
WTF.
It's all balanced out though, because then python started freaking out with the wackiest motherfucker of an error I've ever seen. (A pointer to a function magically turning into None) -
I love it when my clients give me free reign to choose the software.
I'm gonna set up nginx with flask on Ubuntu 16.04 on DigitalOcean.
It's gonna be great :D. -
A client wanted me to make a website that compared the users face to that of a wrestler. We had done a lot of work, but now he wants to switch it...
to pornstars.
So, I guess the next week of my work is gonna be scraping porn websites. NSFW, for work.23 -
Reading over some docs today and I had a horrible flashback to something that I wrote when first learning how to code.
I couldn't figure out how to make a variable accessible in an imported file, so I made it a builtin. I might cry. -
I try (and sometimes fail) to be open to new suggestions.
And I'm trying to be more versatile with the languages that I write in. E.g. instead of optimizing that small python script, I'll practice my Go skills -
After months of tedious research, I finally feel like I understand machine learning.
All of my programmer buddies are in envy, but I keep trying to explain that what I finally get is that it's not as hard as it's presented to be.
I feel like a lot of the terminology in machine learning is really pretentious and unnecessary, and just keeps new people from the field.
For example: I could say: "Yeah, I'm training a classification model with two input neurons, a hidden activation layer, and an output neuron", and you might think I was hot shit. But that just gets translated into "I'm putting in two inputs, sorting them, and outputting one thing".
I feel like if there was a plain language guide to machine learning, the field would be a lot more attractive to a lot more people. I know that's why it was hard for me to get in. Maybe I'll write one.28 -
Today was a painful day when I realized that I need to backup my nginx configs like I backup my actual data. 20 minutes of downtime turned into an afternoon when I accidentally deleted the nginx config backups on my server. It's been... let's say fun.4
-
When you find that one critical piece of documentation that you need causally mentioned in a github comment somewhere. They'll never know how happy they made me :D
-
The worst part about switching code from python 2 to python 3:
`map(myfunc, mylist)`, behaves differently, but won't throw an error. It will just show up as nothing.3 -
7-zip fucked me over real bad today.
It decompressed 30 gigs of data (about half an hour), from a deeply compressed bz2 archive, then decided to throw an error and delete the decompressed data.
...
There goes my ambition for working on my side project2 -
I think I'm a good hackhands expert.
If there's something I don't understand, I pause the session, and I do my research.
If a client is learning, I'll pause whenever they have a question, and explain in depth so they get the concept.
But the asshole that I worked with today just didn't understand how debugging works. I try one fucking thing that doesn't immediately work (after I already identified the root of his problem), and, as I PAUSED and start adding debugging for him, he ends the session and leaves first a one star review saying nothing, and then a three star review saying "couldn't fix my problem"
Fuck that guy. -
Nicest part about working on my home server: being able to just blindly update.
Who cares if that breaks kibana or my plex server? I'm the only one using them.
It can be downright cathartic to just run sudo apt-get upgrade3 -
!rant
PSA: If you haven't already, check out humblebundle.com/freedom sometime in the next week. About 50 AMAZING games and books (Some notable games including subnautica, stardew valley, stanly parable, super meatboy, and a bunch of other awesome stuff), and books including books on R programming, and stuff by cory doctrow.
The best part?
It's a pay what you want, starting at $30, and 100% of the proceeds go to charity, and you can adjust how much go to which charities. IKR?
I'm in no way affiliated with humble bundle, but I've been recommending it to everyone I know. Super psyched to play everything.4 -
Working with DigitalOcean boxes for so long has spoiled me.
I went to setup something on my home server today, and couldn't figure out what I was doing wrong for like 30 minutes...
Until I realized that I never forwarded port 80.
*sigh.1 -
*Randomly using laptop to serialize data
*Only 8:53, already at 47%
*Checks bag for laptop cord
*Sees its not there
Oh god what have I done1