skysight-inc/HackerNews huggingface dataset:
Imagine a collection of a objects(lets call it A) and another collection of b objects(called B). A function is a set of arrows matching each object in A to an object in B. Each object in A only has one arrow originating from it.

For each object in A, you have b ways to draw an arrow to an object in B. As there are a number of objects in A, the total number of arrows you can draw is bbb*b... a times. Hence the number of functions from A -> B is b^a.
Funny, but good point.

To counter that I'd say you should have a test case to cover the leap year handling is working as expected. If you aren't testing that since it wasn't in the spec, than why would you have the code at all?
Telegram Bot Starter Kit
On the plus side, at least with that hardware you can probably run the game at a playable framerate. Of course, "playable" isn't really acceptable on hardware like that, but it sounds like at the moment, anything less than dual high end graphics cards gives unplayable performance
Why autism spectrum disorders are under-diagnosed in women and girls
I don't have the game to confirm, but a lot of folks are reporting that the actual game files are ~20Gb less than the recommended space requirements.

It makes one wonder if the game is actually missing a huge chunk of files.
The standard for HD television in the US, ATSC A/53, provides for:

"The maximum bitrate of the MPEG-2 video stream is exactly 19.4 Mbit/s for broadcast television, and exactly 38.8 Mbit/s for the "high-data-rate" mode (e.g., cable television). (The practical limit is somewhat lower, since the MPEG-2 video stream must fit inside a transport stream, with overhead, sent out at 19.3927... Mbit/s for broadcast.)"

38.8 megabits per second is 291 megabytes per minute, or 17.5 gigabytes per hour. You're more likely to be watching something that's compressed an order of magnitude more, because businesses think they can cheap out on it without consequences. Here's Youtube's bitrates: http://www.sciencemedianetwork.org/Blog/20130624_YouTube_bit... .

Transferring analog content lossfully at similar resolution is another issue - if the VHS tape has about 240p equivalent resolution, and you transfer it with perfect fidelity to an uncompressed 240p digital stream, you're losing a lot of information, because those dots don't line up perfectly with those pixels, instead smearing out over multiple pixels. Instead of thinking 'equivalent resolution', think Nyquist frequency.
If only I could upvote this more than once. I'd upvote this to 100! That was my first take on the article. Why the hell would anyone write promises like that?!
"The fool doth think he is wise, but the wise man knows himself to be a fool."
somewhat even more off topic, but:

Thanks to William Shatner for lots of things; least of all demonstrating how to deliver a line of dialogue without it sounding like you're reading off the back of a cereal packet and left your glasses at home.

His cover of Common People (Pulp) is an immense example of this. https://www.youtube.com/watch?v=ainyK6fXku0

Yes Doctor Who, I'm staring you out whilst shaking a fist at you....
Because Emacs is a system of its own, the Lisp Machine legacy leaked too much. Inside of emacs many things are tiny components, after all it's a lisp, which had a stronger unixy feel than so many things since. I mean lambda, compose, map... hard to separate concerns more than that.
So one thing GitLab and others don't offer that Google can is tight integration with Deployment. Yeah we have all used the CI servers to do a form of Continous Delivery, but can google and amazon surpass those offerings by giving a tighter integration that a third part can't offer.
Netflix in Australia has the problem that they're also competing with Presto and Stan, who are owned by the major free-to-air TV networks, and who also have exclusive deals for a lot of American shows/movies and thus Netflix couldn't have a lot of stuff available in Australia.
You can always argue that you honestly felt that your version was less gender-biased & that you disagreed with Textio on that particular example.
I hate calling for cabs, waiting in a queue, answering all sorts of irrelevant questions beyond where I want to be picked up, only to have the cab show up at the wrong place anyway. So Uber is definitely scratching an itch. An itch that the traditional taxi companies can just as easily scratch with an app of their own.

