skysight-inc/HackerNews huggingface dataset:
So you think we should teach in schools (from an example above):

(/ (+ (- b) (sqrt (- (* b b) (* 4 a c)))) (* 2 a)) ?
good idea - i might even manage a complete and coherent sentence.
I assume this has the effect that memcached is always full. How do you know when the hot cache is starting to fill memcached? Ie, how do you know when your cache memory is closing up to beeing to small?
The minimal code required in a HTML5 page
You know, it's this kind of citizen journalism/reporting and outcries that makes me think the US has a high chance to get back on the right track in a couple of years.

There are so many entrepreneurs and businesses, and people are so eager to be actively involved in something that when something like this happens, a shtickstorm tornado rises against the powers that be and it's very hard to quell it.

This article and other similar pieces need to get into the mainstream media, and then things will start to change - just like they did with SOPA and other laws.

I've seen no other country where media holds such a power - the UK and the rest of EU, Russia, China and Japan, they're all much worse in these regards and yet you don't hear this much of an outcry over a few seized domains/servers or even physical property.

Hopefully the big corporations that lobby everything to their will and rampant elements in the US government will be brought back under control - the sooner, the better...
Character pair autocomplete in any text editor
Couldn't agree more.

We got a 'bar fridge' to store stuff we are hoping to score from sympathetic friends/family + any deliveries. Also, planning on putting up a 'pantry budget' for everything from ramen to soda to instant_meals etc.
I don't really see why I would use something like this. Just eye candy?

With the exception of the 4th picture, they all come out worse. The last image (of the boat) suffers in particular. If you're considering using this plugin, I'd first consider precomputing it with an application like Photoshop. Seems a lot easier (no fiddling with jQuery settings) and I think you would end up with a picture of higher quality.

*I didn't mean to sound so negative. It's a good attempt; it obviously works.
Why exactly is it a necessity to use infix on paper? And what exactly is the argument for using prefix just because we have computers? I'd argue quite the opposite, computers give use even more convenience to use whatever we like. I think it is a rather arbitrary choice, but it may relate to the prevalence of subject-verb-object in (spoken) languages; i.e., operators act like a verbs.
Let - lets you run a node.js script a specified amount of time.
I've been working on something similar - https://github.com/jamii/springer-recommendations

All the open-source engines I've tried scale poorly. Since our input data already contains >200m interactions I suspect recommendify would struggle (from my quick reading it looks like the co-concurrence matrix is stored in redis ie in-memory).

The approach I'm leaning towards at the moment is collating the article->IPs and IP->articles tables in leveldb and then distributing read-only copies to each worker. Everything else can easily be partitioned by article id.
Best writeup on the topic of caching in rails that I've seen is http://broadcastingadam.com/2011/05/advanced_caching_in_rail...
The script duplicates the images inside of a <canvas> tag, which goes exactly on top of the current image. It then uses the canvas to provide the blend-mode functionalities.

Here is the source: http://dl.dropbox.com/u/45557606/Envato/CodeCanyon/jQuery-Bl...
When they say "accuracy", do they mean sensitivity, specificity, or what?
> The function of news is to facilitate smalltalk.

Case in point: I visit hacker news for the comments.
An absolutely massive issue I am having is getting insurance to trade with the US. As soon as insurers hear I will do 40% of my business with the US they say sorry you are too risky for us to even quote on.

I am in the retail industry selling home furnishings and although the US are more friendly (than the UK) with their duty free rate of $200 the legal system is making me consider whether I can even do business there from the UK.

It is too big of a risk to take selling physical products to the US when one legal case can take me out of business.

If anyone can recommend me a UK based insurer who will even quote on a product importer to the US I would be delighted to know.
You probably calculate the ratio of hot requests vs cold ones. Or in other words, the cache miss ratio.
A SWOT analysis: Is Facebook a good investment - or not?
http://pure.fm/
The progressive channel in particular does to for me, but they have excellent sets on all their channels.
I tired ist for small personal projects. Works quite well, it's even possible to use GitHub's Mac app. The web app features (issues, source, etc) are not quite as good as GitHub. But since it's free it is a quite good alternative if you need free private repos.
Can you clarify what you mean by 'worse'? The clipping, over-saturation and other 'defects' are all intentional aspects of this kind of process.

