skysight-inc/HackerNews huggingface dataset:
Yes. Tread lightly here. If you designate some power to determine what's good information and what's bad, you're headed down a pretty slippery slope.

Note: I really don't have an issue with Facebook doing this if they want. They're a company after all, not the government. I can just choose to get the information they deem 'bad' elsewhere.
> Given that, and the ability of the oceans to sink HUGE amounts of CO2 over thousand-year timescales

Are you not concerned about the impacts of ocean acidification as a result? My understanding is that the ramifications of that are potentially scary as well.
Pence is the real LGBTQ scare factor for this new administration. In 2000 he ran on the platform of redirecting HIV/AIDS treatment funding to conversion therapy [1], among many many other anti-LGBT comments and promises, and continued during his governorship to attempt to legislate bigotry against LGBT people (like banning gay marriage and promoting "religious freedom" to discriminate).

When taken in consideration of how much leeway to decide domestic policy that Trump has promised to give him, Pence is a seriously scary VP for queer people everywhere in the US.

--

[1]: http://web.archive.org/web/20010408125427/http://mikepence.c...
Tyler Durden had multiple Fight Clubs, all of whom were completely loyal, anonymous, and committed to operational security. That's why I said he'd be the only one able to do it.

For real people, the more people you add for operations, the more you have to add for security and cleanup. Beyond a certain point, you just can't keep everybody quiet without extreme measures, which are themselves likely to be noticed.

Secret conspiracies have to be small, otherwise someone eventually gets disgruntled or has an attack of conscience and spills the beans.

Even large, public conspiracies, like the classified documents protection system, eventually develop leaks, and it is already really expensive to operate before accounting for cleanup up after spies or whistleblowers.

So if we ever reach the point where five people or less could remotely rig the vote for every county in Florida, I have to not only assume that it is being done every election, but also that multiple groups may be stepping on each other's toes while doing it. Previously, the traditional ways of rigging the vote are right out in the open. You get people likely to vote against you stricken from the voter register. You enter fake ballots in the name of someone not likely to vote, such as the recently deceased. You sabotage polling places in urban areas such that voter throughput is reduced, and lines grow around the block. You get local cops out on the streets, giving out traffic citations to selected people that may be on their way to vote. I have even seen sudden construction activity on election day obstructing the sole entrance to a polling place.

Those are nasty, but at least people can seek redress for the misbehavior that they can see.
That's not relevant to type safety, though. Haskell also has type erasure.
Although I very much like C# where generics are not elided, I think most of the value comes from the productivity from static analysis, and therefore Java generics cature most of the value. Perf improvement opportunities are great though.
Operating system doesn't matter much when the malware is in BIOS or firmware code.
Good talking point. The current situation is indeed bad enough.