So they'd better clear the road and start hacking, because this strike won't save them in the long run.
Why would you even tip a taxi driver who needs to be persuaded to take you and needs your (Google maps) directions?
I agree some of english dubbing in anime is very poor. I normally watch subbed versions of anime. Though, I like the orignal English dubbing and music (Funimation version) of DragonBall Z more than the Japanese version :)
How does the PDF OCR process compare to images? I uploaded a sample PDF with very clear sans-serif text (printed to PDF from a webpage) and there seems to be some odd substitutions. "prohibitecL" instead of "prohibited", "ac" instead of "QC" (as part of an address), random clipping of the first letter in a few lines and random use of a capital i instead of 1.

Overall very good, I'm just wondering if the library is better with image files than PDFs?
Like how you aren't allowed to rent your house like hotels (AirBnB) or to use your personal car as a cab (Uber)?
"Had the raindrop slammed into a bigger, slightly heavier animal, like a dragonfly, the raindrop would “feel” the collision and lose momentum. The raindrop might even break apart because of the impact, and force would transfer from the raindrop to the insect’s exoskeleton, rattling the animal to death."

Has anyone actually done any research on dragonflies being hit by raindrops, or is this just speculation?
Yup. The rest of the car is lovely. The navigation unit is fairly good - but the interactive stuff is just dire.
[Giveaway] Mac app to help you stay focused and reduce clutter
I've got an update for HazeOver coming up, so I'd like to give away some spare download codes for you to enjoy:

7KPN667KAWXY
NPLNXLLRRH6Y
443MR343FYNR
JMPYNX4P3R9A
EHPTEM4W9L4M
T4TK7F67WKTF
7P67F9FXRFPN
M3N3A7JPNPRW
RYLFR9J6FRPK
MEERF7LHH74J
T43LHTPL4349
JEM4H6YPJXNW

Please write back about your experience =)

Oh, and here's a demo video: https://hazeover.com/
and Mac App Store link: https://hazeover.com/get/appstore
>“Now it’s all about who has the fanciest typesettings and who has the wackiest karaoke lyrics for the opening songs,” Nadelman pointed out. “They just want to have bragging rights to say this is their version of it, even though the same show will be available on Crunchyroll, or Funimation, or a number of other streaming sites.”

It is true that many fansubbing groups now (much like in the old days) compete on who has the flashiest karaoke and typesetting, but I'd say it's unwise to completely fob off fansubbing in 2015.

The article goes into more detail on this, but video quality and encoding is generally still better on fansubs than on streaming sites, largely because anime fansubs tend to be on the cutting edge of video encoding. MKV has been the container of choice for years, 10-bit colour has been around for a few years now, h264 encoding even longer. You could argue whether this justifies the illegal fansub, but there are people who will give this as a justification.

There are still arguments over translation. Crunchyroll and Funimation have their "good" and not-so-"good" translators. The question is - do you keep it literal (perhaps keeping some Japanese idioms and ideas intact, causing confusion for some in your Western audience and possibly breaking immersion somewhat) or go more liberal (translate some concepts into Western concepts, such that it may not literally match the original script word for word, but the idea will be the same). I tend to go for the liberal side because I want to be entertained, not frustrated by concepts I know nothing of, but as you could imagine the arguments are fraught. Comedy is an especially difficult genre to translate successfully.

Also, America is still provided for better than other English-speaking territories in this regard. What's most annoying to me is when a company like Funimation picks up English-speaking streaming rights for a show, then restricts that to US/Canada. UK/Ireland/Australia often gets left out in the cold with legal streaming like this.

I'm kind of happy that fansubs are still around to keep the legal sites on their toes.
From your link:

> In any case, you read with exasperation or amusement the multiple errors in a story, and then turn the page to national or international affairs, and read as if the rest of the newspaper was somehow more accurate about Palestine than the baloney you just read. You turn the page, and forget what you know.

