skysight-inc/HackerNews huggingface dataset:
It's not clear to me why (in the pattern presented) the decorators don't return a subclass (which would preserve the dynamic and static properties and methods, etc). Instead you get hacks like `hoist-non-react-statics` to copy them over manually.

For context, the article advocates the following:

import GlobalClass from 'global-class'

const decorator = SuperClass =>
class extends GlobalClass {

render() {
return <SuperClass {...etc}></SuperClass>
}

}

This can be rewritten to remove the fixed dependency on `GlobalClass`, while preserving the underlying type:

const decorator = SuperClass =>
class extends SuperClass {

render() {
// const SuperClass = super.constructor // if you want to be less explicit...
return <SuperClass {...etc}></SuperClass>
}

}

The only requirement is to maintain the contract outlined by the `SuperClass`, but that's what `super` is for. (By that I mean e.g. that `componentDidMount` should't be overwritten without also calling super.componentDidMount() before/after).

Returning a different kind class entirely limits the utility of the pattern in general (IMO), and you lose the nice function-composition-like behaviour provided by `super.method`.
Santa Monica convicts its first Airbnb host under tough home-sharing laws
Why MKNetworkKit?

Actually, you don't need a networking framework today (post iOS 7). We live in the era of NSURLSession and with networking becoming a core feature of every app, you need to know how to write a good networking stack without using a third party library.

Now, you may ask, So, why are there so many networking frameworks? Almost every iOS developer I know uses one or the other networking library.

Well, that's because, when iOS was introduced, the two frameworks built into the iPhone (iOS) SDK, namely, CFNetwork.framework and NSURLConnection(Foundation.framework) were complicated to understand and use. Though NSURLConnection was easier than CFNetwork it still wasn't easy enough for most developers.

With iOS 7, Apple introduced NSURLSession based networking that blew everything out of water.

Using NSURLSession is super easy to use. Most of today's third party networking frameworks that exist today are built on top of NSURLSession. With deprecation of NSURLConnection in iOS 9 (tvOS 9.0 marks NSURLConnection as unavailable), you don't even need to know the "basics" like NSURLConnection. In fact, NSURLSession is the new "basics". NSURLSession is the class that you should learn, if you are doing networking today.

In my opinion, the only benefits of using a networking framework instead of NSURLSession are

Easier Authentication (www-authenticatebased and client certificate/server trust based) Authentication with NSURLSession still requires delegate handling like NSURLConnection

Multi-part form upload

In addition to the above, MKNetworkKit has the following features.

Queued Requests (Batch a bunch of requests and get notified once they are done)
High performance background caching (based on HTTP 1.1 caching specs) built in
Fetching remote images are done using extension methods in strings. Just call the loadRemoteImage method on any URL String and get the image in the completion handler. What's more? All these fetched images are automatically cached and you don't need a separate image caching library.
Auto network indicator support MKNetworkKit manages the display of status bar network indicator for you. (on iOS only)
cURL-able debug lines
Fully compatible with application extensions
Background image decompression
Background completion
Full support for NSStreams
I don't think analyzing why a human caused an accident is important either. However, being able to fix the bug is very important. If a programmer can identify the problem in their code, they can fix it. But how can one identify the problem in a neural network and fix it? At least right now, understanding an (actually useful) neural network might as well be impossible
A rational nation ruled by science would be a terrible idea
"ordinary browser" = Chrome for Android, latest version, Safari for Mac, Safari for iOS

Firefox does not support HLS in either desktop or mobile version. It requires Flash as a last-ditch fallback on any platform that doesn't support HLS, afaik.
I'll settle for a user replaceable battery.
> For Tesla to now say "Oh, we'll do the same thing but without all the fancy sensors" is just incredible. Speaking in terms of the information that the cars acquire, Tesla is driving blind compared to its rivals.

