instruction
stringlengths
4
105
output
stringlengths
8
56.7k
Explain AWS
mollylynn: If you haven't done so already, check out RightScale (www.rightscale.com). They offer a dashboard that helps users access AWS.
Explain AWS
keefe: Each EC2 instance is a virtual, private server which looks just like any other linux box. However, files on disk are part of shared drives and are not guaranteed to persist. You have three choices : attach and pay for an elastic block store that IS persistent, make periodic backups to S3 or forgo the use of the ...
Explain AWS
nolanbrown23: I used Engine Yard Solo for working with AWS. It's great service and really easy to get started with Rails app on EC2. You've got to wrap your head around how EC2 works but I really love the ability to start up a brand new server on the fly and do whatever I need to do, and then shut it down.
Explain AWS
wave: Others mostly answered your question, but if you like to run MySQL on Elastic Block Store (EBS), you should read the following article:http://developer.amazonwebservices.com/connect/entry.jspa?ex...If you take the approach described in the above article, you should think about creating a symbolic link to your EBS...
Explain AWS
jawngee: a. Unless you like throwing money out the window, there is no need to host your stuff on AWS. It's the most expensive of the cloud offerings. Go with Linode or Slicehost.b. You'll have to use EBS if you want persistent disk storage with an AWS instance. Otherwise when you reboot, goodbye to everything on yo...
Should I care to support IE6?
twohey: As a data point, we see 53% of our traffic from some flavor of IE with a breakdown (for IE) of:IE-6 / IE-7 / IE-839% / 55% / 6%For us, this sadly means that supporting IE-6 is mandatory.
Has anyone here experienced tolerance with Modafinil?
shiny: What I want to know is, how do you guys get this stuff? I wanted to try it awhile back, but couldn't find a legit source on a net that wasn't selling a cheap knockoff from India.
Will Twitter replace RSS feeds?
grinich: Here's a TechCrunch article on just this.http://www.techcrunchit.com/2009/05/05/rest-in-peace-rss/
Moving to a New City
octane: Drink booze. But not too much. Sort of like college, but with limits.
Moving to a New City
spitfire: Get out of your comfort zone. I assume you're a nerd, so take dance lessons, or get into boating (community boating on the charles), get beyond your comfort zone. You'll meet new people, expand your horizons and change your perspective on things.
Moving to a New City
noodle: take up a hobby. figure out something you've wanted to do for a while and go do it, take a class and stuff. martial arts is the common example i use. puts you in a mixed gender class setting and has the potential to keep you in shape.
Moving to a New City
rms: The advice to get out of your comfort zone is good, but for staying solidly within your comfort zone OKCupid is the best (and by that I mean has more attractive people than PlentyofFish) free online dating site for the younger crowd.
Moving to a New City
inerte: As someone who has changed jobs twice in the last year, here's my tip: There're few reasons to worry.One thing that'll happen eventually is talk about work. And any talk is good to open new paths of conversation. Someone complaining about the boss? Tell a personal history, filled with baits.- Oh, I was working ...
Moving to a New City
ojbyrne: Unless I'm mistaken in recognizing the name, welcome aboard ;-)
Moving to a New City
bokonist: If you like sports, join a Boston Ski & Sports Club league. You can also join a gym such as Cambridge Athletic Club. It has basketball and squash leagues.Meetup.com has dozens of different groups of all sorts of interests. Also check out the Craigslist activities and events section. Going.com has more nig...
Moving to a New City
anigbrowl: Being around people all your own age is not a luxury, it's a trap. There are vast numbers of interesting people at all ages. Just surf around and let it happen to you - unless you have clinical social phobias or suchlike it'll take care of itself. You will sometimes be bored, demotivated, or lonely. This is ...
Moving to a New City
_pius: Find friends who are recent alums of BU, BC, Harvard, MIT, Wellesley, etc. and party with them. You'll meet a ton of people your age plus some people just a year or two younger.
Feedback on my book proposal
Cjmiller: I am looking for someone to help write my book proposal. You can contact me at Cjmiller3134@gmail.com
Moving to a New City
sown: I can see what you mean. I lived in the same town for the first couple of decades of my life. It's satisfying to know people in the town and point out who owns what building because I polished jewelry for him at his store in high school or which restaurant real estate is cursed because I've seen a dozen places go...
Moving to a New City
access_denied: Games. All sorts of games. Boardgames, RPGs, Sports, Theater and so on. There are always game groups searching for new members and you always have the possibility to just walk away.
Moving to a New City
asmithmd1: Here is a list curated by David Nunez of Dorkbot Boston.Upcoming Events:* [04/24-05/10] Boston Cyberarts Festival bostoncyberarts.org* [05/06 7PM] UX Book Club: Boston, MA Betahouse - 13 Magazine St, Cambridge, MA - 02139* [05/07-05/08] Independent Game Conference East Boston ($) http...
Moving to a New City
JayNeely: Be on twitter; Boston geek events get the word out through their twitter networks most of the time. You missed the most recent BarCampBoston, but the @BarCampBoston twitter account is supposed to be announcing interesting events. @02139now is a Central Square updates account (there's a network of these for ot...
Why no love for PHP?
ErrantX: holds hand up I use PHP. Indeed I use PHP for most of my commercial web stuff (i.e. stuff I make at work & most of my startup ideas).Mostly I'm a Python fan but for websites PHP is just 100% easier for me because I have a framework I know well (KohanaPHP) and years worth of snippets/experience to use in protot...
Why no love for PHP?
coglethorpe: PHP has a few downsides, everything from poor naming conventions to security vulnerabilities. People around these parts are always looking for the cleanest solutions to their problems and the latest methods available. PHP's relative age and problems make it neither.That said, I coded my first startup in ...
Why no love for PHP?
swolchok: It reminds me of Perl. Perl literally gave me a headache last time I coded in it. (Incidentally, this is why I'm wary of Ruby as well.) Besides, I am totally satisfied with Python.
Why no love for PHP?
badger7: PHP is like a mobile phone that's a year old - it's perfectly good, but ain't what the cool kids are playing with.
Why no love for PHP?
TallGuyShort: PHP offers little more than convenience. I use it myself because it's so easy to integrate with PHP and MySQL, and it's easy. I think it's a decent platform for a basic web-site, but further than that it doesn't offer anything truly unique or powerful.
Why no love for PHP?
JeremyChase: I have often thought the same thing as PHP is a fantastic web development language, and it is very well developed. The documentation is very good, and as you mentioned there are useful code examples right in the documentation. The learning curve for PHP is very low, and there is library support for pretty ...
Why no love for PHP?
ironkeith: In the past I've purposefully avoided submitting articles to Hacker News if they were about PHP. I kind of just assumed that they would be downvoted just for being PHP. I wonder if I'm alone in that?Edit: fixed a typo.
Why no love for PHP?
Jem: I'd love to see more PHP on HN (I am here to learn, primarily, and PHP is what I do), but the problem seems to lie in there being a lack of quality PHP articles. Maybe I'm being unfair, but just lately I've been getting the impression that the more someone knows, the less likely they are to share.
Why no love for PHP?
garethr: One of the things that I think is relevant to startups hiring is that (warning experience mixed with opinion ahead) there are lots and lots of PHP developers of wildly varying quality. This makes the initial stages of recruitment time consuming. By looking for people with skills or interest in Ruby, Python or ...
Why no love for PHP?
unfug: I've been using PHP at work and on personal projects for years. It has a very low "barrier for entry", which is both good and bad. It's easy/cheap to hire entry level programmers to write simple PHP, but it's all too easy to let them jump into big projects too soon and write something that turns into a huge me...
Why no love for PHP?
tannerburson: PHP doesn't get mentioned, because it isn't interesting. I've done a lot of PHP work, and still do. But there's not a lot of NEW going on in the PHP world. Their latest earth shattering move is namespaces. The only interesting thing about PHP's namespace support is how awful it is.Almost all of the co...
Why no love for PHP?
unexpected: People who are really good at their jobs obsess about their tools- artists obsess over their paint, carpenters obsess over their power tools, cooks obsess over their knives.PHP is like buying a chef's knife at Wal-Mart. You can create a 5 star dish with it, it cuts perfectly fine, but it doesn't inspire the...
Why no love for PHP?
jlsonline: Back in the day, PHP was exciting. It was free, it was powerful, it was easy to learn. Everyone coming out of college knew C anyway and it has a similar structure. You could suddenly give your circa 1999 web pages a page date in REAL TIME and you could respond to forms without nasty cgi-bin. Eureka!Nobody...
Why no love for PHP?
begemot: When you know you could save pages of code with it, being without proper higher-order functions is beyond tedious.
Why no love for PHP?
jxcole: I use PHP every day at work. I find that the best way to program PHP is to pretend it is java and ignore (almost) all the other features. Many of the features of the language are very powerful and because they are so powerful, PHP has a tendency not to scale well.If there are 200+ ways to do one thing you can g...
Why no love for PHP?
mdasen: There are lots of reasons.* PHP attracts idiots. Partly that's because you don't need to know anything to make simple PHP. So, in the large pool of PHP programmers, there are a ton of idiots. And those idiots produce a lot of verbose code that gets used because it does something. Ruby, Python, Perl, etc. al...
Why no love for PHP?
cardmagic: PHP is not a language that was designed to be a language. It was originally a set of scripts that slowly morphed into a kind-of language. Because of that, PHP lacks a lot of the language features (threads, namespaces, proper OO design from the ground up) that "serious" languages all have. Ruby was buit to be...
Resources for learning HTML
rimantas: http://htmldog.com/ wasn't bad as far as I remember. Be careful with the books, do not pick "old-style" one, which pays no attention to web standards and semantics. I'd recommend "Web Standards Solutions: The Markup and Style Handbook" by Dan Cederholm (http://astore.amazon.com/simplebits-20/detail/1590593812...
Why no love for PHP?
KrisJordan: I abandoned PHP about two years back. 8 months ago, after going to a conference and hearing the folks at Flickr talk, specifically Cal Henderson (http://www.krisjordan.com/2008/09/16/cal-henderson-scalable-...) I got re-energized to take another stab at making PHP pleasant to work with.The results of my las...
Resources for learning HTML
coglethorpe: I often end up at http://www.w3schools.com/ They have some pretty straighforward examples to get you started.
Why no love for PHP?
fsniper: I'm a big fan of PHP for myself. But I've seen enough of PHP script kiddies out there making nearly free (as in beer) websites/webapps. They become a mess in no time.Mostly hacking phpnuke, joomla or some other messy portals. Hacked sites mostly never get any security updates or any kind. But employers having ...
Resources for learning HTML
shubhamharnal: http://dev.opera.com/articles/wsc/This is an interesting take on learning things right the first time around (the historyof HTML has been riddled with right and wrong ways to do things).Since HTML alone doesn't suffice anymore, "Head First HTML, XHTML and CSS" is a pretty good place to get started.Good L...
Why no love for PHP?
JoelMcCracken: How is this a question?
Why no love for PHP?
flooha: I've got nothing against PHP, it's just a matter of preference. There are a lot of fantastic apps built using PHP and I use them on a frequent basis. However, if I build something, it's Ruby all the way. I just find it much cleaner and pleasurable to develop with. Looking at PHP makes my eyes hurt now.The g...
Why no love for PHP?
jcapote: If you can develop as quickly in PHP as you can with RoR, then you are not using RoR to it's full potential.
Why no love for PHP?
asnyder: Personally, I enjoy working with PHP, but only because I work with a platform/framework on top of it. I would likely steer clear otherwise.While PHP by itself can be a challenge to work with, various frameworks and platforms abstract those idiosyncrasies while providing a significant increase in out of the box...
Why no love for PHP?
JoelPM: Coming from a Java background into a startup that was built using PHP, it's been my experience that PHP is difficult to scale. This is for two reasons:1) PHP isn't long-lived. Every time a request comes in Apache launches the PHP processor/interpreter and runs through the entire script. This means you don't get...
Why no love for PHP?
rbanffy: PHP was a hack conceived long ago, in a time where there were no complex (as in "more than one page") web applications and little to no demand for them. It has the readability of Perl and the structural elegance of 70's BASIC.Need I say more?
Why no love for PHP?
shaunxcode: php is my virtual machine. It runs everywhere (and cheaply), Anything is possible with it - it's just really ugly - thus code generation is your friend. This is something I hope to drive home with http://lisphp.googlecode.com (nearly r5 scheme) and LET (my smalltalk w/ macro expansion) which is used in http...
Why no love for PHP?
bcheung: I work as a full time web developer and am required to use PHP for everything server side. It's one of the worst languages I have ever used but I live in a LAMP world and everyone requires me to use it.I have used Clojure and RoR in the past and really like them but unfortunately I can't use them in reality. ...
Resources for learning HTML
keefe: I think w3schools is the best starting point as well. However, if you are pretty new at this stuff I'd suggest you also take the time out (if you have not done this already) to get your basic computer knowledge with something like : http://www.academicearth.org/courses/introduction-to-compute...
Why no love for PHP?
breck: I like to code in other languages more than PHP but for the startup, that's what we use.We use PHP because at the end of the day startups are a job, and you've got to be creating value. I find that PHP gets the (web development) job done better than anything else.Is programming in Ruby or Python more fun? Way mo...
Resources for learning HTML
grahamr: I highly recommend O'Reilly's Head First HTML with CSS & XHTML.It's written for learning instead of reference, and focuses on modern best practices. It anticipates and answers most questions a beginner might have.http://headfirstlabs.com/books/hfhtml/
Why no love for PHP?
octane: PHP sucks, that much is clear to anyone who's ever used Python or Ruby or whatever. But...1. It's on every server.2. It works consistently.3. There's a lot of it already written.4. It's easy to find people who know it.5. Who will work for reasonable pay.#4 and #5 are usually overlooked by people for vario...
Why no love for PHP?
Kaizyn: The truth is that this is Hacker News. No matter how appropriate PHP may be as a tool for many web programming jobs, no one wants to admit to their cool 'Hacker' friends that they use it. Just like you won't hear many people talk about how they're using ASP.Net or C# for their startups. It's not that these a...
Why no love for PHP?
c00p3r: Just imagine a fake swiss knife made in china with a hundred of blades and tools, no one is good enough for its task.
ways to obtain critical mass?
asimjalis: Look at the conversations and see what the value proposition of the site is. What is it that people are looking for. And then highlight that value.
ways to obtain critical mass?
no_signal: Try to make something funny...maybe a video...or something..fun is always viral.
ways to obtain critical mass?
delano: I noticed your post yesterday in the thread about company names and I tried out a few conversations with Tjetter. I saved a couple of the URIs:http://tjetter.com/#3JcShttp://tjetter.com/#3JdzIt's an interesting concept but I wasn't sure what to do at first. What do you say to a person without any context? In ea...
Why no love for PHP?
lleger: Maybe I'm a pariah here, but I like PHP. Especially when I have teachers cramming C++ down my throat. But Ruby is a great language, too. I've had my fair share of fun with both.I think the thing to remember is that as programmers we should be language agnostic. This is because we need to chose the right too...
ways to obtain critical mass?
markessien: I think you misunderstand viral. It may be virally shared, but it's not viral by its nature. A viral app is an app like skype or paypal, as they only get useful when the other person uses it. An app like facebook, you interact with the other person over the site, as the person who invites you is 'there'.You...
Why no love for PHP?
keefe: I don't care for PHP because it's interpreted vs compiled, debugging is a pain and it muddles view and application logic! Separation of concerns is one of the key principles of software engineering. Also, library support is much better in Java and it's generally a more mature language. I really want to write my ...
ways to obtain critical mass?
swombat: How is it "highly viral"? If it was highly viral, surely, it would acquire critical mass by itself (that's kind of the definition of a viral application)
ways to obtain critical mass?
akronim: Ok, gave it a few tries, every conversation is terminated as soon as you reply "male" to the inevitable question! So option one is probably get 5000 girls on there!
Why no love for PHP?
TweedHeads: PHP is like Basic for web developmentEverybody knows about it, but nobody talks about it.
ways to obtain critical mass?
kalmi10: Make "high-speed replay" more speedy. Having to watch for 30 lines for 3 minutes is a bit boring... (or at least add on option to speed it up)This is not going get you "critical mass", but it might help a bit.
Why no love for PHP?
FlorinAndrei: It's the MS Windows of programming. Everybody uses it, nobody brags about it.
What would you be doing different if copyright/patent law didn't exist?
pg: Everything would be running on Berkeley Unix.
Why don't CPAN equivalents exist for every language/framework?
sri: maybe because we now live in the google era -- easier/faster to just google it
Why no love for PHP?
tybris: I used it for years and still regret it.
What would you be doing different if copyright/patent law didn't exist?
buugs: I'm sure everything would be different considering cloning products and ideas would be free to do which would require innovation to occur extremely quickly or products to be mostly staple goods.
Why no love for PHP?
BerislavLopac: PHP is not a programming language. It's just an overblown template engine.
Why no love for PHP?
ninjaa: For all its flaws, PHP and Perl are the only web languages that let you build a web app in _whatever_ fashion you want.This extreme flexibility coupled with mature libraries makes web app development ridiculously easy. For a complex application that starts at ground zero I would probably recommend Ruby or Pytho...
Why no love for PHP?
jrockway: I wrote a long post about this here a few weeks ago:http://news.ycombinator.com/item?id=579387Basic ideas -- missing language features, language features that don't work, improper OO, lacking modern abstractions (where's a good ORM?). Read the whole post for details.
Why don't CPAN equivalents exist for every language/framework?
duskwuff: Python has PyPI. Ruby has the Gems repository. PHP has PEAR. There's no CPAN equivalent for Javascript, but that's largely because one doesn't generally install Javascript libraries in the same sort of way that one installs Perl modules.
Why don't CPAN equivalents exist for every language/framework?
rml: From Jarkko Hietaniemi, the CPAN Master Librarian:http://www.cpan.org/misc/ZCAN.html
Why don't CPAN equivalents exist for every language/framework?
jpcx01: Saying Rubygems as a CPAN like system has failed is retarded. It's vastly easier to work with than CPAN, and has gems for everything imaginable. The barrier to package up a new gem is almost nil (nearly automatic if you have a github repo).
What would you be doing different if copyright/patent law didn't exist?
paulgb: All speculation, of course:Most movies and TV would suck because people would be stripped of the motivation to undertake big projects. Music would still be good, because it is less costly and the live experience is worth more than for movies and TV.Privately funded pharmaceutical innovation would end. Software ...
sharing social data
mcav: Status updates. The rest would make for interesting demographic research, but statuses change constantly and provide real-time info into what people are doing or thinking.
Why don't CPAN equivalents exist for every language/framework?
silentbicycle: For one thing, there's conflict between using an OS-level packaging system (such as Debian or Ubuntu's package repositories, BSD ports, etc.) and a language-level packaging system, and mixing the two often doesn't work so well.Also, as a language, Perl occupied a somewhat unique niche for a while. It cer...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
mcav: Emacs?For command-line folk, either Emacs or vi would probably make the most sense long-term. They often have plugins to add functionality to make them more IDE-like. Learning curve's a bit tougher though, and might require more effort than it's worth. I still haven't completely switched over to Emacs yet, but it...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
whirlycott1: Anybody who writes java code in anything outside of Eclipse, NetBeans or IntelliJ is wasting their time. It doesn't take an enormous amount of time to learn how to use Eclipse. It probably takes 15 minutes of someone showing you the ropes. You need to stop thinking of the problem as "I need a text edito...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
jm4: I love IntelliJ, but if you think Eclipse and NetBeans are bloated you'll almost certainly think the same of IntelliJ. Keep in mind, though, you do get a lot of features in return for all the "bloat"-- refactoring, intentions, inspections, better navigation and too many others to mention.Programming in Java is ted...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
dforbin: it seems really weird to me you find netbeans complicated. There's a reason java developers use bloated IDE's for anything more than quick edits. Spend a week in Netbeans and I bet you a lap dance you keep using it.
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
mdoar: I get funny looks for using emacs for Java work, but it loads and runs fast on all the different platforms I work on. I have used and support people using Eclipse, and generally I like the ability to find definitions etc, but the refactoring rarely proves essential. As for autocompletion, if you can't hold the w...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
_debug_: ablashov, I have to chime in with the others here and let you know that Eclipse does so many things for you, that in direct contradiction to what you assume, it is actually difficult to set up Emacs or Vi to do the same for you. One example is whole-workspace refactoring : Let's say you decide that a function ...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
taxcollector: I have been meaning to check out eclim: http://eclim.sourceforge.net/
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
stuff4ben: I'd give JEdit a look. It's been a while since I've used it, but when I did several years ago, I appreciated how lightweight it was and it just worked. Nowadays I use Intellij on Ant and Maven based projects.
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
rjurney: The pain of Eclipse's bloat is real, but the speed with which you can learn new libraries through its features is worth it. I won't come within 10 feet of Eclipse for anything but Java, but its so great it makes Java fun because I can effortlessly zoom through definitions in multiple layers of libraries and f...
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
ismarc31: If you know emacs: http://jdee.sourceforge.net/
Reasonable Java editor for heavily CLI-oriented UNIX types who hate bloat?
BonsaiKitt3n: Too bad Textmate is only for the mac, it rules the earth as java editor and it's lightweight like a gui text editor.I moved from eclipse to textmate over a year ago and I can't even open eclipse now it upsets me.
quickest way to earn some hacker news points?
wooby: Flame PHP.
quickest way to earn some hacker news points?
DTrejo: Say smart things and find interesting things.
quickest way to earn some hacker news points?
oldgregg: 1) Create an irrelevant post asking how to get karma.
quickest way to earn some hacker news points?
pg: Roughly twice as many points come from comments as stories > (with (s 0 c 0) (for n (- maxid* 10000) maxid* (let i (item n) (if (astory i) (++ s (realscore i)) (acomment i) (++ c (realscore i))))) (list s c)) (14501 28488) so the way to get lots ...
quickest way to earn some hacker news points?
noodle: contribute relevant information and/or clearly labeled opinion.
Equivalent of CodeIgniter, but in Perl?
jdp: I actually preferred CakePHP to CodeIgniter, and really only on the basis of aesthetics. I don't like This_Case :( I was going to say Catalyst, but Mojo looks way cooler. If I were you I'd give it a try
quickest way to earn some hacker news points?
ErrantX: Why? I never look at other people's karma anyway. Really it's a silly concept because it can only, really, go UP (except in odd cases) and there is no easy way to judge 2 people next to each other (because they will have joined at different times and commented in different places).And besides 68 Karma does not...