skysight-inc/HackerNews huggingface dataset:
I you didn't understand what the GP said. You can certainly have a day when it is both sunny and cold, but the checks would look like this:

if(isSunny){
putOnGlasses();
}
if(isCold) {
putOnCoat();
}
Interesting international pricing...

In the UK it's 109.99 GBP which is ~173 USD
I think it totally depends on the problem domain you are working with. There are so many different ways to use javascript it is overwhelming. There are also lots of ways to structure it. I feel like a very good understanding of a widely used OOP language such as Java is a good place to start before jumping into the wild west of javascript programming.
If you're already a decent enough developer and just need to get your grips on JavaScript, I'd say that most books listed aren't that useful. A decent enough online reference will get you going and after that you'll have to consider that JS is a pretty large dung heap by now where you probably won't get a lot of mileage out of inhaling dust from the crusty parts. Unless you're an enterprise developer tasked with maintaining your company's Dojo application.

If you're a new developer coming into JS from a more tabula rasa situation (possibly these days), I'd still say that most of those books are wasted, and you'd probably get a better mileage out ouf SICP or the GoF book than most Ninja/21days/Dummies tomes.

The core of JS is small enough, and the rest is highly dependent on your task, scope and framework. No jQuery book will help you with your intranet extjs app or your state of the art fluxified React SPA. You'll have to wade through code to get there, preferably as much of your own as possible.

And the most important thing: Pick something and stick with it. No mid-project framework/build tool/library changes. Even "obsolete" tech still works better than falling into the Duke Nukem hole. So don't get nervous about still using "grunt" when all the cool kids are using "gapoodle".
Exactly. At that point about 50% of the time I'll get a reply along the lines of "Oh yeah Wakeen said he'll contact the Charlatans, don't worry about that" and then I have less work to do.
Scala gets stack traces automatically from the JVM though, along with much of its debugging support. The Rust team will have to do this all by themselves, being a natively compiled language and all.
> it's because you've been fed with lies

Really, really good spoken!

I myself started distrusting many scientific claims. One day, all fats are bad for you, the other day only specific fats are bad and the next day, having to few fats are bad ...

And those fats are not the only "fads" that are around ... Today "xyz" is good for you ... tomorrow, who knows ...

EDIT for the downvoters:

I did not say, that all scientific claims are bullshit, but I want to say, that particularly some "scientific" claims paid by some big corporations might to be taken with a grain of salt! There are just to many people interested in "scientific" justification.
Don't run untrusted apps outside of virtual machines. Too bad that web taught us to trust the code we shouldn't trust. Noscript must be integrated in every browser and enabled by default. Sandboxing was and will be broken.
> In ES6 classes provide nothing more additional than the closures already in use via a bit of extra utility code.

ES6 classes are sugar over prototypes, not closures. Insisting that ES6 classes aren't classes requires at the very least a basic understanding of how they are implemented.

> Do you know what classes actually do in a real OO language

JavaScript is a real OO language. Do you mean class-based?

> are you just a fanboy of JS?

Surprising vitriol here and makes you lose all credibility. Why does stating a couple of facts imply that you are a fanboy of JS?

> Also, using shims or translators proves nothing. I can write in C++ and use translators to convert that to JS. What is the point here exactly?

The point is that you stated that ES6 and ES7 code don't work cross-browser. Using Babel means that they do.

> Adding extra confusing junk onto a weak language does not make the language "better", especially when the standards you are recommending people to learn aren't even finalized.

