skysight-inc/HackerNews huggingface dataset:
Reading code is essential to growth as a programmer. I do it all the time, often for pleasure. But reading snippets without context, like you're suggesting, is a common source of bugs in my experience.

So often when working on a legacy codebase, I'll track down a bug to some bit of code that makes no sense, and then search for that code and find it on Stack Overflow or similar. Even examples from documentation can be dangerous taken out of context; I can think of numerous times I encountered this with snippets that had been copied directly from MSDN without understanding.

Given that poorly-understood code reuse was implicated in many of our industry's greatest disasters, maybe the legality isn't what our concern should be here.
US DOJ: Duke University to Pay $112.5M for False Claims
Whether something is a worthwhile expenditure is a separate from the discussion about the implementation detail of it being supported directly through state funding, or indirectly via tax deductions.

E.g. in many EU countries religious organizations are directly funded through taxes. So in some way it comes down to the same thing, both systems have their ups & downs.

Doing it via tax deductions is often cheaper, because in many cases you can get people to match state dollars at some ratio, and since they get to choose what they fund within some framework they often get some benefit for themselves as well.

E.g. in this case Morgan Freeman gets to walk around on his private land covered in bees which'll be partially state funded. The government didn't need to buy land somewhere just for this purpose.

Instead they find someone who's willing to do this not just for the tax benefit, but also because they for whatever reason don't mind a lot of bees on their land.

So Freeman gets a tax write-off, less money is spent overall for the same amount of bees in the ecosystem, it's a win-win.
Hearing or smelling something from a neighbouring property is just something you have to live with. Just like leaves that fall off a neighbour's trees into your property, may be a pain to tidy up, but that's just life. Sound and smell travel, should I have pave over my garden because you have allergies or don't like the smell of my roses or the manure that I feed them?
So youtube would stop allowing uploading? That would shut down youtube quickly
I think that is only an issue in education where you have simple homework whose best solution you can usually pick from any library. Which is why you usually do such stuff in pseudo-code rather than a real programming language.

In the real world. Guava (google java collection libs) have tons of code that is virtually identical to other libraries. The thing is very often you re-implement the same thing to not have another dependency for some small thing.
Also usually you use some library or framework to implement most of the things often found in student homework. You simply should not write your own code for such basic things but use a library, that does it for you in clean and tested code.

When the task from your professor says do not use java.util, this may have educational purpose (when the aim of the game is to create your own HashMap implementation) but it is an antipattern in actual programming. Do it when you make your own library like a immutable version or like the koloboke compact version. But those derivations have a purpose you don't just make you own HashMap implementation so as not to infringe on some copyright.

Your example mainly focus on the usage of existing libraries. If you write and aws lamdba function and use the aws sdk, you often can just copy an example and just change the params, without referencing the source of your example snippet. There is no copyright issue IMO. There is often a right way and a wrong way and the right way is the cleanest, most concise way. A lambda are just maybe 20 lines of JS code and often 90% of those 20 lines is copy paste. Don't write your own original spaghetti code, you can write a more concise and cleaner version just please share it. An instructor that does not clearly teach that imo isn't a good coding instructor.
I have a platform where teenagers can easily create and share games. I'm currently based in Belgium, but with this new revelation, I'm forced to move abroad with my company. (I already checked I could create a Delaware inc)

Europe tries to catch up to the Silicon Valley startup scene. But stuff like this makes it pretty clear that EU is too retarded.
I think this is wonderful, but I have two concerns.

First, if there isn't a Chrome plugin, it's not going to be of much use to me. I still use Chrome on my laptop (for a multitude of reasons) and if Lockbox doesn't interoperate with it, it's not a useful tool.

Second, I worry about the longetivity of the project. Other than Firefox, Mozilla is not known for their long-term support of consumer products. Persona? Firefox OS? Thunderbird? I don't want to switch to a product that's only going to be retired in a year.
Here's what will probably happen. A handful of websites and news outlets will create blanket legal agreements allowing anyone to freely link to their content. There may be some online paperwork that flies back and forth between the content provider and the person wanting to create the link. Websites offering these blanket agreements will flourish. Websites that do not provide their content for free will go unnoticed and undiscovered by the internet. Eventually, all websites in Europe will offer blanket agreements for anyone to freely link to their content.

The net result of this proposed law will be more paperwork and more lawyers. In the long run, it will not accomplish its stated goals. It will simply slow down digital innovation in Europe and destroy any European dreams of becoming the next silicon valley
The point is that, for many years, there was a well shared understanding of what was signal and what was noise on HN - even if there were hot disagreements on the content of that signal. This is changing.
A couple that might be affected by the lack of a fair use exemption in Article 13:

