skysight-inc/HackerNews huggingface dataset:
You can actually do adjustable weight sampling in logarithmic time using a modification of the binary search approach, which is likely superior in a lot of cases.

The trick is to keep a dense binary tree (arbitrary order--you can use the standard array mapping), where each leaf has one of your w_i and each internal node is the sum of its two children (and therefore equals the sum of all leaves in its subtree.) To update one weight, you just walk up the tree. To sample, you walk down the tree making a weighted decision at each point.

This allows log n time update and sampling. It can be quite fast in practice, though the alias method is faster if you don't need adjustable weights.

There are all sorts of other issues with RNG generation of doubles that affect these cases, though - I need to write a longer post about what I've done here.
Everything about 360 degree videos
Yeah, I remember someone projecting it to be 10,000 for this year but I can't find it now.
Open Source Alternative to Atlassian Stack
I've been vegan for half my life at this point, so take my recommendations with a grain of salt (I have no idea what cheese tastes like any more).

That said - there are several brands of nut cheeses that I really enjoy, whether or not they taste like actual cheese. I would recommend Dr. Cow, Treeline, Punk Rawk Labs and Miyokos nut cheeses.
Glad I don't live in the US then :)

I've seen an increase in gluten-free products in the last years though, and also heard that it's been happening in the US and UK among other places too. Even in candy. Is that not true?
The number of notable alumni from Syracuse never ceases to amaze me.
creating confusion was always the point
Looking Back at r/Place
> even the worst nuclear war imaginable won't be as bad as WW2 was

It wouldn't take that many major cities to get past the death toll of WW2. The "worst nuclear war" would easily have more civilian casualties than WW2. How on Earth can you even say this?
"All types of stalls including clothes,
counterfeit goods and food stalls will
be banned from main city roads"
- Wanlop Suwandee, a chief advisor to
Bangkok's governor, told AFP.

Based on this statement, it's not nearly as bad as we'd expect, since most of Bangkok's street food are not on the main city roads, but rather on smaller streets. When I visited, vendors most often were situated in side streets coming off the main streets, or near transport hubs like the river ferry stations.
Agreed. I am normally a very nuanced person who tries hard to see all sides of an issue... but with my vegetarian diet, I find total abstinence to be the best thing. Eating a little bit of meat requires will power to not eat too much... and I have a limited reserve of will power which I want to save for other things in my life.

I've been vegetarian for 9 years.
Forgotten Unix Tools: The Dc Command-Line Calculator
BotXperts asked – with David Pichsenmeister of oratio
...but in a single day datacenter, which realistically drops several "9"s from that guarantee when you consider tail events.

I like b2 and am using it for backup in some projects, but unfortunately it's still not an appropriate choice as a primary data store.

The common counterargument I've heard is that you should have multiple redundant storage providers that you manage at the application layer anyway. Problem with that is, there are a near-infinite number of things I "should" do, but very finite resources to do them. S3 backs up across multiple availability zones by default, so using it means one less thing I have to spend brain cycles worrying about.
In 2015, the top 20% paid 84% of collected income tax. That would hardly qualify as little taxes.
You are right to be worried.

"It found that widely used software that assessed the risk of recidivism in criminals was twice as likely to mistakenly flag black defendants as being at a higher risk of committing future crimes. It was also twice as likely to incorrectly flag white defendants as low risk."

Source: https://www.nytimes.com/2016/06/26/opinion/sunday/artificial...
I think it is a lot like the situation with the Boston Marathon 50 years ago. We were born into a world where poor treatment of animals was already happening. For those born afterward, it will be unthinkable.
I was suitable impressed with their description of the singular (I believe) data center they own. Even though it is in an area that is at risk for a major earthquake it seems to be at the upper end of engineering specifications.

