skysight-inc/HackerNews huggingface dataset:
Lets all take a midday break and appreciate our eyesight
Spring Cloud Pipelines
> the useless do at the end of almost every defsomething declarations (the compiler should get it by itself.)

That's actually one of the things I personally love about Elixir relative to other Ruby-like-syntax languages (including Ruby itself). Sure, it might technically be extraneous and unnecessary, but it's a nice bit of consistency. Why shouldn't def and defmodule and what have you not be ordinary statements that take a block as an argument?

This is, in fact, consistent with the 'def foo, do: bar' shorthand format in Elixir (and related shorthands like 'if foo, do: bar, else: baz'). No need to have a bunch of different statements that can start a new scope when it's just three more characters to throw a ' do' at the beginning of each of them. Consistent and clear.
You can even use VS Code to get a IDE like debugging experience with it.
This is one of their website's reverse proxy/LB IP's: http://170.149.159.130 (empty content currently)

nytimes.com.	500	IN	A	170.149.161.130
nytimes.com.	500	IN	A	170.149.159.130

www.nytimes.com.	500	IN	CNAME	www.gtm.nytimes.com.

www.gtm.nytimes.com.	IN	A (((nothing)))

;; AUTHORITY SECTION:
nytimes.com.	300	IN	NS	ns2.p24.dynect.net.
nytimes.com.	300	IN	NS	ns3.p24.dynect.net.
nytimes.com.	300	IN	NS	dns.sea1.nytimes.com.
nytimes.com.	300	IN	NS	dns.ewr1.nytimes.com.
nytimes.com.	300	IN	NS	ns1.p24.dynect.net.
nytimes.com.	300	IN	NS	ns4.p24.dynect.net.

UPDATE 0: Back online as of 5:16 am EDT, must've been a migration/small attack.

UPDATE 1: uptime.com says currently down when it's actually up, maybe related to DNS propagation / GeoIP / long-distance monitoring.
> I'm slightly taken aback that London bus thinks cash is no longer worthy as every time I've been on a bus everyone pays cash or has weekly pass.

Paying cash on the bus substantially slows down the bus. It makes sense to get rid of that transaction.
> Sweden is one of the most cashless societies and they seem far from expressing authoritarian traits.

I believe this is because of a critical fact about scandinavian countries:

People trust the government, and by exchange, the government makes themselves trustworthy to the people.

It seems to me that people in the US has a deep distrust for the government. This may be because the government there is less trustworthy to start with, but I think it also goes the other way around. It creates an "us vs them" mentality which makes politicians and government workers have less respect for the people they serve.

I do agree with some of the points of the OP though. We shouldn't need some bank AND credit card company to stand between us and payments to other people and the government. Before we make the switch to cashless, we should have some kind of cryptocurrency. I don't care if it's created by the government, and that new currency is injected by them according to their monetary policy. I don't care if the government can see how much I have in that currency, as long as only they can. All I care about is being able to settle payments without being dependent on a bunch of private, opaque bank and payment companies, and their opaque infrastructure.
> Trump is the first non-openly homophobic candidate from either party to run for president

You believe it's a good thing that he's homophobic but not open about it? So he denies his homophobia in public, but hates gays in private anyway. And chooses Mike Pence as his running mate. You call that progress?

Next you're going to tell me that gay people can't be homophobic or act against their own self interest [1], like you appear to be doing. Good luck overcoming your own self-hatred, and achieving your own Sister Souljah moment.

[1] https://en.wikipedia.org/wiki/Ken_Mehlman
Hence the 'platonic language ideal' that the author speaks about in the last paragraph?
Cash sucks. One of the annoyances of having just moved from SV to Munich is that credit cards are often not accepted and you need to use cash. In the bay area, I used cash only very rarely, and it was glorious.
Finding the Best Project Management Tool
It's worth noting that Erlang gets a lot of that weirdness from its progenitor language, Prolog, where arguably some of that stuff makes more sense. For instance, the =:= operator is an equality operator that forces arithmetic evaluation, unlike = which is just used for unification. In Prolog, this is a fairly crucial difference ("1 + 1 = 2" is false in prolog, while "1 + 1 =:= 2" is true) and there needs to be language constructs that make the distinction clear. Given that, having different operators is a sensible solution to the problem.