- use of unlicensed samples in music. Goodbye, Soundcloud rap and EDM music scenes!

- use of images and video clips in memes. Goodbye, Tumblr and Reddit!
Net revenue is usually top line (sales - COGS), while net profit is bottom line, and in-between are various adjustments like taxes
One day, someone will feed the Come to Daddy video into a machine learning cluster somewhere and turn it into a 12 hour video that could give Charlie Brooker nightmares.
Arguably, BitTorrent is mass distribution of, frequently, large numbers of files, by design. That being said, I think you see a lot more activity against the torrent tracker sites than individual seeders, and it's exceedingly unlikely someone who just leeches would see any sort of legal harassment.
> About 1/5 of all economic activity is US

Perhaps, but how much is in China? And how much 30 years from now?
EFF wouldn't want to dignify this law by creating a tool like that. They are fully against it.
>What's the purpose of expressing the feeling? It seems like it's there only to underline the urgency of the unmet needs.

You answered the question. The NVC answer is that it's just a pattern of human behavior. If you speak only to the feelings and not the needs, you get labeled as sensitive. If you speak only to the needs, you get labeled as needy. If you speak to both, you are connecting the dots. People are more likely to empathize and help.

>At the same time, it implies an emotional investment in the issue at hand, which I would see either as unnecessary or insincere in a work environment.

An important point I read in a non-NVC communications book: If people are getting upset at work (raised voices, venting, whatever), emotions are very much at play. So why pretend they're not there? If people will insist on putting a pretense of objectivity without putting the feelings on the table, usually problems will not get solved well.

Also, avoiding talking about emotions leads to the annoying artefact where the person starts invoking all kinds of principles, appeals to authority, morality, etc to justify their stance. These are all less effective than simply expressing their feelings. They often devolve to arguments on which principles the team should follow, etc. It's a lot easier to disagree to an objective standard than it is to tell someone their feelings are invalid (yes, yes, we all know someone who does it, but it is not the norm).

It also leads to a lot of "should" phrases. "An employee should..." "A manager should..." "It is the responsibility of a ... to ..." "The customer should ..." "A programmer should ..."

All of these statements have poor effectiveness. I've explained it in another comment, but on occasion I've told people that should is not in my vocabulary. They need to explain why they need something and not just hide behind "shoulds".
Largely for historical reasons: The materials that went into it would have been immensely expensive at the time it was written, and people generally had less free time back then. Meaning that the cost to do something like the Voynich Manuscript, in terms of both time and money, would have been much higher back then than they are now.

That's not to say that it's impossible, per se, just that, if that's the conclusion we are to draw, then it would perhaps cast the Voynich as being even more singular than it already is.
It's too bad they messed up the title on this submission, because this is a fun article to read. I was in a similar financial position, living in a million-plus city with rent that was over $1400/mo and two kids, with a third on the way. I saw a posting in a small 30,000 pop city that had just undergone an economic decline and rolled the dice. I was able to purchase a brand new 3,000 sq ft house on a 1/2 acre lot with a mortgage that was only $750 a month, and because the position was so remote I had a lot of negotiating leverage to cover my potential exposure to job loss (as I'd almost certainly have to move to find similar employment). They ended up paying for all my moving fees, giving me additional vacation, and a few other perks.

By the time it was all said and done, the increase in salary and reduction in living expenses basically doubled my salary. And now my commute is 12 minutes, every day of the year. With the exception of shopping, we don't miss the big city amenities; to be honest, once we had a couple of kids we rarely had time to take them to all the museums and galleries and other stuff. Now we do all that touristy stuff during our vacations, which we can afford because we no longer live in the big city.

I highly recommend this path to anyone who is not firmly attached to city dwelling, especially when they have kids. The financial freedom is totally worth it.
It sounds like you're missing the point entirely. I think you have a lot to learn from this style of communication.

>I'd say something like: ‘When you said, “I’m not happy with your work,” to me in front of the team, it undermines my authority and the way it's phrased is inappropriate. I want us to be able to give each other feedback, but it's important that it happens at the appropriate time and respectfully.

Okay, but that's very similar to the way it's originally phrased, but it makes a mistake because your definitions of "undermines my authority" and "inappropriate" might differ from those of your cofounder. By using the universal needs of trust and recognition, you avoid that miscommunication. Your cofounder might ask in response, "How was that inappropriate? I didn't think it was." What do you reply? "It didn't meet my needs of trust and recognition"?

>Your intention is to communicate a problem but instead of just doing that this is asking a question. I think this example shows the problem most clearly. These should be statements and not questions. I mean, do you really want or expect an honest answer to the question? Because it's probably something along the lines of "I think these meetings are a waste of my time".

