skysight-inc/HackerNews huggingface dataset:
In exchange you get incredible validation of your JSON and precise error messages about missing fields etc.

And you don't have to write that bit by hand:

http://eeue56.github.io/json-to-elm/

will generate the decoder for you for straightforward cases and give you a great starting point for more complex cases.

You also get proper ADTs to manage state: not asked/loading/loaded/error something that is tedious and error prone in Javascript.
The big problem with cryptocurrencies is that they're really not currencies...

I don't know anyone who would want to use BC for anything other than speculation. Speculation that undermines the stability of the currency, which isn't conducive to use as currency.

There are proper cryptocurrencies that don't require mining but they don't seem to get nearly as much attention.
Those LED plots are pretty crazy. Surprising how much incandescent lights vary though (10-20% according to the plots) — would have it would have been much less than that.
The confirmation page is a difficult read (black and orange text on color photo background).
It could be a boost converter if the LEDs are in a series&parallel configuration to save money.

PROS

Higher voltage is great because the conductors can be smaller.

CONS

Higher voltages need sufficient insulation.

Circuit maybe more dangerous after a collision.

Long series of components is bad because one component going open-circuit takes out all others on the same string.

---

There are also other technologies like LED filaments which appear like a continuous light with less ability to see individual elements.
It's too late to edit, but I should note that I don't think there's _zero_ merit to the pint you're trying to make. I just think that you're generalizing too wildly. Doing things you don't want to do can be an important part of one's character. I just think limiting yourself to those specific tasks is an incredibly narrow view of humans and human potential. Practicing music isn't always fun, studying things sometimes feels like work, getting myself up and out on a run can feel like a chore, etc etc. All of those are in service of a larger goal, much as cleaning is in service of the goal of having a clean living space. I just don't see the case that cleaning, etc are somehow inherently required parts of the human experience (and yet somehow growing your own food and digging holes for your poo isn't).
Author here. As I posted in a different reply:

JSON decoding is hard relative to what it is like in JavaScript. In your JS code you can just call JSON.parse() and get the corresponding JavaScript object.

In Elm, decoding is not nearly as easy as it is in JS because every field must be explicitly converted to an Elm value. Depending on the complexity of your conversion from JSON to Elm value (e.g. whether you are just decoding to primitive values or to custom types defined in your program), there may also be a bit of a learning curve.

As I stated in the post, there is a benefit in doing all of this: your Elm application will effectively type-check your JSON and reject it if it is malformed.
Yea I mean the solution to all problems, literally.
Screen backlights aren't turned on and off at 60 Hz.
The whole idea of a credit card is that you buy something by borrowing money, because you don't have the money right now. If you do have the money, use a debit card.

However, I'm not completely against debt. I think debt can be managed and healthy under the right circumstances, and as long as it's used for stuff that you need and not stuff you want. If you truly need the stuff, the time and other purchases the debt gave you (such as a student loan to get a degree for your job, or a mortgage to live close your job) will pay for themselves.
PassivDom – off-grid 3D-printed gadget house
What kind of API do you want?
'Bitcoin Cash' Fork Comes August First, but It Might Not Matter – Fortune
No PR + Code Review process is going to help with the cognitive load of programming.

When you begin to juggle multiple open files, moving program flows between them, rewriting or moving tests and methods, etc., those times when you are refactoring part of your architecture, for this kind of task I think there's no better tool than pair programming (or even mob programming) for example.

Also you are right on it: it takes discipline. It's exhausting by the end of the day but some of my most productive days were after a 6 hours session of pure pair programming, while refactoring or splitting up a service that grew too big. Or implementing some convoluted business logic where my head couldn't properly hold all of the pieces together.

I don't think PR + Code Reviews would help on those cases, if done properly it can probably come to the same end result but with a muuuch longer feedback loop.
I would really like to hear something about your experience with SAP HANA.
Do you have a blog or anything you could share?
The screens have separate backlight which is done with other technologies and if with leds, definitely with higher frequencies than 60 Hz.
punishment isn't going to work, losing a child is the worst punishment they could get and yet people still forget their kids.

