skysight-inc/HackerNews huggingface dataset:
> seriosuly

Well, if English were statically typed, the compiler would have caught your spelling mistake before you submitted your comment.

Types are valuable for any size application. They bring order to a chaotic world.

If you don't do static typing, you have to do a lot more unit testing. You also have to type out a lot of code to convert your function arguments into the types that you actually wanted. So, you're spending your time either way. Specifying types up front takes way less time than writing unit tests or converting arguments.
iOS 10 Features: Everything You Need to Know [Infographic]
Remember when we missed 'The Internet' ... let's not miss 'AI'
This depends on if you're doing live transcoding or VOD transcoding.

I work with live transcode, and it can be beneficial to run on g2 instances. Running c4.4xlarge I can transcode a good number of 1080@30 in with 1080/720/480/360/240@30 out. With a proper g2 instance I can transcode more simultaneously.

So cost efficiency really depends on sustained traffic levels. I scale out currently using haproxy and custom code that monitors my pool and scales appropriately. But I monitor sustained traffic levels to know when it makes financial sense to scale up.

If your main concern is transcode speed, CPU is likely sufficient -- I am unable to transcode faster than real time with live transcode.
"in contrast to basically every other washing machine manufacturer."

No, see my other comment and search for exploding LG and Whirlpool machines on Youtube.
Announcement at Microsoft: https://news.microsoft.com/2016/09/29/microsoft-expands-arti...
- AdBlocker

- Pocket

- Any.Do

- ProductHunt

- FlickrTab
Fingerprints make excellent usernames and terrible passwords:

http://blog.dustinkirkland.com/2013/10/fingerprints-are-user...
IQs can't be higher. The tests are designed to be normally distributed with an average of 100.
IMO actually decreases costs because of the amount of errors the type system catches and the ease of refactoring.

Elm also guarentees to NOT produce ANY runtime errors, that's quite a guarantee.
The 7 habits of effective people – Book Summary
NDAs and Contracts That You Should Never Sign (2000)
>> The moment of flatline in the control room is still expected at 11:18 GMT; 12:18 BST; 13:18 CEST +/- 2min

If the BBC's Science Correspondent had mostly been concerned with not confusing the vast majority of users, they'd have quoted the time of descent in BST first and qualified it with GMT and others. Instead they gave their preferred "standard" time first and then qualified it with a daylight savings time that is currently relevant to the vast majority of the BBC's readers.
That is a quote from the National Audit Office website, which says it is based on Treasury data to the end of the 15-16 financial year.
The root zone ZSK is increasing to 2048 bits as we speak.
http://www.circleid.com/posts/20160928_increasing_strength_o...

The article also mentions the number of TLDs that now use 2048 RSA keys is around 1,300.
A smartly designed doubly-linked list can be used for extremely fast deletion or insertion, as well as handling dynamic memory allocation for arbitrarily large data sets.

Linked lists are the foundation of operating systems, especially UNIX and AmigaOS.
That's a pretty cool idea.
Our experiences setting up our own spark cluster
You can remove all non primes in the selector, like below

span:nth-child(2n+4),
span:nth-child(3n+6),
span:nth-child(5n+10),
span:nth-child(7n+14),
span:nth-child(11n+22),
span:nth-child(13n+26),
span:nth-child(17n+34),
span:nth-child(19n+38),
span:nth-child(23n+46),
span:nth-child(29n+58),
span:nth-child(31n+62),
Rubidium pushes perovskite solar cells to 21.6% efficiency
The rule is that you ignore the constant. O(5) is still O(1).

It is not 1 but that's the agreement.

In your specific case maybe you both weren't aware of the nomenclature? In any case, they did you a favor. If you are arguing about hash tables from the start, who knows how it will be when you ask for vacation or sick days.
Amazon’s $2.5M ‘Alexa Prize’ seeks chatbot that can converse for 20 minutes
> then the textual output would actually be different, wouldn't it?

