Type error Unhashable type:set

The individual items that you put into a set can’t be mutable, because if they changed, the effective hash would change and thus the ability to check for inclusion would break down. Instead, you need to put immutable objects into a set – e.g. frozensets. If you change the return statement from your enum method to… …then it … Read more

git returns http error 407 from proxy after CONNECT

What worked for me is something similar to what rohitmohta is proposing ; in regular DOS command prompt (not on git bash) : first and in some cases also then (I confirm it’s necessary : if set to true getting “SSL certificate problem: unable to get local issuer certificate” error) in my case, no need … Read more

What is the difference between la and li in opcodes in MIPS?

They’re fairly similar, as both are (mostly) used for loading immediate values. Both of them are also pseudo-instructions, so it’s really up to each assembler that supports them to determine exactly how they should function. li stands for Load Immediate and is a convenient way of loading an immediate up to 32 bits in size. Instructions like addi and ori can … Read more

Change Color of Fonts in DIV (CSS)

Your first CSS selector—social.h2—is looking for the “social” element in the “h2”, class, e.g.: Class selectors are proceeded with a dot (.). Also, use a space () to indicate that one element is inside of another. To find an <h2> descendant of an element in the social class, try something like: To get a better understanding of CSS selectors … Read more