It could deter leaving the kid in the car for a few minutes, and might also serve as an inconvenience.
If there was an app, it might not require any integration at all - just a vibration or beep pattern with a notification every time I step out should be more than enough. If I have my child I'll ignore it the way I would any message, if I don't the distinctive pattern should be enough of a memory jog.
I don't use browser extensions at all because they are often made by unknown developers and I cannot trust them.
> The problem comes when you think that people doing things you don't like is somehow wrong.

I should have clarified that more: As I said before I have no issue with the basic concept behind cryptocurrencies, Bitcoin is a great thing and will hopefully do even greater things in the future.

And of course, everybody is to free to do with their time and resources as they please, never suggested otherwise.

What I have an issue with is how new currencies seem to be popping up like mushrooms because they've become the current "thing" to do if you want to make a quick buck. From the outside, it just looks like a bunch of pump and dump schemes, with no purpose besides offering a couple of early adopters the chance to make temporary huge profits, comparable to a digital Wall Street.

Originally I imagined BC as the solution to all the exchange rate shenanigans and whatnot, have one global and digital currency for everybody. Instead, we are now forking currencies like software, I'm not sure I like the possible long-term ramifications of that. Do we really want a future with hundreds, if not thousands of different, and competing, cryptocurrencies? Is such a future even viable?
OpenStreetMap could be a good source of a base map with a very liberal licencing issue, You'd only need to have a "Map Data (c) OSM contributors" on the map (IIRC).

The main openstreetmap.org tile servers are liable to block your application if you put too much load on it, but there are plenty of companies which will sell you tile server access, (GeoFabrik, ThunderForest, Mapbox, Mapzen).
God it would be amazing if BuzzFeed was destroyed after Gawker was hulked to death.
Owning the Web with Zombie Chrome Extensions [pdf]
Show HN: We built a bot to automatically test Android apps on multiple phones
Porting Goxel to iOS
The first one seems like a good job for the Web Audio API.
I would have paid more attention to Monopoly if I had known life would actually play out in precisely the same way.
Agreed. I wish they would just state the facts, and avoid the SJW nonsense. I don't care about the author's thoughts on identity politics - I just want the substance of the story.
Threats to Enterprise Mobile App Security
I'd face a big fine any day over the death of another person that I caused inadvertently. The former sucks, but I'd get over it. The latter would wreck my life forever if it happened.

In any case, my suggestion was to call the owner first. They would have several minutes to respond. Or the product could only do that, and forget about the police part, which would also save lots of lives.

Or instead of calling the police, start the air conditioner and continue notifying the owner every few minutes if they do not respond to the first notification.
Terry Pratchett’s Discworld Imaginarium – Pre-Order
I don't think you answered my question. I'm trying to say that people use credit cards even when they have the money and aren't going into any kind of debt.
Increment Cloud: Issue 2
with "serverless" applications you can read the whole app into memory and run it and then clear it for the next app, which i'm sure speeds things up.
Could you summarize what makes debt worse than having investors?

I'm curious, it seems counterintuitive, with debt you don't have to give up a part of your company or lose any control.
This is our state of the art for public transit in the US: https://ny.curbed.com/2017/6/14/15801694/mta-nyc-subway-dela...

I still try to take public transit when I travel (Chicago is pretty good and Portland is OK when it goes close to where you want. Bay Area doesn't have enough tendrils to get you within a few miles of where you want to go unless you're in SF proper, and half my friends refuse to ride Muni even though it's totally fine compared to SMART busses in Detroit) but it's hard to convince most people that the train or the bus could ever be not disgusting and filled with people who exist to make your life miserable.
Simple: writing code in Elm is compiler-driven development. As the article said:

> Just start by changing your type definition and the compiler errors will help you find everywhere that needs updating.

This is how most of Elm development gets done. I change the types and let the compiler tell me what actual code needs changing.

Clojurescript, on the other hand, doesn't have this "assistant", unless you're using Typed Clojure or Schema (it's been a year or two since I tried that, so can't speak from current experience).

The Elm Architecture is worth pursuing even in dynamically typed languages though :)
Show HN: A perceptron with stochastic gradient descent in Go
I agree. Also they make it seem like this particular usage of the word "ahorita" is so unique, but reading the article I got the feeling that, even though the "future ahora" may be more common in some regions than others, this is simply the meaning of the word in Spanish in general.

