skysight-inc/HackerNews huggingface dataset:
Ask HN: What should you do if someone copies a repo and claims it as their own?
I recently came across an npm package that is a blatant copy of an older package. This is fine except that the developer is claiming that he built it himself. Should something be done or is this perfectly okay under the MIT License?

Real https://github.com/neptunian/react-photo-gallery https://archive.is/zX1zD

Copy https://github.com/benhowell/react-grid-gallery https://archive.is/cp1bF

Developer on reddit claiming he built it https://www.reddit.com/user/psychstudio https://archive.is/aQQTH
Expat is typically someone who is sent to work for a company's foreign offices/overseas offices and who will return to their home country after their "tour" is over. I.e. their residency depends on their company's sponsorship --the company you work for is doing all the paperwork and paying all incidental costs for you.

An immigrant is someone who moves overseas or to a foreign country on their own accord without the help of a company. You're getting visas and residency on your own.

So for example, a Kiwi working on the production lines in Toyota city is likely an immigrant. A Kiwi manager in finance in Toyoda city is likely an ex-pat. It's also likely these two don't run in the same circles.
I spent the last few years in scheme, caml, haskell, abstract algebra .. one day I remembered that I used to spend hours toying with raw PHP4 just saw I could see "live HTML", it was so exciting.[1] There was nothing of intellectucal value in it, it was just a superb toy. No amount of pedagogy can make haskell shine this way for a newcomer.

[1] I somehow forgot that I enjoyed it a lot and loved that thing that I'd avoid like plague a few years later (I don't care about it now, for or against)
I think there's a difference between "simple" and "simplistic", and people don't often get it.
Kurt Vonnegut predicted this in Sirens Of Titan. His spaceships have two buttons: on and off. The on button starts the auto pilot. The off button doesn't do anything at all, but gives its human passengers a sense of control.
> battle tweet

Stop the planet, history is now perfect.

(Bah, "42", obviously he was making it up.)
Is it obvious that everyone here will know the reference? https://en.wikipedia.org/wiki/Aubrey%E2%80%93Maturin_series
FWIW, best thing I ever read.
"Street view", at least in English speaking countries is a generic name for a street view service. It's most probably not a valid trademark alone (but Google StreetView might be.)
> if I have major surgery, I will only be out a couple thousand

I'll tell that to my buddy who is a general contractor. He put off major ankle trauma surgery for 6 weeks until his insurance kicked in. The alternative was $40,000 out-of-pocket.

Sounds like you really don't like the single-payer system. Let me recommend Paul Starr's "Social Transformation of American Medicine". I'm pretty sure he hates the system more than you do, but his book walks through the history of how we got here while other countries got to other outcomes. It becomes undeniably obvious that opinions like yours were manufactured by agents of the political parties and the medical industry without your realization.

As a skeptical small business owner, I really encourage you to get some more facts, do a lot of homework. Go read that book. Because this system will bankrupt you. It has bankrupted major American corporations. You alone, as busy as you are, cannot win against millions of smart people who have a century of law and public signalling to have crafted the information environment that created the system of thought in your brain right now.
Project Fixkart (Part Deux)
Well, I think you know the particular windmill at which I tilt. You said it yourself: we're not going to stop changing things. My problem is that it's arrogant and rude to force the changes on the users.
This is interesting, though I'd be wary of calling it sane - you have to press cmd, then tab, release tab, then press option (without releasing cmd!).

What it appears to do it trigger the "reopen" command on an application, which tends to open a new window if one does not exist.

The "reopen" event is described here:

https://developer.apple.com/library/mac/documentation/Cocoa/...

and here:

https://developer.apple.com/library/mac/documentation/Cocoa/...:
Bro, you're a hero. Change is the only constant and you're wise to prepare for it. I wish you and your family the best.
I'd say diversity and immigration are separate things. America does a good job of assimilating immigrants into the american tribe. Diversity tends to mean giving power to people who have for whatever reason identified as outside that tribe, and the results are predictable.

