HNHacker News
TopNewBestAskShowJobs

mk

1,185 karma · joined July 25, 2007

http://js.la

http://lambdaphant.com

submissionscomments
mk··on URL Routing in Recess my upcoming PHP Framework
I'm looking forward to this. I plan on giving a talk at work about frameworks and would love to know more about Recess. Routing looks good so far.
mk··on Non-Hacker News
emkay is my non-hacker news account.
mk··on Non-Hacker News
"And please don't take this as an attempt at some sort of great schism of the audience here, it's not. I'll still surf this site no matter how popular NHN gets."

It didn't seem to me a knee jerk reaction to the quality of submissions, but rather a public service because people are understandably complaining about political posts being made that are not "hacker news".

mk··on Non-Hacker News
I would be willing to be a moderator.
mk··on Poll: Would you like to see this site become CS/Startup related only?
I as well like the site the way it is now. It has a nice array of cs related content to keep me satisfied, but also a lot of other non cs, intelligent articles that I enjoy reading. It reminds me of reddit in the early days. What kinda worries me is that too many political articles/off topic stuff will trickle to the top as more and more users start using the site.
mk··on Ask YC: Those using PHP, what do you use for talking to your database (MySQL)?
When using plain PHP I just the mysqli functions. The project I am working on now is using Codeigniter, so I am using it's ORM.
mk··on Dealing With Bad Apples
Point taken. My point was rather implement a strict hiring process to weed out bad apples even if it has the consequences of false positives and potentially good people are thrown out.

Something that your comment reminded me of is that your team is only as strong as the worst employee. If you are hiring bad apples as managers then it has the very likely potential of being bad apples all the way down.

mk··on Dealing With Bad Apples
Be very selective during the hiring process. You may be forced to throw out what could be good apples, but at least it reduces the chances of you hiring a bad apple.
mk··on .me domain name open registration starts tomorrow at 8pm PST
who got sche.me ?
mk··on .me domain name open registration starts tomorrow at 8pm PST
I received confirmation letters, but have now just received a letter saying:

The following domain name has failed to be registered:

PRI.ME

Error: PRI.ME: cannot register - already registered

We will evaluate this error and retry the registration if appropriate.

CURSES!

mk··on YDN: Yahoo Developer Network
I am always looking for some API and can't seem to find it. This is a nice collection of all that yahoo has to offer.
mk··on Ask YC: Server Administration?
I agree that it is easier to use and configure a debian-based distro, but I would add that if you really want to learn Linux intimately you should check out Gentoo. The Gentoo docs are really good and will take you through the setup step by step. By the end of it you will have configured and compiled your own kernel and have familiarity with a lot of the /etc config files. Of course things may not work out the first couple of times and you may just get so frustrated you want to give up.
mk··on Goosh - The Unofficial Google Shell
"You can see an example module at http://goosh.org/ext/spon.js"
mk··on Ask YC: Shared hosting providers that don't suck?
Dreamhost has their problems, but like someone else commented they are very open about everything. Whenever I have had a problem their tech support has responded pretty quickly and fixed whatever was going wrong. I'm pretty happy with them overall. I only use it for my blog, and as a test bed for some stuff. I'm not sure I would run anything important there.
mk··on I'm curious, Hackers, what do you think of the reddit redesign?
I like it for the most part. Not crazy about the uncompressed link display, but thats not a big deal. The biggest thing that bothered me is that my subreddits that I am subscribed to have changed.
mk··on Ask YC: What do you spend on health insurance?
I pay around $700-800/month for health/vision/dental. My employer takes care of around $400 of it, so out of pocket I pay around $300-400. BTW this is for me and my wife.
mk··on Post your Friendfeed ID here
http://friendfeed.com/emkay
mk··on Ask YC: How do you lose weight?
I just started at the gym. I've gone every other day so far. It's only been the first week, but I am starting out slow with about 30-60 minutes of cardio. Along with that I try to keep in check what I am eating. Eating breakfast is a big thing cause it gets your metabolism going in the morning. For lunch instead of a whole sandwich I eat half a sandwich and some fruit and a yogurt. For dinner I try to keep red meat to special occasions and eat more chicken and fish. I also try to make smarter choices like salad with dressing on the side instead of french fries. Thats about it.