Wow, there's a headline. You sound pretty knowledgeable about the history. Why not write a blog post? Constructive criticism is a positive thing.
NPOV applies to content, not the editor's motives. People have all kinds of reasons for editing Wikipedia. Trying to police those reasons would be neither possible nor desirable.
There's something fishy about this argument... why doesn't it apply to the desktop? Would it be better if all desktop software was written in JavaScript, enabling debuggability in exchange for performance?
The NYT article doesn't really bring anything to the conversation that the original source doesn't, seems having 2 different submissions would split the conversation and kill both threads.
Zeit (now) doesn't have database related stuff... then again why have your database mismanaged by a non-DBA PaaS?
Well, she does tell whose work she's summarizing. Shouldn't be hard to track down the papers if you really want to.
Working with Queue and Stack people (2014)
> find a misclassification : add particular input to training set

Unfortunately, adding that particular input to the training set may mess up the ANN when given a different input (i.e. you fix one bug but create one or more new bugs, like a game of whackamole but where people die)
You are approaching it too much like a programmer in my humble opinion.

Yes there is rules and guidelines, but before you can follow them you need a style , a feel , a culture .

You should get ( pay ) a graphic designer friend to come up with some food mockup of a single page. Work on it worth them or have them do a few iterations until you are really excited about it and both of you think "aha!"

Once you get that far your next challenge is to truly use this as a style guide and pivot off of it as you design the rest of the pages.

Good luck, it can be rewarding!
Show HN: World's Easiest video call
hi,

i am the dev here,

click on the video call for the p2p video call

click on the conference for up to 6 people conference video call

just share the url of the video conference to let other people into the room

thanks
Plan an Ergonomic Workstation
> I like what Tesla did, I just dislike how they handled the PR.

Are they not being a bit irresponsible unleashing a beta feature on the public and using them as guinea pigs? Do you feel they should require hands on the wheel more than once every few minutes?

These are design decisions to (a) collect more user data and (b) enable the easiest way for users to abuse the system.
Even if Pokémon Go turns out to be a fad I think it's a natural business model for this genre of games.
Oh man, chip errata documents are incredibly scary things. It makes you wonder how the thing works at all.

Here's the current errata for the Freescale iMX6D/Q. All 225 pages of it.

http://cache.freescale.com/files/32bit/doc/errata/IMX6DQCE.p...
Inside Facebook’s Artificial Intelligence Engine Room
The incredible journey continues.
I just use DOSBOX for running my DOS games and DOS applications. It can emulate different graphics adapters and sound cards. Even the PCJr and Tandy 1000 graphics and sound.

FreeDOS is a good replacement of DOS. I remember there was a FreeGEM which lead to OpenGEM: http://www.freedos.org/software/?prog=opengem

OpenGem is based on DRI's GEM GUI for DOS.

DRI had DR-DOS and later Open-DOS.
{{citation needed}}
Go is a general purpose language for rapid application development. It excels at concurrency, and it prioritizes consistency, simplicity, and predictability. Most everything is super straightforward, easy-to-use, easy-to-understand, etc. For example, most Go programs build with `go build` and no configuration files, deployment is just putting a single binary on the target system (no runtime dependencies, not even libc). In particular, Java, Python, and C# have complex build systems and runtimes, and Haskell is not in the same family of languages, so its learning curve is steeper for a lot of people--patterns and paradigms are fundamentally different, so it will take longer to see a return on investment. This doesn't make Go a "better language" in any objective sense, but those who value a no-nonsense, pragmatic language will probably enjoy Go.
But if it is not "terrorism" you don't funding, resources, support, publicity, page views. Everyone will learn this eventually and even though they all realize that it isn't really "terrorism" they'll say it is, because it ends up better for them if they do so.
Good point. Just under 5 transactions a day really. I think the point that's really annoyed the sec is the number of years they have to go back and correct now that they have the right data.
Yes. Your very logical argument ought to be shared more.

Most people are unaware of Tesla's second-rate sensor system. They think it is grade-A because it is called autopilot.

