skysight-inc/HackerNews huggingface dataset:
Eh, I'd put "I saw a documentary on netflix that said..." into the "Nuh uh" category more than the "stats or GTFO" category.
I see part of the problem being an extreme lack of civility in our society.

At one point I suppose the police felt they were members of the community. So they treated people with some measure of respect and dignity while carrying out their duties. They would see these same people at church, at the store, at baseball games, at funerals etc. So it was different.

Now, the police are often unreasonably rude and hostile immediately and without provocation. For example, the case of M. Brown... sure, it's understood Brown probably did attack the officer and was shot. But, the officer pulls up squealing tires and shouts for Brown to get the F* out of the street. So he gets Brown angry and is physically attacked. Then he _has_ to shoot the kid. Certainly Brown shouldn't have been walking in the middle of the road. But what if the officer had pulled up and said "Fellows, how are you doing today? Can I get you to get off the street? I wouldn't want to see you get run over." Then, if they didn't comply, ramp it up a little bit at a time as needed. Chances are there never would have been a shooting. But as it is, the officers hostile speech and generally dickish attitude led to a situation in which deadly force eventually was used. That officer is morally in the wrong, he did help create this situation, he should be fired, he should be punished.

We should demand our officers act with politeness and basic respect even as they enforce the law. If they can't do the job without behaving like psychotic bullies, we should find some people who can.

On the other hand, looking at the people they deal with day in and day out, it's easy to understand how they could get this attitude. Many citizens officers deal with have no basic respect nor manners themselves. Still... officers should be held the a higher standard (and appropriately compensated if it comes to that). They are still nominally public servants and should be acting in the best interests of the community. A community which includes the people they may be arresting btw.
The HN title matches the article title, but it's somewhat misleading. The court actually ruled that the particular case before it was not a legal search, and that cellphone searches are only allowed under specific circumstances.

It looks to me as though the circumstances are a bit too broad, but it's not as though Canadian police will suddenly be allowed to search the cellphones of everyone they arrest.
Only three weeks early.
Sounds like hubris
This is how professional repair center looks in eastern Europe:
https://www.youtube.com/user/1servicecore/videos?sort=dd&vie...

I also worked for first party RMA house in central Europe. It was mostly out of school noobs on quick rotation cycle. Teach them to diagnose and follow solutions book, after that its high speed, low drag to burnout by crazy hours and shitty pay. Dont even get me started on quality.

There is a sweet middle ground between mega pay by the fix first party grindhouse and obscure one man we do it all operations.
I'm guessing Raleigh / Durham
All these companies provide bad service 3x the cost of local mom and pop shops. Whether its office max, geek squad, ups, fed ex, they provide inferior service and quality of repair for an inflated price. Shame on OEM's like Toshiba for not servicing their own equipment.
I don't agree with the premises. Teaching in higher classes assumes independent study of the reader as enhancement. For me it's making much more sense to look at a consistent implementation of OOP features in C [1] (understanding less and less to the end of the latest paper). It make sense to understand the data structures behind it to reason about the transformation of your game to OOP.

For your problem there's Multiple Inheritance, but not every OOP-Language supports it. You have movable, visible, etc as objects and game_objects inherit from them as needed.
If you have learned OOP with a toy metaphor and dived straight into Java or Python, you might miss out on some formal fundamentals. Some say Java doesn't implement OOP properly, but at least it's running ;). Naturally most students also want to get practical and don't want to dabble in the dire theory.

In C you'd have bitmasks encoding the types and functions called based on that (or how'd you do it? gibe references). If you had your logic wired up to call functions straight away, it might have made sense to encode the functionality as member functions, to have an object being immobile simply by not using the move function. The data would be stored in pools of other objects, like location data, that your functions work on. I'm still learning. If I'm not making sense, tell me, but I think that's what MV* does?

For a simple enough problem there are different probable solutions

[1] http://ldeniau.web.cern.ch/ldeniau/oopc.html but there are others as well
I agree with you chc. I've been using ruby for 3 years and would not have been able to retrieve first name from memory!
Significant scientific achievements or breakthroughs in 2014
I can think of three reasons I use Amazon's store beyond the free apps:

1. It's a great way to share paid apps within a household without sharing Google accounts.

