skysight-inc/HackerNews huggingface dataset:
The remove_char function was fun to write, and I found a bug in my first implementation!
The Intrusive Stack problem; however, is confusing to read. I searched for a description of what an intrusive stack is on DuckDuckGo, and the first result was for the Scalien job application. Further down on the page (through what appears to be several quasi-related links) I found a Boost article on intrusive containers which explained the idea much more clearly. After reading the Boost description, then re-reading the Scalien description another 3 or 4 times, I'm not comfortable to write an intrusive stack.

Are you sure applicants aren't failing because the application problem for the intrusive stack is written in a confusing manner?
dont you need the outside to ground two devices together?
He didn’t just “do no evil”; he did some good.
Kind of like Jammin' Ninja? http://aceattorney.wikia.com/wiki/Jammin%27_Ninja
Positive move by Google, which should help the best content to rank in search.

However when Google start using this feedback data directly in their algorithm there are two dangers, which both can be overcome:

1. Abuse by SEOs trying to get their competitors blocked

2. Bad use of block data on a site wide basis in the search algorithm. Eg just because certain pages on a site cause users to give block data doesn’t mean other pages on that site contain unique useful content. High volume publishing or community sites will have a large degree of noise, but due to nature the cross section of society as members there will be also valid useful content in the seams.

One approach is to let individual users block sites forever (as the extension now) but use the block data on a page, not domain basis in the search algorithm. Individual pages can also increase in quality over time (the qoura business model) so changes in page content needs to be considered too.

The Internet is a better place with non editorial user generated content (hacker news is user generated) after all the human race mind based knowledge is a not all published online. Google just needs to figure out which pages really add value in that specific search no matter which domain they sit on.
Charlie Miller

You mean the Charlie Miller who has a PhD in mathematics, right?

Also, did you seriously just write a list of top-tier security researchers which didn't include djb?
Ironically, there are reports that Amazon plans to release a "curated" Android marketplace app which will have to be installed from an apk, although they're trying to do an end-run by getting the manufacturers and carriers to do the installing for them.

Between their marketplace and this 30%, Amazon may be preparing to go "all-in" on Android...
Want a sneak peek of social search and discovery? Early invitations available.
www.olyfe.com

oLyfe is a social search and discovery platform preparing to launch in the SF-Bay Area.

