skysight-inc/HackerNews huggingface dataset:
Using Angular 2 without typescript, or a lot of features via babel + flow + (webpack|rollup|browserify). I couldn't imagine trying to write an ng2 app with ES5 alone... it would drive one insane. Not even just for type safety, but because of how decorators are used, it's much more verbose and mind-numbing.

You can use TS for part of your app, once the environment is setup... iirc, there's a couple options for bringing in typings for existing libraries, and if you enjoy that, I'd say go for it. That said, I don't think it adds as much value as others seem to feel it brings.
I thought NP-complete implied that the problem was also in NP, in addition to satisfying that statement. Does it not?
And the reason for that is quality is a relative metric which is almost impossible to quantify.

* Static analysis looking for bugs per thousand lines of code
* Idiomatic code adopting language specific preferences
* Code that is easy to maintain but is slow as molasses
* Code that works well enough and was written super fast
* Code that is microoptimized to the extreme, is super fast, but difficult to maintain due to inline ASM

For certain cases, each of these could be considered quality or atrocity. It is all about context.
The Canada-US border was not imposed by colonial Britain. It was a compromise between the US and Britain after the American Revolution and War of 1812.
But a standardized test assumes that a certain percentage will fail. Its the same reason why aberrations like "Stack Ranking" are just as evil.

"What? All my people are excellent on my team, yet I have to rank a number of them as 1's (a number of 1-bad, 2-neutral, and 3-awesome). I have no choice..." - Stack ranking in a nutshell.

You could be an a school that 99% have the intelligence to pass. But yet, some bureaucrat says that a certain number has to fail, no matter what.

Compare that to a Drivers License test, where we test on if you know that material to drive. There is no required minimum number of people who fail, nor is there a comparison to others. It's you and a minimum test passing rate.
https://www.reddit.com/r/LifeProTips/comments/2y13rm/lpt_req...
I wonder if someone invented the "modular" programming yet.

Judging by the UNIX paradigm of the command line tools, the idea is clearly out there.

Instead of objects, do modules - things that do one thing, and carry minimal dependencies.

You need a banana? Grab the banana module. You need a banana with ice-cream center? Feed the "center" callback of the banana module with "ice-cream" instead of "banana intestines".

You need a copier? Grab both printer and scanner.

Is there any existing language that i'm describing now?
It is a very abrupt dismissal along the lines of: encapsulation doesn't perfectly encapsulate, therefore it is useless.

It is not perfect because the objects your class may encapsulate may have been passed in a constructor by reference, meaning there is code outside your class that can mutate those objects.

Even in functional programming languages encapsulation is a useful concept - often in a functional language it is implemented with opaque data structures that can only be manipulated by the module which creates them (constructors are not exported).

I don't think it always means there are not shared references; it all depends on the role of the data in question.
If you're going to do this, also turn on power saver option, and put it in your pocket top-down - that mostly turns off the screen and should save quite a bit of power on AMOLED screens, though maybe not so much on LCD.
In ObjC everything is a "reference type" since it's a pointer, but most of the data structures are immutable, and some of them are stuffed into tagged pointers, so they really are values after all. (Try implementing that in C++!)

CoreAnimation and bindings make AppKit very slightly more functional, but not really.
That's one of my bigger niggles as well... You can use json schema for your schema checking though.
I've been interviewed/kept a personal video diary since the 3rd grade (over 15 years) and I can attest to the benefits mentioned in the article.

A friend and I started a company that helps make it easy to tell your own story and prompts to with questions to get started. It's called "Emberall" and is on the iOS App Store if you want to try it out.
Top 16 Books on Data Mining and Information Retrieval
Or linear types.

Actually, immutable containers isn't good enough; you need all the leaves to be immutable too.
Show HN: Pokemon GO IV Calculator Library Using Python
Mass Incarceration Is Making Infectious Diseases Worse
The read is overly optimistic, sometimes feels like an advert. But I agree that having some things in the cloud is certainly an advantage.
Maybe I'm unlucky, but I get a pretty high volume of incoming spam on my mailserver. However about 99% of it originates from machines that are on essentially all the blacklists, so it's fairly easy to reject it in the SMTP session with a conservative DNSBL check, without getting into spamassassin-style content filtering (I also prefer rejecting in the SMTP session, because on the off chance that there was a false positive, the sender at least gets notified of the non-delivery, instead of their mail being silently eaten).