On the other hand, it's arguably true that Prolog has an over-reliance on a massive swath of operators. All of these operators represent some variation of the concept of equality: =, ==, =:=, =@=, #=, and "is". The differences make sense if you're deep into Prolog, and it's rich capacity for designing new operators is arguably a strength of the language, but it's clearly an obstacle to beginners.

I absolutely adore Prolog, but it's a real shame that development of logical programming basically stopped with it. It would be as if functional programming never properly progressed beyond early Lisps. Its a shame that Erlang borrowed so much of its syntax, when the syntax is clearly not its strongest suit (though it fits Prolog better than Erlang).
Share and uncover the world – everyday
https://www.facebook.com/DropByAppOfficial/

DropBy is where you explore and uncover life in cities and places all over the world - in 3 unique ways - through photos and videos

Story - See what is going on in any city across the world, share experience and places around you!

Feed - Share and connect with people in your local area!

Match & Connect with awesome and like-minded people around you!

We would love to reach people over the world to make this real and also get feedback for our beta release.
The article talks just about prices, not about who's paying for it. If your company pays for gas, but you pay for electricity, then for you obviously gas is cheaper. But that's a very specific case.

Also, a Prius is a hybrid, and not meant to be used as a fully electric vehicle (or it would have a bigger battery).
No matter what the written policy says, they will have to tolerate threats of violence done in the name of political correctness. I remember the huge Twitter outrage from the well-connected social justice activists in the tech community driving policies like this when Twitter banned someone for threatening violence against a celebrity in the name of social justice, the anger that Twitter didn't understand this was important activism, forcing them to back down. It's politically impossible to act otherwise. Even Twitter probably only broke the unspoken rule by accident - a bunch of conservatives subsequently sent the same person threats, and most likely someone didn't bother checking everyone's political affiliation before banning.
> You cannot be serious. I have no sympathy and absolutely pure hatred for white nationalist nazi types on Breitbart. That is justified. I can't wait for all the racist old whites to die out in 3 to 4 decades resulting in world peace.

Man you should read your own writing. You admit to being full of hatred and can't wait for a certain race of people to die out. Sounds about as bad as something a Nazi might say (oh if only a certain group of people was gone, the world would be perfect!!!).

And who said anything about Breitbart?
This already happens. On the estate I grew up the base currencies people traded with were sexual favours, soft drugs, and stolen bicycles.
Except the occasional phó shops that still refuse to use eftpos for some unknown reason. They're the bane of my life - I feel like Viet but have to walk to Woolies to draw cash :S
Sorry for replying so late.

Your findings have to be accepted by the others. If they're not accepted it's like they don't exist. Think of all the great theories that didn't take off at first, because nobody accepted them (for various reasons).

When you attack someone, they are less likely to listen to you, even if you are offering valuable feedback. They care about saving face, so they will focus on defending themselves.

I realize this can be frustrating, because it means truth doesn't always prevail. However, it's what we have to work with, our emotional brains.
My wife went through a rough patch a little while ago and decided she was depressed. She had no problem getting SSRIs prescribed by the doctor.

She says as soon as she started taking them, she instantly felt better. No more randomly bursting into tears.

But, she is no longer the wife I had. Her conversation is so slow. She regularly forgets what she was talking about, repeats herself. Basic chores are just forgotten about. She drinks more than ever, has started smoking. Her diet is awful. If she can be bothered to eat it is probably a chocolate bar at lunch time. She has gained about 4 stones in weight.

She never took up the counselling that she felt she needed before starting on the SSRIs.

She tried cutting down on her medication a little while ago, but this made her incredibly paranoid. So instead she has had to increase it.