Thats all we can say for now but feel free to email any questions to feedback@olyfe.com
I was looking at that design yesterday. I decided I didn't have the time to buy the materials and build it in the 30 minutes I had before the game started, so I ended up watching on Youtube. I plan on building this antenna in the future though.
Google doesn't get 'social', but Apple doesn't understand the Internet
What about the issues with entrenched infrastructure and the technical cost of switch over? Are there any studies on that?
You make a lot of generalisations about what "everyone" is doing and how "real world" things can't run on IE. If those claims were realistic then companies with widely used web apps, such as several of Google's more recent offerings, would not be able to support IE. However, in practice it appears that these web apps run on IE just fine, and IE continues to hold the lion's share of the browser market. I don't see how to reconcile that massive, worldwide data set with your version of how web development does (or, according to you, doesn't) work.

> h264 was a conscious choice, nothing "broke"

That depends on whether you're the start-up pushing a video-based service and trying to make use of the HTML5 video tag, doesn't it?

It used to work. In the near future, it won't. To most of us, that's a pretty good definition of "broken".
Hi Antirez, thanks again for Redis. Despite our few problems with it, it rocks. A few comments:

> With fsync everysec, there is the problem that form time to time we need to fsync. Guess what? Even if we fsync in a different thread, write(2) will block anyway

Yep, but this could be avoided if a thread was devoted to all I/O incl. write() (and then line-level buffering really would be possible as well). Communication with this thread would be on a thread-safe queue--the main thread would never block on disk I/O, and only two threads would mean mutex contention for the queue lock would be low. This would be one solution, correct? This is a variation of your "two processes + pipe" suggestion.

> How to fix that? For now we introduced in Redis 2.2 an option that will not fsync the AOF file while writing IF there is a compaction in progress.

Well, we enabled that.. but, we found that it's still a problem in a couple of circumstances:

1. Something other than the AOF recompaction makes the disk busy. Like, say, even a moderate amount of disk activity by another process.

2. Redis's own logging to stdout, if redirected to a file, itself can cause the redis main thread to block if stdout is being flushed onto a busy disk.

Basically, if any I/O which may hit a disk (AOF record/flush or even logging) is being done on the single epoll-driven thread redis uses to process incoming requests, the system must make very good guarantees that those I/O calls will not block. We have found these guarantees practically impossible to make on a very busy master, so we've given on up having the master do AOF work altogether.
How can you call it "hacker unfriendly"? The thing is designed to be hacked, that's the whole point of it.

The Arduino and this are two totally different classes of devices.

For staters, this appears to be very much about the hardware. I wouldn't expect it to be open source, just like the iPhone or Motorola Droid you can develop your own apps for doesn't have open source hardware. You don't actually have to be granted access to 100% of the codebase and hardware layout for a product just to develop a neat application around something.

I saw this and immediately thought of 5 or 6 cool uses for it so I bought one. Sure, if I was going to build some kind of a product around this, or develop an app that was going to be my retirement income, I'd want a little more information about the company and their licensing models. But for a $150 hackable gadget, this thing is one of the coolest toys I've seen in a while.
No doubt IBM is getting mega-publicity out of this for a very reasonable price; it it quite the feat though in terms of the programming. Lot's of NSA implications I'm sure.

When I read this article, can't help hearing Sheldon's voice from the Big Bang Theory as opposed to Watson's. Is it just me?
Differences Between You And Your Boss
Prague, Czech Republic: 30/30 Mbps $30, 50/50 Mbps $45, 100/100 Mbps $55. I was on the middle deal for 18 months, it's uncapped and unshaped even on the uplink.
Where are you? In the Boston area, I've never had the kind of trouble with AT&T people talk about in NYC and SF.
Pret a Manager (normally shortened to plain ol' "Pret") is a premium sandwich/coffee chain based in the UK. They have stores in Manhattan and other places too. I miss it desperately.

Pre-packaged sandwiches are normally considered a bit ghetto and nasty. Pret used to (maybe they still do... I dunno...) print the recipe for the sandwich you were eating on the side of the box so that you realised you were getting good quality ingredients and a fair amount of effort went in to what you were eating.

Seems as though Pret realised what you were buying was not so much the product itself, but the convenience.
The two main reasons we are still a barbaric society:
1. We still pay taxes.
2. We still die.

One day, hopefully within my life time, we'll reach escape velocity and move beyond a jungle mentality.
Wow good point. Marketplaces at scale become infrastructure !
>and I need a better notification system

Not to sound trollish, but have you looked at Android's notification system? It's absolutely wonderful, and I really don't think I'd change a thing about it. If you aren't too tied to iOS and are willing to switch, I'd say it's worth a look.
That is a lot of cash. DARPA does do some neat things. Hmm, what would Hacker News readers do with $500M?
Balance of Power, by Chris Crawford (1986)
Oh gosh, I want to write a 10,000 word blog post just to refute this silliness. Android is not like Windows and Intel on the Pc. And there's obviously much room left for others to innovate, in both hardware and software. Sorry, but the "race to the bottom" would be in the iPhone became dominant and the only area of competition left would be who could make the most attractive plastic cases.
What Do TMZ And The Daily Have In Common? Both Are Published On Crowd Fusion
A Better Mobile Experience
How to launch at SXSW on a shoestring budget
Google's market will also be takeing about 30% of in app purchases.
Everything you do in your startup should lead to your primary goal and not distract you from that. Small, related projects or activities that can somehow help you make progress in your main startup idea isn't a bad thing.

What happens is that if someone joins your startup and he is more interested in earning money than the implementation of idea itself, he will try to convince you that your idea is going nowhere and you should put it on hold for sometime, may be for a year or two and do some other things like consultancy, web design etc. to earn money. Thing is that you will get dragged into other unrelated activities(that you don't enjoy doing) and will waste the time you should be utilizing to work on your primary project. In this case, your and your partner's objective aren't aligned. Such people tend to switch projects too often as they want quick money. You will find yourself switching from project A to project B to project C and it all will be a big mess. After a year or two you will realize that you have failed in all of those, your partner isn't interested in continuing anymore and you are at same place where you started, all alone.

Thats why point no. 2 - Get a cofounder who is "genuinely interested" in your idea. Make sure his goals and your goals are aligned. For example,

"I want to develop an X web application that will help Y users in doing Z tasks and which will be profitable after 18 months of launch"

and

"I want to develop software to earn some money as early as possible. It can be your idea or any other depending on the availability of clients and opportunity."

aren't goals that are aligned with each other.

Edit: A related link - http://www.startuplessonslearned.com/2009/06/pivot-dont-jump...
AGPL license requires you to give your source code to people who use your web app. In those cases, I suggest buying a license or looking at other alternatives.
Ask HN: current vernacular for "Air Time"
This is unusual, but I was doing a presentation today to Year 7s (age 11 to 12) and mentioned "Air Time." This got an unexpectedly raucous repsonse, so it obviously now means something. These days one must "flip" a coin and not "toss" it - so what is "Air Time" that I must avoid that?

Thanks.
The Secret Reason HP Needs The TouchPad To Be A Success
How does OO have any effect on concurrency? I'm genuinely curious here.
I have an antenna from RCA that is "enhanced". When I plug it in, it definitely helps in solidifying the picture.

http://www.amazon.com/RCA-ANT1650-Digital-Amplified-Antenna/...

Using your antenna, how could I go about amplifying the reach in an attempt to pick up more channels and/or increase the display quality of current channels?
Apps are a return to the walled garden -- the anti-Internet, if you will.
I've taken quite a deep look at it:

https://github.com/jamwt/diesel/blame/e360313d3950a952110b1d...
No, I really think Jared Loughner is going to be put to death for his search history.

Loughner is obviously insane, but these searches establish legal sanity, which means knowing the difference between right or wrong, or understanding the consequences for your crimes. Jared Loughner commmited this crime strongly expecting that he would be put to death for his actions.

Does the USA even have lifetime psych confinement? Insanity defenses are almost never successful.
Top Prospect Connects with LinkedIn to Turn Your Talented Friends into Cash
Thanks for the in deep reply,

Exactly the logging process can well be a thread for better performances, thanks for the hint!

About the other scenarios where fsync will perform poorly, indeed every other I/O is going to be a problem.

I guess the "all the AOF business in a different thread" is the most sensible approach to follow probably, unless there is an (even Linux specific syscall) that is able to avoid blocking but just to force commit of old data.
Ohhh this is beautiful. I'm glad to see someone is finally taking node to a direction that could really unleash its potential, rather than re-implementing a rails-like framework in javascript for the nth time.

Granted this is only the first nugget, but the optimist in me wants to see this approach evolve into a framework that truly spans server and client, instead of covering only half of the story.
Safari on iOS does client-side storage, you could let someone read a stored book offline. It would make pirating them a little easier though. Not much easier because it's not exactly hard now, Calibre has a plugin that imports them and breaks the DRM.

Heh, we could buy books from Amazon, de-DRM them, and read them in iBooks. It's probably the best reader software for the iPad other than Kindle.
Nah, it's to ground the shield. Shields work marginally better when grounded, but the difference is minor.
Arguably the best advertisement I have seen in my life.
Given that the typical propaganda technique of dictators in the middle east is to claim that all protests are the result of western interference, I'm not sure it would have been wise.
> Progressive enhancement disagrees. OK well maybe not quite but all the new features ...

Really? How do you progressively enhance a video site to use HTML5 video, or a site-wide menu system to use CSS3 transitions? The alternatives are things like Flash and JavaScript, which we have been using for a while anyway. However, if you have to write the Flash/JavaScript version anyway, where is the benefit in also supporting HTML5 and CSS3?

Progessive enhancement is a great idea for minor details, like having a site use a subtle rounding on corners when a browser supports it but just square cutting them otherwise if that's the visual effect you're looking for. However, in a world with desktop vs. mobile sites, persistent local storage, multimedia content, etc., it's becoming ever clearer that the idea of a single page with progressive enhancement doesn't scale to support fundamental functionality in a complex web app or interactive site, and multiple versions of the presentation/functionality are needed to cope with the ever increasing and diversifying range of visitors we need to support.
Thank you for the offer. I did some more research and I found a few good resources for normal Jeopardy games. I have less of an itch to scratch right now, so I think I will just hack on my main project tonight.
2.3.2 418 I'm a teapot

Any attempt to brew coffee with a teapot should result in the error code "418 I'm a teapot". The resulting entity body MAY be short and stout.
If you want to see what C with macros would look like, check out C-Amplify: http://www.cliki.net/c-amplify
Is that network worth 30% of the selling price in all cases? Does "one size fits all" really apply here. As an example, it's already been pointed out in plenty of places that Amazon doesn't have 30% to give to Apple, even if it wanted to. They are locked in to agreements with publishers that demand a 70% cut.

I can identify with them as well. I work with a good friend in the publishing market who has a product that they want to bring to iOS. His product facilitates the delivery of interactive book content from publishers and distributors to schools and libraries. Neither the publishers, distributors, nor the schools seem to have even the beginning of an idea on how to solve the problem themselves, yet his business model would be wholly incompatible with the Apple pricing model. As a facilitator, his company only makes a couple of dollars on the sale of each SKU. I just sat across the table from him at lunch today and recommended that he stay as far from the Apple App Store as possible. Going back to the table and requesting an additional 30% from publishers and distributors would get him laughed out of the room.

The greater point is that by applying a fixed 30% fee to all in-app purchases, Apple is excluding many different business models that might otherwise be developed on their platform. I know they have their reasons, and Apple is famous for disregarding edge-cases in favor of simplicity for the larger market, but there are a lot of models that flatly don't fit this fee structure. Anyone whose margin is less than 30% simply cannot move product through the Apple App Store.

Businesses stuck in this position have to decide which will be more costly and difficult: retooling their business model to accommodate an additional 30% margin, or avoiding the Apple ecosystem altogether and finding another way to reach their market. In my opinion, an extra 30% of margin is not easy to find in any business, much less the cut-throat content publishing space.
You could try nagging her?
Private Justin.tv broadcast anyone?
Agreed with everything he said except the terrible tools item. Sounded like he's referring to things like Unix, vi, emacs, terminal/shell, etc. If so, he's wrong and has it backwards. Folks use them precisely because they are so powerful and flexible, and yet can be both very simple or as complex as needed to fit the problem. Where he sees a complicated tool a good engineer sees a complex problem space and then appreciates a tool which lets him solve it efficiently.
I only have access to Windows (another problem) a couple days a week and today is not one of them. Sorry.
Agreed. Also, the ability to scale out easily, assuming you're using RabbitMQ.
Amazon's margin is exactly 30% for out of print ebooks they buy directly from the author. For others it varies depending on their deal with the publisher.
my bad... i guess people just love fred wilson.
Why the critical backlash? The App Store is the exclusive way to sell apps for iOS, and Apple takes a 30% cut. Now the subscription model is similar, except you can sign up outside the app as well, not paying anything.

I guess people don't like that Apple has full control of their platform, and they sometimes do things which benefit them. If you don't like it, don't buy an Apple product! Get something open or whatever.
Given that installing from an APK is as easy as "Here's a download link, click it on your phone, then select the APK from your downloads list", I don't see that there will be much of a barrier to entry there. Even without carrier support it won't be hard to get up and running.
Next step for Qt and Nokia - separation?
Qt doesn't play a role in the software future of Nokia. Nokia could continue to hang onto it because they are both Finnish. But perhaps it's time for the two to separate, for Qt to go its own way?

Alternatively crowds of disillusioned engineers could just resign from Qt until it has no more talent and fades away.
I'm not sure I follow. A lot of your thinking seems to be predicated on the fact that Apple somehow owns your phone after you purchase it. They don't - you do. That's why you give them money for it.

Apple has tried to argue that it needs to retain strict control over what software you can and can't install for your protection. The fact of the matter (now apparent) is that they want to insert themselves into a transaction between two willing parties, without creating any marginal value.

What if your TV maker tried to charge a fee to your cable company because you were watching on 'their' TV?

What if Microsoft charged amazon a 30% fee because you purchased a book through 'their' browser.

What if Kitchenaid charged your bakery a fee per cupcake as you were using 'their' mixers.

The list is endless. At some point you need to assert your rights.

Again: if apple wants to make money selling me books, let them sell me books. Don't let them get away with selling something they don't own.

"... why do you think charging for the use of your property is immoral?"

This is the fundamental problem. Apple doesn't own my phone nor do they pay for my data connection. They are charging for my property.
Zepto, a lightweight JS framework for mobile webkit, in jQuery style
scribe is a very powerful logging tool, but it also comes with its dependency costs. Compiling boost, thrift, fb303, and all the scribe logging libraries as well. If you are already a thrift shop, it can make a lot of sense, but otherwise, there is a lot of legwork to get it up and running.
Given the same semantics, RabbitMQ pushes 100k+ per core as well. It utilizes multi-core machines quite effectively too. Obviously as you tune nobs for more durability or reliability, you're going to take a performance hit. IMHO, Redis is a good tool for messaging if you already use Redis in a big way and don't need reliable delivery or any of the advanced AMQP routing. In sort of the same way a table in MySQL can be used as a queue if you already have a MySQL server and you're only going to be pushing a few hundred messages per minute.
Brazil is poor, sparse and large. We'll be stuck with slow and expensive internet for a long time.
The blog post was a pretty good read, thanks. I'm interested in data mining/AI, but need to learn much more before I'll be able to do anything useful. After some more thought I think it might just be better to focus a bit on academics and learning the theory behind all this stuff first.
What's wrong with killing the weakest, so the drove has a better chance to withstand in the future?
strangely it got more upvotes than a legit link. (currently at 3) http://news.ycombinator.com/item?id=2221302
(This is just for kicks.)

Assuming the space required to run watson halves every two years and v:: of the human brain is v1 = 1500cm³, and Σv of Watson's servers = v2 = 90 x (17.5cm x 44.0cm x 73.0xcm) = 5.05e6 cm^3.

So Watson will be the size of a human brain in t = - ln(v1/v2)/ln(2).

We're looking at 11.7 years. So, 2023.

* Source: http://en.wikipedia.org/wiki/Watson_%28artificial_intelligen...

"Watson is made up of a cluster of ninety IBM Power 750 servers..."

* Source: http://www-03.ibm.com/systems/power/hardware/750/specs.html

"175 mm x 440 mm x 730 mm"
It is unfortunate that C++ doesn't handle that syntax.

First thing I'll note...a "switch" statement implicitly defines a lookup table, and is probably the best way to handle this kind of problem regardless of what the language allows.

Having said that, to do initialization on the fly in C++, one trick you can do is to write a function. The main downside is that you must add a "()" wherever the "variable" is used, instead of just a variable name.

So to continue their example, you might say:

enum {
PL_SIZE = 56
};
static const int *price_lookup() {
static int *_ = NULL;
if (!_) {
_ = new int[PL_SIZE];
_[APPLES] = 6;
_[ORANGES] = 10;
_[STRAWBERRIES] = 55;
}
return _;
}

...and then, e.g. instead of price_lookup[i] you'd have to say price_lookup()[i]. Obviously their ARRSIZE() macro no longer works, either, hence the PL_SIZE definition.
Several dozen? What about several million? Several billion?
NSFormatters do a lot of stuff, internationalization, user preferences for number representation, etc. It shouldn't be a surprise if they're a bit heavy. IIRC they're pretty much intended for UI display, not for tight loops.
This site looks like TC.
the discussion going on here might be relevant:
http://news.ycombinator.com/item?id=2221182