Where exactly did he make this argument?
Having heard horror stories of Uber drivers asking the equivalent of, "Which bridge is the Golden Gate Bridge?" I cannot imagine the clusterfuck that would result from an Uber for lawyers.
Love the concept!
Accessing IoT Data with Couchbase Server, Couchbase Mobile and Kaa
Andrew Kokhanovskyi, the CTO of CyberVision, gave a speaking session at Couchbase Connect 2015 on the subject of “Accessing IoT Data with Couchbase Server, Couchbase Mobile and Kaa”. In case you have missed it, here is the video coverage of his presentation and Q&A: http://bit.ly/1dK4AgG
About Kaa Project: Kaa is an open source platform for building and facilitating applications in the realm of Internet of Things. Kaa allows companies to expedite a products’ timetomarket, increase performance, and attract customers/subscribers. Kaa introduces standardized methods for enabling integration and interoperation across the connected products. The Kaa IoT platform is licensed under Apache 2.0, and is 100% open source without royalties. Kaa is designed to be robust, flexible, and easy to use and deploy.
www.kaaproject.org
About CyberVision:
With over twenty years of experience, CyberVision is a trusted global provider of software engineering services in hightech domains, among which IoT, Big Data, Consumer Electronics, Cloud, Mobility, and Web. With our expanding pool of topgrade engineers, mathematicians, and scientists, we successfully deliver projects of any scale and complexity.
CyberVision is also the company behind Kaa – an opensource cloud platform that enables rapid implementation of advanced IoT products and solutions. Capitalizing on rich capabilities of Kaa platform and solutions from our partners, we provide engineering, integration, and support services that maximize our clients’ value proposition on the IoT market.
www.cybervisiontech.com
I... why do I need to pick a separate screen name after giving my email address?
Join us for #ScaleUpSpain – Get 50% discount now
I'm far from an Apple apologist (I probably complain about them more than I praise them) but "failing to be flawless" about security is not the same thing as "not giving a shit" about security.

I've yet to see any massive platform that is both flexible and open to millions of users that has zero security flaws or exploits developed for them. Not saying it's a good thing, but it's certainly a common thing, even among companies that give several shits about security.
If the ACL of a keychain item contains an app that isn't supposed to have access to that keychain item then that would indicate a compromise.
I have 2 toddlers (both under 2.5 years old) while I am working on my bootstrapped business. It is tough. Really tough. But this is when effective time management is the key.

On a regular day, here is my schedule:

- Wake up whenever kids wake up (usually 6AM-7AM)

- Help with their breakfast, getting ready for daycare along with my wife.

- Wife leaves with kids at 8 AM sharp and goes to work while dropping them off.

- This is my best window to work like crazy. 8AM-5PM nonstop without interruptions (unless one of the kids stay home sick)

- 5 PM: stop work no matter what. Go pick up kids from daycare. Between then and 8PM, have dinner, play with kids and spend time with family. No work. Put kids to bed by 8 PM

- 8-9 PM: Relax, watch some TV, cool off.

- 9PM-1AM: Work on business again.

This is on a good day. On bad days like when kid is sick, it can throw off any plans/schedule.

Weekends are difficult as kids are home. So when they nap for a couple of hours, I can get some work done otherwise wife is on my case to ensure that I am helping as 2 toddlers are a handful.
A state university that doesn't allow taxpaying residents of that state to access university libraries? I've never experienced that.
For the decent developers picking up Javascript, http://learnxinyminutes.com/docs/javascript/ is hard to beat. All the basic syntax and language features in one page without trying to explain to you what a while loop does.
I agree a lot with it. I also think it's useful to work with at least one statically-typed language (like Java for example) because it teaches some good maintainability practices. In JS world, I've seen far too often creating objects in random places, as a map of parameters, passing them around, and injecting new keys to the object in other random places, and when such an object goes around too much and is augmented randomly in a myriad of ways, it's really hard to reason about it.