I agree that outgoing deliverability isn't really a problem for me either. I do have DKIM and SPF set up. I also am a fairly low-volume message source. I think self-hosting is more tricky if you're emitting large volumes of mail, like transactional emails for a business. But as a personal email server it's been fine for me.
https://github.com/yjwen/org-reveal
Goats in Somalia branded with the owners' mobile phone numbers
Let me try to list the objections:

1. Inheritance creates dependencies on their parent class

2. Multiple inheritance is hard

3. Inheritance makes you vulnerable to changes in self-use

4. Hierarchies are awkward for expressing certain relationships

All true. But likewise, functions introduce dependencies on their arguments, and data structures introduces dependencies on their fields. You must consider your dependencies carefully when designing any software interface.

The task of software architecture is not to go around categorizing everything into a taxonomies. Inheritance is just one tool in your software interface toolbox.

5. Reference semantics may result in unexpected sharing

This has more to do with reference semantics than objects.

6. Interfaces achieve polymorphism without inheritance.

Interfaces long for inheritance-like features. For example, see Java 8's introduction of default methods, or the boilerplate involved in implemetning certain Haskell typeclasses.
That's functional programming.
Tim Armstrong may be falling into the same trap that’s ruined every Yahoo CEO
I really hate the vertical enter key. Not present in US, but somehow popular in europe. Brrr!
Is this same react where your components keep internal state (called state) and every component must be created by extending a base class?
I really don't understand how this even gets upvoted on HN. It's barely worthy of mention in conventional news and I live in South Africa so if anyone should find it relevant I should!
I'm glad you were serious, because frankly I wasn't. I'm sure there's more than enough "free" porn out there for just about anyone's taste, so I doubt that free accounts would be a significant incentive anyway.

But meh, sometimes jokes fall flat.
Yeah, it's called Procedural programming.
I have a friend who's transitioned to maybe one post a week on FB. Still also goes on there for "Happy Birthday" wishes and to respond to tags and such a bit.

She's on Messenger all day, every day.

Messenger appears to be increasingly capturing IM for the masses. From the bit I see.

Others can probably speak better to the details, but it seems to represent the best mix of identity and reachability for "normal" human interaction, at least here in this part of the U.S.

She runs into a friend of a friend. They don't share any contact information. He reaches out to her, afterward, on Messenger.

I need to get in touch with one of her friends. The only connection we have is both being her friend on FB. Messenger does the trick.

FB seems to have developed and positioned it quite effectively. Despite / in the face of early and continuing privacy concerns.
Thanks. I felt like Richard in the tab vs. space debate on Silicon Valley.
Verizon to Pay $4.8B for Yahoo's Core Business
No, it is that I can't feel that my MBP/Macbook adds enough value to cost 5x plus that the Chromebook actually beats performance of my new Mac quite often.
Apple’s Touch ID blocks feds–armed with warrant–from unlocking iPhone
Sorry, you are wrong. Your description of ${CLASS}-hard is precisely backwards. For example, see Wikipedia: https://en.wikipedia.org/wiki/NP-hardness

"NP" itself already means "No harder than NP-complete" [under Karp reduction; Cook reduction perhaps tracks ordinary language "hard" better, but, whatever]. "NP-hard" means "No easier than NP-complete". "NP-complete" means, well, "Exactly as easy as NP-complete" [again, under Karp reduction].
Ya know, if you would just learn to be a better story teller...
That is a good analysis. While I was reading this article all I could think is "You wanted to do things in a bad way and then you learned how to do it the right way and you don't like the right way?"

His entire problem seems to be he thought OO was a magic bullet he could do whatever he wanted with and then he learned there was more to using OO than the three concepts he cites at the beginning.

