skysight-inc/HackerNews huggingface dataset:
> Denholm Reynholm in the stress episode of The IT Crowd may have been hilarious in London, but he wasn't too far off the mark in Portland.

He wasn't too far off the mark for Reading (boring town west of London, where it's set). That was entirely the point of that episode.
yes, I think it does, it's not a pure functional language so you can break out of functional programming easily ( and accidentally ). But nothing really stops you from doing FP or playing with FP concepts. There's some nice core FP libraries like Ramda for JS. Also we are seeing more and more application libraries that are taking a more functional approach. Could they have used a specific functional programming language? sure... But, I think that might of missed the target audience. Most haskell / lisp / Ocaml / etc etc programmer would be comfortable with these terms already.
> Code is much easier to maintain and understand written in a functional state.

Why is it then that programs written in OO outnumber FP software by 100000:1 or more.
For example most of the software written for iOS and macOS are written in C++, Objective C or Swift. All three are class-based object-oriented languages.

What you say may not be true or may not be very important.
Actually, strong, nationalistic military leaders have been. There're, of course, corrupt, authoritarian leaders that decimated their countries, but those are not unique to Africa.

Muammar Gaddafi was of that strong, nationalistic military type who was very good for his country, that is, until we decided he was too much of an impediment to our interests.
yahoo mail is incredibly valuable -- it's a feeder (clicks and identity) to all of their content sites. It's really one of yahoo's gems. The new owner will probably take better care of it than yahoo did.
Who wants to spend their time re-inventing the wheel? That said, I dont even know what medium is. Most bloggers are using Wordpress, if you look at the statistics of the web, and for good reasons.

Anyone who's serious about creative control is operating their own blog. I think Twitter and Facebook's biggest contribution to social media will be the eventual resurgence of private blogs and RSS.
Martial Law Coming?
HN submission about #DNCLeaks deleted by the mods without making it transparent?
Funny how some people believe software programming is one big problem to solve as a whole, rather than a craft. OO is a one tool in your toolbox. A good craftman doesn't use one tool, he knows what tool to use for which work.
"All the food you need" is in the video. The 12m^2 is a theoretical limit, like the minimum one could do without violating the law of physics. It's not practical.
The king is dead, long live the king! Thinking that a new framework/language/paradigm will solve all your problems is naive. The author should know that if they've truly been programming for decades, as stated in the article.
People were also shocked when Zuckerberg turned down $1+ billion offers. Hindsight is 20/20.
I fully agree that storytelling is an important skill, but boy howdy is that experiment ridiculous. Every time I read about one of these ridiculous studies I wish someone would start an organization for reproducing and debunking bad studies.
Note that Verizon has a division - Product Innovation and New Business - that is run separate from the telco business that you are mentioning.

In recent years Verizon has acquired technology companies EdgeCast Networks (CDN) and upLynk (Video Streaming) which form the core of Verizon's Digital Media Services [1].

Combining these assets with AOL (AdTech) and Yahoo (if the deal happens) gives Verizon an end-to-end platform for the creation, delivery and monetization of content (with focus on video) in the Internet.

Disclosure: I work at EdgeCast and we operate as a technology company, hate bureaucracy and try very hard to innovate and stay agile.

[1] https://www.verizondigitalmedia.com/about/
I think the article answered that, oddly enough - the liars may not have done any actual science, but they told a great story. Apparently that's enough!
Greased Weasel
It's turns out valuations are imaginary numbers that mean nothing?

I once sold a $1 beer to a friend for $2. Let's back-of-the envelope that:

100% markup, $1 profit. If I buy and sell 1 billion beers per year, that's a profit of $1B/year. Ok, so given a 5 year return on investment, that means my beer business is valued at $5 billion.

Nice! Anybody interested in investing please get in touch I'm raising a series A.
Airbnb is not to blame for housing prices in SF. Failure to increase supply is
This sounds a lot like News Corp's purchase of MySpace back in 2005.
Yeah. I'm on Wordpress. One is on Wordpress.com (http://www.jakeseliger.com) and the other is hosted (http://www.seliger.com/blog).

