skysight-inc/HackerNews huggingface dataset:
Location: India

Remote: Yes

Willing to relocate: Yes, absolutely

Technologies: C++, Python, Hadoop, Spark, Machine Learning, SQL, Big Data

Resume/CV: http://sagarghai.github.io/resume.pdf

Email: sagarghai18695@gmail.com
You only ever have to move every element once to get a (pre-known) permutation that represents the sorted list.

The problem is the information in a permutation (n! possible orderings) and one can only ever "throw away" half of them on every comparison, leading to log_2(n!) or nlog(n).
The core team indicated they quite like the sequential numbering that SVN gives them. I'm considering building it into GitLab as an option if they would use it to host ruby :)
It's not impossible to have a O(N) sorting algorithm if you add more constraints, e.g. use operations other than comparisons.

Most people would be fine with a hybrid radix sort for day to day use.
I mean: It really makes sense to put it at the beginning since otherwise it's ugly to understand why a diffeomorphism is defined as it is:

You surely know that an isomorphism of sets (bijective function) has an inverse that is also an isomorphism of sets.

For differentiable functions a similar statement does not hold in general (just consider [-1,1] -> [-1,1]; x \mapsto x^3; its inverse is not differentiable everywhere on [-1,1]; so its inverse exists as an isomorphism of sets, but not as a differentiable function). Since diffeomorphisms for R^d are introduced in the 2nd semester for math students (typically in the context of the inverse function theorem), one better has already understood the basics before.
I don't think that developers were involved in the move or planning. It probably took some resources on the top level of management, but I don't think that products weren't developed because the CEO spent some time planning a new office.
> Henry Ford: "If I asked people what they want, they'd say 'faster horses'"

From the OP:

>>> Once they do that, they then need to go off and be Apple, but from a base of knowledge instead of a set of assumptions — assumptions that seem to be flawed and incorrect. But what Apple doesn’t want to do is start building products the way other companies do, because we don’t need “faster horses”, we need Apple to look beyond what users are asking for and figure out what they really need. That’s been Apple’s innovation strength in the past, and right now, it increasingly seems missing from the products they give us.
Do people really not see that all of this central planning stuff is just economic whack-a-mole?

So what happens to the middle class families that are looking to buy their first home when their taxes increase by 10%. If the household income is $150k, that 1000/month basic income check is going to be less than what is taken in the tax increase. Looks like that family can't buy that house now.

One tiny example, but central planning has a million trickle effects that have to be compensated for. It's too much to try and balance and get right.
France Lets Workers Turn Off, Tune Out and Live Life
I'm skeptical that baggage fees have a lot to do with people bringing carryons on board. Business travelers typically don't personally pay for checked luggage and many are exempted anyway because of frequent flyer programs. Yet most just take carryons for the flexibility and to save time--and because they usually know how to pack efficiently. When I walk through the departure level, most of the people I see lined up to check vast piles of suitcases look mostly like families traveling.
They must have changed their CMYC to RGB conversion algorithm as well. CMYC colors now look different in Preview compared to when rendered in Acrobat Reader or using Ghostscript
Have you never used a functional language?
I would be interested in where you actually bought the news articles and how you set that up to gain some views. Maybe another article?
Hi SITZ, can you send me an email with your details? I'd love to to chase this up on your behalf. We've had a large volume of applicants on the run up to Christmas.
College is Over
PyDev of the Week: Ivan Levkivskyi
Lots of topics and links throughout.

Approximate Bayesian Computation website does a good job of framing what is meant by likelihood free inference.
https://approximatebayesiancomputational.wordpress.com/paper...

Here's an alternative technique for likelihood free inference:
https://arxiv.org/abs/1506.02169
and a more recent approach
http://beta.briefideas.org/ideas/5c2f74aedbf3618ca180382e393...

making machine learning more robust to systematic uncertainties
https://arxiv.org/abs/1611.01046

