skysight-inc/HackerNews huggingface dataset:
Apparently, they don't really know what they're doing...

function cj() {
try {
return new a.ActiveXObject("Microsoft.XMLHTTP")
} catch (b) {
}
}

I guess this JS code is not for IE support...
I think that in a way, your comment actually proves the parent's point. As you said, "the next time the poster decides to move".

The operative part there is that it is the poster's decision. I think most of us who have the resources to begin a startup or afford renting a coworking space also have the ability to be somewhat mobile within our local geographic area. Americans in particular are known for moving quite often.

To conclude, I think that considering a walkable or bikeable commute or the availability of public transit is great advice for anyone who is planning on moving within the next five years — which is nearly 75% of the US population.
> The only grudge I have with PostrgreSQL is that when confronted with this problem PostgreSQL fans respond with "We've got MVCC so it is supposed to be slow. Stop thinking it's supposed to be fast." not with "Hmm... Maybe we should introduce new facility similar to indexes where you could define what you want to count and the db will count by this conditions and provide results for you fast."

Plausible, but somewhat bothersome. It could be a special case of the materialized view problem, but it would take some convincing that to suggest that a special count-optimizing physical structure is worth the additional knob and maintenance burden it brings with it. Not impossible to convince, but it would require some tight argumentation with ample evidence.

In my quick assessment, the need for faster counts over lots of data is subsumed by materialized views, which unfortunately is a very tough feature to write, but has the advantage of generally considered being being worth it. A cut-down version of materialized views that just supports counting on various dimensions that adds more bulk to the planner as well as requiring execution maintenance and bug-fixing seems less-worth it. Somewhere in-between is a variant that supports more aggregate functions besides count(), particularly ones where one can define an inverse transition function (which in the case of count is "add one for every record").

There are many interesting features one could add -- and this is one of them -- but at the end of the day there is going to be an assessment by the long-time community members who have the privilege of fixing obscure bugs for years as to:

* Who is going to write it?

* How long will it take vs. other features?

* Is a feature is going to be maintained to a level of quality we find acceptable into the foreseeable future?

* Is the impact worthwhile?

* Could this in any way be done as an extension?

The level of the bar of quality has changed over time, too, pretty much inexorably moving up. Getting LISTEN/NOTIFY in now would be much harder than when it showed up in...Postgres95 (and, granted, it was pretty busted back then, apparently, along with...a lot of stuff). LISTEN/NOTIFY turned out to have a good impact/complexity ratio, so it gets good maintenance, but in a hypothetical world where it was not already committed with a good history of service and use I bet it would have required quite some convincing to add.

There is some old code in existence now that would not be accepted again today. A more sad example is dusty implementation of hash indexes that thankfully few people use or see reason to use. Hash indexes possess ample warnings in the manual to not use them. Yet, it doesn't seem reasonable to deprecate them for people that rely on them, and nobody seems to care enough to improve it, or even convincingly whine about improving it. The community is pretty sensitive to these code barnacles, so if one goes in wanting such a feature, one has to be well-prepared to argue both feasibility of implementation and size and duration of impact.
How to make TJ SHORT'S GARLIC & CHEESE gold coast meatballs aussie style
Google’s First Self-Driven Cars To Soon Run on Nevada Roads
Google’s self-driven cars will soon be running on Nevada roads after it got approval for the nation’s first autonomous vehicle license from the state’s Department of Motor Vehicles on Monday.
How to find SugarCRM Trainers?
I can't stand this apologetic bullshit anymore. If you think defending PHP makes you look witty: KILL YOURSELF. Thanks.
I agree that IRC is still the chat protocol to use. Though in choosing a chat solutions there are some questions that often arise:

1) persistency (BNCs are still a techie solution, servers)

2) good web interface and

3) file support (other than DCC, unless a bot is present)

Here is where for example Campfire managed to take quite a big chunk out of the startup chat market.

