It sounds like they're talking about ETags [1] here. I don't think JavaScript has anything to do with it. [1] https://en.wikipedia.org/wiki/HTTP_ETag#Typical_usage
> deliberate choice of complexity I also don't see anything in The Complexity Trap that accuses anyone of that. I think that's a misreading. Rather, I think The Complexity Trap argues that many developers have a poor…
> The first question is: which specific time? This time will differ based on the timezone and geography. That's not what it's about. The specific time is irrelevant - that's just an arbitrary number. The reasoning in…
> Because our culture has shifted a few hours later than 'natural' time ... we stay up long past sunset and (except in northern winters) wake up significantly after dawn. But wouldn't DST be the opposite of what you…
Sure, for a simple class like this I would make it immutable too. But the example is just a demonstration of the concept - you should be able to change the implementation without changing the exposed interface. When you…
This only works if your class is immutable. If a client sets either of those fields, they will now be out of sync.
If your point is 'Taxis can't compete with Uber because of the medallion system', then you're probably right. But if your point is 'Uber was primarily successful because they found a way to get around the medallion…
So hypothetically, if you paid $5 a month for this service, you would be confident they were NOT selling your information? No. A statement's truth doesn't imply its inverse [1]. It simply means if a company has…
Right, and that's what I was trying to get at when I mentioned that "some portion of the miles will expire or never be redeemed", but I guess it should be emphasized since it's the main benefit to the carriers. If you…
I found it very confusing, too. In particular, the headline makes no sense at all -- ultimately the "miles" they sell are for the very same "seats". Framing it as though the "miles business" is distinct from the "flying…
You're framing this as being harmful to the original creators of these works, but I'm not sure I can understand that, since the original creators have/had full control over their copyrights. If a creator only desired…
> Depending on which definition of "spying" you want to apply, it is spying. Without the secrecy aspect, I don't think you can say it's spying by the definition people typically use. If you went to an examination hall…
> Because many dangerous things have significant utility Yes, it certainly makes sense to distinguish based on utility, which was the whole point of the second part of my comment, and is why a comparison to gas stations…
>I would agree with you if we were talking about a defective product. But neodymium spheres are not defective, they're just dangerous. Why make a distinction between things that are dangerous on accident (defective) vs…
The article makes a good point that if you want ordering by a computed 'ranking' to be performant, your database will need to store and index that value. But then it takes another leap and says that this means your…
I'd guess it was this: http://felixge.de/2013/03/11/the-pull-request-hack.html https://news.ycombinator.com/item?id=5357417
This is a great explanation and quick tutorial on XPath, but, like regex, don't think I'd ever use it in production code unless I absolutely had to. I'm sure I'd have fun coming up with an XPath solution, but for me,…
It sounds like they're talking about ETags [1] here. I don't think JavaScript has anything to do with it. [1] https://en.wikipedia.org/wiki/HTTP_ETag#Typical_usage
> deliberate choice of complexity I also don't see anything in The Complexity Trap that accuses anyone of that. I think that's a misreading. Rather, I think The Complexity Trap argues that many developers have a poor…
> The first question is: which specific time? This time will differ based on the timezone and geography. That's not what it's about. The specific time is irrelevant - that's just an arbitrary number. The reasoning in…
> Because our culture has shifted a few hours later than 'natural' time ... we stay up long past sunset and (except in northern winters) wake up significantly after dawn. But wouldn't DST be the opposite of what you…
Sure, for a simple class like this I would make it immutable too. But the example is just a demonstration of the concept - you should be able to change the implementation without changing the exposed interface. When you…
This only works if your class is immutable. If a client sets either of those fields, they will now be out of sync.
If your point is 'Taxis can't compete with Uber because of the medallion system', then you're probably right. But if your point is 'Uber was primarily successful because they found a way to get around the medallion…
So hypothetically, if you paid $5 a month for this service, you would be confident they were NOT selling your information? No. A statement's truth doesn't imply its inverse [1]. It simply means if a company has…
Right, and that's what I was trying to get at when I mentioned that "some portion of the miles will expire or never be redeemed", but I guess it should be emphasized since it's the main benefit to the carriers. If you…
I found it very confusing, too. In particular, the headline makes no sense at all -- ultimately the "miles" they sell are for the very same "seats". Framing it as though the "miles business" is distinct from the "flying…
You're framing this as being harmful to the original creators of these works, but I'm not sure I can understand that, since the original creators have/had full control over their copyrights. If a creator only desired…
> Depending on which definition of "spying" you want to apply, it is spying. Without the secrecy aspect, I don't think you can say it's spying by the definition people typically use. If you went to an examination hall…
> Because many dangerous things have significant utility Yes, it certainly makes sense to distinguish based on utility, which was the whole point of the second part of my comment, and is why a comparison to gas stations…
>I would agree with you if we were talking about a defective product. But neodymium spheres are not defective, they're just dangerous. Why make a distinction between things that are dangerous on accident (defective) vs…
The article makes a good point that if you want ordering by a computed 'ranking' to be performant, your database will need to store and index that value. But then it takes another leap and says that this means your…
I'd guess it was this: http://felixge.de/2013/03/11/the-pull-request-hack.html https://news.ycombinator.com/item?id=5357417
This is a great explanation and quick tutorial on XPath, but, like regex, don't think I'd ever use it in production code unless I absolutely had to. I'm sure I'd have fun coming up with an XPath solution, but for me,…