IIRC, a while ago someone analyzed all the frontpage posts from the last year, and Medium wasn't particularly represented.
Yahoo! didn't lose anything, only its investors did (as it paid with stock, not cash)... But then, they would have lost a lot anyways, because the whole market was overvalued.
A way to avoid clichés
The problem people have with this whole 'storytelling' thing is actually finding stories. I wrote a book called Hooked On You that shows you where to get stories from, and how to attach your message to them. It's on Amazon, or free on Leanpub: https://leanpub.com/hookedonyou
Usually not a fan of flavoursome language here but in this case it's apt.
I work in a group of teams that is mostly new college grads and nobody has trouble writing pure FP business logic in Scala. We don't go as far as doing pure FP for all effects though (although we are starting to do that more as well)

If we can do it, so can everyone else ;)
I'd love to see a dance-off between pg and a smalltalk advocate.
Since the elastic modulus (slope/derivative of deformation vs stress graph) the energy absorbed is not necessarily very high even though you can get high deformations (multiple 100%, compared to 30% or so for soft steels).
People are weird. We pretend that people just recently got weird, that weird came out of the 60s/70s. No, people were always weird, and they have done weird things for a long time.

Skeletons covered in jewellery, and well maintained? Weird. Incorruptibles are in the same vein [1]. Also weird. I love this weird as much as recent weird. Cthulhu mythos, Warhammer 40k space demons, Dhali's long legged animals, all weird.

But people get hyped about this stuff like it means something. No, its just another time's weird art.

[1] http://www.slate.com/blogs/atlas_obscura/2015/08/14/photogra...
Parent did not say Facebook itself is one of the most active members of the React team. They know Facebook created React.

They say that Dan, at Facebook, is one the most active members of the React team.
Fastest way to start a React project – Tooling Tips
> How did the other thread get the reference to the object? The only possible existing reference is the one we are using to decrement the shared counter.

I don't think this affects the point you're trying to make, but I suppose you could have three threads, where the logical operations are:

ThreadA:
obj = x->field_a;

ThreadB:
x->field_a = null;

ThreadC:
x->field_b = null;

with both field_a and field_b pointing to the same object initially. It does not affect your point, since ThreadA and ThreadB are now racing.

> Decrementing is done when the reference itself is being dropped (set to null or to point to a different object), which is a logically mutating operation (remember that only the reference count updates are atomic, the operations on the references themselves are not), thus no other acquire operation can be happening concurrently or it would be a data race.

It depends on your programming language. In Java racing on field updates (at the Java level) is well defined (but is allowed to return counter-intuitive results to some degree). That is:

ThreadA
int k = obj.field.hashCode()

ThreadB
obj.field = someOtherValue

is defined and is not allowed to have arbitrarily bad effects like crashing the VM. This is different from C++ (where these kind of accesses are UB, as you seem to imply). Generally, I think for high level languages it is better to have Java-like semantics where even racy accesses have some guarantees.

For C++, I can get the same Java-like guarantees by using `memory_order_relaxed` loads, but I suppose it is defensible for an atomic `shared_ptr` to have a complex refcounting protocol even for `memory_order_relaxed` loads and stores.

> Any concurrent operations on the reference itself must be synchronized via external means, usually a mutex.

Not sure how you're using a reference here, but if by "reference" you mean "a location in the heap" then that does not apply for Java. I personally tend to use "reference" in the same way as "pointer".

> Of course concurrently mutating distinct references which refer to the same object/ref count is fine. edit: rewording

edit: formatting
At least you know what documents are retained, and in what form, and for how long, and you can plan around that. With all these free services you can only assume the worst.
"That picture of the guy kissing the passport? I bet that wouldn't be happening if it were a meaningless non-milestone."