Yes. The provided algorithm doesn't break UTF-8, but it will break the encoded text as it's not unicode-aware. I'm pretty sure it'll also leave through invalid UTF8 (lone surrogates or non-shortest encoding).
> Well, if English were statically typed, the compiler would have caught your spelling mistake before you submitted your comment.

Ha! I love seeing things like this on HN and think it's a perfect example to illustrate the power of static typing. Kudos!
> if a company chooses such a person as an interviewer then that's a bit of a red flag to me

I think the basic corporate rules of signalling competence apply here. Assuming that person was both technologically and socially incompetent (which might be too harsh of a judgement), some people still have a way of getting promoted into valuable positions by appearing to do a great job.

> Sorry to hear about the rent situation - I take that worked out OK eventually?

Thankfully that was some years back, I'm doing okay today :)
> Reverse engineering is not research because someone already has the answer.

Someone potentially had the answer at one point. That person/organization may be dead/defunct, or the knowledge may otherwise be lost to time.
...but the history of stocks is sufficiently short and localized as to have weak predictive power over what's going to happen in the future.
I think the same argument could be applied to PHP though. If you've never used or seen Laravel, it's quite nice: https://laravel.com

If you need concurrency, Facebook's Hack has support for async/await and some other nice things.

I'm not saying this is necessary better, just that PHP has a bad rep that it may not deserve at this point (which is pretty similar to JS imo)
Gotta love HN. I'm always learning new stuff. Thanks for posting this. The "Judy Shop Manual" (http://judy.sourceforge.net/application/shop_interm.pdf) looks very complicated so I don't know if I should take the time to fully understand how they work, especially if they are not as versatile as hash tables.
Corneal keylogger?

So "enhance, enhance, enhance" is real now?
On Language Detection: Classification X User Consumption
I think even in large applications its not well suited because the type system has an 'escape hatch' in the form of any and null/undefined. IMO Elm is probably a better candidate, or Flow if you like the more imperative syntax.
Surely by using Elm you may improve the quality of your program, but you restrict your staffing choices down to the <1% of frontenders who either know it already, or are capable of quickly picking up a Haskell-esque language.

Either that or you commit your client to huge up-front training costs.

Or how about the scenario that goes like: "The contractor who wrote our web app in Elm left last month, but we need some bug fixes or complex feature adding. Can someone fix it? Anybody? No?"

How do you sell that to a client?
Well he is on google cloud, which when he wrote it he used the best option.

Google cloud now has cloud sql, which would likely be much better. But then he needs to code, test, and migrate.. perhaps not worth it?
For me, it's first class function support. Of course, there are other "real functional languages" like Scala, Haskel or whatever, but they very uncommon.
JS is the only commonly (Clojure is very uncommon) used language with real first class functions and not some silly hack like Ruby/Python lamdas, procs, or blocks.

To be fair, it seems that Java 8 has first class functions. I can't say much about it since I didn't get a chance to play with it yet.
The information about lifetimes will be available to IDEs? So may be possible to identify lifetimes by the color from each variable https://medium.com/@evnbr/coding-in-color-3a6db2743a1e#.lu50...
Elm has ports to interop with javascript. it's really not that difficult
there are people who research things besides AI
> …lithobrake…

Thanks for adding this to my vocabulary.
> First, this is defeatism writ large – if we can’t develop anything new, ever, we may all just as well go home and give up.

