skysight-inc/HackerNews huggingface dataset:
Depends on your needs. If you are targeting desktop, there are a couple of UI libraries for Elm. However, they are buggy when you try to test them out on a mobile tablet. I have found that most Elm developers create their own UIs since wider access to JS UI toolkits is not easy. That does mean that you need to enjoy general web design or work with a designer, or be willing to put in extra time when working in Elm.
i seriously can't wait for Bitcoin the movie

i imagine it to be somewhere between Hackers and Departed

PS: given we currently have an emoji movie, had an facebook movie. A bitcoin movie is only a question of time - too many good stories here.
1.1B taxi rides benchmark on the GPU- and PostgreSQL-powered BrytlytDB
Hi HN,

We were tired of testing mobile apps manually on multiple phones, taking screenshots, gathering performance data and then consolidating all this info into a test report, so one fine day we sat down and put together a platform that can automate the entire thing for us.

We are calling it AppAchhi (means good App) in Hindi, and it uses an automated bot that steps through the app and takes screenshots and collects performance data as it moves.

We are also testing all the 2.6million apps in playstore and making the test report public. You can have a look at them here https://appachhi.com/chhiscore

Would be happy to know what you think!
Short version: You need a PhD in type theory to get anywhere.

Basically every obscure overly complicated concept that Haskell throws at you (all the while pretending to be the only true FP language out there) can be explained in 5 to 10 lines of Javascript: https://github.com/hemanth/functional-programming-jargon

Compare and contrast.

- Monad explained in Javascript: https://github.com/hemanth/functional-programming-jargon#mon...

- Timeline (sic!) of monad tutorials for Haskell: https://wiki.haskell.org/Monad_tutorials_timeline

