skysight-inc/HackerNews huggingface dataset:
It would be interesting to see this kind of graph created for other languages like Python, Node.js, etc. to see how they all compare. It would be neat to visualise which language/framework has the worst case of dependency hell

Edit: Spelling
r/golang discussion:

https://www.reddit.com/r/golang/comments/50uni1/dependency_g...

Also relevant:
https://talks.godoc.org/github.com/broady/talks/web-framewor...
> As for traditional hosting companies (OVH and the likes) When you're being DDoSed, they'll null-route your IP space. (i.e. they advertise your IPs as dont-exist-on-the-internet-anymore). The traffic is dropped while in transit on the internet because it can't go anywhere. It doesn't reach the hosting company anymore.

OVH hasn't been doing this for a while, they got some beefy ddos protection setup for this exact reason - it was way too easy to take down someone for hours

Hetzner (another big european hosting provider) followed recently: https://news.ycombinator.com/item?id=12403783

Online.net also has included protection (+ paid upgrades)

At least here in europe the big hosting providers are all switching to providing included protection for all their customers, at least for traffic intensive attacks which hurt everyone
> Is this really the reason people block ads?

I block ads mostly because they take up a lot of bandwidth and I don't have an unlimited amount on my cell. Plus, many ad networks don't seem to protect the users from malevolent javascript. I also block Flash for the same reason.

I'm not opposed to ads, I'm opposed to auto-play video script fests that try to sell me the thing I just browsed on Amazon.
> The great failing of social media is that it doesn't help you make friends. Its very much for Mrs Bucket

Hmm. You'd be surprised...
"Tough on crime" has always been incredibly popular. But Nixon was the "law and order" candidate. Reagan was the "tough on crime" guy. Center-right Bill Clinton continued and expanded Reagan's policies. So yeah, there's a lot of blame to go around. But I think you're being disingenuous if you think liberals support mass incarceration policies to the same extent that conservatives do. I don't think urban liberals are the ones clamoring for harsher law enforcement.
>And to support all browsers, one will need to drop in a JS flac library anyway, making this addition moot.

That's silly. By that argument no browser should ever bother adding any new features.
You may not have read the article, but he didn't point it at them. If you watch the video, they drive right up on him and immediately shoot him.
If you take an action and know that there is a direct consequence that will kill people who have not done anything that could justify death (i.e. almost anything short of murder), you can't ignore that consequence. The only way to justify it is to say that for some reason, not acting would be unacceptable. And that is a high bar to clear, one that is obviously not met by the prohibition policy.
Interesting story, if you had fostered an American accent you'd have avoided the issue as well. They expect Americans to be abrasive.

Behind you 100% on the Brits ignoring you thing. They're very responsible for the perception of what "polite" means and I blame them for so much passive aggression in what is considered "politically correct" speech. If you've ever watched their politics it's a damn joke. They fall all over each other attempting to "out-polite" each other while stabbing each other in the backs. Direct response is unheard of. Then they export this behavior to the rest of the English speaking world as a standard of acceptable behavior because so much of the world irrationally looks up to the UK for the "right" thing to do.
In Norway we have a very aggressive child protection organization called "Barnevernet". Everything that is considered normal child care in other countries, may be very wrong here. There recently was an indian couple that lost the right to take care of their children, because they punished them by for example eating from the floor when they did not behave. This is very common in India. I believe after a while they got their children back as they got more educated.

So if you have plans to move your familiy here, you have to adapt to our culture of child care. On the other hand, this organization will more often catch and follow-up children in homes which could be dangerous for them. In that way we can prevent that the children will have social issues when they are grown ups which is a benefit for our society as whole.
A sentence of something like 20 years + evaluation of suitability for release does a fine job of dealing with the extreme cases you mention without discarding the idea of rehabilitation in less obvious cases.

And yes, I think you go ahead and let the terrible dictator read books or whatever. That's much easier to accept than society occasionally getting together and executing an innocent.
The web link doesn't always do the trick for me. It's a shame Google continues to index websites that it doesn't work for.
Old patched binaries and .idb are on his onion: http://gzscxpillagce2gf.onion/
It is not my experience that we are lacking critical thinking,
what we are lacking is creative / constructive thinking.

There are plenty of great critical thinkers out there. The real challenge is to figure out the next step.

Thats' what entrepreneurs do.
They recently incentivized customers to switch to KVM again by doubling the ram but they haven't required a switch yet.
Your comment basically confirms, on a more subtle level, what the GP post is saying.

You have no factual basis for claiming these people are asserting false facts or voting based on false facts. Brexit is a vote on what the future should look like, and no one has a factual basis to predict the future.

