skysight-inc/HackerNews huggingface dataset:
Unless I'm mistaken, this seems to already be available in Scala and is called "structural typing"[0]. Is there a substantial difference?

[0]: https://dzone.com/articles/duck-typing-scala-structural
will this be able to catch stuff that grammarly cannot catch?
A little disappointing the resolution we get to see is missing a lot of detail. But pretty cool to see all the notes they scribbled on the walls.
It's why you use isolation techniques outside that code as the fall-back. Simplest forms I saw involved while loops counting downward and threads that got interrupted to assess things.
> make it possible to run WhatsApp on only 50 engineers

Frankly, I'm sure Erlang is great, but with 50 full time skilled engineers I'm pretty sure you could run WhatsApp on almost anything.
Section 1201 of the DMCA Cannot Pass Constitutional Scrutiny
It ain't innovation, it's cleverness.

I can sit here and try to re-discover the fundamentals of physics from the ground up, or I can go to a library and read a textbook.

Discovering from first principles is the honorable path, but it is a colossal waste of time. To get to the state of the art, you have to steal knowledge. Only then can you begin to understand and improve it.
Tackle Box – Original and Untraceable Selfies for Catfishing
The best part of this is automated semi trucks. I think that's the perfect sort of business for Tesla to be in.

I have a lot of trouble understanding the public transportation part. The ideas presented fall apart when you remove the baffling assumption that traffic congestion decreases with the introduction of autonomous vehicles. Autonomous vehicles will expand the possible set of drivers. That will dramatically increase the amount of vehicles on the road. If anything our future with autonomous vehicles will be unbearable gridlock.
About the future of Seafile
Video Shows Unarmed Black Man Pleading with Arms Raised Getting Shot by Police
>Invoke those services via RPC-over-HTTP? Why???

I can think of a few off the top of my head:

1. Being able to scale individual, smaller components rather than one giant application

2. Being able to build-and-deploy any one module much faster than one monolithic bundle of local dependencies

3. Universal interface with language-agnostic applications. Do you need to expose big data statistical analytics, but can't find data engineers that are comfortable with Java/Node.js/Go? Doesn't matter, hire the best ones and let them use Python/R/Clojure. HTTP doesn't care.
I've made an account just to wish you good luck! You're a great man for doing this and I'm glad EFF is on board.
I can see that could be useful for extracting a report emailed as an attachment by a legacy system.

It's also possible to upload to an IMAP server.
Perhaps this makes a difference if the freelancer is a designer. The first thing I do when looking at a designer is check out their personal site. To me it's kind of like hiring an interior designer -- I want to know what their own house looks like before I hire them to work on mine.
Warby Parker is offering Snapchat-exclusive sunglasses
In the travel regulations case, we can see, and horrifyingly it's more of a "fraud is illegal on Monday" situation: https://www.defensetravel.dod.mil/Docs/perdiem/JTR.pdf

There are some sensible regulations there, like having someone approve travel requests, but there are also a lot of very narrow restrictions obviously added by someone who wanted to prevent Fraud X, but lacked the authority to change what was already written. The result is that you get more overhead with depressingly little payoff.

In principle you're right about the trade-off, but that's only the case when rule-writers have the authority to sensibly restructure what already exists.
Haven't tried it, but the assignment semantics is that the return of the assignment expression is always the right hand side of the operator. They probably kept that semantic. So

foo, bar = ['foo', nil]

evaluates to

['foo', nil]

which is truthy.

If the code was:

if (foo, bar = [nil, nil])
'truthy'
else
'falsey'
end

It'd still be truthy even if no variables were "set" (they were actually set, explicitly to nil, but you get the idea) because [nil, nil] is truthy. It doesn't have anything to do with the values of the variables after the assignment, just what's on the right hand side.
Who's going to sign up for a service censored and actively monitored by the Chinese government when they don't have to?
"I will remind people again that the issue lays within upstream libraries such as libxml and have the potential to affect not just Apple" < right here, where you said somebody else did it. These issues do not exist in upstream libraries.
Having worked in both huge teams using popular languages/libraries/frameworks and small teams using what works best I'll choose the later any day.