Or do you mean something else?
Hey, behave. The article was pretty good. Fast-paced but I liked it. Only the last three or so paragraphs dropped below the quality standard I'd like to read.
Oh, so that's something like timeout (as distributed in coreutils on GNU/Linux systems, and according to man pages available on the web also on *BSD etc)?

$ timeout -s 9 5s md5sum /dev/zero
Killed
mail sent at gmail.

Sorry for not having filed anything, I'm still don't have this reflex...
Also, how "big"[1] does the cancer have to be before it's detectable with this new test?

[1] apologies for my awful medical terminology.
Can't agree more. Thanks for all the great work. Keep it up!
This is a good reason not to stick to the DNS-resolver the ISP gives you with DHCP, but to explicitly set it to a DNS resolver you trust.

Wondering why Chrome is not simply using the Google resolver on 8.8.8.8. Of course this would yet be another band aid that breaks the internet even further, when applications start implementing their own network stack.
The OP repeats the ridiculous notion that Pinterst is making 10s of millions of dollars not once but twice. As you say, the estimates in The Atlantic article are wildly overstated.
The United States is very quickly becoming an ever more scary looking country. From the outside, it appears to be converting itself into a full-on fascist regime, hostile to insiders and outsiders alike. The walls are going up, the spy-cams and wiretapping are springing up. The SOPA/PIPA powered nation-wide firewall is being constructed. Local authorities are increasingly becoming subservient to a centralized federal authority (DHS). And it's all being fueled by propaganda politics, big businesses lobbying, and the rich. The country appears to be going completely crazy.
Can this be used to make a realtime javascript system?
The 5 Truth Bombs That Are Silently Destroying Your Business
comment 5 (in that thread, from the developer involved) says that it is working and testing it myself (google-chrome --dns-server=8.8.8.8) with wireshark shows that it does query that server.

(thanks for pointing this out; it wasn't what i was suggesting - i had assume the laptop was the op's own).
"My servers are in Germany."

The author's granttree is at .co.uk, but woobius is at .com. My understanding is that the US claims domain over anything serving .com and .org, and that first world countries (do we say that anymore?) will roll over for the US on domain issues.
Aren't you a product exporter? Your counterpart in the US would be the importer.

As a bit of a counterweight, yes, the US is 'sue happy' but being abroad typically takes a good part of the wind out of the 'I'll see you in court' attitude. It takes a lot more from the litigating party to set up a lawsuit with an overseas party, on top of that the courts in the UK are much less likely to award idiotically high damages.

As a first stop, before talking to insurers I think you should talk to a UK based lawyer that has experience defending a UK party from a US party suing them to get a good idea of the lay of the land and the likely hood of such a lawsuit.

As soon as you incorporate in the US your chances of being sued will go up enormously, and so will the cost of your defense. In the UK it will be manageable, in the US it will likely put you out of business. As one friend who runs a consumer electronics company said "The US is a very large market and we can not ignore it. But the cost of doing business there in terms of legal hassle is something that we simply pass on to the consumers in the US, which is our way of dealing with it.".
It's not as powerful as what you could do with Lisp. The code is not a first-class object, so you can't for example substitute variable a for variable b. The "data" in code as data refers to an abstract syntax tree, not just a string which happens to contain code. Python does give you access to abstract syntax trees, but because of the complexity of the language this is less useful than with Lisp.
For non-Mac users: you can use autohotkey to capture this kind of functionality as well.
The fact that Facebook is already trading at $100 billion is decent if not strong evidence that investors, individual or otherwise, would buy at that range. And Zynga quickly moved above its IPO price where it now sits.
Would be nice to have an official package manager. Or better yet Debian under the hood.
The fact that it works is completely irrelevant. It has always worked, in about all versions of HTML/XHTML, in that type of simple cases.

The important fact is that omitting the html, body, head tags is valid markup.
Whether browsers conform to this is another matter. [1] suggests there are some issues with that.

