skysight-inc/HackerNews huggingface dataset:
I agree that Elm is more strict at compile-time than TypeScript, there is no argument there.

What I have a problem with is using an example where the programmer is lazy in TypeScript, then assuming the programmer is NOT lazy when coding in Elm.

If you just print an empty error string and your app continues running assuming it decoded successfully, you can be in as bad a place as the app that crashed. Actually, in some mission critical cases, failing hard is safer than continuing with corrupt data.

In both cases, TypeScript AND Elm, you must do work to handle the failure to decode gracefully, it will actually be less work in TypeScript because you have less to specify. The only difference is that in Elm, you are reminded more often to do that work.
Show HN: Launched on HN 5 yrs ago, evolved into First community-built record label
yeah, this isn't for the hacker. The thing that pulled me into 3d printing was a 400 dollar machine that opened up amazing possibilities.
Victoria BC actually pipes all sewage right out to sea currently. So anything w/ micro plastic beads gets sent right into the ocean. This is also the case with the storm drainage system, so anything left on the road also right into the ocean.
Properly working, check.

Easy to develop and maintain, big check.

Widely used so you can hire - it's usually easier to hire Elm developers because there are more people who want to use it than jobs hiring for it. The opposite is true for JS. So...better than check, at least for right now! :)

Here is a CTO giving a talk about his company's experiences with Elm:

"Elm from a business perspective" -
https://www.youtube.com/watch?v=DvQI1KntMhk
>Does anyone want to live near a nuclear power plant? Do you? I sure as hell would not.

Using logic instead of emotion, yes I would. Hopefully the electricity costs would be cheaper.
They consider all the possibilities possible.
> GitHub suspended my account because I used it to host a "for-profit" website, which led to the website being down for several days before I checked.

What kind of website were you hosting?
Some reasons this happens:

* Most people don't actually need free speech because in large their ideas are popular, tame, uncontroversial, and respect the established order.

* We are quick to define ideas that disagree with popular opinion as hateful which drives those that hold them to the fringe. Only the loudest and angriest will have so little to lose socially that they'll dare speak in public (i.e. the top and bottom of the social ladder).

* By in large we like to be surrounded by people that think like we do and believe the same things we do. This leads to partitioning the internet into disjoint communities and social bubbles so strong that, despite being almost 148 million people in the US, a common sentiment is 'I don't understand the issue, I've never met someone in person who opposes gay marriage'.
XAML has a high learning curve and lots of ways to shoot yourself in the foot. But it works well. I shipped an embedded real-time data visualization product that used WPF XAML for the UI and ran perfectly smooth on a second-gen Intel Atom. The latest UWP incarnation of XAML is all native and used heavily in Windows itself.

MVVM is not an anti-pattern, it's just a simple way to communicate changes to a retained-mode UI framework (XAML's rough analog to React's shouldComponentUpdate). Data binding prevents a lot of error-prone glue code.

Disclosure: I work at Microsoft.
China has better rail infrastructure than the US, and is much bigger as well.
Voat can be the replacement to reddit if they implement the "popular" section as reddit has - people with accounts will see what they currently see, but new users can see a more regular site. The over the next 3 inevitable reddit scandals, they can take progressively more and more reddit users. If reddit screws up the site design, and Voat doesn' screw up, Voat can take it all.
The fact that you are being downvoted for sharing your opinion is quite funny.
How do you sign up? There is no option on the website.
I would argue yes. No one legitimately uses Bitcoin as a form of currency. The two types of people buying it are (1) those currently using it as a volatile investment vehicle and (2) those currently using it as a means of illicit transactions.

Any other play is a losing one as your risk of huge devaluations in trying to use Bitcoin like cash make it incompatible to the average person. The usage of Bitcoin as it was originally envisioned is far from the truth.
Beauty is subjective; Usability is not.

Good design must be usable; otherwise we'd call it art.

That Facebook redesign for example, while very aesthetically pleasing it looks horrible or confusing to use:

* Search box doesn't look like an input control
* Low contrast for top right nav (how do I change to any other page?)
* Where did my groups and apps go?
* Large pictures, great for mock ups, but it just means more scrolling when 80% of
content I don't care or want to see;
I really don't want to have a picture of a high school friend's baby take up the whole screen
* etc.

It looks nice though.
Sounds like that's the case to me as well. Having safe stock phrases is explicitly a strategy used by autistic individuals to cope with unexpected situations. Like, one common issue that teachers often run into with more severely autistic students is that they'll say "no" to requests because they need to give a safe response of some sort, and the teacher interprets that as being willfully defiant rather than simply overwhelmed by the current situation and trying to do something safe.
[filing under 'things front-end programmers say when they encounter the JavaScript ecosystem']