And this guy has supposedly been writing in OO languages for decades? What?
How is uncle bobs best buddy allowed to give me lessons, if I am not allowed in the drivers seat, as I do not have a license yet? So you have to break the law first in order to be able to abide by it?
Apple lays the groundwork to kill online advertising
You can't conflate the 'windows/mac' side of things for non-standardized keyboard layouts - that's ridiculous. Macs have very standardized layouts, to the extent that the Apple external keyboards are modeled on the laptop ones.
I've used Rabbitmq, it most certainly does not fulfill the volume requirements I have.

The fact that you are comparing zeromq to Kafka is pretty good evidence that you have no idea what you are talking about, and are just tossing out names from google. I'm a little disappointed, honestly, I hoped you were aware of something I hadn't heard of.
It's two spaces, but of course four works too.

https://news.ycombinator.com/formatdoc
Agree. That will be the big test for me. Google Slides have gotten a lot better, but still doesn't beat Keynote.
Cyber Threat Intelligence and pragmatic risk assessment
We will release the Electron's code as well in the coming weeks :)
How does one recycle the gold once the patient has deceased?

This has just raised what you can afford when you're paying with an arm and a leg.
Are you sure you didn't mean 100 by 100 I.e. 10k m2? 100 m2 is practically nothing.
The loss of physical media is a bigger deal. Cloud services die within a few years. Even ones from big companies. Remember PlaysForSure? Zune? WalMart Music? If you don't have your own copy, you're just renting.

We're losing a lot of film history as the Netflix back catalog shrinks and YouTube gets better at removing uploads of old movies.
There's a point here being missed by many commenters. People have trouble realizing future happiness today. The extra $75k/year you're putting in the bank is essentially going to be paid back to you after you stop working. This is going to contribute to your happiness (in the future!) at the same rate as going from $0 to $75k does now. So the study is reflecting that people undervalue their future happiness. Which makes sense, as you could get hit by a truck tomorrow, so future happiness isn't as valuable as the same amount of happiness today. That said, there are clearly diminishing returns involved as well, so I don't discount the study in its entirety.
By the same note, people are discovering that classical OO doesn't always add value at all... Similarly, depending on your environment static enforcement doesn't really add much and may detract. Though it takes discipline in either case.

I think with both class-based OO, and static type checking, they can offer some benefits, mostly in IDE integration. Beyond that, they don't stop developers from being sloppy and/or using object patterns that are crushingly slow.
You will be able to build your own if you like once we'll release the source for the Desktop apps..
Yes, the old article was actually already posted here.
> Lesson learned.

Without meaning to be sarcastic (particularly because I found your post interesting), what lesson learned? A casual perusal of your post suggests the lesson "one can't craft SQL code to get by an AWK regex", but, of course, "what I can't do no-one can" is a bad lesson to learn in security.
Linear Algebra Done Wrong is quoted at many places with another book - Linear Algebra Done Right. Did you study other book - any thoughts?
I think "jail the professors" is too extreme. There needs to be a more constructive solution.

I completely agree with your assessment of the problem.
In this context, the distinction between "the US" and "Britain" is entirely immaterial. People of European descent came, had some internal bickering, drew lines on maps, didn't care about the opinion of the people already living there.
A paid alternative is also datacamp.com
Has videos and interactive exercises you can do directly in the site. And btw, I am not affiliated with them, just a user.
In the case of TS, they go out the window at runtime... anything outside of your project that comes in (json via rpc or rest) or outside-in calls/callbacks don't enforce the type safety.
The Uber attract screen that seems to show lots of cars near your location has no relationship to reality.

WebGL is mostly client side. Ship the list of data points and let the client do it.
It takes way too long to build new housing in expensive cities
Inheritance is overused in OOP. There are many ways to share object behaviors, inheritance only works well when you expect all objects of both classes to share all behavior except one or two things. Even then, you should investigate dependency injection before reaching for inheritance.

For the example given for the Triangle Problem, the author isn't clear about exactly what behavior is being shared among the classes. The top of the tree, PoweredDevice, gives an indication, but my guess is that there are more responsibilities than just power, these responsibilities aren't being reflected in the domain model as they should be.

