skysight-inc/HackerNews huggingface dataset:
I think the fact that tests break is totally fine. You should expect them to break if your application changes. What you need however is a short feedback loop.

We use a combination of unit-tests for the things that are straight-forward to unit-test (UIs aren't). But for lots of things that unit-tests can't really cover so well, or for when we have to mock the entire universe anyway, we rely on UI tests.

I'm not affiliated in any way, but I can honestly say that Ghost Inspector[0] made things WAY better for us. Why:

* No more wrestling with capybara. Not having to constantly switch between the browser, test runner, IDE. Most tests don't take longer than 5 minutes to create from scratch.

* We run UI tests on our staging environment, and we deploy all feature branches to staging before they get merged to master. UI tests are automatically run as soon as we deploy staging. And they run in parallel. So they're quite fast.

* We plug the Ghost Inspector results into slack+email, so as soon as something breaks, we know immediately.

Fixing the broken test is usually very straight-forward, and our developers do it (we don't have QA). Even if we need to re-record a test, it's usually much faster than re-writing a capybara/integration test.

[0] https://ghostinspector.com/
Smart game board for chess and checkers (2017)
Τι κάνει ένα backlink να μοιάζει αλλά και να είναι ποιοτικό; – WEB DESIGN
Windows KB4015217 Windows Server 2016 Windows 10 VMware Inaccessible Boot Disk
>Language research is still in the phase of bad humors and blood letting.

Love this. Practically all the claims I've seen are just small code samples accompanied by the author's vague endorsement.
So, it seems like an elaborate cover, to justify the obvious reasons of her heightened scrutiny. What was not clear in the article is if/when this stopped. Tbh, you could have reasonable suspicion just for the documentary, but that would have looked worse than a security incident. I will now remove my Reynolds Cap.
I'm aware of what oversampling means. I was listing the 'hidden vote' and oversampling as a reason.
Exactly. That's why I've never enjoyed playing MK with a computer. Game AI should be about fun and enjoyment for the player.
Synths of Deadpool – Studio Time with Junkie XL
Same here. My favorite part of that paper:

"However, there is a very important point that is often missed. When writing a modular program to solve a problem, one first divides the problem into subproblems, then solves the subproblems, and finally combines the solutions. The ways in which one can divide up the original problem depend directly on the ways in which one can glue solutions together. Therefore, to increase one’s ability to modularize a problem conceptually, one must provide new kinds of glue in the programming language."

We need more kinds of glue. He argues that FP provides one (function composition, a Good Thing™) and lazy FP another (lazy eval, a bit more controversial).

But that's not a whole lot, is it?
>> and when you want the other one, it's quite painful.

It's really not that painful. A logical line of text may span multiple visual lines because of word wrapping. A visual line will never span more than one logical line. So you always have a 1-to-N relationship between logical and visual lines, and everyone knows you have to go to M-to-N before things get objectively painful.

Here's the thing about text editors: they are extremely well known problems. It's really hard to say anything about writing a text editor is "difficult" when we have hundreds of examples of free, open source software that we can sit with and analyze for requirements. There really aren't many new lessons to learn, certainly not in the memory representation for the file.

It's really nice to talk about parallelizing your text editor operations, but here in the year twenty thousand and seventeen, Vi is still single-threaded and not at all hardware accelerated and it still runs essentially infinitely faster than most other text editors. The only time Vi's single-threadedness becomes a problem is when plugin authors can't be arsed to not load up Python.

What data structure does Vi use? An array of lines.
If you are not familiar with HN'er Patrick 'patio11' Mackenzie, I would recommend looking at what he has written and said regarding building and running SaaS businesses.

http://www.kalzumeus.com/archive/

Good luck.
Mozilla abandons experimental Aurora Firefox channel
Nor Opera
Facebook and the Murderer
I'm so sick and fucking tired of this style of reporting. Whoever is encouraging it or teaching it needs to stop. I've been noticing this tendency to try and link things without evidence in all forms of journalism these days. Report the facts folks.
It's amazing how obvious it seems in hindsight, but it's a signal that if you change the underlying network architecture of how people consume content then the characteristics of popular content change.

Newspapers -> broadcast TV -> site based web -> network based web

I'd argue that network based web looks a lot more like the wild west days of hyper newspaper competition than broadcast TV. Fake news is essentially peer sourced yellow journalism. And I'm amazed publishers didn't see that coming -- there's historical precedent!
Whatsapp is using Erlang on the backend afaik. I'd say Whatsapp was/is quite a successfull app.
Alien Knowledge: when machines justify knowledge
Ask HN: Would love your feedback on our wedding app
We just released the largest ever update to Ceremony and would love some feedback from the HN community before announcing the update more widely. Ceremony lets couples gather and share photos and videos from all of their wedding guests. Everything is stored in hi-res and remains private unless you choose to share on social networks, email, text, etc.

This update allows users to order prints, canvases, framed prints, etc. of their photos. As a thank you to early testers, you can use the code LETSPRINT for a 20% discount on any order.

The app is free, and available on iOS and Android. The website is ceremonyapp.com.

Thanks for your input!
http://www.independent.co.uk/news/uk/politics/the-snp-would-...

The SNP do just fine under the AMS system at Holyrood and the STV system for local council elections in Scotland.
example 12, "Tiling a Rectangle by Squares" is rather unique; it was discussed in Stanislav Smirnov's Fields medal lecture in 2010

https://en.wikipedia.org/wiki/Squaring_the_square

In his lecture he puts the square tilings in a rather serious context (the theory of electrical networks)

https://arxiv.org/abs/1009.6077 ( Discrete Complex Analysis and Probability )
My opinion is that it's a double-edged sword. It's like when someone recommends you to learn SQL and relational algebras, and you, coming from OOP world, say, oh, I can learn some ORM first, that will make it easier.

Personally, I found that diving directly into the language that represents a paradigm in the "pure" form (for FP I would recommend Haskell) works best for me. It makes it most obvious why things are done certain way.
Does it offer distinct advantages compared to a regular job (aka employees get paid more)? I've been around a lot of communitarian stuff in my life, like cohousing and hackerspaces, and a lot of it seems to be driven by people who enjoy meetings.
Aah in that case if you're willing to forego the limitation of using the original AI instruction scheme, you can use the technique I recently used to build a training dummy. It's just a state machine that reacts differently depending on the state of various game variables (the same idea used by the original SFII code). The scripting language is Lua, and it's basically lines of code that go:

if (distanceBetweenChars() < THRESHOLD) then
chooseAppropriateMove(distanceBetweenChars())
end

etc...

Here's a demo of one that reads the distance between characters and either dashes in and does a low attack, or attempts to throw you.

https://www.youtube.com/watch?v=R9THKU63viM

It's pretty simple to have this script run for Player 1 and Player 2.

In a competitive environment (ie. when you have AI vs AI) the players involved would need to agree on certain limitations, otherwise it would be pretty simple to build an AI that reacts "instantly" to stimuli.
>FOSS in this case is a big company copying a single individual and destroying their business by doing a better job than that single individual.

That's competition for you. Also, I like how you use the word "copying", as if the guy was the original creator of the text editor.
Why do you believe an equivalent effort to figure out what the private sector is spending money on would be cheaper?
Two-leg flights with one end at Toronto would certainly work. But if it weren't for the national borders, I could see Toronto acting as a hub in the North American air travel system like Chicago or Detroit. For example, say someone wants to get between medium-sized cities in New England and the upper Midwest - say, for the sake of concreteness, Providence and Milwaukee. On this route you can fly Delta and change in Detroit, or United and change in Chicago, or other routes that don't make geographic sense (Delta via Atlanta, American via Philly or Charlotte). Why not Air Canada through Toronto? This particularly works in Toronto's case because of its position so far south in Canada, where a lot of flights between eastern and western US destinations might actually pass over Canadian airspace.

(Map: http://www.gcmap.com/mapui?P=pvd-mke,+pvd-yyz-mke,+pvd-dtw-m...)
It is pretty on Windows, but disappointing in Chromium on Linux. No error messages, just a loading screen.

The interface is better than the desktop app, but that is just cursory from material design. I cannot tell if functionality has been lost quite yet---which is a common problem with redesigns. According to settings, KML support in this redesign is experimental.
Indistinguishable from Magic – CPU manufacturing
Show HN: Dictum, a notes app backed by couchDB
Getting Art Done
First Livestream using Google's new AV1 video codec
> It's true that abstractions in functional languages can seem foreign and hard to understand, but generally they have some purpose, being grounded in mathematical practice. OO abstractions and patterns OTOH, taught essentially in "elementary school" which possibly makes them seem easier to understand, do a very poor job of solving more problems than they create.

This kind of sweeping unsupported assertion is actively harmful for FP evangelists. Anyone who isn't already a fanboy is most likely going to read that and say “clearly this person has no idea what they're talking about. [close tab]”.

If you want to make a productive form of this argument it'd be better to focus on discussing why the mathematical abstractions are so much better with comparisons to their actual recommended OOP counterparts. The points you mentioned about things like side effects or immutability are good but you need to not give someone a reason to go away before getting there, especially since there are going to be common tasks like I/O which are _not_ going to look like an improvement for anyone who isn't already on-board.
Compilation in slow. It's also a complex language that can be hard to wrap your head around. That makes it hard to spin up new developers on it.
Help me write an Angular 4 Book
The reason why you see this pattern is not because in functional programming vs. OOP, functional losses.

The reason for this pattern is because companies look for easily replaceable developers.

To get into functional you need to be good at abstracting the business domain, this requires seniority which is hard to find. Most of the time, when you are working using functional programming you are implementing the business vocabulary. Entry level developers are not good/interested in this. Their worries are in how they can use Angular 2 in this project, or why we need to still use SQL Server instead of converting to {insert the newest database technology}.

It is easy to find (and replace) junior developers that are happy because they created something with the latest technology and it provides the immediate value intended. It sounds good, but it misses the point.

Software development in a company happens to support/enhance the business. This means that it has to stand the test of time, not only in reliability but also in adaptability. The only constant in software is that it will change. Here is where building a vocabulary that represents the business subjects pays off. Change now is a definition-change and, unless the business is pivoting, definitions rarely change; instead, they have constant adjustments. Functional shines in creating a vocabulary and having this adaptability.

Of course, you can adapt using OOP, but the question is not if adaptability is possible, it is instead how to make changes at the lowest risk.
Software isn’t good or bad, but it does amplify human behavior
Even if every single human on the planet had an account and actively used it I think they'd be questioning why Twitter wasn't growing any further.
River Piracy and Drainage Basin Reorganization by Climate-Driven Glacier Retreat
That's an excellent question - especially given that you can essentially use it as a "functionally enhanced java" as it's not a hard-FP language like Haskell. I'd love to know - maybe it's a question of staffing? More skilled Java programmers around than Scala programmers probably. Also might be easier to work with lower level DB libraries and such, but I don't see why a company that large couldn't develop and maintain their own abstractions.
why does it need to grow?

it is big already
TechCrunch is for tech journalism. Opinions have no place in proper journalism. That's what op-eds are for.

Not every news article needs a shitty half baked opinion unless of course you're in the business of manufacturing controversy rather than reporting on it.
If there are any counterproposals, they can just attack them as unrealistic, harmful to the UK, etc without offering any proposal of their own.
English maybe, but the rest of the UK has different electoral systems and different popular parties.

And I'm not even sure it's the English public asking for this. Are people really going to say they'd rather a strong government they disagree with than a marginal one that's forced to negotiate for support? No, I think it's English conservatives who have trouble with the concept of loyal opposition and the English press in particular who hate anything that would make politics less of a binary choice.
If you want to have significant ownership in a company that usually isn't much of a challenge.

It's not so easy if you want to cap your total employee equity to 10-20% or some other arbitrary number that "they" tell you should be targeted. Lot's of people who are advocating this sort of approach are unrealistic about how much equity gives "significant ownership", in my experience.

A related issue - I know many people who are more than happy to consider joining early for "significant ownership" (however we define that) but only if it comes with "significant decision making input" as well, in similar ratio. If as an entrepreneur you are looking at this sort of arrangement as primarily a tool to manage early cash flow, you are thinking about it the wrong way in my opinion.
Alibaba’s Ant Financial may have won the bidding war for MoneyGram
How can you look around on a Mac trackpad?
Oh yes, people spend. On rent, food, fridge repairs, medical bills, etc.

Outside of the down town cores, and few high demand industries, people 'get by'.

Having extensively seen both worlds, it seems to me that the richer end is always quicker to say: I just ate a big meal, how can world hunger exist.
Twitter have not abandoned Scala.
Yep this. This is no different than saying "I suspect the issues at Nest have to do with rumors of Tony Faddel's noxious leadership."

No one would yell "just report the facts" at that, but because the statement in the article involves women's rights issues, there's a kneejerk reaction from 20-something guys who frequent this forum who think such things never, ever happen in the workplace, especially the 'enlightened' workplaces of SV. I wish this kind of skepticism would take a backseat. Its been well established Uber has some major corporate culture problems. Its not controversial to make such statements if you're remotely familiar with Uber.

Decent writeup here:

https://www.merryjane.com/culture/uber-incidents-that-highli...

edit: -3 and not a single reply... emotional downvotes aren't winning the argument. In fact, they just concede it to me.
>The reason for this pattern is because companies look for easily replaceable developers.

Which is definitely part of the "company at scale" equation the GP referred to.
Finding Scala developers vs Java developers.

That's really the main issue per the original question. It's not that functional somehow fails on its merits to deliver, it's just that "at scale" means having enough developers who know it. The reality is that imperative/OO languages have the greatest mindshare, and thus it's far easier to find developers, and far less wind-up time, if you're using such a language.
I like Erlang. It's got an odd syntax so some of the Java/C# baggage is dropped. It's oddity makes it kinda fun in its own right. If you want to do network programming, OTP is pretty neat.

http://learnyousomeerlang.com
Stuck on "Still trying to reach Nylas..." (https://a.pomf.cat/sxiair.png). Good.

edit:
Looks like it tries to fetch some PNG file, but all it gets is HTTP 502, I guess. (https://a.pomf.cat/xiblzy.png)
I'm afraid this is a "but her emails!" position. I'm not a fan of the way the Lib Dems handled the tuition fees fiasco - straightforward breach of promise - but they seem to be the only remaining viable anti-brexit option in England.
https://openspending.org/black-budget
The pitfalls of a/b testing in social networks
60 Minutes:  What is “brain hacking”? Tech insiders on why you should care
Project Name: How to Create Clone of “Overwatch” Game
This tutorial will cover all the details (resources, tools, languages etc) that are necessary to develop a game like Overwatch. You will be guided through all the steps and concepts, starting from the basic ones like setting up the right tools and programs for development. And ultimately you will be able to create your own shooter game like Overwatch.
Check it out here: https://www.liveedu.tv/highspeed039/Ze6mP-how-to-create-clone-of-overwatch-game/

Every Tuesday, Wednesday, Friday, Saturday at 12pm EST on LiveEdu.tv
Thanks, I read it too quickly!
First Protest in Space [overview effect]
> Twitter tried Scala and as far as I know, abandon it and went to Java.

This is incorrect. One of the former VPs said he would not use Scala. Twitter uses Scala massively and has published and continues to maintain several open source Scala projects.

> LinkedIn definitely tried Scala, failed, and went to Java

This is incorrect. A newly hired VP insisted on moving the front end from Scala to Java. In the offline backend stack Scala is used extensively. Check Kafka, Samza from LinkedIn or better yet ask current LinkedIn employees.

Apart from these Spotify, Foursquare, ebay, several banks use Scala. FP is huge in financial institutions, check K/KDB+. Jane Street etc. Thats where most FP programmers work. Also verizon, jet.com and walmart.com. There are several dozen large companies using FP.

FP is mainstream now. Traditionally, it was financial institutions using some flavor of ML/Haskell. With Scala/Clojure on the JVM, Si Valley has moved into FP in a big way.
I don't; it was meant to be a jab at privatization worshippers since the second part of that, "the government has failed by not providing this information" had more meat to it.
Twitter use Scala. They have a representative on the Scala Centre board (Stu Hood. See https://scala.epfl.ch/minutes/2017/02/28/february-28-2017.ht...) which indicates they are strongly invested in the language.
I don't see that it's either.

If it were privatized, it would suffer from economic pressure to suppress data that conflicts with its economic incentives.

And we don't pay government (i.e., tax ourselves to provide funds) to do this. No money, no results. That's not a failure of government, it's taxpayers deciding not to have the government provide this service.
Swedish scientists discover 'oldest plant life on Earth'
Ask HN: Do You Use the Five Whys Technique in Requirements Analysis?
The Five Whys technique is widely used in Root Cause Analysis [1]. The basic idea is to continue asking why until no further cause can be found.

I've seen too many "business requirements" which are actually implementation suggestions or complaints phrased as a requirement; and as we've all heard and read, poor requirements are the leading cause of program failure. [2]

It seems to me that the 5 Whys could be adapted to Requirements analysis as well:

The user wants a feature for X

Why?
Because they use that to do this other thing

Why?
Etc etc.

Obviously at some points you will have to ask Who, What and How as well.

Further proposal: All acceptable requirements will eventually find the answer: Because this feature will add value in the following area via this specific mechanism.

1. https://en.wikipedia.org/wiki/5_Whys

2. http://www.techrepublic.com/blog/tech-decision-maker/study-68-percent-of-it-projects-fail/
I think he meant AdblockWall.
Forbes won't let you in before you turn off your Adblock.
Six Zambian Startups Graduate from BongoHive's Launch Accelerator Programme
> set aside party advantage in order to give the UK a working government

Working government is overrated; Belgium took over a year to form a government and therefore ended up handling the financial crisis slightly better as there was no opportunity to do anything dramatically stupid.

The Lib Dems should have fought a lot harder and longer before agreeing to that coalition.
Further, listen to the latest RadioWest podcast about addictive technology: http://radiowest.kuer.org/post/rise-addictive-technology

Doug Fabrizio talks with Adam Alter about addictive technology and his new book http://adamalterauthor.com/irresistible/
Show HN: Bill and Subscription management tool, launched today
Hey HN!

We would like to respectfully announce the launch of our product SmartBill (www.smart-bill.co.uk) on Product Hunt (www.producthunt.com) today!

Feature set as follows:

- See all bills and subscriptions in one place
- Cancel unwanted / unknown subscriptions in a single click
- Get price hike, duplicate payment and overdraft alerts
- Gives you renewal reminders to avoid expensive auto-renewals

Users coming from www.producthunt.com get early access to upcoming features if you are interested.

We are looking for feedback, comments and questions!

We look forward to hearing from you!

Best, Nikhil
CEO and Co-Founder
Mad Max Drums – Studio Time with Junkie XL
There's no unseating Corbyn before the election. He's already faced a leadership election just last year, and there is simply not enough time. It would be political suicide for whoever challenged him. The best hope for Labour is in 2022.
3 ways.

1. Already know enough to glance at some spec sheets and build the rest in your head. Aka, lots of experince.

2. Execute a known good build configuration.

3. Combo of the 1st and 2nd points to suit your ability. Ask people with more knowledge for guidance. Maybe rebuild it once or twice.
Thanks for the info. I'd be curious to compare the difference between the two screens.
Why can't JavaScript be #7? Where should it be in your book?