But Trump promised to do far, far more than Obama ever has. What do I say to my kid? That Trump didn't mean it and it probably won't happen? (That's my current plan.)
Just like any other async/await model.

Also you don't need explicit yield on task runtimes like HPX.
There was a comment that just got deleted wondering about if people are just roaming around for liberals to hate on. The answer to that is yes. This just posted on my feed [1]. Driving around Wellesley (also where Clinton graduated from) taunting people.

[1] https://m.facebook.com/?_rdr#!/story.php?story_fbid=10210780...
Yes, because it's an interesting technical and social problem. I do admit the discussion here would have a different tone if the result had gone the other way, but not necessarily a better tone as there's plenty of vitriol on both sides.
You made me curious, how did you configured VS Code with PHP. I have bad experience especially with that language in VSC. In Atom and Sublime there are many various extensions which helps you get better _IDE experience_ (autocomplete. formatters, linters).

Personally, I found Crane for VSC [1] as a very limited tool for autocompletion. It works really bad with frameworks like Laravel or Symfony where developers use various design patterns which implements a lot of abstraction difficult to index (facades, factory, repositories, service providers, @inheritdoc). Using Sublime you may probably use SublimeCodeIntel [2] with PHPIntel [3], as their best feature is I would mention that they work very fast for large codebase and also gives great suggestions for code i.e. suggests paramters or next objects in namespaces (when you are typing backslashes (\) code intel will start guessing what objects are under specified path and it works flawlessly just like in vim or bash when you are pressing tab after `cd`). Atom is not bad either, the atom-autocomplete-php [4] package is really great to improve autocompletion for PHP Code. When I have been using it recently I was really enjoying how many decent features PHPStorm has been implemented in open-source Atom, e.g. if you add a class from not imported namespace it will be automatically added. Such a simple operation, but it is interesting how many editors does not support that.

Hopefully, php devs have some awesome tools to annoy them a whole 9-to-5 which are: `phpcs` (obviously), `php -l` (popular), phpmd (rarely used) and phpcpd (well, most php devs haven't heard about that tool). Since, aforementioned linters are binaries their implementation in editors like VSC, Sublime or Atom is not a problem. There are few differences between editor and their linters - they are mostly the same but each editor have another way to display problems in your code. It is rather matter of taste I would say. Well, I really miss "unused use-namespaces" in phpmd.

Personally, I dislike XDebug. VSC gives a nice user experience when debugging code with it. But all three editors supports XDebug somehow. Maybe Sublime puts a whole stacktrace, breakpoints, local variable into editor viewport as "plain text" but you may got used to like in Atom, where there are additional panes to see Xdebug output. Personally, I would go with Backfire if we speak about profiling, which is very painful in XDebug.

[1]: https://github.com/HvyIndustries/crane

[2]: https://packagecontrol.io/packages/SublimeCodeIntel

[3]: https://packagecontrol.io/packages/PHPIntel

[4]: https://atom.io/packages/atom-autocomplete-php
Carbon sequestration is expensive. It might just be much more cheaper and cleaner to build 4th gen nuclear power plants. Or geothermal for that matter.
The polls weren't that off actually. They missed the mark overall by about 2%, which is actually pretty similar to the error in past elections. That's not very surprising because without being able to sample the actual distribution you need to make some assumptions for the statistics to work.
I'm Indian. Now I was born in America, raised here, and more than one of my ex-girlfriends has told me "You're not Indian" or "You're not culturally Indian."

I currently work with some amazing (cultural) Indian developers. They know their shit, they're easy to work with and they're sticklers for well designed stuff with little technical debt. I've worked with some Indians who were utterly incompetent developers and I was surprised how they made it through University.

Same with Chinese people (both in American and in Australia -- some were amazing, a few were terrible).

It sounds like you work at a shit company. It probably has shit managers who hire the wrong people. It has little or nothing to do with their ethnicity or cultural heritage.

Go work somewhere else. Stop blaming an entire race and/or culture for your personal bias.
Yeah, objc is. However mentally I counted that towards the OS languages and C family languages. Swift also belongs to the OS (first class langauge) category, although it's certainly not in the C family.

For others maybe Delphi was succesful in the GUI domain. But in the last years it was certainly not often mentioned. For GTK there's also Vala, which was probably even designed to be used for GUIs.
The Good Country Index
Macbooks were never good choices to run Linux on, and it's naive to think it would've gotten any easier. Apple's version of EFI is slightly different than the standard. The laptops are filled with custom hardware that you won't find anywhere else.

It took Dell months of effort by a dedicated team [1] to get all the features of a subset of Dell XPS13 laptops working under Linux. I'm actually considering buying one as a Linux machine, and I already own a Macbook.

To think that an Apple laptop would in any way make a good or even workable Linux machine is laughably naive.

[1] https://sputnik.github.io/
Perhaps you can read this article about Social Security: https://www.washingtonpost.com/blogs/plum-line/wp/2016/03/11... It should allay your fears about the system collapsing.

Regardless, we're discussing a prognosis for the future.

Another prognosis is about Global Warming. Climate scientists now in 2016 believe the world will be warmer in 2040 than what they believed in 2008. The prognosis has indeed gotten worse.

In sharp contrast to the prognosis about how much funds will exist in Social Security. No serious economist in 2016 believes that Social Security in 2040 will be in a worse shape than what they believed in 2008.

> > This is the point I'm trying to make; you can make a lot of talk about things are getting worse, but when you look at the numbers they are getting better (or at least aren't getting worse).

> Please show me the numbers that show things are getting better. Otherwise, you're running the risk of me using your own quote against you. ;-)

I cited three: unemployment, homicide and violent crime rate. I could cite more, like infant mortality rate, education level, subjective happiness rating, life expectancy.. Really don't think it will change your mind :)

FYI, I don't care about your stupid American presidents. A lot of things got better during Bush's eight years presidency too.
Wrong parse. My statement started with 'weren't CDs and records sold at the same price point as others of the same type' (e.g. CD 1 costs same as CD 2, etc).

Point being that flexible pricing for a fungible good over a streaming service is likely to be a non-starter in terms of market acceptance.
At current rates of emissions, we don't have 30 years. We can't even burn all coal in actively operating mines, and hit the 2C temperature budget.
Please provide one example of Apple blocking an application from running on MacOS. What's that, you don't have an example? Because this is false.
I've also found (the hard way) that it's possible to mistype a conditional as `err == nil` when it should be `err != nil`. It's a really dumb mistake, but will waste time as you track it down (without the compiler's help).
Game Theory and Dating
On many levels I hate who Peter is as a person... but he will make an astounding tech adviser.
Ask HN: Do you have any tips for working remotely internationally?
I am considering working remotely outside of the country I currently reside. Does anyone have experience doing this. If so, could you please share and tips or just your overall impression of working as an expat.