In Java, you'd typically create a separate class for such an object, create fields, assign types to them and document them, and have a constructor which populates the fields with sensible defaults if not provided. Sometimes it's an overkill to do it this way, but often it pays off with a better understanding of the data model. In JS you have a lot of freedom, but too much freedom leads often to a mess when enough people are working on the code.
RESTRUCTURING AND TURNAROUND IS Not ROCKET SCIENCE HERE'S WHY
It's about lowering the cost of surveillance - want to keep track of your competitors CEO or M&A team? Just set up an alert in flight radar...and it's like you have a full time team of private investigators
Just search more specifically, this should resolve 80% or more of the 'poor search results'. Every once in a while, I'll go to Google but that's for maybe 2 searches a month! You'll be surprised at how decent the results for DDG are.
Worth noting that it's only against Uber's policy because this is one stronghold of the taxi cartel Uber hasn't been able to crack (and partially how Uber initially differentiated themselves to argue existing regulations shouldn't apply to their service). But a fundamental question remains, why shouldn't I be able to hail an Uber driver off the street or at an airport? There is no valid reason other than it undermines the rents that incumbent firms and bureacrats are generating from anti-consumer regulations.
He went through a phone screening, then a technical interview. They made him an offer and sent him a contract. A clause in particular caught his eye:

Employee fully and unconditionally grants, assigns and transfers to the Company any
and all Inventions created, developed, discovered, conceived, invented, learned, or
suggested by Employee during the performance of Employee’s obligations under this
Agreement and for a period of one (1) year thereafter, whether or not such
Inventions are made during working hours or on the property of the Company, whether
or not such Inventions are related to the business, activities or interests of the
Company and whether or not such Inventions are patentable, copyrightable, or
protectable with a trademark, service mark or otherwise.

He asked me to look it over, a more experienced eye I guess. As soon as I opened the document, big red flag, it was 15 pages long. I've never had anything over 3 pages. The more I read it, the worse it got. They really, really needled in on the invention thing, and had all these side rules that it included anything that wasn't even patentable, and that you wouldn't argue against any claim they made unless you could prove that your work had been done before starting there by producing a patent. They required 30-days notice before leaving, which in PA is illegal to stipulate. There were restrictions for two years against soliciting anyone they had ever solicited, not just their customers. There were statements that unpaid overtime was expected, which is also illegal in PA (employees are allowed to work unpaid overtime but it cannot be a requirement for employment). And there were weird things in there like stipulating that the employee worked exclusively for the CEO. What was the point of that? It was just a complete mess.

