skysight-inc/HackerNews huggingface dataset:
The real issue I have with Django - and extensions such as comments - is that in some ways it feels like a CMS masquerading as a framework.

Take for example contrib.auth - it defines User, Group and Permission models for you. Frequently this is an issue - what if I don't want a username of 30 characters ? What if I want OpenID authentication instead ?

Sure, you can override this but then you find that a whole lot of 3rd party apps - comments, admin etc - rely on these models, which in turn depend on lower-level functionality such as the ORM or templates. The very fact that you have a framework telling you what your data model should look like just feels "wrong".

Does this mean that you shouldn't use Django ? Absolutely not, there are many projects suited to Django - especially content sites where you are putting together large building blocks with some homemade glue. But I've found it more trouble than worth for smaller projects, or where you have very specific requirements - in these cases (assuming you want to stay in Python) - I'd recommend Flask or Pylons.

Unfortunately Django has become the new Blub framework for Python web development, which means it's used by companies by default, rather than being a useful but limited tool in the toolbox.
Once bitten, twice shy -- and so I highly doubt that Google would switch from Java to .NET. It will be supported through MonoDroid, but Google itself will no doubt already be working on support for a different language that does not have the same risks as Java, .NET, etc.
How do laptops, cellphones affect the way humans think?
Lance Fortnow on the alleged P=NP proof
" We have a long rough road ahead and we will trudge on. one day we will succeed. All I ask is for people like PG (who still hasn't responded) and HN'ers to have a little faith in us. "

Sorry if this is harsh but this is honestly what I think.

"Faith" in you by other people should be earned. I deal with many people who think all Indian developers are cheap and incompetent and can't speak English (There are plenty of those around :-P) . Arguing why they shouldn't be thinking like that (or asking them to act opposite to what they believe) is (imo) futile.

Show what you can do (against the odds if required). Then people will support you. That's just the way the world is.

" I would like to believe we can produce companies that can have product market fit before deciding to scale up and probably open offices in the west. .e.g US"

If you believe this why don't you do this? Why do you need PG?

I am not being sarcastic or snarky. I live in India and hear . "If only PG & co would start a YC branch in India ..." all the time.

I think something like YC in India (or China or ...) would be great, I also suspect that people who plan to build "global scale startups" wouldn't wait for PG and co to come around to their pov first.
I liked the visual guide: http://www.viemu.com/a_vi_vim_graphical_cheat_sheet_tutorial...

You can also get a vi plugin for Visual Studio http://www.viemu.com/ which is pretty cool.
A lifetime chance. It's the final launch of Space Shuttle Discovery
The Dead Sea Effect [2008]
What's wrong with the pointer cursor to make it obvious the image is a link on hover?
Please note that the docs are completely static. Because they are static, I could have generated these docs by just writing a function that returned the whole html string, which would be a small constant overhead. The only reason I used Weby Templates is to show off the features.

In a normal programmatic setting, you would have significant if/else constructs and looping. These templates would be significantly shorter than hard-coded HTML, and still shorter than the popular Jinja, Django, and ERB templates because

1. they close tags for you in a Pythonic way.
2. it is trivial to create functions and filters to do repetitive tasks for you, whereas they can be difficult, hard to locate, or a pain to do with the others.
I have two arguments:

1. Searching The Internet Increases Brain Function http://www.sciencedaily.com/releases/2008/10/081014111043.ht...

2. The average I.Q. of a person in 1917 would amount to only 73 on today’s I.Q. test http://www.nytimes.com/2009/04/16/opinion/16kristof.html