Having said that, if your data is absolutely critical then I agree that even further geographic diversity would be desirable. Most likely you want to avoid the Pacific Rim, and volatile countries. A central European site/company would be good for this. Obviously you should expect to pay more to store your data in more than one place.
Facebook Camera Effects Platform
How would this work in practice though? Would jurors take a breathalyzer or something before entering the courtroom?
> ...other correlated factors will allow the algorithm to continue to enforce this racism, but now with legal immunity.

I'm sympathetic, but how do we keep from causing more harm than good here? It seems like blindly ignoring all data that correlates with race is also bad. We do this in some circumstances already (i.e., IQ tests when doing hiring or admissions) and I think it's a defensible point that we're worse off for it.
Can you suggest any specific jobs for young people?
i just adblock and yes on android too on a rooted device, and patreon everyone that has it setup
much much better experience and it doesnt cost much... and yes its unfair to youtube, but hey, they make their own choices that are unfair are well
Such a person would be an asset and if there were an infinite supply of jobs to employ such people in, we wouldn't need to restrict immigration nearly as much. Every new skilled person we get would contribute to and grow our economy.

However we don't have an infinite supply of jobs and every job taken by a skilled person from another country could have been taken by a skilled person from within our own country, had they developed the skill. It also reduces demand for those jobs, which reduces the motivation for people within the country to train themselves to perform it in the future and increases our dependence on immigration.

My argument isn't that immigration is bad, I'm an immigrant myself (Australia -> US) but it's definitely a trade off and needs to be controlled carefully.
"The repeater may have created more questions than it delivered answers."

Difficult to understand as it is irregular with bursts at random intervals. "After 50 hours of seeing none during previous observations, the team now spotted them frequently, including, one time, a “double burst” of signals only 23 seconds apart."
Maybe you could provide some proof for Microsoft being in Seattle because he "didn't want to compete with SV".

But also as someone who works in Seattle (for a SV company), it's sort of insulting to imply that you have to be in SV. I get paid SV rates and don't pay any state income tax and have 4x cheaper housing, and the PNW is environmentally beautiful. But sorry I'm depressing your wage!
Alternative reality:

* listening to animal rights advocates

* not incarcerating more

* not using the death penalty even for minor violations

* not forcing everybody to have a cam in their bedroom (of course, strictly for access by security forces)

etc...

The only thing standing between your and my vision of the future is how we act - not our wishful thinking how things should turn out.
I think you would have to look at the reasons why the government tax revenue did not increase when rates were higher. The rich are have mobility. They can move money around the world and at high tax rate levels, they'd be content on neither earning nor bringing back any of the money they make elsewhere. Let's take an example of Apple's $200 B sitting offshore. I know that's a corporate tax, but same principal.

I don't believe the tax burden on the lower classes in the US has ever been lessened by increased rates at the top levels.
I would love to do this. Cross-connects aren't free, but they are certainly less expensive than going out across the Internet. And enabling compute/storage use cases by (possibly) partnering with other providers would be excellent. I'll reach out to a few of those compute providers and explore.

Can you tell me more about how you use/would use cloud storage? (with or without compute)
A couple things...

The parent is talking about "progressive" as in "the tax gets progressively higher as you make more money", not in the "social justice" sense. The flat tax being regressive means that the poor would have to actually pay more in taxes than they do now, which is very little. That's seen as a bad thing. Obviously there are solutions to that in flat tax proposals.

Second, "the wealthy pay very little taxes" is a meme. I mean, look at what we've got here:

http://www.pewresearch.org/fact-tank/2016/04/13/high-income-...

Those making $250K and up are responsible for 51.6% of all income tax revenue. How much more should they be expected to contribute? Remember: the truly wealthy can live anywhere in the world. There's a balancing act that needs to be established between "you're not paying your fair share" and "soak the rich."
WrapAPI is in many ways inspired by Kimono for its ease-of-use, but is much more powerful. You can send POST requests and fill out forms, as well as create different types of outputs and chain them. Kimono and import.io, on the other hand, are very much designed for scraping tabular data.