A tech report summarizing Goodfellow's NIPS tutorial on GANs https://arxiv.org/abs/1701.00160
The Lite version uses image-based map tiles, wheras the "full fat" version uses the data directly. I imagine the image tiles are rebuilt at regular intervals, but not on demand.
Thanks for the feedback - if you have any more questions or are thinking of applying, I'm a principal engineer and would be more than happy to chat about life here
You should tell your Sketch designer about https://zeplin.io/ or upload your sketch design there. But I agree to some other comments... I think you and your designer do not speak the same language ;)
Thanks for the feedback :)!

The patent in question was granted on 1996-12-31, which means it should have expired on 2016-12-31. The status on Google Patents says "Expired - Fee Related" so I'm guessing they didn't pay a required fee somewhere down the line?
Don't forget that languages with high stars could be the result of marketing. The "project manager" for one of these programming languages held a campaign on its mailing lists 2 years ago to increase the number of Github stars from 300 to the 1500 it has today.
Extraction of every haiku in the 10 year Reddit dataset
I think the full version might even use less bandwidth because it renders the tiles on the client and only sends some vector data.
Home robot Kuri is like an Amazon Echo designed by Pixar
> Do you think that a trust fund baby would not become more productive if they lost their trust fund and needed to find a job?

On average, I think that's true. Economic returns are concentrated in the high-risk, high-return gambits that a trust fund baby can afford to pursue and a labourer can't.
There are seats that are not "Main Cabin Extra" but that AA will still charge you for, although less than they would charge you for MCE. Once the free seats are full, your options are to pay extra, or accept what is most likely going to be a middle seat separated from anyone you're traveling with.

My academic institution refuses to pay for any kind of seat upgrades, so from my perspective, the rational response is to fly on another airline. I will probably have to avoid airlines that start "offering" "Basic Economy" fares for the same reason.
Actually replying to lsadam0 but can't for some reason

> If the 2016 kept the same thickness but offered 32gb, I would have been happy.

That's not possible with the current chip offerings from Intel though. The Intel CPUs that fit the MBP form factor and other features APple needs only go up to 16 GB RAM. If you doubt this is a pain point for Apple, note that Apple standardized on 16GB RAM out of the box. I'm sure thy'd love to be able to offer 32GB as an up-sell.

Sure they could inflate the MBP form factor an re-design around the chipsets that do offer 32GB RAM, but the chipsets that suit the current form factor and support 32 GB are supposedly due out next year.
It's peculiar how stereotypical some of the Americans in the comments are. It seems like there's a prevailing attitude of not wanting to "subsidize" others. Whether that includes people who want to bring luggage, people who would like a meal on the long flight or those that don't travel very often - does not matter, what matters is that it's the other people, who are not you.

I think that that same attitude is responsible for the current state of the higher education and healthcare in the US. As long as the interested parties can present the "us versus them" outlook to the public ("them" is of course poor/lazy/lower class people), they can get away with lots and lots.
[Python] aredis – an effcient and user-friendly async redis client
aredis is an effecient and user-friendly async client.
1. It can be used howerver you install hiredis or not.
2. aredis' API are mostly ported from redis-py, which is easy to use indeed and make it easy to port your code with asyncio
3. aredis can be run both with asyncio and uvloop, the latter can double the speed of your async code.

http://github.com/NoneGG/aredis
Programmer screening questions, grouped by skill
There is limited demand for the jobs you list. If population continues to grow and automation continues to grow, I believe there will soon be more people than we need for domestic labor, mechanical turk, selling things on the roadside, fashion and entertainment, maintaining the automations, lawyers etc. Anyway, robots can sell cigarettes much cheaper than a person can.

I don't think that inventing bullshit jobs (say an extra few layers in your local bureaucracy) is really a solution.

