Better HN
topnewbestaskshowjobs
Log inSign up

johnkary

783 karma · joined May 10, 2010 (16y ago) · 40 submissions

Submissions

comment 12y ago · link · parent

Author of the post here.

I obviously didn't just learn about patch mode... git has many powerful features, but I feel this is the most powerful of those that many git users don't know about yet that will make the biggest positive impact in their daily git use. Not that patch mode is the most powerful feature git has.

2.

Stop building broken password inputs (and how to work around the offenders)(johnkary.net ↗)

1 points · by johnkary · 12y ago · discuss

comment 14y ago · link · parent

I never advocate GUIs as the primary means by which a developer works with version control. Sure it might be OK for some things like browsing history (GitX) but most GUIs often abstracts away much of the underlying complexity, which is absolutely great if you're a designer without much command-line experience, but absolutely a disservice to your in-depth knowledge as a developer and the tools you rely on every day.

If you write code day in day out you SHOULD be comfortable on the command-line. That's why I highlighted in the article that I need two tools to do my development: an editor and version control. You use these tools every day--EVERY day. There's no excuse for not knowing them intimately. They are the foundation for doing your job.

GUIs also aren't always available across platforms, either. For the most part, all the git CLI commands port from Mac, Linux and Windows (msysgit). Also, have you ever tried using a GUI when SSH'd into a remote server in a pinch? You can't. And you'll really wish you invested the time to learn those underlying CLI commands.

comment 14y ago · link · parent

Sorry everyone, thought we had Varnish setup. I'll do my best to get it back up. My screencasts above are what I'm mostly linking to.

5.

Git add -p: The most powerful git feature you're not using yet(johnkary.net ↗)

8 points · by johnkary · 14y ago · 1 comment

6.

Developers: We are no longer Apple's target market(johnkary.net ↗)

2 points · by johnkary · 14y ago · discuss

7.

Git 1.7.8 changes for the everyday developer(johnkary.net ↗)

123 points · by johnkary · 14y ago · 15 comments

8.

I didn't know it couldn't be done, so I did it(johnkary.net ↗)

2 points · by johnkary · 15y ago · discuss

9.

Getting into The Zone: My Music Recommendations(johnkary.net ↗)

2 points · by johnkary · 15y ago · discuss

comment 15y ago · link · parent

Turns out the problem was an issue between APC and WP Super Cache. After WPSC tried to run garbage collection on cache files (a cron, configured in the plugin's settings), the server would end up then returning a 500 error. I'm still not entirely sure why, but I disabled APC for now and things are running as they should.

comment 15y ago · link · parent

Sorry, it wasn't my intention to be misleading. I'll give it more thought next time. I see how "changes" could be deemed with a negative connotation in that context.

comment 15y ago · link · parent

Enabled WP Super Cache plugin, site should be back and operating as normal.

comment 15y ago · link · parent

Sorry! Trying to get the server back to normal and responsive. Give me a few minutes. :)

14.

Git 1.7.7 changes affecting the everyday developer(johnkary.net ↗)

103 points · by johnkary · 15y ago · 45 comments

15.

Cornell Ergonomics Web finds standing desks present their own issues(ergo.human.cornell.edu ↗)

219 points · by johnkary · 15y ago · 108 comments

16.

Get out of my Controller And from Active Record, too(adomokos.com ↗)

2 points · by johnkary · 15y ago · discuss

17.

The average color of the New York City sky, updated every 5 minutes(nskyc.com ↗)

1 points · by johnkary · 15y ago · discuss

18.

These are things in PHP which make me sad(phpsadness.com ↗)

243 points · by johnkary · 15y ago · 212 comments

comment 15y ago · link · parent

"Facebook and Twitter seem to addict people to a stream of trivialities that wouldn't be worth turning over for in isolation."

I wonder how modern 24/7 news organizations have affected people in this regard. Some people are addicted to news: people want to be the first to know something, to give themselves a sense of elitism or pride in letting their friends in on the news, or feel "informed" during casual discussion.