Whoever keeps flagging my posts, please stop. I'm asking a legit question. If it makes you happy I'll leave the election out of it.
I consider "not having exceptions" to be a feature that the ? operator helps to enable. Go also doesn't have exceptions, but they don't have the ? operator, which I find to be a little repetitive while coding. My fingers are outrageously good at:

if err != nil {
return err
}

Comparing Rust to a language with exceptions, like Java, the only difference is that they places that the code can return is explicit rather than implicit, because of that one extra character. I find this extremely pragmatic since most of the time errors just need to be propagated up to a place where they can be handled, but you still need to know when that may happen.
I saw their presentation over the summer and was super impressed. I didn't participate in the initial challenge but I'm excited to start now!
Razer Blade
"Can you please tell Adam X" is a hair away from spreading rumor, hearsay. I would ask, at least in the context of facebook, why the speaker cannot talk to Adam himself. If he cannot, if he doesn't have the connections required to speak to Adam, then his message probably isn't worth forwarding.
Cool, this is a helpful intro. Anyone have any recommended reading for ML in a JVM context?
On the Visualize tab, you can just drag the .hlt file onto the page to see it. There was a local visualizer, but we scrapped it to focus on a single implementation.

The devs are actively monitoring the site's forums and you might want to take this there.
Welcome to the fray.

First: decide what your skills are, and where you can contribute.

Try the Tor Project first: https://www.torproject.org/getinvolved/volunteer.html.en

The community is great there and very accepting of newbies that have the skills.

Signal / open whisper systems also are open source and accept pull requests:

https://github.com/whispersystems/

Read the anonbib:

http://freehaven.net/anonbib/

Also, there are other mixnet/darknet projects that could use help, such as i2p:

https://geti2p.net/en/get-involved

And if you want decentralized, mesh communications, cjdns and the Hyperboria experiment:

https://hyperboria.net/

Don't forget: if you are a developer, you actually make money, too. Vote with your dollars as well - donate to these persons. Many are 501c3's and it is tax deductible for you.
> Generics, pattern matching, functional features, modules, easy FFI, are productivity features! They have nothing to do with safety and performance

I dispute that these features improve productivity. With the exception of modules (whose purpose has always eluded me) all are available in Go (or could be trivially implemented) at the expense of safety and/or performance.

