levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross's comments
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
I wrote this library because I didn't want to rewrite those functions every time I started on a new project. I put it online because I figured that I would be useful to others as well.
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
1. Thank you for the feedback
As you have already seen, I submitted my library to /r/golang and have gotten a lot of feedback – from which I modified the constructs (originally the functions returned channels).
I want to write something that is useful to as many people as possible (all while not alienating anyone) and therefore try not to force users (like I originally did) to use the "asynchronous APIs".
I didn't expect this to end up on HN and was going to start a discussion on golang-nuts on the pros and cons of this construct. Based on that, I was going to remove or keep the APIs.
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
I got a lot of feedback that I shouldn't do that, so I moved the asynchronous requests to specific functions e.g GetAsync and made the standard API synchronous.
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
I figured that I would write the code and decide on a name later...
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
Thank you for the suggestion. I plan on adding some functionality to make asynchronous APIs friendlier to use (like a `Do` or `Apply` function etc...). But if you don't choose to use the asynchronous APIs everything still functions the same (in fact the asynchronous APIs use the synchronous functions and slap channels on them)
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross | 10 years ago | on: A Go “clone” of the great and famous Requests library
levigross | 13 years ago | on: Web App Security Best Practices
The framework isn't fool proof (no one can protect developers from themselves). But I feel that Django does what it needs to do when it comes to protecting its users.
levigross | 14 years ago | on: SSH Key Audit on Github (required)
levigross | 14 years ago | on: How to answer "What is your greatest weakness?"
levigross | 14 years ago | on: Diginotar confirms security breach
levigross | 14 years ago | on: Gmail.com being MITM'd by Iran using this certificate
levigross | 14 years ago | on: Mark Cuban: What Business is Wall Street in?
levigross | 14 years ago | on: Microsoft Responds To Google’s Response To Microsoft’s Response
levigross | 14 years ago | on: Tom Pinckney: Why I gave up on Java and switched to Python
P.S Even though within the article the python the he explains what he means (with type bugs) such issues won't be by moving to python.