skysight-inc/HackerNews huggingface dataset:
First, I'm really glad you took a look at this and thought deeply about how to improve it.

It is possible to do import star, and if you really know what you're doing, you can. But, you quickly start running into issues with polluting the namespace (which is why Guido says not to do it). For example, one HTML tag is p, so now we have to use a different accumulator. I find p very natural because I think "print" every time, I used 't' for a while (months) but it just never clicked. Furthermore, HTML has other tags like a, so now you can't use either p or a as one-off variables anywhere without weird bugs or confusing reads of the code, not to mention other common names.

Moreover, I even tried using import html as h to save typing. It actually made the templates less readable (I think because of less long explicitness). It can take a few minutes, but actually you quickly get used to the repeated p(html( and it just becomes a useful guidepost when reading through a template quickly.

Your second suggestion of a language is nice and clean, but you lose a lot in terms of flexibility and power. For example, you cannot easily loop, or insert a readable conditional, and you definitely cannot assign a helper variable which even Django now acknowledges can be useful.

I have been using these templates in production on medium-sized, complex sites for years. I have added enough functionality and simplicity so that I can do everything I need to do, plus it is obvious how to do it. A lot of toy template languages have not seen extensive use in a variety of applications with heavy load, so they are missing subtle, key elements which can be show-stopper issues in practice. Finally, languages keep snowballing massive APIs (to patch up these issues) which become so difficult to completely learn that easy things become hard.
That is true. The "anti" corruption police branch is the center of corruption. Everyone who gets anything done business wise has to bribe someone, steal something or defraud somebody.

If they become successful they'll get the knock on their door from the "anti-corruption" officials who tells them charges will be pressed since they used "unclean" methods in the past. Unless, of course, you offer to pay even more bribes to bribe the anti-bribery police....

And yes, it is a chicken and egg problem. Even on the cultural level. Starting from the hospital when the baby is born, up through kindergarten, high-school, university and so on there are expected bribes to be payed. So people already grow up with this constant culture of corruption in mind. It is like a latent infection, always there in the background.
import * is the devil, really don't use it. Instead, hack up this recipe: http://code.activestate.com/recipes/277940-decorator-for-bin... to inject the common tags into the local namespace of the function. It will have the side-effect of making the code execute faster.

As for the callable variant, there are a few versions of that (nevow.stan was the first one in the style, I wrote a version a few years ago that I referenced in another post here, and I've seen a few pop up since) While it does work, indentation can get funky, looping gets tricky (you end up looping quite a bit with data-driven templates, it turns out), and closing parens aren't nearly as useful as a dedent. Being able to mix both styles may be a win.
I have about $60k in debt from the Swedish student loan system, which is paid back as a percentage of your income. After 15 years of graduate student, postdoc and academic staff jobs, I just this year managed to pay off more than the interest... At a normal academic pay progression I doubt I'll ever pay it off, I just think of it as a small extra tax every year until I turn 65 and the state forfeits the remaining balance. (They've since changed the system, the terms for repayment are not so generous any more.)
I am always amazed how people consider defining new infix operators to be on a whole new level compared to defining `ordinary' functions.

Go, check out Ocaml or Haskell, even some Lisp. Operators are functions. And there's nothing mythical around it.

It's only that most parsers weren't able to handle user-defined operators for a long time that makes the idea seem so foreign. (And C++'s `clever' idea to re-define operators already in use did not help the situation, either.)
If people near San Luis Obispo are interested in seeing the maps of the cable landings there, check out the library at Cuesta College, they have a huge binder there mapping out the full route of cables from where they land in Los Osos to San Luis Obispo.

I also spoke with an electrician who worked at the landing site in Los Osos, he said that the building is very nondescript and that the stairwell has a huge mural of what one might see if they were actually in the water, and not in a stairwell.
she's neither male nor rich so her advice is bogus.

there are some things that are just true - all other things being equal women prefer men with money.

Even when all other things are not quite equal women prefer men with money.

here's a quick way to test it - list all the men she's ever dated/been in a relationship with and check on how many earned significantly less than her and how many earned significantly more.

This is the worst advice anyone could ever give anyone interested in doing a start-up. It's typical woman advice - they don't tell you what works - just something that'll make you feel it's OK to be a loser.
Use more of your brain while programming by using less mouse
I would love to ask you some questions about your site, if that's possible?
The problem is that most of them can't even if they want to especially if we're talking international payment.

My view is based on my own experience (Morocco, here), and it's almost impossible to get an international credit/debit card from your bank unless you're building and import/export company.

Online payments (in a national scale) are, sure, evolving but the ignorance is killing the online market, nobody is willing to pay for something that they can't touch.
Hoped if I zoomed in close enough I would be able to find the taps. But still awesome.
http://www.islandia.is/lhm/images/parking-houston.jpg (from 1980s)

More here (eg. aerial pictures of Hartford pre and post Interstate):
http://theoverheadwire.blogspot.com/2010/02/parking-bombs.ht...
Persistent undo/redo FTMFW
I think hearing about people getting arrested for possession of melatonin or flogged for kissing their wives has a larger negative impact on Dubai as a tourism/business destination than anything any financial columnists are saying. I know I wouldn't come within 2,000 miles of the place.
In the US, I think it's less than 10% graduate with no debt.
Honestly, I used to have the same sentiments as the author (I'll birth the idea, you code it), but the truth of the matter is that no technical person, friend or acquaintance, will feel in their heart of hearts that even 50% is an equitable split of work for the early stage of a tech startup, which is pretty much entirely coding. On top of that many young coders today are actively working on their own pet projects on the side and will feel even less compelled to work on a project that they had little hand in developing as an idea.

My solution? Why, learning to code myself, of course!
Given that the pregnancy termination given a Down syndrome diagnosis is 93% we should care about these numbers.

A 14-16x greater risk of Down syndrome seems to me like a good reason to terminate a pregnancy. I agree that more accurate tests would be better.

Breast cancer testing in women who aren't in a risk population is similarly dangerous. Biopsies do carry small risks.

I do not know enough about this topic to form a useful opinion. That sounds reasonable though.

Most men with prostate cancer will probably die of something other than prostate cancer.

Isn't this a problem with overzealous treatment, not inaccurate testing?

Bad tests are frankly dangerous and should be subject to regulation.

I'm pretty hands-off about genetic testing, since there's not much of a direct risk involved in spitting in a tube. Most of the risk is from decisions based on currently-incomplete scientific knowledge. As long as people are properly educated about how to judge risks and uncertainty, I think letting them see their own genes is fine.
It could also be a lesson that "if you build, they will come" is misguided - even in the Muslim world.
If this interests you, Neal Stephenson's chronicle the FLAG cable getting laid is required reading: http://www.wired.com/wired/archive/4.12/ffglass_pr.html
The Land of Giants: Icelandic High-Voltage Electrical Towers Turned Into Art
Finding a cheap place to live is essential! My first post-college apartment was $960/month, utilities included. As a result, I completely paid $19,000 in loans 11 months on a 61k pre-tax salary. Look for apartments in safe neighborhoods that cater to fixed-income families and the elderly.

If the loan's APR is much greater than your savings account, keep a reasonable buffer and dump everything else into the loan. Otherwise you're throwing away money to interest. If you have the ability to pay into a specific loan right now, put money into the one with the highest rate ASAP.

I imagine lifestyle is a huge factor. Groceries are my only large monthly expense. If you have others, plan accordingly.
But it's fragmented, and there are is no TRC (Technical Requirment Certification).

Yeah, but the comment was about the term "freedom", not "fragmentation".
Outdoors and Out of Reach, Studying the Brain
bottom line: finding great partners of any stripe is tough. it goes beyond mere competency to chemistry, empathy and passion. a bad choice and it sinks the business and leaves a trail of tears. a good choice and, assuming a truly good idea, the potential is hard to quantify. social intelligence and patience on both sides is essential for success. a good match on paper does not necessarily make for one in the real world. it's similar to finding a good investment: personal recommendations, e.g., an effective reputation filter, help winnow down the possibilities immeasurably. but the only thing that matters if whether coder and business dude click. everything else is noise.
Insight, "Tumblr Around"
I get a really icky page error. The .NET server is even very helpfully showing me the first four lines of the PutFileContents() function.
As if to make my point, an old friend of mine announced his birthday plans today. He's going to a water park (for his stepdaughter) and a bed and breakfast (for his wife.) The rest of us? Nothing. No party, no dinner and drinks, nothing. He's living in a new city and has nobody close by except family, but he's got friends wanting to come from out of town to see him. One is me; another is our best friend from high school, whom he hasn't seen in over a year. So, maybe some other weekend, he says. Fuck that; I know that song. It'll never happen. I'd write him off as an asshole and a lost cause if that wasn't typical for the married guys I know. Should I even bother with "friends" like that, or should I forget about him and call him again when his kids are out of the house?
Because it's true??

Seriously, those who have studied this for a while pretty much know the situation. Sorry if it seems vague to you.

The players are large bank, investment houses, and the Federal government at the least. But even more, the entire housing market was temporarily re-inflated to sustain the massive over-valuations that built up over the last ten-twenty years. Of course, all the other bubbles; medical, student loans, etc depended on this inflating to keep going (and there's a Chinese property bubble too btw). Did you notice the auction rate bond market cease to exist around the time of the crisis? We are in a fragile respite from result of the unsustainable economy of 2001-2007 (or longer).

Seriously, in 2008, a boulder rolled half-way down a hill and massive world wide spending brought it to a halt.

Sorry if I can't give a single factual pointer to all this stuff. It's more a matter of the economy's "big picture".

I would recommend Doug Noland's Credit Bubble Bulletin.

I'd especially recommend the earlier issue, where he extend's Hyman Minksky's idea of Ponzi finance.

http://www.safehaven.com/author/2/doug-noland
Thanks ROG - I figure that at least the first few people view the link anyway before someone posts a "clickable" comment.
I can't answer for myself (I studied in India and my tuition was $100 per year which I more than recovered through participation in software competitions). My girlfriend, however, studied in the US, and also had a 20K loan which she managed to pay off before graduating by working the regular 20 hours a week allowed to international students.
I wouldn't assume they don't care. The majority of people still using IE6 do so because it's the only browser their IT department will allow on their workstations (http://about.digg.com/blog/much-ado-about-ie6).

That said, because of the difficulties, it's generally acceptable to provide some base functionality/design for all browsers while layering on cool CSS effects for modern browsers as a form of progressive enhancement (using CSS border radius for example).

Of course, all of this depends on your specific user base and the importance of those IE users.
The "credit score" is important but when a good lender is evaluating the risk of a potential borrower, they won't rely on a mere score they'll consult the actual credit history.

A credit history is basically a record of loans and payments. If you're late on a payment, long enough for your lender to report it to a credit agency, then they will show up on that history.

In this case: paying back a $20,000 loan in 2 years is impressive but doesn't really say much about your ability to pay back $300,000 over 30. So yes, it might have been marginally better to pay back the $20,000 over 10 years. If you're going to loan someone $300,000 to buy a house, you want to see data that the person is capable, organized, and diligent enough to pay it back. People paying back mortgages in 2 years is probably not a serious problem for most banks.

You can see your credit history at https://www.annualcreditreport.com/cra/index.jsp
I was about to make a post that stated this same irony. He should switch to another ad platform if he's vehemently against patents. Advertisers are selective about content all the time, why should content producers be any different? It makes their purpose-driven preaches less authentic.
That's why a business guy and a hacker is the best team. I love creating new marketing strategies, building campaigns, writing sales copy and doing customer development.

But writing code bores me...I hate slogging through coding and debugging whenever I have to do it.
I have the same experience -- I'm getting very familiar ASP.NET crash page.
They didn't even bother to setup custom error page for production web site.
---
The process cannot access the file 'C:\Users\www.womble.co.za\cable_map\landing_stations.js' because it is being used by another process.
---
Fun with Word Cubes
I think IE6 users don't care about browsers or don't have a choice. I doubt it has anything to do with not caring about design.
Cell phone projector
This highly portable lightweight mini multimedia projector is ideal for the salesman who is often making professional presentations from place to place while traveling on the board. When used for home entertainment purposes this mini multimedia projector can also be connected to a huge range of standard A/V video sources such as the Wii, XBox family, PS family, MP3/MP4 players, DVD, DV cameras, etc.You won't regret to have this wonderful 4GB mini multimedia projector.
This is a good response to an article that was on the main page just a day or so ago.

http://news.ycombinator.com/item?id=1603795
this was posted to HN a few days ago... you got the URL wrong, btw. The correct URL is http://www.paulgraham.com/yahoo.html
Car backup camera
This rear view camera allows you to monitor areas where it is difficult to set up a standard camera. It allows you to get a good sized image even several feet from the camera. A great tool for reversing into parking spaces while assuring there is nothing behind you. This 1/3 inch CMOS reversing camera allows to you to reverse into any parking space with the benefit of 120 degrees of angular vision. A great item for both beginning drivers as well as seasoned city dwellers
It is always a pleasure to read the calm comments of an untroubled mind on contentious subjects.
In a rational world and under a reasonable patent system, I might agree. But you know as well as I do, Simon, probably better, that under the current process it's difficult to guarantee that you're not violating anyone's patents. Particularly when you're reimplementing an existing system.

Is it possible that Oracle's patents don't read on Dalvik? Certainly. Did Google take care to minimize the risk of such? I'm sure they did.

But however careful the execution, the system at present is would be actively working against them.
Incorporate California
Incorporate California with California Incorporation Attorneys! Form a California S corporation, California LLC, CA Professional Medical Corporation, Corporate Minutes or Register a Trademark. Start a California Small Business Online Now. LawInc.com
I think this is dead on and the only thing I would add is if they are wanting to use your web app, and thus be a user, I would treat them like every other user you have. It doesn't mean they will get exactly the same interface, but your view of them should be the same.
The sad thing is that all these co-founders try to pass them selfs off as tech guy but in reality they just bad middle management at best.
A lot of it depends on your other obligations. If your student loans are your only source of debt and you land a decent job after graduation, I think it's very doable to pay off your loans quickly. However, if you have a car payment, credit card payments, expensive hobbies, etc and you're only making minimum payments on your loans it's obviously going to take longer.

I would recommend you find a loan amortization calculator. Most should have the ability for you to enter an additional monthly payment and see its effects on how long it takes to pay everything off.
In medicine we often ask, "How would this test change management?" As it turns out, buying the 23andMe test and then taking modafinil is more expensive than taking modafinil, but it doesn't seem to change management. With or without the 23andMe test, you could have tried modafinil. I wouldn't consider your story a success for 23andMe (though I would consider it a success for you, and for modafinil; cheers!).

We are getting closer to clinical utility of these tests. I'm no Luddite. But I think that these tests need to be thought about like every other medical test. (See http://www.nejm.org/doi/full/10.1056/NEJMoa0706728 for why I say that we're not quite there yet, but getting closer for some phenotypes.)

It's one thing to say that you have a right to your raw genetic data; like I said, I'm sympathetic to it from a rights-based standpoint, though not a clinical one for reasons that bhickey has brought up. It's another thing to say (not implying that you are saying this) that companies should be allowed to make clinical claims about you based this data. That interpretive step merits thoughtful consideration, and probably regulation.
Interesting. For all the downvotes, there has not been a single refutation. I think I've hit on something that some people just don't want to hear.
I have a startup that will be doing it's part to help ensure that no student will ever have to take out college loans ever again. Early/stealth mode still, however.
Your scholarship paid course fees and living expenses for 4 (?) years, wow, you must be good!

What's your subject? What was your dissertation title, which Uni?
if I'm the best you can do, you clearly don't have good skills at identifying programmers.

Aren't you underestimating yourself?

Most businesses don't need Knuths. They need "smart & gets things done". By my reckoning, you're way ahead of the average HNer (and myself) at this game.
I prefer it for most things, actually, web browsers being one of the few exceptions depending on monitor size. There's usually absolutely no point in maximizing something to full screen on a 27" 2560x1440px display, for example. But for the times when I do want to I use Cinch (http://www.irradiatedsoftware.com/cinch/) which steals my favorite Windows 7 feature.
I like the idea. Conceptually, it reminds me of another site I worked on in the past, http://www.weardrobe.com.

On first glance though, I thought it was a spammy affiliate marketing site for clothing. If not for the fact that it was posted here on HN, I probably would not have looked long enough to realize I was wrong.

Does it simply make money through affiliate links to Amazon? Can users only post articles of clothing that are sold through Amazon?

Also, the hover effect for the images on the homepage makes my cursor a crosshair. Definitely fix that, I reloaded my page a couple times thinking it was some sort of browser bug. Then I tried it in a couple other browsers and realized it's the site itself.
That's because in India at least, the corruption is mostly the "drag on business and the economy" sort, not the "life threatening" sort found in Russia.
I started my business to pay for beer and food during college. Fortunately, it grew rapidly, and I was able to pay off all my loans(about 25k in debt) before I graduated. Of course, living like a frugal college student with low expenses helps tremendously. If your startup does well, you'll be able to pay off your loans in no time.
"Theoretically, even the most egoistic government who's only purpose is to get more for themselves must realize that in order to preserve it's welfare it must make sure the citizens are doing fine."

The trouble is an egoistical government rarely possesses the ability to draw a line and stop interfering(rules and regulations) and collecting money(taxes,bribes) so that people can have enough to do fine. The people who run it are blinded by greed and always want a little bit more. Also, while the people at the top might realize that corruption should not exceed beyond a point, it is hard to enforce as your lowly clerk/officer does not possess the ability to see the bit picture. All he/she knows is everyone is corrupt(it is institutionalized) and tries to take the biggest pie he/she can.
On my phone so its easier to paste this than the three essays: http://www.google.com/search?q=paul+graham+silicon+valley
neat functionality idea!
The problem is that most "business" co-founders think they are better then they really, most of the time they try to ride on the back of the 'tech' co-founder. Lets face it the so called business people are good at BS and in the end its not what you say its what you do that matters.
what's the diameter of one of these cables? are they literally laid on the ocean floor?
Great comment! Agreed. I'm a little afraid of that hack though and what it might do to a query optimizer.

You're right that the callable system makes loops tricky. Also, great point about the closing parens. We use python specifically to avoid them and to just use whitespace!

In practice, I have done a mixed approach as you suggested. I used this iterative style with limited callable style embedded where that makes sense (everything just returns a string, so they embed cleanly).