Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wylee
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
wylee
12y ago
I think it's more accurate to say that it's because open office are cheap (*up front). It's pretty clear that they reduce efficiency in many, if not most, cases, which can be very expensive.
32.
▲
by
wylee
12y ago
What about burning just those pages of the Bible that condone slavery?
33.
▲
by
wylee
12y ago
> 1 When in doubt, wear a suit As general advice, this is wrong. There are a lot of positions where wearing a suit to the interview would automatically mean you won't get hired. Of course, it depends on the locale, the position, &am
34.
▲
by
wylee
12y ago
I'm not a huge fan of Obama, but do you really think the surveillance state was created during his presidency? This type of thing has been going on... well, probably forever. It's gotten more sophisticated in the Internet age, but
35.
▲
by
wylee
12y ago
The notion that we don't "pay atrociously high fees" to own and operate cars is a pet peeve of mine. People look at bus fare, for example, and think it's a lot, but compared to the actual cost per mile of driving (paym
36.
▲
by
wylee
12y ago
I used Eclispe/Aptana/PyDev at a previous job and it was pretty nice, but PyCharm is superior in my opinion. In addition to great completion and code navigation, it also gets Vim emulation mostly right. PyCharm is also a mostly ou
37.
▲
by
wylee
12y ago
I use this sox command: #!/bin/bash play -q -c 2 -n synth brownnoise band -n 1600 1500 tremolo .1 30 You can adjust the frequency and other parameters to suit your environment. Adding tremolo makes it sound a bit like
38.
▲
by
wylee
12y ago
That version (and the one in the article) are somewhat confusing to parse and detract from the point of the article. This seems more "Pythonic": def lookup(d, key): return Just(d[key]) if key in d else None def
39.
▲
by
wylee
13y ago
I think it's pretty safe to go with Python 3 for new and/or personal projects. I started moving all my stuff to Python 3 a few months ago and Fabric is the only major project I use that hasn't been ported.
40.
▲
by
wylee
13y ago
How does the GPL prevent this?
41.
▲
by
wylee
13y ago
It's pretty much the same as Chrome. One thing I see in Firefox that I don't in Chrome, though, is the "edit and resend" feature, which lets you edit a request and resend it. It's pretty cool.
42.
▲
by
wylee
13y ago
I'm glad they're adding a call stack. I thought I just couldn't find it. Other than that, I think the current version already works really well. When this new version comes out, I don't think the competition will have an
43.
▲
by
wylee
13y ago
- open dev tools - click on Network tab (far right) - make a request (e.g., reload current page) - click on one of the entries in the list - there's now a tab for cookies on the right
44.
▲
by
wylee
13y ago
I just stuck this in my PS1: hr() { printf '=%.0s' $(seq $((${COLUMNS} - 20))) } PS1="${GREY}\d ${RED}\$(hr)${GREY} \t" It dynamically adjusts to the width of the terminal, and looks like this:
45.
▲
by
wylee
13y ago
In Python, I would use `prod_db` as a dictionary key and not a name that looks like a class name. That said, I do agree that some very common abbreviations are okay in some contexts.
46.
▲
by
wylee
13y ago
When I was born, on the day of my birth, how much personal responsibility did I have for the state of the USA and the world in general? (None) When did I start to have the even the most basic understanding of what's really going on in
47.
▲
by
wylee
13y ago
The GIL and a JIT are low level implementation issues though, right? E.g., Python 3 can be implemented in PyPy (and it looks like that's in the works). Most of the Python 3 changes are design and feature related, and it's a lot mo
48.
▲
by
wylee
13y ago
I think Python 3 offers more than you think it does. I'm not going to try to convince you, but having used it steadily for the last month or so, I really think it does.
49.
▲
by
wylee
13y ago
Also, wrt. headphones, in addition to potential hearing loss, it's painful to wear them all day long, they don't block out all sound, and a lot of people don't respect the headphone rule. That said, when I'm in the type
50.
▲
by
wylee
13y ago
At a previous job in an open office plan, I had set myself up in a corner, trying to create a sense of space and maybe get marginally more privacy than the spots in the middle of the room. One day I came in and a new person (non developer)
51.
▲
by
wylee
13y ago
To just get the hang of OOP, you might be better off starting with Python or Ruby (or some other language with a REPL). Although you can do OOP style programming in C (and it's a fun exercise), there's a lot of low level stuff tha
52.
▲
by
wylee
13y ago
A question (maybe a nitpick) about the word "liberal"--wouldn't it be more "liberal" to be against gun control since less control means more liberty?
53.
▲
by
wylee
13y ago
I love this site, especially how it goes into some depth explaining the different sounds. I had no trouble with it on my S3 in Chrome.
54.
▲
by
wylee
13y ago
It seems to me that one of Boulder's big advantages/draws is that it's a college town close to a big city (Denver). There's no arrangement quite like that in Oregon. Bend is hours away from Eugene or Portland. Having liv
55.
▲
by
wylee
13y ago
Or bpython.
56.
▲
by
wylee
14y ago
The `maybe` in the article allows for this ambiguous situation: var fn = function (a, b) { ... }; var maybe_fn = maybe(fn); var obj = {}; maybe_fn(1); // calls fn maybe_fn(1, null); // doesn't call fn maybe_fn(1,
57.
▲
by
wylee
14y ago
In `maybe`, would it make sense to check the args passed to the wrapper against the number of args the original function expects? Something like this: function maybe (fn) { var expected_number_of_args = fn.length; return f
58.
▲
by
wylee
15y ago
I use multiple Firefox profiles to help with this: personal, work stuff (non-dev), API docs, and dev. I have different add-ons for each--e.g., NoScript in the personal profile and Firebug in the dev profile. I'm never tempted to open Reddit