All I see from it is an ever decreasing spiral into ruin.
I think it's because most people have no idea how to use semicolons in natural languages too.
Are you sure it was BA's decision? Seems rather unlikely to me, as no-one is going to continue to book a flight when the price has just doubled, especially when you've just come from a price comparison site and one press of the back button will show all the competitors.
This is perhaps getting a bit Luddite but in other news:

"""
if you suffer a psychotic breakdown, your odds of complete, treatment-free recovery are much, much better if you are treated in a third-world country that cannot afford psychotropic medication
"""

https://aeon.co/essays/treating-acute-psychosis-with-drugs-c...
Clearly this guy hasn't heard of something called precious metals, art, diamonds, blah blah blah
Watching the events from Europe, the thing about USA and democracy is that it's blatantly obvious how bad things are, all while your media and governments are acting like everything is great and USA is the greatest country in the world. Nobody acts like things are great in Russia, Nigeria, or Congo.

USA is living a lie that hurts almost all its citizens on a daily basis, and there is nothing the people can do. USA might be a democracy but there is no power in the hands of the people anymore. The choice of continuing this corrupt, broken institution is what Hillary represents. Massive change that might break all kinds of stuff world wide because of the crazy that he is, is what Trump represents. I don't think anybody but the people benefitting directly want those two as candidates, but there is nothing anybody can do about it. The people of USA just have to take it, all while being lied to by the very people that should be working for them but obviously aren't: the media and the government.

Yeah, worst democracy in the world is probably on point, in my opinion.
CoreDNS is very cool. You can try it without any downloads or configuration using a Katacoda interactive scenario at https://katacoda.com/courses/coredns/dns-responder
Actually, Ubuntu 16.10 is listed as not-affected (4.8.0-11.12).

The "needs triage" you're seeing for Ubuntu 16.10 is for the "linux-goldfish" and "linux-flo" kernel packages for specific android devices.
> it's something used by Erlang Syntax only.

Well... and English syntax. In English, you can specify a list of things by separating each thing with a semicolon and then a sentence is terminated by a period. Example:

> Today I would like you to buy coffee; talk to Sarah about the party if you can, otherwise send her a text; drop off the kids; meet me at soccer practise.

You see how the sentence is terminated with a period, each individual item in the list is separated by a semicolon, and the comma is free to use inside each item to indicate related clauses. I've changed nothing about the structure of that list, except replaced the items with function definitions.

> Today I would like you to define f(m, n, r, 1) as f(m, n, remainder of m divided by n, 2); f(m, n, r, 2) as n if r is 0, otherwise as f (m, n, r, 3); f(m, n, p, 3) as f(n, p, p, 1).

It's the same thing, only we've replaced the mundane everyday tasks with function definitions. Now reformat the thing and we get

Today I would like you to define

f(m, n, r, 1) = f(m, n, remainder of m divided by n, 2);
f(m, n, r, 2) = n if r is 0,
f (m, n, r, 3) otherwise;
f(m, n, p, 3) = f(n, p, p, 1).

Sure, Erlang syntax happens to coincide with the syntax of English, and I'm not sure whether this was intentional or not, but it certainly has nothing to do with Knuth.
The use of students in SE research is a hot topic, see, for example Fietelson's review: https://arxiv.org/abs/1512.08409.

Practitioners have a problem recruiting subjects. There is often a tradeoff between applying more rigorous experiment design and using convenience sampling (students) versus sacrificing controlled environments (so that professionals would actually join the study).

It's easy to condemn work like this but there's no other option. In this case the researchers chose to replicate a study (which often risks similar ire for telling us nothing new) with a commendable level of rigour and have provided more evidence that, for the scope of experiments we can construct that TDD is probably no different to TLD when using a population of relatively unqualified developers (students).

As to the problem being trivial, what else can be done? There's a finite time you can ethically expect participants to give to you, even if you pay them. If anything the criticism of this work is better directed at the limitations academics are forced to bear.
With "verbose syntax" F# (just like OCaml) uses ";" as a generic separator and ";;" for ending top-level definitions. It uses "." for attribute (of modules, objects...) selection.
The goal of the study was not to measure if testing is valuable at all, but to measure if there is any difference between TDD and TLD. I think no-one questions the value of testing per se.