We're already allergic to frameworks where I work and we're slowly moving away from libraries as well given how low quality the average open-source library is. Once you realize you spend more time debugging open-source libraries than your own codebase, you stop caring about popularity.

If you hire developers for what they know right now, of course you'll limit yourself to only the popular languages/frameworks. Its much more lucrative to hire developers for their potential to learn and grow; these people will make the best of any language/library/situation.

Of course, like you said, economics come into play but my point is that the popular choices often lead you to a path where you end up with a lot of mediocre developers, terrible architectures and endless conceptual debt. At the end of the day this is much, much more costly and doesn't even yield quality software.
nice! I wish I knew about this earlier, I had built a version of this on my own to solve this very problem.
I don't think it's a bluff, that was a poor choice of words. I meant something along the lines of "taking up the challenge".
Maths notation is needlessly complex [video]
> We all love how native apps will ask you to login only once and then remember you until you tell them you want to log out.

I wish that were true more often. There's a handful of native apps that don't remember my credentials and I have to go look them up on the desktop in my password manager. For example, I installed Pokémon Go but haven't looked into it further because I don't have my Google password memorized; it's a randomly generated password that I expect my computer to remember for me.

It seems like every native IoT widget controller I try wants me to remember more credentials.
I've explored this in the past. Wouldn't it be possible to simply set two 1yr cookies one at the mid-expiry point of the second. Then re-set the first when it expires and vice versa?
It is a problem that is easily fixed. I like the fact that javascript allows you to write ugly code to make something work fast. When it works, you can refactor quickly by naming anonymous functions / using Promises / using whatever framework.

Here is my nodejs algorithm so far:

- Code something ugly with 4-7 anonymous function levels
- Realize I'm in callback hell
- Refactor and make sure all functions have access
to the variables they need.
(Because the scope is often changed while refactoring)
- Test
- Repeat
I love the format as well, and think it's a great idea. I'm currently on a two year term right now at a different org. The two year thing solves a lot (though non-status positions make it hard to hire for the longer term). I'm not objecting to that and agree that we have to start somewhere.

The thing that bugs me is more pedantic. Calling it a "tour of duty" immediately draws a comparison to a military tour of duty undertaken by our military which implies hardship, sacrifice, etc. I get that some people might be taking pay cuts to join or that it might require leaving your comfort zone, but I'd prefer that some sort of sacrifice on the level of heading to Iraq for a year without your family is not implied in the naming.
21 Software Tools for Running a Successful Tech Business
Really? The user authentication in the book Programming Elixir was pretty simple and straight forward—is that not "production ready"? Authorization seems like a simple plug away.
That is not correct anymore. At least in Germany, House of Cards is indeed on Netflix.
I googled about the clock gift

>In Chinese, saying ‘giving a clock’ (送钟 sòng zhōng /song jong/) sounds exactly like the Chinese words for 'attending a funeral ritual' (送终 sòng zhōng) and thus it is bad luck to gift clocks or watches. On top of that, clocks and watches also symbolize the running out of time. This is especially true for seniors. Giving a clock or watch as a gift is the biggest no-no in Chinese culture.

http://www.chinahighlights.com/festivals/things-not-give-chi...
Exactly. Maybe I should have been more clear earlier that I'm referring to incentives- driven intervention. Penalizing companies for the negative externalities they inflict on society is practically a first principle of good governance, and USG has failed dramatically.

What's sad is that so many people seem to take an all-or-nothing stance on this politically. Either laissez faire or nanny state. Moderation is a dying art.
Great effort. There's still a lot to go but you've got some great content already. I just wanted to mention gitbook.com as a resource to you. Keep it up.
Check out some of the companies that have presented at the NYC Amazon Alexa meetup - www.meetup.com/NYC-Amazon-Alexa-Meetup/

