Better HN
topnewbestaskshowjobs
Log inSign up

pcote

218 karma · joined Dec 5, 2010 (15y ago) · 129 submissions

I hack around and make things a lot. Oftentimes, it gets thrown out there onto my Github. Occasionally, I'll even write the odd blog entry or two.

- Blog ( http://hundredminutehack.blogspot.com ),

- Github ( https://github.com/pcote ),

- Youtube ( http://www.youtube.com/cotejrp ).

Submissions

1.

Trusting Others and Technology Choices(hundredminutehack.blogspot.com ↗)

2 points · by pcote · 9y ago · discuss

2.

Fun with Python and Monkey Patching(hundredminutehack.blogspot.com ↗)

4 points · by pcote · 9y ago · discuss

3.

Drag and Drop Files with HTML5 and Flask(hundredminutehack.blogspot.com ↗)

3 points · by pcote · 9y ago · discuss

4.

When Side Projects Become Brownfields(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 9y ago · discuss

comment 9y ago · link · parent

For me, the right fit is Python and Javascript. However, my problems and your problems are not the same. Java EE might be the best choice for what you are tackling for all I know. Also, you'll likely find that the year being 2017 is not as important as you think it is.

comment 9y ago · link · parent

For me, Anki reviews are a morning ritual. I do whatever it scheduled for the day. Then, I take time to review weaknesses. Then I move onto doing my actual projects. A combination of project experience and curiosity inform me as to what new Anki cards I need.

So yes and no to your question. Anki by itself isn't useful for learning to program. Anki as part of a larger personal development system can be pretty effective from my experience.

comment 10y ago · link · parent

The first thing that pops into my brain is how memory allocation works on a computer. In that context, indirection works really well. My program makes a general request for memory resources. The vm handles talking to the operating system for me. The operating system deals with the virtualized and real addresses for accessing the memory my program needs. In most cases, I'm okay with this arrangement.

This issue is really all about systems in general be they computer or social. As things scale bigger, representative indirection becomes MORE important, not anachronistic as the article suggests. Said representation helps contain complexity and provides for a simpler interface.

And that's what the electoral college does. It simplifies things. It allows states to take care of their own election details. The central government doesn't have to much micromanage the details of every state. Their primary concern is who gets to that 270 electoral vote threshold. The fed level hopefully doesn't get too wrapped up in details of how ballots are cast or how votes are counted.

And yes, I concede that it's not necessarily "fair" and that there are edge cases that are unfortunate. But it is a reasonably stable and well-engineered system all things considered.

8.

JQuery Ideas That Help Me Memorize Really Big Numbers(hundredminutehack.blogspot.com ↗)

2 points · by pcote · 10y ago · discuss

comment 10y ago · link · parent

Morally, I agree with you. DRM is an exercise in futility. But you aren't really comparing apples to apples here.

I radio ripped my share of music too when I was a kid. It was a pain. I had no little control and often no warning about when a song I wanted would play. The dj would often talk over the start or end of the song. A song I wanted would sometimes fade transition with a song I didn't want. Reception sometimes stunk. If everything went right, the overall quality of the recording was still inferior to what you'd get if the single or album were just bought outright.

In the 80s, DRM was naturally built into the inconveniences of the technologies of the time. Now that technology has solved for those inconveniences, we find ourselves in a fundamentally different situation for both consumers and business.

10.

Making an HTML5 Paint Program for Fun and Fun(hundredminutehack.blogspot.com ↗)

2 points · by pcote · 10y ago · discuss

comment 10y ago · link · parent

Functional, yes. I can't think of too many cases where JQuery has every prevented me from mutating anything.

comment 10y ago · link · parent

That's not exactly the way I think of it. I try to be pragmatic about my tech choices, even if I might be wrong at times.

To pick on your NoSQL example. There was one project where I had a large set of records which were all JSON in a text file. There was no one set structure for it. Attempts to set up proper MySQL tables for these records didn't work out so well. It was only after the pain of trying that I decided that MongoDB made more sense for this "collection of documents".

comment 10y ago · link · parent

Nope. jQuery came first. For me, it was a matter of spending a few years in Java shops. Most of the work was so server-side focused that I ended up forgetting a lot of my Javascript.

After leaving my last job, I decided I needed to update my skills and Angular seemed like a good road to go down. It was only recently that I decided to return to the old jQuery well to see what I could do with it vs. Angular. I'm glad I did.

comment 10y ago · link · parent

I almost went down the event delegation route. The only thing that stopped me was having stumbled upon a tactic that happened to work where I just attached individualized event handlers one at a time. I appreciate the input and will make sure to give event delegation a second look.

15.

Stepping Backwards from AngularJS to JQuery – An Experiment(hundredminutehack.blogspot.com ↗)

36 points · by pcote · 10y ago · 67 comments

16.

Python and JavaScript Jam Session – A Web Interface for Apt-Cache(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 10y ago · discuss

17.

Making Things Within the Quadrants of Want(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 10y ago · discuss

18.

Flashmark – What It Is and Why I Made It(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 10y ago · discuss

comment 10y ago · link · parent

>> Seems that SV and Stanford could do a lot more to fix the issues closer at hand in the Bay Area (homelessness, unaffordable living, rising inequality) and the US in general before solving all the worlds problems. Lead by example sort of stuff

Speaking as someone who currently struggles financially, one of those three things is not like the other....

Homelessness and unaffordable living are things that could potentially threaten me personally. Rising (income) inequality does not. There are bonuses and fat paychecks being received all the time by upper management in a casino nearby where I live. Those well-off managers are not the sort of things that are worth losing sleep over.

20.

Using Python to Play with Binary Files(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 10y ago · discuss

21.

Speedy Deployments and the Meaning of Devops(hundredminutehack.blogspot.com ↗)

2 points · by pcote · 10y ago · 1 comment

comment 10y ago · link · parent

>> The true roots of liberal arts (which used to include everything from astronomy to mathematics to botany) lie in creating a well-rounded, educated, sophisticated person.

That's fine so long as you actually want to become the person that liberal arts education strives to create. That archetype is a lovely justification for four years and the student loan equivalent of a 2016 Porsche 911.

The instance or the archetype, on the other hand, is not so nice. If somebody ever called me "sophisticated", I would assume that they were being sarcastic or condescending. If I called someone else "unsophisticated", that would make me look like an elitist jerk.

As for being "well-rounded", liberal arts college education is both redundant and contradictory. It's redundant because we already have K-12 education to "broaden horizons beyond one's comfort zone". It's contradictory because the whole idea of college majors pushes students to be LESS well-rounded in favor of a specialization.

comment 10y ago · link · parent

> The fact that I didn’t really know where it would end up meant that I was perhaps more open to outside suggestions and influence than I would have been if I had a very good idea of what I wanted to accomplish.

Not sure if I'm projecting or not but I think I've noticed this too. When I do projects that have some kind of grand goal, few people seem to care and I find I work mostly in isolation. Lots of pride and not a lot of fun.

On the other hand, when I do a project where the thinking is "Let's screw around, quickly throw stuff out there, and see how people react to it", I tend to get a lot more interesting feedback.

Even for smart people, there's something about a friendly game of "idiot ball" that seems to attract other people to come out and play too. Torvalds probably plays that game better than most.

comment 10y ago · link · parent

That is a problem. When I first joined Linkedin, one of the first questions I asked openly was about the difference between "pass by value" vs. "pass by reference". There were some good people in those forums.

Over time, I'd get all these tech recruiters whom I've never worked with in any context yet wanted me to be networked with them. A few I said yes to though I never felt very good about it.

As Linkedin requests by Linkedin and email got more obnoxious, I became less and less inclined to have any honest technical discussions that would expose my ignorance to a more and more recruiter-centric audience. I felt better posing those kinds of questions on StackOverflow or even Reddit than I would on Linkedin.

Eventually, I did delete my Linkedin account completely. It's funny. Even unemployed, I don't miss it at all.

25.

Keep Your Database Permissions Small(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 10y ago · discuss

comment 10y ago · link · parent

Attempt to translate.....

"If you're over 25, chances are your peers don't play Minecraft. I'm over 25. Therefore, I'll play Minecraft when more players are established working age adults."

Good luck with that. In the meantime, my age 40+ wife and I have Minecraft mountains to craft into beautiful and creative castle homes.

comment 10y ago · link · parent

The move of reduce to functools makes sense. But it's also inconsistent. map and filter should also be in the functools package tools right alongside partial and reduce. But instead, they're in __builtins__ because .... they're more popular I guess?

28.

The Fumblina Full Stack Philosophy(hundredminutehack.blogspot.com ↗)

1 points · by pcote · 10y ago · discuss

comment 10y ago · link · parent

Environment context switches can have cognitive load too. Going from Win 8 to Cygwin is like that. So is Win 8 to a Linux VM.

That's probably one of the biggest reliefs of the Linux switch as the host OS. To work with a vagrant box or ssh into a cloud server actually requires LESS wrestling and tweaking with the host OS. The transition from one context to another is a lot smoother. So that's one less distraction when it comes to the actual projects I'm tackling.

12345