I am from Spain where you wold think we have a more "european" time management sense. Yet it is common to say: "ahora nos vemos" or "hasta ahora" (see you now/soon) as you are leaving the room, when you know you are gonna meet the others later in the day. It if you ask someone when are they going to do this thing you asked them to do and and they reply: "ahora"... it actually means "when I finish what I am doing now". It is true that in a business setting and some context you might need to be more specific, but that still does not change the meaning of ahora. It is also a ok reply "ahora, cuando acabe con esto", which means--"soon, as I am done with this", or even more specific: "when is the concert going to start? Ahora en 15 minutos."

"Ahora" simply does not mean "now" as in the current instant, but in the "present", this is, the time of the events that are connected to the current activities, the things that you can "wait for", the things that will happen before they are out of your head... it is like "soon" or "soon today", but with a hint of will, of promise, of certainty or fate.
You don't need to switch a whole language because of JSON decoding. There are many tools that exist to aid you write JSON decoders in Elm. The language is not just about the architecture -- you can implement the architecture in any language, as Redux has proven. What people like about Elm is the compiler and design philosophy that radiates through the entire community. Switching to Haskell won't give you that, as the Haskell community has different priorities.

Here are some JSON tools for Elm:

- json-to-elm http://json2elm.com

- swagger-elm https://github.com/ahultgren/swagger-elm/

- elm-graphql https://github.com/jahewson/elm-graphql, https://github.com/jamesmacaulay/elm-graphql

- elm-export https://hackage.haskell.org/package/elm-export
Are you me?!?

I too went all in on the numbers, heart rate monitor, detailed running plans, 5k competitive park runs every weekend. I thought I should run at least x times a week or I'm doing it wrong.

Holy cow, did it suck the enjoyment out of it. Having MapMyRun shout in my ear every kilometer meant I couldn't just zone out and enjoy the run.

Then I fell down some stairs at a tube station in London and popped my patella. Fortunately it popped straight back in, and it healed on its own but it took months and it was over winter so I stopped running.

When I got back in to it I decided it was time to go "au naturel". No head phones, no shouty applications, just me and the road. I've kept it up, and don't ever plan to go back to my former approach. I've also found that if I switch up cycling and running there's less strain on my healed knee whilst still allowing me to exercise 2 - 3 times a week. I always recommend to people now that if they can they should cycle and run.
https://en.wikipedia.org/wiki/Hume_(programming_language)
Consider how they'd be if capitalism didn't exist.
> GraphQL is an incremental improvement over REST.

No, it's a huge step backwards into RPC.
$20B looks so innocent, but that is a staggering amount of money. From merely grazing NH, I feel like Netflix seems to "Secure 2 billion investment" every couple of months.

I had the impression the company was essentially working as a street sweeper with a 20 million pound credit card limit.

These documents https://ir.netflix.com/results.cfm show it is picking up 2.5 billion a quarter.

I am pretty speechless.
interesting trivia: this year, one of the horses "refused to run" (i.e. it was so nervous it was impossible to get it/him/her to stand at the line). Animal rights activists had a lot to say on that.
Part of it is that a lot of Netflix's "original" content is actually just Netflix acting as the US distributor for stuff someone else has produced- other countries may get distributed through other platforms.
Yup. There are a bazillion libraries now trying to pretend to make it look like it's easy to deal with JSON in Elm.