But social media has what national news media often doesn't: personal attachment. National news media will churn out "news" no matter what. There will always be stories to report on--it's just a matter of how many people they affect. Social media "news" caries the same weight. Some news, like that I just ate a really yummy lunch, far outweigh the announcing of a new job, or announcing a death.

The personality of your Facebook or Twitter newsfeed is just that: personal. It's tailored to people YOU (say you) care about. Therein lies the addictive nature.

comment 15y ago · link · parent

I'd really just like to know why your framework reinvents the wheel for nearly every aspect of the application stack? Looking at the code even thus far, I don't see how Paraglide or Paragon improves on any aspect already offered by the largest frameworks Zend Framework, Symfony and Lithium, which already have documentation, encourage new contributions and follow best practices within their respective paradigms.

Why not contribute to an existing framework? Your efforts will be better received and more widely appreciated.

The absolute last thing the PHP community needs is another framework.

comment 15y ago · link · parent

Reminds me of the days of using graphite pencils to unlock CPUs :)

22.

Measuring hourly snowfall with a webcam and PHP(boutell.com ↗)

22 points · by johnkary · 15y ago · 13 comments

comment 16y ago · link · parent

I don't think the lack of optical or hard disk storage started the hole in history. Rather, perhaps IBM did when it invented the hard drive in the 1950s. Or maybe it was as early as Edison's phonograph in the 1870s. Whenever artifacts started requiring technology to interpret them (external dependencies, if you will) is when this hole in human history really began.

Perhaps future generations will see the digital revolution as a time of strictly furthering the bottom-line; a time when it became prohibitively expensive to print most data. Yet currently, we call this "being green."

How will future generations perceive this period in history?

24.

Beyond Arial: Using @font-face to unleash web typography (presentation video)(vimeo.com ↗)

2 points · by johnkary · 16y ago · discuss

comment 16y ago · link · parent

"What I think it comes down to is the awakening that happens within the gamer at the point when he/she realizes that the power to create these systems of sheer fun is within their own reach. This moment of awakening spawns a young developer that will work tirelessly to learn the very system that they have enjoy manipulating with a controller."

There's a lot to be said here. Do you remember how you felt the first time you programmed something? Whether it was a BASIC math script, hacking a TI-82 game or an HTML page, do you remember the joy you found when "it actually worked?!" Having been a programmer for 10 years, I still get that feeling when I see something I wrote working.

I've often thought there was something special about early video games in the NES era that fostered a generation of great problem solvers. NES taught us tenacity by kicking us back to the start of a level if you died halfway through--no checkpoints every 5 minutes. Games made us apply puzzle logic to proceed--making all the pieces fit, in the right order, to achieve success. Programming is the exactly that.

I got my start in programming thanks to the Gameshark for N64. It taught me the underpinnings of what went into making what went on screen, thus leading me to build a website focused on hacking Legend of Zelda: Ocarina of Time with Gameshark where we found pieces of the game removed from the final playable version. That awakening was invaluable to my professional career.

26.

Who Cares? Crowdsourcing Your News Intake(johnkary.net ↗)

3 points · by johnkary · 16y ago · 1 comment

comment 16y ago · link · parent

Article argued for using public transportation instead of an owned vehicle.

I think you missed the point of the article, which was you can focus more on your passion (work, family, hobbies, start up) if you don't bind yourself to ownership. If you own a house, sure, you have an appreciating (???) asset, but you also are responsible for fixing every little thing that goes wrong. The "extra" you pay in rent vs owning is for having a landlord to worry about investing time and your extra money to fix things.

comment 16y ago · link · parent

You don't even need to pay Rent. There are a few resources out there to lead you to living rent-free:

http://www.caretaker.org/ - House sitting and property caretaking newsletter. Basically live in someones house in exchange for taking care of it.

http://www.couchsurfing.org/ - Find reliable people willing to let you sleep on their couch for free. I always look here when needing a place to stay and don't want to pay for a hotel. Search in advance if you know your travel dates and length of stay.

29.

Client won't pay for unit tests and other quality measures? Don't tell him(test.ical.ly ↗)

2 points · by johnkary · 16y ago · discuss

12