Low trust societies with little immigration could be explained by strong local tribal identities within it, particularly ones which supersede identifying with shared institutions and narratives. Those tribes could be ethnic, class, regional, linguistic, gangs, families, villages, etc.

Village identity in places like Italy and Portugal is often stronger than national identity, mainly because their families are larger and more connected, and their national institutions are fairly recent appearances in those older familial narratives.

Diversity situations where you mix people from different tribes without a convincingly powerful umbrella narrative is when you get situations like Somalia and Mexico. They are power vacuums in which the violence continues because nobody is able to win.

Ironically the colonial history of places like India and South Africa may be what holds them together, as either you have someone take the reins of those colonial institutions and manage a transition to local rule, or fight a bloody semi-permanent conflict to resolve the power vacuum that not having them leaves.

Diversity as we know it today, for all its ostensibly noble goals, is just an attempt at resource redistribution from the tribe who inherited it with the institutions that preserve it, to some people smart enough to make off with it without too much violence. Not sure how people will react when they wake up and notice their stuff is missing and they are now debt slaves, but until then, kum-ba-yah.
That was a great analysis from Bloomberg, thanks for the link.
They're using CBT to see whether CBT is enough? I don't understand your statement.

My point was that there are typically unconscious thoughts that lead to disorders, and fixing those disorders at the surface without finding the root is likely to cause them to reappear later, in the same or different form. E.g. aspirin will not cure malaria.
You do a public system for all and then a private system for whomever wants to buy in. You incentivize the private option by levying a tax on those in upper incomes who do not buy private health cover. This is the Australian system and it's the most reasonable option for the US but I guess in America we can never admit to looking to other countries and have to pretend nobody else has figured out healthcare.
I wonder if the Sun programmer knew he would be portrayed as a patsy..
Or just use DIV/FDIV/FIDIV.
Mapillary offers free bulk access to the imagery, but with the catch that the location metadata is excluded(!). This makes the bulk image access effectively pointless. OpenStreetView seems to have every intent of opening bulk access to both the imagery and the metadata; which will finally make it useful.
Wikipedia says Elixir first appeared in 2012, while Go first appeared in November 2009. Go is not that much older than Elixir...so I don't buy your analysis. By time Go was four years old, it had much greater adoption than Elixir does today.
Perko pair knots
Ah America, always comparing ourselves to third world countries.
I like all in one shampoo, I then use aftershave afterwords. If you'd like an after shave that doesn't smell super masculine, try gables lilac scented - its for sure a unisex scent.
What we keep missing is that golang is not nearly as widely adopted as the blog traffic level would lead one to believe.
Pretty silly, these buttons, especially in areas with combined cycle & pedestrian traffic, at winter or during a wet period. You're supposed to cycle on the right side, but then you swerve to the left to reach for the button. Stick your foot in the snow or dip it in the puddle. If you're carrying a big box, you may also have to drop that before you can reach the button. And now people get confused as to who's going to stay where when they cross, some on the wrong side, others not. All this for a button that you probably didn't need to press in the first place. But if you don't, you'll find another intersection where you'll wait a bit too long and realize the light is not going to turn green and you're almost late for the bus.

There's one reason I just don't care about red lights anymore when I'm on foot or saddle.
Coincidentally, I was just reading about how Genghis Khan was supposed to have directly lineage to 1 in 200 of world's male population. That study was in 2010.

http://blogs.discovermagazine.com/gnxp/2010/08/1-in-200-men-...
- SEDAYUPOKER
I don't think the burden of proof goes quite this way around, as every claim I've seen that crosswalk buttons do nothing has always been specifically about NYC. This seems to be a "fun fact" about a particular situation in NYC that everyone just started to repeat as if it was true everywhere.
https://github.com/IvanIvanov/JavaScript-Logic-Programming-S...
I don't see this example particularly enlightening. I'm not really ever seeing problems where I'm stuffing an integer into where I wanted a string in dynamic languages. Or stuffing a Person into a Gorilla. These problems seem important and they tickle programmers warm fuzzies (unless you're like me and you've been programming static and dynamic for more than 20 years).

