skysight-inc/HackerNews huggingface dataset:
The author of the book mentioned has a post called: "Why we don't chuck readers into web apps"[0] that is...not encouraging.

"....Understanding algebraic datatypes requires understanding products and sums. Understanding products and sums requires understanding addition, multiplication, types, cardinality, type constructors, and data constructors...."

By the time I reach cardinality I wonder if maybe the author is more interested in making things sound intimidating than helping? Or will readers be quizzed on the Continuum hypothesis?

"Why can’t I learn Haskell the way I learned $BOZOLANG?"

...I hope the book itself won't take this tone. The community doesn't need it.

[0] http://bitemyapp.com/posts/2015-08-23-why-we-dont-chuck-read...
Yeah, but is this Slashdot?
Doesn't libfirm utilize this?
The issue, of course, is that it was still downloading advertisements. Advertising isn't content, and Mozilla got screamed at because a. the way it was released was in a press release disguised as a blog post that attempted to sell why it was good for the Mozilla user (i.e. it wasn't useful for the Mozilla user), and b. advertising is advertising, nobody wants it unless they are getting paid to view the ads.

It's irrelevant if the ads were selected in the browser or not. You'd still have to download a lot of advertising that was irrelevant. And advertisers wouldn't have been happy with just client side choosing, it would have evolved into Firefox tracking you.

It was a very bad idea, and remains a very bad idea. I sure hope Mozilla never tries it again.
My interesting language anecdote is that I find it much easier to hear syllables in Chinese than in English; I have very sensitive hearing, but I can't distinguish consonants very well. My first language is Enlish, and I'm a mediocre Chinese speaker, so it's not easier for me to understand whole sentences in Chinese, but I'm much less likely to lose a word. I've always assumed this is because more of the information is conveyed in long, tonal vowel sounds, rather than the comparatively short high-pass consonants, which is the reverse of English.

Does anyone else have experience with this?
While I use ghcjs for one of my projects, have been a big user of Emscripten in the past, and recently switched from a CoffeeScript project to a TypeScript project at work, I understand what you're saying, but I think it's an overstatement.

Compiling to JavaScript is totally okay if the new language 1) adds something meaningful (like a type system [TypeScript, js_of_ocaml] or the ability to conveniently deal with unboxed data [LLJS, Emscripten]) and 2) does not have a significant runtime overhead. GHCJS, in particular, adds a _huge_ amount of runtime overhead, largely because JavaScript doesn't (yet) support tail calls so the CPS transform must be trampolined. In addition, laziness doesn't make a lot of sense for frontend code, which generally should be as tight as possible. Also, look at the code produced by ScalaJS sometime and weep. :D

js_of_ocaml, on the other hand, produces extremely tight code, and is very suitable for building web frontends. Of course, OCaml probably has a similar learning curve as Haskell. I can't imagine people would get excited about the syntax.

TypeScript is a sweet spot: it's got some value over straight up ES6, but it's easy to integrate and has a very short learning curve.
really? If it works for you then isn't this worth an incredible amount of money (i.e. if you can focus for longer and get more productive work out of the same hours)? If it doesn't work then its worth $0.

My guess is that they need to price it low enough not to scare ppl away, but if it works, then ppl will pay a lot.
Bi-color LEDs should be used so that you can have a balanced ternary clock. This has the advantage that the time is correctly rounded even when digits are truncated. Also you only need 7 LEDs for a 24-hour clock.
The Nexus 6P display, despite being made by Samsung, is way behind the displays in GS6/7 and Note4/5. Samsung keeps the best for itself.
>The San Bernardino litigation isn’t about trying to set a precedent or send any kind of message. It is about the victims and justice.

This is a big fat lie.