No, it means you need to consider the existing realities when designing a new protocol. A good example is HTTP/2: Probably countless proxies would produce crap once they see an HTTP/2 packet. So people came to the conclusion that they need to wrap HTTP/2 in TLS in order to deploy it. (I know that there's HTTP/2 without tls, but nobody is using it for precisely that reason.)
HTTP/2 was built with deployability in mind. DNSSEC was not.

> Secondly, these things don’t exist in a vacuum; if a website failed because a user couldn’t access DANE or whatever, this would create pressure on all affected parties to fix the situation.

This is simply not what's happening. What happens in the real world is that people blame their browser for breaking things that previously worked. There are countless examples for this.
Amazon absolutely can survive a DDOS attack. But can your wallet? AWS published a white paper on how to survive a DDOS on AWS that amounted to "out scale the attack." Doing that could very well be a business ending proposal right there.

Sure, your website never went down, but now you have an infrastructure bill you'll have do do another round of funding just to pay off.
with more than 5,000 computer scientists and engineers focused on the company’s AI product efforts.
And why is it 400M?
The secret to EBS is to use General SSD, not Provisioned, but use a RAID stripe.

The reason this works is because IOPS are provisioned per EBS drive and by the size of the drive. So a RAID0 stripe of, say, ten General SSD drives will outperform the more expensive PIOPS single drive.
I hate to say this, but IQ tests are BMI tests for the brain, and about as accurate. If a coffee, bad sleep, or a dose of Ritalin can change the result – at its very nature – it is not a scientific method of measurement (the ability to retest and get the same result).

We could say it's a good read of a spectrum of mental capacity, but to suggest that IQ is capable of anything more is whack science.
Yeah, OK, that is another good example. But nevertheless, there are a lot of programs you could be asked to write where using a linked list doesn't make any sense.
I took it to mean the age old type checkers that had zero inference and were more of an annoyance than anything. I'm a bit jaded though.

"Modern" type checking is mostly about not writing types and strong inference
There is some, when users battle gyms they are battling with other users Pokemon which would be from anywhere in the world. When the Pokemon on the Gym loses it needs to be removed in a transaction with an update on the gym. This takes the easiest form of sharding off the table, so it's not as simple as you make it seem.
I was hoping nobody was going to make this obnoxious comment, but to see it being the only comment?

What do you think you're contributing?
well except that your phone is covered in your fingerprints...
Yess thank you, thank you, thank you. I was just signing up for the Azure N Series preview but we're good to go now :).
>The financial system is infrastructure -- like the electricity grid and the Internet.

The key difference being that the financial system is a purely informational form of infrastructure. Where as the electricity grid and Internet are physical, real forms of infrastructure.

Information is far more easily recuperated (thanks to the internet/electricity grid) when a crisis occurs (i.e. a "bubble") than when a crisis occurs to physical infrastructure like the internet or electricity grid (i.e. an EMP).
You're missing the point of compartmentalization. One typically doesn't want to contaminate zones, and if you're in the business of contamination, you are also in the business of multiplying the steps needed to ferry information between zones. The benefit of having single duty compartments like this is that you can focus on the task at hand, as humans are really awful at multitasking. Also see research on people driving whilst using a mobile phone: it impairs performance quite substantially and it's often dangerous to multitask.

Similarly on a computer, if I have all my apps in one place, all my bookmarks, all my personal data, all my contacts, etc, then this is dangerous because it's a single point of failure and malware often targets machines like this where it can see that the machine is used quite heavily by the operator and interesting things happen on it quite often. Not that malware is even the main culprit for collection. It could be just your spouse has a poke around your system for 5 minutes and collects 5 years worth of browsing history, or any other threat actor for that matter.
"the major intellectual thing that disturbs me is that young people like you are reading less history"

For me history is just fiction that by sheer accident actually happened (well kinda, because there's a lot of post-factum narrative in history that might be false as any other story). It's interesting that it happened but not that interesting to give it some value that trumps other factors that make fiction interesting.
Agreed! From tomorrow, 1st October, founders will start publishing their September business figures and reports. I think they're going to be much better than August numbers.
Related blog post from Diego Piacentini, currently on a 2-years leave of absence from his role as SVP of International Consumer Business of Amazon.com:

https://medium.com/team-per-la-trasformazione-digitale/from-...
The Bizarre Second Life of the Utopian “Facebook Killer”
Because of the effect of aggregation on the price of transactions and operating profit. Have a read through the rationale for these merger ideas here to understand more :

http://www.bloomberg.com/news/articles/2016-07-08/dare-to-dr...
People barely refill their windshield washer fluid. Asking them to refill a tank with distilled water is a bit of a stretch. Not that I have anything about water injection (I use it).
This may just be me, but I find well maintained projects tend to get sticky around 10k lines of code. Much smaller than that and every new thing is just that a new thing. Much larger and it's easer for new things to kind of get tacked on at the edges. But, around 10k the project is small enough to understand and most new code tends to result in some refactoring for shared functionality. 10k lines is also fairly close to novel length.

Anyone else notice this?
There's a guy who wrote a "How to Write a How to Write Book" book:

http://www.brianpiddock.co.uk/home.htm
> In your specific case maybe you both weren't aware of the nomenclature?

Well, "always O(1)" is simply wrong in my opinion. This may be a cultural thing, but I'm used to referring to the worst case behavior in big O as a default, so I would have said something along the lines of "the worst case is O(n) and that can turn out to be problematic in some cases". And normally interviewers do want you to talk about these kind of corner cases. I don't think I'm using the nomenclature wrong, and I certainly didn't ever refer to something as O(5) which as far as I can tell is not and should never a thing...

To my best recollection, the question came up as a dynamic language issue. Specifically what the interviewer wanted to hear is that accessing (both read and write) an object property in JavaScript is always O(1), since it's a hash map access under the hood. Leaving aside for a moment that this is fuzzily untrue in a typically JITed environment, it's also untrue in general. You could try to make a case for that when doing a read on a specially optimized hash table, but it would certainly not be true in the general case where you also add things to the table. But all of these considerations are already way too detailed and far beyond what the interviewer wanted to talk about.

They just wanted to check off "knows it's a hash table under the hood" and "knows that hash tables are always O(1)", even though both of these are untrue in my opinion.
The number of collisions is only loosely based on the hash function, it's much more closely tied to the fill factor.

If you keep your hash table 1% full then you're unlikely to run into a collision no matter how bad your hash function is. If you keep your table 99% full then it doesn't matter how good your hash function is. You still have to modulo your hash by the number of buckets.
What kinds of numerical algorithms are used for this? e.g. Monte Carlo or Finite Element Analysis?
I don't understand why the commenters in this thread are being so negative towards this project. This is a fun experiment to see what the author could do with the minimal tools CSS provides. Sure there's no use for this kind of project. Not everything has to have a use. Some things can be for pure fun. The negativity in this thread isn't even productive or helpful.
You can do things in Chrome extensions that really are quite scary. Turning that around to not trusting Chrome seems like a bit of a straw man.
I shall obnoxiously answer a question with a question :

What do you think you're contributing?
You mean the so-called "Standard" code style? Not many people use it. Why even list it...and first? Airbnb style is the most popular one by far.

This bears repeating whenever the so-called "Standard" js style is mentioned, lest any readers think that it's actually a standard that people use. It's not. Every time it's been introduced on HN, it's been roundly criticized for the name and the lack of semi-colons.

I'm not here to argue about semi-colons. But again, for anybody who missed it - the so-called "Standard" js style is NOT a standard, it's not even a de-facto standard and it's not even popular at all. Don't use it.
Colombia’s 52-Year War Is Ending. Now Comes the Hard Part
4 State Attorneys General File Totally Bogus Lawsuit Against Internet Transition
Well, "smart" can mean above-average problem-solving abilities, and/or learning new cognitive skills at rate that's faster than the average population.

Another definition of "smart" is the accumulation of knowledge and facts.

The 2nd definition is what the BBC headline and James Flynn is talking about. He's concerned we're not "smarter" in the sense of not reading more books, and not knowing about history like The 30 Years War, etc. In contrast, when another writer like Joel Spolsky talks about "Smart and Gets Things Done"[1], he's emphasizing the 1st definition (aptitude).

So yes, IQ and knowledge are decoupled from each other and can increase at different rates. E.g. there are a lot of high-IQ physicists out there that can solve crazy equations but are not interested in reading a bunch of history books. In JF's framework, this makes those scientists "dumber".

[1]http://www.joelonsoftware.com/articles/GuerrillaInterviewing...
That's interesting that my mom has had the exact opposite experience with getting their identity stolen and fraudulent cards opened in their name.
6 Things We Learned from Reading Records of Drug Busts at Love Field Airport
People already complain about having to refill AdBlue for their Diesel engines - and you realistically only have to do that every 6-12 months! MotorTrend did a review of that M4 GTS and it worked its way through the 5L water tank very quickly. So how often would the consumer need to refill the tank in a normal, non-sports car?
Is it really cheaper to get hacked?
Not to mention, there are groups like MENSA, of people who have a very high IQ, yet a lot of them are no more productive than the person of average intelligence. We are far away from having a good measure of intelligence.
If not filled, probably full-rank such that all X-over-Y is possible, via-S-via-T!
Amazing Inspirational Life Quotes
This seems way too biased against the cloud. It doesn't mention things like a solid sales relationship with your cloud provider which can help you unearth all kinds of breaks and incentives. I've been using AWS in dedicated and hybrid modes since its inception. If you are hitting a pain point cost wise they will work with you to try to keep you from leaving or migrating services to on-site.

He also doesn't mention the huge benefit of cost drops that cloud providers will give you that you will not see when you're on a 3-yr lease and a long-term DC/bandwidth commit.
BMI is a perfectly valid first-order approximation of appropriate weight ranges for the 95% of the population who are not body builders.
When working in Python I noticed that 20kloc was the point at which I stopped being able to hold a project in my head, at which point I became unable to safely refactor, which in turn meant refactoring basically stopped being worth it. Any codebase larger than that, the core ossified, and new functionality was only neally possible to add at the edges.

I think I can do a lot better than that now that I'm using Scala. Certainly I don't feel like I've hit the limit yet.
Perhaps you can help in discerning what is and isn't journalism since they stated that contributors are welcome. That first link turned me off as well.
> Nvidia K80 is a 2 years old Kepler GPU ... I would expect to see some P100 Pascal GPU "soon" on AWS. Maybe 6 months?

Not likely.

The AWS CG1 instance type was introduced in 2010 (NVIDIA Tesla C2050 GPU). The G2 instance type was introduced in 2013 (NVIDIA GRID K520 GPU). Now the P2 instance type has been introduced in 2016 (NVIDIA Tesla K80 GPU). At this rate, we probably won't see another GPU fleet in AWS until 2019.
Purposes, Concepts, Misfits, and a Redesign of Git
Yes, good points.
How are they a hack in Python?
I used Clojure for three years before realizing that all of the dynamically typed languages you listed still have the same hard problems: making large code changes and reasoning about existing code. I also realized that in the real world, technical superiority is overrated, and the difference between these languages is overestimated.

Javascript is ubiquitous, runs in the browser + server, everyone I meet in the wild has to know it, and it has static typing options. It's not easy to shove those aspects under the rug to justify another language. It takes something else, mostly depending on just who I'm working with and then on what we're building.
Deciphering User Experience Terminology
I didn't mention it in my original comment because I thought the code didn't exist anymore but I found an old Time Machine backup disk with the code on it for an updated version of the referenced implementation. I have put it up on Github at https://github.com/tssva/dnshttps-proxy. I need to throw up a README and give attribution. Will get to that later today.

This version will support all RR types supported by the miekg/dns library which is the vast majority of them and any you are likely to come across in the wild. It also allows you to specify regular DNS resolvers which can be used in two ways. As fallback if connectivity to the DNS over HTTPS service fails or to always use to resolve specific domains. It also allows you to restrict access to the proxy to certain networks. The rest of the code should be IPv6 friendly but for some reason I implemented the access list in a manner that only supports specifying IPv4 networks. Guess I have something to work on.

If no DNS resolvers are specified it attempts to use the Google Public DNS servers to resolve dns.google.com. If DNS resolvers are specified they are used to resolve dns.google.com. A flag to always use the Google Public DNS servers would be useful, so now I have 2 things to work on.

As far as performance impact I have generally seen from 20 - 80msec of additional delay. Using a caching resolver behind the proxy would help mitigate this. As is the additional delay is pretty much unnoticeable when web browsing.