Are there any clients that integrates well with IRC with those 3 qualities? (file support could be solved by a custom file repo with imgur-like links, or a DCC bot for those on irssi)
Node.js team fixes HTTP vulnerability with discreet commits. (A lesson for PHP?)
at some point powerful webapps disrupt the app store market
The Baseline Has Shifted
Google faces Indian antitrust investigation
For the year of 2011 there were only 37 vulnerabilities in PHP, so far in 2012 there have only been 7 (according to that site). Doesn't the link you posted suggest that PHP is getting better? It seems PHP has had a lot less vulnerabilities than I thought it did considering it's a proven fact the more people using something the more bugs and vulnerabilities will be discovered (Windows is a perfect example, bugs galore).
Does Cory Doctorow think The Matrix got it wrong?
I think an analogy to "The Selfish Gene" is appropriate here. The emphasis is on "gene" as the basic unit of natural selection.

Here we see (as we have always known) that the basic unit of investment success is not the team, the idea, or the company; but the portfolio. It doesn't matter that Sequoia squandered $41 million on one company if they made hundreds of millions on Instagram. Startups are high-risk, high-reward ventures, and they have always known that.

As to whether the huge capital and press actually hindered Color, I'm not convinced, but it seems plausible.
Maybe we should put autopilot failsafes for the cases when humans malfunction (see the Air France crash).
Quassel solves (1) in a user friendly way. It does not address your other points, though (there's a Linux, Windows, Mac desktop version and an Android app, but not a web interface AFAIK).
So you're saying that if I copy "for (i = 0; i < 100; i++)" then it's infringment, and there's no requirement of originality for copyright protection?
Eco-Friendly Baby Products, Organic and Natural Baby Toys
Eco-Friendly Baby Products brand. Organicallyhatched offers a range of natural, organic, environmental and fair trade products for your family, including real nappies, baby underwear, organic cotton seasonal clothing, baby accessories and much more.
How NSFW Corp Dodged The Newsstand Bullet And Lucked Into HTML5
Well they still haven't enabled HTML form file upload which makes uploading through a web app difficult if not impossible.
Create full screen view with screenfull.js
I wonder what happened since then? Socialcam launch party was quite a long time ago, and the story is basically around that time. And the story doesn't sound like a startup failure postmortem, so I'm kinda confused. Hopefully some good news coming up in the next post?
I found that I often (~1 time in 10) make a mistake with that syntax, and omit the trailing 's'. I think it's because I'm not used to having anything after a closing ')'.
By realizing that sometimes it takes a little investment for a payoff.

Outside the official docs you can find the same number of newbie tutorials for postgres that you'll find for MySQL. The difference is: Postgres has a stellar documentation once you're leaving the newbie stage. What MySQL calls documentation, let's just not talk about it...
This would be hard to implement effectively. HTTP sucks for downloading massive files.
Adjitsu team shares CEO’s motivational appreciation memo on acquisition | e27
Also, a fleet of self-driving Model S's would make a fantastic taxi service.
Amobee acquires AdJitsu, join forces to shape the future of mobile advertising
The fact that threads are one of the most widely supported and frequently chosen models for concurrency programming should be a clue that they are at least not a bad choice. I applaud the PyPy project for trying something different, but also doing it in a way where they did not paint themselves into a corner with a less-than-ideal solution.
I get all my stuff delivered to a Packstation, which is only a 5min walk away. http://en.wikipedia.org/wiki/Packstation
Ah, $50k/year... Well, US has its upsides. Europe too, but salaries are not one of them. In France you can reasonably expect to make €30-40k/year[1], 3rd part evaporating as various taxes. Prices are not adjusted for the difference. Many other countries are a lot worse than that.

[1] - yup, I've seen "well funded" startups searching for top talent willing to work for €36k/year
In an age of autonomous cars, driving won't die. It will become a sport akin to equestrianism.
The Perfect Server - Ubuntu 12.04 LTS (nginx, BIND, Dovecot, ISPConfig 3)
Spice M-5600 Flo Price in India, Spice Flo M-5600 Touchscreen 
The new Spice M-5600 Flo is the cheapest Dual SIM Touchscreen mobile phone in India from Spice. It is simple yet elegant handset comes with 3.2 inches QVGA TFT touchscreen display which supported screen resolution of 320 x 240 pixels. Spice M-5600 Flo has 1.3 Megapixels Camera with digital zoom and Video recording facility. The other important features it offers include MT6252 Chipset, Multi Format Video/Audio Plaer, Wireless FM Radio, Instant Messaging, 8GB Expandable memory and Social Networking Apps. Spice M-5600 Flo support Live TV and best connectivity features like Bluetooth v2.1 with A2DP, GPRS, JAVA Games, WAP 2.0, Obigo Browser and USB Port. It is powered by 1200 mAH Li-ion battery which provides talk time up to 6 hours and standby time up to 25 days.
Bash initialization files - what gets executed?
UK ICT classes killing kids' interest in tech
Great idea and it looks great as well!
Ask HN: Is there any available stats about HN users?
I couldn't find anything about it. It would be interesting to know who HN users are. They are not only US based, neither only CS guys. I believe most of the smartest and curious people in the world use HN at some extent as soon that they know about it.
"Microsoft never waited until DOS or Windows were perfected, they just released them once they thought they were adequate"

NEVER WAITED??? I bet you were too young to remember those days because Micorsoft(Bill Gates) promised Windows(3.11) like 6 years before it was ready. Windows was coming "soon", and "soon" and "soon", for years.

And better we don't talk about DOS. DRDOS was much better than MSDOS, but MS made windows over DRDOS so they had not to compete on technical merits.
> * People will hate me for saying this but I'm here to offer honest advice: prefer almost any modern language to PHP or Perl. I don't know what to tell you other than that PHP and Perl apps fare worse on security assessments than everything else.

If you're talking about copying and pasting formmail.php or .cgi from somewhere on the internet, sure. Beyond that, what exactly is the issue with Perl? Where are the security issues with Dancer? Catalyst? DBIx::Class?
Freezer Sweet Sour Jam Chicken
I don't see much value for most of these Unicode domain names except for novelty.

However, CJK domains are a potential goldmine if you factor in:

1. Most internet ready devices in Asia have Unicode input (language-wise). For example, they can easily type 日本.com (Japan).

2. China's internet users count has surpassed 500M.

A brief lookup revealed that the most common 1-2 character domain names have already been picked up.
Interface is All That Matters - Choose the Easiest Development Stack
I went away and checked with a few people so as to be sure that I wasn't just communicating my own bias, but I don't think you are going to like the answer very much.

Is Gonzo apparently.

[edit] Also, lots of people are fatter than me, but I do not think that is germaine to this discussion.
Before you decide to go with advanced string formatting, beware the encoding bug: http://bugs.python.org/issue7300
I'm missing the conclusion to that sentence. During 2011, the app store generated $3.4bn in revenue. Given Apples 30% cut, they'd see about $1bn revenue there, out of a total revenue of $108bn in fiscal 2011 [2]. That makes the app store about ~0.95% of Apples total revenue, compared to iPhone hardware sales, generating $47bn or 43% of Apples total revenue [3]. Now, you might argue that the app store accounts for some percent in that in that people buy iPhones to be able to play Angry Birds and whatnot, but from what I can tell, the most popular apps on iPhone are equally available on Android [4]. Pair this with the fact that iOS Safari seems to be the most capable mobile browser out there (or at the very least, in the top 2) [5] and I'm saying there's no published reason Apple would fight web intents or more powerful web apps in general.

Of course, I'm open to other interpretations.

[1] http://www.wired.com/gadgetlab/2011/12/ios-revenues-vs-andro...

[2] http://www.apple.com/pr/library/2011/10/18Apple-Reports-Four...

[3] http://files.shareholder.com/downloads/AAPL/1856667914x0xS11...

[4] http://www.pcworld.com/article/226531/apples_popular_apps_no...

[5] http://www.quirksmode.org/mobile/
He doesn't do a clean comparision.

If you have a list of data and need this data in a specific order and coincidentially iterate over this list every once in a while, then sorted will be less efficient, because you can sort in-place once.

If you have a list of data and you want to iterate over it in a specific order just this single time, you will need to spend a linear amount of memory to sort the list and then iterate over it.

In the first case, sorted() is not useful, because .sort() sorts in-place without additional memory overhead. In the second case, copy/.sort is required and just requires more code for pretty much the same effect. In this case, sorted() is just as bad as the alternative, but shorter.
I would be wary about trusting all connections from localhost.

The only place where this is an issue would be hosts with multiple untrusted users, and these are becoming very rare.

getting a local unprivileged shell isn't exactly hard

Sorry, that's nonsense. The entire internet relies on the fact that this is relatively hard, unless you neglect basic security precautions.
Functional languages aren't stateless... at least not the way this person, and many others, imagine. Of course they have state, and manipulate state, and do anything else that any other language does. Therefore, they have no conceptual problem with talking to databases any more than they do talking to anything else along a socket (or byte stream).

The real get-to-the-root-problem answer, which I don't see on StackOverflow right now, is to come to a better understanding of what functional programmers mean by statelessness. Broadly: A function ought to be a function. That is, when called with the same parameters, it should return the same result. A functional programmer says that in an imperative program, there is an implicit additional parameter passed to every function, call it World, which contains vast quantities of state, global variables, global references, the IO state of the world, the ability to open sockets, etc., and that every function implicitly returns a new World value with unbounded changes made to it. Functional programming removes this implicit passing of the World value, and replaces it with an explicit version. (Or rather, the strong, modern version of "Functional Programming", which is implicitly what was specified when talking about the importance of statelessness.) In Haskell, this is the IO datatype used as a monad.

A stateless function is one that does not examine World and depends solely on its non-World parameters. You can write them in non-functional languages, they just don't particularly provide you any assistance. Functional languages are ones that do provide you assistance, such as the State monadic value, which contrary to popular belief is in fact fully stateless when the arguments to all the relevant functions are de-sugared and examined. (It has a state-like effect as the programmer thinks about it, but is actually just syntax sugar for threading a value through a series of functions, as older-school functional languages like Erlang do.)

Functional languages conceptually allow functions to apply to the real world by threading a World value through some functions, and ensuring that World values can't be reused. (How they literally function may differ in ways you don't care about for now.) This is what the IO monad is doing in Haskell, ensuring there's no way to reuse a given World psuedo-value.