Note: I have not read Mr Carr's article and I most certainly will not (bad for my blood pressure). However I do have the strong believe that we get smarter every year (as a species in general) and to some extend this increase in cognitive abilities has to be attributed to the emergence of the World Wide Web. (I guess better nutrition is the main factor for our sharper brains).
Who's Brad Feld?
Among us engineers, it's not Mac but Linux that is taking the lead. Maybe more of us would use Macs if they weren't already what those dirty art kids use...
Really boustrephedon? Line 3 appears to lead off with "kai" and line 6 with "kata"
I'm introducing my first startup called HobsonFiles in this blog post. It's basically a beefed up version of Google Contacts.
That was rather markedly different, since it was a copyright suit, not a patent suit. AT&T never claimed that they had patents that forbade using BSD; they simply claimed that BSD could not possibly have been written without violating AT&T's Unix copyrights.

In this case, as far as I'm aware, Oracle is not claiming that Google misappropriated any Java source code, but rather that they violated numerous patents that cover JVM-like technologies. This would be akin to AT&T saying that Linux was illegal because it violated patents it held on Unix.
Map of worldwide cell towers http://client0.cellmaps.com/tabs.html#cellmaps_intl_tab is also interesting
Sure it does, it adds ESI (which is fantastic). It also keeps backend connections open rather can creating/destroying them for each request. Varnish does restarts nicely too, we have requests that get passed on to another group of servers if the backend returns errors. It's really a very nice way of brokering http requests.
Alternate login backends are supported and documented. OpenID is as easy as a package install and adding a few settings. https://launchpad.net/django-openid-auth works well and it integrates into auth.
Astronomers put together their wish lists
Eek, I see several people don't believe me. Here are a bunch of sources:

http://www.google.com/m/search?oe=UTF-8&client=safari...
That was an epically long post. It was good.
How is VCL more flexible?
I think the other half of that is that people that DO have skills are out using them. They aren't sitting around hoping to find a startup to co-found. The ones that end up being a successful co-founder are the ones that have a sudden lapse in activity for whatever reason, or can be convinced to give up their current success for a chance at bigger success.

It's no wonder these people are scarce.
These days, a $50 PC (or a free PC) will probably serve you better, because it's more likely to have a serial port.

You should probably try to find one that can either PXE boot or boot from a USB stick, since those are pretty much the easiest ways to quickly test your software.
> Sending stuff and money across EU is subject to international taxes and fees.

Generally no, from a consumer perspective. Perhaps I misunderstand what you refer to? There are some oddities, such as Switzerland not being in the EU which causes

The larger point is certainly correct: I would not consider EU a single economic entity at this point. It is progressing toward it, though, things such as the payment service/bank transfer unification are inevitably knitting the area together. As such it may be useful to include the union prospectively, if you will.
No, it offers an opportunity for Objective-C or HTML5 specifically in the mobile field.
Link goes to part 1. http://www.youtube.com/watch?v=aA5aeG-sdqY is part 2.
How is Chrome "systems software"? It's just a damn web browser.
Ask economists how much debt is bad and you will get vastly different answers. There is genuine reason for confusion.

See the arguments surrounding for example the bailout of Swedish (previously) and British banks (currently) - some consider it generically a bad idea to bailout for fear of debt generated but in the Swedish case it paid off and appears to be paying off in the British situation too.

This sort of debt was useful right?

But because it's a difficult question the easiest answer is to consider debt generically bad, and it is absurd at at least two levels.

Firstly, one shouldn't have to describe why lending and reciprocally debt is useful. You also have to ask what else could have been done and the "all debt is bad" brigade usually waffle.

Secondly, the cause of the financial crisis was "bad debts" in the form of incredibly risky securitisation schemes. Why the hell were risky loans repackaged as triple A securities. It's like making coins out of butter and bills out of sugar paper.

The wailing and gnashing of teeth of how it's our own greed caused this is just a smoke screen for the way the regulation system, capitalism and the chain of involved politians let everyone down.

Then people think a penance should be paid in terms of austerity - unfortunately that austerity is as likely to cause even more pain down the stretch.
One thing that is very important to understand when selling ads on your own is how those ads are actually sold. Depending on your site, the niche, and how much time and effort you put into the ad sales process, results can vary greatly. At the end of the day, the only thing that REALLY matters is if ads are sold or not sold. Software alone, in my opinion, won't get the job done. With roughly 2 and a half years of data from running BSA, less than 20% of ad sales come from a publishers website directly - sure, some sites are higher and some are lower, but 20% is the average (and we're in a tech savvy space).

