skysight-inc/HackerNews huggingface dataset:
Senior Devs can copy and paste from StackOverflow and have it work on the first try. It's a art.
You can provide any tag, sha, or branch which can be supplied as an argument to git checkout.
Can't believe the dev is made out to be the bad guy here.

It may be a "few lines of trivial code" but it is still his code and he has the right to do whatever he wants with it. He tried the reasonable thing, NPM didn't oblige, he pulled the rug. Serves them right. If it's a few lines of "trivial code", then maybe big project Babel should stop using that "trivial code"?

And why does this yet-another-messenger-flash-in-the-pan app "Kik" get the right to mess up big projects just because they control 1 permutation of 2 letters of the English alphabet?
You can't put shares into your TFSA if you don't operate at arm's length from the company. And if you're operating at arm's length from a company yet are able to predict which shares are going to increase in value, you should be running a VC fund.
I prefer the definition of knowledge given by Orson Scott Card, if I'm not mistaken: something you believe to be true. It doesn't have to be justified and it doesn't even have to be true - you just have to believe it.

I know that the Moon is about 400,000 km away from the Earth. I have never measured the distance and I haven't even tried to check if it's plausible: I read it somewhere and accepted it as such.
The number of coders complaining about an author exercising the basic of intellectual property rights is too high.

1) all coders should understand authors right be the code free or closed;

2) there is no excuse for someone whose value is based on creativity to ignore how IP works (the good and the bad part) because our comfortable incomes come from the protection these rights gives to our work

3) if your code is broken for 11 sloc, maybe you depend too much on others work and you have no value yourselves.

Benevolent persons sharing their code on their free time owes you nothing.

Repay authors whose code you use.

Buy closed source software, and at least respect the free software authors. It costs you nothing already.
I'm sorry if this comes through as offensive, but I would very much like to see all your points and research about the subject of this matter condensed into a single concise blog post and submitted to HN (if you've not already done so) instead of reading it from sporadic replies throughout the comments section of the related article(s).
Fair point. One does run the risk of having bugs in code out of their control by using a package manager such as NPM, but one gains a swath of other programmers inspecting the modules for bugs. And in module repositories for interpreted languages, its very much in your control to fix any bugs you might find, regardless of what the maintainer might say about it.
> I have yet to see an "improvement" on callbacks, whether it's promises or fibers or generators, where the benefit in readability is worth the havoc it wreaks on my ability to debug the program.

Chrome has support for debugging async code - for example you can step from one code block to the code in callback as if it would be executed sequentially. So the 'debuggability' is a problem which could be solved on the side of the tools. Of course the case where there would be one single standard for handling async would vastly simplify situation for the tools developers.
> A lot of times, lawyers will send out letters without caring how the recipient responds -- they only need to have sent the letter at all to have covered their bases.

That is not what happened here though.
The argument is that things like formatting a string -- including padding it -- should not be add-ons, they should be built into the core distribution you get as part of the language.
Show HN: State of Mind by State
Doesn't this go both ways, though? NPM developed and maintains the software and servers used to publish and serve this author's packages, bringing the author fame, glory, and as the author is demonstrating, a serious megaphone, all at no cost to the author. If the author doesn't owe NPM anything, NPM shouldn't owe the author anything even for publishing these evidently valuable packages, right?
Well done OP! I stand in solidarity with OP. I think this is a good way of showing our resistance to corporate power - by boycotting them.
I've always thought that eInk+terminal would be the perfect use case for vt100 mode. This is built into xterm etc. and emulates phosphorus displays, where adding new elements to the display is fast but calling a full redraw is slow. Just like eInk.
Strong Link Found Between Dementia and Common Anticholinergic Drugs (2015)
If someone already wrote the base code, we can always fork it and fix a bug or add a feature ourselves if it runs contrary to what the original authors desires.
JEE Main 2016 Admit Card/Hall Ticket Download
> Feel free to show a smaller implementation that's more efficient.

How's this:

function leftpad (str, len, ch) {
ch = (len -= str.length) <= 0 ? '' : !ch && ch !== 0 ? ' ' : String(ch);

while (--len > 0) ch += ch[0];

return ch + String(str);
}

No local variables, less manipulation of the input string, the string grows at the tail which is more efficient, and the code is much shorter.

(With a bit of work you can use the longer ch string that is built to reduce the number of string appends even more by appending multiple characters at once. Although probably not worth it for this function.)
> For the record they made sure the exact same code was published to 0.0.3 so that I didn't maliciously inject anything.

