skysight-inc/HackerNews huggingface dataset:
> People without money get screwed out of entertainment? Boo Hoo. How about Healthcare or housing? You know, actual essential things.

These things aren't mutually exclusive. I think most people would think it is unfair if only people who can pay 2-4x the ticket price are able to see an event. Hell scalping for more than the original price isn't even legal some places.
"High availability" is not the same thing as the "A" in the CAP theorem. Spanner chooses consistency over availability, but it is a HA system in the sense that it can tolerate datacenter outages.
What do they know about the CAP theorem that I don't?

I don't know your expertise on the subject, but they do have a post on this topic.

Some highlights:

"Does this mean that Spanner is a CA system as defined by CAP? The short answer is “no” technically, but “yes” in effect and its users can and do assume CA."

"The purist answer is “no” because partitions can happen and in fact have happened at Google, and during some partitions, Spanner chooses C and forfeits A. It is technically a CP system."

https://cloudplatform.googleblog.com/2017/02/inside-Cloud-Sp...
What Are Some Examples of Well-Written C# Code?
I know C# isn't the most popular language for open source projects, but as a junior developer wanting to read C# in order to improve, where can I find some good projects to read?
try Gog.com
you can run this yourself with ngnix but if you have everything inside DO then the ability to easily add new droplets is great. create droplets on demand from snapshots, add them to load balance and you are ready.
What cheeses me off is that the artists aren't making that money. Under an auction system more of the money would go into artists' pockets rather than scalpers - which is surely something hardcore fans would want.
Everything You Always Wanted to Know About Writing Good Rake Tasks
Interesting reading: Spanner Whitepaper

https://cloud.google.com/spanner/docs/whitepapers/SpannerAnd...
I thought git stored diffs too. But I don't understand what difference it makes, isn't the commit storage format an implementation detail? If you want to get to B from A, then I can store B or store B-A. When I have B and want to show a diff, I can calculate B-A. When I have B-A and want to show a diff, it's a no-op. When I have B and want to work, it's a no-op, but when I have B-A and want to work, I have to populate the working tree with A + B-A. It doesn't feel like there's a fundamental difference in the model either way.

But if you don't have A in the first place, then there's a real problem, how to take B-A and reconstruct B, without knowing what A is. You have to find A, and there may be multiple acceptable A's. It seems like the fundamental difference here would be not having a strict "parent" for any given patch. I can see why that would make some workflows a little nicer, not being forced to rebase, but I don't see any massive advantages -- as a user what does this really buy me? Does it enable some things like that are impossible with git? Or does it mainly make some advanced git workflows easier?
I hear this question a hundred different ways. What do you even mean by performance? There's so many dimensions to a web server.
Well I could just add two compute nodes running IPVS and keepalived and get the same thing no? I think that was the OPs point. It seems like that might be far cheaper that this offering.
> clients can do globally consistent reads across the entire database without locking

How is this possible across data centres? Does it send data everywhere at once?

Seems too good to be true of course but if it works and scales it might be worthwhile just not having to worry about your database scaling? Still I don't believe it ;-)

EDIT: further info...

> Spanner mitigates this by having each member be a Paxos group, thus ensuring each 2PC “member” is highly available even if some of its Paxos participants are down. Data is divided into groups that form the basic unit of placement and replication.

So it's SQL with Paxos that presumably never get's confused but during a partition will presumably not be consistent.
It seems that several of the WikiProjects that are currently being worked on are aimed at improving stub articles ("an article deemed too short to provide encyclopedic coverage of a subject"). From the screenshot of the article the author references, his article was a stub. My guess is that someone tried to improve it, thinking that a book's coverage would be deemed encyclopedic, then when it was deleted, the person who deleted saw that it had previously been a stub and didn't look further into it.
Pipelines vs. MapReduce to Speed Up Data Aggregation in MongoDB
Agriculture as “Worst Mistake in the History of the Human Race”?
Never really took time to reflect on good usages of rake tasks, on my quest for good practices, I found this article to have pretty much nailed it!
The white paper is available here: http://static.googleusercontent.com/media/research.google.co...

