skysight-inc/HackerNews huggingface dataset:
Yes:

for each (...) -> It's not supported anywhere, so forget it.

for (var x in a) -> x is the key, so it's kind of inconvenient. You have to watch out for inherited properties/methods so one should check for a.hasOwnProperty(x).

for (var x of a) -> It has mostly no gotchas. Only poor browser support.

.forEach only works with arrays and from ES5 on. You have the good old "this"/scope gotcha.
Our economy has reached a point where it's becoming so harmful to the environment it exploits that it's causing a mass extinction, an event that hasn't occurred for 250 million years. On the timescale of a few decades, things are becoming very, very different.
BrokenChain: Mac OS X Keychain Vulnerability – 1st sept 2015
If they are not in solitary confinement, they are being confined with other people.

Would you want to be the confined with someone who has a history of being violent with his cell mates?
https://realpython.com/blog/python/django-development-with-d...
> Is there a well-regarded complete translation?

It seems for English translations, we can pick between:
A: R. Shamasastry (1915),
B: R. P. Kangle (1969),
C: L.N. Rangarajan (1992)
D: Patrick Olivelle (2012) [late edit. looks incomplete]

From my initial reviews of A and B, A misrepresents the original text vastly and B translates the original text using the words that are actually written in it. (I find that an important measure for a translation). Reviews of C indicate that it is incomplete and out of order. Therefore, B seems like the only potentially true translation. You can find it on Amazon[0], Google Books[1], and Digital Library of India[3][4][5].

For more information on how challenging it is to translate this work, check out this 2014 essay by Michael Liebig, Kauṭilya's Arthaśāstra: A Classic Text of Statecraft and an Untapped Political Science Resource. [2] (excerpted below)

0: http://www.amazon.com/Kautiliya-Arthasastra-Vols-Sanskrit-En...

1: https://books.google.co.in/books/about/Kautiliya_Arthasastra...

2: http://archiv.ub.uni-heidelberg.de/volltextserver/17144/2/He...

3: http://www.dli.ernet.in/cgi-bin/metainfo.cgi?&barcode=999999...

4: http://www.dli.ernet.in/cgi-bin/metainfo.cgi?&barcode=999999...

5: https://github.com/cancerian0684/dli-downloader

METHODOLOGICAL PUZZLES AND METHODOLOGICAL/THEORETICAL APPROACHES

The Arthaśāstra's authoritative translations into English (R.P. Kangle) and German
(J.J. Meyer) were made by Indologists. Also, the secondary literature on the work
comes almost exclusively from the Indologists. 6 The Indological perspective is
focused on Sanskrit philology, but with respect to specifically political issues,
Indologists are (probably, inevitably so) 'semantic generalists'. Sanskrit philology has
made the Arthaśāstra accessible to social science, but the philological meticulousness
of Indologists cannot substitute political science terminology – which is the
prerequisite for an adequate understanding of Kauṭilyan ideas. The problematic is not
merely one of proper translation in terms of political science terminology, but brings
up the issue of interpretation in the sense of adequate reconstruction of (latent) ideas
or 'complexes of meaning' in the Arthaśāstra and the 'transposition' of such ideas into
modern categories.
French speaker agreeing here, the vocal recognition is currently at least 10 years behind English and I can't get any device to recognize anything meaningful of what I say, I guess for the "speakularity", we can wait !
Meh, it's all shiny and no functionality: I can't play any games or hook this up to anything. And it's not even that shiny: it would be quite difficult in casual play to differentiate cards at a glance: there are no faces on face cards, etc.