Somehow I doubt that that individual has any trouble obtaining whatever documentation is necessary to travel on official business. Short of some sort of political-spat between countries, all approvals for diplomats is probably rubber-stamped as soon as the details are confirmed/verified.
Not really unhappy that someone cheats on husband who keeps tabs on family internet habits (to the point of analyzing http traffic destinations) and then has no reticences to running forensics on wife's computer.
Look at https://news.ycombinator.com/from?site=washingtontimes.com with showdead on: washingtontimes.com is apparently banned entirely, the comments in last submission before the block tear into how their reporting is crap (possibly the reason?). Maybe it would make sense to split bans into spam (don't want to expose that) vs non-spam (show reason)

You could just ask dang & co, their e-mail is in the footer.
People who fail at lightning protection like to claim nothing can be made lightning proof; their either pedantically correct that you can only reduce the rate of damage by a factor of a million or so which is usually economically useful, or they're bad or non- engineers and they don't know what they're doing.

I've noticed that. There are many antenna towers on mountaintops and high buildings that routinely take lightning hits without damage. Solutions are well understood.[1]

What seems to bother some people is that the parts for lightning protection are so massive. You need big grounding rods, heavy copper cable, and big spark gaps to handle the lightning current. Everything else in the system is miniaturized. Lightning protection components look like 1920s technology.

[1] https://www.timesmicrowave.com/products/protect/downloads/mp...
Even state is easier when modeled purely though imo. Especially once you have to backtrack and rollback state. If you use pure state, it's trivial. If you don't, gl!
Wait?! is that really how this works? What if people want to keep owning the online part of the business? Are they hooped? Seems like you could really royally screw shareholders like that (i.e. sell all the good parts and leave shareholders holding the bad parts).

Their share price is about 39 USD right now, that means they sold off a huge chunk of the biz for 13% (5.27/39.38 = 0.1338) of the stock's current valuation, right?

Forgive my incredulity, I genuinely didn't know how this kind of thing worked.
Could not agree more, fantastic tldr; of what's new and what to expect
You should look at the average, not cherry-picked benefits. Sure, every continent has had authoritarian leaders who did some good.

But the average dictator just exploits their population to enrich themselves and sets the country's development back substantially. (That being said, I don't think the US should be getting involved at all. Establishing good governance is Africans' own responsibility.)
This. Much of the content available for streaming is produced by the same people making content for linear TV. The rights get sold to the highest bidder when they are sold. There are lots of other deals and structures (exclusivity, paying for the right to buy or pass on all future content a studio might make, strategically holding onto rights until later, windowing, theatre rights, SVOD rights, retail, etc etc), but the industry doing the production hasn't changed that much just yet.
Indeed, KN is absolutely awesome.
I read it slightly differently. The author has an internal notion of what "good" programming is, that appears to contain the concepts "compact", "correct", and "uniform".

For compact, a "good" program converts the expression of intent (the source code) into the execution (executable) into a package of data in which both statically (being loaded, being resident) "good" is defined by the minimum use of resources, and dynamically (while running) it minimizes its resource usage (and thus is "fast").

For correct, a "good" program works the same way every time you compile it and run it. Good in this case would be systems which notify you of changes which can affect the existing compiled code.

And for "uniform" the same syntax or tools are applied in the same way for all idioms. "Bad" here is the number of special cases that have to be accounted for (or inversely good is the lack of special cases).

As he wrote, the "promise" of the object oriented approach to programming has not been fulfilled according to a set of criteria that the author came up with internally. That sums to an opinion of dislike based on an internal metric.

That said, since I share what seem to be his unidentified metrics for "goodness" I found myself agreeing with his statements. I recognize though that there are many metrics which others may choose to rank more highly than those so rather than "failed promise" I'd characterize it as "It hasn't worked out to provide a better solution for me."
They have banners, search ads, content ads, and native advertising. Some of their inventory is served by bing, so if you use both bing adcenter and yahoo/gemini, you may be competing against yourself.

But I just launched a yahoo/gemini campaign 2 weeks ago, for leadgen on web. They definitely have more than banners.