Yes, QML is nice. Yes, it would be great if everyone used that instead of <your solution here>. But it's not going to happen. What will happen instead is that web-native solutions will outcompete imports again and again, as they have since the dawn of the web, because the shape of the space itself privileges solutions that are able to handle the terrain. Yes, React kind of sucks in places. Yes, its PATENTS file is discomfiting. No, it won't be replaced anytime soon; we literally just got here.

Attempting to replace front-end web dev with markups and paradigms from the desktop is the software equivalent of marching on Moscow. There are better things you could do with your soldier's bodies.
> What more should they do?

How about storing issues and PRs in the actual git repository? They should index them for the UI, sure, but the source of truth should be a branch of the git repo just like it is with gh-pages. It should be possible to file a new issue by committing a markdown file to the correct branch and pushing it to Github. Their hub command line tool and their own client could facilitate adding all the correct metadata. This would allow people to work while Github.com is offline and synchronize everything once the service outage is over.

If you have access to a distributed database that is already the best available for manual conflict resolution, why wouldn't you want to use it to store this kind of data? A Github outage is like a partition when you think about it from a distributed db perspective, so treat it like an individual node died and still allow reads/writes to the rest of the cluster that can be merged back once the node comes back online.
No, it's not going to solve people being assholes. But a shared, write-only and unalterable database of voting transactions created by pseudonymous entities could be an extremely useful tool if we really want to safeguard against this kind of thing.

Because of the rhetoric surrounding blockchain spam, it's easy to make the comparison to marxist theory. But I think it's really just a technology, not some grand scheme to alter our economic system. It's more realistic to simply say that it's a tool that could provide some very useful real world applications.
I would probably buy custom tailored everything if price weren't a factor. I have annoying proportions so most mass produced clothes seem to fit me poorly.

I don't think it would be that much of a hassle, simply have all your measurements taken and keep that on file somewhere. Whenever you go to buy new clothes submit that info and get your nicely fitted t-shirts.
Yeah, the idea of having a SQL standard is great. But in practice a "standard" is somewhat meaningless without rigorous compliance testing, and unfortunately SQL hasn't had this for 20 years [1]. But I'll take SQL over any of poor reinvention of relational algebra any day, so it's still better than the alternatives by far :).

[1] http://www.techrepublic.com/article/is-sql-a-standard-anymor...
In fact, there are already solved positions that are known to require over 500 moves to mate:

https://en.wikipedia.org/wiki/Endgame_tablebase#Tables

It seems like different parts of the chess world are a little bit divided about the best way to integrate this knowledge into the game.
> I care only about properly working, easy to develop and maintain and wildly used so I can hire for. Elm is none of these at the moment, but React is.

As a CTO and the author of the OP, I can say with confidence this statement is false. Elm works correctly, is easy to develop in, and is easy to train developers that have experience in other languages to write Elm.
Right, but "some databases at Facebook that will still use InnoDB" was a direct quote.

The context being that InnoDB got FB pretty far, and that UDB appeared to be the first area where any pain was notable enough to need something else.
By voting rings I meant that were promoting real 'amusing' stuff to pile up banner ads CPM revenue. They invested a lot in 'amusing stuff' and as well as keeping Digg alive.
> the TV urging you to continue binging on your saved guilty-pleasures watchlist

The shelves in the grocery store calling out to me because they know I like potato chips! Can't wait!
That's what I thought as I worked on RT11 on PDP 11's when I saw a CP/M system I was struck by the similarity
Cool! Awesome! New MIT grads playing with JS who think "this whole deep learning thing is pretty neat"!

Most "normal" humans -- and application developers -- will just see this as "yet another webapp" running some crazy ass code in a browser tab with no apparent rhyme or reason.

We've gotta stop the insanity! We need regulation! We need: "Linux on the Web" (a web-based OS that I've been developing for the past 5 years, see it here: https://linuxontheweb.org) to start putting this kind of crazy, experimental stuff into actual use.

I'm really not trying to be too much of a jerk, but I've been working on my project for about as long as it takes to get an entire college degree, and I'm going to start needing some help here!
It would be interesting to make a "search engine" that returns results that can be aggregated. In the LinkedIn case that would be over a company.
Maybe re-write is back end improvements rather than UX change? The site often is overloaded which could be the reason they want to rewrite.
Looks very similar to NCL https://github.com/PayWithMyBank/ncl but not having a easy way to create rules to override previous definitions.
But surely the append only property is rather weak, unless it is backed by physically read-only storage? Otherwise the system itself may not be able to change existing events, but a rogue admin or other bad actor could.
Game of Thrones Leaks
Hedge fund researchers have also chartered private airplanes to fly over oil storage facilities and use infrared cameras to check tank levels. In the USA at least this is completely legal as long as they observe regular FAA flight rules. For the oil market as a whole this is a good thing since it helps price discovery.

