218 karma · joined Apr 11, 2022 (4y ago) · 46 submissions
comment 4y ago · link · parent
comment 4y ago · link · parent
HEY! Why is everything being centralized to just a few services? Why is the web dying?!
comment 4y ago · link · parent
comment 4y ago · link · parent
1. A shitty job at $15 an hour is equally unappealing at $16 an hour. Someone who doesn't want the crap hours, crap boss, and crap customer interactions isn't going to change their mind over an extra buck an hour. The money isn't the problem, it's that companies make it _not rewarding_ to work.
2. Raising pay ratchets up inflation, and isn't a response. Cause and effect are reversed. Unlike food, gas, houses, movie tickets, and restaurants, the amount of money transacted in wages/salary cannot go down. McDonald's can't tell their employees that due to supply and demand, they are only going to make $14.83 an hour this week. Imagine if your company lowered wages due to the "expected recession". You would start looking for a new role. This means pay increases can never go down again after a temporary bump. I won't say it's the cause, but it artificially limits deflation from ever pulling things back. Like an elevator that can only go up.
comment 4y ago · link · parent
This affected me recently, so I have sympathy for the author. Trying to upgrade an older project I had to the module system meant trying to find out how to import modules which don't have reachable URLs and were only on the GOPATH. At I hate how it forces to you create a module everytime. some point programming in Go stopped being for fun.
comment 4y ago · link · parent
comment 4y ago · link · parent
comment 4y ago · link · parent
String.intern() also offers some other benefits for certain use cases. Earlier versions of java did not cache the String hashcode, which meant that to use Strings as hash table keys meant hashing a lot more. But, an interned string can be used in an IdentityHashMap, which was faster for a long portion of Java's early life.
(I worked on a moderately popular Java library that targeted Java 1.5 as the minimum version. It does occasionally come up useful, but only in specific, and increasingly rare circumstances)
comment 4y ago · link · parent
comment 4y ago · link · parent
volatile int a;
a = 1;
print(a) // Could this print Zero?
Even assuming only one program, one thread, one process, no interleaving and nothing fishy, could the final line print 0? In the serializable consistency, the answer is yes. Linearizability is framed in terms of clocks, but really that's just trying to establish that one thing happened before another. The "clock" in this example is the line number.comment 4y ago · link · parent
Interfaces don't have a zero type, which means that we can't have an atomic.Value which stores Shape. Atomic Value would be much easier to reason about if it had store semantics similar to a regular `var foo Shape = ...`. One of the other comment threads talked about generics helping this, so maybe there is hope.
comment 4y ago · link · parent
In fact, it's even worse than that. If the Store() caller goes to sleep between setting the type and storing the pointer, it causes every Goroutine that calls Load() to block. They can't make forward progress if the store caller hangs.
comment 4y ago · link · parent
I'll add one other data race goof: atomic.Value. Look at the implementation. Unlike pretty much every other language I've seen, atomic.Value isn't really atomic, since the concrete type can't ever change after being set. This stems from fact that interfaces are two words rather than one, and they can't be (hardware) atomically set. To fix it, Go just documents "hey, don't do that", and then panics if you do.
comment 4y ago · link · parent
In the beginning the web was so new, and growing so fast, with new things, amazing sites, and more people getting online. Like all things in life, competition arises, and better sites started getting much more of the market share. People's expectations for what a website could offer rose tremendously, and would abandon a site if it wasn't up to snuff. Sites needed to have ever improving visuals, better content, better people, better interactivity, better everything.
And I couldn't keep up with it. Users went from being happy to try out something new to dismissive and bitter. More and more it felt like work to try to make them happy, to keep building more and better things. And that's exactly what happened. The Internet became work. It's why we all have to be paid to come to work and build the Internet. No one does it for free, because it's a thankless grueling job. The only websites that survived were the ones that made money, and could afford to use that money to hire people. Google, Facebook, Myspace, Stumbleupon, 9gag, and even Something Awful became money oriented rather than community oriented. They had to, or else.
The advice to "Always Own Your Own Platform" is a euphemistic way of saying make a whole company out of your site and underpay the only employee (you) for ever. The reason we don't own our own platform anymore is because it's soooo annoying to do so. It wasn't an accident.
comment 4y ago · link · parent
Framing best in terms of file size or encoding speed is a really use-specific framing, and not ideal for preservation.
comment 4y ago · link · parent
An easy way to verify: Are generics in Clojure, Scala, or JRuby the same as Java (the programming language)?
comment 4y ago · link · parent
comment 4y ago · link · parent
You ask what this person should have done? Not sign up for other services. The other providers are better quality, but regresses on all the rest of the experience. Youtube TV is more than $60 a month. Disney+ great content, but an extremely narrow content offering ("few but ripe"). HBO lagged like crazy when the season finale of GOT came out. When the regular person you asked about spends money on these other services, it encourages them to grow. The content is great, but the bad-experience, price, and schism is what they will get in return. They are unknowingly demanding it.
comment 4y ago · link · parent
comment 4y ago · link · parent
This is also a false narrative. Netflix subscribers seldomly churn. Long lived accounts typically don't cancel, since new content comes out on a weekly basis. You can't cancel your cable subscription and just buy Disney+; you usually keep Netflix around too. Netflix is only tangentially competing with other streamers; they are directly competing with cable.
The subscriber count is affected by two things: new subscribers coming on board, and existing subscribers leaving. Since subscribers usually don't leave, the miss was on the new subscribers coming in. It absolutely was due to high growth countries (like Russia) not growing.
comment 4y ago · link · parent
comment 4y ago · link · parent
This is because consumers have been conditioned since last century to assume this is how things should be. Netflix is trying to create a new [better] experience, and this is how they are going about it. Pilots of shows suck! Almost always the second episode the characters are more realistic, more developed. Sure, it hurts when the season gets pulled, but it was a much better experience during the run. Why say it's a problem? It's just "different" from what you personally expect.