[–] 4 points 1 week ago

Maybe there is something wrong with me but the "bad things are actually good because revealed preference" people and similar are the highlights of that site at this point. There is just something fascinating about it.

  • source
  • parent
  • context
  • [–] 7 points 3 months ago*

    Think of a box with 4 particles a, b, c and d. If every particle is on the left side of the box, then there is only 1 way to divide them up. [(a, b, c, d), ()]

    If there are 2 particles on the left side of the box and 2 particles on the right side of the box, then there are 6 ways to divide them up:

    [(a, b), (c, d)]
    [(a, c), (b, d)]
    [(a, d), (b, c)]
    [(b, c), (a, d)]
    [(b, d), (a, c)]
    [(c, d), (a, b)]

    In total you've got 16 possible arrangements, the 2-2 state has the "highest" entropy because you're more likely to end up with the one that takes up 6/16 arrangements.

  • source
  • parent
  • context
  • [–] 2 points 3 months ago*

    Look the ancient rom- I mean greeks were bronze, that's a totally different color from hispanic. Unfortunately bronze doesn't exist anymore and all the scrolls were written in black and white so we can never verify this.

  • source
  • parent
  • context
  • Find the bug (a classic) (programming.dev)
     
    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.

    view more: next ›