(elsewhere in this thread)
what's discouraging is that some of you are essentially implying that picasso should have sold himself as a service (make more art while alive) instead of doing whatever a once-in-a-timeline artistic genius needs to do to create priceless artifacts that, by the way, required the investment of his, and his family member's, lives to realize. when his works are equatable with the lyrics to "happy birthday" this might be worth revisiting; until then why don't you buy some art? http://fineartamerica.com/featured/copyright-john-muellerlei...
Agree that it is not really a cover-to-cover book, but it works very well as a coffee table book to browse through when you are bored. We have a copy at our office, and our guests love it.
Race you to the kernel
I never thought I'd find myself defending a plaintiff in a patent lawsuit, but some of HN has really gone off the deep end with this anti-patent nonsense.

This is a company who are defending their legally granted competitive advantage in a field in which they actually compete. I don't know that I consider a foam arrow sufficiently non-obvious to patent, but that's neither here nor there.

Not only is this not troll-like, this is precisely the sort of situation for which patents were designed. Someone comes up with an idea; thinks, "huh, this idea would be easy to steal"; and applies for protection against it being stolen.

A patent does not have to be on a final good or service, and owning a patent does not oblige you to sell a product to anyone who asks. If you have a patent on industrial machinery to protect your own production chain, you're not required to build one for anyone who is willing to put up the cash for it. It is nevertheless reasonable for you to sue someone who copies it - "they won't sell it to me" is not a defence against patent infringement.

To draw a rather apt analogy - there is a laser tag company in my parts (basically you run around in a darkened room shooting each other with guns that fire a little IR laser) - they don't sell their equipment to anyone who asks - it's a competitive advantage for their venues. I don't know whether or not they have patents, but I don't see how you could reasonably argue that they shouldn't have them if they designed the equipment, or that they should be required to provide that equipment to others. If they were required to do that, what would be the point of the patent?

And just to save accusations of cherry-picking, I agree with you about the non-guaranteed region rah rah, but it's rather beside the point.
...and I am in my little python world with "batteries included"...
Google could probably sell a lot of Nexus phones if they really tried. They'd probably burn their bridges with the other Android vendors if they did this though so it would require a pretty significant strategic shift.
The short answer is you'll need lots of money (typically minimum investment per company of $25K), and/or connections + be able to add value in other ways (as an advisor, etc).

Alternatively, you may be able to find some of these companies on AngelList Syndicates, FundersClub, etc, though I think you'll still need to be an accredited investor.
OK, now tell me how you can remove this file from BitTorrent (it's Fedora 18 KDE)

magnet:?xt=urn:btih:14f146cdfaef83951ca9d3ac647e18e1977d1367

I'll wait
I think RFID chips guarantee higher precision and much more reliable. If a leaf falls in front of the camera, or something suddenly changes in the background, that could easily distort the image.
Cloudflare is MITM. It is unacceptable for any website that respects its users' privacy.
Is this really the results of a new study?

I'm sure I was reading results of studies > 10 years ago, about stress levels of people within some number of large organisations, and finding people towards the top of the hierarchy were less stressed than those at the bottom. It was possibly speculative, though I'm sure I recall they'd confirmed it somehow, that it was due to people towards the bottom of an organisational structure had far less control over what their day or week looked like, and how they could plan out their tasks, than those at the top.
Obligatory: http://commonmark.org
Spam was mentioned because it's a brand name that became generic because it wasn't protected aggressively enough. Coke, Xerox, and Kleenex are other classic examples of brands that are commonly used generically, and the company owning their trademarks must aggressively send threats (that they rarely follow up on) just out of legal necessity.
Extensive discussion on front page: https://news.ycombinator.com/item?id=11340510
Wouldn't wayland be the right thing™ for this kind of stuff? Basically have the terminal become a wayland (sub)compositor, with some commands to set up buffers to write to.
On Linux, it's 30ish lines, with half of those there to make false.c able to reuse some code. (I know, it's stupid.)

In OpenBSD, it's 3 LoC IIRC.
I was just responding to the claim that it is not a law of nature that companies have investors - in fact it is :)
Trump Tracker App – See how close he is to winning
It's not about whether the removal is logistically possible, it's about whether a court can punish someone for failing to carry out the removal.

Even when the former is actually impossible, a court could still punish for the latter. "Ha ha ha I use technology to cleverly show how futile your orders are" is not the kind of thing you want to say to a court with broad contempt powers.
Deep Spelling – spell correction using Deep Learning
Ask HN: Of the startups from YC's Demo Day (day 1), which would you invest in?
NPM has a huge and strong community. There will be no more than a couple of days and you could see replacements of those modules again on npm, but with a different name.

Not to mention most of the modules on NPM that are maintained by one person are usually less than 1k lines of code.

If you have a small project then it would not be a huge thing to replace them, if you have a big project, you've probably already did that.
> Maybe Rust is just not specified for every corner case?

