skysight-inc/HackerNews huggingface dataset:
> You could have manually downloaded the files for all the libraries you need

Yes, why not?

> placed them in the directory

Placed them in any directory on my $LOAD_PATH, yes indeed.

> and required them directly

Uh no, there's nothing to touch there. Library is on $LOAD_PATH, any require $the_library will find it perfectly normally.

> See, who needs rubygems?

Nobody. Rubygems is a very nice convenience, not a requirement for anything.

> Where the hell is Ryan getting all these gem-using libraries anyway, if not from gems?

Tarballs? Github? Rubyforge? His colleagues? The Internet?

And as a side note: if the library was obtained from gems, then it was loaded from gems, which means by the time the library is reached rubygems has already been required and loaded.

Where's the sense in requiring the tool which loaded you in the first place, exactly? Doesn't that seem a bit dumb to you?

> And what is supposed to be wrong with it, anyway?

And what's wrong with not wanting to use it, anyway? (and what's wrong with it is that they clutter the $LOAD_PATH. You don't care, Ryan apparently does)

> Oh well, anyway .. who cares. You're a crank and so is he. Rubygems is here to stay and if you don't like it .. well again, who cares.

You… completely missed the point. It's impressive.
Dynamic Invocation in PHP Exposed
Wikipedia is amazing.

I was going to write "For all its faults..." but I suddenly realised that Wikipedia has never been anything less than fantastic in anything I've experienced. All the bad stuff has been related to me 3rd hand and the vast majority of it seemed to be coming from cranks with axes to grind.

I'm saddened that it isn't celebrated more, but take solace in the fact that it has, fairly quietly considering, become a fundamental part of the internet and our society.
1. Your college major doesn't determine your career. That's a flat-out myth.

This is one assertion I see an awful lot here that rather bothers me. You cannot become a medical doctor without the proper degrees. You cannot become a teacher (where I live, at least) without the proper degree (it's not technically required, but no employer will come within a hundred yards of you if you don't have it). You can't become a whole pile of potentially-interesting, reasonably-well-paying things without the correct degree. You can program without a degree, but the notion that there is therefore no connection between getting a degree and success in your chosen career path is ridiculous.
Traveling, like most other activities, really is contingent on how much work you put into it. Traveling passively is easy to do and essentially useless. You go somewhere else, rapidly seek out the things that make you comfortable, and then sit there bothered by how these approximations don't quite make you as comfortable as you would have been if you never left. You might go try the tourist gig a little, snap some pictures to prove to your friends and family you were wherever, and then go and hide some more.

It seems hyperbolic, but go to any practically and hostel in a developed city worldwide and you'll find a group of Americans doing just that (not to mention other debaucheries).

Traveling actively is basically the exact opposite of that. It takes research, bravery, spontaneity, social skill, and a boat load of curiosity. When you travel like this though you can paint yourself into entirely new environments and see the ways you expand, you can look back into the ways you live normally and then pick and choose the parts you like the most. In this way you can actively change your own world and certainly put yourself in a better place to continue making positive changes.

Most immediately: you'll soften your bias and become aware of the biases of others, you'll understand the traditions of your culture and be better able to interpret their necessity or value, you'll become experienced in some other culture able to interpret things through a slightly different point of view. Together these things can be used to vastly improve your home or can become skills to help you change the world.

Of course, if you want to travel and at that very moment do some active changing, you may want to try something like Peace Corps, Doctors/Engineers Without Borders, or other world health initiatives. You should be careful though because if you don't have the experience which can let you isolate your own cultural biases a little then you may get connected with some group which will inhibit your ability to learn. In my opinion, this is the trap which things like mission trips fall into and, as an effect, they may become some kind of mixture of harm and benefit.
How about a morning bath rather than a shower. It works for me.
I've seen helicopters in films with shadows (due to the helicopter with the camera inside). But yes, that's not at 35k feet, but more like 200 feet.
Politeness theory
This is one of those things that is incredibly difficult to explain to people that haven't done it, while the people who have, instantly get what you're talking about.

