skysight-inc/HackerNews huggingface dataset:
Alternative, lightweight solution,

* Do not visit facebook often, do so only in incognito mode, delete other existing facebook cookies on all your browsers.

* Do not use facebook app, inform people that it is a battery hog and steals everything it can on your phone.

* Do not accept new friend requests, or send new ones.

* Do not post status updates or any other kind of content

* Do not "Like" things, do not comment. Do not produce anything for facebook actively.

* Keep it only as a place to check if other people upload pictures of you by scrolling the feed a little, to tell them to stop if they post information about you, use the web interface for messaging any friends who dont know any other means of digital communication.

* Sometimes Like things you dont, spread some misinformation, devalue what content/profile they already have about you.

* Ofcourse set all your posts to private, and all other "settings" to maximum privacy, allow noone to write on your "wall" and so on.
Google says there are now 2B active Chrome installs
Async/await model is nothing more than a state machine over coroutine.

Goroutines are coroutines.

On the async/await model there are two approaches.

1 - The compiler takes care of the scheduling of the coroutines among the threads on the task pool, like C# 5.0 introduced.

2 - The compiler maps async/await into intrisics that know magic functions on the handles that represent tasks managed by the thread pool. This is called generalized async/await and is how C++17 will do it, and also how the C# model will evolve on C# 7.0

So while one must restrict ourselves with the co-routine scheduler provided by the Go runtime and to the yield points managed by it, with generalized async/await it is possible to have control how the scheduling actually takes place among co-routines.

Granted Go's model is easier to understand and might be enough for many people, but it isn't a solution for all types of concurrency problems.
Yeh. The paper claims to have controlled for this by comparing against kids in other groups, I suspect that might not be a very good control. E.g. if your daughter went on to join a different type of group that she did fit in with better, then that's a very clear selection bias. If I'm understanding correctly their control assumes kids just randomly select a group then stick with it.
Thanks for your reply.

Your instincts are good here - one cited problem was indeed the departure from standard conventions. I had my reasons, not saying they were good ones, but I didn't get a chance to explain them either.

I'd like to, but it appears I won't get that chance. I gotta say, that is the part of this all I don't really like. It was vastly better than my only previous experience with a take-home project, where I didn't hear back for a month and got a one-line brush off from a recruiter. In this case, I am certain that they looked over the code reasonably carefully - they did provide a short bit of feedback, though it was delivered by a recruiter, and there was no back and forth here. I'm ok with not getting a job, but I would have liked an actual follow-up where we reviewed the code after that level of effort and time invested.

Lastly, the job was fairly senior, so it may have been a high bar, and that wasn't the only problem with the code. Then again, how much are you really supposed to work on a sample project?

Overall? I'd be hesitant to do this again. I might ask in advance what the policy is on a review. Maybe a 30 minute conversation is a requirement for me to do this. Still mulling it over.
>Operating system doesn't matter much when the malware is in BIOS or firmware code.

Are you insinuating that was the case here? Source please, I'd be interested to read about that.
I expect to see a thriving "rental" market. How is a poor home owner expected to know that the person they rented their house to wasn't actually living there?
To then assume that everyone "knows" the term is a negative one when it's sphere of influence is a few small niches of the internet is being dishonest.

Which is what makes it a dog whistle:

https://en.wikipedia.org/wiki/Dog-whistle_politics

Dog-whistle politics is political messaging employing coded language that appears to mean one thing to the general population but has an additional, different or more specific resonance for a targeted subgroup.

I have very little faith that sickbeard didn't know full well that he was employing a dog whistle when he dropped "SJW" into the thread.
https://github.com/oneuijs/You-Dont-Need-jQuery
I think you're inferring something here that was never explicitly stated.
They can't - this is all for show.
You can't win against clickfarmers and clickbait networks.

No machine learning will save you from botters as the lion share of commercial botters live in a country from which most of the math research behind machine learning is coming from.