The way US legal system works makes any case like this about setting a precedent, be it intentional or not. The fact that the FBI director goes and straight up lies about this just supports the theory that it may very well be intentional.
Dude, the cheap Chinese crap is honestly better than the name brand stuff sometimes.
As someone who has been involved in media production and online publishing, I'm wholly on board with "Adapt or die" here too.
Games with a "season pass" or a bunch of DLC/expansion packs are up around $100 now. Still crazy to think about though.
Undefined behaviour isn't a set of checks the compiler goes through before deciding to call invoke_nasal_demons() which you can then just replace with yell_loudly_about_UB(). Undefined behaviour is a set of conditions that the standard says they can pretend do not occur, ever, so certain results are easier to obtain because the UB is never checked for and assumed to have not occurred.

UB is fundamentally not a well defined condition because it is the absence of knowledge about the state of a program, and many UB conditions are very very hard to detect if not actually impossible (cf Turing) which is why the standard says the compiler doesn't have to care to begin with.

Its very nature means detecting UB in anything approaching a reliable way is impossible, the C standard is not remotely compatable with such an idea.
You know most cars/business have insurance because the state checks that. Sure there may be some who get by for a little while but the system is very effective for the most part!
Just like Haskell, people learn CS by lazy evaluation. Racking up bullet points is not how people should be hiring.

They should be able to train you to do what they expect you to do.
The new UL standard for self-balancing scooters, UL 2272, is out. This is a standard for fire safety and shock hazards only; it doesn't mean the thing won't face-plant the rider. (Underwriters' Laboratories was created by the fire insurance industry.) Hoverboards which pass should not catch fire.

Tests:

ELECTRICAL TESTS
Overcharge Test
Short Circuit Test
Overdischarge Test
Temperature Test
Imbalanced Charging Test
Dielectric Voltage Withstand Test
Isolation Resistance Test

MECHANICAL TESTS
Vibration Test
Shock Test
Crush Test
Drop Test
Mold Stress Relief Test
Motor Overload Test
Motor Locked Rotor
Strain Relief Tests (Cord Anchorages)

ENVIRONMENTAL TESTS
Water Exposure Tests
Thermal Cycling Test
Label Permanence Test

Those are standard tests for portable devices such as cordless drills. All those things can happen during normal hoverboard usage. This will probably lead to hoverboards with lithium iron phosphate batteries, like Boosted electric skateboards. They cost a bit more, but don't blow up or catch fire. Both products need tougher batteries than a laptop.

The Consumer Product Safety Commission is taking the position "pass the UL tests or don't sell in the US."[1] Reasonable enough. It has been 2 days since the most recent hoverboard fire destroyed a house.[2]

Internet of Things developers need to be aware of risks like this. "Move fast and break things" in high power hardware means recalls and litigation into bankruptcy. Even Nest is having troubles over failure issues.

[1] http://www.cpsc.gov/Global/Business-and-Manufacturing/Busine...
[2] https://www.washingtonpost.com/news/innovations/wp/2016/02/1...
ok but

"Saudi Aramco's value has been estimated at anywhere between US$1.25 trillion and US$10 trillion"

or like 10 Apples. Plus they have other assets.
> The video simplifies everything down to the equivalent of shouting your private message across a room when encryption is absent, which it certainly isn't.

Uh, if you're on wifi or a mobile connection, depending on the configuration, it pretty much is exactly like shouting a private message across a room
In other words, they're sticking to their story.

No mention of the iCloud password reset either.
Honestly I'm not sure why they'd say that. Huawei's build quality is extremely good, especially in the Mate line of products. I would have positive expectations until proven otherwise.
I would go for "Programming Game AI by example" by Matt Buckland. Also great resource is aigamedev.com.
In Spanish culture correcting someone miss-pronunciation is quite common. It's one of the reasons why it can be quicker to master the language by immersion that in an ultra-polite society found in English speaking languages.

The best way to work on your accent is to record yourself and listen to it. Ideally you would have a native say it in a native manner. Movies, TV shows, and particularly audiobooks (with the printed copy) can be a great sources to work on it.

I have encouraged my co-workers to correct my English lately (12 years in Australia). They've been teaching me some of the local sayings, and correcting my pronunciation etc... Things that in Spain would have been picked up and addressed much sooner.
No they both are so widely used that its easier to deal with them instead of trying to change the status quo.

The other languages look harder because a) you don't know how to acquire languages easily and b) you don't speak them yet.
In terms of gaining a solid understanding of the math and theory underlying most of modern machine learning/AI, the best resource is definitely the book "Information theory, inference and learning algorithms" by David MacKay.