[1] http://stackoverflow.com/questions/5641997/is-it-necessary-t...
This is a fantastic premise, and wildly fun to think about, but I think the author fails to prove his case.

Good designers eliminate cruft, and if one is conscious of the design, then it's bad design (although it's possible I'm guilty of applying the "one true Scotsman" fallacy here).
Here's a list of smallest possible syntactically valid files of different types https://github.com/mathiasbynens/small
I think you better re-read what is happening in Australia, what you describe better fits their situation than the US one.
/Wow/. That's incredible. How does the "<>" operator work? I'm familiar with command line redirection, but I've never seen this. To wikipedia!
We started in 2005.
Lessons from an Indie App Developer
I don't agree that "the other side" cares so much about conventional syntax. Syntax is a very superficial thing; I think it's rather that most of the time you don't want to have to deal with the power and complexity of something like Lisp. If you compare it with natural language, most of the time we don't speak in poetic or literary language, even though that might be the most beautiful; rather we naturally strive for efficiency and simplicity, using a much smaller vocabulary, re-using common expressions and being redundant etc.
This trend appears to be happening in Canada, UK, and EU simultaneously. The G8 are coordinating their authoritarian efforts in a way that is completely unprecedented. Like a lot of things the US is probably the one pushing for this on its "friends".
This is bash-only, but a similar feature exists in zsh: http://rosettacode.org/wiki/HTTP#Zsh
Anonymous Now Interested in the Great Firewall of China
Er, what OS is this referring to? My Linux boxes don't have a /dev/tcp or /dev/udp. This sounds like a Plan9ism, but IIRC Plan9's network interface shows up under /net, not /dev.

EDIT: Ah, this is truly a Bash feature, some sort of internal hackery. It doesn't depend on the actual existence of tcp or udp devices.
Installing Nginx With PHP5 (And PHP-FPM) And MySQL Support On Fedora 16
Note that `<title>` is only optional in a few edge cases. This post has a more in-depth explanation: http://mathiasbynens.be/notes/minimal-html
Also see http://mathiasbynens.be/notes/minimal-html for a list of the smallest possible (X)HTML files per version.
I noticed that you have to purchase this plugin.. This might be a naive question, but what's to stop me from just downloading the source off this page directly and using it?
Thanks guys, I'm not sure how I missed that. The benchmarks look interesting, but it is strange how old an R version they used. That being said, its a really interesting language, and I look forward to playing with it.
Exactly. Combined with the `Link` HTTP header, it’s even possible to apply CSS to a completely empty HTML document! http://mathiasbynens.be/notes/css-without-html
This is extremely surprising to hear. I have never been to an Apple store (100+ visits to 2 dozens stores) where I could imagine this happening.
This is for Apple LLVM 4.0 which ships with XCode 4.4.

Also included:

- Automatic @synthesize
- NSArray/NSDictionary subscripting, eg id object=MyArray[12];
Last I heard, it's not — Moon didn't think his work was high enough quality to release, and invited others to do so.
"You know, it's this kind of citizen journalism/reporting and outcries that makes me think the US has a high chance to get back on the right track in a couple of years."

Maybe. But we're talking about seizing domains, and domains is where all this pesky citizen journalism is happening. Could go either way.
You don't think we're in trouble?
The whole idea of shopping on Facebook was ridiculous from the beginning. But I think Facebook understands this and is now taking itself to the stores. Nik's post on the matter is a good read although he repeats the absurd Atlantic revenue projections for Pinterest.
$# Saracens vs Leicester Tigers #$ Free Live Streaming: Care2 Groups
Color Bash Prompts
Wouldn't <html/> be the smallest?
Ask HN: Do you judge business models on morals and ethics?
Could you join a company/project that clashes with your personal code of ethics?

Have you had offers that seemed both viable and lucrative, but was turned down because it seemed morally dubious?

What would be grey areas for you in a moral sense?

Would you sign up to hack python for a site that revolutionizes international arms transactions?

Would you design UX for a next-generation pay-day-loan start-up?

I personally come across many opportunities, where I can see potential for both viable and legal business models, but I trash them because they rely on targeting a vulnerable group of people, or relies on "cheap" psychological tricks to work. But that's just me.