In Russia, few people will start an advertising network startup in their sane mind, commercial scale clickfraud, farming, and botting give an order of magnitude higher returns.

The term "Internet marketing business" is used mostly as an euphemerism for all of the aforesaid here.
Well with a gov't power monopoly, they can do things like check power and water utility usage. You can also look at tax return address records for the BC income tax part. Driver license / BCID / immigration records are another. You can also do a 'prove you have a resident in X months or be assessed fines' like many HOAs and mortgage agreements do for various things.

Policies over large numbers aren't about %100 enforcement, a general behavior modification is considered a success usually.
Curious as well.

I've noticed no benefit in any area with probiotics, although his post did say "huge doses".
If you're not paying for the carbon externalities, the free market has failed.
And for the price of a Ferarri you can get 5 Toyotas, 2 scooters and monthly passes for the subway for a year.

I'm not sure what you're trying to say.
Ask HN: Is there a tool to find domain names that form words with the tld
I haven't had any luck searching.

Most of the domain name generators or searches are not really what I want because they require me to know the word I want.

I am more interested in knowing if there is a more efficient way of finding domains that:
(do not go to these if they exist, they are for example purposes)
1. form a word, like sc.one, a.live, teleph.one, tele.com cyb.org
2. form a phrase or something like it, like chosen.one, code.ninja, onthe.rocks
3. other... I feel like there could be other examples.

I am sure that there would be some that infringe on trademarks but setting that aside.

I was hoping someone might have created something like this but it might be too silly for anybody to have really done. Might just be my keywords aren't lining up to get me good search results.
Letting the free market handle things works, IF your only goal is economic. And while that is important, there are bigger pictures to worry about. Like, preserving a habitable planet.
That last point is a great one I hadn't considered. Framing work-life balance as a business need is the only tenable bargaining position we will continue to have. Thanks for the clarification.
They ask politely, and you either lie or tell the truth.

This is a big difference between the west and a country like the PRC where strong rule of law isn't a given. In the west, they will simply ask, with the caveat that perjury is a serious crime if you are found out. In China, they will figure out another way since trust isn't assumed and lying is considered a much weaker offense. Completely different systems.