As for your points why TLD is theoretically worse:

1. "in TLD tests just don't get written" - this is a dual argument to "in TDD the code just doesn't get refactored". After tests are green, there is no motivation to do so and it feels like a waste of time (if it works, why change it, right?)". I think the latter is much, much worse for longevity of the project than low test coverage. Not enough coverage doesn't mean automatically bad structure of the code and you can always fix that by adding more tests later (and maybe fixing a few bugs detected by them). But writing code quickly to just make the tests green and then not doing refactoring quickly leads to bad structure of the code very quickly. Whether you chose TDD or TLD, you need to apply some discipline: in TDD to refactor often, in TLD to keep high test coverage.

2."tests written after code tend reflect what was implemented, not necessarily what was requested" - a dual argument for this exists as well: "code written after tests tends to reflect the tests on case-by-case basis, not necessarily the minimal general solution covering all possible inputs that should be the true goal of the implementation". Whenever I hear the argument that tests help write better code I always remind myself a famous Sudoku Solver written by Ron Jeffreys, TDD proponent: http://ravimohan.blogspot.com/2007/04/learning-from-sudoku-s...
I also saw that happen in a few real world projects - the code written after tests was just a giant if-else (or switch) ladder handling each test case separately. Bad, bad code, additionally missing a few important cases. And the most funny thing was that after seeing this during the code review, I rewrote the implementation in a more general way, got two tests failing and after investigation it turned out the tests were wrong and the code was good. Lol, verifying tests by implementation :D

3. Tests are not as a design tool. Tests are for... testing. They are often a reason for over-engineering and over-abstraction that makes the code more complex and harder to read. See FizzBuzz Enterprise Edition. It is definitely testable to death.
Add:

> Active malware or exploits

Metasploit has been hosted at GitHub for few years and they never seemed to have a problem with that. Are they going to kick them now? Why should they care?
And a passing test is a guarantee for a working feature across an entire platform. Every. Time.
There is Wireworld: https://en.wikipedia.org/wiki/Wireworld

And a really elegant esoteric language called Funciton: http://esolangs.org/wiki/Funciton
Pixel perfectly presents Google’s messaging app disaster
I can't see myself using this regularly, but I can see the value for many people. I can definitely see some value in being able to try stuff out from the browser.

Honestly, having to setup and configure your environment and tools is tedious. When you're unfamiliar with the ecosystem, it can take you pretty long to get everything up and running. I think this is more approachable for the average person.
I am co founder of Biplug
www.biplug.co.kr
1. That Guantanamo discussion was a continuation of the content came right before.

2. I started to argue that everything was legal re Guantanamo, as a reply to the moral claim.

https://news.ycombinator.com/item?id=12736070

Others started to claim weird illegal content in US law, until me and 'ptaipale' dug up the relevant Geneva conventions and decisions by the US Supreme Court based on them.

(But sure, a relevant answer to me might have been "I don't care about the law or if my way gets more people killed or not -- this is my personal moral and I'm ready to let lots of others suffer and die for it.")
Pixabay – 770K+ free high-res stock photos/vectors/video you can use anywhere
> Pretoria: Capital of South Africa

founding a city to start your own University sixty years later to publish a paper another hundred years later, that's what I call the long-con.
That used to be my attitude too.

However the experienced programmer will be very happy when they don't have to re-test all of the old functionality manually after a large re-factor of some core code.
Take her to a competent psychiatrist, maybe one that practices in a hospital. I've never come across a symptom/side-effect profile like that before. But at least some of them (I am not a psychiatrist etc. etc.) hint at bipolar disorder.

One of the (unfortunately common) ways people learn that they have bipolar is by being mis-diagnosed with unipolar depression, being prescribed SSRIs, and suddenly finding themselves experiencing 'dysphoric mania'. Not the "everything's great, let's have sex with random strangers" type, but rather the "let's destroy every piece of furniture in the house" type.