Where do _you_ draw the line?
The only browser to still have an issue with this should be MSIE, and that should be resolved with IE10 which will feature an HTML5 parser[0]: http://blogs.msdn.com/b/ie/archive/2011/07/06/html5-parsing-...

All other major browsers have already switched to an HTML5 parser

* Firefox since Firefox 4: http://hacks.mozilla.org/2010/05/firefox-4-the-html5-parser-...

* Webkit since ~early 2011: http://www.webkit.org/blog/1273/the-html5-parsing-algorithm/ I don't have the exact dates for stable versions of Chrome and Safari

* Opera since December 2011: http://www.opera.com/docs/changelogs/windows/1160/

[0] "html5 parser" is used as a shortcut for "parser implementing the HTML5 parsing algorithm"
It sounds really impressive, smart, innovative UI and underlying architecture. 37 signals did it again!
What is the minimum requirements of a team, programmers/skills/time, to get into such a project and actually deliver?
VLC is one of maybe 2 or 3 open source programs I recommend to everybody. Family, friends, girlfriend, from tech-savvy to first time computer users, mac, PC and linux. VLC is one of the few shining example of OSS at its best.
If you want people to shop on FB you have to integrate it with the apathetic zero-effort social climbing. That means luxury goods only.

Allow opt-ins that allow for ads like: so and so just bought an Omega watch and is therefore clearly better than you!

Efforts in this direction were sidetracked by the Sharper Image(??) vibrator fiasco a couple years back. Opt-ins are very very important.

Finally, the other option is to plug-in a Pinterest model into a FB app. Or better yet piggyback onto Pinterest, replace affiliate links again, and let the litigation fly! (I have a gut feeling that a dozen projects like this must already exist.)
It could be, but US has much more influence on the world, and it used to be the beacon of freedom. So all this is happening in the country that was supposed to be the most free in the world. Whether it's more fascist or less fascist than other countries, that's besides the point. They are already fascist enough, and the trend is going up, not down. And the fact that this is happening, while it's still the most powerful country in the world, scares the hell out of everyone else.
I feel things have calmed down in the UK on that front since TB got booted out. Personally I thought the height of that was when David Blunkett was home secretary.
He's Canadian. To make the purchase, he'd have to purchase from Apple.ca, where prices are much more expensive, not to mention the tax rate for Quebec (which I think is up to 18% now). Anyways, while visiting, we were going to pass by the store one day, and decided to make the stop.
Self-driving cars need to have their windows blacked out.
Smallest what? There's no DOCTYPE.
Once they do something they've explicitly said they have no intention of doing any time soon...
I was thinking the other day, wouldn't it be easyish and optimal to specify/calculate all the data that is used to generate a fragment, store the information in a tree, and invalidate the parents when a node changes.

This would only invalidate data that needs to be invalidated, and it doesn't sound too hard to implement... Does it exist anywhere? What are downsides I haven't thought of?
This is fantastic. Previously I was employing a macro library that offered $dict(k, v, k, v) and $arr(1, 2, 3) and $bool. But the @[] feels much better, and it increases code portability if a class is not dependent upon a separate macro library.
It will really remove the verbosity of objc which is oftentimes one of the major criticisms.
Is there a way to pull this off when the fragments in question are JSON?
Ask HN: How do NewSQL databases compare each other?
There are many so-called NewSQL databases, which are designed to scale on par to NoSQL databases while retaining full ACID features.

The competition is getting hard:

Akiban, Amazon Relational Database Service, Clustrix, CodeFutures, Database.com, Drizzle, FathomDB, GenieDB, JustOne DB, Microsoft SQL Azure, MySQL Cluster with NDB, MySQL with HandlerSocket, NuoDB, RethinkDB, ScalArc, ScaleBase, ScaleDB, Schooner, Tokutek, Translattice, VoltDB, Xeround

But how do these compare each other? How can we tell wich is better for our project or advantages and disadvantages of each one, performance comparison, etc?