If you're pretty satisfied with import.io and Kimono, it might be worth to just keep using them! Give WrapAPI a shot, though, since it can do a lot of things those tools can't.
id use that
How is Corbyn playing political games?

I suspect he's considering his own position and the general dissatisfaction he faces among his current crop of MPs, and he's probably figuring this is a chance to clean house a bit. I also suspect the extremely short notice given by May is designed to frustrate that effort.

It's almost as if they'd rather have the Tories in government.

I imagine some current Labour MPs with Blairite leanings really might prefer having the Tories in government if a Corbyn-led administration is the alternative. The Tory position on a lot of issues is probably closer to their own.

Presumably the general public don't like him because the media have been telling them he's unelectable, even though he's been voted leader twice and his policies are popular with the electorate even if he isn't.

But being voted leader by a party who like him is far different from getting votes from anyone else, and almost everyone's policies are popular until you start asking the hard questions like how you're going to pay for it or who else is going to lose out as a result. I don't think either the general public's view of him or any resulting electability problems are entirely down to the media.
Arguably deliberating while being drink deprived could result in hasty judgement. Stress, like sleep deprivation, is bound to affect your decision making abilities. Everything in moderation, of course.
This is just too easy to reverse:

Are you implying that your fragile mental state is going to fall apart when exposed to the idea of generally using gender-specific language? :)
Posting pictures, writing a blog, etc of your trips/experiences is one thing, spending the entire day trying to capture the perfect pose, shot or moment in time to push a lifestyle brand is inauthentic.
One explanation is that someone tried to use the exploits in a less than inconspicuous way, which resulted in a crash, and then Microsoft's crash reporting picked it up. I read somewhere they specifically look for exploitable crashes (e.g. buffer overflows) in the long tail of rare crashes and try to fix them. But I'm just speculating of course.
Now I'm picturing something like the Super Game Boy, where you have the original screen and then a graphical wrapper around it.

Being able to easily add a spherical or cylindrical "wallpaper" that would project around you while looking at a 2d rectangle projection of the site could be a simple way to give an "easter egg" to VR users without having to comprehensively redesign everything for it.
Exercise contagion in a global social network
It is. Luckily the gluten free diet has become more of a fad here for people with money, so there are more options. However, there are no where near as many options to achieve gluten/gluten-free parity.

I guess that's one of the benefits of not living in "processed or manufactured everything" America. We have the benefit of not having to cook as much, you have the benefit of having more control over what you put into your food.
Subtitling with Linux
Black-and-white behavioural change is almost always easier than quantitative change, because the cognitive burden of a prohibition is far less. Counting calories is rational but time-consuming, complex, error prone and open to self-deception; an absolute prohibition on starchy carbs is arbitrary but much easier to stick to. Not drinking at all on weekdays or drinking only with meals is cognitively much easier than restricting yourself to 14 standard drinks per week.

Most religious laws are absolute prohibitions or absolute mandates - no foods are mostly kosher or halal, no foods become haram or treif merely because of quantity. None of the ten commandments are quantitative or subjective. Being a frummer is burdensome and inconvenient, but it's also remarkably straightforward. Strict and absolutist behavioural rules are easy to understand and apply.
> more convictions for little stuff

Seems like an easier way to break that loop is to decriminalize the "little stuff" instead of capriciously enforcing it. No algorithm is going to be able to do that.
don't practice any empathy

Seriously? At the very least I hope you're only narrowly applying this to the jury system, but even then...
Backblaze has a backup service for laptops/desktops, but our B2 service is actually more like S3 - the data is available without delays or penalties for access. (Unlike Glacier.)
but theyre nazi creators! (i wish i was misrepresenting their words...)
Which Twitter used to provide back in the day.
Getting the answer right isn't really important, but the candidate's answer to this question potentially reveals a lot of information.

* Most likely they've never had to think about this before. How to they approach unfamiliar territory?

* Do they have a deep enough knowledge about Java that they could at least make a conjecture about how such a thing could be created?

