Viewing profile — levigross
levigross
HN member- Joined
- Thu, Oct 28, 2010, 8:36 PM UTC
- HN karma
- 68
- Public activity
- 70 items
- HN profile
- View on Hacker News ↗
About levigross
Recent public activity
-
comment
Comment #9792277
Whats wrong with "demand-creating" channels? The Go stdlib does it within their network library https://golang.org/src/net/singleflight.go#L67
-
comment
Comment #9792268
I know... But as you said (and I agreed) :) dependencies add complexity...
-
comment
Comment #9787320
I agree with this sentiment and therefore my Response method is also an `io.ReadCloser` (exposing the http.Response.Body io.ReadCloser that Go has to offer).
-
comment
Comment #9785609
I agree with you. 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 use…
-
comment
Comment #9785567
I am not trying to do things in the "Python way". I am trying to bring some of the same flexibility I get when using the Python requests library to Go.
-
comment
Comment #9784888
Jerf, 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 (original…
-
comment
Comment #9784843
Originally the API was completely asynchronous (every "request" function returned a channel). I got a lot of feedback that I shouldn't do that, so I moved the asynchronous requests…
-
comment
Comment #9784673
yes
-
comment
Comment #9784667
I am not very good at naming things and figured to just slap a 'g' on requests => grequests. I figured that I would write the code and decide on a name later...
-
comment
Comment #9784626
Jerf, 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 choos…
-
comment
Comment #9784573
I agree! The README is really sparse right now (I didn't expect so much exposure right). It is just a matter of time before the README has more information.
-
comment
Comment #9784532
Thanks – I wrote this library because I like using requests when writing in Python and wanted something similar when writing in Go.
- story
- story
-
comment
Comment #4261215
This is true, however with creating applications with Django you are protected against most basic attacks. The ORM uses parameterized queries, all unsafe output is automatically es…
- story
-
comment
Comment #3676812
They also added a audit log so you will be able to track and address any future issues.. https://github.com/settings/security
- story
-
comment
Comment #3621264
I always answer "bullets" and get a blank stare in response.
-
comment
Comment #2942236
This is an Über Failure if I have ever seen one. They detected the breech on July 19th but didn't think to check to see if anything was amiss?!? I think that OS companies and brows…
-
comment
Comment #2939277
This attack could of hit people in other countries as well. Small well places malicious BGP updates can reroute traffic into Iran.....
-
comment
Comment #2862599
I don't mean to praise wall street but Mark Cuban made his initial cash from stock options the same things the people on wall street trade. So he knows very well what businesses th…
-
comment
Comment #2848141
+1 on the title
-
comment
Comment #2841615
I agree that number 2 doesn't make any sense. I know that code quality is measured by defects in KLOC (1k lines of code) but this isn't a reason. P.S Even though within the article…
-
comment
Comment #2841145
It seems to primarily be an ego issue. This person must of thought that since he/she is so smart any system that isn't understood obviously shouldn't exist.