I'd much rather everyone got a universal basic income and could focus their lives on something more useful like their families, or creativity and art or whatever the post-job-world will be about.
WxPython Cookbook Is Officially Released
Get rid of bower, npm, yarn, gulp
Funny Blockchain Predictions for 2017
Say it's expired early for not paying fees.
Still hard to know what the actual legal state is.

The site lists them by filing grant date plus 20 years, which is on the safer option when compared to premature expirations which might be fought in court.
I'd second that. They're on their way of losing the battle for AI. From my experience (and those around me), Siri is way behind Alexa and the Google Assistant, in both voice recognition and features. It was once the selling point of iPhones, now no one really talks about it anymore.

I don't understand why their development in that area slowed down so much, when Amazon started much later and was still able to produce the first home assistant. An Apple version of Amazon Echo (Siri for Home) would've been the perfect product to integrate users further in their environment.
And a grid of regular bus service could replace every car in LA. That'd be a harder sell though.
currently using the web based browser in our Panasonic TVs in the office.
If my taxes increase by $13,000 at the same time as the government gives me a cheque for $13,000, I'm not going to care, I'm just happy knowing that $13,000 is coming in regularly no matter what happens to my job. So the only people with an effective tax increase are the rich, and for a lot less than $3.1 trillion.
This falls into the category of "things I didn't know, but I assumed anyway."

I don't know why the brain and body are still presented as being so distant-- it's all one system!

If you're treating your body poorly, how is that not going to negatively effect the most important and complex organ of said body?
I wasn't aware that we were on the brink of a civil war.
It's an Keynote/invited talk, so there isn't a single corresponding paper as such. There are reference to papers on some of the slides:

* slide 75 gives a reference for CARL: https://arxiv.org/abs/1506.02169

* slides 93 gives 3 references for using deep learning to classify jet images https://arxiv.org/abs/1511.05190 https://arxiv.org/abs/1603.09349 https://www.arxiv.org/abs/1609.00607

* the reference for "Learning to Pivot with adversarial networks" is https://www.arxiv.org/abs/1611.01046
> I think you underestimate the importance of culture in organisations, and particularly the fierce independence maintained by the 'news' side of the major American press from the 'money' side. They care a lot about editorial independence and I'm quite sure they would shout if it happened rather than lie about it.

> in the UK (my country)

Yeah, maybe you being in a different country might be the issue here. I'm not going to comment on news in your country, I'm not entirely knowledgeable.

If there's one thing I've learned in the past few years is how terrible the major news outlets are, ranging from obvious mouthpieces for various political causes to how little fact checking they do. Hell, there was a fairly prominent mistrial in Charleston last month and a major news outlet took a picture of a several year old protest from a completely different state and posted it talking about protests and riots after the mistrial. There wasn't a damned thing. At this point I really cannot trust much of anything that is reported by these organizations. It's a joke.
CPU performance is a small factor for gaming. GPU is vastly more important. Most games are console ports, and both the Xbox One and Playstation 4 have extremely slow AMD Jaguar cores, comparable to slow Intel Atoms.
There's a problem called 'Year 2038 problem'. It's going to be an interesting year...
It has also been discussed on HN: https://news.ycombinator.com/item?id=5644292
It would be great if cleaned-up demo code for many of these models/algorithms could be shared in a single "deep RL quickstart" repo.

Various implementations (sometimes of dubious correctness) are already scattered around Github, but having a single library of code to build from when booting up a new research project would be a boon to people who don't have such great access to collaborators' codebases.

Thanks for sharing these resources.
Show HN: 3d printer weaver
I've recently adopted a similar approach. I have a virtual machine running the same OS and version as the target production machine. I'm using QEMU and connecting to it via ssh.
> They need to do more talking — and even more listening — with their users. Engage with the influencers

