skysight-inc/HackerNews huggingface dataset:
To me the point isn't so much separation of concerns as it is separation of side-effects.

printf has a well design side effect (printing to stdout). Coolclass.new has an expectation of an instantiation of object in memory. If Coolclass.new also called an external service, then that would be a violation in my opinion. Thankfully, we generally don't do that.

User.create is not only capable of tons of side effects (just like Coolclass.new) but it is encouraged to do so (via callbacks and such).
Which is why you very clearly specify the interface whenever .toObject is called (which fields are exposed). By default, everything is included, but you have complete granular control. It's what allows us to do things like have full GraphQL support. :)

http://graphql.nodaljs.com/
Wow! I don't think my ADSL land line would be much better than that. The A is for asymetric, downloading is not too bad. I'm surprised it's not specially expensive. Thank you for the info!
For anyone else searching, the actual file is https://github.com/LukyVj/family.scss/blob/master/source/src...
The website is somehow able to hang and crash my Chrome browser on Android. Just thought I'll let you know.
I'm confused by all the acronyms, and I know CERN pretty well… what is M.G.? What is P.M.?…
A qualitative meta-synthesis of young peoples' experiences of ‘sexting’
>Who uses it for actual communication these days anyway?

People outside of tech bubbles.
Not at all in my areas of expertise or hobbies, but this is really cool. Gives me the feeling that I really live in the future.
My Ukrainian friend claimed it's the case with the new police force. They are extremely careful about turning those cams on before approaching anyone, even when they're helping an old lady through the street. I can't read the language to get primary sources myself, googling for English texts gave me only stories on how the judiciary system (not replaced) there is practically at war with the police (effectively rebuilt from ground after the last revolution).

Sadly, I can't see any western country doing it yet. Damn, in my home country there was a case of assault against police officer. A video got public showing the officer walking up to the guy, throwing him on the ground and proceeding to kick him. I believe the judge still took the cop's word.
What about play money like Eve or WoWarCraft, if I cheat within the game, exploiting an econ flaw or glitch? People buy and sell the play money.
Does anyone have more videos where I can watch machines learn?
https://blogs.oracle.com/projectfortress/entry/fortress_wrap...
I agree, this does appear somewhat overhyped. And those powerslides are far from impressive-looking. If it was revolutionary, I think they'd have pitted this against a skilled human opponent.

But, AFAICT, the best autonomous racecars (scale or full size) are still far from beating a human.

Audi did this big thing a few months back with an autonomous RS7 versus a pro racing driver in same weight/spec RS7 [1]. The human absolutely killed the autonomous car, beat it by over nine seconds on a sub-two-minute lap at Sonoma.

If you translate that into Top Gear race track times set by the Stig, it's like the difference between a Bugatti Veyron and the fastest Mercedes E-class.

[1] http://www.roadandtrack.com/car-culture/a27200/819-roa-2015-...
It might not be compact but the gzipped size is the same.

$ cat <<EOF | gzip | wc -c
ul li:nth-child(1) {
background: red
}

ul li:nth-child(2) {
background: red
}

ul li:nth-child(3) {
background: red
}
EOF

71 # bytes

$ cat <<EOF | gzip | wc -c
ul li:nth-child(1),
ul li:nth-child(2),
ul li:nth-child(3) {
background: red
}
EOF

71 # bytes
You can always use a polyfill like this one: https://github.com/jonathantneal/fitie
> his stated reasons reveal a lot more about him than about Rails.

They reveal that he has tried to build sotware that didn't fit the Rails approach. They reveal that he has been frustrated trying to build tools that allow him to stray from the standard Rails approach without abandoning Rails completely. They reveal he's tired of the lack of success on that front and is going to just move on.
> They instead grabbed everything they could get their hands on in the off chance it was something they were looking for.

I'm generally in favor of what Snowden did, but I agree that he should have been a lot more selective in what material he handed off to the press. In dumping everything he could get his hands on without exercising any discretion, he definitely neglected one of his basic responsibilities as a whistleblower.