I implemented the same functionality (minus drag/drop, which isn't actually useful) a few times myself when I was working on poker bots.
From what I've heard, it sounds like this is really "new method of counting trees produces much bigger results". The new estimate may be better, but it may not.

Paul.
Don't bother trying to run an exit relay. The operators of the company will assume you're a terrible person and forward your information to law enforcement. [0]

[0] https://forum.online.net/index.php?/topic/4642-do-you-allow-...
Write me to konstantin dot solomatov at jetbrains.
Find your favorite Linux Desktop and DE combo
I want to deal a card game and play with someone. The cards need to be face down though.
The economics I know and love is not an experimental science.
Well that is some H.P. Lovecraft material right there...
Validation errors on w3.org website
ReThink – Effectively stop Cyberbullying
Some schematics of it would be really helpful.

From what I got the magnetic field from point A is felt at point B even without being able to be measured between those 2 points.

Is that it?
To be even more specific, these CPU are produced by Marvell under the name Armada 370/XP (according /proc/cpuinfo), and are based on ARM's Cortex A9 design (source: https://scaleway.com/faq/server/#-Why-did-you-choose-ARM ).
Actually I think you use delaunay tetrahedrization on the points in 3-space. The points HAPPEN to be on the surface of the sphere.

Then you intersect the sphere with the polytopes, which result in great arcs.
Are those numbers accurate? 67k per month to draw shit? I'd be more interested in the mean monthly earnings. There are hundreds of pages of content creators making $0 per month. In fact only about the first 10 pages make what I would consider a livable wage, but would still technically be poverty in the US. Only about 100 people are making a decent middle class wage. About 40% of the users on that first site make less than $100 per month. 90% are making less than $1000 per month.

There are certainly sites that make way more than $67k per month in advertising fees.

Tipping might be one of the possible business models but it still has a long way to go.
Possibly 1/2 Macedonian, 1/2 "Lion-Snake": http://penelope.uchicago.edu/Thayer/E/Roman/Texts/Plutarch/L... ... ;-)
The court is an inefficient way of providing the state with free labor. He could have skipped the court and just gotten a job and started paying income taxes.
oooh .. very interesting. Thanks for that !
It's a great idea, but concerning that "patented" is the third most-important feature they want to tell you about the software :(
Tridiv: a web-based editor for creating 3D shapes in CSS
Show HN: Lantern, a dedicated Mac app for website auditing and crawling
When Did the Statue of Liberty Turn Green?
Show HN: Play music with others in real-time (with video)
Over a year ago, we released JamKazam (https://www.jamkazam.com). At the time, our focus was solely on getting the audio as low-delay as possible, to enable musicians to play across the internet, in real-time. Lag has to be not noticeable, or at least tolerable, for this to work. There is lots of skepticism, because I think people intuitively know that every combination of network connection/audio gear won't be fast enough, so we have to do our best to set that expectation while still encouraging people to try it out... because for many, it does work. On the other hand, some people don't care about the latency; they will play across oceans where latency must be horrible, but they still get something out of it.

Anyway, users have been asking for video since we launched the site, and yesterday we finally got it out the door. We've made every effort to do what we can to ensure that audio receives priority over video.

We've also tried to address some problem areas; it's hard to have a 'multi-player only' website when you are trying to get it off the ground. Also, the free-formed nature of a open 'jam session' is really daunting for most musicians. So we added multi-track covers of popular songs so that if you want to play with a band for a particular song by yourself, or want to play a song with someone else across the internet, you can do that. By the way, some of these covers are really dead on, like this Pearl Jam one (you can listen to previews of the tracks as well as the full mix): https://www.jamkazam.com/landing/jamtracks/pearl-jam-even-flow

Any questions or comments are welcome.
Several AMAs lately have been a PR exercise (like showing up on a talk show)
Who do you consider should pay for the food and shelter of criminals? Their victims - society? IMO themselves, through labor, forced if necessary. If that's what you're talking about.
It'd be perfect if the Z-index updated for card last selected. It looks like they're z-indexed in a specific order at the moment?
Maybe instead of trashing other people's work you could just link to yours instead.
> But the biggest thing I've noticed? What look like big opportunities, vanishing in the rear-view mirror of age.....So you get locked into whatever track you set yourself running down twenty years earlier. Changing is hard because you have less of a future ahead of you to change for.

Or even if you're not changing track, if you're developer ~20%++ of the track changes on you every year, can you maintain this pace when you're older, maybe with a family, and don't have the time or motivation to learn yet another way of doing <x> for the umpteenth time. For younger people I would recommend keeping a close eye on that situation over the long term and if possible have a plan B if you want to get off the treadmill.
I'm on a 50GB volume :)
> At 300 BC what more can we ask?

https://en.wikipedia.org/wiki/Cyrus_the_Great (note the date)
More detailed description: http://www.nature.com/articles/srep12488
I find headphones are great when you know what you are doing and churning out more code. However when I am needing to read documentation and learn something new then I find them a hindrance.
The Rise of Work-Doping
A few years ago, I was the ultimate fan of ibooks/kindles. Still am in some regard - when talking about space or moving from place to place, lugging around any kind of books or physical media sucks. I did this before from one coast to the other and back (SF -> NYC -> SF). Lugging shit around is stupid..

I remember the first time I went to Japan in 2000. I was a little shocked how everyone seemed to be buried in their phones on the subways. Seemed a little weird, but after a while, I was like, meh, it's Japan.

Fast forward to 2015 and everyone has their face buried in their devices in the states. Walking. Driving (ugh). Bus. Stores. Subway. You name it. I do it too, of course, but not all the time. I still enjoy my walks around my city even if it's to re-appreciate the same things along the same route. There's something about disconnecting now; funny you have to even do this at all.

Books are a part of this. Not only the physical aspect, but words on a printed page that never change and always just are. It wasn't until recently that it dawned on me how important physical book authors are to society and culture. It's so easy to watch videos, movies, tv shows and nothing else. I love movies, but it's not the same thought process. I feel bad for people who are not encouraged to read more because they definitely do not know what they're missing.

To read a book...., that is a bicycle for the mind.

I don't get to read as much as I want to, but whenever I go on vacation (which doesn't happen much either :-\) I always being a few hard cover books. Yah, u lug them around, the additional weight sucks. But, having that book and picking out that chair or hammock, that's one of the best things ever.
I would love to see a version of this for Google Cardboard
could you get a faster then light signal through this magnetic wormhole?
Yes, but it is 18% faster do run the bitwise or on my machine:

https://jsperf.com/or-vs-floor/2
Looks great! Ability to flip cards would be awesome. When the cards are fanned, I'd love to see the end one being flipped and they all domino over :)
Blue Coat Research Maps the Web’s Shadiest Neighborhoods [PDF]
Overall I think this is a good article, but there were two things which caught my attention.

Isn't this article just taking a roundabout way of commenting that landowners in highly productive areas are choking growth and more productivity by siphoning too much money off of the non-landowners for use of the land? I understand that they're the Economist so they can't outright say that the rich are hurting the economy by hurting the poor, but come on, at least be a little more clear.

Also, a fallacy: "Where workers can be put to use at high levels of productivity labour scarcity will lead to fast growing pay packets. Those pay packets will attract workers from other cities. When they migrate and find new, high-paying work, the whole economy benefits." This is a theoretical economic concept which doesn't really apply to the macroeconomic reality of today, in which worker productivity and time commitment increases but wages stagnate and later decrease, all as a result of a race to the bottom. The exception is probably the software industry, but I'd argue that in light of the anticompetitive no-poaching agreements from the likes of Google and Apple, software industry wages are still actually much lower than they should be, despite the "labor shortage" and "high levels of productivity". Then there's the bit where they claim that the whole economy will benefit from this sort of behavior, which may be true. Keep in mind that from another perspective, this same action is highly destructive brain drain, leaving destitute cities bleeding their talent to more prosperous ones.
> but there's a huge "immediate" released of stored carbon.

Surely that depends on where the tree goes. If it's burned, or left rotting, sure. If it's harvested for building materials, might it not even lead to increase storage of carbon overall.
No true conference organizers
The services sector is now a larger share of Chinese output than industry.
Google phone screen isn't with a recruiter. It's 3 one hour long phone interviews with engineers where you program solutions to problems in a shared google document. Some of the questions you get asked are absolutely non-trivial and will take you an hour to solve.
Assassin Robot Submarine Poisons Sea Stars to Save Coral Reefs
Can a Young American Entrepreneur Succeed Where Europe Has Failed?
I mean this in the nicest possible way, but that kinda sounds like a justification for being a workaholic.
Tell it to the prison-industrial complex.
You mean like Woody Harrelson's RAMPART? :P

Well, this one did feel a bit different, certainly more involved than others.

By the way, how could one buy a beer to this man? With something he said in the AMA I solved something that had bugged me for a long time.
The Evolution of Jibo's Design
Amazing that none of the solutions involved trying to cut down interruptions.
I’ve open sourced the app (written in Swift 1.2) at https://github.com/BurntCaramel/Lantern
Show HN: Simpla – content management as a service
> Or even if you're not changing track, if you're developer ~20%++ of the track changes on you every year, can you maintain this pace when you're older, maybe with a family, and don't have the time or motivation to learn yet another way of doing <x> for the umpteenth time. For younger people I would recommend keeping a close eye on that situation over the long term and if possible have a plan B if you want to get off the treadmill.

The plan B is always saving enough money to bail early on employment and retiring at 50-55.

Switching careers is always going to be an earnings hit.

Imo anyway.
This is quite nice! One "intuitive-but-counterintuitive" result -- when the cards are stacked and I drag from the corner, I end up pulling a card from the middle of the deck.

I suppose that's more for a second library that can manage stacks of cards, dealing and interacting with dealt cards, etc.
In asmjs you see this sort of syntax 'num | 0' a lot [0] to enforce that the number is an int, so that may be where he got the idea.

[0] http://www.sitepoint.com/understanding-asm-js/
I agree - the older you are, the more chances you've had to peek behind the curtains and see how truly corrupt the machine and people within it really are. Sure, try to make a difference here and there, but I'd advise not going too far out of your way, and never put your personal livelihood on the line. Better to focus that energy on family, friends and community, where you can make a difference.
Awesome list Bot
Your hiring way outside my skill-set but I wanted to wish you guys good luck! Was surprised to see Paul Sebexen is your CTO!
To be fair, if you've built the "perfect" command, it would serve you better to put it in a alias or shell script. That way it will move with you.
Keep in mind that Java came out about 5 years before a certain similar language that has reference types. The designers of that language made some decisions based on trying to learn from things that didn't work out so well in Java.

To some extent both languages were trying to deal with C++'s having three different kinds of types: Atomics, objects and structs. If I had to tell a made-up story, I'd guess that Java's designers looked at that and decided structs were in many ways just a more limited version of classes with some confusing semantic quirks, and therefore decided to nix them. That left atomics and objects, and the rest is history.

C#'s folks then reconsidered it and realized that, from a high level perspective, atomics are really just a special case of structs. (Side note: still telling that made-up story.) So they kept structs, unified them with atomics in the language,* and let the compiler deal with the rest. It works well and seems like an obviously better way to do it, but I'm not sure that insight would have been so obvious in the moment.

* Edit: Oh, and made structs a subtype of System.Object. Unlike Java, .NET's more-or-less fully object-oriented.
From CD to ACID: Adding Atomicity and Isolation to DynamoDB
Narcoleptic users?

Do you mean "narcotic users", or is this some strange word pun?
Cyropaedia – The Education of Cyrus (~400 B.C.)
That's an iOS feature. Any app that attempts to redirect you to the App Store will throw up that interstitial.

Safari is the odd one out, there. No idea why it's allowed to avoid it.
as @kenbellows said ... it is not a wormhole.

It is an illusion of a wormhole. It is not creating a real path in the space-time. It is a magnetic phenomenon that makes it look as if two points got connected and a magical tunnel was established. Pretty cool experiment, though.

Authors suggest that this illusionary wormhole could also be used to making smaller MRI machines and patients don't have to go through the claustrophobic experience of current machines. Super Awesome .. Giant machine in one room and the patient is sitting on a couch in the other room, and being scanned.

Oooh wait - what if police investigation rooms get designed this way, such that as they ask you questions and from the other room, they are actually scanning your brain for changes in the signal pattern ?? - Crazy idea. Aight, I am re-pivoting as of now. Scanning as a Service...lol
Constraint-level if statements in Haskell
The dude is very likeable and I don't care about him doing illegal drugs (I'm no moralist).

