sukhmel

joined 1 year ago
[–] sukhmel 1 points 1 week ago

Depends on what was the course about. If it's about computation, then sure. If it's about OOP or architecture design (this one I wouldn't expect, unfortunately, but would be nice if it was taught somewhere), then the point is not just to run something.

[–] sukhmel 1 points 1 week ago

I mostly come to prefer composition, this approach apparently even has a wiki page. But that's in part because I use Rust that forbids inheritance, and don't have such bullshit (from delegation wiki page):

class A {
    void foo() {
        // "this" also known under the names "current", "me" and "self" in other languages
        this.bar();
    }

    void bar() {
        print("a.bar");
    }
}

class B {
    private delegate A a; // delegation link

    public B(A a) {
        this.a = a;
    }

    void foo() {
        a.foo(); // call foo() on the a-instance
    }

    void bar() {
        print("b.bar");
    }
}

a = new A();
b = new B(a); // establish delegation between two objects

Calling b.foo() will result in b.bar being printed, since this refers to the original receiver object, b, within the context of a. The resulting ambiguity of this is referred to as object schizophrenia

Translating the implicit this into an explicit parameter, the call (in B, with a a delegate) a.foo() translates to A.foo(b), using the type of a for method resolution, but the delegating object b for the this argument.

Why would one substitute b as this when called from b.a is beyond me, seriously.

[–] sukhmel 19 points 1 week ago

Even if it is not their fault, what people see is that they provide bad quality service. Very low percentage ofthem will care to read details when Netflix publishes a post-mortem of an issue, assuming they even do.

[–] sukhmel 3 points 1 week ago

changing a provider is as simple as

making sure every single account you had that is tied to your email now points to a correct new one. And also informing every one of your contacts of the change, which is easier but also less efficient since half of them is going to miss the announcement and keep writing to an email that no longer exists

[–] sukhmel 5 points 1 week ago (4 children)

Oh, but ey wanted to be edgy and offensive

[–] sukhmel 2 points 1 week ago

I would argue that you mentioned events that were rare and much prepared (also omit failed attempts), while what is required for any resource extraction must be mass-available. On the other hand, I don't think any space resource mining will be reasonable, as I expect it to require more resources than provide.

[–] sukhmel 1 points 1 week ago

Hmm, that really sounds like a win-win situation 🤔

[–] sukhmel 3 points 1 week ago (1 children)

I feel like 'a half is one-third more than a third' is ambiguous and same as in 'X is N% more than Y' one may use X or Y as 100%

I'm sure that one interpretation is more common, but I don't think that it is exclusively correct

[–] sukhmel 6 points 1 week ago (3 children)

I thought Zaktor wrote "I voted for Harris" how's that "held back eir vote"?

[–] sukhmel 1 points 1 week ago

I'm afraid it's DLC only content, and requires a lot of macro-transactions

[–] sukhmel 4 points 1 week ago (1 children)

Only surviving ones

[–] sukhmel 2 points 1 week ago

¿Por qué no los dos?

view more: ‹ prev next ›