The small amount of scientific study around what type checking and static typing gives you is that you avoid around 3% of bugs but even those 3% are easier to fix than the effort in writing them correctly in the first place. While I agree that the subject needs more study but what we know now: the real win would be to have a dev process that lowers criticality of failure (like TDD, CI and other Agile processes) and dispense with static typing for most projects.
Better than being communist! /s
Sonic black hole produces equivalent of Hawking radiation
Are you suggesting Dr. Seligman, the author of the book the post you linked to is reviewing, has no medical experience?

He's a very prominent doctor and at one point was President of the APA. You can read more about his credentials here: https://en.wikipedia.org/wiki/Martin_Seligman
I think they meant that the psychologist would tell the patient when a condition wouldn't benefit from CBT. As opppsed to relying on your own judgement and using self help books.
I'm pretty sure there is some amount of B-vitamins in coffee, and some other useful substances.

When you're locked up in a mental hospital you're mostly helpless to do anything for yourself. The food is usually pretty bad...
People rarely differentiate "complicated" and "complex". I get the feeling from GO that it was designed for making complex programs.
John Boyd in the News: All You Need to Know About the OODA Loop
Agreed. My comment wasn't aimed that much at Haskell in particular (even if it's my language of choice), but rather the idea of using structure/types for fast experimentation, rather than just a REPL.

Also, using a type checker to wholly check your Lisp code basically makes it a static language, the difference then is pretty much philosophical I'd say.
You talk about "they" as if government is a single group of people.

The fact that the NHS is still fundamentally paper based, in 2016, is exactly the kind of problem that leads politicians to want more use of the private sector. In many private industries, even highly regulated ones like finance, the people who first successfully transitioned the industries to computer based systems are now dying of old age. The NHS hasn't even started. In fact it's fair to say that the NHS has shown no ability to fundamentally improve itself. It deploys new medical techniques and drugs (developed in the private sector) but when it comes to changing the organisation or adapting to new business ideas, like computerisation, it has utterly failed.

This is very frustrating for the politicians who are ultimately held accountable for the performance of the NHS. They sit right at the very top and can hardly influence anything - all they can do is set general directions like "use computers for medical records", and then watch helplessly as the incompetent staff below them screw it up, over and over again. Meanwhile they watch as Google or Facebook go on to build self driving cars and global communication networks.

Worse, as students of politics, they know full well what the reason is: the NHS is a classic, communist style top down command-and-control system. Deep institutional rot is exactly what to expect from such an arrangement. Yet they can't change it because the British have an irrational knee jerk reaction to anything that implies people in the private sector can be equally or more competent than people in the public sector.
I used to do this with .. Java 5. Eclipse live typechecking allowed me to design in Interfaces until I had what I called the parametricity right. The thing is, I stumbled upon this out of paranoia (I hate being wrong down the road). Never was I invited to think or design this way. Maybe with embedded contracts in comments; but not in a real time, live repl prototyping way.
There's actually sense to the magic words. Each word which opens a block has a unique word which ends the block. So, begin..end, if..end if, loop..end loop, etc.

The advantage of this is that it's much harder to screw up block terminations --- one thing I've done many times in C is when closing a chain of blocks with:

}
}
}
do_something();
}
}

is to miscount the braces and put do_something() in the wrong place. In Ada, that'd be:

end if;
end;
end case;
do_something();
end loop;
end;

...which is far more meaningful.
WTF-35: How the Joint Strike Fighter Got to Be Such a Mess
That may be useful if you have a lot of data types and transformations between types. I don't. I do a lot of work with (molecular) graphs, which have two data types: nodes and edges. If you code up a depth-first search which uses an edge instead of a node, or vice-versa, then even the most trivial of tests will find it in a dynamic language. A static type check adds little.