tl;dr people you disagree with aren't fraudulent by default
Welcome to the fun and inflexible world of enterprise software. I attribute that to legacy code more than actual malevolence.
Previously: https://news.ycombinator.com/item?id=12408624
> Can you summarize how he "[broke] desktops with PulseAudio"?

For a long while it was flaky and buggy, with audio periodically failing. It was never the end of the world, but it was annoying, and I think it runs decently enough now.
I'd like to also add that it is incredibly chilling to free speech for a moderator to essentially tell me my opinion is unwelcomed here.

Whether you believe it or not you become another tool of government oppression.
Usually the 'web' link is sufficient, but the policy on Google allowing traffic may be changing.
>trade with other countries was strictly forbidden.

Huh? All EU countries trade with countries outside the EU all the time.
very cool concept
s/boring/annoying/
Good ol' Chomsky :)
How small is your company that you have to order your own components and boards? We only have 45 people in our company but even at our small size we have dedicated purchasing people to do that for us.
> “There’s nothing really new or creative on it. In 10 years, the social-media craze will be pretty much gone. Everyone will find a different way to waste their time.”

Seeing how Facebook is constantly finding new ways to keep people online and how their development cycle makes them able to roll in features so fast, I very much doubt so.
> I read the entire article yesterday, long before it was posted here. Not sure why you think I haven't read it, or how your quoted snippets contradict what I said in any way.

I read the article myself, long before it was posted here. But I think you need to read it again, because you're misrepresenting the facts.

Whereas major cities like San Francisco and New York City are taking a different tact to dealing with a drug problem (shorter sentences and treatment instead of jail time), that small Indiana town is doing the opposite thing - longer jail sentences that don't match the crime committed.

That's the gist of the article, but that's not what you seem to have taken from it.
If you want things to work smoothly; dual-master, single-active is the way to go.

If you use mysql's read_only flag and application users don't have SUPER permissions, you can easily prevent writes to the wrong server; set read_only = 1 in my.cnf and manually set it to 0 on exactly one of the masters. Use the read_only flag to drive automation for which server to send writes to.

Manual failover is set old server read_only, kill existing connections (read_only flag is cached), wait for replication to catch up, set new server read_only = 0. You can make a script to do this with one button, but I wouldn't recommend making it autonomous: flapping between servers is disruptive and could lead to data inconsistency if you switch when replication is behind; data inconsistency is usually way worse than write downtime until someone logs in to flip the switch.

Try to have half your slaves off each master, so if a master is down, you still have 50% capacity. (I've seen some patches from google a while ago to keep binary logs in sync between masters, and make switching masters easy: If that's available, you may be able to have slaves just follow the current active master)

If you have budget for it, an extra slave off each master can be helpful: You can cron them to shutdown MySQL, tar up the directory, and restart. If you untar that on a new slave, it'll continue replicating from that point in time. If you rotate out the backups, you also have some ability to restore data from the past, if there is a bad update.
Thanks for checking out our project! We made this after recreating this functionality a few different times and love giving back to the open source community.

Dependency free, super compact animation library. Enjoy!
Let's suppose that A has to deliver chocolate icecream to B. How can a blockchain verify if the quality of the delivered icecream??? Is the chocolate concentration right? Is the quality of the chocolate good? More difficult, did it arrive melted or too frozen?

I think it's possible to use multisignature transactions to implement an escrow service that can arbitrate in case of a dispute an send forward or backwards the money. (If the buyer and seller agree, they can complete the transaction automatically.) But you are changing a court in the real word by some arbiter in the real word.

Anyway, I'm not sure if someone has a good working scheme like this.
Guess that's impossible without Spark or Hadoop.
The thing is, alcohol taxes are too low. There are huge social costs of alcohol use and alcoholism, ranging from direct health risks, to drunk driving and assault. The taxes on alcohol (unlike the taxes on cigarettes) do not even come close to matching the social costs of alcohol. For references, look at Mark Kleiman's work.

So no, the taxes are not blood money, though I suspect adding methyl alcohol to industrial alcohol is indefensible.

Fwiw: I do still drink, typically 1-2 drinks, no more than 1-2 days a week, so I'm not a particularly heavy drinker (i.e. this would cost me money, but not as much as it would cost some folks). I also believed this when I drank more than I do now.
Oh man, I'd love to build the front-end for this. It really needs help :)
> Although this had unfortunate consequences, and would be unthinkable in today's enlightened world, I'm not sure the line of reasoning here was unreasonable.

It is only reasonable for people who believe in social engineering of society to achieve some kind of betterment, even if that includes use of force or actually killing thousands of citizens by poisoning them.

Let me be clear on this, these people that died as a result did nothing other than buying products in a free exchange. No alcohol or drug dealer put a gun to their head and forced them to buy and consume their products.

This is not to say that I believe drugs are a good thing, it's just not my business to tell anyone what he or she should desire or not.

