Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Goladus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
95 ms
·
691.
▲
by
Goladus
15y ago
Just a note: the optparse module is deprecated, in python 2.7+ argparse is preferred.
692.
▲
by
Goladus
15y ago
To be fair, though, some of the things on that list really do seem more like best practices, like advice not to use: from module import *
693.
▲
by
Goladus
15y ago
My guess is that it's optimized, but I don't know. Semantics-wise, it's consistent with list addition. >>> [0] + [0] + [0] [0, 0, 0] >>> [0] * 3 [0, 0, 0]
694.
▲
by
Goladus
15y ago
A "best practice" is an optimal way to do something in a given context. An "idiom" is a commonly accepted way to express the thing you want to do. Best practices and idioms overlap, but are not identical.
695.
▲
by
Goladus
15y ago
x = [0] * 100
696.
▲
by
Goladus
15y ago
> So how do you suggest you convey true emotions through words while being diplomatic? If your emotions are destructive, wait to until they've changed to speak. It's not like there's just one feeling that is "true." Furthermore, there'
697.
▲
by
Goladus
15y ago
Yeah the benefit is that Yegge's a good, humorous writer usually gets a large audience. "Hardened interface" still cracks me up. His point is usually fairly clear, and odds are good that plenty of other people will be capable of providing
698.
▲
by
Goladus
15y ago
> Those whose compensation is unfair usually run for another employer This doesn't happen efficiently, however. Moving upwards is risky and the consequences of a downward-adjustment (getting layed off) often include bankruptcy and fina
699.
▲
by
Goladus
15y ago
> A question arises in my mind though, shouldn't I just pay $4 for a coffee at an actual small business? Sure, assuming you actually prefer the coffee from the small business. Lots of people prefer Starbucks coffee. The idea of big bus
700.
▲
by
Goladus
15y ago
> We need to stop talking about "job creation" and start talking about "wealth creation". It's more than wealth creation, though. People must also be paid fairly for the wealth created. Wealth creation is happening, the problem is tha
701.
▲
by
Goladus
15y ago
Restaurants can be bootstrapped for some limited values of "restaurant" and "bootstrap." You can also steer a car with your feet, but hands are a lot more effective.
702.
▲
by
Goladus
15y ago
Utility is not crippled except by people who, for some reason, cannot skim the content of a post to determine whether it's worth reading without having a number next to it. I find upvotes to be an incredibly poor indicator of comment qualit
703.
▲
by
Goladus
15y ago
That's more or less the point. System administration vs. software development is as much about priorities, mindset, and day to day environment than technical competence. This is true at all levels, whether you are pushing boundaries Googl
704.
▲
by
Goladus
15y ago
>sysadmin/ops group was the #1 obstacle to getting things done. This happens when the company discovers that when the system goes down they stop making money. If you've managed to design and build a system to be very resilient and reli
705.
▲
by
Goladus
15y ago
> It very much is about the terms. 20-25 years ago a sysadmin was expected to be able to fix C bugs, and have skills not that far removed from programming in assembly (i.e., sendmail.cf files :-). I would say, 25 years later, the need t
706.
▲
by
Goladus
15y ago
> If you can explain accurately how to optimally structure SQL queries, you can probably write database code yourself. Yes, probably. That doesn't mean your role on the project, in the company, or in your job description isn't "Databas
707.
▲
by
Goladus
15y ago
No, the problem is arrogant programmers who imagine that sysadmins are people who only know how to configure an apache virtualhost. Although in the case of SQL, specifically, database administration has historically been a specialized sub-c
708.
▲
by
Goladus
15y ago
Right, and that's why I think "gamification" will be a fad. Eventually people will see through transparent attempts to lead them by the nose through otherwise completely unengaging content and will move on to something more compelling. Sur
709.
▲
by
Goladus
15y ago
The technology race in video games is as utterly retarded as it is in the movie industry. There's as much room for Clerks and the Blair Witch Project as there is for Toy Story and Avatar.
710.
▲
by
Goladus
15y ago
Games are not games because they are scored and have goals. Games are games because they are fun. Scoring is one aspect and usually present, but it's only one aspect and will only appease a subset of people. You can play soccer for 2+ ho
711.
▲
by
Goladus
15y ago
Gamification is a fad, it will almost certainly evolve into something more sensible, such as "engage your users," once the frenzy ends. It's nice to see Atwood highlighting the fact that they didn't set out to make StackOverflow gamified,
712.
▲
by
Goladus
15y ago
You're 20? That's a fine age to take a risk. You should take more risks, if you can, especially since, if I'm reading you right, you don't have any student loans. Missing education is rough, but if you can write and have technical skills
713.
▲
by
Goladus
15y ago
I live within 1.3 miles of my apartment, but I think there are a lot of good points being made. It's bad to make tradeoffs you don't understand, but they really are just tradeoffs. You really can't always prioritize a short commute. It t
714.
▲
by
Goladus
15y ago
Not bad but rather awkward I think. Source control is a comparatively specific problem. System configuration management is a much broader category, and competes indirectly with a variety of existing tools, like fabric or even make and bas
715.
▲
by
Goladus
15y ago
Main reasons for me: Client-server model Insufficient online documentation for what seems to be a verbose and somewhat limited configuration language. The XML is a minor turnoff but for me it's more a question of what the language is doing.
716.
▲
by
Goladus
15y ago
I have used cfengine2 extensively, but not cfengine3. I've only read about cfengine3. cfengine2 is a simple and effective mechanism for managing systems. However, cfengine2 has some issues. It has limited facilities for abstraction, resu
717.
▲
by
Goladus
15y ago
I (with advice from co-workers) decided against chef for two main reasons: Dependencies and complexity of implementation, and gut instinct from reading the literature. So I'm not surprised to see that it can be a little shaky. I also look
718.
▲
by
Goladus
15y ago
Seems like there should be a better solution to this specific problem than lowering the marginal rates.
719.
▲
by
Goladus
15y ago
You are correct. Absent any attempt to address points actually made, it cannot be ad hominem.
720.
▲
by
Goladus
15y ago
In this case, the only way I know is that I had the comments page of the old thread loaded. When I refreshed the page, [dead] appeared in the title and replying was disabled. Now, I'm unable to find it, so I'm not sure, and the comments t
More ›