That may not constitute false advertising. It is, at least, highly suspect.
There is a school of thought that punitive fines should be a proportion of company value/earnings rather than an absolute dollar figure to exact an equal amount of discomfort.

I think Finnish speeding fines are a percent of income.
Important to note that they only left these transactions out of report data sent to the SEC. It's not like they were not honoring the transactions or that some people were missing money.
Python can be very readable. In practice, it's much less readable than Go. Also, Python's lack of typing makes it very hard to follow type arguments (something I lament daily). I love that I can enter a few keystrokes in vim and see the type signature, methods, fields, documentation, or even the full definition. Python doesn't really have this (at least not unless your project is using mypy).
Facebook is cannibalizing all social media and Google is cannibalizing all search. Those markets are practically gone, there isn't much room for a second place and there's definitely no room for a third place. That VCs keep pumping money in such startups, well, that goes to show how irrational the ecosystem is.
He told people to spend more time with their parents. That's pretty good advice about how to relate to other human beings.
I appreciate a good "should not have to" argument with a lot of things, but it's becoming such a common refrain left to stand on its own with no argument more rigid to support the uncomfortable objective weight of "what should be" against "What is", I wonder, when looking at all the overwhelming evidence and indicators happening with such frequency and intensity of what factually takes place if "should" has any real weight as a counterpoint anymore.

There's probably a much less loaded way to phrase this question, it's escaping me right now-I'm afraid.

edit: This wasn't an attack on your argument specifically, it just conjured an idle thought to mind.
Hourly Billing is Nuts (book)
I mean, it's a parallel stereotype to making fun of Italians for eating pizza. It doesn't make more sense than <ethnicity> likes <ethnic food>!
Ideas by themselves are not worth as much as you'd think, whether you can code or not. There are a limited number of ways to make money off of software. You can sell or rent the software to consumers as-is, you can sell or rent the software to businesses as-is, or you can rent the software to businesses including support and/or customization (Software as a Service).

Even a simple app direct to consumers requires developer time and resources over a number of years just to keep it current. The overhead in that case can be very low, but the odds of it turning more than a modest amount of money back is also very low. And if its easily replicable, as you suggest, then it's much more likely to just be done by an established company.

If you're interested in getting involved in startups or other software businesses in the future, you should look at it like any other potential career path in law. Keep an eye on the field, take the time in your 3L to look for internships or other opportunities to learn about this area of law, and try and look for meetups and other developer groups in the area and learn how it works from the dev perspective.

Ideas are only one part of what makes a successful business in software or elsewhere. If you want to have a successful career, you are better off learning as much as you can about the field, especially from people already in it, than following up on an idea. There's always another idea to follow up on in this field, but knowing how the field works and gaining contacts in your area will allow you to follow up on them long-term.
I have a degenerative eye disease and have worn many different variety of contact lenses (RGP, scleral, piggy-backing etc) before eventually undergoing a corneal transplant.

I made do for years, it has never been much of an inhibitor.
Sure, let's have a karma bonfire: Sometimes I inherit minified code from someone who was hired years ago and for one of msny reasons is not available any more. It doesn't happen every day, thankfully. When it does, I'm happy that I can at least read and repurpose the JS that's left. Downvote away.
What a joke. My fraternity's hazing was worse than anything the CIA does to terrorists.

You wanna know who really get treated like crap? AMERICANS in AMERICAN prisons. Those guys get raped and beat, yet no liberals care.

