Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wylee
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
wylee
10y ago
I think the reasons are more practical. It's rare that it rains very hard in Portland. Carrying an umbrella throughout six to eight months of the year just in case is inconvenient, and you'll probably end up losing it anyway. A li
2.
▲
by
wylee
10y ago
This PSU site may be of interest to anyone who's made it this far into the thread: http://neighborhoodpulsepdx.org/ . It has some charts and maps that explore some of the data relating to population growth in the Portla
3.
▲
by
wylee
10y ago
I don't think anyone does `git bisect` all that often, but... when you need to do it, you hope the history is clean. Otherwise, figuring out what went wrong and where can be a nightmare.
4.
▲
by
wylee
11y ago
I just went to one of my repos on Bitbucket, and it only took me one click to get to the source for master and then another click to get to the source for another branch. You can also set up a project so the source is shown by default on th
5.
▲
by
wylee
11y ago
The main reason I prefer a lighter bike is for when I need to carry it up some stairs or something like that. For most everyday riding I don't think weight matters much.
6.
▲
by
wylee
11y ago
I would think that when someone writes a document like this that the context is really important for the record and that they're not so concerned with making an "impact". Edit: Grammar
7.
▲
by
wylee
11y ago
I initially only glanced at the about page without reading it, but after I saw your comment, I went back and read the whole thing. Most of it is just (interesting IMO) info about the site and the technology behind it.
8.
▲
by
wylee
11y ago
Or, at a higher level, maybe their approach to soliciting candidates is wrong. A lot of the job descriptions I see are sloppy. Or they're so vague that you can't figure out what you'd actually be doing (or what the day-to-day
9.
▲
by
wylee
11y ago
I use DRF with Angular at work, so I'm interested in seeing where this series goes. 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
10.
▲
by
wylee
11y ago
Good point. I'm not sure off the top of my head if Shapely has a specific function for what you're trying to do. It does have highly-optimized distance functions though. Might be interesting to compare those to your version. One w
11.
▲
by
wylee
11y ago
What's really bizarre is that they actually deliver the article content in the initial HTML response. It's just hidden using CSS. You can read it by turning off CSS for the page.
12.
▲
by
wylee
11y ago
I guess it's kind of beside the point of the article, but I wonder if the author considered using a library like Shapely[1]. [1] http://toblerity.org/shapely/manual.html
13.
▲
by
wylee
11y ago
I personally think it's best practice, although returning a generic 400 isn't _that_ bad. Libraries like Django REST Framework handle this automatically.
14.
▲
by
wylee
11y ago
I have family in the southeastern US who use "anymore" like the person you're responding to did (and they have for decades). I don't think it simply means "now". There's a slightly different connotation th
15.
▲
by
wylee
11y ago
> This is reassuring for those optimists out there, as it suggests that people are often honest even when they don’t have to be. Or it could be that people don't realize there's no way for the experimenters to know if they'
16.
▲
by
wylee
11y ago
It sounds like you and the person you responded to are saying that there were self-driving cars in the year 2000? There really aren't even self-driving cars now, in 2015. Sure, there are prototypes (which are really cool), but there&#x
17.
▲
by
wylee
11y ago
I don't see anything wrong with cynicism _per se_. In fact, I have a hard time seeing how it's possible to avoid becoming at least somewhat cynical. Apathy and complacency on the other hand--those I have a problem with. On the oth
18.
▲
by
wylee
11y ago
Your example isn't very compelling, but for longer strings with more complex formatting, I'd say .format() is pretty compelling. I find that in general '{x} blah blah blah {y}'.format(x=x, y=y) is more readable
19.
▲
by
wylee
11y ago
Cat Purr is one of my favorites. I blend it with one of the water sounds, which effectively blocks out most office noise and creates a calm, soothing space. Also, my cat freaked out a little when I played it for her.
20.
▲
by
wylee
11y ago
Agreed. I can't pay proper attention when I type notes on a laptop during meetings. And it would seem that other people can't either. I scribble notes on a notepad and then transcribe them after or create tickets from them. I'
21.
▲
by
wylee
11y ago
> Free markets when supported by strong property rights can have strong protections to prevent harm or pollution. This seems to imply that such markets aren't actually "free" since they're regulated via the enforcemen
22.
▲
by
wylee
11y ago
I mostly use GitHub these days (at work), but I think Bitbucket is pretty similar in terms of features and may even be better in some ways (e.g., I like Bitbucket's design better, and they give you unlimited private repos). I don'
23.
▲
by
wylee
11y ago
I'd guess the scenario is more like a social setting where you know some of the people and don't know others. And you're having a "what do you do?" kind of conversation where you respond with "computer stuff&qu
24.
▲
by
wylee
11y ago
I agree with you, but only for local commits that haven't been pushed to a shared repo. Rewriting local history seems no different than rewriting code in your editor. Rewriting shared history is (almost) always bad.
25.
▲
by
wylee
11y ago
> The obsession of git users... That seems overly broad. It seems to me that most people who use git agree that public history shouldn't be rewritten, especially on master. > The whole point of history is to have a record of wh
26.
▲
by
wylee
11y ago
Everything in Python is an object: >>> isinstance(type, object) true >>> T = type('T', (), {}) >>> isinstance(T, type) True >>> isinstance(T, object) True >&
27.
▲
by
wylee
11y ago
That doesn't seem funky to me, given that `x` in your example is in fact not local to `inner`. It may seem surprising, but it's consistent with how Python handles locals in general.
28.
▲
by
wylee
11y ago
Did you factor in the energy that goes into producing vehicles, building & maintaining roads, etc? Or did you just count tail pipe emissions? What all factors did you consider when assessing the impact of the fleet?
29.
▲
by
wylee
12y ago
I'm not sure what your use case is, but you may want to look at serializers.RelatedField.
30.
▲
by
wylee
12y ago
> I wonder how often it actually comes into play I've wondered the same thing in the past, but just recently I converted two Django projects at work from MySQL to PostgreSQL. The transition was pretty much seamless--I didn't ha
More ›