HN user

johnkary

783 karma
Posts17
Comments21
View on HN
johnkary.net 12y ago

Stop building broken password inputs (and how to work around the offenders)

johnkary
1pts0
johnkary.net 13y ago

Git add -p: The most powerful git feature you're not using yet

johnkary
8pts1
johnkary.net 14y ago

Developers: We are no longer Apple's target market

johnkary
2pts0
johnkary.net 14y ago

Git 1.7.8 changes for the everyday developer

johnkary
123pts15
johnkary.net 14y ago

I didn't know it couldn't be done, so I did it

johnkary
2pts0
johnkary.net 14y ago

Getting into The Zone: My Music Recommendations

johnkary
2pts0
johnkary.net 14y ago

Git 1.7.7 changes affecting the everyday developer

johnkary
103pts45
ergo.human.cornell.edu 14y ago

Cornell Ergonomics Web finds standing desks present their own issues

johnkary
219pts108
www.adomokos.com 14y ago

Get out of my Controller And from Active Record, too

johnkary
2pts0
nskyc.com 15y ago

The average color of the New York City sky, updated every 5 minutes

johnkary
1pts0
www.phpsadness.com 15y ago

These are things in PHP which make me sad

johnkary
243pts212
www.boutell.com 15y ago

Measuring hourly snowfall with a webcam and PHP

johnkary
22pts13
vimeo.com 15y ago

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

johnkary
2pts0
johnkary.net 15y ago

Who Cares? Crowdsourcing Your News Intake

johnkary
3pts1
test.ical.ly 15y ago

Client won't pay for unit tests and other quality measures? Don't tell him

johnkary
2pts0
netbeans.org 16y ago

NetBeans IDE 6.9 Released

johnkary
2pts0
www.surfpoeten.de 16y ago

EQ filter to cancel-out "bee-hive" noise makers in World Cup audio

johnkary
3pts4
Git add -p 13 years ago

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.

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.

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.

"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.

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.

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?

"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.

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.

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.

Article isn't 100% accurate. The flaw exposes the database username/password, not necessarily the "administrator username and password." I believe VB uses a hashed password system for user accounts (hopefully salted), so user credentials might be safe.

"To be honest, I just don't like the culture here. Although I've grown up here and have friends, gf, etc. here, "professionally" I feel alone. I'm one of only very few tech-minded entrepreneurs. I hack alone. It's not uncommon for me to go 48 hours without leaving my apartment."

It sounds like you need to put in more effort to find other hackers in your area. Scour Twitter and search for user groups in your area, or start your own! In the OKC area you're bound to find some if you look hard enough. Remember, most hackers take the passive quiet-path (like you) and may not leave their apartment.

There's plenty here in the Midwest, you just have to look a bit harder for it.

The biggest mistake I see isn't syntactical, but in implementation. Using too many effects just because you can and it's relatively easy.

I think your site falls victim to my point above due to (1) Abuse of rounded corners (it's OK to be square, man) (2) Abuse of drop-shadows (not every element needs a drop-shadow!)

Multiple HTTP requests will be more expensive than the drop-in-the-bucket 50KB to load the library. Sure, you could sprite all your icons but that's a lot of fragile CSS to maintain.

So you found the exploit code, nice work. But you can't actually say how it got there? Prove it's not a WordPress 0day vulnerability allowing the file to be created.

I understand your frustration with being stonewalled by GoDaddy support, but look at it from their end. Unless you can prove it's a vulnerability in their service, why should they take action?

"We believe that Apple, by taking the opposite approach, has taken a step that could undermine this next chapter of the web — the chapter in which mobile devices outnumber computers, any individual can be a publisher, and content is accessed anywhere and at any time."

So Apple is undermining the advancement of the web by advocating the use of HTML5 over Flash? And how is choosing to not support Flash on their platform undermining the web?

Adobe's rebuttal to Apple on all of this sounds like the movie industry: biding for relevancy when their middle-man is becoming obsolete.