hadriendavid
Re:Extreme skydiver Baumgartner dies in paragliding accident
on Friday July 18, 2025 @05:45AM (#44602841)
He was a far right extremist…
Re:Yagri: You are gonna read it
on Wednesday April 23, 2025 @09:57PM (#43778596)
« Anytime you store Boolean, a kitten dies »
Nobody has ever said that but nobody wants any kitten to die so nobody has ever challenged me anytime I use that statement.
I remember playing on the computers at university. Someone had modded the campus map, was so fun to play.
Re:Why it costs so much to be poor in America
on Friday January 26, 2018 @05:29AM (#16238176)
Take money where it is: in poors’ pockets! They do not have much but they are so many!
Re:Why it costs so much to be poor in America
on Friday January 26, 2018 @05:29AM (#16238175)
Take money where it is, in poors’ pockets: they do not have much but they are so many!
Re:API Design Guide
on Wednesday February 22, 2017 @05:35PM (#13709896)
How I interpret HATEOAS:
The client knows what and how it can access on the behalf of the authenticated user. Examples:
Representation for a user with no privileges:
{
"articles": [{
"id": 123
"title": "A title",
"links": {
"self": {
"href": "http://blog.com/articles/123",
"methods": ["GET"]
}
}
}],
"links": {
"self": {
"href": "http://blog.com/articles",
"methods": ["GET"]
}
}
}
Representation for a user who is authorized to add/edit/delete articles: {
"articles": [{
"id": 123
"title": "A title",
"links": {
"self": {
"href": "http://blog.com/articles/123",
"methods": ["GET", "DELETE", "PUT"]
}
}
}],
"links": {
"self": {
"href": "http://blog.com/articles",
"methods": ["GET", "POST"]
}
}
}
This reduces the authorization logic on the client side.
Re:Save the Date by Google
on Tuesday January 24, 2017 @05:01PM (#13476063)
$ echo V2hlcmUgaGF2ZSB5b3UgYmVlbj8 | base64 -d
Where have you been?
Re:Ask HN: What web framework do you use? Why did you choose it?
on Sunday December 25, 2016 @12:23PM (#13254746)
I've used Pyramid for the last 5 years to deploy highly available http api (>500K unique users daily).
- Super Modular, easy to achieve separation of concern;
- Powerful routing system;
- Consistent API;
- Elegant;
- Performant;
- Pyramid folks are super nice and super helpful on irc
Re:Why Pylint Is Both Useful and Unusable, and How You Can Actually Us...
on Wednesday October 19, 2016 @08:40PM (#12749042)
I use pylama, it wraps pylint and other code checking tools. It also has a cool logo.