It's truly impressive to be able to explain a concept this complex in such a simple and concise way. Bravo and thank you. I think I understand the basic concept now, but probably wouldn't be able to articulate it half as well if I were to relay the information. Gotta talk it out with my rubber ducky.
@avtem4 жыл бұрын
Wow! I've been learning c++ for 2 years, but you explained it so well for me, that now I understand a lot better everything!
@drcl74295 жыл бұрын
since ECMA 6 it is possible to write the binary values directly like how you do in other languages. i.e. assign using: let x = 0b1010101; console.log(x); will output 85
@codesymphony2 жыл бұрын
can you convert it back to binary? or at least a string that represents the binary?
@pipitgusmayanti83422 жыл бұрын
@@codesymphony x.toString(2)
@codesymphony2 жыл бұрын
@@pipitgusmayanti8342 Thank you.
@user-sw1wq8lh2w4 жыл бұрын
showing a permissions system as a bitwise example really helped me to see the use cases for this type of work.
@systemofapwne6 жыл бұрын
Even though, you speak about how "special" the case is in terms of "when you need it" (and I can't disagree on that), I really also expected negate, XOR and also the bitwise shift operators. Once you started with bitwise operations, it's very common that you also will use the other operators too. In cryptography or bare network commnication, you will stumble upon this pretty fast (except if you use existing libs of course).
@tonyynot4844 жыл бұрын
.. then use libs.. why go the hard way when there's an easy way?
@toddroberts78866 жыл бұрын
This wasn't confusing at all actually, thanks to you.
@WebSurfingIsMyPastime5 жыл бұрын
Exactly what I was looking for, literally had this same issue to resolve for work, had not been introduced to bitwise permissions prior to my current task.
@placeholder_name3213 жыл бұрын
the LEAST confusing I've ever watched on binary code and bitwise operators. Thank you!!
@nchecker006 жыл бұрын
Thanks! I didn't even notice how the vid come to end. Great job
@kaylanwalker50225 жыл бұрын
Thanks, needed this today to decode googles encoded polyline response when using the directions api with fetch.
@johnbaxter75822 жыл бұрын
Mosh : "bitwise operators don't have much uses" Me : "Are you sure about that?"
@TheCodingOdyssey4 жыл бұрын
this was really interesting. I'll go ahead and try this right now so I can better add it to my long term memory :D
@matt-g-recovers3 жыл бұрын
Thank the gods who power my computer for Mosh...I am almost there. I have been all over asking: Yes, properly confusing but WHY would we bother ? and WHY shift them(java) with any certainty of what is happening!??
@grishavasilyan Жыл бұрын
I'm trying to understand some part of React core concept and there used that biwise operators. Now I get what it is. Thanks a lot.
@lancemarchetti8673 Жыл бұрын
I actually use this technique a lot with CTF obfuscation challenges.
@thesoftwarecoder16034 жыл бұрын
Oh Mosh! You are incredible! Thank you so much! You saved my Day! Great explanation capabilities, easy and useful! Go ahead! Thanks a lot!
@bijay7 Жыл бұрын
This was really good. Your explanations are very crisp and to the point Mosh 👏🏽
@mawesome4ever3 жыл бұрын
Wow, this is exactly what i was looking for! Thank you! I wanted to make a permissions system similar to Discord and you gave me just the perfect example, wow!
@crcreatives3298 Жыл бұрын
i am from india your explanatyoin is so amazing
@yatnoktse68545 жыл бұрын
clear enough to learn bitwise, thanks.
@matthewblasco4720 Жыл бұрын
Your explanation is so good. So helpfullllll aaaaa
@danmiller77093 жыл бұрын
Great explanation! Just seems like an overly complicated validation system. But I'm sure that's selling it short. Thanks Mosh!
@arthursvpb4 жыл бұрын
This explanation was outstanding!
@rotinaindependente6 жыл бұрын
Please you need to organize a playlist, hehe!
@yutokirizaki79672 жыл бұрын
Thank you now I fully understand it
@Adarsh-ox3dt3 жыл бұрын
That's confusing but you makes it easy.
@RobertoGPuentesDiaz2 жыл бұрын
Thanks for video. I think same. Permissions is ubique case that use...
@wiskasIO2 жыл бұрын
Thank you, very helpful.
@sumabich7213 жыл бұрын
Okay this was helpful. I'd love to see some real examples for >> and
@valeriia869 Жыл бұрын
Wow! Thanks for the clear explanation!
@chandrakantht37386 жыл бұрын
Awesome tutorial mash. Thanks for videos
@kedar_bairagi3 жыл бұрын
you are great teacher. thank you 🙏❤️
@JD-oc3cd4 жыл бұрын
Thanks mosh I was looking for this 🙏
@talk2s5061X5 жыл бұрын
Thanks mate really took me a while to get there cheers 😅
@danielhbrito3 жыл бұрын
Awesome example!
@nakiyingimiriam24604 жыл бұрын
Thank you, i have understood clearly
@kingzeddicus6 жыл бұрын
Thanks. This is very informative. I think this is a better approach to some things, definitely very useful.
@maresolaris4 жыл бұрын
Great thank you for this great explanation. Excellent work!
@CryptoJitsu3 жыл бұрын
Fantastic explanation!!
@gregattraf5 жыл бұрын
Very nice explanation :) You have made it make sense!
@notjasonknott5 жыл бұрын
Brilliant tutorial, thanks a lot.
@shamirsas7093 жыл бұрын
This was awesome. Thank you.
@azatkadyrov36344 жыл бұрын
Wow amazing. It always bothered me not to care about bitwise operators, but your video made very clear how useful they can be !
@aylictal5 жыл бұрын
A good use of bitwise operators is for generating voxels, or pixel data for some applications. I am dabbling a bit with mode7 graphics and an example of these two operators can be seen here: codepen.io/simon-kyger/pen/WLaRmj
@joshbarros19952 жыл бұрын
Very confusing but still very cool hehe. Thank you sooo much
@caiocutrim35965 жыл бұрын
I really like that....I think it's simple
@tomasuhrik1662 Жыл бұрын
I am 100% going to replace one of my colleague's "logical or" with a "bitwise or" just to see them debug it with popcorn in my hands. I am also 100% excommunicating anyone who ever uses this unironically for any kind of permissioning system.
@FredoCorleone6 жыл бұрын
Never used bitwise operator... But it is interesting
@carlosbenavides6704 жыл бұрын
Good Stuff. Thanks Sr.
@RagazzoKZ5 жыл бұрын
Cool! Thanks!
@iamdanyaal3 жыл бұрын
Thank You Sir
@tomarik2 жыл бұрын
LeetCode 78 solution #3
@Meleeman0113 жыл бұрын
i'm here because of a leetcode challenge lol
@dexdevlon2 жыл бұрын
Mosh: Bitwise operators are not common Me seeing them in the wild be like: 😶
@Kitsune_Dev5 жыл бұрын
This is great thanks!
@Hasan-po6ud3 жыл бұрын
Thanks
@imdadulzaman34505 жыл бұрын
this video went over my head
@davidyomtobian85054 жыл бұрын
great video can you also explain how
@maxgomes924 жыл бұрын
Great video!
@deltdev45406 жыл бұрын
what do you mean " we human " mosh XD.... you superHuman
@nateo70454 жыл бұрын
In the example you gave in the video, is there any reason to ever do that outside of just to learn about bitwise operators lol?
@pereation5992 жыл бұрын
Thanks. Top!
@vincentpena70176 жыл бұрын
What vscode theme youre using? So sick! Thanks
@bismillahithouse4 жыл бұрын
What software are you using?
@JT-mr3db7 ай бұрын
And just like that, demystified!
@1421jenny5 жыл бұрын
Once I pay for this course can I access it any time ? Is this a lifetime access course @mosh
@umairashraf31306 жыл бұрын
Good introduction, but why you need decimal at one place and binary at other?
@arsfreelance6 жыл бұрын
because bitwise operate at binary numbers level.
@danialothman Жыл бұрын
i was so sure i am never gonna use bit operations, then I got involved in IoT and hardware. RIP
@AruljothySundramoorthy3 жыл бұрын
Awesome
@jpmourag22724 жыл бұрын
what's your VSCode theme?
@NphiniT2 жыл бұрын
Oh so it's just Logic from mathematics. Gotchya
@MathewAlex-hc4bf Жыл бұрын
But javascript works on the 32 bit interger binary representation of the numbers right . This is 8 bit representation . This is wrong right? Is there anyone who can help me ?
@fulanipride55293 жыл бұрын
Honestly I don't wanna say this but I don't understand. BTW I guess u said they're not that important right...
@SuperIL126 ай бұрын
you should explain properly, explain the mathematics, how you convert from base 2 to base 10, and where are the other bitwise operators? The example was simple an probably fun for some, but confusing while you were building it up. For a 10 min video, it was decent. The main point of the video, explaining the 2 operators, was a succes, but you could've done more.
@ohmegatech666 Жыл бұрын
Rhetoric like this gives web developers a bad name. This stuff isn't obscure technical junk, it's the basic foundations of programming. Saying that it doesn't have practical value is crazy. Sure some front-end only web devs might not be using bitwise operators in their code every day but they damn well better know what they do, and full stack developers are definitely going to use them regularly
@coldcoder232 жыл бұрын
I don't think that I will use this but anyways :;))
@ShackWrong4 жыл бұрын
fuggedaboutit...
@Aswodel Жыл бұрын
CS50 week 4 problem set uses bitwise operators and doesn't really explain it well enough to understand it.
@raachmhamed22333 ай бұрын
hello sir are you algerian ? please #Programming_with_Mosh