Terrorists? They get lawyers, legal rulings, and stuff that would be entry level for pledges 20 years ago.
Best of Hacker News
As someone who came of tinkering age in the early 70s and spend lots of time taking apart and repairing old machines, I wish to express another concern. How do we expect to hook the next generation of engineers if there is no opportunity to tinker as a child? For me that spark (excuse the pun) definitely came from those early "break it/fix it" sessions. Is tinkering going to be relegated to playing with the public APIs of our devices? I assume that most devices don't have public APIs - you need to get a dev license and sign an NDA. What ten year old is going to do that? Will only the children of engineers at major tech companies be able to tinker? I see bad unintended long term consequences for our society.
Valve Moves to Choke Off $7.4B Gambling Market
This kind of sounds like a variation/extension on Leonard Susskind's hologram reality, he mentions in these presentations and lectures[1] that a lot of the ideas came from Maldacena and the soup can (I hope that's the right video, it's been a while since I watched them, the related videos should offer more if I got it wrong). There's a little more math and explanation in those videos, just look for the ones regarding horizons and the like, though I'm afraid I can't help you with your search for papers.

[1] https://www.youtube.com/watch?v=OBPpRqxY8Uw
I highly recommend this book. The author, Jonathan Stark, really knows his stuff when it comes to pricing. His advice on value based pricing has changed the way I approach some parts of my business.
Just wondering, is there still any legitimate reason for doing this over using something like svg?

Or is it mostly to show off in the same spirit as obfuscated C contests or demo scenes?
Which Forth has a "good" standard library?
>"today we are still 100% Astronomer and in no way a part of Romeo’s portfolio. Without going into too much detail, a week after returning from SoCal, the deal was dead."

Why write everything before this and then leave the reader hanging at the end? For shame.
And Westeros...
This makes me feel more comfortable with the reality that some broken code I wrote a long time ago might still be running somewhere... :)
Horrible clickbait title. The article states that the robot collided with a child - there was no "attack".
This article re-confirms that most of the money in Silicon Valley is being made without much real technical innovation. Not a surprise, but I still find it depressing.
I wonder if we're talking about the same thing? The Unity Editor I'm referring to is Unity's graphical environment where you edit your scenes and stuff.

Of course I use Visual Studio to edit my C# code. And I'm fortunate to be doing more "systems plumbing" than 3D graphics, so I get to spend more time in VS2015 than in the Unity Editor. But there's still no avoiding the latter.
This post has been sitting in my bookmarks for a while now - at first I liked the initial part which is very clear and "beginner-friendly" - the best bit, however (and the main reason why I came back to the post a few times now), in my opinion is the "Resources" section at the end, which is really exhaustive.
You'll be super busy with law school, focus on that, make sure that's a priority, do your best and finish top of your class.

That said lots of people build their idea with full time jobs, while going to school and even with a family.

So make the most of your spare time, weekends, summers.

Whether you learn to code or are a co-founder it's going to be work.

This will be interesting for you:
http://www.startupsfortherestofus.com/archives

And I love @DHH's advice here:
https://www.youtube.com/watch?v=0CDXJ6bMkMY

Good luck, make the most of it.
Let it go.

Your idea is worth sh!t anyway, whatever it is.

Plus this sucks: "I want someone else to design, build, deploy and manage a technical project for me (and maybe market and sell it too). They'll of course get (insert equity slice and post-revenue comp plan here), so how awesome is that."

You and everyone else.

Have you talked to a potential customer yet? Start there.

If you can't figure out how to get to a minimal proof of viability from where you're at, just drop it. Getting it built is not the hard part, with or without (insert classmate/colleague).
Is there anything in process like the Secure High-voltage Infrastructure for Electricity from Lethal Damage Act proposed https://www.congress.gov/bill/113th-congress/house-bill/2417 in 2013?

Does any jurisdiction in the world have exemplary practices?
How exactly are they safe now?
Doubt that was the reason.

I'd bet math phobia.

People working in Biology usually are not Math savy and are proud of it. Many of them are there to run away from other scientific Math intensive fields.