Instances of a class share behavior with other instances, it is the state that differs, i.e. the data being stored in the instance variables. In the example hierarchy, the state being stored is left out of the analysis, but it's the first place I would look for a missing domain concept. My guess would be that the most concrete class is going to be models of consumer peripherals, of which instances are intended to represent actual devices.

In this case a copier, which contains both a scanner and a printer, but not an actual discernible model of scanner or printer, would simply inherit from PoweredDevice. That it has this functionality does not mean it need actually have those in its class hierarchy. It is a job better suited for mixins, or injected dependencies.
I agree with you. Moreover, I think anyone who is rabidly attaching themselves to a programming paradigm of any kind is doing themselves (and anyone who has to work with them) a disservice. It's all just tools. Committing yourself fully to a single tool like functional or OO or whatever is just as silly as a woodworker attaching themselves to only a single form of joinery.
My favorite LA books are Linear Algebra by Friedberg/Insel[0] which is a combination of Axler style book with more computation oriented one (Terry Tao has a set of lectures based off this book). Another one I like is Modern Intro To LA by Henry Ricardo[1] which implicitly introduced me to Replacement theorem which is really overlooked in a ton of LA books. Again, this book's a rigorous mixture of both theory and computation done very well. If you've never seen higher level math before, there's Linear Algebra: Gateway to Mathematics by Robert Messer[2]. It has tons of commentary about elementary set theory and proof techniques along the way. Whenever someone mentions Axler's book, someone else brings up Treil's book. But there's a third one in the same league/group which is Linear Algebra: An Introduction to Abstract Mathematics by Robert Valenza[3]. Other favorites are Coding the Matrix by Philip Klein[4] for Python aficionados and
Linear Algebra Through Geometry by Banchoff/Wermer[5] for those who like geometry.

If you are way beyond all this, you can still pick up new things from Advanced Linear Algebra by Steven Roman[6].

[0] https://www.amazon.com/Linear-Algebra-Stephen-H-Friedberg-eb...

[1] https://www.amazon.com/Modern-Introduction-Linear-Algebra/dp...

[2] https://www.amazon.com/Linear-Algebra-Mathematics-Robert-Mes...

[3] https://www.amazon.com/Linear-Algebra-Introduction-Mathemati...

[4] https://www.amazon.com/Coding-Matrix-Algebra-Applications-Co...

[5] https://www.amazon.com/Algebra-Through-Geometry-Undergraduat...

[6] https://www.amazon.com/Advanced-Linear-Algebra-Graduate-Math...
Show HN: HeadSpin, test on global cell networks
https://headspin.io . A global infrastructure for you to test with real cell networks. VPN from device in hand, SSH to a container connected to a cell network interface, and remote control and debug access to cell devices. Like EC2 for cell devices around the world. Also on Product Hunt, https://www.producthunt.com/tech/headspin
Hmmmm... looks very interesting. I'll check Gallium when the freshness of ChromeOS fades :)
I'll partly agree with that. Mostly even. I draw the line at expecting a security-critical library intending widespread adoption at least follow secure coding guidelines if nothing else. It really doesnt take much effort vs what was already done. Tiny fraction of it.

That plus the larger trend of developers ignoring basic, good practices is why I critique the project a bit. Plus, LibreSSL team illustrated my point nicely by doing 10x what I expected in a very short time with no pay.
A good article talking about the current issues traveling between African countries:
http://qz.com/641025/the-trials-restrictions-and-costs-of-tr...
I have an E assist cargo bike and it's average speed is close to its top speed (20 mph). It's not that it's faster, it's that I'm not going slow very often. It also makes me happy to stop at stop signs.

I rode a Stromer for a while it's best feature was a top speed that could easily exceed the auto speed limit on local bike routes (some of those that are still 25 mph instead of 20). Taking the lane at the speed limit sends a clear message to cut through drivers.
It seems to me that my OOP is so functional that I didn't felt these issues that bad (it is true that I actively evaded them with the design) and at the same time it sounds like falling into that is typical of not so great OOP programmers.