The author is such a stand-up guy, he's made it available for free: http://www.inference.phy.cam.ac.uk/itprnn/book.pdf
I would expect that to have gone away to some degree with the rise of movies, radio, and television. Certainly it did in the United States. We still do have regional accents, of course, but I remember seeing a farmer from Appalachia on television getting subtitles when I was a kid. I doubt that ever happens today.
It depends on the context though. Code like

vector<int> years;
list<string> names;

is pretty easy to wrap your brain around.
Thanks for opening those issues days ago! I already marked the documentation issue https://gitlab.com/gitlab-org/gitlab-ce/issues/13479 for the attention of our technical writer 5 days ago. I think having the ability to specify a secret from webhooks makes sense and have asked our CTO and VP of Product for comments in https://gitlab.com/gitlab-org/gitlab-ce/issues/13478. GitLab.com runs GitLab EE, this is displayed at the top of https://about.gitlab.com/gitlab-com/ but please let me know if there is another logical place. The API endpoint paths are the same for all GitLab servers so https://gitlab.example.com/api becomes https://gitlab.com/api. I've made an issue to discuss replacing the example.com url with gitlab.com https://gitlab.com/gitlab-org/gitlab-ce/issues/13643

Thanks for all your feedback and creating issues!
Yes, one needs to know four languages in order to be able to coin a word in English.
> No mention of the iCloud password reset either.

Exactly. How can you not address that?

They necessitated this whole mess through their actions. I try not to ascribe malice to what can easily be explained through incompetence, but to not even mention it? Shameful.
Subscriptions can mean an ad-free experience for those who pay, but content for all. Doesn't have to be a wall.
One look at their finances and it's clear why they're doing this. According to their SEC filings, last year Amazon brought in $6.5 billion in shipping revenue [1], and spent $11.5 billion on shipping costs. Take those numbers together and they lost $5.0 billion subsidizing shipping. They lose more money on shipping every year than most startups make in a decade. It's a huge cost on their budget, not hard to see why management is trying to cut costs.

[1] Includes some revenue earned from Amazon Prime memberships; excludes shipping revenue of third-party sellers not under the Fulfilled by Amazon program

Data is from page 26 of their 10-K, linked below

https://www.sec.gov/Archives/edgar/data/1018724/000101872416...
FYI: Prime one/same-day shipping is still $35 - this only seems to apply to non-prime shipping.
Daikatana was never called the "worse game ever," but the worst game relative to the amount of investment/hype/ego.
"Profit was held back by a big jump in fulfillment costs, which increased 32.8% year-over-year in the fourth quarter and nearly 25% for the full year. Amazon spent $4.55 billion in the fourth quarter to fulfill customers’ orders, up from $3.4 billion in the same quarter a year ago, and the increase cannot be explained away by increases in Amazon sales, as the percentage of revenues spent on shipping also increased, from 11.6% to 12.7%." [1]

"There is more than loyalty at stake for Atlanta-based UPS. This year, its Amazon account exceeds $1 billion. ... The average cost to handle a parcel was about $8 last year." [2]

"Some analysts say the move could help position Amazon to offer shipping services to other companies, eventually competing with the likes of United Parcel Service and DHL Worldwide Express. ... Amazon rolled out thousands of its own trailers and launched an Uber-like delivery service last year to handle the so-called last mile of delivery, taking packages from distribution centers to customers' homes." [3]

1: http://www.marketwatch.com/mw2/palm/marketwatch/story.asp?gu...

2: http://www.nasdaq.com/article/amazon-seeks-to-ease-ties-with...

3: http://www.nbcnews.com/tech/tech-news/amazon-drops-hints-it-...
These people are either being intentionally deceitful or are simply incompetent in understanding the full implications of what they're asking. Either possibility is disturbing.
" Seems a little backwards, seeing how it's basically English without the French-ification from the Normans."