That being said, the accusations that he killed his next door neighbor in Belize and then fled the country are disconcerting...

https://en.wikipedia.org/wiki/John_McAfee#Legal_issues
Is it possible to have one of these "wormholes" with one entrance and two exits?
yup. we're putting CO2 into the atmosphere at a ridiculous and ever-increasing rate. 40 gigatons of CO2 last year -- that's around 5 tons of CO2 / (person * year), assuming a fantasy version of the world where we're all contributing an equal amount of pollution.

it's not just "the economy", it is (people) * (polluting affluent lifestyles). that said, it doesn't help that the people with the bulk of the wealth and political power are the ones that perceive they have the most to lose if the status quo changes.

it also doesn't help that it is very difficult to stay focused on longer-term problems, while society tends to focus on playing the game for short term wins. invest, speculate, profit.

it'll be an interesting few decades. hopefully we realise that ideas that served us well in the past are context-dependent, and the context is changing.
Why spend the time and effort pulling a custom font across the wire if you're only going to use symbols that exist in the web safe fonts included with the browser?

Seems kinda wasteful.
It's a mess, I agree, but it's something that Web Components are supposed to solve. You can really think of React, Angular, Ember, jQuery Widgets, etc. as poor polly-fills for Web Components; poor because they don't interop with each other easily (which is the pain you were experiencing). With Web Components, people can author components and anyone else can use them just like they would any built-in tag like <input> and <video>. This will give you exactly what you're wanting, which is a Bootstrap or Material Design implementation that you include in your project and instantly expand your library of DOM elements.