For an example of a project which I worked on for months, given N molecular graphs, find the maximum common subgraph which is in at least M of them. I did all that in Python. I don't think static types would have made a difference.

Matrix algorithms are an even more clear example. They work with a single numeric type, in a 1D vector or 2D array. It's hard to confuse the types. On the other hand, it's easy to get the algorithms wrong, and choosing the right algorithm can require a lot of design space exploration.

Just think of the number of clustering algorithms available which you might want to try out through prototyping before spending the time to scale things up. How does static typing really help there?
That's right, police doing temporary crackdowns on this scale, in this manner, and for this purpose is 100% not a good thing. This is not analogous to a speed trap or even DUI checkpoints.

Are you saying that you literally can't think of a single way in which this may have been handled better by the police? If it's not even remotely understood to be illegal by the participants, why the heck would any police force in the world treat it like a honeypot, wait for everyone to assemble (like they apparently have been doing for years), then show up in riot gear and arrest everyone? That's crazy.

By the way, it doesn't matter one bit if something analogous to this happens in the US sometimes, that doesn't make it any better. Not a bit. If this happened in the US people would be just as upset about it. I'm really confused why anyone would respond to something bad happening in China with, "but similar bad things happen in the US sometimes". That's really missing the point. That's like saying that human rights violations in the US somehow excuse human rights violations elsewhere. It's bad no matter where it happens and it doesn't do anyone any good to pretend otherwise.
A common scenario where elevator door close buttons are useful is hospitals. They often have a very long door open time set to accomodate the disabled and people handling gurneys, and the button will shorten it. This has been the case in most every hospital I've been in.
ADA wasn't made for the average human, in large project a DRY means dozens of duplicated content, not just a small name redundancy. For the DOD I'm sure this wasn't even a question.
Although perhaps lacking in realistic portions of "rum, sodomy and the lash" (do I misremember an odd keelhauling in all the twenty plus books?), as expectable from a polite gentleman.
Strange as it might sound, I'm really in agreement with you. Coming into music as a second generation guitarist, I was pretty much told not to look at sound recordings as anything other than a business card. Making money from them is a pipe dream. What the best thing about the internet and sharing is that listeners who actually want to listen to things can, and setting music free into the world is supposed to be about that in my opinion - sharing and expecting nothing but appreciation in return. I remember taping songs off the radio so I could listen to them later because I really enjoyed the sounds. The internet is kinda like that on steroids, and that's not a bad thing in my opinion.

I like how Gabe Newell asserted (paraphrased) that piracy is more of a "distribution & price point" problem than something inherent in business. The major players in the fight against Copyright Infringement are multi-national corporations that would sell cow shit at a 150% markup if they could get people to buy it. There's a lot of altruism that goes into becoming a fan, to sharing something with somebody else, and then wanting to buy a ticket to a concert.

My newest reference point of how this can work - and work well for everybody - is Run The Jewels. Both RTJ1 and RTJ2 were released free, and I burned them on disc and banged them so hard I'm sure my car speakers hate me. From there though, I saw them at a ~500 person venue in support of RTJ1, and then at a 2,000 person venue - sold out - in support of RTJ2. There are ways to make money from fans, but I am very jaded on the model of trying to make people pay first and then pay more later.

I love busking. I take my guitar and a little amp out on the street and play for nothing because I love what I do and I want to share it. I think it kind of refers to the motivation of why somebody wants to get into music.

Is it a path to be a star, or is it something to reflect just who you are?

Thanks for taking the time to share your perspective and cheers.
CBT goes a bit deeper than you think. Not as deep as psychoanalysis, but that's not really saying much. CBT does not dwell on how things came to be, but it does care about why things persist. CBT is in part about finding the flaws in your thinking that fucks you up.
Go 1.0 is released in March 2012 so it is not even half decade old.
You mean that the European Union is heading to Gulags?
Me neither, I'm just surprised they would discard ALL downvote data.
CBT is pretty much a scientific interpretation of stoicism. If you want it to work, then you have to be dedicated to that mindset and lifestyle.