Well, except for the Flemish dialect of Dutch. That has quite a lot of French in it.
Show HN: Switchboard.chat
Seems like Prime shipping is still free on orders of any size, with a $35 requirement for free same-day shipping when applicable.

I'd be curious how many Amazon customers actually don't use Prime and will thus actually be impacted by this—seems like pretty much everyone I know has a subscription.
Custer's Revenge has to be the worst Atari 2600 game ever created. Overt racism and sexism combine with bad game play in one rape-y package.
I'm photophobic and am guaranteed a migraine when in direct sunlight or high contrast lighting environments. Diffused, evenly lit indoor environments are my safe harbor without dark/polarized/full-cover sunglasses. Please don't take that from those of us that'd love outdoor lighting, but physically cannot tolerate it.
And it's way bigger and less efficient than having a bigger battery built in.
To be described as 'the worst' in any genre on an international site does, of course, warrant a degree of scale that separates you from those who are, really, probably no better than you.

The worst movie ever made probably doesn't have enough Rotten Tomato or IMDB reviews to be considered. I was once told I had hosted the "worst program on television"[1], but being community tv there were probably 100 people watching each week and as far as I know no extant copy has survived - we'll never appear on a "worst TV shows of all time" list.

So almost by definition on a site like BBC.com, 'the worst video game in history' means 'which also sold tens of thousands of copies [2]', which is a measure of success and recognition most genuine failures won't achieve.

[1] Someone actually called the station and left a voicemail to that effect. I took it as a compliment - it meant he'd watched the whole show, because nobody calls to complain if they just changed the channel.
[2] Or, in ET's case, 1.5 million.
First reaction: "NOOOOOOOO"

Second reaction: "It appears this does NOT apply to Amazon Prime."

I am assuming this is gamed to drive further conversion to Prime membership then.
Yap pretty much. I used C++ for a while then switched to C and Python and other languages for a decade then had to do some C++ for a bit again. And I was desperately trying to properly reference and link against some libraries. And then finally just dropped the source tree in my project and everything worked. It felt so dirty.
In the scenario I described, what do you think that the right non-violent solution was? I should also add that the PD had no way to know ahead of time that they were responding to a situation with a victim of mental illness in a time of distress who would exhibit behavior seen as challenging.

Incidentally, this was not a situation where there were a half-dozen officers on hand to swarm the guy. Should officers always move in groups of six or more, so that any sudden violence can be handled with grappling? Seems expensive, at the very least. How do you propose that a single officer being actively beaten about the head with a chain de-escalate the situation? I'm deeply curious how you think that could be reasonably accomplished. Maybe saying please?

What would an officer in the UK do in the situation I described when being actively beat about the head with a chain? How would it be totally different and reliably yield an ideal outcome?

Another detail of relevance: the incident did not provide the officer with an opportunity to speak to the victim of mental illness in a time of distress. The victim attacked immediately upon the officer exiting her vehicle. If any and all forms of violence are ruled out, with de-escalation and negotiation being the order of the day, how should this officer have reacted to being beaten with a chain? What peaceful, non-violent, resolution skills are available to someone subject to such immediate violence?
I was pretty amazed at that last beauty shot of the S7 edge next to the iPhone, to my taste it looked better. I have mixed opinions about the software issues, on the one hand if the stock software is good enough, well its good enough, but when it isn't the lack of choices is always painful.

My current phone is a Moto-X 2nd Gen which is good enough, not great.
I made this over the past few months to help out my Wife's school. They rely on SMS to coordinate teacher absences (finding substitutes, etc). They can't rely on any smart phone app, as the school can't afford to buy everyone one, and then they legally can't require it. The goal was to have a shared, central phone number that all the administrators can access, with notifications when a message is received.