I think this analysis shows your problem most clearly. The problem is communicated (with statements, even!): the teammate was 10 minutes late three times and it is negatively impacting team efficiency. The question at the end is purposeful, and to just assume that you already know the answer completely defeats the purpose of communicating. YES, the answer should be honest! Maybe there's a legitimate unknown problem. Asking a question instead of making another statement would clear this up. And if the answer is "I think these meetings are a waste of my time", that's even more valuable! You can then communicate about how to waste less time, whether that's changing the style or frequency of the meetings, excusing that particular person from the meeting, or canceling it all together.

Your analysis of these examples is just baffling to me. Complete backwards and missing the point.
Sure but SeL4 is a tiny part of an OS..
Ask HN: Best Email Hosting for Sideprojects?
I spin up about 10-15 new side projects each year and typically add an email address to each one like "hello@example.com".

I currently have a shared hosting account that I use just to host all of these email accounts -- the domains and websites themselves are all on cloud droplets.

I'm looking for a new way to manage my email accounts. I'm currently paying about $150 / year for my existing setup and would prefer to host my own mail server if there is a easy way to do so. I really do not want to pay gmail $5 for each account.

How do you manage your setup?
Other than VPNs and Tor (which can be blocked), how would people circumvent the fact that the pipes are still owned by the same players? We can't physically lay out "another internet". Maybe there's potential in radio mesh networking, but the wires we have are the wires we get. As depressing as it feels right now, I think the only real option is to continue pushing in the democratic channels we have. Governments can stop anything if they care to; we have to work with them.
> Why are [European politicians] so concerned with copyright protections?

It's election year. Since the big publishers are all for the reform, any politicians opposing it must fear for bad press.
Now do "Flutter"

https://www.youtube.com/watch?v=EZFmZ0gZNZI
What exactly are they embracing by creating a new OS?
My understanding is that this is something that a microkernel design ought to be able to improve upon...
Summaries of Machine Learning Papers
I love Solar Fields.

Also: Global Communication, Ocouer, Christopher Willits, Marconi Union, Eluvium, Ólafur Arnalds, Balmorhea.
It was meant as a joke tbh. It's sad that this is now a requirement for EU startups. Might as well incorporate in the US and launch US-first / ignore the EU market until you have the resources to deal with these laws.
They resisted a much larger force for a very long time, considering how few men and resources they had.

Stalin intended to roll over Europe armed with Lenin's concept of a world revolution. This war was planned as a quick campaign before the main event, which was scheduled in July 1941. Hitler beat him by a couple of weeks.

[0] https://en.wikipedia.org/wiki/Soviet_offensive_plans_controv...
Getting the most from your log file
O'Malley had an uncanny way of destroying everything he touched. If these were actual public servants, they would do the no-brainer of moving the event to Laurel. There's no way that both tracks will survive.
For personal projects, anything is fair game. Once you're actually distributing your program/library to users, I think attribution for any non-trivial/non-standard snippets or algorithms is a good look (just in the form of in-line comments, possibly in the header comment block). As long as the licensing works out (for example, GPLv3 snippet in GPLv3 project, or CC/MIT in a permissive open project), I see no problems there. Obviously, for closed source or otherwise restrictive software projects (especially when working for an employer), things get more complicated. While you won't likely get caught or called out for lifting a chunk of code off Stack Overflow (which I believe defaults to the MIT license), it's worth reconsidering.

But as far as looking for inspiration in other people's FOSS code? Morally that feels like very fair game. Again, attribution would be nice for an actual algorithm.
So you're saying this is what passed? If it wasn't for the "Available to the public for less than 3 years", I wouldn't be as worried.

---

Upload filters must be installed by everyone except those services which fit all three of the following extremely narrow criteria:

* Available to the public for less than 3 years

* Annual turnover below €10 million

* Fewer than 5 million unique monthly visitors
OH. DEAR. GOD.

You are an evil genius
It is unlikely that our future scientific endeavours respect "What we know so far".
Graduate School Productivity: A Morning Routine and 12 Must-Buy Products
> I can think of plenty of situations where I don't care if someone tramples my emotions, but I'd be pretty distraught if they adopted a flawed idea, or couldn't understand why one idea was superior and another was inferior.

Could you share some examples?
I can't speak for others, but I was absolutely furious when my company switched to an "open office" for the engineering department, and it went exactly as well as I predicted. A year and a half later, management promised we would go back to cubicles (and I gave my share of feedback and then some), and it's supposed to happen in the next week or so.

Not only did the noise increase immensely, and I went from 0 visual distraction to constant visual distraction, but the open office desks offered about 1/10th of the storage space of the cubicles we had. My desk is so cramped I'm constantly knocking stuff over, and I took home almost everything I don't actually need, save for a digital photo frame. This company treats me pretty well overall, but this open office thing was clearly a money-saving scheme, despite what they might have claimed (because 30 years of evidence shows that it's an _awful_ environment to work in, or as I would tell anyone who would listen, it's the most discredited idea since phrenology.)

