skysight-inc/HackerNews huggingface dataset:
It's a bit different in Swift. Kotlin lets you omit the parentheses if the closure is the only argument to the function. Swift lefts you place the lambda outside of the parentheses if the closure is the last argument to the function. That lets you construct a much larger variety of control-structure-like HOFs. Event handlers, for example, often take a functional argument plus a bunch of other data.
Did you read the article? Men in China institute the vast majority of divorces, and they usually keep the house (even if the women helped pay for it), the children, the money, and the higher earning potential. This isn't women unfairly taking all of men's resources, this is women being left homeless when their husbands find another partner.

In contrast, men in the US get custody as much as women when they pursue it. And while I won't argue about the exact proportion of money that is kept by the man and the woman, neither party is left homeless and jobless.

So your comment seems like a false equivalence to me. Furthermore, even if the Western situation is biased against men, that doesn't make China's system any more acceptable. Two wrongs don't make a right, after all.
The most bizarre technical interview I went on
For example, many of the moral dilemmas that get tossed around as interesting become trivial to answer once you give a mathematically rigorous definition to words like "good", "moral", "utilitarian" or whatever.

Yes, but the while the conclusions become trivial, actually coming up with those rigorous definitions is not.

I'm not going to provide examples because they are likely to start a flamewar. But if you search for words like "normative" or "core principle" in my comment history, you can see how difficult it is to actually come up with those rigorous definitions. The problem is that when you do, you either come up with unsatisfying arbitrary definitions, or else you wind up implying peripherally related conclusions you probably dislike.

Yes, I am definitively guilty of being "highly mathematical" (and also highly economical and philosophical), and it pushes me to recognize incoherence in mainstream "thought".
A composable pattern for pure state machines with effects
You're overselling your point. For example, in the 2016 presidential primaries, many of the candidates were using their first names preferentially: Hillary, Bernie, Jeb, Rand, Carly. Of course, some candidates focused on their last names: Trump, O'Malley. And others used their full name: Ted Cruz, Ben Carson, Marco Rubio.
Then we'd have companies like Amazon that refuse to pay a dividend indefinitely.
Well, yeah, but why would I write a new interface, when Synfig is already there and, to some extent, comparable to Flash?
If it's absurd, please explain p.26 of https://snowdenarchive.cjfe.org/greenstone/collect/snowden1/... where we see the USS Annapolis being used for interactive operations ("Connection via: NEPTUNETHUNDER, BLINDDATE/HAPPYHOUR", "Successful exploits at 4, 6, ad 8 NM with 4 watt access point") and for man-on-the-side operations ("Inject using BLINDDATE/NITESTAND", "Successful inject at 4NM to 100mw client computer").

Or to p.27 with a flowchart of the "Afloat Computer Network Operations", which uses Fleet Comms to connect to the Annapolis, which connects to a set of antennas?

You wrote "subs won't be at the center of the flowchart", but the sub literally is the closest box to the center of that flowchart.

(This is from an April 2012 document which is part of the Snowden leak.)
What if we combine this with AI?
Things don't need to be moral agents to be good bad or evil. I had a good bath and a bad haircut but neither of those are moral agents.
> The nearer to the surface you get, the more protection—armour—you need to withstand potential disturbances from shipping. Trenches are dug and cables buried in shallow waters coming up onto shore. At greater depths, though, areas such as the West European Basin, which is almost three miles from the surface, there’s no need for armour, as merchant shipping poses no threat at all to cables on the seabed

http://arstechnica.com/information-technology/2016/05/how-th...
On a related note I can strongly recommend The Silent Deep which goes into a lot of detail about what Royal navy submarines got up to in the Cold War:

https://www.amazon.co.uk/dp/B0171SWRGI/ref=dp-kindle-redirec...

e.g. Operation Barmaid, where a nuclear submarines was equipped with a giant set of cutters to allow it to cut and steal the towed sonar array from a Warsaw Pact vessel:

https://en.wikipedia.org/wiki/HMS_Conqueror_(S48)#Operation_...
Long commutes always suck, and having something else drive for you won't make that change.

Parking as a non-issue is an argument for denser and tighter organization of cities instead of sprawl.

Self-driving taxis and buses are another reason to prefer living in the city, least of all because they are cheaper in a denser area.
Brewing Up a myStorm FPGA board on the kitchen table
> What is the disadvantage of arbitration from a consumer's point of view?

Chiefly, that the arbitrator is almost universally chosen by the company or for the benefit of the company and the customer (I object, strenuously, to being called a "consumer") almost never wins.

http://www.nytimes.com/2015/11/02/business/dealbook/in-arbit...
#BlackWomenDidThat: Twitter campaign celebrates American pioneers
There is limit of satire and it is similar to limit of pornography. It's pretty common sense one. If it disgusts you - Don't look at it.

You shouldn't have fetish satire shoved in your face over Sunday dinner but same would probably go for yeast infection remedy advert.
PubSubHubBub, a protocol + open server developed by Google back in 2008, already solved much of the polling problem of RSS by adding decentralized push-style updates. But bandwidth costs of feed updates are mostly irrelevant in the economics of Facebook.
I don't think the move from the suburbs to the city is a technology issue. There are certainly trade-offs to both of them.

The reason a lot of people (especially young people) have been flocking to walkable cities has a lot more to do with self-identity and lifestyle choices than with just merely commuting time. No self-driving card will change that.

Keep in mind that the opposite is also true. Self-driving cars make city-living (where owning a car is unaffordable and unpractical) much easier, since it increases the access to cars.
Dissolution is based on concentration of existing solute. This isn't a binary effect of complete saturation like you suggest. Pure water has enough diffusion pressure to cause significantly more dissolution of a tooth's mineral lining than hard water. Diffusion pressure of pure distilled water is 1236 atm.

See DPD:
https://en.m.wikipedia.org/wiki/Suction_pressure

Quote on quote: "If some solute is dissolved in water its diffusion pressure decreases. The difference between diffusion pressure of pure water and solution is called diffusion pressure deficit (DPD)."
Great start - now how about sending Dick Fuld, Jimmy Caynes, and a few other top bankers in the US to jail.
Not to mention barely readable font/color combination.
Ask HN: What will it take to ensure the '16 Presidential polls are secure?
I feel this years election is going to be a technical disaster and hackers are going to mess with the results.
This can be rather difficult for general data where an explicit equation isn't obvious (even though it'll work quite often as pointed out by johncolanduoni below).