for anyone interested
> What do they know about the CAP theorem that I don't?

Their statement, for what it's worth:
https://cloudplatform.googleblog.com/2017/02/inside-Cloud-Sp...
35,000 office workers for 1 city?

I realize Munich is a pretty big city, but holy crap, that sounds extremely bloated. I can definitely see why they tried to save money on Windows licenses, but perhaps their choice of OS isn't the problem that needed solving in the first place. Maybe their efforts (and money) were better spent on automating many processes (e.g. like you said - printing ID cards should be 100% automated and not require human intervention in most cases)

Or maybe it's total employees, and not only people who sit in the office?

If I were mayor, I'd seriously look at the bureaucratic bloat required to run the city and trying to make it more efficient (Windows to Linux you just shift money around from licensing to retraining and overhead)
We will look into it after we hit 1.0.
>but people have a visceral negative reaction to arbitrageurs since they didn't do anything to "earn" their profits

I don't think there's anything wrong with getting money that you didn't earn (so long as you're not exploiting people, as the bourgeoisie do); I do think there is something ethically questionable about forcing (I use the word 'forcing' to refer to the idea that within the confines of show-going, it is the only available choice) people to pay 3x more for something out of greed.
I'm using it for failover setup ( 2 x db + 2 x app + 1 x lb ) for small traffic app.

For the LB I use haproxy server only, which has it's own healthcheck.
The files could have been numbered consecutively.
At the end of the article, it says even people who'd seen an elephant -- there was one in London -- didn't necessarily draw it correctly.
My Amazon login doesn't work. Is anyone else experiencing this issue? I just logged in on Amazon.com just fine using the same credentials (I use a PW manager). Thanks in advance.
I'm no archaeologist but here in NZ there often isn't a ton of archeology as much of what was used locally easily perishes with time - wood, flax etc. Possibly relevant but someone more informed maybe able to comment.
They write that it's a CP system. So A is not guaranteed, but in practice they are able to provide A most of the time, with a private network and only 1 failure in all of 2016 (whatever that means).
I'm not sure it does make onboarding trivial. How do I join WhatsApp/Signal/Telegram with an iPad or iPod Touch? A laptop? A handheld gaming console like a PlayStation Vita? I can't sign up for any of these services without a phone and a phone number. Sorry, my phone number is a legacy communication layer that should just be replaced by the Internet.

When I went to Brazil last year, I switched the SIM in my phone from a UK one to a Brazilian pay-as-you-go SIM. WhatsApp said "oh, you've changed SIM, do you still want to use your existing (UK) number?" I guess that's okay behaviour. Does Signal do this? Does Telegram do this? I don't know. I have to keep track of what goes on when I change my SIM. That's a layer violation. The network I use to access the Internet shouldn't affect the behaviour of my messaging app. If I'm chatting to my friends, it shouldn't matter whether I have a UK SIM, a Brazilian SIM or no SIM at all.

What if I move from the UK to Brazil permanently and get a long-term mobile contract? Shall I still use my UK number for WhatsApp/Signal/Telegram or should I use a Brazilian one? Will I lose my contacts? Will they stop being able to talk to me because my number has changed? I don't know. That's pointless administrative overhead.

What if I let my pay-as-you-go number go stale? If you don't make a call or text for six months or so, the mobile network may disconnect your number. At some point, they'll reassign that number. Can that person now access my WhatsApp/Signal/Telegram? Okay, well, maybe we put a secondary password on it like Telegram to stop the account getting hacked if I lose access to the mobile number. Now the person who inherits my phone number can't set up their own Telegram account because I'm already "squatting" the old number.