Often, it's not that companies are building only for Alexa, but that the Alexa integration is powering a new product offering they weren't able to fully provide previously.
While I don't agree with everything Thiel believes, it's really, really refreshing to get a different take from the upper echelons of the tech industry. If you follow a lot of VCs and CEOs on Twitter you'll find that they have a nearly homogenous political groupthink.

This industry needs more diversity of thought and Thiel stands alone in his strength to go against the grain and stand by his philosophy. Love his ideas or hate them, that's an admirable trait.
This isn't the "gig economy" as that phrase is traditionally understood, it's an artist's cooperative.

Workers only get most of the money in a co-op because they're co-owners. By contrast, most "gig economy" situations involve a VC-funded middleman trying to create a dominant position in a two-sided market so they can make most of the money.
Spring Security Architecture Guide
Cousins.
Hi, Scala team lead at Lightbend here (I left academia in 2012 to lead the team). We dropped Java 6 because we did not anticipate any business case for it, based on surveying our customers (we have continued to monitor the adoption of Java 8 amongst our customers, and everyone is upgrading, save for android).

We did consider (and regret) potentially leaving android behind, but we were (perhaps naively) hoping that something like retrolambda would suffice, or that android would catch up. In any case, it doesn't make a lot of sense to have 2.12 still support Java 6, since most of its features require Java 8 (those that don't, we first implemented in 2.11.x).

As announced in http://scala-lang.org/news/2.12-roadmap/, we will continue to support 2.11 for a bit longer than most releases, and we welcome community backports of 2.12 features that you'd like to see in 2.11.
Where you see weakness, I see strength.

American companies are obsessed with political correctness, affirmative action, marketing and copyright law.

Chinese firms are only concerned with winning. They'll steal, lie and cheat, as long as they can build a superior product. Because they have no marketing, the product has to speak for itself.

Furthermore, Chinese culture is ruthlessly competitive as you alluded to. Guess what? This means it is incredibly robust and successful.

I personally believe the west is collapsing in on its kindness, and the east is rising up on its strength. A cursory look at what the two societies value will tell you the whole story.

West: Feigned Altruism at the expense of survival

East: Survival and Victory at the expense of everything else

Who wins? I think history can make a good guess...
Bandwidth shaping with Varnish Cache
Pretty much every expat uses a VPN. They get blocked but it's a cat and mouse game. If you work for a multinational Western company, corporate VPNs are pretty much solid.

Other than that, nothing much day to day. It's not North Korea. Of course common sense applies (avoid overt political discussions).
My own personal opinion on this, is that it's all well and good but it's not that students are "Made" to learn three different types of notation but that these are three standard forms that you need to know to work in the mathematical space.
I agree. The complexity of his photo app is nowhere close to something like GoChat.

Plus the condescending tone when he is just copy pasting code from other project is really annoying to read. Apart from this the content is interesting though.
The irony is that a typical American 100 years ago would condone rape, slavery and genocide as they are currently defined.

We don't consider our leaders and luminaries rapists and slavemasters, or our past military conflicts genocides, precisely because we killed all the people who viewed them that way.

We have the luxury of moralistically judging ISIS because it is not our homeland that we are fighting to preserve. We get to participate in a rather silly exercise in smugness in which we pretend our nation lives by a consistent and principled moral code.

This is not an argument for relativism. My point is that our view of ISIS is through the lens of quite a bit of propaganda, which is very hard to filter out. Many of the regimes of our allies do equally horrible things. I'm not arguing that we should love ISIS, just that we should be consistent in our approach and not let our leaders propagandize us.
Show HN: A console-based editor with Lua support, based on antirez's project
I'm not going to be able to comment on everything on this article and it is indeed a wonderfully put together resource, but I must say that I tend to disagree with the over-all premise. Yes, if you are a first time or beginner developer Rails can be overwhelming and you will learn a lot more by using a smaller framework such as Sinatra.