It's curious to see that OOP hate coming from someone that got a chance to work in Smalltalk.
How did the other thread get the reference to the object? The only possible existing reference is the one we are using to decrement the shared counter.

Decrementing is done when the reference itself is being dropped (set to null or to point to a different object), which is a logically mutating operation (remember that only the reference count updates are atomic, the operations on the references themselves are not), thus no other acquire operation can be happening concurrently or it would be a data race.

Any concurrent operations on the reference itself must be synchronized via external means, usually a mutex. Of course concurrently mutating distinct references which refer to the same object/ref count is fine.

edit: rewording
its not strange to me that is was done, just that you or anyone was attempting to do it, for their family no less, in the last 15 years.
I am one of the authors, AMA
At this point I think people are just trolling Hackernews for the traffic.

don't feed the trolls
God damn it I begin to hate Medium. Just another Bullshit article. When I read those dipsts description: "Software Engineer and Architect, Teacher, Writer, Filmmaker, Photographer, Artist…" Great. And you want to tell me that OO is dead and functional the only future? Fuck off.
I'm 40, I've been cycling almost daily since I was a kid, and my bikes get stolen every 3 years on average, I take it now as a matter of course. My last several city bikes I bought used, spending $400-$600, for rides worth $800 to $1200 new, which I consider worth it. I use a small u-lock that can fit in my back pocket, and I don't get too uptight about leaving my bikes out all night somewhere strange.
squad goals
OO paradigms are not magical and they have a learning curve. They can look simple and obvious but knowing how to abstract your problems using these techniques is not simple and it's what differentiates a good programmer from a bad one.

It's easy to complain about them but in most cases I see it's a misuse issue.
> "preparing for the tests" sounds like "learning"

That's the problem: it sounds like learning. I think it's the least useful kind of learning, though, and the most likely to be forgotten quickly.

The best kind of learning is learning for the sheer joy of it. A totally test-driven education leaves no room for that; indeed, it beats all joy out of the students, teaching them that learning is a dry chore.

And reducing time spent on the arts is an especially tragic mistake. In the 21st century economy, with so much less that we need people to do, there's a lot more room for people to create value in individual ways, and I think the arts are likely to be a big part of that. We need to be expanding funding for them, not reducing it!

"Education is not the filling of a pail, but the lighting of a fire." -- William Butler Yeats
Well, a borderless Africa would certainly be pertinent to the startup community. And this seems like an important step toward that.
While I appreciate the hard work Hadley has put into this ecosystem, and I detest the language wars, I can't help but feel that the world would be a better place if Hadley had put his effort into python DS modules instead.

Hadley's work puts R almost at parity with python (at best!) for munging, and for academics, this long-term trend of domain languages like R or SAS becomes counterproductive. It's as if he's leading us to a local optimum.
"Steem is a blockchain-based social media platform where anyone can earn rewards."

https://steem.io

Steem is pretty new. It was just released a little more than a few months ago.
What should I read to learn more about "our internal and external conflicts"? Genuinely interested
The books in the list are pretty advanced. It would be nice to see some sort of "star" rating for each book to indicate which books the authors found best.

On a shorter note, here is a four-page introduction to the basics of linear algebra: https://minireference.com/static/tutorials/linear_algebra_in...
There are two ways to solve problems in engineering. You either bring the problem closer to your existing solutions by redefining the problem or you keep the problem the same and bring your solutions closer to the problem.

Sounds like you are unwilling to redefine your problem so that it is amenable to solutions that are not kafka.
> We’ve used Mantle, which is a wrapper around iOS’s built-in layout pieces.

Uh... no? Mantle is a modeling and serialization/deserialization library.
Don't eat animals. One problem solved. Might want to have some cows for milk and using their waste as fertilizer

Edit: the not eating animals is not in a vegatarian way. I love meat. But if you want to fully sustain yourself on the smallest area possible, animals do not aid your cause.
Valid question - a matrix of [ linear-algebra-topic x books ] would've been intuitive to know where it overlapped with other and a missing part.