An online converter is definitely not something I would advertise for a "production-ready highly productive amazing pragmatic language to be used in a serious company"
I went to LEDs in my apartment about two years ago. 3 Hue bulbs + hub, some 48" T8 LEDs, and some E26 Ikea bulbs. The Ikea bulbs are great, power on instantly and slowly fade off. The T8s take about 3/4 second to turn on, and are nice and bright (and a far cry from the power consumption of the T12 florescent bulbs they replaced).

The Hue bulbs... well, one's developed a noisy transformer. Replacements are, what, $40? Meh. I like the Zigbee integration, but not $40 in two years worth of like. And the CRI of the Hue is just as bad (actually worse) than the other bulbs.

Lesson learned, those Ikea bulbs are great.
about:config, set network.standard-url.punycode-host to true
Yes it is structurally different. However, it is also a much cheaper source of funding, especially in the current low interest rate climate.

I have no clue on the metrics of Netflix, but if spending $50 or $100m on a show gets you an added $3m in MRR then it's clearly worth it for them, since they're trading at a p/e ratio of 225.

Either they become so profitable they can repay the debt, or their market cap increases significantly + can raise additional capital from share sales at some point (at obscene valuations, I might add, but then again they seem to have been performing) and repay the debt.

Then again, I have no clue how much each show adds in MRR. It could very well be much less than $3m MRR.

But there's pretty much no alternative to developing your own content -- without it Netflix wouldn't be where it is today. Requires a ton of capital though.
There exist multiple tools to aid you with writing decoders:

- json-to-elm http://json2elm.com

- swagger-elm https://github.com/ahultgren/swagger-elm/

- elm-graphql https://github.com/jahewson/elm-graphql, https://github.com/jamesmacaulay/elm-graphql

- elm-export https://hackage.haskell.org/package/elm-export

Once you've got the hang of it, it's not that hard either. Just time consuming. That's where json2elm comes in :)
That happened to someone in my family. You can be sure they'll never do it again.
Screen refresh rate (rate that each image is replaced) is a lot different to the frequency of the PWM applied to the backlight. If the backlight were pulsing at 60Hz people would be _very_ upset.
I always thought it was strange that Google bothered adding so many XSS prevention measures to Chrome when they also happily give UXSS abilities to extension developers, complete with the veneer of trust provided by the Chrome web store.
From this thread I've learned that a people-resistant safe might not be fire-resistant.

Please check if your safe can actually handle heat and water.
Medicine's women problem
Why can't a maid be happy?

A garbageman are constantly taking care of other peoples garbage. Does that mean they too can't be happy?
I would like to encourage anyone to read these kinds of "evaluations" with a bit of criticism.

When doing evaluations there are a lot of nuances.

I will comment on a real world example
from our own experience.

Disclaimer: I am biased running a company
implementing my own platform.
I will try to stick to topics that folks should "look for" when evaluating these things rather than inviting a debate on "my tool vs yours"

For deep learning on spark specifically, there are 2 workloads, training and inference.

Your data pipeline here matters a lot. A job that pulls data from hive will surprise be bottlenecked by hive.
This by extension means the kind of data and small things like the number of records you fetch or cache on say: hdfs matters a TON.

On our platform, we implement 2 versions of distributed communications: spark driver and parameter server. The parameter server is faster. The latter is what mxnet and tensorflow do as well. Tensorflow uses grpc underneath.
mxnet writes its own.

While both are data flow graphs, the latter is optimized for linear algebra and I would like to say has very different requirements (for example gpus which are another level of complexity)

When using these parameter servers, you should look at what guarantees these things provide. For example, do you need consistent latency? Fault tolerance? At what scale?

Something as simple as"do these parameter servers do p2p on each node?"

With spark, it's not well designed for that. A lot of workers are meant to be stateless.

With spark another gotcha (especially on the linear algebra part) is on heap memory. When you are using say: pyspark for example, how you handle data movement matters a lot, and again surprise ends up being your bottleneck.

We use pyjnius instead in our python interface for linear algebra:
https://github.com/deeplearning4j/jumpy

We implemented this because we liked the idea of being able to pass numpy pointers straight to the JVM rather than copying data. I believe pytorch and co do this as well (which are just straight C/C++). That is the right way to do it

