Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pcote
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
pcote
11y ago
Like with anything, there's a time to practice a craft and a time to perform it. All SRS does is optimize those practice sessions. It's still up to me to go beyond that and work the projects. Stackoverflow and documentation serv
62.
▲
by
pcote
11y ago
At the last programming job I was fired from, I was deemed to be a slow and all around poor performer. About a year ago, I started doing my own version of Jack Kinsella's Janki method. As a result, I've leveled up to what some c
63.
▲
by
pcote
12y ago
I do practice programming exercises which get scheduled through Anki flash cards. I relearn things as I go. Then I look at my stats for a sec. After that, I move on to working on my projects. Some stuff comes easier than it used to for m
64.
▲
by
pcote
12y ago
Imperative programming probably isn't math. Math describes things and their relationships. It doesn't tell other parties what to do. That being said, imperative language has certain limits. When one party gives orders to one or
65.
▲
by
pcote
13y ago
I consider Python to be the scripting language of "everything else". In the apps I use frequently, Python scripting support shows up in Blender, GEdit, and Linux Mint.
66.
▲
by
pcote
14y ago
>Operator overloading is easy and common in Python, but in my (limited) experience, it's used to create new classes which respond to existing operators with existing semantics, e.g. to make new number classes. In Python, it's called "sp
67.
▲
by
pcote
14y ago
Why? Sure, overloading a "+" operator can be elegant looking. But the aesthetic gain vs. maintainability doesn't seem to be worth the tradeoff 99% of the time. I certainly wouldn't want to be the one who has to debug the thing because so
68.
▲
by
pcote
14y ago
Childishness, silliness, and lewdness is a core part of what Monty Python was about. Monty Python's style of humor was encouraged in the Python programmer culture from the beginning. It's ironic that Pycon's policy would prevent me from p
69.
▲
by
pcote
14y ago
The first thing this has me thinking is that it looks like a "subreddit" of HN. I'm surprised to not have seen or heard of a Reddit style site with HN voting rules on it.
70.
▲
by
pcote
14y ago
Same reason there are still plenty of Java projects out there that stick a "J" in the start of the name.
71.
▲
by
pcote
14y ago
Oh, you want metaclasses? How about this? print(type("",(),{"__call__": lambda self, start, end: [(n, (lambda x: ("fizz" if x % 3 == 0 else "") + ("buzz" if x % 5 == 0 else ""))(n))
72.
▲
by
pcote
14y ago
# That inspired me to have a bit of my own fun. Here's my awful Python take on it. [(n, (lambda x: ("fizz" if x % 3 == 0 else "") + ("buzz" if x % 5 == 0 else ""))(n)) for n in range(1,51)]
73.
▲
by
pcote
14y ago
Interesting skydiving analogy. The overall advice maps pretty closely to general guidelines for going into the literal sport. 1. Cut personal costs to a minimum. Skydiving is an expensive sport. You can and will spend thousands just to g
74.
▲
by
pcote
14y ago
>I sure hope even the most enthusiastic gun owner doesn't give guns to children to play with. In some families, a father will put a loaded gun in the hands of his 12-year-old son and have him shoot at targets. You are right. It's neve
75.
▲
by
pcote
14y ago
Yeah, I thought of the smart phone angle of this too. The other day I was part of an airplane evacuation drill and I noticed someone filming me with his smart phone after all was said in done. On one hand, I knew his intent was to film the
76.
▲
by
pcote
14y ago
>Work for our small team. We won't destroy your work. A small team might not. However, they also won't have the resources typical a larger triple-A product either. Nor will your game have a marketing team behind it to draw gamer attent
77.
▲
by
pcote
14y ago
Using list comprehensions as a replacement for filter and map I can see. I don't really see where you're getting at as far as substitutes for 'reduce' are concerned. For me, the 'operator' module is a justification for using 'reduce', not
78.
▲
by
pcote
14y ago
I disagree. The article makes sense to me and could be also applied to a lot of situations. Certain career paths shouldn't be pursued with depression unless they got help first. Would you recommend a depressed person pursue becoming a mo
79.
▲
by
pcote
14y ago
>In many occasions people simply don't fit in not because they're not productive or good people, but because they just can't function very well in a boss-less environment. In order to function well in a boss-less environment, it helps t
80.
▲
by
pcote
14y ago
> Not everyone can produce real-world code. Most of what we do for a living belongs to our employer. Side projects, particularly in the US, can be an issue for IP reasons (California is somewhat of an exception here) Says who? My side
81.
▲
by
pcote
14y ago
I remember reading this. Highly recommended but the methodology dogma goes both ways. My take on it is this. Object-oriented and imperative style is eating with a fork and a spoon. Functional technique gives you a knife. The people I'm
82.
▲
by
pcote
14y ago
The upshot of Python lambdas is they're really convenient in simple situation. It causes trouble when debugging though. Sometimes, I need to stick breakpoints in places that force me to rewrite a lambda as a regular function. The more th
83.
▲
by
pcote
14y ago
Doing what you love may well be good for your career. However, that doesn't mean the thing you love will BE your career. You could spend your teen years pursuing your passion of music for example. Maybe it leads you to think about how th
84.
▲
by
pcote
14y ago
Spring was born from a book on application design written by an expert on the subject. MVC .Net was probably the result of the sort of R & D that companies like Microsoft can afford to do and do well.
85.
▲
by
pcote
14y ago
Not necessarily. Two brothers can be brought up under the same terrible parenting and take radically different paths with their lives.
86.
▲
by
pcote
14y ago
Slightly off topic but I'd easily value communicating with my peers at $100. I have the good fortune of working with smart people who, despite the importance of their own projects, are willing to help me if needed. The time of others has
87.
▲
by
pcote
14y ago
I know a couple of guys who got into I.T. with just a high school diploma. However, those people went through a lot more than 10 years of life's hard knocks before they got there.
88.
▲
by
pcote
14y ago
"Do the exercises" is only something you can do if you have the book. Learning from blog tutorials don't usually have that benefit. You could still use this person's approach but you'd have to substitute in something for step 3. I'd say
89.
▲
by
pcote
14y ago
> we've been spoon-fed baby food at school when we hungered for steak... the bits of meat that you did let slip through were pre-chewed and tasteless. It's called "curriculum". It's prepackaged knowledge. It's put together in a predete
90.
▲
by
pcote
14y ago
2013 Scala newbie here. Scala feels nice in the way that Python feels nice. They both give the newcomer some say in what programming paradigm they get to think in. I like languages like that. I'm a little hesitant to call Scala "Java wit
More ›