HN user

davidism

148 karma
Posts6
Comments33
View on HN

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 attention at three can only be good for improvements in support, performance, and adoption.

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 across communities, even to communities you're not aware of.

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 phrases, checking if many users messaging one user all follow a common user, etc. and offer some sort of temporary relief until a controversy dies down. On the other hand, that's not actually solving the root of the problem.

Why Python 3 Exists 11 years 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.

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 an hour. I can also turn the author's previous sentence around and state that there are probably many people that get too invested in elves and orcs as well.

... this passes once you’re more familiar with the language and are using it for real things

... a large enough subset of the community never reaches that stage

This is true about pretty much every programming language (and probably generalizable to most non-programming things too). The author just happened to apply it to Ruby and Haskell for some reason.

If there's a message such as "programmers should be more aware of the language's strengths and weaknesses and shouldn't feel overconfident", it's lost in the paragraphs of vague complaints.

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:` header the parent comment was about.

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 query parameters as it is with a post body.

    #!/usr/bin/env python
    import requests
    requests.get('http://example.com/', params={'key': 'value'})
    requests.post('http://example.com/', data={'key': 'value'})

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 perfect, so if it still doesn't get reopened, open a discussion on meta.

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 and tuning them.

The remaining comments are just fluff, such as "thanks", which can more appropriately (for the site) be expressed as an upvote or accept. Or they're asking a new question, in which case the parent's comment applies.

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, the maintainers are good about fixing these things.

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.

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, rather than our impact on someone else's product.

So you're right, and he agrees, Ubuntu should be focused on being the best it can, rather than trying to "fight" the competition.

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 like you to consider, though.

I didn't really know what to expect other than, "UCSD's CS program is ranked 6th in the nation." So I considered it an opportunity to learn even more, not just to prove what I already know. I looked forward to a fresh start in a new area, learning from people who obviously were very intelligent.

When I first took mandatory introductory classes, I thought, "This is so easy, I've been doing this forever." In high school though, few shared my interests at all. Here, I could make a study group and tutor others, and as some saying goes, "You can learn more by teaching."

When I finally got to upper-division classes, I saw yet another opportunity for growth. I knew what I wanted to focus on, but I also knew that I was smart enough to pick up something I was interested in without taking a class, if I put my mind to it. So I branched out, chose some classes that sounded interesting, even if they weren't directly related to my path. Machine vision, computer architecture, etc. Each one ended up teaching me new ways of looking at problems that I would never have considered if I hadn't taken that class.

University also provided me opportunities to branch out in another important area, social interaction. I joined the Ultimate Frisbee team, giving me a physical activity, new friends, and access to parties, things I never even tried in high school. I joined the student council (as the web designer) and gained insight into how bureaucracy worked.

My advice to you is this. Treat everything as an opportunity, perhaps a challenge to do something difficult, or something new, or something different. Working in the real world, I can say it would be much harder to find these opportunities with a full time job. University will prepare you for the real world in ways you would never expect, but only if you take an active role in that preparation.

The "man on the street" has a kid, a potential scientist. But instead of fostering curiosity about the way things work, instead of promoting the use of logic to understand his surroundings, the parent teaches the child "the Bible says so, and that's enough." Now we have one less potential scientist.

Sh.py 14 years ago

Good point. I guess if order matters you can do everything as positional args, then order will be preserved.