Some influencers who are not either professional bloggers or iOS devs too please.
Collectd with the statsd plugin is a really lightweight way of collecting the data. Collectd has several outputs, from rrds to grafana.
> Why not solve both problems by simply eliminating income tax on lower income brackets instead? This is cheaper, easier to implement and less politically contentious (we already embrace the notion of progressive taxes, and who doesn't like a tax cut?). It also gives the money directly to those who need it most.

My country already does that (no income tax below something like $14,000). That doesn't replace basic income - you still need to do something about people who aren't in work, so there are still a variety of benefits (disability, housing, unemployment), and that variety of benefits is still cut if you start working, so there is still the problem that someone working 5 hours a week is worse off than someone working 0.
GitHub has a distinction between 'Starring' and 'Watching' a repo.

A star is a far lesser commitment than you imply - it's a glorified browser bookmark / facebook-thumbs-up.
> The scheme is part of the measures by the centre-right government of Prime Minister Juha Sipila to tackle Finland's joblessness problem.

I like this is not even proposed by a leftist government. The Scandinavian left-right scale maps outside the political spectrum of many countries.
That would be amazing. We can't even get across the states for less than $250.
Not yet, check back after truck driving gets automated on a large scale. That's going to be a big tipping event and we need to get ready for it.

Also, defending the exploitation of groups of people with "they are probably not going to kill us yet" isn't a great line of thought. Just saying.
That's what people theorize, sure. Thing is, nobody can say what Intel actually charges, because they won't allow their licensees to disclose that information. Many have said TB3 fees are much lower than TB2, just to toss another rumor on the pile.
I agree. What it comes down to I think, is how easy it is to contribute information on Yelp. Even when the posted hours are wrong or not present, I'll happily fix or add them. It's a huge competitive advantage for Yelp that they have maintained a community wiki- feel to the operation, and the emails and workflow are excellent. I'd never go through the same effort on Google because I wouldn't be sure it would ever make a difference.
In case someone forgets what a Bose-Einstein Condensate is: https://en.wikipedia.org/wiki/Bose%E2%80%93Einstein_condensa...
Depending on the structure of the group, it can definitely be more complicated and can otherwise be somewhat disruptive to the group.

But, there are still ways to put distance between yourself and the source of the problem. And, keep in mind that the distance may not always be physical, but involve other ways to limit contact/interaction.

Also, depending on the type of problems the person is causing you, it's very possible that others in your group are experiencing the same from the person and may also want distance, or at least be supportive of you.

I've unfortunately had to do it with a member of a close group. It was for the same hostile, destructive behavior the person was clearly displaying towards other members of the group and they were well aware of it. I simply told them I was no longer willing to tolerate it, so couldn't be around when the person was. I also explained that I was responsible for my growing family, who depended on me, and I could not afford the additional stress.

It created a rift, but the other members and I still make effort to see each other without this person present. It can usually be done. Virtually any situation can be changed. You just have to decide whether it's worth it. You'll know when it is.
I was mainly talking about the C++ Guideline Support Library and GSL profile "checkers" that have been in process for the last couple of years.

https://blogs.msdn.microsoft.com/vcblog/2015/12/03/c-core-gu...

https://github.com/Microsoft/GSL

https://www.youtube.com/watch?v=JfmTagWcqoE
That's why basic income is simpler to implement where there is already a lot of redistribution.
And what limits that supply? Some combination of a limited supply of land and limited planning permission, neither of which are created by the landlord and both of which could very reasonably be taxed.
I don't understand, how do governments plan to have a long term sustainable basic income for citizens when AI and other technological developments put a large percentage of people out of jobs?
Except it isn't manufactured by Akitio, and isn't thunderbolt 2, and has a much more powerful PSU, and can fit an 11" video card, and... wait, how are they the same?
Understand the expectations and goals for both the intern & employer upfront.

Is this simply to gain work experience or is it intended as a true learning opportunity? Getting clear on that piece will make all the difference to everyone involved.
If so, why did they bother designing and engineering in an entirely new touch-based interface in the form of the touch bar, using a watch-OS based subsystem, and update all the integrated apps to support it? That seems like a lot of trouble to go to for a sideline product. If that were the case surely they'd just have upped the specs on the existing designs.
> pushing to open Pacer (meeting with the federal judiciary and offering to just pay the revenue they make)

Wait what? You offered to pay the ~$145M/year they bring in for access fees in return for an open access PACER system? Was this offer just made to the PACER people or was it brought to the attention of the Judicial Conference?
I have a pet-project for this purpose: https://github.com/vincentbernat/dashkiosk/. While it should work with any browser, my preferred way is to use an Android HDMI stick. Same price as a Pi, far more powerful (2D/3D acceleration, JIT compilation for Javascript). There is a companion Android app.
"I'm proposing one class: the working class."

That's also heard somewhere[0]. Didn't work out well either.

0. https://en.wikipedia.org/wiki/Soviet_Union
Well, you could turn it around since Ceylon is older than Kotlin ;)