The default is py4j (which overall is more versatile but not meant for DL)

Don't even get me started on a normal etl pipeline vs "images", which is typically what you see.

Another big complexity with say: spark and even gpus is gpu usage. When using mesos, you can only reserve a whole gpu, not fractions.

Another thing is worker setup. For deep learning specifically, What BLAS did they use? How was it compiled?
Was it optimized for the right cpu architecture?

How does the the workers communicate with the gpu, if any?

If you're using a JVM, how do they handle the FFI?

How are workers configured for cpu/cpu?
Things like OMP_NUM_THREADS on each worker matter a lot.

If you're using spark, did you configure k small workers or 1 big one? How did that interact with your multi threaded linear algebra?

Hopefully this gives people an idea of how complicated these things get.
Right now, there exist multiple tools for dealing with JSON:

- json-to-elm http://json2elm.com
- swagger-elm https://github.com/ahultgren/swagger-elm/
- elm-graphql https://github.com/jahewson/elm-graphql, https://github.com/jamesmacaulay/elm-graphql
- elm-export https://hackage.haskell.org/package/elm-export

It's worth noting that JSON decoding is not _hard_ as such, but it's harder than other parts of the language. It is more time consuming. Tools like these can help reduce the amount of time you spend hand writing decoders.
Generics are overrated
A strange perspective. I'm perfectly capable of cleaning my apartment. I'm perfectly capable of using public transit (I can't even drive). I'm perfectly capable of doing my own shopping.

I could do a lot of things myself but I rather use a maid, a self driving car (once they exist) and home delivery for shopping.

Self sufficiency is the road to poverty.

The 'craze' will not stop, because most of the time doing things for yourself does not make sense unless you actually enjoy doing it.
Yeah, it will typecheck it if you're not bored out of your mind writing all the boilerplate and don't introduce subtle bugs https://medium.com/@eeue56/json-decoding-in-elm-is-still-dif...
Debt usually comes with strict repayment schedule. If you don't have enough cash flow to meet the repayment schedule you go into default. The debt holders force you into bankruptcy. You lose the entire company.
What is the actual utility of this question?
This weekend I spent about twenty minutes using their terrible "discovery" interface then finally resorting to a third party web site to determine if any of the twenty to thirty year old movies I wanted to watch were available. All them were on Netflix, but only available outside the USA. Amazon Prime Video was just as bad.
Yes, it is subjective but for most people cleaning toilets is not enjoyable and thus it makes sense to outsource it.
Top 9 Advantages of JavaScript
Specifically re: cocoa because it's somewhat unique and interesting http://www.fairtrade.org.uk/en/farmers-and-workers/cocoa/abo... https://www.thenews.coop/102902/sector/retail/fairtrade-help... http://www.foodispower.org/slavery-chocolate/
Here are some relevant discussions related:

https://news.ycombinator.com/item?id=14870642
Same here. Ended my subscription last week.

First, the movie library in my country is very weak.

Second, the TV library is becoming filled so fast with so much crap that I don't even know what to watch.

Selecting the right show has become such a massive chore that I don't even try anymore. There is no way to "preview" a show (as I would on regular TV if I was just browsing around). I truly feel paralysis by analysis when I open my Netflix app.

Part of me wants to go back to old cable days. It was just so much more convenient to watch TV. Switch on, flip channels, catch something you like. Follow-up if you loved it, otherwise forget it.

With Netflix, the fact that I have to make a choice from its unending supply of mediocre shows makes watching anything harder.

Netflix seriously needs some sort of a radio-like, "always on" option that I can just put on my TV when I feel like watching something
WSL is not always available for corp Windows setups
Heck, one of them is the La of LaTeX ;-)
This is two levels of blogspam removed from the original businessinsider UK article (which can't even be found via included links). The Yahoo layer at least has content:

https://uk.news.yahoo.com/scientists-made-food-electricity-c...

I don't get how a "single-cell protein" equates to "50% protein and 25% carbohydrates", though.