(The PRC is trying to go in a trust direction with income self reporting, but it doesn't affect the taxes you pay, oddly enough.)
Can someone explain to me why rust decided not to support pattern matching with different types?

Suchas:

let x = Bus();

match x{

Car => ...

Bus => ...

Person => ...

}

You would need to have runtime type information of course, this could be a compiler flag.
How does TDD prove its correctness? TDD suffers from the same limitations as the code - it generally only covers what you could think of.

It's a powerful tool, but I think any belief that sufficient test coverage (in most common cases) actively proves correctness is misguided. In the general case, even full test coverage proves only that you've tested for the conditions you expect - but does nothing to verify the correctness of behavior in conditions you didn't expect.[1]

To me the benefits of TDD are three-fold:

1. It makes you think of what you're building in more detail before you build it.

2. The methodology puts heavy emphasis on short test-code cycles.

3. (Applies to any methodology that emphasizes coverage) You end up with an acceptable-to-great regression suite[1], and anecdotally it seems people do a better job of at least ensuring tests exist when required to by the methodology.

All of these things are equally possible without TDD. Short iterative cycles and additional forethought are perfectly possible without TDD, but they do require more discipline - it is harder to remember to stop after completing a small set of changes without a forcing mechanism.

[1] rust is a possible exception here, still wrapping my head around it.

[2] the value of this regression suite varies greatly from project to project. A hint that tests are of low value /potentially high cost can be seen when you're finding that minor internal changes either break a large number of tests or reduce coverage to noticeable degree. Particularly in absence of functional changes.
They do this in Monaco as well. I read in an article a while back that some nonresidents have automated timers to turn on/off the lights, turn on the heating, water, etc.
Tips to find potential business customers for your B2B startup
Where you found this expect() function and how it will receive error, generated by baz? I read Rust documentation about error handling multiple times, but newer saw adequate error handling.

The best solution I know is error-chain library:

use errors::ChainErr;
try!(do_something().chain_err(|| "Something went wrong"));
Why post with such confidence when you're not informed?
They could provide a copy of the contract when asked, I presume
The Model 3 is going to blow through those subsidies within a year of shipping. They're only available for a limited number of cars, then they go away. Tesla clearly thinks that they're viable without the tax credit.
It's probably cheaper for government and taxpayers in the long run to for the govermnent to aid in the development of markets for alternative energy that can reduce the negative externalities of pollution, the international control of conventional fuel sources, and ease the transition from finite nonrenewables as supply diminishes, than to sit it out completely and deal with the aftermath.

Not many private investors invest on the >50 year timescales that energy transitions require.
Justforfunc #5: Defining a Color Flag in Go
It's not a criminal trial. The burden of proof is low and the onus is on the homeowner, not the city. So if the city decides your property is vacant, you can go ahead and prove you were there, or you pay up.
I work in the field. The statistical mistakes are only one problem- researchers in the field also make huge mistakes in understanding both microbial diversity and computational genomics. It is partly because many of these studies are run by human biology-minded researchers who know very little about either statistical analysis or microbial diversity (IMO ignorance of microbiology is as big an issue in the field as ignorance of stats).

The other issue is this is a uniquely and enormously complicated intersection of science- there simply are few to no people who are simultaneously knowledgeable about immunology, statistics, computational genomics, microbial physiology, and microbial diversity- the bare minimum number of fields that will come into play when dissecting a host-microbe interaction.

That being said there are some very brilliant and rigorous people working in the field. 10%-20% of the research is high quality. In a 5-20 year range we'll discover exactly how enormous the true impact of commensal microbes on human biology is, even if the path is not a straight one and every publication is not correct. So science goes.
Give domai.nr a try
Is Dropbox down right now?
Getting error 500.
100% (except for the "over a million" part).

This is the third-closest result in the electoral college since 1960 (first that included AK and HI). The next two were G. W. Bush's two wins. It's the second-tightest in the popular vote since then (the results I see have Clinton ahead by about 200K; JFK beat Nixon by ~100K).

Our most recent president, Obama, absolutely destroyed Trump's results as far as having a "mandate", if that's what winning is considered. He got twice as many electoral votes as McCain and a margin of 7% in the popular. The win over Romney was tighter but still in a different order than this election.

Reagan got a mandate in 1984. The talk of "mandate" this year is utter, complete, uncontestable political horse puckey.
Yes, true! But that's not the goal. The goal is the Model 3, which should have an industry leading TCO per mile, below the Prius, Honda Fit, etc.

Tesla has been explicitly thanking current buyers of Model S and Model X for doing their part providing cash for this environmentalist project. Elon's earliest statements admit that they can't compete on price as a startup. But they have been driving costs down rapidly and their philosophy as OP stated, is to be the best car available in all senses, and not rely on environmentalist good vibes for sales.

They already did this for acceleration, automation, and running costs. They still have some categories to go. But that doesn't invalidate the suggestion that their philosophy is about feature parity, as opposed to environmental charity.
Did and done.

However, I fail to see why Wikileaks is considered a Fact-checker, or how this pertains to a belief that NO fact-checker is reliable. Are you claiming that Wikileaks is trustworthy and can replace a fact-checker, but isn't a fact-checker? Because that seems a bit circular and oxymoronic to me.

Perhaps if you provided an alternative fact-checker source? The person in my original post has written off all fact-checking period.
Real question: Is battery life a benefit when you're running an OS other than macOS? Doesn't macOS have optimizations that make it better at battery consumption than other OSes?
It's not their duty to fact-check articles for truthfulness... but they could apply some basic vetting to sources they put in people's feeds.

A majority of Facebook-inserted content (ads and Suggested Posts) in my feed is either phony clickbait (complete with blatant copyright violations, e.g. claiming to come from ESPN, People, etc.) or sports merchandise ads from fake fan entities pushing counterfeit goods. Facebook clearly makes a great deal of money from these phonies and feels no incentive to inhibit them in the slightest.
> I mean seriously you would recommend Rust over Go to someone that build api / websites?

Depends on the Web site. I wouldn't particularly recommend either for most CRUD apps.
Same here. Only after login though.
Definitely agree with that. The socioeconomic background does make a difference.

In my city, the schools in the lower economic status did not even have a scouts/guides program and the ones that did were mostly in schools where the middle class/upper middle class kids went to.
Do you have any proof of that? For example: a major reason people in Belgium buy a Tesla is because you can tax depreciate the car at 120% of purchase value, and other cars only at 60-80%.
SUV = built on top of truck body/platform; these are almost extinct

crossover = looks like an SUV, but is built on a car body/platform and thus generally smaller
I think loopback is the framework to go if you are building an REST API. It's very easy to setup and very powerful.
if you have been paying attention to what he says, then you would have heard that he is incredibly against renewable energy sources, especially wind (he has a major grudge against wind farms ever since his battle with them in Scotland)

http://www.wsj.com/articles/trump-loses-battle-to-stop-wind-...

https://www.theguardian.com/environment/2016/jul/22/trump-re...

it is notoriously difficult to pin down what Trump stands for because it really depends on the day and time and situation since he only truly cares about himself and only thinks about what will benefit him. but his pronouncements against renewables and his penchant for "clean" coal, opening up drilling on public lands, fracking, etc. is crystal clear
Equal in terms of generating fear, yes. In terms of causing extinction level events, no.
Two complete power supplies for a MacBook Pro cost more than the ThinkPad my dad is running Creative Cloud and Visual Studio and whatever else on.

With huge financial jump in the barrier of entry with these MacBook Pros, and with my Mac Mini no longer being supported with this release of mac OS why would I (and I suppose many others) still want to touch the Mac ecosystem with even a ten-foot pole?

I think Apple is purposely squeezing the line dry for what they can still wring out before they'll jump ship to what can only be called iOS "Pro".
https://doc.rust-lang.org/stable/std/result/enum.Result.html...
> Can it really be enforced?

Yes, it can be enforced.

For example, in the US. Housing associations have staff that run around in cars taking photos of literally everything. Grass too long - Fine. Bins out outside of trash date - Fine.

This happens daily. I know because I used to live at an HOA.

My point being, hire individuals with cars to keep track of houses. Have photos of non-residency and then impose heavy fine to recoup costs.
>One is non-locality of exceptions. Even gotos but bounded by a function. Exceptions, however...those can take you anywhere.

I've never understood this argument.

Where does `try!()` take you if there's an error? To the caller. If the caller also has a `try!()`, where does that take you? To the caller's caller.

Where does `throw new FooException()` take you? To the caller. If the caller doesn't have a `catch(FooException)`, where does that take you? To the caller's caller.

Edit: Note to commenters: I'm not arguing about explicit vs implicit returns. I do agree that explicit returns are nicer to read and reduce the surface area of a language. My comment is solely for the "Exceptions can take you anywhere" sentiment.
Don't upset the scripters ;).
I agree. The problem is that almost inevitably they end up getting more and more expensive to build and maintain while at the same time becoming buggy ;) It's a difficult battle to win.