Even in the absence of a formal specification, if you demonstrate undefined behavior in safe code, it will be regarded as a high-severity bug and slated for correction. If it's a bug in the compiler, it will be patched. If it's a bug in the language itself, the language will be redefined to prevent that behavior in safe code and the implementation will be updated to reflect this. If these changes break existing code, then so be it: soundness fixes are an instance where the Rust developers reserve the right to break backwards compatibility. Rust takes UB seriously.
That is incorrect. You are also infringing if people could reasonably assume an affiliation due to your use of the trademark, which would definitely be the case with Google Paper Co. You're basically piggy-backing on (and diluting) the brand recognition they've built.
Why do you do @handle when replying here? Don't we have threads for that?
There is computing beyond web. This is a mime type, which is a slightly wider area.
I believe that is what I said.

> There are no legal claims to be made over NPM package names.
I didn't say it shouldn't be part of standard library, I am saying that there is always something that isn't part of the standard library. My point is: if this module was something that shouldn't be part of standard library, what argument would you then use?
Paint drying test boost to nanotech
Also DRM-free on GOG(Good Old Games): https://www.gog.com/game/day_of_the_tentacle_remastered
I slapped my girl and she hugged me for it
because it does not make sense: I don't want the sources, I want a usable package...
What is YC's policy (or ethical guideline) about accepting multiple companies in the same domain? I know (some) VCs enforce an ethics guideline where they only back one player per domain (A16Z does). Obviously it isn't always easy because you can't know in advance what startups morph into.

Seems like Prompt and Chatfuel are fairly similar right now though. Any comments on this from YC and/or the Prompt/Chatfuel founders would be welcome :)

Was this discussed at all when the decision to accept these two into the batch was made? Really curious how these situations are handled because it seems like it could be an even bigger issue for an accelerator like YC that takes more companies into the funnel than a typical later stage investor. A16Z mentions the limit to one player/domain as one of the more interesting constraints on their overall business model. I believe it's roughly on the same level as partner bandwidth.
I don't smell any PR war here. This release is important because it publicizes code that is very valuable to tool developers. Before this release you had two ways to learn practical aspects of Visual Studio extensibility:

1. Use samples that each explore an isolated feature. Available on github [0] or for a few years back on MS website.

2. Decompile VS to see what's happening behind the scenes. While .NET Reflector does very fine job, the code was convoluted to begin with and it was nearly impossible to find relevant bits.

I imagine engineers at MS are cleaning up the code of all power tools so that it's clear and easier to follow.

For example we have "Go to definition" right here [1] and I remember long evenings unsuccessfully looking for this functionality in the decompiled code.

[0] https://github.com/Microsoft/VSSDK-Extensibility-Samples

[1] https://github.com/Microsoft/VS-PPT/tree/master/src/GoToDef
Actually not at all. I believe from all I have read about Picasso he would have been a productive artist even if no copyright existed - he was a great artist and creating art was at his core.

I actually buy a lot of art - I have long since run out of wall space to hang it all :) None of the artists I buy are producing art just for the money and copyright plays no role in why they are an artist.
Extremely dick move on behalf of the developer. Why would you remove modules that other people are using in production?

Did you think a small team like NPM would go head to head with a company having full time lawyers? And for what?
I've studied and implemented various spelling correction algorithms and they are looked wrong to me - they were all trying to brute-force their way and I felt there must be a better method.
So I implemented a speller based on Deep Learning which works by "intuition". Would love to hear your thoughts.
#regions, huh What are they good for? – Coding with Empathy
I guess I need to clarify. If it is indeed the case that he's doing this for a repo with 8 favorites, this guy is essentially using everyone who uses his other libraries as hostage just for vanity. It would be a different story if he had 100+ favorites on that project because then he would be standing up for the entire group who's working hard on it, but I can't think of any reason for doing this other than being selfish
True, and maybe its fundamentally different to the computing revolution we grew up with.... we were driven by creating games. Maybe this generation needs to be motivated by sensing and responding to the real world.

I think my point is that it is very different these days, so reproducing what we had then is pointless, we have to find a new way to motivate kids into computing.

BTW, I'm an embedded softie, so I would love to think we could start an embedded revolution.... just not sure its as easy a message to get across to kids as 'games'.
Trip Report: C++ Standards Meeting in Jacksonville, February 2016
> Uh, there's only one user bitching.

I'm not bitching about anything. I'm providing a contrary view to the effusive and largely uncritical praise that much of the tech press spews whenever MSFT announces that they've open sourced this tiny thing, or ported a part of that thing to a non-Windows OS.

If you read my other comments elsewhere on this page, it becomes clear that I very much want for MSFT to have stopped bullying, subverting (and impeding the function of) standards bodies, engaging in anticompetitive lock-out, and other such shady backroom dealings. MSFT is a big company that hires rather smart people. They could use their money and collective brainpower to do really great things for the computing community.