I disagree with the author that you shouldn't just travel, but you should actually live in different places. You hardly learn anything from staying in a place for a few days but you learn much more if you stay in a place for at least a few months.

Living abroad challenges you in ways that are very hard to find at home. Everyday things like buying groceries or ordering food in a restaurant become challenging (as long as you don't go to an English speaking country). You start to discover beliefs that you didn't even know you had because the local people believe and act in totally different ways. You're always questioning 'why?' Why do people push to the front here and not line up properly? Why do people shake your your hand again when they see you even though you've met them a bunch of times before? Why do people not understand sarcasm like in North America? Why do the people sit around drinking coffee all day? Why is this person giving me a gift? What are the reasons behind this? Why did that person say they would do something when it was obvious they weren't going to do it? Is this representative of the whole culture or just this one person? Why do so many people believe in superstitions and tradition? and so on...

You start to recognize your own culture and, especially upon returning home, start to see things that you don't really like about your own culture - things that you weren't even aware about before.

Living in another country is a great opportunity to learn more about yourself, about others and have a rewarding experience consisting of ups and downs.
If your only category distinctions lie between Lisp and non-Lisp languages, then yeah, pretty much all languages do it.
The real question is if you consider another symbol to be more appropiate. Since the comma correlates well to the purpose in question in natural languages, it's the most obvious choice.
Thomas Andrews (1873 – 1912) died with 1,516 others when his innovative, "unsinkable" design for the RMS Titanic proved to be much more sinkable than he had anticipated.

Seems to be a little violation of NPOV, and a very sad one at that, but I can't help but grin.
I'm most productive when it's light out, but I like to stay up late and get up late.
I'm most alert in the mid-morning, about an hour after I sit down at the computer. My mind is active and energetic at that time, and I'm keenly aware of practical issues, such as schedules and customers. This is the best time to prioritize my tasks and do straightforward design work. I also spend this time figuring out what practical preparation needs to be done and making sure I have the resources (docs, working boxes, software tools, and so forth) to do it. If there are any bugs or broken tools that will hold back my work, this is when I'm most likely to have the initiative to fix them.

Later in the day I'm more theoretical and less practical. This is when I crank out the LOC, when I'm relaxed into a groove and really inhabiting the world that I mapped out that morning. I definitely don't get as much coding done when I'm super-alert. The right state of mind for coding is entirely different from the right state of mind for grunt analysis and design work. This can be a problem when I need to mode-switch back and forth between coding and analysis. HOWEVER, really difficult design questions that require imagination are usually solved late in the day, in my relaxed, theoretical frame of mind.
"# Afternoon tiredness can be overcome by coffee or a 20 minute nap (ideally both, since caffeine takes 20 minutes before it gets through your system).
# If you like to limit your caffeine intake, you may want to save your quota for when you experience your natural dip. "

Evil! I don't drink caffeine! I usually get 6-7 hrs of sleep but I am most awake at around 10pm-12 or 1 am.

I found NOT drinking caffeine improves my overall alertness. Without it I set my own rhythm for waking up, sleeping, being tired, etc. With it I just get these spikes of alert after drinking coffee, then even more down, then more alert, etc. It makes my day completely unbearable, and god forbid I don't get my coffee.

However I noticed my most alert time is mainly due to the fact that around 10pm to 1am nobody bothers me. I can pretty much do whatever I want without anyone pestering me for "honey-dos" or any distractions.
I've read in the past that he didn't actually hit the F-117. That unit has no radar warning for incoming missile. The pilot saw one coming in, giving him only a few seconds to react, and he ejected. The missile would not have hit the plane.
I'm not sure any of these are a healthy approach to build something 'useful'. I'm sure once you have built a useful product you could later say that it was 'Horizontal' or 'Vertical' etc, but to build a product strategy based on these concepts is to 'rule out' a potential market before you've even started...
I have been teaching myself programming over the past 10 years. I started doing freelance web design while in college and it's been a steady income ever since. I had a profitable internet business in college as well (a comparison shopping site with affiliate links that predated mysimon.com!).

The most valuable part of college was the experience, the people I met, and the T1 connection in the dorms. Studying English taught me how to quote Shakespeare and write sentences like the last one with parallel structure. Occasionally I wax poetic about the similarities between sonnet form and object-oriented PHP.
Excellent resource. I missed this the first time around. Thanks
It's bad for the list's credibility, but I don't think it would be terrible for HN to be mentioned on VentureBeat.
A bike ride to work followed by a cup of French Pressed coffee is my "wake up!" cocktail. A mid-morning coffee or Mountain Dew (sometimes both), another dose after lunch to fight off the ensuing food-coma, and then something to get me through the last part of the work day. Us 21-35ers seem to really like to get our 'feen on.
Rails does this automatically with JS and CSS files called by the built in helpers.

Also can cache a number of js files into a single JS file for better performance.
He assumes you make more than $2 a day. http://chrisguillebeau.com/3x5/you-are-incredibly-rich/
Actually... this illusion gets better. Move your HEAD left and right along the horizontal axis of the illusion. The angles would seem to change because you feel like you are moving across a place with two buildings.
Please argue your point.
I just wish more people realized this with donations to the Wikimedia foundation.
Age: 0+, 0 portions day, only need caffeine when responding to a two variable poll
Warn HN: XKCD is probably NSFW today
That is all.
I drink 'the black stuff' (no, not that black stuff, black tea), pretty strong.

edit:

As if on queue I get this spam message headed "Need to Lose Weight & Boost Energy? Try Green Tea"

I'm going on the assumption here that nobody on HN is pulling a prank.
12 am.
The discussion of the storage of the hierarchies in the database is quite interesting.
I've nearly completely switched to Piracetam from Caffeine when I need to focus. It helps with short term memory, alertness, and motivation in my experience. It's cheap as dirt when you buy it in bulk too.

http://www.google.com/search?q=piracetam
Reference, please. I find that claim rather dubious considering that the common chimpanzee and bonobo are recognized as different species, which would make us at best third in the balls department. And we're not really comparable - the difference in size between us and them is about a factor of 3. (Chimps weigh in at 4 oz, we are 1.5 oz. The average male chimp is 100 pounds, we weigh somewhat more than that.)

In fact I'd bet we lose to the anubis baboon. http://www.springerlink.com/content/ktvkuqv460200j70/ probably has the data for a definitive answer on that but it is behind a pay wall.

If you're looking for amusing evolutionary sexual trivia, humans have far larger penises relative to body size than any other great ape.
I really enjoy his comics, and I especially enjoy reading his comics at work. So to see that comic was a little disappointing.
A guy with 200 soldiers and a few $20K missiles brought down $60M worth of US equipment. In the big picture it had no effect, but most people enjoy the underdog story.
Watch Movies and TV Online for Free | TechJaws: Internet Security and SEO
Does it make it any better? Reminds me of the Gattaca analysis from yesterday:

http://news.ycombinator.com/item?id=797609
Happy to see no software inventors (yet).
Phew, no computer scientists on the list.
certainly longer is better but every trip offers a chance to learn something - and not the trivia that can be found in brochures. traveling supplies a nearly complete change of context for your brain and if it is turned on change will certainly occur (i.e. growth). differences in customs, architecture and language are extremely inspiring.; many of the best lessons are indirect and stem from thought provoking experiences akin to brainstorming rather than the accumulation of data.
Maybe this is a dumb question, but do you have any problems with cross-browser support for that situation? I'd love to try this out in my app -- div soup is a killer.
If you're going to be in the tiny tiny minority of Ruby devs that insists on not installing rubygems, having a stubbed "rubygems.rb" in your load path is not an unreasonable request --- particularly compared to the request that everybody else uses some contorted command line to execute their script to accomodate you.
I disagree.

How much you learn is dependent on how willing you are to put yourself out there, even if only for a brief period of time. While I prefer to travel for longer periods of time, I certainly will not knock a two week trip through Europe. You can learn and experience a lot with the right attitude and outlook.

To attempt an analogy fitting for this forum, saying that it "does not teach you anything you couldn't have learned from a brochure" is like saying there is no sense in starting your own company when you could simply work for one that already exists. Creating a company is much different than working for a company. Much like being in a place is a lot different that reading a brochure about it. All the things that make creating a company a valuable experience are the same things that make traveling a valuable experience: all the little details, the hurdles, the hassles, taking a leap, getting there.

I also recommend the following essay by Pico Iyer: http://www.worldhum.com/features/travel-stories/why-we-trave...
Exactly like smanek described to define the tags. Then you use them like this:

<question:required>
<question:text>
Would you recommend us to a friend?
</question:text>
<answer:choice>
<input type="radio" value="Yes">
</answer:choice>
<answer:trigger>
<input type="radio" value="No">
</answer:trigger>
<question:subquestion question:trigger="No">
Please explain why you wouldn't recommend us:
...
</question:subquestion>
</question:required>

I then used jQuery to bind events to the newly created tags to hide/display subquestions based on the response, and css to style it.
It's not mentioned in this article, but Python 2.6 objects have a __sizeof__ method, used by sys.getsizeof():

>>> help(sys.getsizeof)
Help on built-in function getsizeof in module sys:

getsizeof(...)
getI(object, default) -> int

Return the size of object in bytes.

http://bugs.python.org/issue2898
If I like it I enjoy it, if not then I hope for better tomorrow.

If your boss would fire you for watching that you need a better boss, a better work ethic (because you probably shouldn't be watching cartoons during work anyway) or both.

It's a drawing, nothing NSFW about a silly drawing. Or is there anybody here that would fire their employees for looking at this ?

In case you don't work for a company run by extreme prudes here is the link:

http://xkcd.com/631/
Using the namespace and jQuery there was no problem in IE6/7, FF 1.5/2, Safari, Chrome, and Opera 8 (this was in 2008)
The /bin/sh link thing is a Linuxism --- in fact, I think it's a Debianism. On FreeBSD, Solaris, and OS X, /bin/sh is either always Bourne or always Bourne-Again.

Also, the link that is there is always to a Bourne shell variant. It's not like your system will run fine with ksh as /bin/sh.
Double Meh. Traveling is definitely overrated. Nonconformity != Traveling. The perks of travelling just to "see" new places is novel, but gets old fast. If you've travelled a lot, you get to see the hoards of backpackers and tourists that swarm to the usual (and usual unusual) destinations, and it starts to get lame, fast.

And I'd agree mtts that you don't "learn" much about just visiting a country. Sure, you may "see" what a town or city is like, but you're just reading the cover, not the book.

I moved to New Zealand just for the heck of it with my family, and lived there for almost 3 years. Everyone that visits there gives the same 'ol schpiel... "Oh, it's so beautiful there. It's where the Lord of the Rings was filmed! It's the greenest place I've ever been, and is so environmentally friendly". Everytime I heard that, I could only let out a hugh sigh. They visited and didn't "learn" anything. New Zealand dust crops their entire countryside with poison (1080, which is illegal in the US) quite often, and is "not" very environmentally progressive. Their marketing department, however, is quite progressive!
"...does not teach you anything you couldn't have learned from a brochure about the places you're visiting."

Sorry, That's not right. It's funny that you say it, specially when you have no stories to support. Perhaps, you confuse travel with being a tourist. Travelling is a different ball game than being a tourist - going by the brochures, paying the entry fee to the biggest shoe in the world and then hitting the bar in the evening and catching the flight back home. Travelling is not going to Disney-world. Travelling is even living at a place for an unplanned amount of time.

context- i met many 'travellers' in the past week - during a visit to a remote part of china. me and wife didn't go to the touristy parts of the area. Infact spent a day just sitting and listening to nature. Among them, I met this european couple (with kids) who are living there to save enough money to make to the next goal - RVing across Americas. I met this couple who travelled all around and found their funds depleted in Malaysia and so they have been working there to save money..until the next step. There was this one guy from Norway who worked super hard last year to just travel 6 months (mostly by land). Travellers don't go by brochure, they go by recommendations by other travellers. And mostly all 'travellers' try to avoid flights to the extreme (even taking a van across the Gobi desert)

I actually asked blunt questions(with prior permission) about their learning/philosophy/future plans..etc(even their kids)..too long to post here. But I will say this - they do learn - actually continuous learning, learning from cultures, respecting people, not being judgemental(do you the see the homeless man and the bentley salesman in the same way, talk the same way?)..many more things.

Apologies, but I am surprised that many people 'agree' with you without your giving your 'proofs'.
Not day to day, but I can send a vial of spit off to a company which will then tell me if I have any genes which increase risk for certain illnesses. I can then take preventative measure.

For an old timey medical thing, which is really what you should be comparing your medical knowledge stuff to, not electricity, what is a practical, day to day, benefit of antibiotics? (I would argue the curing your sickness is a special occasion benefit, even less day to day than preventative measures taken from the genome thing).
Tcl taught me to "env tclsh" instead of specifying the path, and I do it religously now. You don't want to hardcode the path to the interpreter; people will often install their own, and no matter what the vendor says, Tcl, Python, and Ruby aren't really part of the base system.
ifequal uses __eq__ anyways.
What are the total operating costs of Wikipedia? Not to bring politics into this, but with all the stuff the government funds, these seems like a prime example for bailout money.
If you feel like you have time to explore who you are and what you want to do, I'd suggest casting a wide net and taking some survey courses in potential areas of interest for you. If you like Psych and SQL you might enjoy Sociology - see if your school has a statistics programming class for the social sciences (usually uses software called SPSS).
Why should you learn something of substance for it to be worthwhile? You dismiss the diverse life experiences you'll gain, even as a tourist. Not everything has to have an educational or financial pay off. Sometimes just being somewhere else is its own reward.
ikea or craigslist for all the chairs and tables. backups I would use s3 like everyone recommended. for pcs, let everyone use their own laptops. versioning - github. online meetings - skype. mail hosting - google apps. printers - go low end that can handle internet or wifi. whiteboard - get ideapaint and paint the walls with the stuff. stationary??? wut for!
* "I like staying at home." - This is another way of saying,
"I'm afraid of change and different experiences."*

Bullshit. I find travel very stressful, and none of it is due to fear of change and different experiences. It comes from living out of a suitcase, having to re-buy all the toiletries and crap I have at home but forgot to bring, and being away from my wife and dogs who I enjoy spending time with.

Just remember: don't like != am afraid of I don't like buttermilk biscuits. That doesn't mean I wake up sweating in the night screaming that they're coming to get me.
The absence of 'switch' seems reasonable - it's pretty rare that you need a switch, so is it really worth introducing another keyword?
I'm not so sure the problem comes down to a fear of admitting getting it wrong in the first place, as much as it is a desire to hold tightly to a rule for template design that the creators feel has served Django well (keeping the templates simple). When it comes to your own rules, everyone is a little afraid of the dreaded 'slippery slope', no?

For the record, I agree that something this basic should be built in to Django. I certainly use it often, I'd be a bit surprised if its use wasn't common in the Django community.
You've got to have some kind of strategy to begin with though, don't you? I'd assume you would have an idea of who you were targeting with your application, even if that target audience changes.
I drink a lot of coffee because I like it and it's fairly low calorie, since I use saccharine and skim milk with it. But as far as I can tell, and I have gone cold turkey and used decaf and caffeine pills to manipulate caffeine levels, caffeine has no effect on me at all.
Having the 99.9% of ruby users who don't have a religious problem with rubygems all specify rubygems on the commandline seems like a more ugly hack than having the 3 developers in the world who care about this problem alter their environment.