sus

joined 2 years ago
24
submitted 5 days ago by sus to c/python
 
class Node:
    def __init__(self, edges = set()):
        self.edges = edges


def main():
    foo = Node()
    bar = Node()
    quz = Node()

    foo.edges.add(bar)
    bar.edges.add(foo)

    assert(foo is not bar) # assertion succeeds
    assert(foo is not quz) # assertion succeeds
    assert(bar is not quz) # assertion succeeds
    assert(len(quz.edges) == 0) # assertion fails??


main()

spoilerMutable default values are shared across objects. The set in this case.

[–] sus 3 points 5 days ago (1 children)

It's even more direct than that, the statement itself is absolute so logically it's equivalent to saying "I am a sith"

[–] sus 2 points 6 days ago

to be fair, I may have gotten a bit lucky with the exact search, any other section of the lyrics would most likely not find it

[–] sus 6 points 6 days ago* (last edited 6 days ago) (2 children)

The first one is "Go Green" by Mitch Benn

found it in 2 minutes just by googling the lyrics in your comment, specifically this search:

"go green when they go green"

We’ll go green when you go green
You’ll go green when he goes green
We’ll get as far as aquamarine or so
But we’re still gonna call it green

but I couldn't find the second one

[–] sus -4 points 1 week ago* (last edited 1 week ago) (1 children)

disagreeing with a bunch of delusional tankies is not the same thing as trolling, and I think somewhere deep down you know that.

That you've successfully driven away 99% of people who disagree with you does not make you any more correct.

[–] sus -4 points 1 week ago (4 children)

Your unwillingness to understand does not a non sequitur make.

[–] sus 2 points 1 week ago* (last edited 1 week ago)

I long wondered how he manages to identify as a libertarian despite what he spends all his time talking about, now it's starting to make more sense lol

[–] sus 12 points 2 weeks ago

Hey, that's unfair! As long as you don't make silly beginner mistakes like using the standard library's string implementation, the standard library's regex implementation, the standard library's hash table implementation, or standard io, C++ is almost always faster than python!

[–] sus 15 points 2 weeks ago* (last edited 2 weeks ago) (10 children)

the scott alexander fanclub on reddit is especially unhinged lately. Some choice picks, beginning gently with a sneer:

Anyone who says there is a 0% chance of a fried egg being sentient is overconfident. Nobody knows what causes consciousness. We have no way of detecting it & we can barely agree on a definition. So we should be less than 100% certain about anything to do with consciousness and fried eggs.

moving on,

For me, I currently believe that the way forward is gathering my Dunbar community of ~150 values-aligned people and dropping out together to live in intentional community, generally off-the-grid, interacting with technology only as a tool (no news/algorithms/push notifications), close enough to a major city to visit friends but far enough away to isolate ourselves when we want to.
We then push forward into an unknown world, supporting each other, doing enough trade and consulting with the outside world to ensure a positive trade surplus for the collective and distributing the profits among us to sustain the community.

Yes, that is a response to AI despair. In a "non-doomer thread". Because of course.

but what takes the cake is the regularly scheduled IQ thread, a beautiful dumpster fire which burns especially bright on this day. Yet one specimen soars above the din:

The average should recognize and accept their inferiority and make peace with the fact that they will live and die a mediocre life. They should stop trying to interfere in the affairs of their betters and content themselves with their own garden, which can provide enough happiness for them until the end of their life if properly cultivated.

Further study of the user's excreta clarifies that they are:

  • sincere
  • definitely not racist

warning: HEAVY PSYCHIC DAMAGE and I really hope the spoiler block functions correctly on your end

spoiler[sic] we should treat all low human capital like zoo animals regardless of skin colour [\sic]

(archives: one two three)

[–] sus 49 points 3 weeks ago (3 children)

Spotify also originally got all its music by pirating it. But later it started printing money for record labels (while fucking over musicians) so all was forgiven.

[–] sus 2 points 3 weeks ago* (last edited 3 weeks ago)

Leases would show as zero on the balance sheet if the government owned their own buildings. But of course someone decided that was "against the free market" so now the government cannot own anything in the name of "efficiency"

451
steal his look (programming.dev)
submitted 2 months ago by sus to c/[email protected]
 
402
idiot (programming.dev)
submitted 5 months ago by sus to c/[email protected]
 
 
742
average day in NPM land (programming.dev)
submitted 7 months ago by sus to c/programmer_humor
 
714
Reality check (programming.dev)
submitted 9 months ago by sus to c/[email protected]
 
426
YoE (programming.dev)
submitted 10 months ago by sus to c/programmer_humor
 
 
view more: next ›