[I think it's neat that] for sufficiently smooth and periodic data, a Fourier transform will do exactly this (decompose a function into its even and odd parts)!
I don't understand what that page is trying to tell me. What is the "filter" that <body onload=alert()> evades?
Ask HN: Where to go from master's degree in quant finance?
Two years ago, I graduated with a master's in quant finance from a top school. I have been working at a broker in NYC for a couple years, but I hate my job because it's mostly grunt work getting reports out to clients. I'm not learning any new technology or skills on the job, so I've decided to make a change in my life.

I see a lot of my friends doing programming bootcamps. Some of the bootcamps, such as this one (http://byteacademy.co/our-program/finance-syllabus) even have finance angles.

I guess that what I'm wondering is: already having a master's, is it even necessary that I do a bootcamp? I started doing this program from Udacity (https://www.udacity.com/course/machine-learning-engineer-nanodegree-by-google--nd009), which has a job guarantee.

The third option is to become an expert at the questions in books such as Cracking the Quant Interview and keep looking for jobs through recruiters. That is, focusing on interview questions as opposed to learning new things with some sort of guaranteed career path at the end.

If you were in my shoes, where would you go from here?
Doesn't sound like these people were found guilty of simply being bad bankers - they were actively conducting dubious transactions to prop up the banks balance sheet via a "circular transaction scheme".
>Today's undersea cables are optical. You'd need to splice in, or at least open up a cable to get at the individual fibers to install similar taps. I cannot see how that would be done in the pressurized world of submarines.

That's an excellent point but I think they have a way to lift the cable off the seabed and make a splice even though it's hard. NSA are masters of making the impossible work.

What I can't figure out is how they collect the data. These optical cables carry tens of terabits of data per second so how do you store & transmit it back for analysis? I'm guessing they filter some of it but you still end up with lots of bits.
معرفی اماکن زیارتی در مشهد
Haskell has 1 unnecessary string type: String.

All the other types provide specific functionality that you won't get otherwise. (While String is there only because it is easy to use.) If you really don't care about that extra functionality, just keep with strict Text, and be done with that.

Now, if the perfect number of string types is 1, why couldn't you name any language with that number. By the way, Java also has two string types, as does .Net. Python still has 2 types, they just don't coerce into each other anymore, and I've probably seen a dozen C++ string types already.
If I open a PNG in Photoshop, crop it or resize it, it stays in PNG when I save it. This is such a common workflow that it makes me wonder if you use Photoshop.

I understand your points, but it doesn't mean that there aren't pragmatic UX choices to be made here.
Pcwalton's response is good.

I'll add that I think your confused about what I am saying. In the JavaScript world, the single page app is really just a pure client side app, no different than an app dedicated to Windows like Word. The difference is that it targets web standards for building applications, in a sense the browser is the operating system and application development environment that the OS used to provide.

The key is that it's a standard, and should work the same across platforms. The fact that it's on the web is just a delivery platform for the software.

Webassembly will bring the performance of these browser based applications to be on par with any native application. It's the write once run everywhere development that we've all wanted since the promise that Java made.

I do think that there is a benefit to this model over Java, which is that it's more flexible than Java was in allowing for design choice, and many more languages (in large part thanks to the LLVM).
Wow.

I mean, if you're going to argue that corporate tax rates should be lower, just make that argument.

But the argument that corporations should be able to pay fewer taxes because they (and/or other corporations) lobbied to create a byzantine tax law that they then exploited is... a special kind of argument.
You don't have to invest in Amazon if it doesn't meet your expectations.
Rather then pay taxes he will have a direct line to the White House to Corrupt Hillary that is for sure.
Long commutes? Once vehicles are self-driving, there will be whole swaths of the population who will simply live in their cars and not have another home. Imagine reddit's "vandwellers" times ten.

Then there will be political fights over city congestion taxes and other ways of extracting money from people who do that.

Interesting times...
Serious question: who pays an effective rate of 40 percent? Many of these huge corporate entities are in the single or negative digits.
Those are tests, not operations. They were against friendly targets, specifically consumer wifi/bluetooth devices (based on the wattages). Had the target been actively looking for attacks, the sub would have been located within seconds. You wouldn't do this against an attacker with any ability to respond physically. The only time this would be useful would be against an unsophisticated target, but then why bother with the sub?

An airborne drone could do, does, the same job at 0.01% of the cost and 1/0 less lives on the line. The sub is ridiculous overkill.
I do think there is something unique about training in the 'hard' analytic disciplines (math, computer science, physics, etc.). In particular, one learns to be wrong often, and that the result of one's hard-fought intellectual effort is often objectively incorrect. At the very least, math accelerates the process of discovering this, and so is a very good teacher of intellectual humility.

The fact that you jumped to 'other people's sloppy thinking' as your first example is somewhat telling. The point is that your whole perspective can shift from thinking that you're smarter than other people and need to correct their mistakes, to understanding how to collaborate with other smart people over difficult problems while everyone is making and correcting mistakes.
I always find it strange how we make it seem like mate criteria is sacrosanct and beyond critique.

I get that norms are strong. But in tech, we are constantly asked to question norms all the time and at times, deliberately counterbalance them. Surely we should also question social norms that inform our thinking in finding a mate? Especially if the person is having trouble finding someone suitable.

If I were to say to you I had trouble finding a woman, I don't think people here would say, "hey you should look at dating someone overseas." I think people might suggest opening my scope to other ethnicities/body types/meeting opportunities.
Mostly depends in what space you work I would think. I work in print production and absolutely need robust pantone support. I could go on endlessly about how few seem to understand what pantone is and how it works but that does not change the fact it is the defacto language for communicating printed color. Last I checked there is no pantone plugin for GIMP and as pantone is proprietary that may not change.

I also deal with large format printers. These are built in the thousands or tens of thousands and don't get the software love that they would if produced on a larger scale. RIP's tend to be finicky and are designed to play nice with the adobe suite, so most stick with those tools.
Laracon Summary – Day Three
Because the government is made from people, specifically people with an interest in decriminalizing this kind of action.
Harnessing the Immune System to Fight Cancer
"where you have 10-30 people (20 at the highest level) who need to execute slightly different strategies"

I ignored this possibly because I was playing it solo. Good catch. This is actually similar to the high people get in both RTS and FPS games when coordinating action. A friend and I were doing it last night so fresh on my memory. :) Going to have to redo my analysis of the digital crack aspect to factor this in sometime in the future.

"while hitting their heads against the same boss for hours upon hours, over the course of several days."

That's where I'm already calling it excessive. It's repetitive stuff where you're doing the same things over and over to get an arbitrary number down for ridiculous amount of time. At best, doing it once or twice for an endurance challenge could be a benefit. Past that, this is causing a net loss for the players as alternatives could be happening with better variety, personal improvement, and mini-challenges built in.

For instance, our run on Battlefield 4 last night was a good example. Matchmaking is so broken at our level that deck stayed stacked against us like a boss fight with just two of us vs 2-8 opponents with skill + supporting amateurs. We constantly assessed environment and strategies given we were on land, in water, flying through air, and so on. Buildings varied in whether walls were there, what could get through them, snipers/choppers having line of site, traps, and so on. Weapons were more complex than aim and click with specific wait time, angle, or area of effect. Pro's with vehicles (extra rigged) changed whole dynamic of the above where we had to use weapons, location, pacing, and so on to counter them over period of time with many deaths. The opponents, non being NPC's, had human-level intelligence with a combo of common behaviors and surprising behaviors that were novel + forced us to improve our own tactics/awareness. All of these circumstances and effects hit us over a period of 2 hours. I helped that along by leaving any server that was getting repetitive or too empty.

So, the above experience compared to a mostly-repetitive, MMORPG, boss fight is about a non-comparison in value for the player. I had more depth of gameplay, more novelty, used more of my senses, improved hand-eye coordination, required more strategy, and so on. The benefits of enough such games to me personally & to how I approach situations in future games (tactical strategy & FPS) is clear. Everyone wailing against a boss doing same stuff, it and them, for hours involving mostly some clicks or macros I can't see except moments of hand-eye coordination or improved ability to focus despite boredom or wear. I got those, though.

So, they seem weak for a value proposition vs alternatives. I could see ways to mix that genre with what I described in BF4 run we did. I believe some do already. Meanwhile, playing them sacrifices more experiences than it gains while the supplying organization's numbers continue to go up. :)
Nope. Accountants and Lawyers end up doing value addition because corporations like Facebook take things to the legal gray border of the regulations. The whole double irish is barely useful if you give your assets fair market value. Don't be so gullible to believe this needed to be complex.
Unless the self driving cars can make an hour commute be half an hour or less, they'll still suck. All you gain is the ability to read, eat, play games, or even sleep during the commute and no one will be comfortable doing that for a few years.
Its amazing that our phones say it's 2016, we have a database about literally every episode of every popular TV series, yet we can not have a database of scientific findings, measurements and methods that everyone can search, download, analyze, use it to train models, even though taxpayers paid for it. We have in part sacrificed the disemmination of knowledge to the egos of scientists. I think it's shameful.
Hotel's robotic butler a real differentiator for tech-savvy guests
Speaking of the ecosystem, has anybody here experience with Frege? (Haskell for the JVM). Does it feel natural to use existing Java/JVM libraries inside a Haskell dialect?
yeah, this guy is retarded... i just hit command-E.

it's literally painful to listen to these ladies whine about being morons.

you're all idiots.
IME you get used to this pretty rapidly, and what you're left with KS even better: the ability to translate between the two modes of communication (and expose the lack of rigor in one, which often leads to its proponent discovering errors in their assumptions).
There is no difference between glucose in sugar and glucose in starch, except that starch molecules are useless to the body when they get into the blood.

People whose livers are damaged have some difficulty processing fructose, but that is not the sugar's fault.

Dr. Lustig has made a name for himself by demonizing sugar. I do not believe that sugar is the demon it's commonly made out to be.
I am a bit confused, lets suppose that TLS is broken in haskell libraries, or there is some kind of thing haskell has no libraries for and you don't want to lose time implementing it; what stops you from making a service for that task in another language?. I fail to picture a big system that is not distributed, maybe the problem of this startup required a monolithic system, or is it that a monolith project is in some ways easier to manage?.
This ignores another key component of agriculture- nutrients in the solid. Land that hasn't had a diverse ecosystem on it for decades isn't going to have the required nutrients.

Sure you can dump additives in the ground and boost this years crop but that isn't going to create long term healthy soil which can support farming. Fertilizers are just another dependency on fossil fuels.

Water is certainly a part of terraforming a desert, but only a part of it.
I would consider Cypress's PSoC as an ARM kit with a small logic block embedded. Except what is already present in the chip (DAC,CAN ..), it is impossible to implement any complex solution on the limited logic cells present in PSoCs.Basically glue layer between ARM and other components in design.

Closest thing might be Xilinx Zynq or Stratix 10. Both are comparable PSoC, comes with ARM core but with high density FPGA instead of small CPLD.

The MX series from article adds DRAM in larger size and with larger bandwidth than what is available currently.

My understanding of PLD/CPLD vs FPGA is that the CPLD is based of EEPROM for logic cells which are programmed before deployment (With exceptions), and they are operational as soon they are powered up. They are generally small in terms of number of logic cells they offer.

FPGA in other hands are based on RAM. They are programmed / booted at the power on (Internal/External Flash). They become operational once the program/design is transferred from flash to RAM based logic cells. They offer large number of logic cells thus allows the implementation of complex designs.
Synfig focuses on more cartoon based vector animation. What GEGL provides good foundations for doing is video editing/compositing with keyframed properties for filters.

As mentioned in the linked article of this story - having an eco system of applications using GEGL would benefit both these applications and GIMP - since they would be sharing image processing operations and plugins.
Tax capital gains as income.
Sprawl will continue as countries become urbanized. Africa, South Asia, etc. Sprawl will ebb once pop stabilizes in those countries.

As the US pop has stabilized (except addition by immigrants) we don't expect more sprawl.
Productive use of TODO lists (for programming)
It's not in my about:memory. Did you set up an account first before you disabled it? Does it go away if you log out and restart? Edit: 49.0a2 "Developer Edition" on Win10
Nothing. Literally nothing. It's impossible to change the voting systems in such a short time, barring extraordinary information.

The struggle against easily rigged voting machines is at least 15 years old, dating from the Help American Vote Act. You would need significant new evidence, above and beyond, say, the known successes of how to rig a voting machine, in order to change the current attitudes. A simple feeling of worry is not enough.

Movie plot example: things could change if we find that all of the Diebold-based voting machines have an on-board chip that can change receive text messages to change the result.
Show HN: CarAdvisor – A technology based car recommendation engine
A tangential story mentioned in Simon Singh's 'Code' (excellent read) is that a mole was caught sending secrets to the Soviets based on intel from the taps. They didn't want to tip the Russians off though so he was never prosecuted. Instead they fed him with phony documents to keep the taps secret.