To be fair, some of them are still on beta and most of them doesn't provide price information on their websites...
If you use something like jbuilder to build your JSON, then this exact same technique will work just as well.
Normally (in Photoshop or GIMP), you would start with a base image, and then apply a second image to the base image with one of these overlay modes; usually a specially-constructed image designed to apply the effect to different degrees in different parts of the base image.

This plugin seems to be using the same image as the base and as the overlay, which... seems to be missing the point a little.
To drive home their message.
The experience is different for things that are stocked on the shelf. Having to wait for a sales rep to be finished (regardless of other employees standing around) to purchase a computer is... well, described in my parent post.
I particularly enjoyed the all-male congressional panel on the morality of contraception they had the other day. One woman tried to testify but was deemed "unqualified." Well played.

Also, who else is looking forward to the war with Iran? I hear it's going to be in HD this time.
Kind of cliche, but Ted might be worth considering.
3 of the top topics are realated to Apple
As Spolsky recently said:

"Making a major horizontal product that’s useful in any walk of life is almost impossible to pull off. You can’t charge very much, because you’re competing with other horizontal products that can amortize their development costs across a huge number of users. It’s high risk, high reward: not suitable for a young bootstrapped startup, but not a bad idea for a second or third product from a mature and stable company like Fog Creek."
I don't think you mean that (or if you do, you aren't really trying). It's easy to imagine how the Apple Stores model breaks down. Just imagine a busy day, with a dozen people in before you waiting on sales reps who are all busy. A large number of these people have countless questions. Imagine if a sales rep spent just 15 minutes with each customer, answering questions.

Either way, whether you could imagine it or not, it happened. I'm not here to just bash Apple, either. The Apple Store is a different experience. But, it's not optimized for people that know what they want. If I want to buy an Apple product, I get better experience going to other stores. If I want to socialize and discuss how awesome Apple products are, then yeah, the Apple Store is a great place to go.
Paul, how does C fits into the picture? I don't see anything in the source for compiling native extensions, and the implementations src/recommendify.c calls look incomplete?

I am guessing you still working on the gem?
Your personal ethics? The distribution license for the code?
Gov. Asks Supreme Court to Dismiss ACLU Challenge to Warrantless Wiretapping Law
An Internet troll's opinion should carry no more weight than graffiti
It's worth adding that the DOCTYPE is what specifies what HTML rendering engine IE 7 and 8 use. A document without the DOCTYPE directive will render in quirks mode, and nobody wants that.
Hacker News clone for Python
Another weekend project, only focus on python news, still not support comments.
ugh. As much as I love the changes that Apple have been making to Objective-C, as someone with a rather large - first-time project undrway, the pace of change is just killing me. In the last three years we have seen blocks (and Grand Central Dispatch) and garbag collection, Automatic Reference Counting, and now this.

These are all good changes (well, except for garbage collection, but hey, they kicked that out with ARC anyway), but it really is hard to stay up-to-date. Yeah, I know, woe is me, my tools supplier is constantly supplying better free tools, but it is daunting having to review each of this evolutions, and determine if it is worth the effort to integrate it into my project.
I vote we change the name of this website to Hacker "News".
Does this come courtesy of a new version of the Objective-C language?

The definition of ObjC confuses me a bit. It's said to be a superset of C - but which C? C89? C99? GNU-C-Something?
My code doesn't look like that. For 30-50% of my code, I try to use a style more like:

(defn thingies [id]
(->> id
fetch
read-json
:rows
(map :thingy)))

(Of course, my code is often more complex and messier than that, even when using ->>, but some fairly significant percentage of my code does look that simple.)

I'm sure there's stuff to criticize about Clojure, but we can look at real-world code in another mainstream language (Javascript+node.js? PHP? Java?) and point out readability problems too. (Python maybe being an exception in terms of readability-in-the-small, for things that fit in the mainstream style. Though as someone pointed out, there's maybe some problems with manipulability.)
Sure, here you go: https://github.com/troelskn/pagedown
I use lastpass for this purpose.

Whilst their was a time I was happy to get all my data under one provider, google being the top contender, the privacy issues have forced me to revisit that issue.
Only HD? Damn, I thought I'd get some good use out of my 3D flatscreen.