skysight-inc/HackerNews huggingface dataset:
There are 2+1 major types of ByteBuffers:
Heap- backed by byte[] (or char[], int[], etc)
Direct: backed by C memory allocated via mmap (on linux). mmap can map to the RAM or a file. Memory mapped files are not an interesting case for NIO impl that works with sockets (On a flip note: FileChannel.transferTo(SocketChannel) doesn't involve memory mapping when the kernel supports it. Windows never supports it, though)

Most impl. use heap ByteBuffer, then parsing requires state machines and often they are simplified by copying the buffers. The blocking IO doesn't really need a state machine as the stack serves that purpose. Then there is some reactive alike pattern (submitting tasks to an ExecutorService) that costs some more latency. Certainly, it's easier to work with and reason about, yet the more hand-outs there are the worse the performance/latency is.
There are minor issues like the choice of a good queue. It is an important one as java lacks MultiProducer/SingleConsumer queues out of the box, or even single producer/single consumer. Java does have MP/MC queues (CLQ is an outstanding one) but one has to pay some extra price (incl. false sharing sometimes) to use them.

Ultimately the blocking IO cannot be "faster" than NIO per se since under the hood it uses poll(2)[0] with one socket. Before that it copies the java byte[] to a new location - for smaller byte[] it's the stack. Technically one can blow up the JVM if the stack is very tiny while entering socket.getOutputStream().write(byte[])

Lastly Selector.wakeup() has a stupid issue that involves entering a synchronized block each time even if there is an outstanding wake-up request already. Wakeup requests are implemented via pipes on linux (and a socket pair on Windows) that requires kernel mode switch. During the wakeup all the threads attempting to carry the task block on that very selector for no real reason. It can be played around with a CAS, so only one thread actually enters the monitor.

I will repeat myself blocking IO doesn't have predictable latency and cannot be enforced. In the end it's all about the latency as bandwidth can be bought, more machines deployed but you can't buy latency.

[0]http://linux.die.net/man/2/poll

Some internal stuff on heap vs direct buffer: http://stackoverflow.com/a/11004231
If I choose to run Windows as well as Linux, if I choose to install software I purchased, it doesn't harm RMS. In fact, it doesn't harm anyone as long as I'm aware of any potential direct personal impact, which goes for any software including open source.
Seriously how can you write a keyboard shortcut tutorial and not include any mention of keyremap4macbook.
Exactly, a concept also known as a "litmus test", if you pass the test you may still fail the actual, but if you fail the litmus test there's more or less no way you'll pass.
The FCC doesn't even agree with ISPs on the definition of what, exactly, constitutes "Broadband" connectivity.

Meanwhile the monopoly in my area continues to receive my payments, no matter what they do.
Nice strawman. The clear indicator of a desperate "I don't like your point but can't directly refute it".
You have a lot of ways to discover UI design on Pinterest (if you look at my profile – pinterest.com/xethorn – I mostly use it for that particular reason and architecture work.)

Things you can do to find UI work: you can either follow the boards of people who are relevant to the field, you can also browse what's happening on specific domains ("More from [url]" in the sidebar of the closeup) or you can simply browse the related interests.

Hope this helps!
https://en.wikipedia.org/wiki/The_Culture
Nice article, quite useful. Thanks for sharing.
I would suggest he finishes his other book, "The Blueprint", first, since it is "pre-ordered" on Amazon for two years now... Talk about a slow launch.
OS X is emacs-friendly, for example C-A, C-E works as home and end respectively.
One thing people forget about in all the excitement over HLL's is how effectiveness of compressed bitsets, which aren't lossy and so yield precise answers. They exploit the same "90% of them will be zero" phenomenon for space and execution efficiency, but are much more flexible... in exchange for consuming more memory and being slower than HLL's.
There is also a good talk from the FOSDEM 2014 about STM in PyPy: http://www.youtube.com/watch?v=u0evRytGE0Y
>Are you implying that it's going to do something nefarious because it's made by an Asian/Chinese company?

No. I'm implying it might because it's a 'smart' device. All sorts of American/British/Western European 'smart' devices are horrendously insecure too. Also, in the case of china, for example huawei, the government/manufacturer collusion goes far deeper than in the west; i.e. the surveillance portion is installed in the factory rather than later via exploits.
The problem is that networks ALSO include interstitial ads.

From practical experience as an advertising buyer, I'd expect the CPM for those ads to be considerably higher than for the in-stream ads. Indeed, you'll see that most of the in-stream ads shown on network broadcasts are internal for other network shows, rather than being sold, strongly implying that the potential revenue is massively less.

As a result, just giving away free downloads with baked-in lower third ads would likely reduce the revenue from the shows being downloaded by a factor of 10 or more. That's gonna be a problem.

(Don't get me wrong - I'm not a fan of DRM at all and would love to find an equitable distribution solution to this problem. But as a professional in both the media and advertising industries, this sort of revenue generation is something I struggle with myself, and I know it's a non-trivial problem to solve.)
Proper documentation is so often neglected. Good to see it done right.
> NATO's primary goal was to protect member nations territorial integrity against Russian incursion. Who here still believes NATO will do that

There's a big difference between annexing (parts of, or even all of) Ukraine (which isn't a NATO member), and Poland (which is not only in NATO, but also the EU)
I've long thought that a syndication system in which content is compensated based on a schedule and a combination of both general tax funds and a portion of broadband access fees (the former for progressive costing, the latter as a bit of a user fee) might fit information markets better than other alternatives. Advertising in particular raises numerous problems.

There are a number of aspects of this:

• But the payor will determine the content: actually a problem of the present system.

As Jacob Nielsen noted in 1998:

"Ultimately, those who pay for something control it. Currently, most websites that don't sell things are funded by advertising. Thus, they will be controlled by advertisers and will become less and less useful to the users."

• The message is determined by the payment medium: a fundamental statement of the physics, if you will, of creative activities.

• Estimating the size of the syndicate

Using my preferred reference for economic data, xkcd's "Money" chart[1] , the total size of the US arts and entertainment industry is $528 billion, where the publishing industry is $152 billion. Estimating online access as, say, 20% of this (which I freely admit was pulled from /dev/ass), works out to about $100 per person annually, which isn't too outrageous a number. Reality might scale up or down from this a ways, but even with a few powers of two in either direction, it seems generally reasonable.

Phil Hunt's Broadband Tax / Content Compensation Fund proposal, and the Rent-Seeking Economy: http://redd.it/1vknhc

My own Modest Proposal: Universal Online Media Payment Syndication: http://redd.it/1uotb3

________________________________

Notes:

1. http://xkcd.com/980/huge/#x=-9133&y=-4660&z=6
http://www.prtfl.io/muellerwolfram/blog/2013/1/23/how-to-use...
Aardman Animation announces kids' programming competition
Not just American. I'm suspicious of any random household device that has general purpose computing capabilities, especially when internet-connected and not local-user accessible and rootable.
It's ~$20 in its neighbor Romania.

http://forums.anandtech.com/showthread.php?t=2354886
Maybe this helps:

http://www.bbc.co.uk/news/business-23700012
Do you like the secondary taskbar of chrome in windows8 mode?
One thing I do have to give The New York Times credit for is that it's got an exceptionally good digital archive. All Web content ever posted is available online in full form.

Published articles at least through the early 20th century are indexed, typically with the lede paragraph or sentence. I'd love to have more, but that's a start.
Not sure why you’re getting downvoted for this: I’d say you’re allowed your little moment of schadenfreude after having invested all these time in tools many designers won’t yet take seriously!

The real catch though, is that design work is almost always done in collaboration—so that it’s not just enough to switch yourself, you need to find other people to work with who use similar tools.
From experience, I'd say that good quality exercise is almost always a net time-gain over no exercise. The increased energy pays itself back.

Have you looked into High Intensity Training? That allows you to pack solid, proven exercise techniques into very short spaces of time.
Often the problem is legacy systems. Startups usually don't have big and old mainframes dealing with huge volumes of transactions, they can just build the authentication system from scratch or use a modern library.
Gee that sound a like a billion dollars a year and a fundamental misconception of how news reporting works when deadlines, personal biases, and large groups of people get involved.

The times needs the government officials just as much as the officials need the times. Its a delicate dance and you can't just burn bridges.

Noble goals but come on.

> Editorial: how about some informed opinion pieces? How about starting to peel apart complex topics in multiple parts and report TRUTH?

Literally what Fox news believers say about the times.
So you have to buy him pepsi but might be stuck with some undrunk pepsi afterward. Also, does he really want cans or small bottles over the more economical large bottle and a glass?

(Yes, I'm currently imagining wat it'd be like to have him over. I think we'd get along fine on the tea thing, but I hate unnecessary waste.)
There are quite a few applications that do something similar, they leave a "disabled=1" or similar in the config to make sure people look at the config before trying to run the software.
I remember the eggdrop IRC bot doing it (http://cvs.eggheads.org/viewvc/eggdrop1.6/eggdrop.conf?view=... , look for the lines starting with die) this and I'm sure there are more.
Revolutions are not necessarily violent, nor necessarily lead to civil war:

http://en.wikipedia.org/wiki/Velvet_Revolution

http://en.wikipedia.org/wiki/Orange_Revolution

http://en.wikipedia.org/wiki/Overthrow_of_Slobodan_Milo%C5%A...
The introduction of minimum wage raises unemployment.

By the way, TFA is about Great Britain, which by all accounts has a great social security net. And as you can read in the article, the people specifically suffer from unemployment and the resulting feeling of worthlessness.

They don't suffer from hunger, lack of housing, debt or lack of material goods.
I do not shop lift.

When I am asked why I do not shop lift I say a bunch of stuff, but "it is illegal" is very far down the list.

Hypothetical-Bob does shop lift. When asked why he says a bunch of stuff, but will include some rationalisations for why this bit of illegality is okay. "At least I only rob big shops and it's all covered by insurance and huge profits" for example. His rationalisations might not be true nor even make any sense, but he believes them.

Hypothetical-Chris is a different style of thief. He burgles houses. Again, he'll justify it. "At least I'm not mugging old grannies".

Hypothetical-Dave does mug old grannies. "But I am a drug addict and I need the money And there is not treatment. At least I'm not like those scumbag paedophiles."

The illegality of an action doesn't appear to immediately affect whether someone does something or not. It does affect how sneakily they do it.

So that's the kind of attitude that many people have about piracy. But laws have longer lasting effects. They social engineer people into "acceptable" modes of behaviour. We combine advertising campaigns against drunk driving with stiff legal penalties. We back up outrage against racism with laws mandating equal pay and no workforce discrimination.

So, while DRM and anti-circumvention laws are hateful and stupid it is daft to think that they have no effect on rates of piracy.

There is very little piracy on Nintendo3DS games. This is not because people love Nintendo and want competition for Sony and Microsoft and mobile gaming. It's because the encryption has held and people who could work on breaking it don't want to risk the consequences. See the amount of piracy on regular DA or Sony PSP for examples of how rapidly people adopt piracy when it's available.

And people will pirate 99c games that have no drm.
"ZERO TO ONE is about how to build companies that create new things.", but then as an example uses: "The next Bill Gates will not build an operating system. The next Larry Page or Sergey Brin won’t make a search engine."

Maybe my history is not that good, but as far as I know Bill gates didn't build the first operating system, and when he bought 86-DOS, its success was mainly thanks to IBM. Same for Google, it wasn't the first search engine, it just improved on an existing concept.
My dog does exactly the same thing. Every chance he gets he lies down and stares at himself in the mirror. I have one in my bedroom that's visible from a particular spot on my bed. He always chooses that one spot. I've always wondered what's going on in his mind when he does that. I almost get the feeling he's thinking "Wow, so this is what I look like!". He's incredibly bright, very social, with a lot of personality. Terrier breed, 2 years old.
Peter Thiel's writings are often thought-provoking and insightful. They frequently think several steps deeper than the usual blog posts that we read on the topics... The CS183 notes bear that out.

I've pre-ordered the book. Looking forward to it.
> ps. lmao @ "we don't have real problems".

I think that referred to concrete problems that concern the individual and can be solved by work. You need food to live. So people farm. People need houses. So people build houses. That sort of stuff.

Yes, we have lots of problems now. But you can't grab a hammer and nails and build a solution to massive underemployment while earning a living for it.

Food and houses on the other hand, at least in the western world, are more or less solved. You don't need to build a house and a farm. You just need fing money to get a house.
Wish charts like this would start including "Bound by EU Data Protection Law".
Your history is fine, but you should maybe work on your ability to distinguish between things that are "true" and "true, but irrelevant in this context"
About your last comment, some people disagree with you:

http://en.wikipedia.org/wiki/Laughter_in_animals#Dogs

(I own a pretty happy dog myself but I'm not sure if I believe that dogs laugh.)
I suspect it comes from experience. He wouldn't have mentioned many of these things had he not had trouble with them, I bet.
For what it's worth we (Docker maintainers) are working on adding this feature :) In the meantime you can use something like supervisord or runit inside your container.
Probably not. The US legal requirement for a warrent don't apply to non-USAians.
This isn't eccentric, it's poor communications though.

It could basically be summarised as:

"Please provide tea making facilities: tea bags, milk, sugar and hot water. If possible a couple of cans of Pepsi (not diet or other brands please) would be appreciated."

Really, the person organising the speech doesn't really care how someone takes their tea or why they don't like Pepsi or what the conditions (which are totally out of their hands) are which will mean you do or don't choose to drink one drink over another. Given that he says he carries his own tea bags (and if he's using them he wouldn't want milk or sugar) the request could be: "Hot water and a cup for making tea - don't worry about providing tea bags, milk or sugar."

It's all quite sweet but really, the excess guff and explanations make it more likely someone will miss something.
For images, we used to do it ourselves but then moved to hosted images (cloudinary). Much better, and allows stateless web servers.
Sherpas Fund
I believe he's referring to the following: https://www.youtube.com/watch?v=MKMbdfbpWvg

It's an interesting observation imo, you should watch the entire thing because when it starts out it doesn't seem as if it's relevant to this conversation.

having said that, I haven't watched television or cable in probably a good 15 years. If I find a show I really enjoy, I'll purchase the DVD/Blue-Ray and watch the entire thing mostly ad-free. And I prefer it that way.
Importance of Open Data to Kenya's Future and Food Security
Some of his demands have to do with his strong ethical views on software, and while I don’t agree completely with him on this, I certainly can respect him for being uncompromising on that.

If you're going to host a talk from RMS, I'd presume you'd be aware that he has strong ethical views. I mean, that's one of the main reasons to get him to talk!
Europe's busiest airport will have a terminal called “Samsung Galaxy S5”
The point is that the first mature dominant players in those markets were Microsoft and Google. That's not to say that the dominant player can't be challenged, it's just that the next 100 billion dollar company will start in a new market with no mature dominant player (e.g. Facebook on social networks).
> The thing is that the current young ones are still of the belief that no-one has had it hard before; that it was cruisy and easy for everyone before

Really? It seems to me that a much more common belief is that the living standards in the modern, developed world is on a constant, never-ending upwards trajectory; that wealthy economies will grow wealthier or at least stay at an equilibrium, and that science and technology will keep improving people's life and make them easier. And also that we will grow more tolerant and accepting of each other (see; women's rights 100 years from now compared to today, black and gays rights in the last 50 years...). The recession probably dented the belief in strong western economies, but that is relatively recent.

In that light, it would be consistent to also believe that previous generation had it harder than the younger ones do today.

It seems to me that the attitude that the younger generation is entitled and spoilt is a pretty common one, irrespective of the era - how would X survive if he grew up like me? We didn't even have Y! There has been a lot of rage against the boomers lately, at least on the Internet, but that also feels kind of recent. At least when it comes to the Internet trend, I wouldn't be surprised if that whole debacle at least partly started because of a rant against baby boomers by George Carlin, who was himself not-quite in the boomer demographic (but on the other hand, who didn't he rant against?). Prior to the complaints towards the boomer generation, I think there was a certain amount of "apologies for my generation" sentiment going on. But again, that is also just an Internet-thing; I don't know about other avenues of information.
Power failure takes down StackOverflow
The fee was reduced to 0.00001 BTC (1/10th) recently: https://github.com/bitcoin/bitcoin/pull/3305

EDIT: It seems I misunderstood the change. M4v3R is right.
Don't laugh too quickly. Given a slow enough connection and a big enough file, the pigeon (with flash drive strapped to leg) will win.

http://en.wikipedia.org/wiki/IP_over_Avian_Carriers#Other_av...
Link for the interested: http://thedailywtf.com/Articles/Classic-WTF-Symbolic-Install...
That was published on 1st of April. It's an april fool's joke. There are loads of April Fool's RFCs. It's not a litmus test for reading, it's a community having fun.

BTW: A group tried the IP over Avian Carrier: http://www.blug.linux.no/rfc1149/ The ping times were unimpressive.
Can you expand on this a bit? I put money in the bank, no fees are ever charged. I spend money on the card for that account, no fees. I have a credit card, pay it off in full every month, no fees. I have direct debits to pay my bills, no fees. I don't see anywhere I'm charged anything by my bank. I think I'd have to pay 50p if I wanted paper bills actually.

If your argument is everything is priced higher because I'm not using bitcoin, the banks aren't getting that money so I'm not sure I understand - will everyone have to lower prices when everyone accepts bitcoin? I mean that sounds great but I'm not sure why a capitalist market would indefinitely reward you for using another currency - when there's nothing to gain marketing wise we'll see I guess.
Narendra Modi: PM of India ( No need of coalition )
Famo.us ( http://famo.us/about ) claims they can do performance comparable to native speeds with HTML (+JavaScript). Their code is already open source:

https://github.com/Famous/famous

It can render to DOM (hardware accelerated by CSS 3D transforms), Canvas, or WebGL.

Here are some examples:

http://www.codepen.io/befamous/

They will be "fully open to everyone by May 19th 2014." whatever that means...
Also here is a long video with demos: https://www.youtube.com/watch?v=wxBxsLl9ViE
Gas Mask – Easily manage multiple /etc/hosts configs on OS X
Governments can change the dynamics of global market forces (tariffs are a good example of this). I don't think it's silly to lobby your government to change things to benefit you and other citizens.
Interview with Haiku developer Paweł Dziepak
A bit shallow.

For me the main problem was that Macs had a completely different shortcut layout than Windows and Linux. With 'KeyRemap4MacBook' I was able to get consistency across the different platforms (not perfect but ~ok).
Slightly off-topic - my wife has 20k followers on Pinterest. Is that a lot, relatively speaking? Any suggestions as to monetisation? She already gets invited to events via Pinterest.
I really think this is what I need.
I think the hardest part of creating a mirror for these other kinds of senses would be the fact that you need to be able to modify the 'reflected medium' in such a way that you can:

1: Determine if the subject is capable of detecting the modification
2: Determine if the subject has detected the modification
3: Have the subject acknowledge that they are the subject of the modification by attempting to correct it.

I guess hearing a crow clear his throat would be an indication of sentience.
The eccentricity or outlandishness is not in the actual content of the requests. He doesn't request anything expensive or difficult.

It's in expecting everyone involved to thoroughly read the 10,000 man page and make sure they follow everything. So, instead of calling up the hotel you always use, Lucy from event planning is presumably expected to test SSH on the hotel network and question the staff about air conditioning systems.
$&%^ maybe they have been hacked!!!! OMG!!!

Being a little more serious. They have actually had some sort of outage as described on there website. http://stackstatus.net/post/85902805739/stack-exchange-prima... Stackexchange network status updates are on there twitter feed. https://twitter.com/StackStatus