skysight-inc/HackerNews huggingface dataset:
That's right, but it seems like it's fashionable to bash Java inventing example code that noone uses in prodcution. If I would see the code like this, I would ask the one that has written it to justify why he didn't just use IOUtils.copyStream method. Is there some performance reason he wanted to specify buffer size manually? Maybe he wanted to handle exceptions properly instead of wiling silently? Or he was on extremely constrained device where he couldn't afford to include 40k library and just copied the only method he needs instead?
How about the Google DNS ban? I think that ban has way more impact on net neutrality. Banning a website, even though it's blatantly bad, is common practice in a lot of countries. Blocking a DNS is basically forcing people to use specific 'approved' services.
It actually is in development already.
Version Control for Spreadsheets
What Books Didn't Tell You About ES5 Descriptors – Part 2
Even funnier, there is a Tesla store 500m from where I sit. In Gennevilliers, France.
I've been looking for something to replace my Ouya as an XBMC box, but with enough power to support the incoming 4K content. I'm not sure this does it.
"I want VR decades ago" is not what I would call a mature response. I'd hardly call Notch immature, he has ethical issues with Facebook and it doesn't fit his worldview. Rejecting any collaboration is the most mature way forward.
It does support WebGL indeed. It's not an alternative of PhoneGap/Cordova in fact it's a PhoneGap/Cordova++ as Crosswalk is compatible with the Cordova APIs. Instead of using the Java Android WebView it uses the Crosswalk View to render the contents.
Running Raspberry Pi natively in a Honda Civic
https://crosswalk-project.org/#documentation/samples

would that be ok?
Facebook's Oculus deal is Kickstarter's first billion-dollar exit
My experience is that popularity does matter a lot, but that the value of popularity is logistic rather than e.g. linear. Not enough popularity does make using a language in production unrealistic, but there is a threshold of usability after which increased popularity seems to have rapidly diminishing returns. I would argue that Haskell passed this threshold a couple years ago for most use cases. There is still a lot of work to do on cabal and some of the core libraries, but we're happily using Haskell in production, and for us the benefits very clearly outweigh the occasional difficulties.
I'm amazed by the fact that most of my non-geeky friends are wary of Facebook. Most of them still use the platform (as do I), but a bunch of them already switched to Telegram, and a lot of them have become much more careful about how they use Facebook.

These are people who don't really follow developments in the tech sector and use computers as 'iPads with a mouse and keyboard'. The ones who generally shrug at revelations of surveillance and the dangers that come with too much of it.

It will be interesting to see what kind of impact this has on Facebook long-term, if any.
I build some of these stuff myself, although not as complete as this one!

Nice find!
That's not how it works. It only disables the tab you are working in.
I think the fight that Tesla got into is rather an other example of businesses, the car dealers, that exist solely because of legal restriction allowing them to exist, not because there is a market need.
The added value of car dealers is extremely limited, and is rather an archaic leftover of previous times. Fighting for these business models is I believe completely ridiculous. It's like fighting for the CD industry or the Print/Paper industry.
"This." is an abomination, a pox upon the English language, and, what's more, serves absolutely no purpose on a site with little arrows to vote for things you like.
Link to the project: http://rr-project.org/

And the github: https://github.com/mozilla/rr

(On a side note, I think the gradient background is worse than a plain white background, when removing it, it become a lot more readable)
Kazzy: Todo with a twist
The whole set of top management taking off at one time? Maybe for a remote startup company, but c'mon as a taxpayer it must be infuriating.
It did, immediately: "As a new Oculus Rift prototype is unleashed..."

It didn't mention the most recent developments, as this article is several months old.
Your Favourite Tech Company Just Got Acquired by Facebook
SimCity Offline mode arrives
That definitely does not tie up with the pcmag article below http://www.pcmag.com/article2/0,2817,2369188,00.asp
- can you explain the disparity?