One of Arn's sites, for example, came into BSA with a handful of ad sales. And, once we worked with him and his team on pricing and marketed the site to our existing advertiser base in the iphone niche, his sales soared. I don't know the exact numbers, and I doubt Arn would appreciate me sharing these here - but it's safe to say that his ad sales at least tripled once he joined BSA. In this case, it wasn't the software, it was our ability to sell ads for his site.

The point I'm trying to make: there are a billion ad networks out there. Do some research on them before using them, try some out, and find the ones that sell for YOUR site the best. And, if you can sell ads on your own, do it - hard code them into the site, have people pay you via PayPal, and use a network to supplement those sales.

Full disclosure: I run BuySellAds.com
I never understood how anyone could believe the priced out forever argument. A friend tried to argue it to me, but could never explain if everyone is priced out then who is left to buy? It just never made any sense to me even at the high point of the bubble.

I was successful at keeping 2 of my friends from making horrible financial decisions, but a third went ahead anyway. Now she's stuck owning a crappy apartment with an upward adjusting mortgage.
No. From Wikipedia:

"The Spitsbergen Treaty of 1920 recognizes Norwegian sovereignty, and the 1925 Svalbard Act made Svalbard a full part of the Kingdom of Norway. They also established Svalbard as a free economic zone and a demilitarized zone."

and

"Svalbard is a demilitarized zone, as the treaty prohibits the establishment of military installations. Norwegian military activity is limited to fisheries surveillance by the Norwegian Coast Guard. The treaty requires Norway to protect the natural environment."
Hulu Wants To IPO At A $2 Billion Valuation
Microsoft is not interested in opening .NET to other platforms than Windows because they see .NET as driving developers to using Windows and Visual Studio. "While you're here, try some Office Suite." MS uses their freeware offerings to increase demand for their payware offerings.
I think the point is 'in this situation'. Of course there are places where Varnish's features are useful, just not here.
Certainly not Objective-C. There is a reason Objective-C is really only a viable option on the Mac platforms, and that is the heritage of NeXTSTEP that Jobs brought with him when he came back to Apple.
Yep Ruby is definitely more TMTOWTDI (http://en.wikipedia.org/wiki/Theres_more_than_one_way_to_do_...) whereas Python is antithetical to this.
Studying the Brain Off the Grid, Professors Find Clarity
>This is trotted out all the time and the number of people it actually affects is miniscule.

I think that's a bit of a misrepresentation. It's "miniscule" compared to the number of Americans living outside the country. Mainly because the majority of Americans living outside the country are in the military and not affected. There are various places in at least Europe where $85k is extremely easy to hit.

Further, it's not just the fact that you'll have to file this stupid tax form every year for the rest of your life. There is a new law that if you have more than $10k at any moment in time throughout the year you have to report the bank accounts that held the money. That's right. Even though you live and work in some other country, the US expects you to tell them your bank account information. Failure to comply results in a pretty hefty fine. Needless to say, even if you're willing to do this, you bank may not be. The end result is that it's damn inconvenient to be an expat. And it gets worse every few years.

Oh and did I mention that inheritance taxes still apply to you (when you die or when you inherit)?
I think Dubai is doing http://en.wikipedia.org/wiki/Embrace_and_extend
Overloading Conversion Operators
Over a billion people with increasing incomes and opportunity is going to create a lot of amazing things if they can manage the growth properly.
>You can say that the problem is an NP problem which disguises itself as a P problem. It would be really fun to use David Pisingers knapsack algorithm codes, http://www.diku.dk/hjemmesider/ansatte/pisinger/codes.html and then bait the bidder into finding a set for which the algorithm is NOT fast (hint: That is also pretty hard :)

This makes me think that the post could be a phish for programmers with strong maths comp-sci backgrounds, something Googlish?

Please someone try this!
JCheck - Client Side Form Validations
Meh, I am 22, have been browsing the web since I was 10 years old, and have a hard time when I am away from it, but I can still sit down with a good book and read the entire thing cover to cover in no time flat. The last book I did that with was a re-read, Cryptonomicon. I sat down at 8 in the morning, finished it by 3 in the after noon with a couple of limited breaks to do some bodily business and get some food.

I can honestly say that with the Internet I have more of an appreciation for books because there are no distractions. Now maybe at age 22 I am still too young to really have felt the change that the Internet is supposedly to bring, maybe I have to give it more time, we shall see.
You completely missed my points:

1. The framework should not define your data model.

2. Many 3rd party apps depend on the existing User and other auth models.
this might be a trend of the future. people are more mobile these days, and physical possessions can keep people tied down. i once thought about what i really need, and 80% of it is on my computer! time to start a remote backup company :)
>Some non conventional computers [1][2] do exponential space in polynomial time.