But I don't know your situation other than what you've described, and I'm definitely not qualified to tell you what to do. The best I think you can do is to get a second opinion from a competent psychiatrist.
HH
HHhH
>True, but there is the exception of Boston.

Or NYU, Columbia, University of Chicago, UCLA, King's College, London School of Economics, the Sorbonne
I'm not saying I agree completely with the actions taken - but they still hold up far better under the 'who do I want making the decisions' test - the person who at least tried to make a good call, or the person who wants to make a clearly terrible one.
Please come to feel our creativity
Really you can use semi-colons on a sentence and then end the sentence with a period? And I thought I had learned something during all my years studying linguistics and grammar.

BTW, newsflash: many languages use semi-colons inside sentences. Spanish for example, which could be argued to be older than English. So did Erlang copy Knuth, or Erlang actually copied El Cid Campeador? I think Erlang comes from El Cantar del Cid.
This is a subject I know well, not only as a multi-decade prescriber of antidepressants, and many other classes of medications for health/behavioral problems. I've also been prescribed such medications for my own conditions, so you could say I have a unique perspective, know the issues coming and going.

Of course antidepressants can cause side-effects as do all other types of drug treatments. It's inevitable, medication effects are extremely complex and unpredictable as interaction with body systems covers a huge gamut of possibilities. Furthermore, most effects of drugs haven't studied even when they are known and a great deal more is not known than is known.

Also bear in mind that drugs in the form prescribed may not be the the chemical that produces the biggest therapeutic effect. This is the phenomenon of active metabolites which are often the drivers of favorable and unfavorable effects.

So we see how quickly these factors yield immense complexity and the reason behind the fact that drugs often have a huge array of side-effects common and rare.

BTW a side-effect occurring in 1% of recipients is considered a common adverse event. 0.1% is infrequent. Maybe 0.01% is getting rare, but definitely not implausibly drug-related.

The bottom line is that taking several drugs even one at a time for more than a few days means there's a surprisingly high probability of have an uncommon or rare side effect. It's happened to me a handful of times, including a couple of pretty serious reactions.

Interesting when I tell my physicians about these reactions. There's a certain look they get on their faces, like "what are you talking about? You're kidding me, that really didn't happen, did it?" Well, yes doctor, it really did, as though I wouldn't know a bad reaction when it's there or I just made the whole thing up.

This is perfectly consistent with what patients reported to me over the years. A long time ago I'd come to believe that people weren't making stuff up, unusual side-effects are ultimately an everyday reality among patients and all reports of AEs must be taken seriously, exactly my policy I put into practice.

Remember this little rule, it will save everyone a lot of trouble: any drug can cause any side-effect at any time.
Rate limiting is relatively pointless. Attacks are just spread out over enough DNS servers so the rate limit isn't exceeded on any of them.

Even without rate limiting attackers will spread it out because too much traffic coming from one DNS server can be easily blocked at the network level.
The thing about the beginning of Vol 1 of TAOCP is that it begins with the "mathematical preliminaries" which is among the most difficult things in the book (aside from some of the more hard-core analysis). Like, his description of heap-sort in Vol 3. is easy enough to follow, but fuck man, generating functions are hard!
And what do you do to browse the web?
Mostly the comments sections of news aggregator sites like reddit and HN. I figure actual news sites are about as valuable as refrigerators in Antarctica at this point; if I'm going to get decent information I really am better off with quantity over "quality".

I'm only half joking here, too, which is the saddest part. Every article ends up being eviscerated by the comments section because of some bias in one direction or the other, so I might as well just cut to the chase and watch the actual discussions unfold.

Also, forum.nationstates.net. For the uninitiated, it's the forum for an online political simulator; unsurprisingly, it attracts people who actually study politics or are otherwise psychologically invested in the political world, so it's interesting to see the perspectives of people who may or may not actually be experts in political science. Sometimes they seem to just enjoy politics for politics' sake, though, which gets fascinating in the same way that a train wreck is fascinating.
Most popular Mascarra auctions