> I suspect the numbers are like: 95% of applications are best in scripting languages. 4% are best in managed languages (Java, C#, Go, etc.). 1% are best in low-level languages like Rust. If you want me to concede that point, fine.

I disagree. I think that Go beats scripting languages at their own game, in most cases. Of course this is all opinion and mine is no more valid than yours.

> But in terms of importance of projects, which correlates with the number of developers you need on the project, the numbers look very different.

Perhaps, but I'm not sure what your point is here, or how it relates to the broader topic. Are you arguing that more developers are needed on the project and thus more developers in total work on these core libraries than all other software projects?
I can't think of a better place to raise my kids than Amsterdam, actually. Much better than the dreary suburban town I grew up in.
This is the kind of thing I could spend hours talking and thinking about, and often do, and now will by presenting some possible reasons why this may not be the case:

1. The aliens had no idea we were here; they expect life to be so rare as to be practically non-existent. They no more expected us to be here than we expected to see green-skinned Martians out of Curiosity's camera.

2. Interstellar drives aren't like getting in a vehicle and driving to a destination; maybe it's not possible to pick exactly where you're going, or it's not possible to know where you'll end up until you get there - like exploring a maze, eventually you'll have a map, but at first you're just blundering around randomly.

3. Perhaps they assume that being planet-bound and technologically unsavvy, we'd figure that our only hope of getting anything done was to sit and wait for aliens to arrive - so we'd be the ones preparing to make contact.

4. They don't care about communication. We're not a threat, therefore we don't matter. Or we're not like them in some way, therefore we don't matter. Or we're not a fully-fledged member of the Galactic Federation, therefore we don't matter.

5. They're criminals, and don't wish to be identified. Communicating with us would give us clues that would allow us to figure out who they are, or pass those clues onto whatever passes for law enforcement, so it's in their best interests to be as opaque as possible. ("Why yes, Officer Phsgogmkk, the aliens who landed here last week communicated in subject-object-verb form, didn't seem to have a specific noun form for plural objects, and had seventeen terms for this color-spectrum-range that we just call 'green'." "Aha, we've got 'em now! Will you testify in court?")

6. Huh, you mean this thing translates me through space? I thought I was inventing a time machine/new power plant/quantum dejuggliblier! Weird. Anyway, what are these little two-legged things gathering around me?

7. They don't communicate, because there isn't a them; the whole "species" is some sort of hive, and all communication is implicit and internal and "communication" isn't even a concept that their mind possesses.

8. Similarly, they're unconscious and have nothing to say and no interest in hearing anything we have to say. (Peter Watts' "Blindsight" touches on this a bit.)
I'm not sure I get it?

"He should shut down the NSA and related mass surveillance programs"

Because Trump cant start them up?

"He should physically destroy the databases where the sensitive personal information of hundreds of millions of people are illegally stored. He should release Chelsea Manning and pardon Edward Snowden."

Ok. Good ideas.

"He should support efforts in Congress to curtail location-tracking and other dangerous data collection"

The bill has been introduced, but has not passed the house or senate. Will this get to him in time? Not sure what he can really do here.

"He should declassify and reveal to the public any programs that he does not have the power to end"

Well the government takes the position that this helps our enemies, soooo... This is why Snowden and Manning have not been pardoned. This is considered serious. This might even result in Obama being labeled a traitor.

"He should drag them into the light of day so we have a fighting chance of stopping them during Trump’s reign"

Snowden did drag a lot of programs into the light of day.

"He should bulldoze the data centers, computers and all, if he has to"

And he should videotape it, put it on youtube, and send me a link :) I would love to see a determined Obama bulldozing entire complexes.
injecting randomness into some functions can take you out of a local maxima
The surface is nice, but it's a very different experience from the older, more solid macbook hardware. Most of the complaints about the new directions for macbook hardware (too light, not enough material, weird inconsistencies, and sacrificed keyboard mechanics) also appear on the Surface
> If it were good, Linus would merge it.