Which is of course intriguing, since cat-v.org hosts frothing-at-the-mouth vitriol about topics like women in tech and gay marriage in the always trustworthy and well reasoned medium of reposted reddit and slashdot comments. And presumably I'm supposed to click over to the technical stuff with a straight face.
There is really something special about France (and I would reckon some other former superpowers of the past). Because we used to be great and we're not anymore, slowly drifting into world oblivion, there is a quite toxic tendency to cling to that past in the form of excessive conservatism. In that mindset, any change is perceived as an additional step away from that past greatness which is an integral and important part of the "collective consciousness". As such, anything that changes the status quo frightens that part of us thinking that we're still a dominant world power. That is why we still push the French language hard (dubbing movies, forcing a 50% ratio of French music on the radio, having a national academy to enforce the purity of our language), why we've been beefing with the English and the American on many topics. That issue is systemic and is extremely detrimental in our collective progress to a better future.

This is the precise root of what has been described as the inherent French melancholia.
And this is why Uber is a problem here, even though most French people would recognize it's a great service that actually brings something much needed to the table.
mm a whole 2 weeks notice in the USA and actually non competes are hard to enforce even where they are legal.
Comparison of Bitcoin Peer-To-Peer Lending Platforms
Memebox (YC W14) is hiring a founding iOS engineer
Are you talking about this library from Microsoft: https://www.nuget.org/packages/Microsoft.Windows.Ocr/ ?
It appears you've changed the API though? Just chain the promises instead of nesting them https://gist.github.com/joshhunt/e3761594d10bb7025bcb
I think the key here is this statement from the article:
A deeper cause is the dual purpose of universities—to create new knowledge while transmitting what is already known. New fields of inquiry arise (pursued in new departments by new faculty), while old fields are rarely relinquished—at least not at the same pace. Thus costs almost always grow faster than savings.