As far as I can tell, a site reliability engineer is a very common position.
Then why aren't pink sheets and over the counter stocks not banned also ?
Norouz egg made with pure css
This is a colorful egg made with pure css. This is one of our habit in new year celebration which called Norouz.
Embargos are designed to give every news outlet sufficient time to write up their stories and do their background reasearch without having to worry to rush to print to beat their competitors. In practice it's questionably useful.
I'm 100% sure this was posted by a swedish person. Even saying so i'm pretty proud tbh
more C-style

while( (bytesRead=System.in.read(buffer)) != -1 )
It's not just Java that is bashed with this tactic. For example, the TechEmpower benchmarks that keep getting reposted here do the same thing, except with languages other than Java, in order to make Java come out looking better.
I always provision my own modem and router, just for this kind of thing. Also, its cheaper in the long run.
Yep, they would have added more and more features to these increasingly powerful, increasingly generalized electronic devices that fit in your pocket until... Oops, look at that, smartphones all over again.
P2P CPU resource sharing for everyone?
Hi everybody, is there a project that lets me use others' cpu resource and let others use mine when my computer is idle?
It is similar to SETI@home or BOINC but everybody can use it.
I remember seeing this before but do not remember its name.
You're Already a Programmer
We're going to edit some pages to help with that ambiguity. As I said above, we do build on desktop platforms but we don't target the QA efforts on them so it's like community supported. https://build.crosswalk-project.org/ shows a buildbot on Linux, we're going to put public the Windows one for example. Mac OS works (I use it personally) but we don't have a bot at the moment. We don't also produces binaries atm. You also don't have the convenience of packaging your app into something that the platform can consume (.exe, .dmg...) something that Android and Tizen have. Again it's all open source, we are happy to accept patches to help on that matter.
I don't think you need orders of magnitude improvements to get a large adopted base [Note: I'm specifically not saying "rate"]. Just wait for new projects (or new companies) who're looking for which one is just marginally a better/funner/cooler choice over the rest. They'll accrue credibility for the language, and that'll add to it's case for usage in organizations that have already selected languages, and are looking for new ones. I think an organization that's been paying for a prior PHP choice would be quite happy to jump into Haskell, but is just waiting for a little validation of their choice with some more success stories.

And that's not really a function of metrics, it just needs a few well-spoken cheerleaders with a few good stories.

The largest issue Haskell has with adoption is its intentional avoidance of (at least, mainstream) cargo-cult programming culture. The "avoid success at all costs" attitude makes cheerleading Haskell as a proper, valid selection for betting your project less cool. The best you can do is "look, I got away with using Haskell!"
I didn't know what Haskell code looked like so I went to the official website and there was this code example[1]:

qsort (p:xs) = qsort [x | x<-xs, x<p] ++ [p] ++ qsort [x | x<-xs, x>=p]

Is this a good example of good Haskell code?

[1] http://www.haskell.org/haskellwiki/Introduction#Brevity
Mergerize: Crowdsourced predictions on Mergers and Acquisitions
Cubic-bezier
Spindren – like QWOP, but worse. Way worse.
Early Supporters of Oculus VR Denounce Facebook Buyout
http://aerospace.firetrench.com/2014/03/20-seconds-that-chan...

This was published yesterday, hasn't been taken down yet. The DOI is 10.1038/nature13155.
I was a beta tester on the VFX-1. A 17 year old boy's dream come true. I got a choppy 20 fps playing Descent on my Compaq 486 66Mhz with 16MB RAM. I dont remember what video card I had, but in order for it to work I had to remove the cover of my PC and plug it in directly, as it wasnt yet working with VGA cables. Good times.

The article states it retailed for $200-$300, which is inaccurate - I remember it costing about $1000. Sadly I was not allowed to keep the beta unit.
Why Runners Can't Eat Whatever They Want
Yes, you cannot sort them "perfectly" without overlapping.
Not that important tiny detail: Oiapoque and Chuí are not referenced as the rivers, but as the northest (Oiapoque) and southest (Chuí) cities of Brazil. "from Oiapoque to Chuí" is a popular expression to refer to the whole extension of brazilian territory.
> > The first wave of open source leaders, including Red Hat, relied almost entirely on the community to build their products.

> I'm not sure this statement is entirely true