This is ridiculous to me. It's like an Internet without DNS, where we have to manually keep track of each other's IP addresses. Nasty legacy phone network shit. Don't need it, don't want to deal with it.
In the past I've used http://devdocs.io/, which is available offline.
Eric Brewer who is the author of the CAP theorem works at Google now. He has a post here: https://cloudplatform.googleblog.com/2017/02/inside-Cloud-Sp....
Sorry, but you are just wrong. The C standard does define an abstract machine.

> but the compiler should be required to either detect and flag [dereferencing the null pointer] as an error

How could the compiler detect at compile time the value of a run time variable? Sure, some instances might be detectable, but those are the extreme minority. Static analysis tools such as Clang are already capable of finding those compile time NULLs.

> or compile it into the machine operations indicated. The actual execution in the second case may depend on the environment.

Which is exactly what's done now. In most platforms accessing NULL causes a crash, so either the pointer is not null and the program doesn't crash, so the check in redundant; or the pointer is null and the does crash, so the check is never executed.
Why? Strong consistency isn't mutually exclusive with scalability. Google has written about it at length[1][2][3].

Furthermore, there are already more than a few attempts underway to build scalable relational databases ("NewSQL") outside Google.[4]

1: https://research.google.com/pubs/pub36971.html

2: https://research.google.com/archive/spanner.html

3: http://datascienceassn.org/sites/default/files/F1%20A%20Dist...

4: http://db.cs.cmu.edu/papers/2016/pavlo-newsql-sigmodrec2016....
Pedantic since you're just making a point, but maxBy would be the better performing choice though you'd have to do a non-empty check...or just a fold if you can stand a default on empty list.
It's super objective for me, and hard to explain, if not impossible. I do recognize KFE's qualities and I have no real criticism of it, frankly, it's this difference between qt and gtk that I can't properly explain. :)
Why few people dare eat the boss’s M&Ms and other dynamics of the office candy jar
> To understand how, read this post by the author of the CAP Theorem and Google Vice President of Infrastructure, Eric Brewer.

Seems like they might know a lot :)
> This is a bold claim. What do they know about the CAP theorem that I don't?

It's right there in the article:

"Remarkably, Cloud Spanner achieves this combination of features without violating the CAP Theorem. To understand how, read this post by the author of the CAP Theorem and Google Vice President of Infrastructure, Eric Brewer."

The post they are referring to: https://cloudplatform.googleblog.com/2017/02/inside-Cloud-Sp...
Probably not on mobile, carriers the tend to share IPv4 address, you would get the same fingerprint ID on every AT&T iPhone 7 in France, for example.
I'm not personally no, the company I work for is - that's why I looked.

Essentially what I'm after is Digitalocean's load balancing per-domain rather than per-infrastructure

If it was my own stuff I'd just do it myself, work can afford the premium if it includes a support team when things break
> So you think it's okay for someone to do something bad, so long as it's trivial and not related to one's bare survival?

If buying low and selling high is so bad that it should be outlawed, you can kiss everything you know goodbye.
If they had just scraped ~205 images, they would have a > 50% chance of getting a repeat.
I'm secretary for an org. We're trying to use uberconference for our executive board meetings. I like that remotes can call into conference bridge via phone.

I bought a SABRA bluetooth thingie for the room. Seems to work well.

Our results are mixed. We test out the conf room before the meeting starts. Good to go. Then weird stuff happens. People being muted. Their icon shows them talking, but no sound. People being dropped.

I don't mind the unreliability so much. 7 laws of networking and so forth.

I frikkin hate that I don't know what's broken, so can't hope to fix it. Especially DURING the frikkin meeting.
Not directly related, but my dad used to take people to major tennis tournaments through a company he started. Many times, those who'd purchased tickets for the entire tournament didn't want to go to every match, so they'd ask him if they could sell him back individual tickets, happily taking face value. My dad, who speaks several languages, was nearly always able to move the tickets for far more than face value, and has told me many a story about getting to know professional scalpers across Europe. Every time I read a story about scalping it reminds me of him.
Believable but at the same time might be just marketing, especially the last part. Call me cynical.
What's your workload like?
I wanted to like the post and then I read this:

> As a developer, the only performance that I care about is my development cycle
I didn't mean that javascript had parallel computing, but that it would get it. I know both PHP and Javascript will get it. Because they have the user-base, they will have the features. (Though I don't expect it until the end of EC6-7 and about PHP 10.)

My languages mostly are C-based Bash, Python, Lua, Objective-c, Javascript (EC5), Go, etc...
Interesting.

You can't swing a cat without hitting a wind tower construction crew in OK and the TX panhandle.
Oh and the newer white paper from today: https://cloud.google.com/spanner/docs/whitepapers/SpannerAnd...
Few years ago I've used few lines of code that I've copied from Skype. There was a hidden invisible chracter that was breaking everything, I've lost about 2 hours until I found it through a hex editor (I rewrote the pasted code and wasn't expecting for that character to be there). That character was not a part of the original message, but it was added by Skype.
Do I understand it correctly if I say this is like the event-sourcing model applied to version control?
Notes on C++ Exception Handling and Stack Unwinding
It seems that copy paste from book and the insertion of copyright violation banner were made in the same edit. Why on earth?
> The government's case hinged mostly on whether Wiseguy had "circumvented" Ticketmaster's system.

While I hate scalpers, I have to ask: why is this illegal? Is using a screen reader "circumventing the system" if I get rid of all font and graphics? Is using an adblocker "circumventing the system" ?
Well TFA says he was on a guided tour, so I imagine he wanted to get a better sense of what the support folks have to go through. We do something similar at work, where you can do a "ride along" to get a better idea of what folks using our internal tools needs are.
".. it needs a central server."

There is a PDF by the original author that explains the difference from "VPNs".

A reachable IP address and a TAP device are the only requirements.

For example, two edges can also be supernodes. A third party supernode would only be needed for the initial connection. Once connected, then each can use the supernode run by the other. The third party is no longer needed. No central server.

As for DHT, who runs the DHT bootstrap server?

Do DHT users run their own bootstrap servers?

Do users exercise any control over the DHT? Who does?
Sorry mate, I don't think you have a good enough grasp on econ to have this discussion.
All that sounds like differences in the intr internal model. From everything I have understood it wor would be possible to reimplement git to store only patches, their position in the commit tree and the commit hash, and have it behave exactly like the git reference implementation.

Is the difference between patches and git commits in a DAG really only a difference in internal representations or is there a user-facing difference?
Java was a way For Sun to sell more servers so they pushed it as application server technology.
FWIW I think you need to move your allegations of flamewars up-thread. It was a pretty measured response to the comment IMO, viz:

>"Yet, that doesn't stop Christians from misinterpreting the Muslim concept of jihad"

It's an explanation for the misinterpretation of jihad by non-Muslims. Why that comment should be allowed without the historic nature of Mohammed - based on Koran and Hadith, at least - being noted seems a little, shall we say, biased.

It's not a solely Christian thing to interpret jihad as [potentially] a bloody mode of aggression, it's inter alia an atheist, hindu, and indeed fundamentalist Muslim thing too.

AFAIR I've not been an initiator of something that could be interpreted as flamewars; your objection is noted.

I assume [flagged] means this is invisible to the thread? AFAIA there's no other way to respond, so please note that I'm not trying to disobey your edict, but instead to place my comment in context.
That doesn't seem to be the case in practice?
But when everyone and their dog can attend, as opposed to just the <deserving demographic of hardcore fans>, the event stops being exclusive. What's the point of going, then?

Sure, it's exclusive when tickets are only available at high prices, but surely, you understand that to be the wrong kind of exclusive!
I don't think it is clear that there is really a deletionist culture.

There's 5 million English articles. Even a very high quality bot will make hundreds or thousands of mistakes if it is doing anything vaguely interesting across a broad swath of articles.