The problem with React is that the core team has explicitly stated that they are not worried about compatibility with Web Components, so if you stick with that framework over the long term you may find yourself shut out of that bright future. The Angular team re-wrote their framework mainly because they wanted to be compatible with the upcoming Web Components spec.

So, yes, it's a mess, but it's about to get a lot better. Hop over to https://www.polymer-project.org/1.0/ to get a glimpse of things to come.
Summary: Building & land-use regulations are creating an artificial scarcity of land in large cities, driving prices up and creating an artificial "shadow tax" that distorts labor markets.

According to a recent study, if the Bay Area got rid of its building/density regulations, the local economy would be able to support 5x the area's current population, which would boost the US' yearly GDP by $2tn. In 2009, the US GDP was 13.5% lower than it otherwise could have been if land-use regulation had been abolished in 1964. [1]

The solution? Dissolve land-use regulation, pay residents to allow developers to build new structures, and distort the market in favor of the renters by levying a land-value tax. Theoretically, this would allow for an increased supply of housing while penalizing the owners of the least-productive parcels of land, such as those who squat on empty plots in New York.

The author hints at the political problem of adopting a land tax near the end: But there are practical problems with a land tax — perhaps the largest of which is that by its very nature it hits the well-connected rich hardest. So we may very well never see this regulation brought up or passed given the current, money-greased machinations of the political machine.

I was disappointed that the author of an otherwise well-researched and informative article did not get to the heart of the issue: who owns the land? Yes, it is obvious that urban landlords are making a killing in this market, but who exactly are these landlords? What percent of real estate in London, SF, NY is owned by actual residents vs. holding companies vs. foreign interests vs. the government? Is it a small, concentrated number of buyers in each city? Is collusion possible?

Also, how are we going to induce growth in sectors other than tech, consulting, and finance? Or do we not care if young talent continues to accrete in these fields, driving the (currently extortionate) growth of the city? Is this the best plan for long-term growth and prosperity?

[1] Perhaps this paper assumes that there is an infinite supply of highly-skilled tech workers who have taken jobs elsewhere due to high costs of rent? Seems a bit far-fetched to me.
The Nature of Code – Chapter 10: Neural Networks