2. We have one device (a kids' tablet) that didn't come with and still doesn't have Google Play. Even Amazon's store is light years ahead of the one that came pre-installed.

3. Exclusives. For me that's Instant Video, but I believe other people also care about the temporary third-party exclusives (usually games). This reason often provokes annoyance and grumbling because it feels arbitrary and unnecessary, but it is still a reason nevertheless.
I mailed both of them. Got a reply from Buffer and it wasn't a template. The CTO had taken his time to look at what I had written and crafted an appropriate reply. I really really appreciated it.

On the other hand, I didn't even receive an acknowledgement from Heap, template or otherwise. It is fine, really. But I just want to get this out there as an addendum to your comment.
Hmm, that kind of blows a hole in my speculation that after we have a few big players in computer service, a few law suits with unhappy results, we finally get government regulation in computer repair, similar to regulation in other service/repair industries, such as automobile repair.

I run a service business in addition to the database apps I write, and I expected one of the flags for me to close that part down was the introduction of that type of regulatory stance...
Amazing Kid cries nonstop while singing,watch how he nailed the song in the end
I see false positives. So last week I decided to do my first project that will use a Raspberry Pi. I googled around to the pi site, amazon, newegg, (gasp) radio shack, microcenter, etc... I figured out what I wanted to get but didn't put anything in any carts. So then Pi ads start showing up on Facebook. IIRC a Radio Shack Pi ad too. Whatever. But now when I buy one, is Facebook going to claim some responsibility for the sale? Because they honestly don't deserve it. I'm going to buy one anyway and I have not seen an ad for a place I didn't look already. While I often give a real store the business based on "I can get it on the way home" the price difference in this case is nuts. So NewEgg it will be and Facebook ads aren't going to influence that.

In this case, correlation does not indicate causation.
Meet Matt Stainbrook, Xavier Basketball Player and Uber Driver
Interesting question - I've been thinking along the same lines.

I current share - Wages, Intership programmes, Size (I dont pretend to be larger than we are, we used to but its beneficial not too for us.)

I'm concerned about sharing rev as well, but I have shared it with clients who have asked.... Its odd some clients mainly enterprise will ask whats your yearly rev as if its not a personal question.

I'm leaning towards being more transparent, sharing your burn rate in a particular way is OK. However its about messaging. If you write a blog post advertising the rate and its bad, I'd see that as negative. However if it comes up in conversation (article or RL) then I dont see the issue with sharing.
> It's easier and cheaper to remake the data so that it works right from the get go.

Could you please explain? I don't understand how the data (ie all the articles) would weigh one down.

Wikipedia as an organization has some cultural issues that one might want to fix. I don't really see a problem with the data that would warrant starting from scratch. (Starting from scratch might be necessary to fix the culture. But that's another argument to make.)
> The only thing it sucks at is being the only store on amazon's devices.

It's not the only store on Amazon devices. You can download and install a bunch of different app stores on any Amazon device. I have Humble Bundle installed on my Kindle Fire and you can install apps from Opera's app store as well via the website. People just don't know about these stores. That's not the same thing as being "the only store".
Even – Get a steady paycheck, every Friday
>So we've been developing English for a very long time. If "little used verbs become regularized over time, but new verbs formed [are] never formed as irregular verbs", then why do we have still have irregular verbs at all? Why wouldn't they have been wiped out thousands of years ago?

we haven't been developing English for thousands of years. Who knows what will happen then! We'll be speaking in python no doubt.
That's because most common is the commonest: https://books.google.com/ngrams/graph?content=most+common%2C...
Nah, that's the same education we got in 1995 in high school, too. What happened in the interim is that there were a couple of dot-com bubbles where companies encouraged you to share recklessly because they built business models on it. Ignore all that safety stuff. So I see all these services pop up that ask you to do things we were always taught not to do, it created intense feelings of unease in me, but everybody did it anyway. And then nude pics get hacked and shared, people get harassed/fired because of a global Facebook tweet saying something stupid, and everybody acts like it's a big fucking surprise when all they had to do was follow the rules. But the rules conflicted with the merger of narcissism and corporate profits.
Are you aware of the irony of this comment as well?
Managing Difficult Decisions in Medicine with the 40-70 Rule
Google Launches Self-Service Advertising Program (2000)
Uber Storm Surge: Is It Raining in San Francisco? Let's Check Uber
"As a European who watches the US, I hope the irony of your statement has not escaped you."

There's no irony in fact. I didn't claim the US condition was X Y or Z.

There's nothing ironic about a heart disease patient pointing out the condition of another heart disease patient. Nor does pointing such out, imply that the observer is lacking of heart disease.

Your reach is a failure of the application of logic. Just because I note that Europe has X problem, that does not mean I automatically think the US is lacking in X problem. Your response was emotional, the classic need to point out another's flaws because your flaws were pointed out. I get that.

I don't get my European news from Fox or CNN. And I pay close attention to the economic data coming from just about every country in Europe. I'd argue I'm likely better versed on the economics of most every country in Europe than most Europeans.
$5 a week is a pretty steep barrier of entry to using a product that requires the trust of holding a lot of my money.
In Haskell, you have typeclass values. In other words, generic values.

class Bounded a where
minValue, maxValue :: a

So it is always the same constant, and it just changes value by what its type context is.
interesting point, but I feel the same could be said for (3 * 5)
> The underscore isn't a placeholder saying "inject a Function here".

