Show HN: HN Avatars in 357 bytes
31–40 of 536 posts
Re: Show HN: HN Avatars in 357 bytes
#32Earlier quoted context omitted.
Violentmonkey is a nice open source alternative to Greasemonkey.
Your wording implies Greasemonkey is not open source. I don’t know if that was your intention or not, but Greasemonkey is open source.
Re: Show HN: HN Avatars in 357 bytes
#33Ive been a dev for over 2 decades but I still cant grok bitwise operators - anyone have a reference that may help with that?
Re: Show HN: HN Avatars in 357 bytes
#34Re: Show HN: HN Avatars in 357 bytes
#35Ive been a dev for over 2 decades but I still cant grok bitwise operators - anyone have a reference that may help with that?
I've found the python docs[0] to be quite helpful for this topic. [0]: https://wiki.python.org/moin/BitwiseOperators
Re: Show HN: HN Avatars in 357 bytes
#36I wonder how easily you could have slipped in an obfuscated cookie stealer
Re: Show HN: HN Avatars in 357 bytes
#37Earlier quoted context omitted.
I've found the python docs[0] to be quite helpful for this topic. [0]: https://wiki.python.org/moin/BitwiseOperators
Thanks, but its still a bit confusing for me. Im looking for a really dumbed down kind of approach: input, operator, visual explanation of what its doing, output. Im a really bad learner, and didnt study computer science or anything. Ive never had a reason to touch binary, so find these operators unintuitive.
Re: Show HN: HN Avatars in 357 bytes
#38Re: Show HN: HN Avatars in 357 bytes
#39Earlier quoted context omitted.
I've found the python docs[0] to be quite helpful for this topic. [0]: https://wiki.python.org/moin/BitwiseOperators
Thanks, but its still a bit confusing for me. Im looking for a really dumbed down kind of approach: input, operator, visual explanation of what its doing, output. Im a really bad learner, and didnt study computer science or anything. Ive never had a reason to touch binary, so find these operators unintuitive.
In fact the whole course might be useful!
Re: Show HN: HN Avatars in 357 bytes
#40Earlier quoted context omitted.
I've found the python docs[0] to be quite helpful for this topic. [0]: https://wiki.python.org/moin/BitwiseOperators
Thanks, but its still a bit confusing for me. Im looking for a really dumbed down kind of approach: input, operator, visual explanation of what its doing, output. Im a really bad learner, and didnt study computer science or anything. Ive never had a reason to touch binary, so find these operators unintuitive.
The use case for bitwise operations is to control the value of 1 bit.
Consider if you have a 0000 1000 value. It's mapped to hardware output so the 4th LED is on. Now you want to turn the 5th on, and the 4th off. You would use a left shift so the output becomes 0001 0000.
That's all there is to it. Bitwise operators operate on bits, not bytes. Because computers operate on bytes, and you can't address a bit - you have to modify bytes to accomplish your goal.