Community colleges are going to have a narrower scope of subjects that they teach, and those subjects probably aren't going to expand very much (thinking of CC either being pre-university courses which are going to be rather standardized or courses to get an Associate's degree, which are a much smaller subset of degree types than you can get with a Bachelor's.) Add into that the fact that CC's don't have to maintain dorms or cafeterias or common spaces and that they probably have much less real estate and square footage to maintain. And yes, part time students might account for some of that monetary gap, but to me it seems more likely that CC's are much more focused on student needs, in a "OK you're here for 2 years here's exactly what you can take and exactly what we offer and that's it" kind of way, whereas universities are more "Here's your dorm and here's your meal plan and here's your gym pass and here's your 100+ different choices of major and minor and here's the bus schedule to get to East campus and West campus and here's where the four cafeterias are and the six food courts and oh by the way your adviser is in a building 2 miles away and only has office hours every other Tuesday which is when you're taking your underwater basket weaving elective."
Is there any wonder that it wasn't widely used then?
Really awesome! For those interested in further reading/watching, Ryan Seddon (https://twitter.com/ryanseddon) of Zendesk just gave an amazing talk called "Performance Beyond the Pageload" at CSSConf 2015: https://www.youtube.com/watch?v=WAj1yjL7btA. Towards the end he diagnoses (and fixes) issues in the page for Paul Ford's "What Is Code?" essay.
> It's awesome that it's a post by someone who just attended the recourse center and they're a new programmer and already struggling with these interesting issues and trying to solve them

FYI, not everyone who attends the Recurse Center is a new programmer. In this particular case, Michelle (the author) has a decade and a half of experience developing in Javascript and writing Javascript frameworks (ie, writing the frameworks themselves).
Keyboardio
"Man surprised when alligator, bought to serve as lap-dog, bites off hand"

The real debate is not sharing economy vs entrenched service providers or contractor vs employee it's why companies (and the investors who give them money) think they can have their cake and eat it too with regards to employee loyalty and employee status.

You can only buy customer and employee hearts for so long with quirky parties and hip ads. Eventually you have to treat people right.
Daan Roosegaarde: Turning Creativity into Innovation [Interview]
h.265 is a generic example of the state of the art in video compression. The distinction between 1080x1998 vs 1080x1920 is negligible. The point stands without the minutia.

When you double the resolution, the amount of data you're representing goes up by a factor of four. Businesses who double the resolution of their streams have not raised their data rates by a factor of four or even a factor of two, and the progress in encoding, while significant, has not been remotely sufficient. We're compressing more heavily than ever before because for some reason marketting can sell resolution at the edge of theoretical human perception, but not a fat data pipe well within human perceptual range.
Boilerplate for turning a mobile website into an Android app
The method should still do the same thing, regardless if it is private or public. If you purposefully create a new method and get rid of the old one, regardless if this is done by creating and deleting or by modifying, then the unit test should be changed as well.

In short, you are testing the interface of that private method, not the implementation.
Depends on your definition of Europe. Romania fully switched in 2005.
Wow, my bad! I had no idea they switched back to an x86 architecture after the 360.
I've listened to this Planet Money podcast - http://www.npr.org/sections/money/2015/05/06/404701816/episo... - a couple of days ago about luddites. In it they describe the luddites as highly skilled workers - it is easy to forget that those spinning frames weren't actually easy to operate - and they were well paid and even gave themselves the privilege of not working on mondays. Sounds a lot like these tech workers today.
I'm a little unclear on this stuff:

connection.call('collection', 'users');

Is `connection` a function? As in, you're essentially using Function#call and passing the string 'collection' as `thisArg`?

Or is `call` a custom method of whatever `connection` is an instance of?

I was under the impression from the article that `DatabaseClient` was just sort of an example, not a specific implementation of anything.

It seems like you're making some unusual assumptions about its API – unless I'm totally missing something.
It's weird that racism seems to be a common theme\complaint about taxi drivers in many countries. The stereotype of the racist cab driver - usually a loud guy oversharing some opinions about black\indian\romanian immigrants - is pretty ingrained in the UK psyche, and many people I know have had to endure awkward and cringeworthy conversations in black cabs.
what do you do when you want to press enter with your left hand and your right hand is on the mouse? normally i would would just move left hand, but with that i would be forced to use right or have weird hand angle
Why?

It took billions of years for Mars to be Mars. Once terraformed it's lost forever.
Being featured on Product Hunt without having a product
What's the difference between using your reader and simply having Javascript/Flash/etc deactivated? (beside not leaking the whole browsing history to your website & increased lantency)
Auto Profits Trades Review BINARY Need to Know THE TRUTH
That sounds like a good deal !
I also agree.

> "And yet (you probably haven’t looked, but trust me), when it’s raining those little pains in the neck are happily darting about in the air, getting banged—and they don’t seem to care."

I have looked and I don't trust you. I live in Brazil where mosquitoes are present all the time, even in the city (obviously, on a smaller scale than places closer to nature). I do notice that whenever is raining there is a sharp drop in mosquitoes number flying inside our homes. They don't completely disappear, but is notorious they are in much smaller numbers.
As this is common knowledge over years and years, across basically all the people, I don't consider it anecdote, but empirical observation.

I cannot answer if that is because raindrops kill them, or they just preserve themselves sheltered in their nests, or they breed less in rainy days, or whatever. But the article (not sure about the research) is based on a false premisse.
While I agree with the law, I take exception to my own possessions being hijacked for law enforcement. Apparently there's no need for a warrant to sneak in robotic cops in people's homes and offices.
"hokuto de cuisine ..." ;)
At home I use a router with OpenWRT which loads the hosts-file from mvps.org. No ads in webpages, no ads in apps.

Shameless plug for The Netherlands : https://wijvrij.nl ( a preconfigured adblocking router )
Introducing Battlescripts: Bots, Ships, Mayhem
I worked in a similar vein with Horseman:

http://horsemanjs.org/

The library runs PhantomJS. While there are many libraries that do this, I wanted a synchronous, chainable API. So I could do

var links = horseman.count('a');
if (count > 3) {
horseman.open('http://www.google.com')
} else {
horseman.open('http://www.yahoo.com')
}

Under the hood, using the library literally blocks. Which is a very, very un-javascript/Node thing to do, and introduces other weirdness, I know.
Seems like a key piece of this is to give HR less power.
I wouldn't know anything about Uber if it weren't for all these protests.
Uncovering Vijay Anand aka the Startup Guy in India
Maybe that part would've been easier with Bool and Unit. It's obvious that there is only one function from Bool to Unit, and two functions from Unit to Bool.
The Marketing of the Pledge of Allegiance (2014)
http://www.cbsnews.com/news/copenhagen-cafe-attack-free-spee...