It is. Look at the error message:

error: missing parameter type for expanded function ((x$1) => x$1.$times(2))

It did inject a function, it's right there, in plain text. Then it did type inference. I mean, what else is "lifting" the asterisk to a Function supposed to mean, if not injecting a function around a placeholder? And what about "1 + _ * 2"? What is it lifting? The asterisk? No. It is lifting more than that.

> You had a Function[Int,Int] before, but now that you've passed that function value to Array.apply instead of getting an Array[Function[Int,Int]] as you would in every single other case, you get a Function[Int,Array[Int]]?

That's besides the point. The question is, when the parser sees "_", how much of the context does it grab along with it? In other words, I know it's lifting stuff, what I want to know is how much it lifts. Here's another example:

f(_, 2)(3)

==> x => (f(x, 2)(3)) ?
==> (x => f(x, 2))(3) ?

Scala does the former. That's a legitimate choice given common use cases, but the latter is simpler, preserves the invariant that "a(b) <=> (a)(b)" and has use cases as well, e.g. to make an expression like "f(super_long_expression, 2)" more readable.

> But not so much as you think. It's just the "lift". Type-inferencing lets you get away with what looks like a little more sometimes.

I still don't see what type inference has to do with this. The error message makes it clear that the lift is done before type inference kicks in. In a dynamic language, you would stop at the lift, but it would otherwise work just the same.
I think the meh comes from poor implementation. I have LIFX globes I can control with my phone but they're a pain - takes too long to open my phone, open the app, wait for it to connect, etc.

Done well, I would be very keen for home automation. The two rooms at the front of my house have six privacy blinds and six blackout blinds. They are a huge pain to deal with and so I would find very useful a solution that automatically opened the blackout blinds in the morning and closed them in the evening.

Or tracked soil moisture and controlled irrigation around the various areas of my garden. Or handled home security/monitoring.

I thought Microsoft's original Surface (the projection table) was going to end up being a hub for this sort of thing to control a home, store media, browse media schedules, etc but it seems to have fizzled weakly.
Scala-Js-Fiddle: run Scala code in the browser
I'm wondering why I'm being downvoted for a factual statement.

The parent of this comment said "without worrying about dependencies, dynamic linking, or segfaults".

This is blatantly wrong. Pretty sad what HN has become.
i've had a pet theory that irregularity helps memorization. the thought is that when something is deducible rather than arbitrary, you remember the rule, not the result of the rule. when its arbitrary, you just remember it. does anyone know of anything to suggest this is true or false?
I'm feeling the same way. Had an interesting conversation last night where someone said they would totally give us a bit of money after telling him what we're spending per month and how. I'll think about where and how to talk about it.
I've spent the last year managing the build of 5 Hybrid apps predominately for Android. The workflow from a development perspective is great, really you cant ask for more, being able to write html/css/js is a huge win for the team of mainly backend/frontend developers.

Although - I wouldn't recommend it for every app. Our apps are enterprise focused business apps, mainly forms and data. We have built a social - B2C app before but the results were not as good as we'd hoped. It does still feel like a hybrid app opposed to native.

My advice - If its an app focused on data and forms then yes go hybrid, if you want to do something different go native.
So any additional growth in life expectancy will probably be exponentially more expensive

That's true exactly because we haven't addressed the root problem of aging. If everyone could be restored to the physical condition of a 25 year old, medical costs would fall tremendously. Which is one reason why "only the rich will be able to afford it" is unlikely; governments and insurance companies would probably profit by making anti-aging treatments free.

If you look at Japan or the US, the increase in life expectancy has coincided with a drop in the birth rate - which leads to a situation where you have a lot of old people, but relatively fewer younger workers to support them than in the past.