Made with Angular (1.x), Actionhero.js, and Twilio.
I think the amount of unnecessary emotional appeals makes it fairly clear that they're being intentionally deceitful.
It should be resolved by the American people deciding how we want to govern ourselves in a world we have never seen before. We shouldn’t drift to a place—or be pushed to a place by the loudest voices—because finding the right place, the right balance, will matter to every American for a very long time.

So why are they asking the courts to stretch the 1789 All Writs Act beyond its breaking point, instead of going to Congress for a new law? The magistrate that signed off on this isn't even an Article III judge.
The explore link was visible from our sign in page but I agree we can do better. I made it visible in the top menu of our static website with https://gitlab.com/gitlab-com/www-gitlab-com/commit/eaba29f4...

I'm not sure if we will keep it, that will also depend on how many people click on it.

On https://gitlab.com/explore there is a search field, for an example search please see https://gitlab.com/explore?utf8=%E2%9C%93&filter_projects=f-...
You have a little more than this:

- In 2600 coding you often don't need a stack, so you can use 'S' as a temp register. Very useful in the display kernel.

- The 2600 has a standard parallel port chip. There are configuration registers (e.g., port direction) that can be temporarily hijacked as RAM, when you don't care about input or output (which you generally only sample once a frame). That's a whole 8 more bits of RAM, not to be sneezed at.

One of my cow-orkers at Atari decided that he'd try to learn 2600 programming (he was mostly doing Atari Home Computer stuff). Over three or four months I saw him go through what I can only describe as deterioration and utter discouragement. The people who could get even an awful game out of the 2600 were pretty damned good hackers.
Yup. My grandmother bought me it for christmas, no doubt full retail. It was inordinately expensive. It would be inordinately expensive today with a retail cost of $100 inflation adjusted dollars.

Best 2600 title screen ever though. No one ever mentions that about the game though.
The Tatra 603: Wacky Commie Hot Rod
We also have a long way to go here and if someone wants to help please apply for the Product Marketing Manager role at https://about.gitlab.com/jobs/
They are really trying to force you into signing up for prime, aren't they?

I cancelled my prime subscription at the start of the year. Some thoughts:

- I buy less stuff on impulse. Since the price limit is (or was) $35 for free shipping, I usually have to wait until there are enough things I really want/need before ordering.

- The pricing is often better other places. Normally Amazon's non prime price will be comparable, but then shipping fees will be like 7 or 8 bucks, while other places have cheaper, faster, or even free shipping.

- If you do have prime, not everything with prime has free shipping. For small things they have "add on items", which don't ship to you until you have $25 worth of stuff in your cart. It wasn't always like this, and it was a big negative for me. I had signed up for prime because I didn't want to pay for quick shipping. Now I had to wait until there were other things I needed to hit their arbitrary number.

I ran the numbers over my three year subscription period with them and it turned out I wasn't buying enough stuff to make the math work. Maybe when it was $79, but at the current price it's just not worth it.

It's like they're going out of their way to piss off customers.
Incredible how one of their key marketing images (Your Window to Wonder) is a full-screen shot of the "rainbow haired Abode girl" seen in many Adobe ads these days. But with no mention of Adobe or their products. I guess Apple isn't the only thing being copied here. It's multi-dimensional.
> You could say that about so many subjects for which heads of state are responsible. It's not possible for candidates to be knowledgeable about everything.

Certainly one man can't be well-versed on every little thing. But global thermonuclear war is not a little thing. It is, arguably, the biggest thing, especially for a man who effectively had the ability to end human civilization by his decisions.

> In this case, it's not possible for people without military or scientific backgrounds to really have a grasp on the magnitude of stuff.

This isn't about the physics and tactics of nuclear weapons, though. This is about the basic idea that nuclear war would be the greatest disaster in human history and should be avoided at any cost, which by Reagan's own admission is something he hadn't entirely grasped until he watched a movie about it.

> Heck, even those with military backgrounds couldn't fathom a lot of things, judging from the parent's quote on the reaction from the Joint Chiefs of Staff.

If the nation's top military personnel also hadn't previously grasped that nuclear war would be really bad, that makes the whole thing more terrifying, not less.