I think you need self discipline to keep limiting yourself to an ever evolving subset that is the optimal ROI. This means over time removing tests that don't add as much value any more. Rewriting some other tests. etc. Human nature though is that these keep growing endlessly and become hard to manage just like any other part of software.
Which sounds more accurate?
1. Windows is not compatible with the new MacBook pro
2. The new MacBook pro is not compatible with Windows
?
How Data Failed Us in Calling an Election
A combination of:
- Procrastitracker(1)
- Sent emails
- Updated tickets (company stuff)
- Git/Svn commits
- Everything search updated files date(2)
- Zim wiki journal feature (dump style) Alt - D creates a file for the day(2)

(1) http://strlen.com/procrastitracker/
(2) https://www.voidtools.com/
(3) http://www​.zim-wiki.org/
It is the same stuff, exactly why errors should be values with some sugar for using them instead of a crazy parallel universe. :-)
>And what happens when the voters who took this promise literally find out and demand it?

What happened when we demanded Obama close Guantanamo Bay as he promised?
8/10 of all software projects should never start. It's not just about the outsourced ones ;)
I'm really surprised that this was implemented into law. I remember suggesting it on twitter without hearing anyone say it before a couple of years ago. But I'm guessing what happened is other places might have similar laws.
Eve V crowdsourced laptop receives its final specs and they are awesome
Scale-Out Deep Learning
Thing is he destroyed everything he could touch. He "balanced" the budget by depleting cash reserves, he cost the city a fortune by cancelling projects that were already under-way, and his legacy is a single subway stop that costs $3 billion that we still don't know how to pay for. This is quite an achievement from a man who campaigned against the "gravy train".

