skysight-inc/HackerNews huggingface dataset:
Clojure is powerful enough that its easy to write a "true" templating library along the lines you describe. I wrote a very simple templating tool (47 loc) that allowed clojure to be evaluated within PHP style tags -- I didn't use it because I felt it doesn't add anything other than familiarity i.e. it was a step backwards.

If you write your own html then compojure is, without question, the way to go. S-expressions require less typing than html and you can write functions or define snippets that build webpages up without the need to repeat yourself. Its an end to copy and paste. Also, stylesheets are your friend and can do most of the work of presentation.

If you work with designers who require full access to the HTML then Enlive is a good option -- as you said there is no template code in with the html! Surely this is a step forwards from custom comment fields or custom tags?
Hug a Pug: A virtual world lesson for the real world music industry
Learning to sell is just like learning to program. You learn by getting your hands dirty, not by reading a book.

The absolutely best way to learn sales is to get a job cold-calling people trying to sell them newspapers or something. You'll learn more from the people you work with than you'll ever learn in university or anywhere else. After a few weeks you'll pick up peoples intonation, mood and other subtle cues and you'll be able to tell within 30 seconds whether the guy at the other end of the phone will end up buying. When you've learnt to cold-call people and sell to them everything else is easy.
> Arctic ice seems to be trending downward, and fluctuation more rapidly.

Your link doesn't support that conclusion.

> But that's rather immaterial too, since much of the expected and currently visible sea level rise comes from thermal expansion of the oceans. This is a pretty clear temperature link.

And yet, you don't bother to provide any water temperature argument or tell us the magnitude of the sea level change from said temperature change.

> Perhaps the most relevant limits of which I speak are regarding the extent to which we are willing to change our world.

You're assuming that we're producing significant changes.

> but as long as people continued to be confused, lazy and stupid about what kind of future we want,

Your position appears to be "now is best" but I've yet to see any supporting argument.

> the loss of biodiversity acceptable,

There's no loss of biodiversity from CO2 unless there's climate change, so you don't get to throw that in.

> three quarters of the land based biomes on this planet have been dramatically influenced by our actions.

That's a combination of poverty and population. Reducing poverty increases CO2 emissions. Since you oppose that, you're arguing for reducing population. Who do you think should get to live?

Which reminds me - we're not significantly changing the amount of cultivated land. That ship sailed 1000 years ago. (We are destroying it in the third world, but that's different.)

> and our gambling with the ecosystem immaterial,

and you're back to assuming man made climate change.

If, as seems increasingly likely, the CO2 changes we're making are irrelevant to climate, you're advocating spending tons of resources on non-problems.

Acting as if something in particular is happening is a huge obstacle to finding out what is going on. You claim to want to know yet ....
Yep. It's "The Bible Code" all over again.
It is related, in this case.
I'm sorry but the, "A Robin Hood airport spokesman said..." just sums it up for me.
I am quite surprised that I don't see Roy Fielding's "Architectural Styles and the Design of Network-based Software Architectures" on this list (aka his REST PHD paper). I have not read many dissertation, in fact i think this is the only one, but I found it very approachable.

http://www.ics.uci.edu/~fielding/pubs/dissertation/top.htm
At least the "one tool for one job" part has been pronounced dead by Rob Pike himself.

http://interviews.slashdot.org/article.pl?sid=04/10/18/11532... question 8
I believe they handle media about disasters well - very little information is released and it is always positive.
> I've been told by Germans, none of whom were law enforcement or lawyers that calling someone an asshole or sticking up your middle finger is a finable offense.

I can confirm this for offending a police officer or similar. But I haven't heard of a case where someone got fined for offending a `normal' private person. (I do not know whether the law covers this as well.)
You asked

> However, would you not agree that the general atmosphere, such as the hostel life, the exam pressure, going out for ice cream to check out the girls, their conversations about the future, and all this is pretty much the real thing?