The good news, of course, is that our ill-advised experiment is almost done, and I'll be back in a cubicle soon. (How times have changed... back in 2001 I had my own office! and now I'm happy to be back in a cubicle...)
I don’t get it. There are two (harsh! Direct!) statements, followed by a relatively low-emotional-intensity question. So the “these should be statements” angle doesn’t make any sense to me, they’re already statements. Are you expecting people to just say “cut it out”, with no conversational room for a discussion?

I think it’s true that many people would prefer to get scolded in silence, but in actual fact, what the other people involved in a rude behavior that needs to stop need, is for you to discuss it with them. If there’s a need for discussion, I don’t see how this approach would cause more harm than alternative ways of insisting that the rude person discuss their rudeness.
Net revenue is gross revenue minus certain costs (discounts & refunds), but does not subtract COGS.

What parent comment describes is more akin to EBIDTA.
Record companies sue Charter, claiming its high-speed internet fuels piracy
Sure. I agree. I used "controlled" word as some kind of abstraction. It is more about influence.

From ukrainian point of view Germany seems to forget about risks of not isolating Russia after Russia annexed territories and invaded several countries. WW2 did begin some kind of similarly as I understand: countries were seeking for "balance" and didn not want to make any rough decisions which could influence their economics in a "bad" way. The result was not very good.

I understand that every country has interests. But in this very case we see that Germany is already buying russian gas through ukrainian gas system without any issues besides risks intriduced by Russia itself. So Nord Stream 2 is more about relationships and not the gas or economics alone.

At the moment we see Article 11 and 13 approved as a consequence. And it is just the beginning.
This was accidental, but I think tagging individual birds to make them identifiable by humans is still the primary way we learn about migration. The alternative of continuously tracking individual birds wasn’t possible until late 20th century and I think still is fairly expensive.
Ask HN: How do work in a team that wont appreciate your help
I would like to understand how people try to be professional and not get affected when they help the teammates but not get appreciated publicly. Or am i delusional.
Oh nice, just realized Solar Fields did both the Mirror's Edge games' soundtracks
Lockbox is effectively a client for Sync which is decoupled from Firefox itself.

This means, for example, even if you browse with Chrome on Android, you can still access and auto-fill all of the passwords you have saved in your desktop Firefox.
Most people had less time back then, but a few people had a lot of free time. “Bored noble” explains a fairly decent amount of artistic and scientific output before the industrial revolution.
‘Technoference’ Is Making Our Lives More Sluggish
Content ID uses some kind of fuzzy matching... a "single bit flip" (as you put it) isn't enough to confuse it.

Yes it's true XYZ Music Corp would only own that performance (as it's Beethoven and the piece is long out of copyright). The problem is, the automatic filter is a fuzzy matcher: it compares the upload against every other performance of Beethoven's 5th it's been programmed to recognise.

Let's say our uploader has been learning from one of those performances. Their performance will sound very similar to another pianist's -- at least to the fuzzy-matcher.

And therein lies the problem: the uploader's piece is clearly copyright to them, but the magic upload filter can't tell the difference.

It's like uploading a silent theatre production (let's say some kind of homage to silent films) and the upload being flagged for violating the copyright in 4'33".
What is the difference between "DNA-Programmable Chemical Machines" and Proteins? Aren't basically all Proteins DNA-Programmable Machines? I don't think you can encode non-organic or organic chemistry without long-chained amino-acids, so why bother to use new nomenclature...?
Part of communicating is also building a relationship. I should know if you respond to blunt and direct and lean more in that direction when communicating with you.

I have worked on remaining calm in high stress moments. In certain situations it drives my wife nuts that she is stressed/excited and I'm calm looking for a solution. What I learned is to reflect back some of her excitement from a stressful situation, but not quite to her level. This then calms her down.

Is it easy? No. Do I manage to do this 100%? I wish. Is is manipulation? I don't think so. It's building a relationship to better communicate. Too often people think about communication as what I say and not what do people hear and also say.
Very good book (audiobook is very well done).

It's a great balance of story-telling and teaching. He teaches some simple rules then provides examples of how he actually used to practices to get the results he wanted.

Also, none of his suggestions felt fake or pandering. Just small tweaks to how you word and approach things can have a huge impact without necessarily being an expert.
Good luck with that. You'll get no funding, and you would need bigger resources than Google or Facebook. Europe once tried to implement a much simpler problem, search. They failed.

Upload-Filtering is impossible if done right. You could implement 30%, but this will not help you as you are still liable on any miss.