There are many types of Collectivist ideologies out there that believe in engineering societal improvement and they all have one thing in common: They are authoritarian and disregard the free will of individuals. Some might poison products to kill off the undesired or use state force to prohibit certain products, some might send rebellious citizens that think "wrong" to re-education camps (Soviet Gulags) and some might even send them to extermination camps. (National Socialist from Germany)

I reject all of that, I do not care in the slightest about what these Collectivists believe would be an enlightened society and how to bring that about. I'm an individual with personal interests and everyone should stay out of my business as long as I do not harm others.

If you can convince me and others to freely restrict ourselves in a way that could improve society then I'm fine with that.
It stopped falling, for now, but has steadied at a significantly lower level. Don't know how this can be interpreted as markets thinking that brexit will be fine.

It just looks like the market has priced in the current situation, which is worse than before, but doesn't yet know what will happen, because nobody really knows.
The problem is that they stopped being private grievances when they were used to remove a speaker from a public conference.

Way back in the good ol' days, this was exactly the sort of thing used to oppress the minorities: an unknown group of well-connected men would get together to black-ball someone for being the wrong sort of person, with no explanation, recourse, or accountability.

Like I have said before: choose your enemies carefully; you become them. The faces may have changed, but the behavior hasn't.
I have found an archived copy.

https://archive.is/vLs4w
I think prosecutors are elected in the US only as far as I know (even in other common law countries, they are not elected).

In most countries, they are appointed.
Why is this even a concern? We have tools to walk that graph for us, they're called compilers and linkers. A small codebase can be buggy too.

If you have success with a toolkit and it has good testing and community support, don't walk away because the graph looks weird.

Take all those frameworks and inline them directly into your main package...now your graph collapses....are you better off?
Ironically, you just mistook a critical thinker with someone who agrees with you.

People prefer critical thinkers when they help them in their grand vision. Unfortunately, a critical thinker may have some things he wants too.
I think this is the most reasonable argument for supporting FLAC natively. We have support for lossless images in the browser already - TIFF isn't the image analogue, but rather PNG.
Trying Not to Try (2014)
I use HTTP, it works everywhere.
On my notebook, I have a http server, on Android phone I use TotalCommander app with HTTP server that works both for upload and download.
Just want to highlight a couple points of caution/clarification by groob from the reddit discussion[1].

In response to "What conclusion should I draw from this?":

> I don't think the lesson here is to judge these frameworks. The graph alone is not an indication of quality, there are other things to consider. I think the lesson is that goviz is awesome and you should run it against your own projects, where you know the code well. Having tightly coupled code should be avoided. A dependency graph can pinpoint areas of your application that are in need of refactoring, as well as code that is either easy or hard to remove.

In response to "what's the deal with net/http?"

> Please don't draw the wrong conclusion from these graphs. Vault is a complex, production ready application which does much more than your typical CRUD app. I find the vault http code to be of good quality, and written in an idiomatic style. If I was learning how to wrote APIs in Go today, I'd look at the vault http package to learn from.

[1]: https://www.reddit.com/r/golang/comments/50uni1/dependency_g...
ZG, is it actually possible to represent that demographic segment you mentioned: young, white, male, without it being called dangerously proto-fascist or extremist?
> I don't think urban liberals are the ones clamoring for harsher law enforcement.

In the 90s it was urban blacks clamouring for harsher law enforcement, since it was their neighbourhoods which were suffering the effects of drug-related violence and other crimes.

Blacks aren't really liberal or leftist on the whole, but they consistently support the left-wing party.
As a reminder: https://github.com/mumble-voip/mumble

https://en.wikipedia.org/wiki/Mumble_(software)

I'm surprised the gaming chat programs don't get more crossover use. Well, I'm not surprised that a commercial project has a larger userbase than something that requires you to find a server.

But I am surprised when, say, podcast hosts make jokes about lag or call quality on their Skype connections with guests. There are other applications that solve some of these problems, and I'd think if your main creative product relies on call quality for guests, you might look a few steps beneath the most ubiquitous option. (ie, If you're at the level where you're buying an uncommon specialist's mic, you could probably benefit from comparison shopping for voip implementations.)
Select the text to enjoy fully in reverse video.
Excellent point, but it is about Facebook the company, not social media.
Could someone tell me what sort of useful information I can distill out of those graphs?

I'm really not sure at the package level what conclusions we can draw outside of "many circular dependencies - bad".

I don't think the graphs would be very difference in Node for example - but unless you're doing something like chunked code bundling I don't understand why this information is meaningful.
Is that how Europe is governed? I think any country should be allowed to leave without condescending comments by anyone.