So I suggested he should get a lawyer to review it. In the mean time, they started pressuring him to sign, he told them it was with the lawyer right now (though he hadn't yet found one, he was just stalling), and they freaked. Cut him a check of a few thousand dollars to go away and agree to a gag order.

But I didn't agree to shit! However, I still won't name them because I'm fairly certain they'd launch a full-frontal libel lawsuit against me. Just one of those kinds of places.
Composition is really the key.
Would you mind sharing how you go about making these?

I found the Cahill projection a few years ago and was disappointed that I couldn't seem to find one in print.

The one I found that seem to resemble it is the Waterman projection which is also available in printed versions.
Underground to Mainstream – what “sells” in Rap?
You can't do it and be stable. That isn't to say you can't do it for short times. I only started a small software consultancy while having a day job along with a wife and toddler and it was a grueling marathon. Sleep took a backseat and anything not related to work or family was pretty much off the table. You always feel like you're not putting enough time in somewhere.
why the caps?
Cheerp C++ to JavaScript compiler now 5x faster, quicker startup than Emscripten
uint.Parse vs TryParse misses the point. It's very true that doing proper error handling in C# requires more diligence and attention. I know people like to harp on checked exceptions in java, but if used properly, they at least help with the discoverability aspect.

The fact that you have 174 catch blocks in a very large codebase only reinforces the blog's point, which is you may be missing error handling blocks or you just have very general handlers.
The process led by the NTIA, unlike the bulk of the EFF's post, has nothing to do with the government's collection and use of facial recognition data.

If you're calling out the EFF's hypothetical wost-case like this, you certainly wouldn't use the hypothetical best-case of shoplifter recognition to provide argumentative cover for other no-opt-in products like your company's IRL analytics offering, would you?

The guidelines coming out of this process were intended to be voluntary, so companies would not have to comply if they didn't want to.

If they're voluntary, what is the purpose of complying with them? Why would anyone in industry adopt the standards? Seriously. What good will they do? Why didn't businesses voluntarily walk away from the table first? Should I believe they're honestly negotiating to voluntarily give up on existing/potential products to make the EFF happy?

What reason at all do I have to believe the industry isn't just seeking a set of milquetoast "consumer protections" they can make a big deal out of living up to, while not providing any real consumer protection?

I don't know if this process is now dead or not. I suspect it will go on, just now the consumer groups won't have a voice in shaping this (by their own choice), which is a shame.

So the industry couldn't steamroll the consumer protection groups and get a set of flimsy set of standards. And now it's those group's fault when consumers aren't protected?

Shame on you for pretending like they're choosing not to have their voice heard. It was heard, then industry saw money and decided to ignore them.

either way it would be good for consumers to get some kind of guideline out there

No, if the guidelines are weak they're worth less than nothing. The industry will have a standard they can "live up to" without impacting their business model. Then when consumers complain, they'll wave around the standards as if the boundaries of acceptable use of facial recognition are already settled and protect consumers.

tl;dr lulz @ "The NTIA did an outstanding job in an attempt to bring this process together"
Tastes in books varies wildly between developers: there are many on there that I wouldn't say helped me as much as others, but to each their own!

With that in mind, I'd put a plug in for David Herman's _Effective JavaScript_. It goes beyond simply stating the mechanics of JavaScript into what pitfalls can be had, and uncommon but critical factors to consider when writing your code. The point about UTF-16 code points in strings alone makes it a valuable resource.

[1]: http://effectivejs.com/
Note that Philae has already performed most of the experiments that were planned in the first two days it was operational and that all data from those experiments has been received.
Philae never was a failure, that it now wakes up again is an additional bonus.
Also consider that an additional O(100kg) for an RTG significantly alters your energy requirements to get into orbit (see https://en.wikipedia.org/wiki/Rocket_equation)
I don't think the correlation is in serious dispute.

I'm no dietitian, but going by
https://en.wikipedia.org/wiki/Saturated_fat_and_cardiovascul... I don't see evidence for the "distinct and growing lack of scientific consensus" claimed in your link. The majority opinion still seems to be to prefer polyunsaturated fats over saturated fats.
That is incorrect. The word 'China' after WWII referred to what is now called Taiwan. Nixon eventually normalized relations with mainland China and arranged for Taiwan's seat to be swapped for the mainland Chinese.
That project is not really maintained anymore, and it is nothing more then dokku with a bunch of plugins preinstalled. I would suggest just using dokku and installing the plugins you need. Dokku has moved forward in their API and stuff a lot since dokku-alt was forked and the documentation for dokku does not really apply to dokku-alt.
> TCL has been battle-tested for decades, even in industrial automation...

Right but I believe the point was that this http implementation was less battle-tested than node's and that if you're willing to strip away features from the node version, it too could outperform node's version in a microbenchmark.
:|

Because there is no objective way to evaluate the quality of a book before reading it, and because any useful information in most of the few good technical books is of limited lifespan, books are a waste of time. It's not just that books can be bad. It's that most books are bad, and having to wade through them is what makes them a waste of time.
Why do all these strange workarounds?
> Learn how classes work in JS ( Note this is amusing to me since JS does not have classes and everything about the way they are done is just craziness compared to a real OO language )

This kind of derision is typical of people who try to force prototypal inheritance to work in the same way as classical inheritance. I suggest learning the details of the prototype chain and how it works - you'll discover it is about as powerful as classical inheritance, but in different ways.
Standard example for exceptions you have to handle: IO. You can't work around it. Want to open a file? That might throw (file doesn't exist/is inaccessible). Want to write? That might throw.

Now, we can argue if you can ignore that, in a controlled environment, and get away with it most of the time.. But that's not what the article is about. He compares exhaustive error handling between the two languages.
Interesting how the trade group is pushing for more regulation of uber:

Interesting, yes. But not at all surprising. Google for "bootleggers and baptists".
Pythonic range(a,b) is [a...b[ over the integers(in the interval sense.)

But yes, I acknowledge that every programming language requires a certain amount of knowledge about generalities, Python being no exception.

And I really should sit down at some point and learn an APL variant.
I (personally) wouldn't. The boilerplate text their lawyer originally wrote is inapplicable, but they're not bad people, it's just that that particular lawyer has never had an idea in their life. (Only someone who has never had an idea would think a person can list every idea they've had.) so besides crossing the inapplicable section unambiguously, it's not worth a comment. I wouldn't say I'm uncomfortable with it. I am extremely comfortable, with the whole contract, I just removed the part about past IP since it obviously doesn't apply. The rest looks fine! Excited to start. :)

really, it's hardly worth a comment. they obviously don't mean to acquire IP from your past.
Of course, it's just weird to see `sum` built-in all alone. They even have operator.mul so...

>>> Prod = lambda xs: fp.reduce(op.mul, xs, 1)
>>> Prod(range(1,11))
362880
Easy. https://m.youtube.com/watch?v=GQb_Q8WRL_g
AFAIK he's only using 4 out of the 24 cores:

> two cores busy with handling RX queues, and third running the application, it's possible to get ~650k pps

That's ~200k pps per core, so 4x the initial bet.
Please don't take this as patronizing but I think you have one of the best and most intelligent approaches I've heard on here.

As the parent notes, too often we assume we're legal experts because "it's all logic" when it's not. It supported by logic but the phrasing - like source code - is vital to the full understanding.
About 6 Gigabases per hour, somewhere in that ballpark. Probably something like the equivalent of the human genome project (which took >10 years and 3 billion USD in the 90s) every few days.

Error rates are in the region of 1 to 0.1% generally.

I've never really worked directly with capillary data but understand it's error rate in early bases is limited by the amplification step. Which would be ~0.0001% (1 in 10000).

That said there might be a coarse filter (based on signal intensity etc) that would identify a subpopulation of high-throughput reads which have a <0.1% error rate. But I don't believe I've seen that reported. I'd be interested in hearing from anyone who has thoughts on that though.
I remember learning in school (here in the US) that the Sahara Desert is by itself as large as the continental US. That fact was so striking to me when I learned it, I wonder why other people don't know it.
I've had some success with the object-oriented equivalent of the pattern. Perversely, I find it to be most effective as a political tool.

It's useful when someone doesn't like my minimalist solution to some problem, and starts peppering me with feature requests that will complicate the module and which I perceive to be of marginal utility. So I make that chunk of functionality pluggable, keep my minimalist implementation as the default, and publish some instructions for how to drop in a more complicated behavior. Then all I have to do is sit back and watch the original requester realize that they only think the stuff they were asking for is worth the effort if they can get someone else to be the one putting out the effort.
I disagree with the last point. If you can make sure that the change is worth it, that you understand the new technology very well, and if you make a commitment to follow through and do all the necessary work, you wont fall into the "Duke Nukem" hole.

(The problem of course is that often times we don't take the time to make the necessary evaluation and want to make a change just for the sake of learning the new shiny)
Unless I am missing something Atlantic.net is 1-10 cents cheaper then digitalocean?

https://www.vultr.com/pricing/ is 20% cheaper right now at least.
awesome! thanks.
There are several, not necessarily compatible ways of defining OO:

http://paulgraham.com/reesoo.html
Yeah unless you're the person desperate for a ride who can't find a cab. The compromise is absolutely avoidable. Even with today's "oversupply" people are signing up to become uber drivers, so it must be at least somewhat equitable.
from functools import reduce
from operators import mul
def times(data):
return reduce(mul, data)
Surely the techniques and logic used to empower such inventions and innovation had to be discovered by someone at some point. For every great new invention is their not usually some discovery made sometime prior which ushered it in? For things like smaller and smaller computer chips. I'd say that Moore's Law was discovered, not invented.