Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
davidism
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
davidism
10y ago
Start Writing More Classes: http://lucumr.pocoo.org/2013/2/13/moar-classes/ HN discussion: https://news.ycombinator.com/item?id=5204967
2.
▲
by
davidism
10y ago
The biggest objection to switching to 3 has been that library support hasn't been there. It's pretty clear that despite reservations about 3, the support is there now. Getting major libraries in the scientific community to focus
3.
▲
Python 3 support in scientific Python projects
(python3statement.github.io)
5 points
by
davidism
10y ago
|
1 comments
4.
▲
by
davidism
11y ago
For more information, the current discussion about a new release is at https://github.com/mitsuhiko/flask/issues/1575#issuecomment-...
5.
▲
by
davidism
11y ago
Even sub-communites don't solve the problem. There are certain subreddits notorious for dogpiling on posts in other subreddits. The article mentions this indirectly by observing that what starts out on one platform can easily migrate
6.
▲
by
davidism
11y ago
There's a mismatch in scale: the number and diversity of members on platforms like Twitter is huge, but the ability to moderate is tiny. It would be interesting to see if a system could detect the dogpile effect, by looking at common
7.
▲
Everyone’s offended these days
(eev.ee)
90 points
by
davidism
11y ago
|
103 comments
8.
▲
by
davidism
11y ago
> Although that way may not be obvious at first unless you're Dutch. There is one obvious way: strings are encoded to bytes, bytes are decoded to strings.
9.
▲
by
davidism
11y ago
It's not replaced, both are perfectly valid. And this addition also exists in Python 2.
10.
▲
by
davidism
11y ago
Getting rid of timezones is not as good an idea as you might first imagine. http://qntm.org/abolish
11.
▲
California Man Wins Lawsuit After Neighbor Shotgunned His Drone
(motherboard.vice.com)
5 points
by
davidism
11y ago
|
0 comments
12.
▲
by
davidism
11y ago
HgFlow already exists and is actively developed: https://bitbucket.org/yujiewu/hgflow/wiki/Home . It even goes above and beyond GitFlow and adds generalized streams and sub-streams. I've never had to us
13.
▲
by
davidism
11y ago
> People walk away from a game of Cards Against Humanity thinking that they’re hilarious. Which people? My friends and I walk away from a game of Cards Against Humanity thinking we had a fun time coming up with stupid combinations for a
14.
▲
by
davidism
11y ago
This is being talked about now with [PEP 411 - Provisional packages in the Python standard library][1]. [1]: https://www.python.org/dev/peps/pep-0411/
15.
▲
by
davidism
12y ago
Yes, if reusable/sharable queries are something you want, then you don't really have a choice but to expose an API for creating and retrieving them. Not sure if you're trying to make some other point related to the `Accept:`
16.
▲
by
davidism
12y ago
A fair point. I was referring to the api being separate from the frontend, not what the api is returning. But I could see someone designing their application the way you describe.
17.
▲
by
davidism
12y ago
> A GET query is always a URI. Anyone can link to it. Except this isn't really useful outside of bookmarks in a browser. Who would bookmark an API endpoint returning JSON? In code, it's just as easy to make a request with que
18.
▲
Python's response to the recent bug found in Timsort
(bugs.python.org)
4 points
by
davidism
12y ago
|
0 comments
19.
▲
by
davidism
12y ago
We recognize that it's gotten a bit out of control lately, hence the topic during the meeting. I think we ended up with some good guidelines for managing it.
20.
▲
by
davidism
12y ago
Then edit your question to acknowledge the "duplicate" and clearly explain why your question is different. It will automatically go into a Reopen Queue where users will evaluate it and vote to reopen. The system's not perfe
21.
▲
by
davidism
12y ago
Most comments should end up as an edit to the question or answer, clarifying some point, at which point they can be removed. The Question and Answer are the important things on Stack Overflow, not the communication that went into creating
22.
▲
by
davidism
12y ago
The answer was not closed, the question was. This is not a bad thing, as it funnels everything towards one canonical location.
23.
▲
by
davidism
12y ago
They don't have much value to Stack Overflow, obviously, otherwise they would have remained opened and been voted up on Stack Overflow.
24.
▲
by
davidism
12y ago
Honest mistake on my part, thanks for linking it.
25.
▲
Why Stack Exchange (Still) Believes in Private Offices
(blog.stackoverflow.com)
5 points
by
davidism
12y ago
|
2 comments
26.
▲
by
davidism
12y ago
That warning is old. Most popular Flask extensions work well with Python 3 now. I've recently written a large Flask application targeted at Python 3 with no issues. If you have problems with Python 3 compatibility, report the issue,
27.
▲
by
davidism
13y ago
To solve this, I have a custom Celery instance that wraps each task in my flask app's context. So you can treat celery tasks as just another request.
28.
▲
by
davidism
13y ago
Thanks for finding this. Calomel's website [1] gives much more information about how the scoring is done as well as security in general; very interesting. [1] https://calomel.org/firefox_ssl_validation.html
29.
▲
by
davidism
13y ago
His statement addresses your complaint. > There is a social element to this bug report as well, of course. It served for many as a sort of declaration of intent. But it's better for us to focus our intent on excellence in our own right,
30.
▲
by
davidism
13y ago
Six years ago, I felt similar to you coming out of high school. I had been programming for a long time, picking up whatever interested me. I was going to UCSD for Computer Science, and I already knew so much. There are a few points I'd l
More ›