The worst crime against humanity though is Haskell crap seeping into other languages (such as ramda, for instance: http://ramdajs.com)
> Marathon shoes are much closer to Vibrams than to regular running shoes.

No, they aren't. Track spikes maybe, marathon shoes definitely not.

Have a look at the Adidas Adizero Adios [1], a shoe that Kimetto ran in to set the world record. It has a heel of 26.7 mm, and a heel to toe drop of 9.3 mm, and is quite stiff. A Vibram has maybe 4 mm of rubber, no drop, and is very floppy.

Yes, they are less cushioned than the average running shoe, but they are very far removed from Vibrams. I say this as an amateur runner, but I regularly run 100+ mile weeks.

[1] http://www.runnersworld.com/shoe/adidas-adizero-adios-3-mens
There are both industrial and decorative uses for gold, and always will be.

Bitcoin could hypothetically be replaced by Dogecoin and bitcoin would have no value.
Is he really saying that it costs 0.18 MJ to wash one cup? That's 1.7 litre of water raised 25 K or or 1 litre raised by 43 K. Washing my cup by hand I don't use anything like that amount of water.

I've just checked by washing my teacup.

I used 0.25 litre of water at 53 C. Incoming water temperature here is about 10 C so that means:

0.25 kg * 4200 J.K-1.kg-1 * (53 - 10) K

= 45 kJ = 0.045 MJ

So it sounds as though dishwashers aren't as efficient as people like to say.
I'm still surprised that I never see Robin Chase's name floated. She's a successful serial transportation entrepreneur, and even wrote an op-ed outlining a vision for Uber post-Travis: https://www.google.de/amp/s/www.wired.com/story/what-ubers-n...
What definition of FP are you using? Because if it's just first-class functions, even Visual Basic has this now.
> Is there anytime similar about the 1-2.5% fee merchants have to pay to utilize this service? I'd bet Visa, MasterCard, and AMEX are making a fortune off all these transactions.

My current primary credit card (Alliant's CashBack card) gives me 2.5% cashback on each credit card transaction (3% cashback in the first year).

I'd assume that Alliant makes money from customers who aren't paying the complete balance off each month, but with 2.5% cashback there's not a lot of room to make money from transaction fees.
I don't think I've ever met a gay misogynist, much less heard of one.
A Short Designer Workflow Survey for Better Design Experience and Efficiency
Small amounts of food are easy, sure. I assumed they were talking about growing enough food to live on exclusively, which is a quite different proposition.
> One simple example is that of a three-way state

What follows after this line is the most artificially complicated description of a problem I've ever seen... basically an excuse for the solution OP then goes on to suggest!

Actually the more functional way to think of the artificially complicated problem OP describes here would be to have 2 data holders, a `myTagsData` and `myEditedTagsData` data, and when the user edits around `myEditedTags` is updated/synced, and when "Save" is clicked `myTagsData` gets replaced with `myEditedTagsData`... and we simply re-render based on new data in the context of a simple one way flow (hint: use React or something similar to not re-invent the wheel).

Yea, sure, you can avoid state at all costs but you can also learn to properly manage state!

There are places where one or the other is a good fit... but doing the former in order to avoid the latter is just "mental masturbation" imho... and the kind of things that disgusts some smart people and keeps them away from functional programming actually :(
There is exactly one good use for credit cards: free purchase insurance. It used to be a requirement for online purchases but now everyone's debit cards will do this too. Still, if you buy something defective or non-delivered, and can't take action against the seller, you can take it up with the card company.

Obviously you have to always pay the card off in full at the end of the month!
WP can update itself though.
How would you handle exposed disable codes (say if a person who had access to it leaves the company)? There are presumably situations where revocation of the code would be needed, but that seems difficult to implement without also opening a window for the attacker to use:

* instant revocation -> attacker will just revoke the code
* delayed revocation where the code remains usable for some period -> accidental exposure is irrecoverable

Maybe it's viable as an option (extension owner takes on the risk of properly managing the secret, knowing it can't be revoked easily).
Putin bans VPN use in Russia
I suspect it'd be more accurate to say that many of them know quite a bit, it's just that there's no overlap with what schools want them to know.

I'm sure a younger version of myself would have completely failed a basic test of computer literacy. And yet, I set up DOS extended memory, configured hardware settings for the Sound Blaster, and calibrated a joystick, so I could play Tie Fighter.

The only skill I think a school might have valued was that I learned a tiny bit of basic to fiddle with that qbasic game where the gorillas threw bananas at each other.
I think JSON decoding is great in Elm. Actually, that may be the best part of that language.
Apple has removed all the VPN apps from the App Store in China
A rant on usable security: run-time sandboxes from static analysis?
From the abstract:
However, this concept is still hypothetical and there is some inconsistency in the reported findings. Furthermore, lifelong vigorous exercisers generally have low mortality rates and excellent functional capacity.

I'll take low mortality and excellent functional capacity.
>We've only been trying technological solutions for the past hundred years and look at what they've achieved

Holocaust, Nazi Science, Atomic bombs, Stalin's industrialization, mass surveillance, cold war? Man, 20-th century was such a mess, technology only made that mess more messy, and good stuff was achieved by political discussion, dialog, not because of new technologies (although technologies makes both dialog and murdering much easier)
Ask HN: How does Blockchain as a Service work?
Hi HN,

can someone explain briefly why blockchain as a service makes sense? e.g. https://azure.microsoft.com/en-us/solutions/blockchain/

Based on my basic understanding I do see two major issues:
1. The integrity of the blockchain relies on (many) different parties that operate a copy of the blockchain independently. If someone offers this as service this prerequisite is violated, isn't it?
2. The implementation is controlled by a single party and not implemented by a third-party which is not directly involved in the business.

All in all, Blockchain as a service seems to be just another (business) term for a trustee protocol.
Exactly.

Let's take Wikipedia:

-- start quote --

In computer science, functional programming is a programming paradigm—a style of building the structure and elements of computer programs—that treats computation as the evaluation of mathematical functions and avoids changing-state and mutable data. It is a declarative programming paradigm, which means programming is done with expressions[1] or declarations[2] instead of statements. In functional code, the output value of a function depends only on the arguments that are passed to the function, so calling a function f twice with the same value for an argument x will produce the same result f(x) each time

-- end quote --
If they have some 100M+ subscribers, wouldn't their net income be at least 600M * 12 = 7.2B? Given around $6 per subscriber per month?
> confidential hardware design details

It used to be called 'documentation"...
I haven't regretted making anything open source.

I do agree with the sentiment expressed here several times. Once my open source project gets popular it seems that there is a flood of incoming bug fix / feature requests and it is quite overwhelming.

People expect you to just work on the open source library almost as it were your full time job (without a compensation). So that can be frustrating.

This problem can be solved by finding skilled contributors who would be willing to work with you on maintaining the project but this can be quite difficult.

Let's say your project is just reasonably popular (1-2 thousand stars on Github), you will be hard pressed to find willing contributors. It's much easier once the project gets very popular (5k stars I guess).

It also depends on the language and niche of the library. Might be easier to find contributors in certain languages than others.

Having said all that, my open source projects have actually paid me back in a way of interesting work opportunities that I wouldn't otherwise stumble upon. And it's a nice to have some reasonably well received open source project on your CV.

Finally, I would like to shamelessly plug my project: https://github.com/RichardKnop/machinery

Core contributors / maintainers always welcome!
Free Webinar on ITSM Analytics: Register Your Spot Now to Know That 7 Reports
How Animals Can Predict the Future
The History of Programming Languages Part One
The page you mention says he's a libertarian and I see nothing there that would indicate Thiel is on the far right - i.e. he does not support any kind of political violence.

I don't know what feudalism is post-middle ages, but being opposed to multiculturalism is fairly common and wouldn't make anyone more or less likeable to most people than being in favour of multiculturalism.
Really, I think that the impact of loneliness inherently depends on everything we have went through in the childhood.

I lived in a tent next to the Mýrdalsjökull glacier near Vík í Mýrdal for half a year; and I have lived for over three months in a tent in the rainforest, north of Panama.

It was always a kind of mental escape from the chaos for me. And I always felt alienated from most of society. Maybe it's some kind of latent autism? At least for me there's nothing more beautiful than reading a book with a gas lamp, hearing the sound of the sea and seeing the aurora borealis right over me.

Alone.
Why do 7 segment LED displays break apart when I brush my teeth?
If people aren't fully utilizing their instances, you can offer lower prices since you can have more than one user per underlying instance.

Not sure that's how he does it, but it's one way.
That would be gross income, net income is income after all costs have been deducted. That would indicate that their annual costs are ~$7B, most of which probably goes towards producing new shows and licensing existing ones.
I find it interresting that no one questions the "we are born to run" claim. I have seen very little evidence for that.

There is a link to a study in the first paragraph of the article:

http://news.nationalgeographic.com/news/2004/11/1117_041117_...

> The researchers identified a range of physical traits that suggest human ancestors evolved as distance runners. The adaptations helped them chase down prey and compete more effectively with the speedier carnivores on the open plains of Africa, the study says.

> The researchers say adaptations for running stretch back more than two million years, allowing humans to evolve from our apelike ancestors Australopithecus.

> "We think running is one of the most transforming events in human history," Bramble added. "We are arguing the emergence of humans is tied to the evolution of running."
You can feed it DC and vary the current, for example by filtering the pwm.
DFS+Fanduel+MLB+Picks+7/31/17:+DraftKings+Top+3+Pitchers
I wrote one line comment and started getting these notifications as if I wrote a post. I felt embarrassed for misleading the reader with one line post.

Confused the hell out of me.
Now I have found that some mirrors on cars and even motorcycles can distort the reflected light to give blue points. combine with polarizing glasses and it becomes even more difficult to find the exact cause.

now if viewing straight on without another element to distort the light, like polarized lenses; I would be interested if the reflector built into the headlamp assembly can cause an issue.
> Haskell is in a way the most functional mainstream language

1. Is it the most functional language because it's lazy? No

2. Is it the most mainstream language because it's lazy? No

3. Is it the most functional mainstream language because it's lazy? No + no = no

Laziness does not a functional language make.

> You can have a purely functional language

What would be the purpose of a pure FP? Oh. There would be no purpose.

> laziness ... keeps a language designer honest by making it impossible to add side effects

wat

Laziness is delayed execution. That's it. There's _nothing_ stopping you from delaying a side effect.
Debt can cause a liquidity problem, equity can't. Lack of liquidity (i.e. of available cash) can be a huge problem even for profitable companies, potencially causing a bankruptcy.
Cryptocurrency "mining" consists of essentially burning money, by design (proof of work and all that). I don't have to know a lot about you to know that's a poor way to spend your money.
> View the HTML mail

And that's exactly what phishers want you to do.
Yes. The network needs of course to map tokens back to PANs (Primary Account Numbers). Tokens are included in authorization requests to issuing banks, in addition to the actual payment details.

Also, both issuers and networks need to be able to suspend and unlink tokens in case of fraud or if the end user loses their device, which implies that they know individual device tokens.
I see your point, though I'm not sure most younger people really know how to get 'attention' on the internet. They can certainly share stuff like social media sites easily. But actually promoting it is another thing entirely.

The vast majority of young people involved in them struggle to promote their work on sites like YouTube and Twitch. There are definitely more young people than old getting popular there sure, but it's most likely not the majority.
I guess you just must have been momentarily distracted when you reached the part in the article in which she explicitly states why: "While gender of a leader should not matter to dispatching such appalling behaviors, the symbolism over the appointment of a female CEO at Silicon Valley’s most toxic-bro startup is unquestionable."
> I guess the question is, what kind of competencies would one expect to find in a board

I've been looking into this in the context of English NHS Trusts. Here are a few things I've found useful.

https://nhsproviders.org/media/1057/we-need-to-talk-about-bo...

https://www.leadershipacademy.nhs.uk/resources/healthy-nhs-b...

Effective challenge on a unitary board: http://www.frontline-consultants.com/announcements/effective...

There was quite a lot of work in the UK about effective boards after the Guinness scandal, among others.
I don't understand this, because C++ or C# are both high-level programming languages. HTML, on the other hand, is simple markup language. I'd think it would take somebody on that level a weekend to learn it, possibly a few weeks or a month to be confident writing it.
I activated it so it would display the punycode. Every major browser up to few months ago would show it as "apple", not sure now. But we know many people cannot just upgrade their browsers, so there must be still many vulnerable browsers out there.
I am not sure companies follow this as they can go bankrupt and be gone in a matter of months.
> It implies maid will never be happy though.

It implies nothing on the sort. Maids are not sad slaves, but regular employees. They can have happy lives too (even if with a less wealthy lifestyle than people who use their services).
Wait a second. Android Pay doesn't work offline then?
I heartily recommend Dave Thomas' Elixir book from Prag Prog.
I assume my code knows (or can readily find) the value of M and N. The max_height of the pyramid is ceil(M/2) + ceil(N/2). The height of every point in the matrix can be readily calculated by taking its Manhattan Metric distance from the center. The equation is max_height - (floor(abs(i-M/2)) + floor(abs(j-N/2))). O(MN) operations are needed. The ceils and floors are there to deal with the case that M or N is even. I did this in my head so there may be off an off by one error which is easily remedied.

I forget terminology. Object is an instance of a class right?

Did I get the job?
The acquiring bank provides merchants with an API to process payments, both their own cards and other banks, the latter of which are processed through the networks of schemes like Visa. They also settle with the merchants.

WePay/Alipay if they are processing card payments on behalf of users could be considered merchants (or merchant aggregators). However Wepay/Alipay stored-value wallets are different. They are technically issuers (ie your bank), but typically not connected to this particular type of system -
though they could be quite easily.

Apple-pay & Samsung-pay are a little more complicated. They act as pseduo-issuers through a partner thats connected to the above system but outside the scope of the video. When you make a payment with apple-pay, they issue you a custom card number which passes through the terminal at POS and the system in the video to the partner, who then matches it with the actual issuer of your bank, and passes it on through for processing.
I don't really read news (don't care much about politics and world events). Mostly specific subreddits about tech and my hobbies, blogs, hacker news.

From time to time (maybe once a week) I will read a newspaper website in my native language (a small local European news company which has been quite objective in my view) just to not be completely clueless about what's happening in the world.
All the restaurants I know of buy their stuff directly from markets early in the morning.

In London, restaurants all pile down to Smithfields, Spitalfields and Billingsgate markets at the crack of dawn for their day's ingredients - they don't go down to their local supermarket and walk around with a basket.

They fill up their crates with the stuff they buy and head back to their kitchens.
The solution isn't more "pragmatism", it's an actual "incredibly powerful type system" like Haskell's. In my projects JSON decoding is just

instance FromJSON Foo

and that's it.
Yup, this doesn't contain any quotes from well placed sources or anything like that nor delivers any new information about, say, Meg Whitman's candidacy. Totally devoid of merit.
All You Need to Know About EV SSL Security
SCP direct to and from GoogleDrive with Couchdrop
Next-Door Strangers: The Crisis of Urban Anonymity
Piracy is not a bad deal actually - currently if I want all the movies and music I'd have to sign up for multiple streaming services, totalling about 50$ a month. And even then, there's no guarantee I will actually get all the music and movies I want - there's always that one artist/producer that doesn't want their stuff on streaming services for some awful reason. Not to mention region locking, etc.

I can't see myself giving up piracy just yet, but I would love it if streaming services cut the crap and improve their service.
Shouldn't we be able to come up with technical solutions to that problem? For example, I know there are various sorts of "fingerprinting" technologies developed for identifying music fragments -- perhaps it would be possible to automatically identify copyrighted material using these sorts of technologies? Presumably Google does this already for YouTube, so someone make the technology available to indy websites providing upload functionality?
A product like Netflix cannot actually monopolise its marketplace because at the end of the day, they are selling a very well understood, easily replicated goods - namely content. Unless we went back to the big studio era when talent was locked up with multi year contracts, nothing can stop a Hulu from poaching a great show runner from NFLX.

Under such a scenario, I don't quite see why N belongs with the other big kids of F-A-A-N-G.

Its long term success is suspect to me, debt or not.
This is what I like. When I start such projects, I am criticised by my peers, told that it is a waste of time and effort, that the best methods and most optimized libraries already exist and that I will never make anything better.

Well, not always the case. Of course I understand the merit of standing on the shoulders of giant(corporation)s, but sometimes you just want to try out something new (to you) just to test your intuition and improve your own perception of existing knowledge.
I don't know if it counts, but I have decided on not publishing a project I worked on (sporadically) for 14 months either as a binary or as open-source code because of previous experience with a fairly popular open-source software I published a few years ago.

People expect you to work full-time on your project and get angry when you don't fix bugs. I have enough stress at work, where I'm paid to do things.

That hasn't stopped me from making things open-source though, I still enjoy it, and it has caused me to contribute more to other projects.
I don't think credit cards are widely used outside US - most use debit.
Maybe Australia or NZ - they're a bit quicker to roll out new-ish card tech than UK I think
Nope. The solution is actually "more pragmatism", not "here's a thing that requires a PhD in type theory to understand".
@Zeusk is right, I wish costs of SSD-RAMs like Diablo Memory1 [1] were more affordable or transparent.

Summary performance comparison by Storage Class: http://xitore.com/what-is-nvm-x

NVM-X RAM ≈ DDR4-3200 ↧Availability|↥Cost| ↥4TB@25,6 GB/s
Diablo Memory1 ↥Availability|↥Cost|↱256GB@10GB/s

EDIT, added source:
[1] http://www.diablo-technologies.com/memory1/
In Rust you can also just make your struct deserializable, use a JSON lib to deserialize a string and get the corresponding object in a Result type.

The amount of work you need to do in Elm instead is huge.