skysight-inc/HackerNews huggingface dataset:
> Awesome, the ability to unwrap multiple optionals on one line should be bolded, underlined and all caps at the top of this article

This is why it's lame that Swift's optionals are a language feature and not an in-language implementation.

In Haskell, optionals are Monads, which means there is a function

join :: m (m a) -> m a

"Maybe" (Haskell's standard library Optional) is a monad, so you can unwrap/collapse them using Join.

You can also daisy-chain them together using >>=, a la

fail1 :: Maybe a
fail2 :: a -> Maybe b
result = fail1 >>= fail2

If either fail1 or fail2 fails, the entire "result" function fails (i.e. returns "Nothing").
> I'm not too familiar with residency- I wonder if hospitals submit a list of potential students they accept?

The article does mention that, "Med students and hospitals are currently ranking their top choices from these interviews." I would assume that the hospital only ranks students they interview and would consider acceptable for the program.

> Each set member must rank every member of the other set.

I would assume that they just fill in the blanks with some value that prevents matching. I don't think a hospital or a resident would be very happy with what would amount to random assignment of the leftovers.
Kicked out of uni – internships, jobs?
I'm not sure how to spin the fact that I was kicked out due to a low GPA. Do I lay everything out in front and aim to get rejected early by those to whom it matters? Do I put "attended" without indicating that I'm no longer a current student?

I'll retake some classes and get back in via a readmission contract, and in the meantime I'm being treated for depression, which likely was a factor in my poor performance as I've felt this way for years. However, I doubt employers would care about such details. So, how should I move forward? I have some projects to show off, but they're not amazing to the point of making up for my situation.

Thanks in advance.
The Original Macintosh: Calculator Construction Set
Playing Devil's advocate, wasn't SPDY the experimentation part? Why the need for HTTP/2?
I don't know how you're assessing those pages, but bear in mind that

- Counting images can be misleading, since well-optimized sites use spritesheets or data URIs.

- If you're using something like Chrome's dev console to view requests, a lot of them are non-essential requests which are intentionally made after the page is functional.

- HTTP connection caps are per host. The benchmark is making hundreds of requests to one host, whereas a real page might make a dozen requests to the main server, a dozen to some CDN for static files, and a dozen to miscellaneous third parties.

- The benchmark is simulating an uncached experience; with a realistic blend of cached/uncached, HTTP 1 vs 2 performance would be much more comparable.

HTTP/2 is an improvement but if people expect a "5-15X" difference, they're in for a big disappointment.
How to Turn 1 Piece of Content into 100+
Track caloric intake (I use myfitnesspal.com / rippedrecipes.com (shameless plug)

Do crossfit 5 times a week... rest takes care of itself.
Meteor. How to Build a TODO List
Allism: an introduction to a little-known condition
Why is "if let" preferable to generalized pattern matching?
IMHO, people (and hence language) will always adapt in certain ways to get the message across. People already learned how to "google" and expect the same style of search queries to be effective elsewhere. When speaking on the telephone, people tend to slightly change their voice to counteract the channel noise (with acoustic consequences such as increased fundamental frequency ["pitch"], etc.).
I would be surprised if a similar adaptation didn't happen for human-computer voice interaction, which would ultimately help making it work well enough to be useful. (Of course, using speech recognition to transcribe human-to-human interaction will still be barely usable..)
There are some restrictions on how and when you can use the term engineer in the US. I believe the way it works is that the are practice restrictions and title restrictions.

For instance, I wouldn't be allowed to call myself a Structural Engineer or practice as a Structural Engineer without the proper licensing. Industrial Engineering, on the other hand, is just a title restriction - you need to pass the Industrial Engineering PE to call yourself one, but there's no restriction on practice associated with it [1]

But yeah, generally speaking, sticking the word "engineer" after something is allowed here. You can be a "special effects engineer" or a "sanitation engineer" or whatever. "Software Engineer" is actually controlled in a few states, though.

One other thing to keep in mind is that in the US, elite universities like MIT, Stanford, Berkeley, and so forth typically offer a CS degree, but not a software engineering degree - though top CS programs are often ABET accredited.

[1] http://www.bpelsg.ca.gov/applicants/appinstpe.shtml
"The Uncanny Valley is a term that originated from the computer animation industry. In 1992, while finishing A Bug’s Life, Pixar had to build a digital valley for..."

Ummm....

Wikipedia: "The term was coined by the robotics professor Masahiro Mori as Bukimi no Tani Genshō in 1970. The hypothesis has been linked to Ernst Jentsch's concept of the "uncanny" identified in a 1906 essay "On the Psychology of the Uncanny"."
Imgur Unleashes Subscription-Only Pro Editing Tools for All
Building a Weasley Clock (Location Hacking)
I'm working on a software for creating Web UI for SaaS services. If you interesting, send me email, I can help with frontend.
Apple Working on Project That Will 'Give Tesla a Run for Its Money'
Watch People Code
Most click-fraud is carried out by setting up plausible-looking websites, signing them up to ad networks, and then clicking on the adverts that are served up on those sites.

There's nothing in this article about what kind of sites the adverts were being served on, which is a fairly glaring omission.
Hand made game from scratch
Neither is HTTP/2, and much less is HTTP/1.1 deprecated, so I don't see the problem.
That doesn't seem like a germane comparison. Scrip was given in lieu of compensation - I don't think that describes the deal MS is offering here. Without this program, YC companies wouldn't otherwise be receiving anything of value from MS, would they?
The real gold here is how Embedly tracks content engagement all the way through the video, and how that information can correlate to content success. Regardless of how casual the connection may be.

Disclosure - I run a competitor to Embedly
Right, but then you're susceptible to animation stutter and you have to reinvent the look-and-feel of the platform, which is extremely difficult.
Five technologies that betrayed Silk Road's anonymity
Creating a community and social media dashboard using Dashing and Keen.io
LOL. QuickCast is the right way. http://quickcast.io
Good analysis of available data, but there lots of flaws in how the conclusion is drawn:

1. Using YT as a proxy for overall attention. There are so many variables here at work, it's hard to begin to start why this number isn't a perfect science.

2. Advertising isn't a straight line number of attention to sales (even though most geeks in the FB era seem to think so). There are many of factors at play here (branding, image, communication, loyalty, engagement etc) and many are immeasurable.

Believe it or not, effectiveness (and therefore "waste") of ad campaigns are not just how many eyeballs see the ad. I reckon most CMO's wouldn't take this type of napkin math very seriously.

Note - I understand this type of content is for inbound marketing for Embedly, so this is probably quite effective. I'm personally pedantic about the data science behind it so others don't feel betrayed by it.
Startups, children, and why women feel they can't do both
CircuitHub: On-demand manufacturing of electronic circuits
I accidentally left the final character out of the url, so if a mod could change that I'd appreciate it.
Indeed, Share.js is awesome. I've worked extensively with it, and recently hooked up Share.js to immutable React using a modified React-Cursor. It takes local mutations and converts them into JSON-OT. Remote OTs are merged back in, the server is always ground truth.

You get local reactive UI with immutable state. On the server-side, you can validate the ops as they come in using e.g. the entire infrastructure of passport in node. OAuth2-validated Share.js with strict per-property write access, no problem.

I also extended the couchDB driver to merge in server-side changes, thus allowing daemons to make live changes to the DB without having to care about any of the OT stuff. If share.js changes were made in the meantime, it will save a merged snapshot.

Basically, Share.js can be your insurance policy against pesky humans messing up your data structures, in a world of atomic data-driven robots and asynchronous feeds.
> So to answer your question: Header compression as employed in HTTP 2.0 helps if you do many requests with similar headers on the same connection.

In general, HTTP/2.0 seems to be about improving things if you do many requests over the same connection.
This is something we may start to see. I think they are aggressively targeting AWS customers with lower pricing and getting companies (including my employer) to begin the move to Azure.
>The only thing that matters when putting forth a Superbowl commercial is that the viewer stood around long enough to figure out who sponsored it

>The Youtube attention statistics are a nice proxy for it but it didn't take into consideration the likelihood that a potential viewer lost interest before they knew what it was 'about'

Great points, and agreed. This is what the attention plot ventures to take into account

>measure the trending of hashtags / mentions / youtube views of the commercial in the days following

This would definitely be useful to see.
+1 that was the first thing i saw. came here to see if it was a joke. http://www.comicsanscriminal.com
Unfortunately, I cannot open this. I keep getting some fatal error.
I would argue the opposite, in fact - that it shows what happens with pure unrestrained competition. Which leads to monopolies and other forms of competition suppression, ironically, of course.

Regardless, we don't need to agree on that point. There are plenty of other examples in tech (and outside) of things winning through "raw competition" that are just not that good.
Court Leaves the Door Open for Safety System Wiretaps (2003)
Graphviz is ok for quickly plotting a dependency graph. I have yet to see a beautiful example of auto-layouted graphs. Beautiful means getting the details right like lines not crossing at narrow angles, drawing a little "hop" when lines cross, and not being restricted to strict rows like dot.
Said PDF appears to be at bookzz.org
I agree with your logic in the second and third paragraphs entirely. I won't pretend to be smart enough to know how to have saved that company, but surely any viable solution would have involved reducing their physical retail footprint by a significant amount.

>Just because the maker movement exists, it doesn't mean it's big enough for over 5000 stores.

Surely not. But as another commenter pointed out, Radioshack has always catered to the enthusiast, relying upon them to drive sales of more consumer oriented product.
Yep, I wrote that as my first project in rust and it was used for a lot of the Piston project repos. Unfortunately I stopped updating that in December because breaking changes were happening too frequently for me to keep up.

I'll probably revisit it soon now that 1.0 is fairly imminent, but prs are welcome of course!
URL.js – A lightweight JavaScript library to manipulate the page url
But isn't this exactly the Gale Shapely algorithm for stable matching? I was reading the Algorithm Design book by Kleinberg and Tardos and they introduce both the algorithm and also the fact that it's used for matching students with residencies. If it's algorithm enough for a book on algorithms I can't imagine it not matching the way it's used here.
The Ultimate Toolbox for the Remote Team: 15 Tools You Can’t Live Without
Well, I hear Apple II was stable too. 10.6 is how many years old by now?
Smartwatch App Helps Track Glucose
Because that's how people react when they quit, and that's what you need to guard against. Its hard to not become emotional and keep the ego in check. The original post was about how it would have been a mistake if he had let his emotions get the better of him.
Try Jing: http://www.techsmith.com/download/jing/

It has a screencast feature that lets you create a video (which you can crop to whatever part of the screen) and then uploads that video onto their server and gives you a shareable link of the video.

At my last job, we used to use that for all of the bug reports, because it's a thousand times better than what you reference (taking multiple screenshots and having to explain exactly what's going on between them)

Here's an example of me using the program to get to this comment: http://screencast.com/t/zbfcEinhJN

It can be a little slow and wonky at times, but a lot of good (free!) features out of the box.
10.6 did things Apple II wasn't capable of.
> there was an in-app notification sent to all it's players to watch the youtube ad

Mobile platforms really need a way to report spam. Notifications to watch an ad should get apps removed from the push notification system.
Some cases are ambiguous, as fuzzy definitions change over time. In this case, however, a name that once applied only to relatively severe cases has been intentionally expanded:

The term "Asperger's disorder" will not appear in the
DSM-5, the latest revision of the manual, and instead
its symptoms will come under the newly added "autism
spectrum disorder", which is already used widely. That
umbrella diagnosis will include children with severe
autism, who often do not talk or interact, as well as
those with milder forms.

http://www.theguardian.com/society/2012/dec/02/aspergers-syn...
It gets more difficult the more operation types you add. With just two ops it's actually very simple.
Paperclip.js – fast, reactive template engine for the DOM
Rusty turtles all the way down.
Does Azure offer Linux images nowadays?
Yeah, there were people screaming bloody murder in the news at the time, but to me it seemed like they were the rare ones who did it correctly. Unless your idea of "doing it correctly" is a wealth transfer to institutional investors.
Oh? Could you please elaborate more on this insight?
They have paper money, which you can exchange for BTC. Money exchangers have been doing this for centuries with different commodities to skirt around regulations, and BTC, gold, or jade figurines are all the same at the end of the day if there's an agreed value for them.
waleedamer@me.com :) :)
I'm not a language guy so I don't know anything about generalized pattern matching. Maybe it is better. But for my own use, "if let" ensures that I always take care of any possible nulls in my code, while also keeping the conditional code in the same scope as the verified variable. There's no easy way to leave pointers dangling or uninitialized. The language design forces me to organize and think about my code in a much better way.
I did not downvote (don't even have the ability).

Our daughter had severe GERD at a young age, she would be screaming through the night in pain. Apparently GERD and gastro issues are somewhat typical of kids with ASD.

That being said I did a lot of reading on effective treatments. There's absolutely no shortage of parents seeing results with dietary changes and it's a fascinating area. Unfortunately I have not found any studies that conclusively make any link that we feel comfortable implementing.

Gluten intolerance and dairy intolerance run in my family. For the last 4 months we have cut out gluten. The reason is that it seems to anecdotally have a high link to symptoms and it's super easy to eliminate (comparatively).

Our Pediatrician (who is well versed on this sort of thing) expressed concerns that often the strict diets bring a fair amount of stress to both the parents and child. ASD kids often have feeding issues already... I know several who only eat 1 or 2 types of foods. She did not feel comfortable based on the research recommending any drastic change.

On a side note... there are a TON of well meaning and desperate parents out there. There are also TONs of unscrupulous companies who will make all sorts of claims. One of my biggest concerns is with all the poorly researched vitamin and medical interventions. I am not stupid enough to dismiss the entire field as without merit... but I have seen some pretty awful claims and therapies that have huge risk and almost no factual evidence. It's a scary landscape out there if you are uneducated and desperate.

You don't have to do a ton of searching to find some really scary interventions out there being done on very young children.
No, and they are not focused on clicks either. The majority of the adspend* cares about impressions, viewability and lift.

*display adspend
Somewhat unrelated to this specific case, but what happens to all that money? The government can't exactly budget for influxes of cash like this, so what do they do with it and who gets to spend it?
I've got a major disconnect with the "facts" at the beginning of this article:

Super Bowl ad spots are expensive —
ranging from $20M to $135M.
...
The cost refers specifically to the
Super Bowl ad spot, and not to production
of the commercial.

But Wikipedia[1] (and countless other links e.g.[2]) claim that a 30 second commercial cost about $4.5 million for the most recent Super Bowl.

So how does an ad cost $135 million? Did I sleep thru a 15 minute ad? The numbers just don't add up. (pun intended)

[1] http://en.wikipedia.org/wiki/Super_Bowl_advertising
[2] http://www.forbes.com/sites/onmarketing/2014/01/29/yes-a-sup...
Imagine what would happen if everyone started selectively obeying the laws that are compatible with their beliefs.

Normal people and police do this every single day with usually little ill effect. Police are not obligated to pursue every instance of a violation they see, a person is in theory obligated to follow every applicable law, but in practice, they do not (and the sheer volume of law ensures that it's impossible anyways), and the world hasn't come crashing down.

The idea that ignoring wrong or inconvenient laws leads to social collapse rings quite hollow, in light of that.

If we treat all laws as equal because they are the law, then a person who drives over the speed limit has logically done just as bad as someone who kills another.

Can we agree that this suggestion is absurd on its face?

If we instead acknowledge that some laws are more important than others, the more difficult question has to be asked "what defines that importance?", which logically means that there are some laws that are not that important at all, who's violation has little to no negative societal impact. Like going a mile over the speed limit.

Or more to the point of this discussion, like downloading a movie from your favorite torrent site.

If morals drive laws and not the other way around, the moral consensus seems to be shifting towards the fact that copyright infringement is morally neutral, or at least not that bad, on the same level as going a mile over the speed limit. It's technically illegal, you could be made an example out of if someone really wants to, but the chances of that happening are all but nonexistent.
Getting Stuff Done – An Example
I remember playing Star Trek on HP teletypes connected to the Peoria mainframe in the high school math lab. Jeez we burned through a lot of paper.

A friend modded a version to automatically fire photon torpedoes when you entered a sector with Klingons. It calc'd the trajectory so it never missed.

Of course the downside was the blow back if you shot one right next to you. Or if there was a star in the way. Or there were >3 Klingons that would hammer you while the computer is cycling through the auto firing sequence.
9 Modern Google Font Combinations to Steal for Your Next Design
lol you're paying at least 50% below market for a 1 br.
Mathematical constructions can be difficult to interpret as code or visualize. I have tried quite a few:

http://monsieurcactus.github.io/circles/122514-Lima%C3%A7ons...
“It makes more sense if China wants to protect the Chinese consumer.”

No, it doesn't. Just like every other neoliberal economy out there, since when has China's government started caring about the consumers?

The Chinese government is "punishing" Qualcomm for monopoly, yes, but it has nothing to do with the consumers.

"fueling concern that the country -- the world’s second-largest economy -- is using such inquiries to boost its native enterprises."

No shit. Look at all the local clones/"competitors" that have started doing very well after the original companies have been eliminated from the market (Google, Dropbox, just to name two obvious cases).

It's all about lobbying, the kind that you don't find in public records - i.e. bribing and corruption.
OECD Data puts the number at 1,790 currently vs. an OECD average of 1,765.[0] Differing underlying populations (i.e. the way you cleaned up your dataset per your definition) probably explain the discrepancy.

Out of friendly curiosity, what're your data sources and methods? The OECD data seems suspect, especially since it has Japan at 1,745 hours/year, less than the US. [Ibid.] That just seems unlikely.

[0] http://www.oecdbetterlifeindex.org/
Not that I'm saying killing people or sowing destruction is good, but tons of "good" or productive inventions we use today have their origins or inspirations as weapons of destruction. Who is to say, years later, the work on EM field concentration developed here for the rail gun can't be used to (for example) "tune" people's brains out of seizures.
Link should go to http://loup-vaillant.fr/articles/deaths-of-oop not http://loup-vaillant.fr/articles/deaths-of-oop/ . The trailing '/' gives a 404 Not Found.

Edit: Also, "Test Driven Development for instance, was invented by users of these dynamic languages. Most probably to compensate the weaknesses of dynamic type systems, by the way" isn't true. TDD in its current incarnation started out of the xUnit framework for Smalltalk, and not 'Python, Ruby, JavaScript .. and JavaScript'.
Fantastic idea. I agree with leading_who_ in that you should post this on Show HN.
I'm still bummed that with all these companies implementing voice recognition there still is not anything close to a FOSS option. It is a major field and the kind of software that takes a huge amount of work to get right and I feel like in the future free operating systems are going to look archaic without it, but it does not seem like the kind of thing any small club of friends can pick up and build to match Google or Apple at.

The same applies to OCR and other photo recognition techniques like faces or red eye. Tesseract is probably the largest free software OCR project but it still seems to do so much worse than proprietary Adobe and Microsoft products. At least the OCR reader that came with my S4 does a terrible job, though it might be using Tesseract behind the scenes since I think its the one from f-droid.

Digikam does all right red eye correction but it does it with a layered filter rather than any recognition of eyes. It also sometimes can find faces, but not nearly as accurately as Google can.

All these fuzzy logic fields are things that take huge code bases and a lot of R&D to get right and nobody in the free software movement has the organization or just the raw bank to make them happen from what I can see. Red Hat surely is not investing in them (kind of outside their enterprise / server domain) and they are about the only company prominent and powerful enough to do it.