My response was to your question. My point was that I disagree with your assessment of IIT life. I didn't make any claims about your experience anywhere. Maybe your experience wasn't representative. Maybe my experience isn't representative. Maybe it differs across IITs (I'm in IIT Kanpur). Who knows?
Just a small critique:
I am usually in the camp of "more contrast please!", but seeing the results in pure black on white was jarring, especially with it being bold.

Might I recommend you lighten the black a bit or add some background color to reduce the contrast? (The yellow box at the top is more pleasing to the eye)
This is what is called a "political article"

In it, the author takes up a series of positions that he feels we should also have and makes a case why they are better than other positions. (In this case other positions weren't really defended at all rationally and instead just assumed to be insane, which makes this a _really bad_ political article)

The problem with posting this on HN is that we have two main choices: agree with the writer, in which case our response amounts to "heck yeah!" which is information-free. Or other main choice is to disagree with the author, which amounts to "shit no!" which is also information-free.

Nuanced responses, along the lines of taking each point and ripping it apart (easy enough to do here) only elicit arguments from both the heck-yeah and shit-no crowd. Eventually the two crowds just go at each other with platitudes.

I'm not saying there is no merit in discussing some rant like this...

On second thought I AM saying there is no merit in discussing this. It's an awful piece. Flagged.
This reminds me of a great editorial in the Wall Street Journal in the early '90s by the president of Cornell. He wrote about how universities aren't businesses and about how treating them as such will have disastrous long-term effects. He observed that there are many higher-education institutions that have been around hundreds of years but few commercial enterprises; also how the goals of higher education are compromised by the pursuit of shareholder value.

I would like to find that essay again. If anyone can point to a link please post it.
S-64 Helitanker to be exact. Elvis is the moniker of one such helicopter which divides it's time between California and Victoria for their respective fire seasons.
Seems to me that it's always related, right?

Or put differently: it's related if you feel that the discussion around global warming involves cherry-picking data by skeptics. In that case it's very relevant. If, on the other hand, you feel that the discussion around global warming is at it's heart based on the politicization of science? Then the article is just another example of using the media to try to argue a political point in a scientific context.

Is it so difficult to stick to the story? We all agree you can cherry-pick data and make it say anything. Surely both sides of the GW debate don't have a problem with that statement. So why try to use it against one side without giving a response from them? It's a cheap shot.
I'd spend more time on week 3- including practice. That would make a lot more sense than the focus on ephemera. Much of the other stuff is going to vary by industry.

There are many different sales methods out there. You can get trained in the carnegie method, for example. http://www.dalecarnegie.com/search_courses/course_desc.jsp?c...
The Wild Dogs of Moscow
There are a growing faction of people (of which I'm not quite part of yet, but I'm starting to warm up to it) that says that developers should be emitting HTML and passing it off to designers who will style it using nothing but CSS (and asking the developers to modify the HTML where needed).

There is definitely something attractive about transforming HTML as code, but yeah, I really wouldn't want to hand a designer a chunk of lisp to work with.
The author seems to be learning a lot from Haskell, but still unable to really accept the larger picture

Fortress goes beyond Haskell in that the type Maybe[\T\] extends type Generator[\T\] so that it can be treated much like a set that will generate either one item or no items at all. One can conveniently use generator syntax to extract the contained item of a Maybe type, bind a variable to that value, and then execute a chunk of code---but only if there is in fact a contained item

The following examples are both trivially available in Haskell as the very general monadic binding (>>=) or a case statement.

It's great that other languages are learning powerful lessons that the strong typing in Haskell can teach, but if they're going to do it they might as well learn all that they can instead of stumbling down the same path again.

I bet in no time Fortress will have do notation.
"... a flaw with the system. Why can't we just give out percentages, and have that percentage stay constant?"

I can't tell if this is rhetorical question or not. But I'll answer as if it was serious.

First of all, a company can do whatever it wants. So if you control a company, you can give out percentages. That's your prerogative. In reality, you wouldn't want to ever do that, because it would eliminate your ability to:

- Raise additional money.

- Hire new employees.

- File for an IPO.

- Merge with another company.

- Purchase another company.

However, if you want to start a company with a few friends, and never take additional money, and never expand beyond the founders, and never sell or merge, then you can certainly structure it in a way that each founder has a fixed percentage of shares. But that would be a very unusual business.
Thomas Sowell has written extensively about this, using his alma mater of Harvard. Using MIT as an example:

If you come across a minority MIT undergraduate, it's an absolutely safe assumption they belong there. With one notable exception (Dean of Students Shirley McBay, who just didn't have the right attitudes for that job), that was also my experience with the staff (probably goes along with the general attitude of meritocracy).