It's not practical or safe to put a huge parachute or balloon over a tanker to block overhead imagery. Any sailor can tell you it just wouldn't work.
I'm pretty ignorant of A/V codecs. Can you explain why .gifs are bad and animated .pngs would have been better?
NET::ERR_CERT_REVOKED
Issuer: StartCom Class 2 IV Server CA
This is amazing. Very cool.
I also fear a redesign, the core of Reddit is a fast consumption of a high number of links and text snippets. Everything that goes against readability and speed (i.e. ads or a pretty UI) will hurt my experience... but should increase their revenue.

I really fear the future of Reddit, it's a website that I deeply love but I cannot see how it can be improved or made sustainable as what makes it so good is also what makes it a place where ads do not have their place.

Hacker News offers a very similar experience but I trust YC and its community. HN is a small place run by people that could recreate this website in a day, I don't see how it could ever die or change in a bad way. That's not the case of Reddit.
The problem is that this sort of article gets "spun" into a much worse one. Complete with the infamous "floating garbage so bad you can't see water underneath it" photo. People immediately conjure up images of a floating garbage island that is larger than Mexico. Not to mention how catchy and self-gratifying it is to share such a spun article on social media where the conveniently "picked" photo happens to be the floating-garbage one. This is why we can't have nice things and reasonable discussions on nuanced topics.

"A Lie Can Travel Halfway Around the World While the Truth Is Putting On Its Shoes"
Wind is bad for birds.
FWIW, this is fixed in the upcoming Postgres 10:

"Reduce locking required for adding values to enum types (Andrew Dunstan, Tom Lane)

Previously it was impossible to run ALTER TYPE ... ADD VALUE in a transaction block unless the enum type was created in the same block.

Now, only references to uncommitted enum values from other transactions are prohibited."

https://www.postgresql.org/docs/devel/static/release-10.html...
In spirit of findings new paths, just an idea (and I'm not sure at all that this is a practical solution):

fail2ban---a tool commonly used in servers to automatically block remote attackers such as spammers---can be configured to automatically send an attack report to some e-mail address when it detects an attack.

A browser extension, such as PrivacyBadger, could do a similar thing when it detects a tracker. Let the report be sent to a law enforcement agency that is setup to deal with this kind of problem. If this agency collects enough data, then it can do some data mining to find, for example, the most violent trackers. If that works, maybe such a tool can be used to give law enforcement some actual power to punish these companies.
Babies learn how to use a nipple more efficiently, but the initial use is innate:

https://en.wikipedia.org/wiki/Primitive_reflexes#Rooting_ref...
Every time I am about to quote my rate for a contract, or enter a salary negotiation, I reread the details of http://www.cbsnews.com/news/silicon-valley-software-engineer...

That usually gets me fired up enough
>moral compass

The issue I see with this is in 2 part.

First, any issue that comes down to "moral compass" is inherently dangerous. We can find many examples of the simple concept that what to one person is Good is to another Evil. In this case, I think Linkedin shareholders would not appreciate calls to mess with the site, or with people having trouble jobhunting because the site is going down repeatedly due to DDOS or whatever.

The second is that these kinds of calls to action (linkedin sucks, fuck with it) smell like vigilantism to me, and while Batman is my favorite hero (I really only lift because I kinda sorta wanna be batman), vigilantism doesn't contribute to a stable society. Rule of law works better than the chaos of multiple agents enforcing their own moral code as law.

EDIT: I'm happy to be downvoted if I'm saying something stupid, but while doing so I would very much appreciate a quick comment as to why I'm wrong so I can improve my knowledge.
I stopped reading after "Here we limit our comparison to the dominant energy sources—brown coal, coal, oil, gas, biomass and nuclear energy"
Why wouldn't they just put switches on all access panels that set off an alarm as soon as they are opened? Cheap and effective.
I assumed that 10-20 people would not include anyone who ever physically touches a server. Now that I think about it, it might make sense to not outsource hardware issues at Reddit's scale. I don't know how many people you need to keep Reddit running, but more than a hundred sounds wrong for such a basic web site.

I don't need Secret Santa and no support. What kind of trust do you mean?
From what I've heard (through two or three levels of separation), the regulatory agency on Nuclear power is stiflingly draconian. Getting any kind of new technology implemented is prohibitively difficult and expensive, which just adds to the list of disincentives in venturing into nuclear power.
The reactor that does not exist fails by releasing radioactive fly ash from the coal plant that was never shut down, because nothing was ever built to replace it. Don't discount substitution effects. Your argument would not put safety belts in cars, because the belt that was never installed cannot strangle or entrap its passenger.

Also, do you know of any reasons why the 1000th instance of a design might be less prone to failure than the 1st, or 10th?

Can you think of any reasons why a car door handle might be more reliable (for the same cost) as dirigible door handles? There are many thousands of car door handles in use daily, such that all common failure modes have been seen, and then addressed in later manufactured models. The handle that fails can make the next handle made better able to avoid that specific failure mode.

You want things to fail just a little bit, but not enough to hurt anyone or cost too much money. If something fails, that means it isn't over-engineered for its intended purpose. And the failure point may then be examined to make the next design better, and improve upon existing maintenance strategies.
Respect. This pretty much killed the PC I'm on now. Wasn't even able to get to the task manager :D

Windows7, Firefox 54(64bit)
2016 Social, Passwordless and SSO Data: What Can We Learn?
Late reply, but we have such guide here: https://reasonml.github.io/guide/javascript/converting

You can also check the community's work: https://reasonml.github.io/community/
Amount of resources required to run AI research have already made it a deep pocket game. Current AI research is a big corporate game. You will neither have compute nor data to do anything original unless it fall under transfer learning and somebody is kind enough to share pretrained model.

I am not sure how setting the right principal which every one should follow will put it out of your reach. I think it will force the corporates to avoid taking unnecessary risks with something we don't understand.

Perhaps a much more thought through version of Asimov's 3 laws of robotics.
Also Reddit is alive because of them, they play by the rules, who is gonna invest billions of hours to keep Reddit active without any kind of reward in return ... Rewaeds could be depending on the sub Reddit you run.
At the moment WebDNN only runs models on the GPU in Safari Technology Preview, falling back to CPU on all other platforms / browsers: https://mil-tokyo.github.io/webdnn/#compatibility
Sure just like encryption, math and physics
Another example is North Korea:

http://www.globalsecurity.org/wmd/world/dprk/taechon.htm
I think that's missing the forest for the trees. Java had large companies investing heavily on it, which is why it already had a JIT in version 2, whereas Perl 6 languished for a decade. People can see where the trains are going, not just where they are now.
Open Access to SIGGRAPH-Sponsored Conference Content (1 Month)
Hah, I hear you :). Pushing this much logic into the DB can feel weird at times. And the application this is part of definitely has a lot of very complicated and large SQL queries.