For under $500 ...
I agree with you on objective-c. As for HTML5, V8 installed on a phone + installable javascript apps could fully replace the current dalvik java stuff. V8 extension could provide access to non standard stuff (calling api...) and html for interfaces would be simple.

Games in WebGL running natively on the phone would be cool, with the fileapi there is no need for servers around.
I think management team and shareholders should also go and live in China if they're sending jobs there.
Python is quite opinionated. http://www.python.org/dev/peps/pep-0020/
You did classes day and night and had a full-time job? Can you define "full-time job" for me. Also how many years did you take to get your degree, in what subject?
This is a question that interests me as a Varnish user with a several-hundred-line VCL. We exclude certain URLs from caching altogether, drop certain cookies but not others, drop certain querystring params but not others, cache separate versions of the same page for mobile and non-mobile browsers, do limited caching behind basic auth, purge certain pages from cache when a post gets published, etc. VCL isn't the most elegant thing there is, but there's usually a way to do whatever I need. I don't know that Nginx isn't capable of just as much flexibility, but all the HOWTOs I've found are pretty simplistic and I haven't found the docs to be that helpful. If anybody has resources or experience to share regarding complex Nginx caching setups, I'd love to know about it.
I really don't count Chrome Frame as "works in IE." When you say, "works in IE", it has to mean, "works in the standard install of IE." Because that is the case that most people care about. We deal with IE primarily because we can't convince corporate clients to install anything. If I could get them to install Google Chrome Frame, I'd get them to install Google Chrome, period.
Is there any magazine today like the Wired of the mid-1990s?
What am I missing? I can see the solution for those 6 numbers {−2, −3, 15, 14, 7, −10} or is that the point, the more numbers you add, the longer it takes to solve and p=np is that it should get all the answers instantly?

Confuzzled!
Oracle will loose or reach a settlement with Google
Products of the Pros: Index Funds
What's strange is this. Considered logically, Chartism is total bollocks, yet the trading world sees it as generally legitimate.

Traders are often split into those that buy into the concept and those that don't, but from my experience even those that don't buy into it do not see it as snake oil. It's more like "Oh, yeah, he's a chartist".
s/lead//

Bram is the one and only developer of Vim.
Was the code published?
Assoc and Clojure’s PersistentHashMap: part ii
Yet they fund Mono and distribute Silverlight for OSX...
And the weird thing is China ranks 89 and Pakistan 85 in http://www.doingbusiness.org/economyrankings/
How much can you really make developing mobile apps?
The pottery might not have been hi-tech, but mass producing it meant a radical change in the way it had hitherto been produced.

It's like we say Dell is (or was) an innovative company. How, when they just made generic PCs? Well, their innovation was not in the technology, but in the techniques they used to manage their supply chain and inventory.
I agree. Technically speaking there is no native support for Webworkers in IE at the moment. That is about to change with IE9 though.
Paper: Fake random data are better predictors than Mann proxies
Too bad I don't have user there. As requirements does not mention computational time, the simple brute force approach would work.
Ask HN: What type of consulting do you do? Advice for a generalist?
Hey guys