So, no, functional languages have no problems talking to the database when passed the relevant World value. (Hypothetically they could be passed a restricted value that would let them only talk to the database, rather than have full access to all IO.) You just won't be able to crack open a connection to the database and start talking to it unless you're in a context where that is permitted. You won't be allowed to do it without realizing it, declaring it, and explicitly controlling it.

(Also, as is the way with this sort of post, there's some ways to quibble with it. I was trying to keep it not Haskell specific, but that sort of makes it hard to maintain consistent terminology, especially when speaking to novices. Perhaps I should just have gone for Haskell only.)
Reputation of Purebred Breeders
I have purchase two puppies from purebred breeders. They provide me the puppy advice DVD, containing the information about the breed standard. Their way of working was outstanding.
Project Sputnik: Dell's Ubuntu-based XPS13 laptop for developers
This discussion isn't wholly centered on mobile though - the OP mentions Mozzila, Msft, Google and Apple - I think we're equally talking desktop browsers.

And while I agree that file upload is a major, glaring omission and a constant source of pain, I still hope it's not permanent.
Shame about the emphasis on long hours here. Not all start-ups expect them as a matter of course and I'm not convinced that they're a healthy part of start-up culture or crucial to success.

People should be prepared to be flexible of course, but I'd hate to see long hours perpetuated as part of this cargo cult start-up success myth and expected by default by founders.
Heavy Duty Truck
Eicher 35.31 is a 31 ton GVW 12 tyre heavy duty truck. This big truck is a good alternative to 25 ton GVW 10 tyre trucks because of carrying up to 6 ton extra payload and earning up to 35% per high revenues at minor higher operating expenses.
I really hate being called a geek. I associate it with bullying and social exclusion. It may be OK to be a geek in Silicon Valley, but that's not true everywhere.

If you bring that line back, please replace it with 'For techies and non-techies' or similar.
Leadership (or lack thereof) begins at the top
Why your startup will probably fail
I wrote this for a local start up blog in Australia, thought it might be relevant to post on here.
Free Logo Design Service
Your budget is low and you need a professional logo design? The Logo Lab is the key, we only require a link back to us and you could have a catchy logo for free!
This isn't really a matter of money for many people. It's a matter of ethics
(or principle, if that's too strong of a word for your tastes).

I consider it highly anti-competitive to force people to buy an OS with their
computer. It doesn't matter if you're a GNU/Linux person or simply already
have a Windows license - it's forcing you to pay for something you don't want
and don't need. And even if you want or need an OS with your computer (which many
people, in fact, do), it should be an option[1], not forced upon you. As far as
I'm concerned, this should be illegal by consumer protection laws.

In fact, there is a consumer protection directive in the EU that does just that -
forbid unlawful bundling. It's just that no one knows and no one gives a shit,
and here in Germany, there's a saying: "Wo kein Klaeger, da kein Richter." -
"Where there's no complainant, there's no judge.". So, become a complainant.
It's your good right, and those companies like Lenovo know it - that's why they
make the process of getting a refund as arcane and customer-hostile as possible.[2]
Most people will just bite it and silently pay the Windows tax, further fueling
this vicious circle and the Microsoft monopoly.

[1]: For all I care OEMs can make it the default option, as long as I can choose
"No OS" or "Preinstalled $distribution" - I don't care as long as I'm not forced
to pay for something I ultimately won't use.

[2]: I had a slightly older (2008) mailing list post on (I think) Google Groups about refunds
from Lenovo Germanu somewhere, but I seem to have lost the link. It included contact
details for a guy at Lenovo Germany who apparently was responsible for granting refunds,
but it took the author of the mail hours to get this information from the from
the various hotlines.
If your web application is opening and closing files based on user input, without checking them first, you have bigger issues. Blaming this on the language seems bizarre.
Here's code I wrote in early 1998, and posted to comp.lang.python: http://lwn.net/1998/1105/a/crosscopy.html .

The code still looks stylistically modern, except for its use of getopt, but that's a library issue, not a syntax one. It's by far from "almost unrecognizable."

Can you therefore elaborate with an example from that era?
It's "Boost", not "Boos"
Have you a suggestion of how to resolve this? I thought maybe cap the scale and allow scrolling of some sort - and maybe to allow a max number of items on the page at any time (culling the oldest)
Ask HN: So what are the early opinions on RubyMotion?
All the news seems to have died out in the last few days.

Has anyone tried it out?
What problems have you run into?
Is it worth the £100 as a hobby project?

I'm currently considering building an iOS application to supplement my website but it'd be my first step onto the platform. As a pretty experienced Ruby developer it looks like it might split the learning curve; learn the framework first, then Objective-C later.
I think you want "boost" - kind of turns the meaning of the article on its head. The title is all I can see, however, because of the paywall.
I once got penalised in college because I solved a problem using SQL instead of 'the wizard' :\
Linux developers by and large don't care what distro or software comes preloaded. They intend to replace it with their favorite setup the moment they take the machine out of the box. What they want is a keyboard designed for productivity and hardware that is fully compatible with the Linux kernel. Some will only use free (libre) drivers. Some want a large touchpad, others just want a pointing stick, and others don't use a pointing device at all. Many want easy access to the inside of their computer. Then there are always the regular consumer issues like how pretty the machine is, does it have bluetooth, an optical drive, etc. All laptops have a tradeoff among portability (size and battery), performance (CPU, GPU, RAM, and display), and price (low is good). Most great laptops only excel in two of those categories. Different developers choose a different two.