skysight-inc/HackerNews huggingface dataset:
The repo you linked does have a "tests" directory. It contains "scenarios", so not really unit tests.

You can't really unit-test contracts at the moment.
I'm curious how much traffic he's sending (it doesn't sound bandwidth intensive):

> Mr. Howse spent weeks finding server space in regions where demand bubbled up. He is trying to save money by avoiding cloud services from the likes of Amazon Inc. or Alphabet Inc. “It’s incredibly expensive because of the amount of bandwidth this game uses,” he said.

[Edit with more quotes]

> Three months ago, Steven Howse struggled to pay rent. Now, the 32-year-old developer is trying to keep his hit videogame running smoothly as it pulls in more than $100,000 in revenue daily.

> “Slither.io” is profitable, Mr. Howse said. He pays about $15,000 monthly for online-hosting services, and shares revenue with Apple Inc. and Google.

So $3M/month in revenue on $15k/month in hosting ;). I'm sure much of the $100k/day is recent and likely a fad, but I guess I'm surprised that he's apparently spent weeks trying to get capacity while his revenue is skyrocketing "just" to keep his bandwidth bill down. (It seems like all the networking would be effectively player state back and forth, not assets).

Disclosure: I work at Google on Cloud.
China is primarily Confucian today, with more rigid social structures/order and a "parental" ruling class or oligarchy, so any different ideology, especially one that does not advocate for social/political structures (as not typically involved) is seen as a threat.
That's no Moon.
"As of the 2010 census the population of Dearborn was 98,153. The racial and ethnic composition was 89.1% Whites, 4.0% black or African-American, 0.2% Native American, 1.7% Asian, 0.2% Non-Hispanics of some other race, 4.0% reporting two or more races and 3.4% Hispanic or Latino.[14] 41.7% were of Arab ancestry (categorized as "White" in Census collection data)."

Sorry, 50k is not massive, let's talk about a couple of millions.
> Long term it should not decrease the supply of housing. Visitors are either going to stay in airbnbs, with friends, or at hotels.

This is a slices-of-pie argument, neglecting changes in the size of the pie. By being a better value than hotels, airbnbs make traveling more attractive, meaning there will be somewhat more visitors and that they will stay longer. I think this is on balance a good thing for NYC (tourism is an industry, after all) but it does put a little more stress on an already-tight housing market.
And, yet, here we are, discussing the clickbait -- me included.

(I mean, instead of something meatier.)
Internet is the greatest library that you will never read. Internet should be read-only.
This is in fact exactly the approach that my lab has been working on for the last several years in developing a media player for language-learning applications (which has actually also been used for teaching linguistics and introductory chemistry, so clearly the pedagogical benefits generalize beyond just language learning).

Being able to switch between text-centric and video-centric views freely has been a goal of my (now-former, because he just retired) boss for a while (and by "a while" I mean he did his dissertation on interactive, text-augmented video technology with applications to education in the 70s), and we're not quite there yet, but we do have the ability to show a transcript that can be synchronized with the playing video (automatically scrolling and with highlighted text to show where the video is), or scrolled freely and searched through to select a specific part of the video to skip to.

You can see an implementation of the technology (including playing around with some of our editing tools) at http://ayamel.byu.edu
I really wanted to know about the Data Access Object.
Note that a type system, if done properly, is simply another name for a logic for proving properties of programs.

Examples:

* Agda (http://wiki.portal.chalmers.se/agda/pmwiki.php)

* Coq (https://coq.inria.fr)

* Idris (http://www.idris-lang.org)
That is true, I didn't look for per capita but the absolute number.

Also, if you take per capita, California isn't the biggest economy in the US, it's Delaware or if it were a state: Washington, DC.
Learning through reading is one thing, but I've found that I never truly understand the concepts until I begin to write some code in a functional way.

We have some Scala in my work environment. I had taken the course, read the book, and spent a little time writing some code, though as deadlines got tight, I would revert back to Java.

It wasn't until I forced myself to write everything in Scala that some of the idiomatic patterns started to make sense. For example, an export job was timing out due to numerous synchronous calls to external services. I rewrote it using async Futures with flatmap and collect, and it was much faster.

Even though I had read about Futures and their functional use a dozen different times, I realized I truly didn't understand them 'till I could apply them to a concrete problem I had. Also, Twitter puts out a lot of really good Scala stuff: Twitter school, Effective Scala, Finagle and Finatra, etc.

TLDR; read the books while writing some code.
> Why should not be able to advertise/rent your apartment on Airbnb?

Why should you follow any laws ? after all, you can do as you please, no one forces you to follow the law. And no one's going to feel sorry for you when you get caught.
The new law is against advertising the apartment. So NYC can go after people just for putting the apartment online instead of having to rely on AirBnB taking it down.
" Cybertek is published for educational purposes only under The First Amendment of The United States Constitution. "

Now that's a license.
I don't live in NYC but like to visit. How come people like me should be disadvantaged over people like you?
I believe that, in general, working for the war machine in any capacity is actively harmful to the world.

Says a guy on the Internet.

https://en.wikipedia.org/wiki/ARPANET
This is what I dislike / don't understand about Palo Alto. Look around here (https://www.google.com/maps/@37.4173571,-122.1312807,3a,75y,...). This is 5 minutes by car to Stanford and to downtown Palo Alto. What do you see? Nothing! Empty sidewalks, empty lots, Jiffy Lubes, a lamp store. Nothing over a few stories high in sight. The entire place looks abandoned---yet this is in the center of one of Silicon Valley, where housing and space, we are told, are at a premium.

The culprit I suspect is the unwillingness of local governments to permit construction that would allow for affordable housing. Space is obviously not a problem.
...You're overgeneralizing my comment. The solution to this small scale problem is to share, and be open to trying new things.
> access multiple services at once with a single token

If you're talking about multiple microservices under your own control, then they could all work with your distributed session store just as easily (if not more so).

If you're talking about SSO across multiple third-party services, then perhaps JWT could be a nicer solution than SAML. However, here you're talking about a single-digit percentage of edge cases. Not enough to declare "JWT over sessions" as a general rule.
"Manhattan could be much denser."

One big problem with cramming more people into Manhattan is that putting up new buildings isn't sufficient. All those new residents will also need to get to work, further taxing a mass transit system whose aging infrastructure is already packed to capacity. Life would be much more pleasant for existing New Yorkers if the city upgraded its transit infrastructure before it allowed the building of massive numbers of new apartment buildings. There are also issues like having adequate electricity for all these new residents - on a hot summer day, NYC operates dangerously close to peak power capacity, and all those new residents are going to want to have air conditioning too.

"Manhattan currently has a population of 1.6 million. In 1910, it has 2.3 million. In 1950, it had 2 million."

In 1910, lots of people in NYC were living in tenements with multiple families packed into a couple of rooms. We really don't want to go back to those conditions.

The number of single-person households has increased significantly since the 1950s, so my guess is that many of those 400K extra residents in 1950 were kids living with their parents, who didn't require apartments of their own and didn't commute to work by subway.
One often sees this argument here. Speaking for myself, well sure, I don't want my property value to plummet so that I had to give it away if I ever wanted to move. But far more important is that I have the continued ability to use and enjoy my property on more or less the terms that existed when I purchased it. Yes, I understand that those terms evolve over time, especially in a city. But it's not just about the money.
Not sure why you're being downvoted. This is the problem.

Whenever you want any guarantees about anything you implement a very restricted[1] subset of what a TM can do... at least if you're allowing users to input arbirtrary programs[2]. If you don't restrict to a non-TC language... you're -- in so many words -- fucked. (Hence the "hack".)

[1] Preferably using a statically typed PL, for obvious reasons. There's actually a thing these days where non-TC languages can actually "do things". My favorite moniker for this is "pacman-complete" (coined by Edwin Brady, I believe.)

[2] Having looked at a few .sol files earlier, they at least look TC, having general recursion and all.
Yeah back when I made 3D models of star trek spaceships (trekkie in your name significant?) that was one of the go-to methods for making the shuttles, smaller craft, borg (obviously), but stuff like Voyager and the Enterprise-E you would often resort to more advanced lofting/spline patch based techniques and work off of a sketch.
The book that helped me the most in terms of pragmatic use of functional concepts in real world applications was Higher Order Perl. The examples have been translated into several other languages, if Perl gives you hives (I quite like Perl, but I know it is scary for some folks). It really does a great job of demonstrating from the lowest levels of a functional system (closures, recursion, first class functions, etc.) on up to actually doing things with those basic building blocks.

It is certainly not "pure", but if you're coming from a procedural/OO world mindset, it's a fantastic bridge. That said, it doesn't cover some of the newer features of some modern FP languages, and won't necessarily directly apply to writing in Haskell or ML.
Tinder but for food?
I was hungry and didn’t know what to eat.. So I decided to make an app that shows food plates from restaurants around your location.

It just got approved on Google Play for android users: https://goo.gl/5b6Rtu

If you want me to create it for ios users please let me know in the comments!
You Acer holes PC maker leaks payment cards in e-store hack
Because you don't live there?

That's not facetious. It's pretty much a basic principle of government that the residents of an area get to make decisions about policy in the area where they live (subject to some restrictions).
Because NYC has an obligation to improve the quality of life for its citizens.
Submitting this because it offers a message of hope for people with schizophrenia.

And it's about treatment in San Francisco.
I didn't. When I thought about it, my guess was West Virginia. But I was wrong, in absolute number as per capita.
Cringely: LinkedIn Got Lucky
Sorry, but we do have quotas. We're just not vocal about them.

edit: No, we actually don't, my mistake. But there seems to exists unofficial expulsions and regularization quotas to meet every year.
Don't see any issue with generally mentioning Arch together with Mint or Fedora or Debian or CentOS. Heck, they're all in the DistroWatch's TOP10, and they are all very alike (sure, some pieces are quite different - but, I'd say, the big image isn't much). Unless the choice is specifically locked down to "Mint or Fedora", of course.

But if every $distro user author meets, tends to inappropriately put "I use $distro[1]" in Linux-related conversation, then there's something not right not exactly with the $distro but with the company the author's in. Don't want to offend anyone, but that's feels a lot like neophyte-like behavior, when everything's so new and shiny, and every difference is overwhelming.

[1] Arch's by no means unique or outstanding here.
FUSE for Windows/Cygwin now available
'Star Trek' Is Right About Almost Everything
I find this post sort of like "I want Arch to turn into Ubuntu".

Arch is easier to use than Gentoo, LFS or Rawhide Fedora.

The Arch Wiki is pretty useful even for non-Arch users. Try to install Linux on some new or exotic hardware, Arch is very likely to be first at search results.

And it is elite, since it is more likely to be used by linux or OS developers (some way as fedora etc)..

Anyway, I think better way to learn Unix is FreeBSD (better documentation). And my main system is Ubuntu :-)
Especially given that post-tax you would be making only a little bit more as an entry level software engineer.
I actually use HN frequently as a tool to concentrate better during work. I often juggle quite different tasks that I have to solve at work. To flush my mind and go from one finished thing to some completely unrelated next task, I jump to HN, read some things, then jump back to what I'm supposed to do. The important part is to have things actionable and with a definition of when they are 'done', so that you can close them and do the next task.
Sure, they can make the policy, but the policy itself still doesn't make sense.
I guess I was surprised at the explicitness of it? Or maybe the completeness?
I totally understand, dealing with fake friendliness can be unnerving. Just remember, not all of those smiles/friendliness is fake, some of it definitely is, but some of it is genuine, just not at the same intensity as they'd show for close friends/family.

> If they don't feel that great that day, they don't need to smile and put on a show, as long as they don't give me shit.

I'd be fine with this personally.

> And also we like our privacy. When people follow you around the store and keep asking if you need help, or comment on something you are looking at, it just feels invasive and disrespectful.

If the person seems genuinely friendly, try taking them up on that offer, and see what happens. If you tell them what you're looking for they may give you recommendations, and you might end up finding something better.
But it won't let you get money back out of a smart contract so good luck with that.

You can probably sue the creators for their claims but it won't change the situation and it just means the next DAO will be launched anonymously.
I kinda want a arch-to-gentoo browser extension.
The user does have a session. Tokens are temporary, short-lived authorizations.

Sessions require a central session store; every request has to go to the central session store to check the session's validity. Incurring one session check per API call is bad enough, but when each API call then invokes half a dozen other APIs, you have a problem. Central session stores don't scale with distributed architectures.

I've not heard the term "direct-to-database" before, but we've been doing it for about 6 years, albeit not using Firebase, and it's huge win over the classic "custom, ad-hoc API per use case" methodology. Exposing a shared data layer abstraction between microservices is no different than exposing a more targeted API (i.e. there's conceptually zero difference between "POST /objects/42" and "POST /users/42"), including as far as security is concerned.
I am sorry but I have to disagree. As a greek myself, I never saw the referendum as a question on whether to stay or not in the Euro.
This was never the official question, not even the implied question. And I am pretty sure I am not the only one thinking this way. Most people I know are of the same opinion and probably would have voted differently were this the case.
Theory in the Time of Big Data
I posted this as a response to another comment, but it probably bears repeating. If the person seems genuinely friendly, try taking them up on that offer, and see what happens. If you tell them what you're looking for they may give you recommendations, and you might end up finding something better. This is what typically happens to me.
If by viral you mean stealth promoted on youtube followed by blatant AD's staring those youtubers, then yes this is viral.

The only accomplishment here is that someone figured out how to make serious cash from multiplayer snake.
The Soul of a New Machine was about the 32-bit Data General Eclipse (1980), follow-on to the 16-bit Eclipse (1974), follow-on to the 16-bit Nova (1969), which provided the instruction set for the Alto. So not the same machine, but related.

(I find the Nova instruction set strangely similar to the ARM in many ways, but maybe I've just spent too much time looking at the ARM1.)
> The Arch wiki is pretty useful even for non-Arch users. Try to install Linux on some new or exotic hardware, Arch is very likely to be first on search result.

Yup, especially on new laptops. When I first got my XPS 13 the arch wiki had a bunch of useful information on what I needed to do to get the hardware to work correctly before the next Fedora release supported it. Built a patched kernel package and off to the races I went.
>> I do actually believe the fact that this violent nutjob who had been interviewed by the FBI three times was able to get a gun is so obviously messed up that it’s foolish to suggest otherwise.

Interviewed because he went to the same church (-equivalent) as some criminal. Is it a crime to be investigated by the FBI now, sufficient to treat you as a felon? Do you think that precedent will only impact "unhinged Muslim guys"?
>the overwhelming amount of work you're most likely to do doesn't involve killing people even indirectly

Precisely no part of my current job involves killing people. I think I'll stick with my job.
Even most landscapes on Earth (reality is "procedurally generated" by the laws of physics) are pretty boring. Spectacular documentaries must travel far to reach the interesting ones.

Interesting procedural generation may require strong AI, because it must model how it is interpreted by us.
Will Scotland meet the criteria for joining the eu by itself?
That's completely arbitrary, all you're saying is hotels are offering things customers don't need, or legislation is causing them to bring up rates. Either way it sounds like there's a problem with the system, yet you think the blame lies solely with those who try and find an alternative.
I liked the comparison with walking the solid board over high ground. This is something I actually use quite literally to fight my (light) vertigo. The other trick (maybe more important in that situation) is to avoid switching back and forth between looking at what's close and what's far away, because that's the part that irritates my sense of balance and then creates the vertigo effect. Not mixing up close and far away makes actually even more sense than the 'first step' metaphor in what the article is trying to say.
Some of the designs remind me of the Earthforce ships from Babylon 5, a few of the carriers in the Wing Commander games, or some of them in Sins of a Solar Empire.
Eurozone != Europe.

It's not going anywhere geography-wise.
If this works as "advertised" then this is amazing. I'd love to see a game implement this.
The Fintech Bubble
So CloudKit stays while iCloud core data is no longer usable?
PHP is not worse than Ruby, definitely.

Composer is not a new wave but piece of shit which brings old shit-code style with rules "don't touch it while it works" and "legacy code is a good reason for bad architecture".

And Golang sucks too.
I think they could do it, each country will just need to have its own "SV" and the appropriate expectations. They will be smaller, but there could be ways to connect them.
The Pivot Pyramid: How to experiment with your startup
See: https://fred.stlouisfed.org/series/FPCPITOTLZGUSA
Affordable housing is tough in a market where only 1M apartments are market rate -- and don't misread me as saying that the other 1M shouldn't be stabilized, I'm just pointing out the elastic part of the housing market -- in one of the most dynamic cities financially and culturally in the world. NYC is half the geographical size of London, has 500K more residents within it in 2010 than 2000, and has a strong economy right now. Stronger than places like the rust belt. It has finance, media and tech, it has international allure.

I'm not actually advocating for or against affordable housing, but I do want to say that it is incredibly not surprising that with such a small supply of land and housing, that things aren't affordable when so many people want to be here.

There are lots of hot cities in the world where things aren't affordable. And when people say NYC isn't affordable, it's misleading: what's not affordable are the desirable neighborhoods. Across the river in places like Jersey City, within NYC south Bronx, Staten Island, many parts of Queens, while increasing in demand are also relatively affordable. If people to live in an area that becomes very hot and popular (eg. Williamsburg), you only manage to live there if you're lucky, bought before things got expensive, or relatively affluent.
"Don't blame the langue, blame the programmer."

Would you mind repeating this the next time HN front page contains more stories and comments (hype?) about how C language is the cause for poor software quality?
Just a quick chime in here - our system does in fact do that, and though I can't speak with authority about others, my understanding is that they do the same.
> In particular, the attitude of some Arch users annoys me as they think all other distributions are inferior.

Well, they are... if you want rolling releases that are very up-to-date.

(That not to say there aren't valid reasons not to want a RR distro.)

> But IMHO NixOS/GuixSD are the future as they tackle a big set of issues most distros ignore. Namely making sysadmin transactional and reproducible. Perhaps they're not ready for prime time yet, though.

Agreed, but it really depends on whether NixOS/GuixSD can get enough packagers (people) to get close enough to Arch Linux in terms of "recentness"... so that people would actually start to adopt these distros.

Ideally, I'd want one of this type of distro, but in practice Arch Linux is just ridiculously more current for everything I care about. (I know that I should probably volunteer as a packager, but I just don't have the time or motiviation to do the "make-work" that most of packager life is.)
Mobile Strike anyone?
Sorry but you aren't making much sense to me.

Our ideas of right and wrong are largely arbitrary so we aren't actually very good people compared to our ancestors.

This does not follow. The definition of "good people" hinges on a moral system, arbitrary as it may be.
LTB Live: TheDAO, TheFork, TheFallout
I agree with the sentiment that the people using Airbnb are not going to care like owners, but they're also going to be liable for damage caused just like in any other rental. Policing that, though, is surely a nightmare. Also how are extra parking spaces being used, I would assume if you rent out your rental, you're not going to leave your automobile there? I mean you might have multiple cars, but then that in itself is already causing congestion.