Linus hasn't ever been security-minded, in fact half of the article is about Linus making a complains to Kess with things like "it will be slow to compile, it's a PITA to mantain, i don't understand it therefore is crazy and nobody needs this", so if you value security over anything else then Linus isn't the best person to rely for an advice on the topic.

> For me, the fact that it has existed for 10 years and _not_ been merged does not speak highly to it's quality

Parts of the grsec patch have been implemented over the years but not the whole mostly because Linus doesn't understand the need of most of the features not for quality reasons.

> I feel that any non-kernel dev applying a patch to their kernel is the opposite of a good security recommendation. I'm not nearly as qualified about the tradeoffs between performance and security or even code quality as Linus and the kernel team. That's why I delegate the decision about what code goes in my kernel to them

The fact that you don't understand why you need it, it's the very reason why _you_ shouldn't use it. Leave that decision to someone else on your team with experience handling incidents not to Linus et al.
That would be an excellent choice. I hope that comes to fruition.
Increased CO2 concentration in the oceans increases the acidity of the water as well, killing Coral reefs and many other marine species [0]...

[0]http://www.pmel.noaa.gov/co2/story/What+is+Ocean+Acidificati...

"studies have shown that a more acidic environment has a dramatic effect on some calcifying species, including oysters, clams, sea urchins, shallow water corals, deep sea corals, and calcareous plankton. When shelled organisms are at risk, the entire food web may also be at risk. Today, more than a billion people worldwide rely on food from the ocean as their primary source of protein. Many jobs and economies in the U.S. and around the world depend on the fish and shellfish in our oceans."
$150 Chromebook works great and runs Ubuntu with crouton.
I don't think it's fair to say that the option Rust gives you is more complex. It's a syntactic convenience which reduces the chance of a someone typing a mistake in the longer form.

Regardless of how simple the language, there is always more than one way to do things. Rust is just giving you the choice to eliminate a lot of boilerplate if you so desire. In reality most Go users will opt to use the style mentioned above instead of something more verbose/complex and most Rust users will likely opt for the new ? operator.
> As a Go developer, I'm curious how is the error handled when foo() or bar() fail?

By converting their error to whatever the enclosing function returns, and returning.

> Could you show an example where `bar()` returns a re-triable error or a fatal error etc?

You'd use either one of the various combinators[0] or a full explicit `match` (which is what try!, ? and the combinators end up desugaring to). So let's say you wanted special handling for bar()'s result, you'd specially handle that one:

let a = foo()?;
let b = match a.bar() {
Ok(value) => {
// the call succeeded
}
Err(error) => {
// the call failed
}
}
etc…

If you want bar() to be a fatal error, you can unwrap(), that desugars to:

match v {
Ok(v) => v,
Err(err) => panic!("called `Result::unwrap()` on an `Err` value: {:?}", err)
}

that is it panics on failure and unwraps the value on success (there's also an `unwrap_err` which does the opposite)

[0] https://doc.rust-lang.org/std/result/enum.Result.html#method...
I haven't read it but this book looks reasonable https://www.amazon.com/Scala-Machine-Learning-Patrick-Nicola...
There are some competitors in the 12-13" range. Nothing that matches it in battery life though: http://arstechnica.com/apple/2016/11/review-cheapest-2016-ma.... And there is no competition for the 15" that doesn't have serious flaws (HiDPI display or 10+ hours battery life, but not both).
I deleted my Facebook account and suggest others do the same.
Are you a germ theory skeptic, too?

Can't see germs, after all, and people make a lot of bold claims about the things they can do.
I Bought a MacBook a few years ago, the keyboard broke a few times, and the frame was full of cracks even though I was really careful with it. I don't believe one second the quality of the MacBook is better, especially for the price I paid at the time ( + Apple Care cost ). It might be easier to find spare parts for Apple devices but that's it.
I didn't read the statement where they discuss this, but Prineville, OR does not get a lot of rain. It is in the eastern Oregon high desert, very near Bend, and it gets more than 200 days per year that are sunny or mostly sunny, the highest number of clear sky days in the state.