Edit: I also don't drink soda, diet or regular.

mk··on Ask YC: Recent *nix history..
272 git

66 ls

61 cd

26 svn

18 less

10 python

10 cp

8 man

7 vim

3 rm

mk··on Ask YC: Has anyone switched from OS X to Ubuntu?
I'm running Ubuntu at work and OS X at home. For a workstation Ubuntu is fine, but I'm not going to give up OS X. I develop on both and the experience is similar, but the OS X gui is just what I prefer.
mk··on Ask YC: What do you scrape? How do you scrape?
This sounds redundant already, but I scrape using beautiful soup. Right now I'm scraping a lot of news sites and feeds for a project I am working on.
mk··on Ask YC: What is the best way to learn Perl?
I agree with most of the suggestions here. Read the man pages, perlintro, perlreftut, all those. The Camel book is great also. And of course write scripts. One thing I would like to add is reading Higher Order Perl. http://www.powells.com/biblio?PID=29575&cgi=product&...
mk··on The nightmare of installing Lisp: a noob's perspective
yeah mzscheme is super simple to install on osx. I had similar results to the poster with clisp though. It was the reason I pretty much gave up on common lisp. I could install it and get slime working up on XP no problem, but getting anything to work on osx was difficult. This was a long time ago too and I was running 10.3, so maybe things have changed by now. I haven't tried installing any common lisp system since I've upgraded to 10.5.
mk··on Ask YC: do you have a girlfriend/boyfriend?
I just got married on sunday.
mk··on Railslike PHP Framework: Code Igniter
The reason why we started using it was we are required to send out HTML email. This sucks I know, but it wasn't an option. I found that CI's email lib had problems with sending out HTML mail with images as attachments and referencing those images in the HTML. Absolute image urls were not an option either.
mk··on Railslike PHP Framework: Code Igniter
We are currently using CI on a pretty big project and I have both good and bad things to say about it. The good news is that it is a "rails like" framework, but without the magic. Some of the helpers are really nice, the validation lib is pretty nice allowing for callbacks to both validate and alter data. Problems I have with it are support for transactions, which seem to be there but fail miserably when something goes wrong. If an exception is thrown the transaction has begun but it never hits a rollback, so all those queries are hanging in the balance and never get commited or rolled back. There is also this recurring theme in CI that they had to do everything themselves. This means that instead of using a well established Email lib they wrote their own, which has severe limitations. You can extend these all of these classes and easily integrate others so Email wasn't so big of a deal. We are just using phpmailer instead. You cannot however extend the DB class. You have to hack up the original, which is what we have been doing to provide SQL queries in the log file during development, and transactions that actually work. This wasn't too bad to do, but it is already introducing a problem. Upgrading from 1.5.whatever to 1.6 breaks the modifications that we did. So now we have the problem of versioning our own copy of CI with our fancy DB stuff, and the actual product we are developing. That being said it is the best PHP programming experience that I have ever had.
mk··on I've launched my alpha (using Heroku); thoughts?
A couple things I would do for now is get rid of the ad's and add more initial content. I think more content would convey what you are trying to do better. I know this is supposed to be user generated content, but to bootstrap some of the content up maybe have some friends write some stuff. How do you like heroku ?
mk··on Ask YC: Can someone explain this JP Morgan buyout of Bear Stearns for me?
Let me get this straight. JP is taking a loan from the Fed to buy Bear?
mk··on Top 10 Secure Coding Practices
Unfortunately something as simple as input validation often does not occur. It baffles me when I look over at code from contract work or I come into a new job and see GET requests modifying the database, and POST's going completely unchecked. Madness!
mk··on Ask YC: Good compiler books?
This is what is commonly refered to as "the dragon book". http://en.wikipedia.org/wiki/Compilers:_Principles,_Techniqu...

But that may be too massive for what you are looking for. I found that Crockfords essay http://javascript.crockford.com/tdop/tdop.html really helps if you know javascript. And reading something like tinypy http://www.philhassey.com/blog/2008/02/28/tinypy-10-mit-lice... may help.

Also not necessarily a compiler book, but The Little Schemer does have you building a basic scheme interpreter at the end of the book.

← PreviousPage 2 of 3Next →