Anyone suggesting anything along this lines will be immediately shut down just because of that.
The future of car ownership that no one is talking about
Why doesn't anyone feel the need to define the acronym VC?
At that point you might have something like the lisp machines. I've not used one, but have heard more than one person talk about the very good debugging experience on them.
I have a super hard time reading. ADHD and all that. Getting started with a new tool is hard, but I power through it. Sooner or later it gets easier.
(That should be "or fix it yourself".)
Show HN: Mac launcher app for multiple CMS admin installs
This decision implies that a website owner can, on a landing page, and/or via postal or email message, notify Google, and other search engines, social media and data brokers that the owner does not grant, and indeed revokes, any authority to crawl, catalog, archive, link to or otherwise view or use the content on the site's other pages.

(Yes I know most sites want to be crawled and cataloged, but some might prefer otherwise, or to negotiate deals with search engines, or otherwise monetize or leverage their content.)

For a search vendor to proceed in the face of such a restriction would be an unauthorized and therefore criminal use of the site owner's server, content and traffic/throughput allotment.

Maybe this would be a good way to defeat Mozilla's upcoming Context Graph, which promises its own set of obnoxious side-effects.
I love your use of content-addressing, and adore the visual design. So much so that I'm almost hesitant to bring up this point.

Having read the FAQ, I know your pastes are immutable and permanent. But there are no UX cues on the main interface to suggest this, and no confirmation modal on submit.

Would you consider adding a one-time, limited-validity URL given to the original submitter, only in the case that it was a non-deduped paste, with which they can delete the URL?

Or would you consider adding additional UI cues to suggest the submitted content is irrevocable?
I will, thanks
CSS can be used to draw arbitrary vector images mostly via the background style.

Probably the easiest way to do this automatically is through adobe illustrator. You can convert an arbitrary file to CSS:

https://helpx.adobe.com/illustrator/using/css-extraction.htm...

I guess a lot of people think it's neat in a 'web-hack' sort of way, but it's just another way to express the same thing.

Pay no attention to the man behind the curtain.
I dig, very much. That's all I've got.
Everything else aside, how would that method even work to combat criminal networks? Wouldn't the criminal networks simply use this law to legalize their own murders by labeling everyone they murdered "drug user"?
And I know someone who modified the MS MPEG-4 Version 3 codec to use SIMD instructions for the RGB/YUV colorspace transform, which both sped up and improved the accuracy of it. We can all agree that source-code is more readable than binary code though.

That being said, as there are already many languages that compile down to non-human-readable javascript (Including C), it's fairly moot at this point anyway.
Memebox (YC W14) Is Hiring Engineers and Product Designers
Based on what PeCaN said, it seems he/she thinks that Vine is an anomaly, and uses a vast amount of resources compared to what is required.

I believe they are perfectly normal, and if anything are slightly on the leaner side of average.

If PeCaN is right, and I'm wrong, then he/she should be starting a company much more efficient than the average, and benefiting from being that much more effective than his/her competition. There are plenty of opportunities out there - if someone like Vine is bloated, then surely PeCaN could be a consultant and not deal with barriers to entry, and still be wildly successful. There was no sarcasm.
There is nothing fundamental about the major scale or triad, they didn't even exist 300 years ago, they are an invention of western culture. The author is not aware of previous work of Hindemith, who derived them from purely acoustic phenomena, or the advanced mathematical/musical theories of Mazzola. In other words, like most scientists who delve into art, they look at it as a trivial pursuit and are not diligent.
It's a public utility. The regulator should be... regulating this type of thing if the company is to incompetent to do so on its own.
Even if fines were in proportion to company value/earnings, they would also need to be in proportion to the violation. Not every violation is equally as egregious.
"You have to register yourself as an independent professional which cost is around €260/month"

I think you're referring to social security contributions for (which pay for healthcare and pension etc.). The amount is in the same ball park as a single freelancer would pay for healthcare in the US.

Do you have to register as a autonomo even if you have zero income? If not, can't you build and start to validate your idea without charging money? That seems to be what a lot of SV startups do.
Very pleased you chose to incorporate Parinfer! Thnx.
Great map for visualizing:
http://demographics.coopercenter.org/DotMap/