Red Hat is a good open source community citizen, and has contributed tons back, without a doubt. However... out of the total lines of code they distribute, if you start to consider Apache and the GNU tools, and various libraries, I wonder what the percentages look like? I think all things considered, it would reflect well on Red Hat for all they have done, but still likely be a small-ish percentage.
Maybe they are already in talks
Zuckerberg gets excited about virtual reality, talks like someone from the '80s
> That's why when choosing between two languages, assuming both are well suited to the job at hand, a company should always pick the one with the wider adoption unless the other is so significantly "better" to trump lesser adoption.

I think it plateaus at a certain point. You don't need the largest community, you just need critical mass so you don't have to build everything yourself. In fact, at some point being the biggest ends up diluting the talent pool because of the number of people getting into it for the money, and this is becoming a much bigger problem as the traditional job economy dries up and the demand for programmers increases.

As to being "significantly better", I think Haskell has that in spades. In fact the things that make Haskell better are probably difficult to appreciate by a lot of younger programmers who are using relatively new languages and frameworks like Node and Rails. When you start seeing the effects of code rot and programmer turnover on a codebase over time, the types of static checks that are a couple orders more powerful and simultaneously less verbose and restrictive than what most people think of when they hear "static language" (ie. Java), then Haskell really starts to shine.

Personally I think companies that invest in Haskell are going to start seeing major dividends in terms of productivity and agility over the lifetime of the company.
Haskell was inflicted on my whole CS class, and for that class P(avid problem solver|likes haskell) was mighty high.