It'll take twenty years to unwind the damage he's done, and we're just talking about a city where the Mayor is just one vote, they have very little executive authority.

He didn't have access to the most powerful military in the world. He didn't have a political party backing him up. He didn't have nuclear weapons. He did about as much damage as he could do.
I have my very own anecdotes (based on my own definition of success) - The most unsuccessful people I know work a lot of hours. Don't get me started about my successful 4-hour week friends !
Do we have more information about this? Is Google correct and should we switch to something else?
It bails out of the lamda - https://is.gd/0TT8pr

Lamdas can capture their scope, and you can give them a name, so that might be useful? You can't use named functions (as per fn foo).
That would help.

Another problem is the type of people who would take this job. They must be literate, but not able to find a better job. This will be people with degrees in English, journalism, and similar -- giving a pretty obvious political bias. You won't be getting mechanical engineers, coal miners, patent lawyers, and stock traders.
The only reason I can think of, is you can use a USB-C-to-Lightning cable and use it as a fast charger for iPad Pro.
Trump didnt loose the popular vote yet, until the final vote is counted, it seems CNN and others are still shitting.
That's the point of the "rental" market. It's still real. But maybe I'm happy to rent 2-3 houses for a very low price? I have business in different parts of the city over a week, so that seems like a convenient arrangement. (wink, wink)
Ask HN: Opportunities for pro-bono work democratizing strong encryption
As I'm sure many of you are also feeling right now, I'm worried about the direction the US is taking toward total surveillance and loss of freedoms both on and offline. I'm already making donations to organizations like the ACLU, but I would really like to put my engineering skills to use on a project that could help fight back.

Is there any existing organization whose goal is building and marketing a highly distributed, open source messaging platform with end-to-end encryption, with good enough UI/UX that it's understandable and attractive to the average American?
Terrible title; as others have pointed out, this makes it sound like the Telegram app itself was exploited. Can we get a better title?
How does it determine the search engine queries leading to the page?
This is great but as the author points out - outside of primitives you might as well use lodash.

Also, compatibility for these noon lodash methods are chrome and Firefox.
Is a flat rate fine a good idea in this case?

I imagine an investor keeping his or her $30M mansion just as a hedge against RMB depreciation and keeping it empty will think nothing of the $10,000 fine.
We, as in the US as a whole, didn't. In fact "we" elected, repeatedly, Congresses that actively prohibited it.
Did Facebook's News Feed Algorithm Elect Donald Trump?
Well the author is in Australia so the differences are less significant.
He skipped it because his experience was from being based in Australia or some such. Thus the time zone was roughly the same (or near enough).
Presently one can use MacBook 2015-2016 on Linux only with an external keyboard/mouse. The progress with driver has been made, but it is far from there.