I'm trying to transition out of a regular day job into consulting work so that I can better free up time and money to bootstrap a product. Being trapped in someone else's office all day is getting old.

In trying to get going with some clients and a regular stream of work I realize that I'm much more a generalist than a specialist and haven't got a great idea of how to pitch my skills or where the demand is.

On HN, when people say 'consulting' they seem to mostly mean web development. I'm more of a software guy but can certainly do web.

Web seems like a path of least resistance because people often realize they need a new website and go looking for someone to do it.

For other tasks, they may not realize they have a problem or what the solution looks like perhaps. It is usually less defined perhaps. Do people agree?

So my question is, what types of consulting do you guys do? Where do you think the demand is? Is it mostly web development?

I'd set up a poll but I'm not sure what all the fields would be :)

Cheers!
Each VM does some work. If the number of VMs grow exponentially, the work grows exponentially. !=P.
There are a lot of benefits in this model. If you can start getting subscribers and cash coming in you typically end up with high retention rates and low capital investment requirements. Eventually Hulu could throw off a lot of free cash flow which would be good for owners.

Liberty Media Starz is a good example. They successfully generate a lot of cash and are now on sound enough footing to start creating some of their own content. They just grabbed Chris Albrecht who was behind HBO's original content push. Plus, with this Netflix / EPIXHD deal, Starz is likely to have their contract with Netflix re-negotiated at a much higher price and benefit.
I hold the same questions, both as an Android developer and as a Android app consumer -- Sense plays zero part in my development, and as a user while it changes the home screen and offers some widgets, it does nothing to change individual apps. Nor does Motoblur, or Sony's Rebecca or whatever they call it, or LG's....
"Additionally, the study revealed that 87 percent of email IDs, user names, and passwords gathered from various sources were still active."

That is a pretty strong case of using an OAuth account that can show you everything that is authorized. I have no idea how many old "jaxn" accounts from the Web2.0 phase are active and forgotten.

I would imagine that 75% figure is pretty close to the percentage of people who use the same password for pretty much everything. I would also imagine that at least 75% of HNers are in the other 25%.
This stuff is the real deal
> the hallmark of any truly socialist government is that it spends too much money on unproductive investments -- because they evaluate investment on things other

So your means of identification of socialist government is that you don't agree with its valuations?

Perhaps you mean to say that without stringent focus on a numerical performance measurement, like size of budget deficit or kLOC, optimization theory breaks down. I don't see how that would be particular to any form of government. That said, communal ownership does suffer more here, because it's an attempt at moving past local maxima in the poorly-defined utility space. Perhaps Jesse Schell's point system for people would be a sufficient compromise.

The problem with borrowing in particular is that it leverages the assumption that your use for the money is valued by society. However, you can't nail down a worth and societies are fickle.
I can see the solution for those 6 numbers {−2, −3, 15, 14, 7, −10}

The program should be able to work on any set given by the user.

the more numbers you add, the longer it takes to solve and p=np is that it should get all the answers instantly?

The more numbers there are, the longer it takes. If and only if P=NP, there is a solution which always finds the answer in polynomial time.
Maybe I'm missing something, but wouldn't Oracle's Java patents apply to .NET implementations as well? Apparently, they cover fairly generic virtual-machine-acceleration-and-security stuff.
Perbedaan Islam Sunni dan Islam Syiah
Hans Rosling says in "1957 the United States had the same economy as Chile has today ... [in] 2002 the United States has the same health than Chile. Chile's catching up! Within some years Chile may have better child survival than the United States."

http://www.ted.com/talks/hans_rosling_reveals_new_insights_o...

So it looks like it might be a good place to live and start a business. Lots of opportunity and good healthcare.
Open source's ardent admirers take but don't give
maybe google can try to push the go language on android.
Is the lawsuit not about the VM technology, all languages running on it thus being affected the same?