As long as you can sample from a decent talent pool, I think it's a good filter. (Provided you only care about your outcome, not fairness to job seekers.)
I'm also a big fan of Xtreme Shock. Tons of great flavors and have a huge kick.
Surely the fact that he didn't have a Facebook account yet says something.
Descent is the only game that has made me feel slightly nauseous playing on a normal screen (OK what was for the time a super high definition 21" screen)...
Ezebee.com – The new social marketplace for small businesses around the world
I would think Microsoft takes the FAT module of the Linux kernel very seriously. The way to store long file names as multiple directory entries is one of the patents Microsoft uses as its main mobile revenue driver (they get more money out of Android licenses than they get from Windows Phone sales).
Isn't the Linkin Park vocalist named Chester Bennington? I think you're off by a gton.
I have to disagree on two points.

First, the implicit point you are making that ambitious algorithms or novel data structures are useful in industry. For the vast majority of applications this simply isn't the case.

Second, the argument that people interested in learning advanced computer science aren't interested in learning new programming languages. This goes against all of my experience; my friends who are most interested in advanced computer science concepts are exactly the ones who spend the most time exploring different programming paradigms as well.

I have one idea of what the distinction might be, though: learning different programming paradigms is very different from learning different programming languages. I certainly wouldn't want to waste time learning yet another Java or yet another Python, since as you say that would be focusing on bling rather than substance. If this is the distinction, Haskell comes out fine, as it is clearly a different paradigm from the mainstream languages.
It’s the Wild West, so Buy a Saloon: Facebook Acquires Oculus for $2B
Wait. What the hell is a "plumicorn"?

"An ear tuft of feathers, as in the horned owls."

I... didn't realise there was a word for that.
Uber’s battle in Seattle highlights the irony of regulation
Can anyone tell me what this guy did here?
looks ... great??? umm sorry but I know I'm not a fashionista but does this look attractive to anyone?
Welcome to the Fairlee Wellbeing Centre
"Rust appeals mostly to C/C++ programmers"

As primarily a Scala programmer, Rust appeals greatly to me. It's basically the same language without cruft inherited from Java, and its much more amenable to optimisation that Java. For example, large heaps have unacceptable GC pauses, so projects like Cassandra invest a lot of effort into "off-heap" memory management (i.e. manual memory management). With Rust that just works a whole heap better (pun intended).

People tend to talk about "expressiveness" when discussing programming languages, which usually mean concision. I'm much more interested in what I call "expressive width", which means how high- and low-level can get in a language. PHP is little expressive width, because its runtime is so poor. Scala has good expressive width because I can play with threads, CAS operations, mem-mapped files, and even manual memory management (which is going quite far off-piste, but possible with sun.Unsafe). Rust has even more expressive width than Scala.

[Rust needs higher-kinded types before it will truly make me happy. I believe they'll arrive soonish.]

For your other points:

- P(interested in PL | interested in CS) != P(interested in CS | interested in PL).

Agreed, but I don't think it matters. Anyone interested in discrete maths (so, CS) will pick up Haskell quickly.

- "People who risk their company's investment (or make any important decision) based on stuff they drool over, might need to get their priorities straight."

Depends on your company's size and ethos. I'd rather have a few great people than a room full of monkeys, but I understand arguments that go the other way.
I remember being so mad at my mom for refusing to buy me one!
Why Airbnb Encourages Employees to Predict Its Own Downfall
Breaking news: From some undisclosed confirmed sources, it appears they discovered a new planet after Pluto. Could this be planet Nibiru?
Organic treatments And Yoga Meant for Rapid climaxing
Grep expressions are not a turing-complete language, so I guess that won't count. You could claim that you solved the task using a shell script (that invoked the grep "function") but if you programmed in shell, the shortest solution AFAICS is

#!/bin/sh
cat
The whole thing betrays a certain lack of ambition. It's like if the early Microsoft had said: "Microsoft in every home? Nah, fuck it, let's just get acquired by IBM."
This is an aspect of humanity that should be fought, not embraced and exploited.
This article seems weak sauce.

Romney opposed Tesla, but that was because the President supported it. Presidential challengers, regardless of their views, always say that the incumbent President's policies are wrong. They have to give the public a reason to vote for them. You do that by creating contrasts in the public's mind between you and the incumbent.

If Obama hadn't supported Tesla, Romney would have. It's not because Romney is especially corrupt or venal or cynical. It's simply because that's how you try to unseat an incumbent.

When was the last time in a Presidential debate that one guy said "yeah, my opponent is right, and I would do things the same way"?
Thanks especially for the "Not All Sunshine and Rainbows" section. It is all too easy to write about the positive things and leave the negative parts out.

Resource leaks in Haskell perhaps a bit trickier to track than in other languages and I would appreciate hearing more about the issue you were experiencing and how you solved the problem. In many blog posts there have been warnings against long running Haskell processes but you guys seem to have fairly successful with it.

Also, the problems you were experiencing with Cabal might be fixed in newer versions with the sandboxes feature which is now built-in with later versions of Cabal.
Exactly my thinking. Its rare to see American person did X or American company did Y. But it may be because I am on the inside looking out.
>"Of course, to suggest that opposing Tesla violates GOP principles is to assume that politicians are principled at all. More realistically, the politics of the Tesla bans reflect nothing so much as the truism that all politics are local."

-----

I think this is the crucial observation of this article and should be the key take home message. Of course the GOP will claim to champion principles such as innovation, free enterprise, individual choice, etc. but in practice they're ultimately going to pander to their local voter base and its special interest groups.
The “Lead” Engineer’s Dilemma
I think it's fine to cheerlead for Haskell, as we're all happy to increase the size of the community. What we don't want is for the community values to be diluted by that size increase, which is the sense in which "avoid success at all costs" seems to be meant. For example, I'm always happy to help someone understand monads, but I would be very unhappy if that involved renaming them to "workflows".
Apple To Update Emoticons Library On iOS With More Racially Diverse Emojis
I think this was mentioned on the ATP podcast, but I can't remember...

Facebook isnt trying to be Apple and buy companies that contribute to their core products. They want to be Disney (who owns ESPN, Pixar and many others).

They've bought these companies (Instagram, Parse, WhatsApp and now Oculus) to largely leave them alone as independant companies operating within Facebook.
You're right, I overlooked the reference to the function reading a single byte.
It indeeds looks a bit magical, like the infamous fibonacci example that uses lazy lists.

I don't think that list comprehensions are very idiomatic in Haskell, one would probably use Data.List.partition instead:

qsort [] = []
qsort (p:xs) = low ++ [p] ++ high
where (low, high) = partition (< p) xs
No no guys Instagram also released direct messaging.
Yeah, Sergey Brin and Larry Page are not idiots either, but the history is littered with great products that were killed off after they were bought by Google. It's entirely reasonable to be at least skeptical about this.
Zuckerberg was spotted in the Occuls VR offices a month ago.

http://www.reddit.com/r/oculus/comments/1wf6mg/so_no_way_to_...
This article needs to be updated.
How I Validated My Startup Idea Without Spending A Cent And You Can Too
2004: You can now play a game online, over the internet, with multiple players! (Yaaaaay progress!)
2014: You can now play a game offline, without the internet, by yourself! (Yaaaaay progress!)
Isn't this article stating what is an obvious conclusion from a ton of other links currently on the HN homepage?

[1] https://news.ycombinator.com/item?id=7469115

[2] https://news.ycombinator.com/item?id=7470097

[3] https://news.ycombinator.com/item?id=7469237
It's the Klingons.
I'd say the big issue with 3D films is that the '3D' is simply not good nor ubiquitous enough to justify buying and then wearing a geeky headset, or an expensive 3D TV. Not to mention the fact that there's a huge difference between full 3D in a rendered environment and semi-3D on a flat screen. And while I know very little about the previous VR boom, I suspect there were some significant issues that only recently have been solved (FPS, nausea, device size and price?).

In the same way that it took phone functionality as a trojan horse to mass tablet adoption, gaming might finally make 3D development gain critical mass with consumers.

To be fair, I haven't ever tried one so I can't comment on the experience itself. But from what I've heard, the developments in VR have scaled significant hurdles that make it something exciting and viable.

I think history has shown that sometimes seemingly-small developments in 'input' or 'output' can have a huge effect: fingers for touch screens (one of the biggest reasons for the iPhone's success, I think), a mouse and a GUI for computers (initially gathering dust in a research lab, if my history is correct), and arguably even something like retina displays.

Very often we underestimate the value of these developments, especially us geeks who are right on top of things and follow the small increments: "iPhone? I had a PDA x years ago (stylus though, but that's a minor detail)," or "tablet? it's just a bigger touch phone!"

(apologies for mostly using Apple as an example. I'm sure there are many others, but these just spring to mind.)
The one super-important stat Google Analytics makes crazy hard to find
Absolutely not. I'm actually very frustrated that they give that code as an example. First of all, it misses the most important of quicksort - the fact that it can be implemented in place (and yes, you can write an pure in-place quicksort using STArrays).

Second of all, it's bad because it runs through the list xs twice. Instead, they should use the partition function to get both the left-hand and right-hand sides at once.

And thirdly, it's inefficient by use of the (++) operator, which takes time proportional to the length of the left-hand list. A better (out-of-place) implementation of quicksort would use an accumulator so this wouldn't happen (and actually, this means that we should do the partitioning ourselves rather than using the partition function as mentioned above).

Here is an example that makes these improvements with quicksort [1].

[1] http://en.literateprograms.org/Quicksort_(Haskell)#Using_an_...
Ordered-on-disk data is the future(present) of performance (bigtable/hypertable/hbase)
Facebook Open Compute papa leaves Friends behind to set up optical storage firm
I'd say it's good in the sense that it is readable provided you are familiar with the syntax for list comprehensions and appendings, and obviously correct if you know quicksort.
Why did you switch to Firebase?
Amazon WorkSpaces is Now Available
At least in this case, he leads with the fact he has a financial interest in the field: ``At Index Ventures, we have been investing...''. Too many similar pieces either bury that important piece of information, or omit it entirely.
C++ isn't particularly OO.

Smalltalk is, since numbers, booleans, etc. are objects, classes are objects, methods (and functions in general, known as "blocks" in Smalltalk parlance) are objects.

Likewise, the only control flow mechanism is the method call. Branching (if/then/else) is a method of the boolean objects. Loops are done via the "times" method of numbers. It's turtles all the way down.
VPC Peering for the Amazon Virtual Private Cloud