Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pcote
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
pcote
14y ago
I use dictionary comprehensions personally but I have mixed feelings about the syntax. It looks too much like set comprehensions on first glance. Compare the following to see what I mean. myset = {x for x in "This is my stuff".split()} my
92.
▲
by
pcote
14y ago
I love curiosity sparking posts like this. >>key in dct is much better than key in dct.keys() Of course, that got me curios to find out if there is a magic method out there that takes advantage of keyword "in". Turns out __contains
93.
▲
by
pcote
14y ago
Oh, this topic again. What the heck... >Nowadays Silicon Valley says that college education is a waste. I wasn't aware of Silicon Valley being of one voice on this matter. Is there a representative spokesperson I don't know about? >
94.
▲
by
pcote
14y ago
I learned Python because I wanted to make stuff fun little scripts in Blender. Tutorials helped. So did reading source code and drawing inspiration from it. Ultimately, it was just one project inspiring another inspiring another. In your
95.
▲
by
pcote
14y ago
Likely an autopilot bug. It's almost second nature for a lot of coders to do this when making a list of strings. strlist = 'one, two, three, four, five'.split(", ") That habit probably just kicked in a little when putting in that example.
96.
▲
by
pcote
14y ago
It a certain degree, beauty is a better indicator than percentages when it comes to how functional a programming language is. Scheme scores high in that regard. Python does okay if you stay moderate in it's usage. Any amount of functiona
97.
▲
by
pcote
14y ago
Interesting goals but.... >> 1. Create a single language that incorporates the best of functional and imperative programming. Both offer distinct advantages, and we envisioned marrying the two. Imperative/Functional hybrid are noth
98.
▲
by
pcote
14y ago
I can feel you there. However, there is a certain zen in the opposite as well. Having a general idea of what to build and a general plan and direction but little else. The specifics are left to between you and the thing you are building
99.
▲
by
pcote
14y ago
I'm a Python guy with a Java day job so I'm guessing my situation isn't that different from what he dealt with in 2006. Heck, most of us Java guys are dealing with it in 2012! Python didn't drag my day job down. Instead, it gives me the u
100.
▲
by
pcote
14y ago
The problem with this matter is it's been done before. In 2000, pictures of Elian Gonzalez being face to face with swat forces caused only limited outrage. The public was exposed to that case so much that they pretty much got numb to the
101.
▲
by
pcote
14y ago
The Row v. Wade decision inferred a constitutional right to privacy within the 14th amendment. If this right exists, then it makes no sense to limit it to specific subclasses.
102.
▲
by
pcote
14y ago
Arguing (or watching people argue) trivial matters gives my brain a break from the serious things I would otherwise be working on. That's probably what drives most people into these discussions and onto their soap boxes too. It's a lot mo
103.
▲
by
pcote
14y ago
I don't like to envision big because I would be too intimidated by my big vision to start small. Starting with a modest idea helps me keep things concrete. "Envision big" causes me to start thinking abstractly prematurely. I tend to not
104.
▲
by
pcote
14y ago
List comprehensions are not deep magic. If you use SQL as your frame of reference, it's actually pretty easy to pick up. They also add a hell of a lot to readability once you know what it does.
105.
▲
by
pcote
14y ago
> Words evolve, why can't "to steal" mean "to take something without permission regardless of the expectations of the person licensed to distribute that something"? We need a word for it... the world is becoming more and more digital! S
106.
▲
by
pcote
14y ago
Python does not typically end up in a video game's main code base. However, to say it failed is to have a pretty limited view of game development. Art asset creation often requires customized tools within software packages like Blender or
107.
▲
by
pcote
14y ago
The merits of functional programming techniques are a lot more interesting than the languages that implement them, "pure" or not. Closures, first class functions, and list comprehensions are interesting topics of discussion. Java vs. Hask
108.
▲
by
pcote
14y ago
Coming off conceited doesn't make him wrong regarding CS curriculum. He believes that people should have strong underpinnings in functional programming principles before learning oop. I think fp plays off required math classes pretty well.
109.
▲
by
pcote
14y ago
Someone didn't like my comment. Fair enough. I'll put it another way. Are children, left to their own devices, naturally deficient when it comes to critical thinking?
110.
▲
by
pcote
14y ago
A lot of the discussion here focuses on critical thinking development which is an interesting topic. Does compulsory testing or even compulsory education in general do children any service in that regard? Are critical thinking skills bett
111.
▲
by
pcote
14y ago
In order for the auto industry analogy to hold, horse breeders would have had to have been actively interfering with early automotive innovation. Did that actually happen? (honest question)
112.
▲
by
pcote
15y ago
A quick clarification in response to the downvoting. I have no disrespect for Jeff or anyone else's choice to have kids. I have brothers and sisters who went down that road and I'm happy for them. But Jeff threw around condescending terms
113.
▲
by
pcote
15y ago
"As an adult, you may think you've roughly mapped the continent of love and relationships. You've loved your parents, a few of your friends, eventually a significant other. You have some tentative cartography to work with from your explorat
114.
▲
by
pcote
15y ago
Spend time reading interesting source code. Follow a forum. Pour over APIs. Read, read, read. After awhile, you'll grow impatient and want to stop reading and actually do something based on some ideas you got from what you read. Give in
115.
▲
by
pcote
15y ago
Failing fast doesn't mean much if you don't have a definition of failure to work off of so you can iterate. How exactly does one define these kinds of failures?
116.
▲
by
pcote
15y ago
Okay, I made the changes you suggested. As for the matter of picking "junior" or "mid", I was hedging my bets by including both. I have no point of reference as to how good I am or if I'm good at all. I haven't worked around other develop
117.
▲
by
pcote
15y ago
like this? http://www.blenderaddons.com/aboutme.php
118.
▲
by
pcote
15y ago
I wish a web presence worked. I have a web site, youtube channel, github, blog, linkedin, and twitter account. They all shows a track record of open source work I've shared. I have no regrets on sharing my work online like this. However,
119.
▲
by
pcote
15y ago
I'm not sure. You can have a lot of knowledge of a domain without knowing how to program. You can have a lot of programming skill and not know anything about a domain. The two ideas aren't necessarily going to be joined at the hip. That
120.
▲
Do Programming Language Skills Exist?
(hundredminutehack.blogspot.com)
29 points
by
pcote
15y ago
|
15 comments
More ›