I think people can handle condescending comments. The problem is that you cannot reap the benefits without paying dues, which is what the Brexit camp promised. It's in the interest of the remaining EU members to make this clear, or the whole union will crumble. It's likely that this will throw back Europe to nationalism and protectionism, which is counter-productive.

(Europe's history is littered with wars, if we don't want to consider the previous centuries, look no further than former Yugoslavia or Ukraine.)
Is it? I thought a lot of aspects of CSS gradients couldn't be animated?

Also, I wouldn't call this a "framework"...
>Risk factors: Certain drugs...

Additional risk factor: Poorly thought out radio contests:

"A 28-year-old woman found dead hours after taking part in a radio station's water-drinking contest died of water intoxication, the coroner's office said Saturday" [1]

[1] http://articles.latimes.com/2007/jan/14/local/me-water14
The vast majority of people arrested for dealing are the equivalent of grocery store clerks. (Really, their job has less prestige than grocery store clerks.)

People are making a lot of money off of this, but not, for the most part, anyone who is at risk of getting arrested and charged with decades in prison.

Furthermore, arresting them has about as much effect on the drug trade as locking up all the clerks in a grocery store. The demand is still there, the distribution networks are still there, all they're missing is people willing to work for minimum wage or less. (And obviously there's no shortage there either.)
Such as ?
It depends on if you want to allow max height vehicles to use the center lanes or not.

I guess you could have a mechanism to raise the warning beam and only activate it after direct communication with the driver.
Go doesn't allow circular dependencies so rest easy.
> I trust the NYTimes more than any other American media source

this is no longer true for me. they no longer even pretend to be unbiased. i have noticed a marked shift to the left in just the last 2-3 years. i'm considering cancelling my digital sub.

i trust the pbs newshour the most, followed by public radio and certain satellite channels (potus, etc.). honestly i find both left-wing and right-wing media to be 'trustworthy' i.e. at least more likely to be honest about their own agenda than someone like the nyt who fancies itself objective in their reporting if not their op/ed.

when i go to huffpo or breitbart, i at least know exactly what the game is. and of course there are still the 'adult' publications with certain identifiable leanings like reason, the review, the nation, mother jones, etc that are still excellent.
I just started using this last week! It's just what I needed and is amazing - thanks so much for this!

I think I'd be willing to help with this.
awesome feedback, thank you sir. I have passed this along to our tech team.
Every country with a police force has an unwritten law imposing the death penalty for law-breaking. In order to arrest someone and send him to a Norwegian country-club prison, the threat or use of force must occur. Force is, ultimately, lethal violence.
But it reduces your ability to negotiate its also acts to keep the lower orders in their place as an atypical candidate my have started out at a lower salary and so be les likely to progress to the same level as some one born with a silver spoon in their mouth
The specifics of hockey and golgi bodies are not important. Practically everything we learn in high school is unimportant for 99% of the working population.

My point is that it is important for a culture to aim high. There is a reason why Israel produces way more innovation than Saudi Arabia, although most of the population in both countries has no use for calculus or igneous rocks.
>They’re constantly being judged. Their self-worth is constantly measured by other people’s response to every single thing they put online

Freedom from something is no freedom at all. They are too young to define their lives by the things they ran away from.
Hi, author here :-)

We do use rsyslog.. The rates we see aren't terribly high, but it is a fairly large deployment. We have a setup consisting of redundant tcp load balancers fronting redundant syslog relays feeding into additional applications and an archival box.

Basically this example in the RFC, but with a frontend load balancer cluster and additional collectors:

+----------+ +-----+ +---------+
|Originator|---->----|Relay|---->-------|Collector|
| |-+ +-----+ +---| |
+----------+ \ / +---------+
\ +-----+ /
+->--|Relay|-->--/
+-----+

For the pieces that we control and can use RELP things work great. The problem is that we run this as a service for a large group of heterogeneous systems. We split out logs by hostname, and it's not uncommon to wind up with an INFO.log at the end of the day because someone is sending us INFO where the hostname should be.

If every client could use rsyslog+relp and things like imfile to send us application logs, the whole system would work a lot better.
> a clean way to do it would to be a call for elections

Absolutely, but the weakness of the opposition Labour party and the near-annihilation of the Liberal Democrats at the last election mean (as things stand) it's mostly a foregone conclusion that the Conservatives will win. So to their way of looking at things, they will have two mandates to leave.

It's an extraordinary situation, though. I said to my son on the morning the result was announced, this will affect all of us for the rest of our lives. I still don't think I was being hyperbolic. Seasoned politicians and commentators are saying it's our biggest political crisis since WW2 or Suez, and that's even coming from people who seem to support Brexit.
They really should have produced a television drama like 1984's Threads before the referendum, but substituting worst case economic Brexit implications for nuclear holocaust.
Children Should Eat Less Than 25 Grams of Added Sugar Daily