(Also, I've found banner ads can refer to either the format [728x90 graphic] or the model [pay per view/CPM/CPV]. They offer the gamut just like everyone else, even the small shady players.

To say that yahoo just has banners is very incorrect.
>Not merely a world where politicians and media lie – they have always lied – but one where they don’t care whether they tell the truth or not.

>How did we get here?

This whole article is based on the false assumption that we ever lived in a fact-based world. Before recently people never had accurate and cheap means of data recording and information sharing that let them look behind the curtain and realize that they have been lied to all along. From the Lusitania to the Gulf of Tonkin to the USS Liberty to WMD in Iraq, history is built on lies and distortions. The internet allows people to get occasional glimpses behind the curtain, which is one of the reasons restricting the internet and stifling free speech is the dream of dictators from Beijing to Moscow to Washington DC.
"Her choice of email address for the shared account raised alarms on my firewall"

That's a pretty serious firewall you have there. Assuming that s/he was not using encrypted smtp and imap or pop, then you still have a L7 filter that reads and logs email addresses and alarms on them. Now it is unlikely (to me) that you would have a whitelist of acceptable email addresses with which to alarm. I can think of a few other things you might have done to trigger alarms and all of them are pretty distasteful.

So I will conclude you simply violated her civil rights and spied on her.

I feel sorrow for you, genuinely, that you have had a relationship problem but I suspect that it would have been easier to find out what was going on in the various old fashioned ways, rather than farting around with IT and being a bit creepy.
The "unlimited" is mostly branding, like gmail's unlimited email storage. In practice, professionals like myself simply don't have the time to bug you at all hours of the day. I have a dayjob and maybe an hour I could devote to math every weekday. So worst case you'd receive 1 question a day...usually far less. Moreover, students tend to ask the same questions, so after the initial phase you can simply redirect most queries to preexisting URL. Also, you as a professor don't have to chime in for everything - have a graduate student preprocess the majority of the questions and you attack the harder 10%.
Its definitely feasible. Chegg does something similar - what's missing is the quality and rankings
SF teachers struggle amid costly housing
As Chinjut already pointed out, procrastitron got it wrong. So let's set things straight.

1. A problem is in NP if it is a decision problem and polynomial time verifiable proof exist if the answer is yes.

2. A problem is NP-hard if every problem in NP can be reduced to it in polynomial time.

3. A problem is NP-complete if it is NP-hard and in NP.

Things to note. NP is about decision problem, problems with a yes or no answer. Finding the shortest travelling salesman tour is not NP-complete, it is not even in NP, because it is not a decision problem. And even ignoring that it is not a decision problem, there is also no polynomial time verifiable proof. You could show me your solution but how would I verify that it is indeed the shortest tour without computing the shortest tour myself and comparing it with your solution?

The decision version of the travelling salesman problem - exists a tour with costs less than X - is in NP. It is a decision problem and as proof you can just show me the tour and I can check that it is a valid tour and has costs less than X in polynomial time. Further if there is no tour with costs less than X, then you don't have to be able to proof this to me, only if the answer is yes. How would you proof to me that there is no tour with costs less than X? Decisions problems with proofs if the answer is no are in co-NP. A problem can have proofs in both cases, then it is in the intersection of NP and co-NP.

A problem is NP-hard if you can reduce every problem in NP to it in polynomial time, i.e. if you can solve a NP-hard problem, then you can solve all problems in NP with at most a polynomial slowdown. In other words NP-hard problems are at least as hard as the hardest problems in NP. A NP-hard problem is not required to be a decision problem, does not have to have polynomial time verifiable proof, it does not even have to be decidable.

Finding the shortest travelling salesman tour is NP-hard and an example of not being a decision problem and not having polynomial time verifiable proof. But if you can find the shortest tour, then you can trivially solve the decision version of the travelling salesman problem which is NP-complete. A problem is NP-complete if it is NP-hard and in NP, i.e. NP-complete problems are the NP-hard decision problems with polynomial time verifiable proof if the answer is yes.
I don't see the word "toxin" anywhere on that page.
I lived and cycled in London for several years.

Don't think about cycling on the roads you usually use, which are presumably the big ones you drive down or take the bus down.

Look for the parallel roads, which are smaller and little used by cars. For instance, I used George Street and New Cavendish Street instead of Oxford Street.

Or a different example, look at the roads south of Fulham Broadway Station, and see that the small ones are blocked for cars but allow cyclists to pass.

TfL print free maps with the nicer streets marked.
While Flickr has decent export tools (you just get your photos without tags, descriptions - literally anything else), Tumblr's have always been non-existent aside from an unofficial, macOS-only tool by Marco whose download link (https://marco.org/2009/12/10/the-tumblr-backup-app-is-ready-...) no longer works.

Anyone recommend a Tumblr export tool? The best, as far as I can tell, is jekyll-import (http://import.jekyllrb.com/docs/tumblr/), but I'm running into errors and getting weird results.
This article makes the same argument but with better reasoning: http://www.smashcompany.com/technology/object-oriented-progr...
https://news.ycombinator.com/item?id=12154528
CRIU is definitely neat, but can someone tell me what the use case is for it? Perhaps more specifically what is the use case in the era of microservices and designing for failure?

Has anyone used it for anything non-trivial?
I don't know about other people, but there's a number past which I do not care. N > 10^7 in my pocket after tax, I'm out, regardless of circumstances, regardless of ability to earn more. No ragrets.
Yes, that's how it works.

When you sell part of a business, the owners of the business (the stockholders) receive their share of the proceeds. Management (the CEO and other senior leaders) is hired by the stockholders to negotiate these sorts of deals (among other things). The stockholders are always free to fire management for poor performance if they don't like what management is doing.

You are correct to note that Yahoo's actual business represents only a small portion of the value of the company at this point. The majority of the value of the company is Yahoo's holdings in Alibaba and Yahoo Japan (a similarly named but completely separate enterprise).

Frankly, I'm a bit surprised that they managed to get $5B for their core business. I think YHOO shareholders are getting a pretty good deal here.
One question this article doesn't attempt to answer is why doesn't this "everybody lies" narrative work in an infinite loop? Putin makes a lie, his opponents call out the lie, Putin says "but everybody lies"... why don't his opponents point that back at him, saying, "You, being everyone, are lying now!" Is there a drop off of interest? Can people not follow beyond the first circle of blame? Or do people follow as far as they need to for the blame to land where they already want it to land?

Was it always like this? I hear a great deal about how things are getting "worse", but throughout human history, hasn't it almost always been the case that the people in charge defined truth? From Hammurabi, the Pharaohs, the Athenians (with a brief stop in democracy), the Romans, the Holy Roman Empire, the Ottoman-Turks, and now the Americans, hasn't power always lied? Why do people expect this not to be the case?

For us to be living in a post-fact world, don't we have to have lived at one point, in a fact world? I'm not sure we did...
So it seems like the logical thing to do would be to create a study with better construct validity since it seems you don't think my evidence is any good and you definitely don't have any of your own.

If we're both just throwing around opinions this is no different than arguing tabs vs spaces. I've noticed that Typescript tends to be embraced by teams with lots of subpar enterprise Java developers with limited knowledge of Javascript. The same is also true of Angular, so it's a good fit here, but it's more for mitigating a lack of personal knowledge and organization standards than a general benefit.
I believe China has a rule similar to this.
I use a trello board or a TODO file
Are you serious? I'd rather fight my enemy to the death than let him know anything about me. The less he/she/it/they knows, the better.
I'll be around on and off if anyone wants to discuss, although I hope it is a fairly uncontroversial post. Since so many Rust folks (including myself) come from non-native code, I think it's good to take time to document the discovery process as it pertains to Rust and ideally make it easier for future programmers to pick up.