The situation calls for a nuanced approach, but it seems neither side has the capacity for it, with one side hailing him as an infallible beacon of justice and the other as a traitor that must be punished and made an example of, due process be damned. I'm sure at this point Snowden himself would be happy to return to his homeland if he could just be granted a fair and open trial in the court of law, but that seems rather unlikely in our current political environment.
I think it's that you can't reply to posts that are too new.
I usually find "I am stop using XXX" type articles to be a bit negative. That said, I stopped using Rails years ago myself, so the linked article resonates with me. My goto web frameworks are Ruby+Sintra and Clojure+ring+compojure. Sometimes I also use meteor.js but it is more like Rails in that it is a complete package of everything you are likely to need, pre-configured.
The most used frameworks are always the most complained about.

It's an easy mistake to think that means they're the worst.
Because the dimension are wrong. Right now you can get it right only with javascript.
Like No One Ever Was: The Hacker Subculture of Pokemon Speedrunning
I checked the pics on Google Images, they're virtually taken recently with nothing dating back to the Ottoman period to validate this claim. All look like black Arabian abayas and burkas and it's difficult to imagine that çarşafs and abayas are identical like that.

Fun fact, "çarşaf" or more accurately "şarşaf" in Egyptian Arabic means table clothes or bed clothes. It's amazing words and consequently languages evolve and take on meanings over time.
It's delicate PR, but preventing people from scamming shipping is defensible.
I think you missed the point. DAO and the funds they hold are not owned by anyone unlike Bitcoins who have a clear owner. I guess in some cases DAO can have a set amount of owners but this is not necessary.
And this is our solution: https://wormhole.network

It uses the well known open source software SoftEther. I did a Docker image with Wormhole integrated: https://github.com/pjperez/docker-wormhole
GE Signals End to Decades of Globalization
Ask HN: Fed up with Ruby/Rails; what language should I learn?
I'm a programmer in need of a new programming language. I've been doing full-stack Rails web dev for about 3 years and find myself increasingly bumping up against the limitations of Ruby/Rails. I won't catalog all the issues since other people have done it far better than I can, but it comes down to the same hackneyed but true complaints around Rails: trends towards poor maintainability for large projects and bad performance.

So I'm looking for something new. I've done Java development on-and-off professionally for about 4 years. While I love the static typing and simplicity of Java, it's too verbose. I always end up writing a lot of boilerplate code, and I absolutely hate Java projects' XML-centric configuration.

All this lead me to start playing around with Elixir in the last month since that seems to be the new hotness, but so far it's really chafing for me. Simple things like loops and encapsulation seem incredibly complicated. Something as simple as setting a value in a two-dimensional array becomes:

new_row = array
|> Enum.at(row)
|> List.delete_at(column)
|> List.insert_at(column, new_value)

new_array = array
|> List.delete_at(row)
|> List.insert_at(row, new_row)

I'm finding myself passing tons of variables into short methods because there aren't any objects to hold ivars. No doubt some of these difficulties are due to the fact that I don't have much FP experience, so I'm wondering if I should persevere or try something else.

On the other hand I've heard some really good things about Scala — that it offers Java's benefits around type while being more concise and readable. I've also heard that Scala has some great capabilities around FP and concurrency.

TL;DR Should I learn Scala, Elixir or some other language I haven't considered?
Those sorts of games are heavily vetted. Eve alone hires several economists in addition to extremely rigorous software testing to ensure that the economy isn't subject to any abject arbitrage from players.

It does happen, and I would think (not a lawyer) that in most jurisdictions that it would not be illegal. That case where the guy found a pattern in a video slot machine comes to mind. You are legally entitled to play the game in an authorized manner. Penetrating the server and giving yourself the money wouldn't be the same as playing the game and earning it.