That being said, I think things can be somewhat tamed by applying the same best practices to your SQL as you apply to your regular code: I.e. lots of tests, good comments and documentation, extracting logic into either set returning functions or functions suitable for lateral joins (both can be inlined if done right [1]), keeping things in version control, etc.

But yes, applying those practices can be harder in SQL than it is in your application layer language for various reasons. So I'll always recommend avoiding going too crazy. You can often get the best of both worlds by making pragmatic choices about what should be done at which layer. No need to enslave yourself to a false dichotomy.

[1]: https://wiki.postgresql.org/wiki/Inlining_of_SQL_functions
In Georgia, yep, police are specifically exempted. They can do whatever they want on their laptops (or other devices)
Knowledge is never tainted.
This deserves to be the topmost comment in this thread. I don't know if its a common problems among people, but even though I know these facts, I can't help but not be affected by gaffes or embarrassments in a rather traumatic way sometimes. This makes slights by others even more painful. Perhaps its a part of my subconscious mind but I have been working on it for a while. My reactions are less intense but I think I worry too much about things that don't really seem to matter... I've had to guide myself to not do that specifically.
Yes, a thousand times, yes. To me, this is the worst and most offensive redesign of something so pivotal to research, investigative reporting, everything beyond the surface. Being able to dig and dig and find out who is reporting what pieces of the story. I don't CARE if there are 12 articles about the same thing if there are truly 12 different legitimate reports about the event of interest. I want to see all 12 sources in their original place, date stamp, author, etc. The original links are where the real stories hide... not in this curated crap.

Thomas Jefferson said: "Advertisements contain the only truths to be relied on in a newspaper." Google already has all the news indexed; why it is choosing to provide less surface area over which to sell its ads is something that makes absolutely no sense.

Company press releases are a gold mine of information. These used to be so prominent in news.google.com; they are completely gone. Multiple pages of results. Gone. All so the already-digested news can belch all over cell phones.

I see it as an attack on our democracy. Basically, censorship. But apparently they don't care.
No, this is different. Firefox has an option to encapsulate third-party cookies by origin page.

So, depending on if you click on a facebook like button on A.com or B.com, facebook sees two entirely separate browsers.
“Full Text Search” with SQLite
> Though generic antibiotics are often very affordable, or even free, at pharmacies, the cost of visiting a doctor to get a proper prescription can be prohibitive for some people, particularly people who don't have health insurance. Studies have shown it's common for people to keep old prescriptions of antibiotics to use in the future without a diagnosis, or even take their pets' antibiotics.

In England a lot of these people would get free healthcare, but wouldn't get antibiotics because of stuff like antibiotic guardianship - a public health measure to make sure people only get antibiotics when it's medically needed.

http://antibioticguardian.com/

Do US doctors just prescribe antibiotics willy nilly? If you can afford the doctor you'll get the 'script?