It's not a simple bandage over a cut. It's the sort of thing that a parent or religion might teach to a child over years of growing up.
Right; I forgot this project. Can IR be power efficient for city/boulevard scale depth ?
The Role of Generalization in Advanced Mathematical Thinking
Contractors milking their customers is an inefficiency introduced by privatization, because without privatization it doesn't happen... How state employees behave or the competency of the buyer is irrelevant.

Saying that the inefficiencies due to privatization are "approaching zero" is a bit disingenuous.
All I want from OSX is to be able to alt-tab between windows, not apps. Is this possible?
Haskell's runtime has one overriding attribute: laziness. If laziness is not desirable in your domain, Haskell is not a useful option
Nit: he's not a medical doctor, he's an eminent psychology researcher.
To me it seems that OpenStreetView was made especially as an answer for Mapillary. Mapillary has almost 80 million photos uploaded by enthusiasts, who did it free charge.

Yet, even for a simple embed on a website, you have to pay them $99 / month. Using the images for custom maps: $249 / month.

Accessing the data is not publicly available, but is probably in the range of enterprise pricing options, only listed as "Contact Us". To me this seems to be the opposite of the OSM model and there is a huge need for a OSV like platform.
$1000? At my last job the premiums for this year for a couple with children is $12,000 plus deductibles and coinsurance. The only cheaper option is an HSA+ catastrophic plan which is kind of a joke but they were encouraging us to take it because employee premium was $0.

HN will be full of Googlers and startups with funny money who can throw around gold plated plans to their people but in the real world this is how it is, and premiums are getting worse every year.
IAM roles for pods: https://github.com/jtblin/kube2iam

Running kubernetes in private networks: You could probably get private subnet support by
- Deploying manually or deploying with a script, then changing things in AWS (route tables, public IP, etc) to be private, manually afterwards (both cumbersome but possible)
- Using NodePort instead of LoadBalancer on any services
I am a very happy user of HyperSwitch: https://bahoom.com/hyperswitch

Allows tabbing through individual windows (one icon per window, not just one per app) and doesn't have the problem of not showing anything after the selection. Downside: it does not include minimized windows.

Although it seems to have been in "beta" since forever, I've never really encountered any problems.
If I recall the story correctly, the government sold at a price that had been suggested to them by many highly paid financial services consultants. The fact that the pricing was wrong may or may not have been avoidable, but one of the basic arguments for privatisation is that it's hard to get and keep competent civil servants, so the fact that the final act of privatisation itself is often screwed up is not supposed to be very surprising. Just think how often pricing decisions were screwed up before!
> My GPs practice in London only allowed same day-appointments and only pretended to allow them over the phone

Some GPs are bad, and in general GPs are under a lot of pressure, but you can change your GP surgery at any time, for any reason.

And let's not forget that your "NHS GP" is not employed by the NHS, but is employed by a private company that does work for the NHS.

GPs are shit because of the fucking awful semi-privatisation they've been forced through.
You can with HyperSwitch: https://bahoom.com/hyperswitch
> Bringing my own toothpaste is easy

You don't fly anywhere where TSA 'protects' the skies then?
Carbon was the name for the cleaned up, sanitized version of the old Classic Macintosh APIs that was compatible with OS X[1]: https://en.wikipedia.org/wiki/Carbon_(API)

Steve founded NeXT after getting fired from Apple, as is reflected in part by the name of the company. Apple acquired NeXT in 1996 for $429mm, which is how Steve Jobs came back to Apple: https://en.wikipedia.org/wiki/NeXT#1996.E2.80.9397:_Apple_me...

[1] Well, what was then called OS X.
I use witch https://manytricks.com/witch/

It's a must have app for me. I actually cannot use other people's laptops if they don't have it.