instruction
stringlengths
4
105
output
stringlengths
8
56.7k
Why no love for PHP?
paraschopra: I guess one of the most strongest reasons why PHP got popular was its default support on shared hosts. You could taste your first real web creating with PHP real quick.
quickest way to earn some hacker news points?
mtpark: Post an article about xyz company rumored to be in late-stage talks to acquire Twitter.
quickest way to earn some hacker news points?
catch404: Be the first to post a new pg essay :)
Home/Office Monitoring System
noonespecial: Head on over to http://www.zoneminder.com/ and check out the live cd. That will let you see if it will work with your hardware and let you take it for a test drive.We liked it so much better than the multi-kilo-buck commercial offerings that we use it everywhere, even where we had expensive proprietary se...
quickest way to earn some hacker news points?
arcadeparade: Submit an interesting page on Erlang.
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
papaf: I was in the same situation a while ago and ended up jumping to netbeans with the free and excellent jvi plugin. However, I feel your pain and when I recently started using scala on a hobby project I was really happy to be able to just use vim again -- partly because the netbeans support isn't so good for scala ...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
catch404: Eclipse,emacs and maven works for me. I use the emacs for making quick changes and often end up working within it. Still couldn't go without having eclipse along side though.
Why no love for PHP?
abyssknight: PHP is like that kid in school who got everything right but everyone hated. I'll be honest, I love PHP. I love it as much as I love Ruby, Python and any other language. For some reason communities have sort of ganged up on PHP and beat it to a pulp. The funny thing is, PHP, for the most part, outperforms t...
Is Murdoch Right when he says "The current days of the Internet will soon be over"?
vaksel: He is in the newspaper business, its in his best interest to kill the ad supported model
Is Murdoch Right when he says "The current days of the Internet will soon be over"?
khandekars: Also, somewhat related and interesting: http://www.scripting.com/stories/2008/11/13/onlineAdvertisin...
Is Murdoch Right when he says "The current days of the Internet will soon be over"?
Slzr: To tell the truth, its too much freedom for the big brother to allow it.
Is Murdoch Right when he says "The current days of the Internet will soon be over"?
mixmax: I would say no, it's all about gametheory. I wrote about it here: http://www.maximise.dk/blog/2009/03/online-news-and-prisoner...
Back problems
stonemetal: I get horrible back pain if my chair is not positioned correctly(it doesn't take much maybe an inch off and I start to feel it). Find a guide on correct positioning and try to follow it.
Back problems
how_gauche: Try stretching out your hamstrings. A lot of lower back pain is actually caused by shortened hamstrings pulling the pelvis and lower back out of alignment.
Any users of SimpleCDN?
Googleheimer: This is getting good!It appears SimpleCDN's is losing so much money, they are publicly admitting to blacklisting anybody who calls or emails them with questions they don't want to answer.I was checking out their service, but now it looks like I am going to have to use a pre-paid credit card, and hire a ...
Explain AWS
mattsmall: RightScale's paid edition has prebuilt MySQL Master-Slave configurations with or without EBS. EBS is great if your transaction volume is average, but on high IO disks it can get prohibitively expensive. The RS Manager for MySQL has failover, recovery tools as well. All you need to do is plug in your DB du...
Back problems
blogimus: At work, I try to remember to stand up and stretch periodically. Drinking a lot of water forces me to get up out my chair regularly and go for a short walk down the hall.When not at work, I try to take care of my back by wearing a back brace when doing heavy work or home improvement tasks and try to remember ...
Back problems
evilneanderthal: squats and deadlifts!worked for me.
Home/Office Monitoring System
evilneanderthal: We used a combination of cheap ($20) webcams, motion, cron, nagios, and cfengine at Drexel to provide 24/7 monitoring of our CS labs.It isn't streaming video but it's good enough (several pictures per second while there is motion in the room).Since installation is has been used to solve exactly 0 crime...
Back problems
charlesju: I am religious about ergonomics.1. I spent $300 on a herman miller ergonomic chair that forces you to sit up-right.2. Use a keyboard tray to force you to lean back against your chair when you're coding.3. Stretch and walk around once an hour.4. Do back exercises at the gym everytime you go.
How would you implement a threaded forum?
ErrantX: Someone posted a thread the other day about good ways to store threaded discussions.Store it like:11.11.1.11.222.12.2etc.And load it in one database query ( id > x AND id < y or w/e) then traverse through it. easy.EDIT: I would handle deleted like you suggest.
Back problems
mixmax: Exercise - it works.
Back problems
terpua: I recommend the StrongLifts 5x5 program. It's 5 exercises per workout (45 mins), 3x a week.http://stronglifts.com/stronglifts-5x5-beginner-strength-tra...
Back problems
nazgulnarsil: a lot of back pain is caused by weakness in other areas and your posture muscles trying to make up for it. do an ab routine and hyper extensions for a strong core and most problems should go away.
Back problems
keeptrying: Improve your hip mobility and the strength/activation of your _glutes_.It takes a bit of reading to understand whats happening to your body but essentially sitting for long periods of time weakens your glutes and also the mobility of your hip. This in turn causes your lower back to compensate (flexion) in a...
Back problems
thinkzig: This is a repost of some advice I've offered here before, but doing them really helped me out.Outside of seeing a doctor to see if there's something seriously screwed up with your back, I'd offer these 3 pieces of advice I had to learn about the hard way.1.) Massage.You may not think it's the manliest thing e...
Back problems
sachmanb: i used to get back pain from working too much as well, but a chair solved that. i think i take more breaks now too, which was a factor as well, but the chair upgrades made the biggest difference. i love my freedom chair: http://www.humanscale.com/products/freedom_index.cfmif an expensive chair isnt an optio...
Back problems
rob: Fix your posture (most likely bad), stretch your psoas and hamstrings, and go and have an ART or deep tissue massage done. You might also want to invest in a foam roller for self-myofascial release and then use a tennis / lacrosse ball once that's not enough.
Back problems
tezza: * Abs and Back Strengthening *- These are simple and only need a yoga mat and 10 minutes 3 times week. Even 1 session a week will kill a lot of back pain- I will ignore situps here, because they're simple- Get yoga mat.- Lie _face down_, legs and arms outstretched- Raise your _left_ arm and _right_ leg, so your ...
Back problems
nathanb: I'm going to have to go with the AOL comment on this one. I had both upper and lower back pain. A proper understanding of how my back can get pulled into awkward positions and what stretches/posture corrections are necessary to prevent this has eliminated it thus far without having to make any equipment change...
Back problems
azsromej: I get back pain every once in awhile and it tends to linger for 1-4 weeks. Then it goes away for a month or two.I try to work my abs and lower back, as well as stretch my hamstrings.As for sitting up straight, I think the most recent guidance is that a 120-135 degree thigh-to-back angle is optimal: http://ne...
Back problems
krisneuharth: Yoga has made all the difference for me. It is a great way to unwind for a short period of time and with practice it will greatly improve your core strength and relieve your back pain. It doesn't help that it is also a wonderful opportunity to meet new people, especially flexible girls. :)
Is Murdoch Right when he says "The current days of the Internet will soon be over"?
xsmasher: It will become a mix of free and paid services. Broadcast TV was free in the US (ad supported) because it was impractical to bill for usage. Now the cable and satellite rule the roost, we pay for some channels (HBO, Showtime) and some content (on demand) while others are still mostly ad supported. The HBO mod...
Back problems
stan_rogers: Yeah -- chair, general ergonomics, excercise, stretching, massage. All good. All mostly missing the real point.Unless you've suffered a real back injury, your pain is probably at least partly psychosomatic. That doesn't mean "in your head", but "FROM your head" -- there is real physical pain caused by real...
Back problems
mattchew: Look into the ideas and books of John Sarno. He believes that many chronic pain "syndromes" that resist treatment are actually psychological in origin.I discovered Sarno when I came down with untreatable "RSI". Eventually I got better using his approach. My story is similar to Rachels (google for others):h...
Back problems
modoc: An Aeron. They aren't cheap, but for something that you sit in 10+ hours/day, you want something that's good for your back.Exercise, stretching, rowing, etc..
Back problems
justlearning: I used to sit for more than 12 hours continuously. I also used to be the default "mover" for my friends.i have had back pain for last 5 years and never knew it. Twice a year, I would have lower back pain and I would take rest for couple of days and pain seemed to vanish. Last year, I joined the gymn to do...
Back problems
rdouble: I have 3 squashed discs in my lower back from a skateboarding injury. I've tried everything for back pain. Before I share what works for me, I'll say that if you don't have a structural injury you probably just have very weak "core" muscles and the best thing you can do is get into a general state of good fitn...
Back problems
saikat: I have had a chronic pain in my upper back right above my right shoulder blade, below my neck, and a little to the right of my spinal cord (the area is about two square inches in size). I got this injury from (surprise surprise) a marathon coding session (40 hours straight) sitting in an uncomfortable chair wi...
Back problems
slackerIII: Use a standing desk. Odds are your body evolved to spend more time standing than sitting in a chair.
How would you implement a threaded forum?
timmaah: http://threebit.net/tutorials/nestedset/tutorial1.htmlUsing this method on a table with 1.2 million rows, I can get a thread with a single db call. It hasn't given me a single problem yet, though obviously it is slower then standard flat list.
Back problems
jongraehl: In a vulnerable state (from athletic wear and tear), I've incurred unexpected sharp nerve compression pain (feeling like part of my spine crunching against the nerve, maybe some minor lumbar disk slip) from things like kicking a lid shut on a trash can, or crouching down to open a cabinet - in those cases, c...
Is Murdoch Right when he says "The current days of the Internet will soon be over"?
magikcrow: Think about the scam that the newspaper business pulled on hemp during yellow journalism. I think it was hearst that owned land with trees to be used for paper. (I forget off hand who it was for sure) Hemp would produce 4 times the amount of one acre of trees. He printed all kinds of bogus stuff to protect h...
Back problems
udfalkso: James Hong recently wrote a blog post containing a video and excerpts from a book by Esther Gokhale called "8 steps to a pain free back". It's worth a look, helped me.http://blog.jhong.org/2009/02/back-pain.html
How would you implement a threaded forum?
tom_b: If you need to deal with hierarchies in SQL, look into nested sets. It allows you to make a single db call to retrieve a full set of parent/child related items.It's basically an augmented data structure (adding a left/right value pair to the data) to allow you to query somewhat like ErrantX mentions (ie, to fin...
Back problems
jongraehl: Stuart McGill's http://www.amazon.com/Low-Back-Disorders-Evidence-based-Reha... is a good textbook. It's not for the layperson looking for quick recommendations, but he does give some recommendations based on physical and computer models of the spine under various exercises (and traumas).
Back problems
Xichekolas: I used to have terrible back, shoulder, and wrist problems.Then I bought a Herman Miller Mirra, got decent wrist-rests^ for mouse and keyboard, and took up bike riding and other forms of exercise.I can't say for sure which of those three had the biggest effect, as I made all those changes at once, but I def...
Back problems
mitechka: Find a Tai Chi studio and learn the short form. It is a complete set of exercises for back, legs and shoulders that takes about 5-10 minutes to complete. And it is fun to do.
Do you have a "Home" link in your main navigation?
mixmax: I would say that as long as you have a clickable logo that takes you to the home page everything is allright. Most users will expect to be taken to the home page when clicking it.
Do you have a "Home" link in your main navigation?
noodle: if we're talking about a web application, i use a home-type link. the clearly labeled ability to return to the default screen is important, i feel.if we're talking about a blog or something, i'll usually exclude a home-type link in favor of the logo.
Do you have a "Home" link in your main navigation?
run4yourlives: What does your audience think about the subject?For non-savvy users that aren't aware of home/logo navigation, a home link is essential to avoid confusion.
Do you have a "Home" link in your main navigation?
tokenadult: I have both the logo, as is indeed expected by most users these days, and a text link. I like Jakob Nielsen for issues like this.
Back problems
ideamonk: Healthy habits for developers - http://stackoverflow.com/questions/330446/healthy-habits-for...
Back problems
randallsquared: I would have assumed that the reverse would be true: people who mostly sit all day should have less back pain. In my personal (apparently anomalous, given the posts here) experience, this is the case. When I worked in manufacturing 12 years ago, putting commercial refrigerators together, I had back pa...
What language was Scribd built in?
earl: We're a Rails shop, with some C extensions for Rails and a handful of internal java webservices running on top of Tomcat. There's probably a bit of lisp/clojure somewhere or other, but that's about it.Search has variously been powered by lucene and/or sphinx.The ipaper viewer was built with the Adobe flash autho...
How Much Equity to Offer First Employee?
dmytton: I asked that question at http://news.ycombinator.com/item?id=565045 which will probably be helpful. Also see the Equity Equation discussion at http://news.ycombinator.com/item?id=35015
How Much Equity to Offer First Employee?
tom_rath: I'd offer only commission on sales (perhaps add in profit sharing if he'll do other work in addition to sales -- you don't want to penalize him for those parts of his job which do not involve selling), that way his performance will be rewarded directly. It's your company and the equity is yours. 100% It do...
How would you implement a threaded forum?
lacker: You don't have to reflect the threaded nature of the discussion in your database. Just give every comment a foreign key to the original post or forum topic, and whenever you're displaying anything about that original post, fetch all comments about it from the database, and then after the DB part is done, then w...
Back problems
dkarl: These two books are essential reading for people with back problems and should be reasonably accessible to anyone with both an athletic background and an advanced high school understanding of anatomy and physiology.http://www.amazon.com/Low-Back-Disorders-Evidence-based-Reha...http://www.amazon.com/Ultimate-Fitn...
How many programming languages/development frameworks are you currently using?
TallGuyShort: I have to switch languages a lot too, but I've found that I don't have a problem as long as I use each language regularly. It's when I haven't used a certain language for a few weeks / months that I confuse it with other languages.edit: For the record, I frequently switch between Flex, Java, PHP/SQL, C, L...
How many programming languages/development frameworks are you currently using?
spooneybarger: For work, ignoring side fun things:Perl, Smalltalk, Ruby, SQL, bash, make, xhtml, css, SeasideDips into python and C from time to time
How many programming languages/development frameworks are you currently using?
ii: I had this problem (putting or forgetting semicolons) for a while, but it looks to be gone with experience. I constantly switch from Python to Javascript to C to Ruby.
How many programming languages/development frameworks are you currently using?
yan: The more you code in each language, the less severe a problem is. I find that as soon as you lay down a few lines of code in a certain language, your mind switches context to that language and the habits you picked up in that language come back fairly soon. Once you get in the swing of things, it should be straigh...
How many programming languages/development frameworks are you currently using?
chops: Right now I regularly use PHP, perl, and lua.I've been learning Common Lisp and Python for a while, though because my company uses those languages above, and because I haven't started any new projects yet for new languages, and because PHP has been my primary language for 5 years now, I think in PHP.I have to br...
Is there an archive, dataset or RSS feed of all HN posts?
abrahamvegh: I suspect Google has a stored copy, because they store everything.Agree with oscardelben though: It's going to be a lot of data.
Back problems
mike463: You can do two things: - ensure you have proper posture - strengthen your "core"First, do a web search for ergonomics and posture to make sure you're sitting in a neutral position. If you're not, you will be constantly using your back muscles (and neck, shoulders, etc) to maintain your posture when you sit, w...
How many programming languages/development frameworks are you currently using?
icey: During the day I use C#, VB.Net, Javascript and Python (also T-SQL, not sure if that really counts for your question though).At night, I was working on some Smalltalk and Clojure; but a friend of mine has recently convinced me to give Groovy / Grails a go.
How many programming languages/development frameworks are you currently using?
abstractbill: At justin.tv I program pretty much every day in Python, Javascript, and haXe. Occasionally I do Ruby too. It does get confusing sometimes - it still takes me a couple of seconds to mentally switch gears between the different languages.
How many programming languages/development frameworks are you currently using?
inerte: Side: Python, Django, web.py, sqlalchemy, D, Javascript/jQuery, Erlang, Postgresql, Mysql, Sqlite, CouchDB, Mercurial, GitWork: Perl, Bash, Python, PHP, Javascript/jQuery/in house stuff, ASP, Java/Jboss/Fast/JSP, ColdFusion, Soap, XML/XSL, Sql Server, Oracle, Mysql, SubversionHuge lists on both sides, but there...
How many programming languages/development frameworks are you currently using?
rufius: Too many :-|. Ruby, Java, C, Python, Scala, Javascript and when I can't avoid it, C++. If I get the chance then some Haskell, Clojure, or Common Lisp.
How would you implement a threaded forum?
ScottWhigham: I think the first problem could be better solved with a column that says "Include this row when displaying". You could simply have a DisplayOnsite column that's a bool. If true, display. In your view/proc/method/whatever (in SQL), just eliminate any rows WHERE DisplayOnsite=0.One thing pops to mind: Do yo...
"Founders at Work" of Gaming Startups
listic: IMHO, gaming industry is not very lucrative as a whole. As a rule, releasing a succesful project doesn't guarantee that you willl have funds for the next one. Therefore, teams developing games can hardly be called startups.Anyways, I think you are better off collecting and reading individual articles in special...
Why no love for PHP?
santacruz: I earn money with PHP for 8 years now. I just love it. When you in love you don't give a flying f..ck about anything else.
How many programming languages/development frameworks are you currently using?
squidbot: A ridiculous amount. 12 in fact. I wrote a wiki entry over at stack overflow about this (http://stackoverflow.com/questions/510261/how-do-you-keep-al...)I agree, it sometimes seems too much and I wish for some standardization.
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
abalashov: All right, you guys convinced me to give Eclipse another shot. So, I'm going to really try to get into it this time before I knock it.
How many programming languages/development frameworks are you currently using?
mahmud: I am a mono-linguist: Common Lisp for everything, from the hand-optimized webserver (hunchentoot), to the parser scripts that feed the database, to the data-entry software that lets my affiliates/contractors feed the database, and the daemon that runs routinely analyzing the database tables and building in-memo...
How many programming languages/development frameworks are you currently using?
Zak: Personal stuff tends to be in Clojure or Haskell lately. One project is currently using a little bit of Python to tie some things together, but that will probably go away. There's also some occasional Lua.Various paid projects over the past year have used Ruby, Common Lisp, Javascript and PHP.Emacs Lisp sees use f...
How many programming languages/development frameworks are you currently using?
keefe: In my project I use Java for the server with a jQuery front end and at work it's Java on the server again with an AS3 front end, so 3 serious languages unless you count RDF, OWL, Jena Rules, SWRL rules in which case it's more like 7, if you want to push the envelope and add XML 8, so taking those not-really-lang...
"Founders at Work" of Gaming Startups
lacker: I've only read a bit of this book so far but it seems pretty neat -Vintage Games: An Insider Look at the History of Grand Theft Auto, Super Mario, and the Most Influential Games of All Timehttp://www.armchairarcade.com/neo/node/2214It's not exactly interviews of founders; they don't really focus on the people w...
How many programming languages/development frameworks are you currently using?
apgwoz: Perl, Python, PHP, JavaScriptMovable Type, with Perl. Some Django, and non-Django stuff with Python. Hacking on Active Collab, written in PHP. Rely heavily on jQuery for JavaScript these days. Chicken Scheme for some random exploration now and again.I've become pretty good at context switching between them al...
How many programming languages/development frameworks are you currently using?
thorax: Today and yesterday: PHP/CI, Flex, Javascript, Python/Django, C++, C#/XAML, bash scripting.Fun!
How many programming languages/development frameworks are you currently using?
kriyative: Common Lisp, Erlang, Javascript, and ... Objective C.I am slowly adding Clojure to this mix.The most dissonant cognitive shift is going from Lisp to Objective C.
How many programming languages/development frameworks are you currently using?
joeyo: When I write them down I'm surprised at how few I actually use on a daily basis. It boils down to (in order of decreasing frequency): 1. Matlab 2. C++ 3. C
Merchant account and payment gateway for subscription-based web apps?
izak30: Merchant Account with local bank + Authorize.net has been our choice
Merchant account and payment gateway for subscription-based web apps?
zain: Feel free to look at any of the plethora of past threads about this.http://news.ycombinator.com/item?id=526517http://news.ycombinator.com/item?id=200920http://news.ycombinator.com/item?id=175186http://news.ycombinator.com/item?id=344030http://news.ycombinator.com/item?id=389692http://news.ycombinator.com/item?id=...
Merchant account and payment gateway for subscription-based web apps?
coopr: None of the above. Don't deal with all that hassle (and a major hassle it can be!) and use http://www.zuora.com instead - they are cheap for what they save you!
Merchant account and payment gateway for subscription-based web apps?
ericb: Braintree has a very high monthly fee (200 a month min) and so does not seem good for startups (they seem to forget about the fact that startups grow).I tried to negotiate with them... They came down to 100 min which was still more than double my other options. At this point when I said it was higher than I wa...
Merchant account and payment gateway for subscription-based web apps?
brm: looks like its new but very curious to see what kind of results this progresses with: http://transfs.com/
Back problems
Bjoern: - Sports- Try not to code on a Laptop or use a clever setup to avoid problems. E.g. see here for some details http://www.nhs.uk/Livewell/workplacehealth/Pages/Laptophealt...- The chair you sit in. It makes sense to buy a good chair if you spend all day in it.- Sitting angle. Interestingly a angle of 90 deg has ...
Making money during college?
mnemonik: Right now I am employed by University Residences at Western Washington University building web apps while I work towards my degree. UR is only one of many departments that has a need for tech staff, I'm sure there are tons more job openings than you realize. I was offered a job at the Financial Aid office aft...
Making money during college?
patio11: Campus work study when I was still a student, then got hired on by a pair of professors to assist with their research after graduation. It was a wonderful experience -- after the summer they wanted me to come be a grad student in their lab for $20k a year, I sort of had other aspirations in life, we parted wa...
Making money during college?
bryanalves: Poker is an easy way to make a lot of money
Making money during college?
matttah: If you have HTML/CSS and basic website skills you can get a fair amount of money from Craigslist very easily. Additionaly, see if your university web department needs a webmaster, generally they allow you to work from home and the pay is higher than other jobs on campus due to the need for technical skills.
Making money during college?
carterschonwald: there tend to be interesting jobs if you look long enough. Eg I'm doing some computational game theory for a Poli Sci prof part time over the summer and perhaps beyond. Fun stuff
Making money during college?
jobeirne: TA work: $9/hr for menial labor. Can get you ins with professors for research.Research: degree of pay varies widely. Our math department offers $12k for a year's worth of undergraduate research. I'd assume yours has something similar.Private sector: Last I was getting $18/hr for JSP work, but I found the Wash...
What services are available for sending/receiving SMS/MMS messages?
arfrank: www.textmarks.com/I believe they are free and make their money for advertising. They share the short code though, so you signup for a specific keyword at first.
Making money during college?
hbien: Work study job at the school's help desk. Best job ever - tax free and a lot of free time during the job to finish projects.Also, my dorm room happened to be right next to the building I worked in.
Making money during college?
tjpick: tutoring in the computer lab for 159.101 and 102
Side projects: How do you find people to work with?
nir: Might interest you: http://collabfinder.com/
Making money during college?
Femur: Donate Plasma or Sperm.