On the other-hand if you are undertaking a medium to large scale project (and not a micro-service), you probably want Rails. With Rails you have the benefit of a complete package of libraries that work out of the box and are quite extensively tested. I can almost guarantee everything else will cause you more pains, subjectively, if you really dislike the Rails style, it may be worth it.

I also have a minor quibble with the suggestion that multi-level delegation is a good coding pattern - it is a terrible pattern!
Have you ever tried to find the function you need through 3-4-levels of delegation when everything extends 5-10 different concerns? I'd much rather read - `self.parent_objects.children.function_name` in my code than `function_name` and then spend time searching where the later came from.
Well, I'll do a bit of it.

Voting rates for local/state elections are awful, and only rise when they share a ballot with national elections. 'Special districts' are a legal fiction helpful for organizing things like sensible fire department jurisdictions, but they've become a way to ensure that there are few or even no voters for a specific issue, and to minimize state oversight of a given budget. Lobbying groups and special interests may influence national bills, but they write state and local bills, often getting their "sample texts" passed completely unchanged. John Oliver has covered all three of those topics, but I could dig up real sources if you actually doubt them.

I wouldn't care to speak to the fraud claim, but surely it isn't controversial that voter engagement is lower - and N dollars of corporate spending buy more influence - when the stakes are lower?
I actually really love miasma theory- as fundamentally incorrect as it is, it gets a lot right.
Investing in artificial intelligence: What’s all the fuss about?
Oh, this also explains something else!

If the Earth's surface was curved, clearly all the miasmas would just roll downhill away from us and we wouldn't have any disease. Therefore, the Earth is flat. I love how science explains everything!
I upvoted because I'm just now hearing about the whole GoChat story, and because I find amusing how quickly Pokemon Go related apps can blow up right now, but yeah, it is evident that this was primarily a self-promotional post otherwise.
What does profit have to do with market cap.?
Good.

My wife is a speech therapist and uses a system that is designed to help people who have had strokes regain their voice.

It comprises a piece of software that comes with a "specially calibrated USB microphone". The microphone is actually a Samson laptop USB mic that had the voice improvement systems logo stuck on it.

The system came with lots of legal warnings about not copying, not telling unqualified people about how it worked and not to use an unapproved microphone. The DMCA was specifically mentioned.

One day the mic failed (the program requires patients to shout aggressively at the mic) so my wife went off looking for a replacement. We had a few USB mics that we tried and and the application refused to acknowledge their existence even though they showed up in Windows. It became obvious that the software was checking the USB device ID. My wife went to the company that ran the system to get a replacement, but they said she had to buy a new copy of the software as well - total cost $659. So we took a chance and ordered a new Samson USB mic from Amazon for €30.00, but when it arrived it didn't work. It was the same model, but was a few generations ahead and therefore had a different USB device ID. My wife has some colleagues with the same package so I tested their mics and they had different USB device IDs and it became obvious that when Samson released a revision of the mic the company offering the system simply recompiled the code with he new device ID baked in and then re-branded the mic.

So, not wanting to shell out $659 for a whole new package I took the old and new mics apart desoldered the cartridges from both mics and put the new one in the body of the failed mic. It worked! Now technically this would be a violation of 1201 in the sense that the individual copy of the software they sold you was tied to the specific mic they sold you at the same time - they said so in the EULA. But lets be honest that's just nonsense. They were simply trying to sell more stuff - a tactic that seems fairly common in various fields of professional therapy.

This is the sort of problem caused by 1201. If we lived in the US we would have been in breach of the DMCA even though we copied nothing.

Also, the software is as ugly as sin.
Ask HN: List of technological breakthroughs through tinkering and perseverance?
I'm really interested in compiling a list of important technological breakthroughs that have come about from tinkering, trial-and-error, and in general extensive periods of iteration.

My goal is to try and inspire some younger kids that I will be speaking to regarding the importance of perseverance and not needing to have a fancy ivy league degree to make cool and important things. So any examples and accompanying stories/background info would be great! Bonus points for examples from less classically educated people =)