Thing is, those of us who've been around for at least the past twenty years have seen the "Good Microsoft" act, and we remember how that act was rather short-lived. If MSFT were to do something substantially significant (such as joining the OIN [0], making a public promise to remain a member and substantially participate in its proceedings for the next twenty years, as well as a public promise to never tamper with it or its proceedings [1]) before many of us old hands start thinking that this is an actual change in corporate direction.

[0] http://www.openinventionnetwork.com/

[1] That is, to never, ever do anything even remotely like the shit they did at ISO.
Ya, avoid the big water dispensers. We just buy boxes of bottled water now.
https://ipfs.io would be able to accomplish this goal.
That's a good idea, but what if Kik lawyers come knocking on your door saying that you're breaking the law and this package cannot stay there forever, or for any moment longer?
Watchman: A file watching service by Facebook
What is new in OpenMP 4.5
The study suggests that it is the first for the majority of people. It doesn't suggest that there is no one who wants number two or three.
My god! It's full of attack vectors!
https://github.com/substack/provinces/issues/20
Las plantas son afectadas por las radiaciones wifi,Dect,telefonia móvil
You can use your own binary caches and of course your own clone of nixpkgs repo. I think moving the binary caches to IPFS would also be a fun project.
> I don't smell any PR war here.

sigh All significant wars are much larger than the individual actions in them. :) Read my other comments attached to this HN submission to get some insight into my opinion of MSFT and its actions. It's probably a little more nuanced than you'd expect.
Well, it's different things at work, right? Yes on one side people want autonomy. This very much so applies to many developers. But power is actually also exciting, for some people even sexual. Why do I think that? Well, computer games and porn for instance. In both you already get your agenda. But there are games and porn that gives you explicitely power over another (virtual) person. And people still like that, when they already have power over themselves.
Same here. Nothing can be built upon Markdown mostly because it allows raw html. Many nice and solid extensions have been made for rst.
See All New Features Introduced on WhatsApp by Facebook
I'd be very curious to know if this was true, because the actions taken certainly seem like that's the possible intent.
Frog foam could deliver drug therapy
Inside the Mirrortocracy (2014)
https://www.ycombinator.com/faq/#q8

"""Will you fund multiple startups working on the same idea?

Yes. If you fund as many companies as we do it's unavoidable you'll end up with some overlap. Even if you tried not to accept competing companies, you'd still get overlap because startups' ideas morph so much. The way we deal with it is that when two startups are working on related stuff, we don't talk to one about what the other's doing.

In practice it has not turned out to be a problem, because most big markets have room for several slightly different solutions, and it's unlikely that two startups would do precisely the same thing.

"""
A small clarification, that's a million in assets not including your primary residence. Something about that being a reasonable proxy for the sophistication to understand the risks involved and the business (or maybe just wealthy enough to hire a reasonable lawyer to review the docs?)
And how do you achieve autonomy if not via taking power? I mean you can work as a contractor, but the game is the same. You either make low pay, or work for someone else, or have the power to govern other people's agenda.
Mmh look at that max uptime: two weeks -a whole 98% - A crash every other day ! Fortunately things evolved to winME stability since then (I know no multiuser)
Would simply copying something into your project as small as 17 lines make for a good compromise?
You at the very least can once you're leaving the company, which were the circumstances of someone I know who has done this. Even if you are right (I can't quickly find a good definition for "Arms length" as it relates to non-C level employees) it doesn't materially change my point that people in our position pay substantially less tax than people in the medical or legal profession.

Whether it's bulk asset sales and dividends, or Hong Kong holding companies and tax treaties, or capital gains exemption to "retain top talent" if Canadians actually knew how it worked 90% of the time they would never stand for it.
Use Atom Editor and Ensime for Scala Development
Using hashes as identity rather than names would solve these problems.
Any chance someone at Kik the company wanted to create an npm module and decided the escalation to lawyers was the right way to resolve things? Seems like the lawyer was more interested in getting possession of the name on npm then actually fighting for a trademark. It doesn't even sound like they bothered with a formal cease and desist.
Because they'll make a lot of money on the other platforms really fast. Mac and Linux aren't big game platforms.
Russian Companies to Be Amerced for Bitcoin Operations
You at the very least can once you're leaving the company, which were the circumstances of someone I know who has done this.

Sure. But then you have to put in the shares (or options) at their fare market value, which is going to be pretty high if there's an IPO on the horizon.
Even getting a response just so you can know what the original author desires can take a long time and there is no warranties or guarantees that you will even get any response. To me, all the downsides that come with dependencies are not even close to worth it for saving 15 seconds.
I'm curious since it strikes me as a hard problem to solve: How do you resolve having to deal with security issues with tens or hundreds of dependencies (and their dependencies)? How do you even know whether they have a security issue or a version bump is just a bug fix without digging into each one on a regular basis?
Best arduino compatible lcd for projects
Good idea. Can you provide a download link with all the code out there?