Also in Eve, the money doesn't correspond to money, it's time. You can buy time playing the game with the money. Maybe there are places to exchange one for another, but that's not really the point and would be out of scope for the developers, imo.
TFA "may increase the chance of confusion" between Zendesk and other assholes like Kik.
This is very similar data to what's available on our site, AppBrain.
If you're interested in more like this, the top ad networks and developer tools are updated daily at http://www.appbrain.com/stats/libraries and each individual app also shows the SDKs it uses at bottom of the app page, eg. Instagram: http://www.appbrain.com/app/instagram/com.instagram.android

It seems in the dataset from OP more different SDKs are detected than we do at AppBrain. We invite anyone to report missing SDKs will definitely review the current presented set to add our omissions!
Comments and charging for money don't have the same objectives at all. I can understand that a dev can decide to allow the rare situation for rare duplicate comment that you can easily delete because it saves work and is not a big deal. While with other's people money, you can't do that. It's all a question of balance.
>or perhaps in our case, violent agreement?

The best kind of agreement :)

I updated the essay to hopefully make it more clear, as a result of our discussion.
Depiction of the accident in the film "Fat Man and Little Boy": https://youtube.com/watch?v=0ZFPio2PeQc&t=6m24s

Scary.
You could easily build a unit test that compares the set of exposed properties of your model class with the columns of the table in your test DB.
Is it uncommon to use other patterns within rails like service objects? I like using Draper, Pundit, and other gems which provide decorator and policy objects.

I prefer to not use Helpers and AR callbacks (generally Concerns too) as I don’t think they encourage good OO even though they are officially part of rails.

Ultimately it comes down to what your goal is. Is it to deliver some business value fast to end users? Build a new product with a small team? Then I think rails is a great tool to achieve that.
http://www.g4tv.com/thefeed/blog/post/707481/huge-eve-online...

If Eve's in-game money doesn't correspond to real money, how is it possible to say "$45,000 worth of in-game cash looted" with any accuracy?
5x more core ZFS contributors sounds to me worse and not better than BTRFS. The more the worse usually.
Try Kotlin or Swift. Both are statically typed, but with a lot of syntactic conveniences and type inference to lessen the verbosity.
Well, I thought about using zendesk but now I'm taking my business somewhere else and I hope others also think twice before giving their business to companies using such tactics.
> This article is nothing like "Rails is a Ghetto". Zed's rant is 90% personal feuds, drama that is practically completely irrelevant today. The article being discussed is 90% technical critique.

True. And yet, it reminded me of that article Zed wrote, which I summarized as a vulgar critique of the internal politics of the rails community.
Have you tried it with magit?
I Am the Edison Phonograph [audio] (1906)
I think the title should be the 'The Usability Acid Test'... The author's word order there made me think that they were a rogue Microsoft employee blogging about a way to check the functionality of an unknown LSD source. ;)
https://news.ycombinator.com/item?id=9755742, https://news.ycombinator.com/item?id=11459225
"Olivier Stern, a 31-year-old French socialist ..."

I stopped reading there.
Also, that is not exactly a life changing amount of cash, even if divided evenly only between them.
To say that people were cavalier about the dangers of radiation back then would be a severe understatement.
I'm having a lot of fun with Go. I had previously done PHP and Ruby and JS server side. Go is kinda fun.
I prefer these lists when they are done by MSAs rather than by towns of a certain size. Nonetheless the trend is clear that people want warm weather and low cost of living - and are voting with their feet for both (in many cases following jobs @ companies doing the same).
filtering IP-adresses is an important security feature, if personnel needs to access it from non-white listed adresses, they first have to tunnel into Corporate Intranet

you shouldn't expose your services for convenience
Rails can be used in many contexts, but its first love is the making of integrated systems: Majestic monoliths!--DHH

Source: "The Rails Doctrine" http://rubyonrails.org/doctrine/
What do you use to communicate if not email?

I use it constantly, as I have for years: one mailbox for work, one for personal stuff. My whole life flows through email, it sometimes seems. How else would it work?
In my observation there are two things going on:

1) Broken platforms. How much "innovation" has occurred in javascript to compensate for a broken execution model? How much caching does your average rails app do because of the poor concurrency the the Ruby platform, requiring external services for persistence across requests?

2) Looking for challenging problems. Design patterns are often a solution to a meta problem. Building a CRUD app, there aren't too many hard domain. However, code maintenance is a hard problem. It involves many people using subjective judgement. So as a somewhat bored developer, I'm going to try to solve the meta problem.

It sort of pains me to see how much engineering effort has gone into essentially making broken systems more performant and maintainable.
Sticker shock: Why are glasses so expensive?
The submitted URL is a bit of blog spam, imho...the data graphic is just the one the Census itself created, and the Census press release contains more data: https://www.census.gov/newsroom/press-releases/2016/cb16-81....

The full table for the population change of places of 50K population can be found here: https://www.census.gov/popest/data/cities/totals/2015/

(under the link titled, "Annual Estimates of Resident Population Change for Incorporated Places of 50,000 or More in 2014, Ranked by Percent Change: July 1, 2014 to July 1, 2015", which can't be direct-linked because of the Census website's hugely complex app state logic)

CSVs here: https://www.census.gov/popest/data/cities/totals/2015/SUB-ES...

edit: fixed link
Although he may have simple meant "presume ignorance, not malice," the wording used was very derogatory.

I do not doubt that Americans on average are less educated on international affairs than other Western countries. But arguing that a factually incorrect comment about Turkish headwear on HN (by a user of unknown nationality) is a result of broader "American ignorance" is meaningless.

Furthermore, I believe m00dy's response was accurate and fair. If he viewed every incorrect comment about Turkish culture as written by an American "puppy," I doubt he would have commented, and no one would have learned anything.
Arduino Taps Apache Mynewt for Its 32-bit IoT SBCs with BLE
My guess is that they were minions ordered to do so by someone else. The someone else will get the bulk of the cash.
Juniper – Functional Reactive Programming for the Arduino
Without digging into it too much, I would bet that most of the improvement from ICC comes from their awesome implementations of transcendental functions used in this program (exp, sqrt, etc.).

Still, the general point is good. last time I tried ICC on a heavily vectorized (with intrinsics) program, ICC was a 30% boost over clang or gcc.
So you need to encrypt your communications, getting off Google won't change anything. Use GMail as a dumb transport pipe !
This is actually something you can start war on, since people can not live very long without water.

The situation of India is critical: most water source are heavily poluted, the population is as big as China's, but China has way more space and invaded Tibet, securing the montains water.

Now add the following facts:

- India has a class system generating a lot of social tensions, and it's getting worst as a small super rich class is booming.
- A lot of different cultures and religions are mixed, sexual restrictions are still in place and they don't get along with some countries at their very border.
- They got the nuclear weapon.

And you got a cocktail for a Michael Bay movie.
An American Fraudster: The Dirge of Christopher David
For extremely low values of "city".
There was a moment where the robot accidentally did a Scandinavian flick (4:34 or so). I wonder if did that through random pattern injection, and could learn from it.
No, people do like get a response as you suggest.

I was trying to suggest as an analogue of the situation in the OP, that was being satirically commented on, that in order to properly mirror the situation your comment would need to come from someone with renown in the current locus. If people are really listening to the lecture hoping to be namechecked then it would be because they consider the lecturer to be a worthy in some way, surely?
You could have a Cray in there behind the wall and it still would have happened. It's the debit card system and protocols that make this possible. They didn't hack any ATMs.
Numberphile did a great video on Busy Beaver which I found easy to follow - https://youtu.be/CE8UhcyJS0I
Mostly conservative places, eh? No surprise there. I'm sure the "progressives" will come in and ruin that.
It's said over the last decade it's clear Texas beats California all around in the sense capitalism beats socialism.

They are both large, with lots of immigrants, and close to the ocean. Texas's weather especially in the summer is not appealing, still people just move here due to better chances.