There's not a huge difference between the syntaxes, but IMHO Ceylon integrates better with the general JVM ecosystem. It has an excellent module system and works well with OSGi too. Ceylon + Vert.x is a powerful combo.
In short, it was propaganda that got us into that war, but it was also propaganda that got us out. The current common mythology around the Iraq war isn't any more accurate than the mythology that got us into it.
Happy new year, HN.
This recent hack https://news.ycombinator.com/item?id=13254029 (Threadtone)
inspired me to do a little week-end project.
Inspiration for a modern generation – a free eBook
You get interesting things when you type Linux[0].

[0] - https://patents.google.com/?q=linux
As a UNIX-like system loving dev... I always found macs (running MacOS) a bit frustrating for dev work.

It's nice that you have a familiar command structure to work with, but installing software from homebrew/whatever else was always a nightmare. They were nice laptops... but it seems inefficient.

So I maintain 2 laptop. A macbook which I basically use for Skype and office work (and use about twice a month), and a cheap Thinkpad running Linux for dev work. When I need more power, I can pull the drive out of the Thinkpad and throw it in a desktop and it just works.

So... I think it's kind of hard to make a good case for macbooks as ideal general purpose dev machines. And they were really never meant to be general purpose dev machines. They probably work great for Mac/iOS dev and general purpose applications though.
Nobody knows what intel's licensing fees are, because they won't allow licensees to disclose them. You're repeating rumors as fact.
Sure, but the principles are the same. The mnemonics are the same, the registers discussed are still around (there are more registers now, but the ones in TFA didn't go anywhere), addressing modes are the same, the stack still grows downward, the MASM syntax and directives are still the same, and the code still runs on modern hardware. Perhaps most importantly, the mindset you use while writing code in x86[_64] assembly language is still the same.

Actually, my experience has been that once you learn the ropes of programming in one assembly language[1], picking up any other assembly language is just a matter of perusing the proper reference manual(s) to find an architecture overview, useful instructions, calling convention(s)/ABI, and the syntax accepted by your assembler. While a tutorial for some new-to-you assembly language may be convenient, it's typically not necessary so long as you've got the manuals (which you really should have if you plan on writing programs in or compilers to an assembly language, regardless of any tutorials or textbooks you might have).

[1]: You can cut your teeth with any assembly language, really. However, I feel like it might be a little easier to start with a CISC instruction set architecture, because they tend to be designed with human programmers in mind, while other types of ISA (RISC, EPIC, etc.) are typically designed with "automatic programmers" (compilers) in mind.
Does it even have value as a symbolic act to show support for labor against the complete control by capital?
Livestreamer is discontinued. I suggest people try https://github.com/streamlink/streamlink
No it's the same on Chrome and shift+right click isn't working.
Yeah but I bet you can't name 15 cities larger than LA that depend on an outdated tech like trains. When's the last time you saw one of those at TechCrunch Disrupt?

Seriously though, this is a solved problem everywhere but major US cities. Paris - which once loved cars - has totally changed over to being bus, bike, and train promoting, and it works.