Likewise, this is only a problem because aging eventually results in the inability to be economically productive.
This young boy just cried while singing live in crowd Shiver alert
what a great read. she looks so happy! she is very pretty as well!
Sure, but they cushion the blow when you have a week where you aren't making as much money. $5 a week for interest-free loans is pretty great, and it's definitely much cheaper than the check-cashing loan places that a lot of people resort to.
Good. When I traveled out of the US, I noticed my phone battery life was terrible. Inspecting via catlog, I noticed that the amazon appstore (which I didn't actually have installed directly) was hitting an amazon url in an extremely tight loop, and getting a 403 Forbidden every time (you know, one of the errors that means "don't try again without fixing yourself").

My only explanation is that the amazon appstore has some sort of geographic restriction on the server-side, and the app wasn't written to handle that. I couldn't tell which app was actually responsible, so I just disabled or uninstalled every Amazon app, even though I find some of them useful (rapid package delivery notifications are pretty helpful in a city, when your package is probably sitting on the stoop unprotected). Doing so restored my battery life.

Hopefully this means Google is watching for Amazon's overreach now, and I'll be able to safely get my notifications again.
Interesting idea applying that to homes. Instead of the device watching/scanning out from a monitor to a keyboard surface, it could be a panel on a wall in your kitchen that recognises gestures performed nearby (like in the cubic foot in front of it).

I could imagine that learning gestures to control doors, blinds, background music, lighting and wake/sleep procedures like locking all doors, fading lights, putting devices on standby, etc.
at least they seems to be sober.

http://www.telegraph.co.uk/news/worldnews/europe/russia/4448...

It is pretty surprising that passengers got that fussy this time, as usually nobody bothers.

money quote:

""It's not such a big deal if the pilot is drunk," one [Airflot] representative said, according to the English-language Moscow Times, which had a reporter on board.

"Really, all he has to do is press a button and the plane flies itself. The worst that could happen is he'll trip over something in the cockpit.""
For those interested, I believe §121.542(d) is the regulation they're referring to when they say the FAA has prohibited electronic devices. http://rgl.faa.gov/Regulatory_and_Guidance_Library/rgFAR.nsf...

Part 121 of course only applies to airliners. For non-commercial flights, only §91.21 would apply, which is far less prohibitive. http://www.ecfr.gov/cgi-bin/text-idx?node=14:2.0.1.3.10.1.4....
shes brilliant and gorgeous. I don't see anything wrong with that
causation is implied on a population through test and control. causation and correlation for an individual is almost always impossible.
Rate of regularizing English verbs
An idea to solve this peacefully - why not leave the recording devices unmanned, and working autonomously, outside of pilot's reach and sight? The important consideration, obviously, would be for devices to not be able to produce visual or audial signals, so pilots can't get distracted.

No distraction at critical moments and lots of shots to sort after plane has landed.
For a cool introduction to the internals of text editors I always recommend finding the old docs for the LCC-Win32 compiler. That compiler comes with it's own IDE, and the author (Jacob Navia) did a great job of candidly documenting his mental process while developing the editor. I know the documents are kind of hard to find, so feel free to get it from my Google Drive: https://drive.google.com/file/d/0BxF_x9mBC-n1Q0VnR3BpN21iWmc...

This document is great, it explains the internals of not just the editor but some of the compiler/linker as well. It's a shame that it was removed from newer versions of the documentation package.
I seem to remember an organisation in the UK pushing for a mandatory breathalyzer test for all pilots before boarding their aircraft for every flight, don't think it got anywhere though.
I like the idea of dataflow or stream processing ideas. I would love if you could make the connector pieces smarter so that you were enforcing a contract between the piping mechanisms. I believe you could build some very interesting systems with that approach.
Ruby Conference 2014 Videos
This is a bit harsh on Science Daily. In fact, Science Daily is much better than many other sites of its kind because it does consistently give its sources and provides citations as it did here.
I hear a lot about imposter syndrome..

But, to be fair, a certain number of people who think they have it probably really couldn't code their way out of a wet paper bag.
Smartphones are not a good way to control things in the real world because there's no tactile feedback. So the only feedback is on the screen, which you have to look at, instead of the real world thing you're controlling.
I hope I'm not stuck, but after a few months not working and an expensive cross-country move, I ended up taking a job working at a university with an old, messy codebase. It's really low-pressure, and if it turns into full-time the benefits would good. It pays just enough, but nothing like people are getting in SV right now. I'd rather do something more cutting-edge and more challenging, and I'd rather be around people who are a little more driven.
However I've got the syndrome real good, I feel like "all those people with jobs I want are pro programmers who go write big, beautifully structured, complex software on the weekends for fun; I'm just a guy who knows some scripting stuff that can muddle through some bug fixes."
So my plan is... work through some of the interview books, and try to find a personal project that's interesting enough to pursue. I have a hard time motivating to actually write software for myself, rather than for an employer.
This is a red herring. I lived around the KS City area for a year and people walking in the middle of the street intentionally obstructing traffic was a thing that happened on a regular basis. They walk in the street while you're driving and glare at you, basically trying to prove they can make you do their will by having to drive around them just walking there. Civility is already gone at that point, it is willful, aggressive disruption. Maybe the cop was dickish, but for the same reason you can't blame Brown's behavior for his homicide, you can't blame Wilson for escalation that would make brown figure he could win a confrontation against a law officer. If Wilson shouldn't have acted like an asshole because it escalated the situation, the it more applies to Brown that he shouldn't have been walking in the street.
I can second the Catsters channel. As a complete category theory newbie watching those videos was nevertheless enjoyable because of the upbeat and cheerful attitude with which the material was covered.

I actually found MacLane's book to be more approachable than Awodey's. Although I'm not sure this is good advice because it took me several years casually feeling my way through the field to start to gain an understanding into it (ie YMMV).

Interesting category theory historical fact! Checkout MacLane's wikipedia page and you will find one of his students was in fact Steve Awodey.