Houston, Dallas, San Antonio and Austin are also 4 out of the 11 largest cities in US now.
I'm going Clojure route and in it for the long run. Being able to eval any single piece of your code in a REPL direct from your IDE in the context of your app is just insane. Also having one single language for JavaScript and JVM is super useful.

Also after programming for 4 years a bit I've felt the core of programming beyond CRUD/consuming APIs is about manipulating data structures. Having powerful utilities for this and not having to shove everything into classes and objects makes it really easy to get stuff done. Going back to Ruby feels like I'm working with a kludge in comparison. Everything that doesn't need to be a class is one, then you get caught up in naming things. Then you try to debug things to end up with an object that has 500 methods on it and you don't know where half of them came from because they were metaprogrammed in through 10 layers of indirection. Yesterday I tried upgrading to Rails 5 and gave up because I couldn't debug an outdated library in 6 hours without realizing I have to figure out what this library and ActiveSupport/Model is doing in order to make headway. Ain't nobody got time for that.
It’s No Accident: Advocates Want to Speak of Car ‘Crashes’ Instead
My experience is that programmers migrating to Rails are thoroughly confused by these conventions like "UserProfile -> user_profiles". Although it's only the second-biggest source of confusion after ActiveSupport, e.g. "10.hours.ago" even though the integer class does not have an hours method according to the Ruby documentation.
Sure, and no one is saying it was a good idea in the first place. CINT was notoriously bad as a C++ interpreter, in fact it was marketed as being able to parse 90% of valid C++ code. Imagine someone selling a compiler that way?

But CERN developed a huge amount of CINT code anyway, and all of CERNs legacy sort-of C++ code that ran on CINT became a maintenance nightmare. Cling is a huge upgrade in the sense that it supports all this legacy code with a _lot_ less overhead than before.
With respect, I disagree.

-MPESA, while highly innovative, is a system grown and maintained by a telco monopoly. People need to stop assuming it's a startup (I don't think you are, but every time it's mentioned that's the context. Safaricom is an old, sprawling conglomerate with massive government links and a UK telco shareholder).

-Smartphone penetration is still in between (depending on data source) the low twenties and low thirties. Data usage is even lower - we're still in a country with a GDP/capita of 1,200 USD and average incomes in Nairobi of 200 USD/month.

-Uber is cool, and has achieved decent penetration among high-income locals and expats. However, at current costs it is far out of reach of what we'd even consider middle class Kenyans.

Things are absolutely going in the right direction, but nowhere near as fast as the hype suggests (especially with respect to income growth and smartphone adoption).

For context: I've lived and worked in the Kenyan tech sector for several years.
Quick question, what would be a good alternative to Zendesk? We've initially chosen it because it seemed pretty standard, but it looks designed for much larger companies. We avoid using it (!) because the UI is confusing, and it's very pricey for what it does (especially that some basic features are locked in the higher-priced tiers). This article doesn't help either.
Explore Campaign Finance – D3 Visualization of 24 Thousand Federal Politicians
Interesting. I've been working on an interactive 3D algorithm/data structure visualizer (http://tiledtext.com/projects/avd), but was thinking of it more as a debugging tool than an educational aid. I like the catalog aspect here: would be nice to have one of these for every wikipedia algorithm page.
Will Containers Replace Hypervisors? Almost Certainly
What I don't understand is why people feel the need to proclaim that they're leaving xyz? Why not just focus on the positive and focus your energy on the new stuff you'll be doing. It sounds like someone who just broke up and keeps claiming they're totally over it but just can't stop talking about what a bitch their ex is. If you're planning to do haskell, elixir, clojure and scala, write about that.
You're fed up with a language and framework, but only ask about which new language you should learn. Methinks there is a piece of the puzzle missing.

edit: The point I'm trying to make is that you should be asking for suggestions about languages and frameworks, not just languages. Whether or not you have issues with MRI, you're going to have to deal with your new language's ecosystem, not just its runtime.
They are treating this as a stochastic game. They are accounting for their opponent's likely response when deciding their own move. That is enough for me, anyway.