MIT is currently getting around 13,000 applicants each year with a third of them being qualified to attend (self-selection by applicants is very strong). I would assume that MIT accepts pretty much every qualified STEM minority applicant (although I'm sure a lot go elsewhere; predicting yield is probably the hardest part of admissions).

As I remember, Sowell's general point was that the very top schools like Harvard (and I assume MIT) take a disproportionate fraction of the top minority students, and therefore to maintain "diversity" the lower tier schools will accept a fair fraction of minority students who aren't as qualified for the school (including ones who don't have much of a chance of making it).

This cascades on down the quality/intensity ladder of schools, and is grossly unfair to a lot of the students who would be happy at a lower tier school but who struggle at best in the one they (initially) attend. Admittance to graduation rates are instructive.
1. You will never eliminate all the waste in a school day. Is time spent plucking lettuce more wasted than the time spent in a lot of grade school science classes (1960s and 1990s)?

2. Instruction is hard work for teachers, children, parents, and administrators. Come up with a fad that you can sell as achieving the same results without the effort, and it will take off.
Interesting, but using a dynamically typed programming language != dynamic programming.

http://en.wikipedia.org/wiki/Dynamic_programming
Ask the Attorney: Should I be a C-Corp? (And other formation issues)
Why I left Microsoft
Here's a simple case.

Company is worth $1MM. You own 10% of the company.

Company gets a $1MM cash investment. You get diluted to 5%. But the company is now instantly worth $2MM.

10% of $1MM = 5% of $2MM

This is not bullshit, it's math.
Shoes Dropshippers
Rolling your own templating library would certainly work, but then you're stuck maintaining your own templating library.

I like the concept of Enlive, but I have concerns about troubleshooting it. I feel like you're asking for trouble any time you have to look at multiple files just to figure out what's going on in one page. Troubleshooting a page that's been modified with Enlive would require you to have the HTML open, and then mentally translate all the operations so that you can see what changes what. I'm just not smart enough to be able to hold entire documents in my head when things approach even moderate complexity, and I want to be able to scan a document to see what's going on; not read the HTML document and then go through the list of operations to see how that document is being modified.
Journalists' Gmail accounts hacked in China
Interestingly, my startup did something very similar early on, and is now in the process of moving away from the Valley.

The cachet of a Valley presence, while helpful to us for fundraising, hurt us when dealing with our target customer (the government). So now we're in the slow process of moving back East.
Why cable companies bundle their channels
Nice post. I just made a big breakfast for my family on Sunday so I can relate. It's hard to make things well and have things not get cold. You definitely need to plan ahead and learn from your mistakes. Breakfast is a tough meal to make without help.

The experience always makes me appreciate my grandmothers' ability to pull it off without complaining or messing anything up.
Why I Feel Like a Fraud
How sad that people pay up to 40k to the University of Phoenixes out there, or, worse, take on 40k of unforgivable and practically un-repayable federal student loan debt, when this type of material is available for free!
The Great Newline Schism
Google probing possible inside help on attack
Drawing conclusions from the data is misleading. The original set is not comprehensive and any human trends you might look for are surely obscured by uncontrolled variation.
I remember when I worked as a reviewer, I was told by multiple editors that they took people on because of the 'personal voice' in their writing. One linked me to an interview with one of the top editors in the UK, who simply stated: anyone applying for a job, with a degree in journalism on their resume anywhere above the bottom of their list of job experience will have the paper thrown out.

Since 'New Journalism' entered the market it has decimated colleges and universities abilities to produce journalists. Simply put, personal voice cannot be taught and paying for an education in journalism is a major waste of time that could be spent starting at the bottom. I was taken on as a reviewer at 16 as I had the ability to make my editor laugh. I was admittedly rough in the beginning, but being a combination of a fast learner and willing to learn meant I was turned around quickly and was writing the best reviews.

An editor's job is to recognize talent and save the newbie's asses along the way. Once an editor teaches a new journalist the right style and what they're looking for, any talented journalist will barely need any editing. I know by the end of my stint as a reviewer my editor basically only had to say 'yes' or 'no' to an article and I'd have it rewritten in an hour or two to how he wanted it.
Cute apps. I'm more interested in the usability problems of the Android market that he brushed on.
Thank you for your kind words, like you my respect and admiration has gone way up for the people that have been serving me all these years.
Vim Plugins You Should Know About: Nerd Tree
I found another interesting scientific article which goes into more detail:

http://www.sciencedaily.com/releases/2007/09/070912130815.ht...

It suggests that the same effect can also be used with great success in brand names, not just prices.
IPhone add-on RFID
This reminds me of the layout of Washington D.C.: http://whatisthepyramid.com/wp-content/uploads/2009/07/penta...
There was an endeavor to create versions of all the shell utilities that take and generate XML streams before powershell, but it never caught on and I don't think it got very far.
Trust me, Norvig knows about the difference.
The author describes the Android virtual keyboard as being inferior to Apple's, and spends two paragraphs talking about how he could not locate a known replacement keyboard application "Better Keyboard" ($2.99) in either the Android Market or through Google search, concluding with "Long story short, I ended up finding the app and using it." It's not clear how he did so, as the link to the app in the review only goes to another page on the same site.

To me, this says a lot about Android--where it is, where it is going, and what it has to offer users and developers alike.
The Dawn of Polyglot Persistence
Ronald Tackmann’s Prison Breakouts Have Made Him a Legend
Ask HN:how to run a public VPN business?
To operate a public VPN connection serivce, what hardware and software do I need? My customer expect to surf the internet via my VPN service. What are the gotchas?
I remember reading a fantastic in-depth analysis of one of the Harry Potter books in the same style as the Bible Code. IIRC it predicted all sorts of real-world events. (It wasn't a serious analysis, it was to debunk the Bible Code.)

I can't find it now, but then it must have been about 7 or 8 years ago.
The whole article is taken from here: http://nymag.com/news/features/62893/
Ask HN: Is the a dupe filter turned off?
A few minutes ago I submitted this: http://news.ycombinator.com/item?id=1059989 and after a little while I went to the new page and saw this: http://news.ycombinator.com/item?id=1060004 which is the exact same submission with the exact same url.

I thought there was a filter to prevent that? Am I missing something?
New York Times to charge for online content, possible relation to Apple Tablet
http://news.ycombinator.com/item?id=1060002
As an aspiring novelist, if Pratchett can do it without an A-level, surely I can do it with a moderate pass!

I'm personally eternally grateful that I reneged from going to university. In that time I've emigrated, got married and I've worked real jobs that have given me tons of worldly experience, all of which has helped my writing immensely. All of which would never have happened at university. I would have been the same super-geek I had in highschool who was afraid to talk to any girl I didn't know. Now, I'm no longer cliched and formulaic . . . which I suppose is a great place to be for any writer!
Fotoxx 9.4 su LinuX
I know many self-taught "software engineers". Most, if not all of them spend a great deal of time training BS-CSCI holders how to make a living out of their science. Many of the best programmers I've worked with didn't even start, much less finish college.

If disrespecting the likes of Major General Chuck Yeager (who can still kick Chuck Norris's ass) makes you feel better about your student loans, more power to you.
Why Such a Deep Recession?
Ask HN: Why do you hate your IT department?
Or more precisely:
What tasks that are usually executed by your IT department you wish would be provided as an external service?

Inspired by http://ycombinator.com/ideas.html #4
Indeed; I've long suspected that one of the things prompting Google's action and fury is that the PRC government suborned some of their in country staff (not very difficult given the PRC's absolute ruthlessness).
Cooking is a skill, just like any other. If you make your breakfast often enough, you'll just get to the point where you know when and how to do everything you want, and when to throw your plans out the window. The people who serve you at restaurants were pretty darned incompetent when they first started. The good ones, especially at a short-order environment, know when and how to mix things.

Try shredding your potatoes instead of slicing them, next time (or use sweet potatoes/yams!). Don't bother boiling them. When shredded, the potatoes cook faster, and you get a nice difference in texture. Later, you can start experimenting with a bit of cheese (cheddar is always good) and even pouring the scrambled eggs in with the shredded potatoes (which, with a bit of cheese, can be very good).

For an alternative approach, try chilaquiles (http://en.wikipedia.org/wiki/Chilaquiles), which is super easy to make and I regularly make it for 6 - 8 people (it requires a dozen or so eggs to make it at that point).
It's worth noting that when you set up a pipeline of processes, each can spawn on its own core. Setting up task-oriented processes is an idea that still has a lot of power in it, whether you're talking about the "lots of tiny C utilities" approach or something more like Erlang.

While Pike doesn't mention it explicitly, I think the issue is that the context for "one tool per job" shifted from the shell (with Unix itself doing process management) to the Python runtime, the JVM, etc. This has its advantages and disadvantages. Working at the level of different processes, each can be written in its own language and rely on simple interfaces such as text-streams or structured files for communication. Within other contexts, everything can work with the same object system, process supervisor infrastructure, etc.
Ask HN: I made $24k over the last month. Now what?
I sell apps on the app store. A lot of small cheap apps. Revenue is hitting $1000 per day on the weekends (Here is the graph: http://imgur.com/T0z5p.png).

But I'm facing another problem. I don't know what to do with the money, how to use this very large monthly income to actually make myself rich. The app store income is going to end soon enough - the ecosystem is pretty fragile. Now that I have this raw cash, no debts, have a job I enjoy, don't want or need a car, my apartment is perfectly comfortable, what can I do?

I do NOT want to invest in the stock market, or invest in anything long term like bonds or property. I want to somehow use the money to make more money quickly (within a 2 year time span). But I have no idea! What I know how to do best is the app store, but I want other type of things that do not require much time investment, but give as good returns as that.

What do I do with the money? How do I invest it in making more money quickly?
Ah, okay. I was frantically re-reading the page, and searching the news, thinking some freak accident had happened and the Supreme Court had ruled early.
Well, none of these are hard and fast rules, just rules of thumb that let you work with Unix's strengths. For example, if you store your data in config files, you can keep them in git (or whatever), and neither has to know anything about the other. Text isn't the universal interface, it's just a simple one.

You wouldn't stream video data as text, but that's because there are other major factors that make doing so an unreasonable trade-off.
Ask HN: Please review my new website www.favilous.com
Ask HN: Would you use a webconference service without telephone?
Hi,

We are brainstorming an idea which is a variation of existing web conferencing solution. We are finding it hard to "implement dialing in via telephone" feature as we lack experience in this field. Is anybody here attends or hosts web conference without telephone(using computer mic and speaker, i.e., VOIP)? Or do you know companies which are interested in this kind of solution for lesser price?

Thanks
-- pkc