https://en.wikipedia.org/wiki/Anders_Behring_Breivik

https://en.wikipedia.org/wiki/Charlie_Hebdo_shooting
Leftover data volume in that massive amount? That could never happen to me :)
Are the "major broadcast networks" even the big dogs to compare yourself to now? It seems like the top-rated programs now are all on cable. Walking Dead, Game of Thrones, etc.
To steal an idea from Bungie, when it comes to games you want "thirty seconds of fun" -- a base gameplay loop (in the case of Halo, where it originally applied, it's the loop of taking out baddies from a distance, then the stronger baddies from mid-range, then mopping up the scattered weak baddies). An early demo (like the aforementioned Rust Legacy) is a proof-of-concept of that base gameplay loop, and if players like it, they can fund it.

Once it's funded, they can build out from that base loop, and eventually you'll get a finished product.
So, Griggi is a new wifi sharing service which counts usage in Karma GB's, while Karma is another, unrelated wifi sharing service? https://yourkarma.com/ That seems confusing, name wise.
Do pre-orders (non-Steam) go to the developer? My understanding is that they stay with the retailer, who will use that to order stock. For Steam, they have to keep some cash on-hand somehow to handle refunds.
Yes, I will add more examples as soon as I can. It is in an early stage, but I plan to update the article with more examples.
Basically a little bit of everything, it's just feature bloating.
I take it these would additionally be machine washable?
> Adobe’s stock price has increased from about $30 to over $80 since Check In began.

I don't want to be overly negative but COME ON. Changing their goals program didn't nearly triple their stock price. I'm surprised Fortune included that at the end. If it truly had that much of an impact that should be the title of the article.
I have to admit, I'm surprised they have no plans to migrate Firefox over to Servo. It seems like a waste, considering that desktops and laptops could both benefit from the increase in parallelism.
Technical question - I've seen reports that, "...people who have installed the game to SSD's are apparently getting better performance" [1].

Which implies, to me (both intuitively and having worked on a lot of high performance I/O limited use cases) that part of the issue is read/write speed from the disk? But if that's the case, what kind of software architecture makes sense for a game to have (apparently) real time data processing pulling resources from the disk?

Obviously you need to load maps/games/cutscene etc etc, but this makes it sound like there is constant polling every n-th frame?

[1] - http://www.pcgamer.com/batman-arkham-knights-launch-appears-...
How to Trust an IT Outsourcer?
My opinion on this has changed over the years. I now tend to look at any translation which needs to include translation notes on-screen as having failed, usually because they explain something that isn't absolutely necessary to know, which isn't a good enough reason in my book to distract from the dialogue.

If you can't explain what you need to in the translation itself, just don't. Or include a TLNote.txt if you really must.
Note the part about text streams in fauigerzigerk's comment. If all functions were limited to accepting a text stream and returning a text stream, the overall program would quickly become a ball of mud.
One of my fave obj-c features (which comes from smalltalk, I am told), and I'm surprised more languages don't do it. Aids code readability immensely, and basically eliminates an entire class of bug (of accidentally transposing two params of the same type).

Most people tend to react to it really negatively at first encounter though.
InVision and Dribbble team up to make design feedback more social
No, those are laws that you are subject to involuntarily.

I am talking about a contract that you agree to when you purchase service.
True. As a consumer, I'd have to subscribe to three+ different providers, all charging a monthly cost, to get at everything now. Or more specifically, just the things I want to watch.

The 'old' Foxtel model was similar; you want to watch a few things? Well, you'll have to buy all the channels for $100+ per month just to see the bits you want.

It doesn't seem like a sensible situation for the people that want to sell content. Seems very sensible for the people that want to control the content though, in terms of making out like gangbusters.
Europe 2015
The French will riot over anything.