* Do they understand that Java has a GC and how it works?

* Are they the rigorous definition type and declare that such a thing is impossible without a bug?

* Will they try to interpret the interviewer's meaning and talk about unintended long-lived references or ways to accidentally consume a lot of memory?

Overall I like questions like this that require some creativity to answer.
Thanks for the kudos!
Scala Plugin for Visual Studio Code
How to use dynamic Styles/powerful Animations to create beautiful Angular Apps
> It's strange how defensive people get about eating meat

Not so strange, when you have been the repeated recipient of either the "meat is murder" or "I'm obviously better than you because I don't eat meat" comments from militant vegetarians.

Basically, there's prejudice and justification on both sides of the divide, and it's too easy to respond to the constant hate with your own hate.
few interesting findings:
> Less active runners influence more active runners, but not the reverse.

> Both men and women influence men, while only women influence other women.
So you're asking for cheaper egress to specific cloud provider peering partners that offer compute. ?
Interesting! Image-based development is actually really useful for many applications. It would be interesting to see V8 support this more generally. It's something I quite like about CL and Smalltalk systems.
just tried the beta its still pretty slow :(
The trouble with using elliptical orbits to get low and close is that you're going incredibly fast at that altitude. This spells trouble both because you spend a small fraction of your time above your target, and because drag is proportional to the square of velocity, mitigating any savings there.

We do have uses for highly elliptical orbits, but they're usually used for long residency times on their high side. The Molniya orbit is a prototypical example.

https://en.wikipedia.org/wiki/Molniya_orbit
I know on the surface it sounds bad, but yea.

And yes, this applies solely to the situation I gave.
I don't consider emacs successful. Succesful among fanatics, maybe, but I don't consider is valuable to a serious programmer.

Also, surely it's not that hard to switch languages? In my experience all languages are essentially the same.
As a vegetarian, I find meat substitutes to be disgusting. I would imagine that a big part of the reason people have trouble sticking to a vegetarian diet is that they lean heavily on meat substitutes instead of going out of their way to find recipes that aren't built around meat.
Didn't Docker already have a project called Moby? Is this the same thing?
Yeah, there's a good book on this very issue called "Weapons of Math Destruction."[1] The author did an interview on a podcast and discusses how algorithms used by these judges reflect our racial biases.[2] One example that I remember is that the algorithm takes into consideration one's zip code, which correlates strongly with race in the US.

[1]: https://weaponsofmathdestructionbook.com/
[2]: http://www.econtalk.org/archives/2016/10/cathy_oneil_on_1.ht...
Building a Trivia Bot for Facebook Messenger with Laravel (PHP Framework)
Cities will weather the retail apocalypse. Suburbs may not
>This medicine is out of patent; the R&D costs have been recovered.

Do you think the financial analysis involved with a new drug stops at "costs recovered"? Why should it?

I find it completely bizarre that, instead of getting behind the fact that the US is essentially subsidizing drugs for the 3rd world, people think rich first worlders should be paying sub-Saharan rates.
Google Fred
SLAM techniques allow reconstruction of a scene from video+position data. As the aircraft takes video of the terrain, it is logging its position. Large-scale batch processing can recover the 3D positions for each image feature that will minimize some error metric.

Rural areas probably have lower-quality image data (or noisier aircraft position data).
Potentially, or if someone is visibly unable to perform their duties as a juror the judge would stop proceedings, investigate the issue with the juror and then take whatever action they find appropriate.
In Tesla, they literally sell everyone the 75 KW battery. Some people pay 80k for the car, some people pay 75k for the car, but the battery is software limited to 60KW. You can later pay 6k to software unlock the extra part of the battery sitting in your car.

Product market segmentation is a very reasonable thing to do. Why do people make it out like a bad thing? If you ever run a business, you will want to find a way to get big enterprise to pay X, and small business to pay X/4. ECC is something businesses care way more about than gamers, so why not charge more for it?
"magnetars generally form from stellar explosions"

The cause of these magnetars could be intergalactic warfare!

Who needs nukes when you can blow up a star...
>I dare you to point out a plausible worse scenario.

What about collapse of the ecosystem due to global warming?
The new chips are on a 14nm process. They might have a similar architecture but there's room for higher clock speeds according to AMD. Ars Technica said they expect partner cards to have higher performance than the reference numbers AMD gave out.
Tesla Is a Battery Business Not a Car Business
How Elon Musk Learns Faster and Better
Gödel, Grammar, Go – The Limits of Rules and Facts
The Global StartUp Ecosystem
I totally hear you on that, though I'd add that the overly zealous are invariably new to it. In-group policing among vegans tends to moderate that vitriol within a few months.

I wonder (now that I'm thinking back on instances of "the new and the loud" I've known in my decades) whether some adopt veganism /specifically/ to have an issue to be loud about. When that behaviour is rejected from both the in and out groups, they move on to some other issue. Certainly lines up with some I've seen... I dunno, just spit-balling here.
The porn site that wants to plow you
Facebook Is About to Launch Their First Social VR App
Quite obviously it limits discussion. It is removed from view of those that didn't see it when it was posted. It is not falling off the main page by virtue of not earning enough engagement/comments/votes from users. It is arbitrarily being pulled.

Maybe I don't understand who has the power to "flag" a post, or what the criteria is.

YCombinator can do whatever they want on their site if it is they (the mods) alone who "flag" something. The engagement and discussion is a sign that people want to discuss it. Not sure why it is deemed (by whom?) to be "trash". By you?

My point is, this post relates to programming. It is not a side issue or a triviality or inconsequential.

"Free speech" generally is a fundamental issue that has impact on all areas of society, certainly tech and the internet, and I think this is a free speech issue. It is a discussion of what forms of speech are deemed allowed and what isn't.
The Kingsnake of Queens: Inside the Bust That Brought Down a Reptile Trafficker
I find it interesting that all cases resulted in a conviction.

I wonder whether that might be related to the fact that all of these are cases that went to appeal.

I'd assume that convictions were more often appealed than findings of innocence, but I have absolutely nothing more than blind faith to assume that, so corrections most welcome.
Textmate yes, Notepad++ not a bit.
Great to know thank you!
As expected. You just get a notification if it works (and if it doesn't and why)
Algebraic geometry research doesn't need funding, it just needs some spare time for people who are interested in it. Black hole physics on the theoretical side is much the same. Astronomy on the other hand probably would get short shrift in an industry based science program, since it is expensive and the gain is pretty much entirely intellectual.
> The Intentional platform can represent domain specific information both at the meta-level (as schemas) and at the content level (as data or rules). It has patterns for distributed interactive documents and for views for a universal surface.

Is there a technical paper on the implementation?
I think the gist of the article is that western styled democracy is always going to be more vastly more expensive & economically fragile than any authoritarian superpower that can simply threaten to kill it's own people or harvest their organs to boost GDP and serve it's elite.

It uses Syria to make case that climate change was responsible butterly effect:

> . Syria, for example, enjoyed exceptionally high fertility rates for a time, which fueled rapid population growth. A severe drought in the late 2000s, likely made worse by human-induced climate change, combined with groundwater shortages to cripple agricultural production. That crisis left large numbers of people – especially young men – unemployed, discontent and desperate. Many flooded into urban centres, overwhelming limited resources and services there. Pre-existing ethnic tensions increased, creating fertile grounds for violence and conflict. On top of that, poor governance – including neoliberal policies that eliminated water subsidies in the middle of the drought – tipped the country into civil war in 2011 and sent it careening toward collapse.

Which is shockingly accurate.

It makes parallel case for the rise of populism in US and EU becoming an increasingly less welcoming region as it faces the full pressure from collapsed countries in the middle east.

tl;dr: learn Mandarin or Russian because they are far more likely to survive a global economic collapse.