wylee | 9 years ago | on: The Public Shaming of England’s First Umbrella User
wylee's comments
wylee | 9 years ago | on: Can Portland Avoid Repeating San Francisco’s Mistakes?
Edit: This is probably a better direct link: http://neighborhoodpulsepdx.org/portland21/growing-portland/...
wylee | 10 years ago | on: Squash your commits
wylee | 10 years ago | on: Bitbucket secrets
You can also set up a project so the source is shown by default on the "landing page" instead of the overview.
Edit: slight re-wording
wylee | 10 years ago | on: The Bicycle: Growing Popularity of the New Vehicle (1874) [pdf]
wylee | 10 years ago | on: The result would be a catastrophe (1985)
Edit: Grammar
wylee | 10 years ago | on: Glittering Blue
wylee | 10 years ago | on: 80 front-end job applications – nearly no one had basic HTML/CSS/A11y skills
It seems like a lot of hiring managers/companies treat a job description as an afterthought when it actually has a huge effect on who applies for a position (_obviously_). People who have more options will tend to ignore the sloppy, vague postings.
The person who wrote this article seems more conscientious than this, but it's something to consider.
wylee | 10 years ago | on: Getting Started with Django REST Framework and AngularJS, Part 2
Tangentially, I can't imagine using Django without DRF. It makes setting up RESTful(ish) APIs so easy. Even if you don't care much about the RESTful aspects, it provides a much nicer way to organize your code than default Django IMO. I especially like how serialization works versus Django forms.
wylee | 10 years ago | on: Python Is Not C: Take Two
One way I've approached this problem that seems pretty fast is to load a set of points into a PostGIS-enabled database, then use the `ST_Distance` function and order by distance.
[Edit]
Shapely solution:
points = MultiPoint(((0, 0), (1, 1), (4, 4)))
point = Point((3, 3))
sorted(((p, p.distance(point)) for p in points), key=lambda item: item[1])wylee | 10 years ago | on: Italian Mafias killing less but infiltrating more businesses
wylee | 10 years ago | on: Python Is Not C: Take Two
wylee | 10 years ago | on: Choosing an HTTP Status Code
wylee | 10 years ago | on: Twitter announces layoffs
wylee | 10 years ago | on: People Are More Likely to Cheat at the End
Or it could be that people don't realize there's no way for the experimenters to know if they're cheating, so they're on their best behavior until they become familiar with the system.
I think this is true in a lot of domains (jobs, dating, etc). In the beginning, people follow the rules. When they're comfortable with the ins and out of the system, they start gaming it.
wylee | 10 years ago | on: Why Futurism Has a Cultural Blindspot
I think the shift to self-driving cars will be more of a social/cultural/political challenge than a technical one. I might even go so far as to predict it will never happen (at least, not for average people getting around town).
wylee | 10 years ago | on: Fifty
On the other hand, I'm not sure it's fair to come down so harshly on people who are feeling hopeless and/or powerless. I'm not sure getting indignant with such individuals is particularly constructive. There's probably a reason there are so many people who feel this way, and it's not just pure selfishness.
wylee | 10 years ago | on: Python Extension Proposal 498: Literal String Formatting
'{x} blah blah blah {y}'.format(x=x, y=y)
is more readable than '%s blah blah blah %s' % (x, y)
even if the former is a bit longer.On top of that, there's a whole bunch of stuff you can do with .format() that just isn't possible with %.
wylee | 10 years ago | on: Cat purr generator
Also, my cat freaked out a little when I played it for her.
wylee | 10 years ago | on: Ask: Do you still find any benefits in using handwriting?
I've noticed that people often get caught up editing and formatting while typing (especially when the screen is shared), whereas with notes, people don't worry so much about that, so it's easier to stay focused.