Which doesn't excuse having a crap process at the margin, but nor does a moderate volume of unfortunate experiences make the case that it is all falling apart.
Why not hire someone in Fiverr to proofread this? Not sure if that is too expensive. Also, have a donate button for someone to donate. Then you can use that money to improve the book. GL!
Apparently two full 256 bit ALUs capable of 4 cycle MAD and 14 cycle division. Those probably take a lot of space.

It is probably a good call on AMD part though, as applications that are sensitive to AVX performance are still rare and if they can get a cheaper core which is faster on integer loads it is a good tradeoff.
Since the topic is relevant, I was disappointed with how basic Amazon ELB is.

Many features such as weighted or IP-based routing are missing.

I know it's possible to achieve that with other options like Route53 or running your own load balancers behind ELB but for my basic needs and projects that's too much cost and complexity.

I just want a "load balancer as a service" that has a decent feature-set.
Theoretically it means they are giving up on being Partition Tolerant. There was a popular post a while ago about how the P can't be sacrificed. Because if it is... everything else will fail.

Being Google they are probably prideful enough to think their servers could never have an outage. Which yes, I agree with you, that is a very scary claim.
DO's offering is a fixed monthly rate.
I find this article much more interesting than op.

In particular, the focus on keeping functional codebases simple is, I believe, the core of what makes a successful functional codebase.

Basically, at some point when working languages like Haskell, Scala or F#, you are given a choice between power and ease-of-hire/onboarding. Apparently, they made the second choice, which I believe is the good one in their situation.

I believe it is possible to stick to functional languages and make a team-enforced decision to keep things simple, but the choice of simply opting out of it is also on the table, and I won't blame them for it.

I would just have preferred having a simple language AND a great type system.
Does someone running a wordpress site need HA though? You could also just buy a pingdom account and be notified when there is a problem and resolve it via support as needed. Adding an LB tier is adding a layer of complexity and different failure modes. That's why I was asking if maybe they were targeting larger customers now.
The analysis is done from the perspective of an imperative programmer.

It's like someone writing Java-like Python code. When you write in Scala you completely change the way you write code, the whole paradigm.

This question could be asked Haskell vs Go, it would be the same IMO.

If you have chosen Scala, you don't choose it as a Java replacement, you choose it as a programming philosophy replacement

Edit: Picking on Scala for lack of network libs is like picking on Go for lack of Category theory libs
I heard about some reasons why open-sourcing software is a little difficult when MS open-sourced Windows LiveWriter as Open Live Writer. The reasoning is that a lot of the code/supporting tools that they use have non-permissive licenses and is also reused in other places which makes it an involved process to decouple it from the application. A good example is the Ribbon interface in OLW (which I think Scott Hanselman or someone got rewritten so that it could be open-sourced.).

Don't quote me on this though, because I wasn't a first party member of the conversations.
Free means you don't have to give them money to use it. If you use a different definition, you will often be confused.
You argument is that its cheap to review. Sure, but why should all review sites duplicate the work? Why can't valve do the review, stop the crap at the source.

Stop apologizing for shitty content making it to the store shelves.
It was also a very useful employee relations move: Bill wasn't "above" the task of a customer support call and demonstrated respect for the support workers by performing his best in their role, even if very temporarily.
But an efficient primary market disconnects you from your fans by advantaging richer customers.

Probably not the best way to get the crowd that actually care about your music.
You're charging people to manage their environments (providing expertise) and complaining about needing to develop additional skills to do so efficiently.

If you have the data with price/performance comparisons, I'd think this is something the rest of us would be interested in.
As an alternative, predating Portmap by around 700 RFCs: tcpmux[0]. Everything connects to port 1 and asks for services by name.

[0]: https://tools.ietf.org/html/rfc1078
That's not true, I know several companies happy with GPL, and not AGPL.

The thing they worry about is deciding what falls under AGPL. With GPL it is easy, if an executable leaves the building, source goes with it. With AGPL, when almost very thing is web connected, it can be hard to draw the line on what you have to open source (or just tell people you are using.. do I have to add every AGPL program in an Ubuntu server install, just in case one is getting used by something else?)