Here's some that immediately come to mind:

- Edison's 10,000th lightbulb ("I have not failed. I've just found 10000 ways that won't work.")

- Wright Brother's first airplane
Could we have more information/reasons?
Ask HN: I just completed Coursera's course on machine learning. Now what?
My ultimate goal is to master machine learning technics for NLP. What should I do next; head diving in NLP textbooks, spending more time playing with 'vanilla' ML, or is there something else I'm not even aware of?
Show HN: Cart Bliss – Unlimited Shopify Tasks, One Flat Monthly Fee
How Poor Ventilation Ruins a Roof – All Roofing Solutions
>How do you reconcile his "build a wall" rhetoric

What is exactly wrong with having a physical wall which restricts illegal migration? I can think of cost, but little else.

>his comments about Gonzalo Curiel

Politicians often say ridiculous shit in order to create sensation and polarize. Trump is not unique in this. For example, Obama recently stated that buying a book or laptop is more difficult than buying a gun. Which is demonstrably false.

>his call to ban immigration of Muslims

He has taken a bit more nuanced stand recently. He says immigration of Muslims from countries known to be harboring terrorists should be restricted. I can't find a huge problem in this.

And so on and so forth. I am not an American, but it seems to me that people are needlessly hating on Trump.
Actually its 2%. Only the UK, Poland, Greece, and Estonia reached those levels in 2015.

http://money.cnn.com/2016/04/15/news/nato-spending-countries...

You are right, the German military is at best a target for the Russians to calibrate their weapons and to draw the US in.
My start up idea: Take all the social aspects of Mormonism, delete the theology (magic underwear), make gender roles symmetric, and allow gay people as long as they otherwise follow the rules. Then charge a membership fee, maybe keeping it under 10% of your income in order to remain competitive. Perhaps there can be an Uber-style app...

I think Mormonism/ LDS is possibly the most innovative social experiments in the USA in the last 200 years, even when stood up against such gems as the Land Grant Colleges, public schooling, public health, etc. You just have to see past the mystical bullshit (as you always must if you want to understand what is powerful in a religious movement).
"Humans are the very definition of imperfection and thinking that you are capable of "correctly using a car" that is, never make the mistake that will cause a terrible accident is a big problem."

A human, with proper training and heuristics, can reasonably be expected to never make a mistake that causes a terrible accident.

Unfortunately, a large part of "proper training" involves being driven around as a passenger for your entire childhood, immersed in a car culture. Further, the heuristics are commonly ignored by males younger than, say, 25.
The joke was that Twitter isn't profitable.
3D scan of Apollo 11 capsule
Yes, that is an interesting solution. Either letting the driver to take risks or allowing the autopilot to have a special mode so it can override a lot if not all of the limiting factors that would otherwise be commended. It's something like "give me 110% now, I'll gladly answer for that later if I'll have to!"
This is definitely the case, because we already see different analyses for different topics.

When it comes to NSF, people worry about overhead and waste. When it's welfare or food stamps, people worry about fraud instead. Some of this is moral - people care about the 'undeserving poor' more than 'undeserving scientists' - because we tend to hate abuse of charity. But it clearly shows that there are different categories of concern, and that the public is capable of examining both topics.
Are deep learning and other frameworks really that much more subject to vendor lock in than frameworks in other areas of tech?

People make it seem like whichever framework wins now will own AI for the future, but transfer that logic to web development and you would expect perl and php to still be on top of the world instead of whatever the js framework of the day is.

GPU acceleration seems to be a pretty big barrier to entry for upstarts. But I think that has more to do with the crappy state of tooling than intrinsic difficulty of GPGPU. Cuda showed that GPGPU could be much easier and I think there is still plenty of room for improvement. Compare the difficulty of setting up Apache a decade ago vs Nodejs today for how much simpler servers have become.

Anyway Tensorflow is really hyped right now, but there is no way to know if that will last.