- Видео 15
- Просмотров 24 084
illogicalgates
Добавлен 1 дек 2013
illogical gates, weird things that are interesting.
Business Inquiries: higginsjake909@gmail.com
Topics I plan to cover:
- Computers & History of computers
- Engineering technology
- Weird and interesting histories of anything technological
- Programming stuff
- Digesting Ducks
Business Inquiries: higginsjake909@gmail.com
Topics I plan to cover:
- Computers & History of computers
- Engineering technology
- Weird and interesting histories of anything technological
- Programming stuff
- Digesting Ducks
Pointers were so confusing until I watched this video
What really, truly, is a pointer? Why does anyone use them? We hear about this computer science topic early on in our programming journeys, and many of us fail to really grasp it at a fundamental level. I plan to change that today by providing a intuitive understanding of what these mysterious 'pointers' are all about.
Music Credits:
- Lofi Geek:
- Follow my Spotify Lo-Fi Playlist: [spoti.fi/3c3MEiV]
- YouTuve: ruclips.net/user/lofigeek
Playlists{BlockBuster Lofi, Japanese Lofi Playlist 2022}
References:
Pointer use cases:
- www.scaler.com/topics/uses-of-pointers-in-c/
Wikipedia is actually pretty good:
- en.wikipedia.org/wiki/Pointer_(computer_programming)
8 bit floating point
- www.cburch.com/...
Music Credits:
- Lofi Geek:
- Follow my Spotify Lo-Fi Playlist: [spoti.fi/3c3MEiV]
- YouTuve: ruclips.net/user/lofigeek
Playlists{BlockBuster Lofi, Japanese Lofi Playlist 2022}
References:
Pointer use cases:
- www.scaler.com/topics/uses-of-pointers-in-c/
Wikipedia is actually pretty good:
- en.wikipedia.org/wiki/Pointer_(computer_programming)
8 bit floating point
- www.cburch.com/...
Просмотров: 2 468
Видео
The shocking power of steam
Просмотров 1,1 тыс.Год назад
Today we talk all about steam and boiler engine explosions. The history of the worst ones, and why they are so powerful. These steam engines proved to be dangerous, especially in their early days...and not just in trains. In fact the worst maritime ship disaster happened due to a boiler explosion, The Sultana Disaster, and today I cover all of this. Hope you find this interesting, and learn a f...
Bio-Computers and Electrical Control of Fungi, Slime, & Plants
Просмотров 6 тыс.Год назад
Cordyceps computers? Mushroom Microchips? Penicillium Processors? Fungi, like the zombie fungus cordyceps, are full of complex electrical signaling, and today we discuss the potential to use these voltage spikes for advanced sensors and even possible computational ability. Could we control the cordyceps mind, instead of it controlling ours? #cordyceps #fungi #computer My Links: - iC...
BUT WHO: was the first engineer?
Просмотров 187Год назад
Who truly was the first engineer? After I present the evidence, you can decide, and hear my decision. We also cover the history of engineering in general. To answer these questions, this video covers the Egyptian pyramids, Imhotep, the origin of the word engineering, John Smeaton, the first engineering school, and more. Join me and help decide who just might be the first engineer. Sources: - ww...
Sorry, a byte is not 8 bits
Просмотров 597Год назад
What is the true size of a byte? Because it isn't defined as 8 bits. Also, what is the "IBM Big Byte". Lets cover some interesting computer science history. Music Credits: - Samuel Kim Music: ruclips.net/user/samuelkimmusic - Acorn: Sweetwater Westworld Remix: ruclips.net/video/j4yQUh2qyAg/видео.html - From Epidemic Vibes: ruclips.net/video/YbmHLHAgiUQ/видео.html - Lofi Geek: - Follow my Spotif...
A "digital" image that existed before cameras
Просмотров 282Год назад
The NIST claims this is the first digital image [1] , and its not... the true one didn't even require electricity, nor a camera! Join me on today's gate where we explore the punch card digital image from almost 200 years ago! Topics Covered: - World's first digital image - First photograph ever - Jacquard looms - Punch cards - Shelford Bidwell's transmittable image Sources: - [1] www.nist.gov/m...
Why people feared push buttons & other technologies at first
Просмотров 279Год назад
Weirdly, people in the 1800s, and early 1900s feared the electric push button. And throughout history, other seemingly beneficial technologies were feared and advised against, such as the printing press, electricity, the telegraph, and even simply reading and writing… let’s dive in to today’s Gate. Sources: - www.sciencedirect.com/science/article/abs/pii/S002210311730505X - news.harvard.edu/gaz...
BUT WHO: wrote the first hello world code?
Просмотров 1332 года назад
BUT WHO: wrote the first hello world code?
Evolution of Computers, the first programmable machine
Просмотров 4932 года назад
A journey through programming and computer history up to 1800s. We cover ancient automatons, punch cards, automatic looms, and the mechanical computer, the analytical engine. If I have used your photo or art, reach out to me and I will get you credited as soon as I see your message! Otherwise, I try to use images from the Wikimedia Commons any time I can, or copyright free sources. Sources: - j...
The Digesting Duck, a weird robot from 1739
Просмотров 4,8 тыс.2 года назад
Were you taught the story of the robotic digesting duck made by Jacques de Vaucenson in 1739? I sure wasn’t. Let me fill you in on what you’re missing, in today’s gate. There is some interesting history regarding automatic looms, punch cards, digestion machines, and more. Sources: - www.automates-boites-musique.com/index.php?file=dosgrenoble -peterschmidt.domains.swarthmore.edu/essays/pynchon/v...
Slime mold is a protist. The rest is super cool though.
8 bits actually in real world in general repsents 8 transistor gates while virtuall on computers it can represent 256 logic states which means 256 bits which actually is represwnted.simulated by 8 bits/transistor gates :) so its bit relative ewen on use
This is a great video.
Also with mushrooms how to understand them is learning the rate of the pulsation of the fungi networks. We could use A.I to understand it thus we can translate it into code and than English. Than maybe we can finally learn how they evolve and what they can do. Many applications I just thought of that just like that. lol 😝
I even know how to build a transparent glass phone that’s break resistant. Using DARPA glass classified and something with a material so light. I’m not telling anyone but I’m trying to get some individuals like nerds and a venture capitalist.
Selling my idea for a robot without metal
For one or two billion dollars plus I have alot of future projects and I know how to make them work. Just need alot of capital and huge geeks to change the world with!
@@mrcooki3monster928how can i contact u?
Nunca pensé en la invención de los botones, pero como mencionas, siempre nos reusamos a aprender algo nuevo como masa.
So they put fungal chips in people's bodies to make them do what they want?
This has got to be the best robot ever made
Umm why was it so dang hard to find a video on this. Good stuff
Appreciate it. I’m curious if there could be a better title for this video, I’m also surprised how few people find it via RUclips/Google search. I’m open to ideas if you searched something different!
@@illogicalgates For feedback, i was looking up stuff like: History of Hello World, why is hello world used and other whys i dont remember. Maybe im phrasing the question wrong lol
[Updated] QUANTUM-COMPUTING-BIO-ENGINEERING/QUANTUM-COMPUTING-BIO-RECEPTORS/QUANTUM-COMPUTING-AI-BIO-RECEPTORS Could quantum computing be used to solve the issues that are expressed with biological computers, e.g. mushroom, 'slime mold', and fungi hybrid computers (where the biological components act as receptors that produce complex output signals/information)? I believe that quantum computing is such a solution... And then, when such wonders are researched and developed upon, they will be used to easily give a biological component/functionality to [Ai] robots (when the biological component [genetically engineered 'slime mold'; engineered to function as the biological receptors for a robot] grows and becomes dense, the AI/Android could generate a sense of presence that can subconsciously be detected by human intuition. Case in point, with the light sensitivity engineered into slim mold, hybrid computing between quantum and conventional computing will allow the robot to physically experience sunlight. 'Here', were slim molds integrated into the iris of a robot, it will be function as an extension to the robot - thus allowing the Ai-robot to experience sunlight like a biological organism. Slim molds and quantum computing hold such a promise and capability. NOTE: Biological receptors on computers often overwhelm conventional computers with information. Quantum-computing could and will likely offer the solution. /Close.
yaaay i am the 1k subscriber !!! thanks for the video :D
🎉
In old days C programers were classified by number of * they understand... the best were triple * programmers... now you betrayed secrets and anyone can be eight * programmer....😅
Nice explanation, with practical example and bit of entertaing content. Keep calm and do more!
Thank you!
Quite sparse placement of data, every 16 bytes ? 😅 I know, i know you done it for clarity ;)
In memory everything is just a number. "Pointer type" is just a C type of a number that can be used as address in memory. That's it. Your program segfaults because OS sees that your program tries to read or write (or, sometimes, execute) something at the memory area that was not specifically allocated by your program. After you compiled program from C to binary (or any other compilable language) there is no variables - there is just data in memory, and stack is just a place in memory from where you start placing data of various sizes one after another. You can use any of this data as address for instructions that can operate on addresses.
Great video. I had done leetcode problems and DSA class and I never really understood what a pointer exactly was until I took an assembly class. Once you see a linked list in memory stack you realize it’s literally just the object and then the address of the next object directly after it in memory.
Appreciate it!
Pointer just the bad name for variable. I mean, variable the bad name for pointer. Any "variable" is the poineter, cause variable is just an "object" or "name" for memory location. But what people call "pointer" just a "variable" for a "variable".
3b1b manim for you?
“Those guys?”
using davinci to edit this is good
Actually amazing!!!
IIRC the first few "handmade hero" videos also do an excellent job explaining pointers by example and function in a few practical examples. been a few years since i watched though... ¯\_(ツ)_/¯
I just wasted 2 hours on a video that explains pointers and I didn't understand much, but after this video, I've got the gist of it. Thank you for this easy to comprehend video.
A pointer is basically your HOME ADDRESS in real life, it's not you but someone can use it to find you, it always points to you. A mailman doesn't know you until he comes to your house for eg (de reference). If YOU move houses, your address changes, it FOLLOWS you and always points to you.
Tbh this didn't explain much. Not even the basic regarding * and &. You can do better my man.
That’s too bad. I debated diving into syntax details, but in the end decided to keep this video away from being a C-specific pointer video, and more so just helping people grasp the concept of a pointer.
I think it is enough for one time if some one meets this first time, they will have rest of life and thousands of coredumps to learn gritty nitty details ;)
you have a great channel man
Started learning cpp yesterday, this video is a godsend 🔥🔥🔥
you'll get through this together
The part most people forget about pointers is that they are addresses TO A TYPED VALUE. When I understood this then everything went clear. This explains how dereferencing works, specially when using (void *)
Hey bro, don't do this to me, this is easily one of the best videos on the internet about this subject, specially because of the part "... that number just so happens to be ..." to the computer is like "hey, i'm a piece of memory, i'm just storing this numerical value, i have no idea that this is also one of the address of my memories, you're the programer here, not me" So.. where is the video related to the image you mention/show at 5:15 ? I found no link on the desc and didnt find the video on your channel too Thanks for this rly good quality explanation.
I appreciate the kind comment, that image you are referencing was just a quick recording I did of an example function call where at first it was calling the function by value, and then I changed it to by reference. So there is no other video, yet. I do plan to make a video on call by reference vs by value sometime!
I must say that a large part of the confusion about pointers in C is due to poor syntax. Because the mysterious logic of C language believes that variables must be used in the same way as when declared, it creates a lot of weird syntax and noise. e.g.: int a = 999999999, *b = &a; // it is equal to int a; a = 999999999; int *b; b = &a; //Declare int and int * together and disguise int * as *b, with the rule that int * should = &int because it is "obvious". WTF int num[2] = {a, a}; *(int *)((char *)num + 2) = 0; //C syntax mixes the type with the variable name, making it difficult for novices to read. And * simultaneously serves the two completely opposite functions of pointer declaration and pointed object. Pointers would be much easier to understand if they were declared using & and the type and variable name were separated. e.g.: int a = 999999999, int& b = &a; // it is equal to int a; a = 999999999; int& b; b = &a; //int& is the variable type, and b is the variable name. The content of int& should be filled in 'int' with '&' int[2] num = {a, a}; *(int&)((char&)num + 2) = 0; //Convert int& to char& then offset 2 char, Convert it back to int& and write a 0 to the * pointed area.
Great Video, You are gonna blow up very quick
Appreciate it!
Excellent video
4:00 I have never thought that the year 2030 not AI but superintelligent parasitic fungi going to take over the world.
I wouldn't say neuroLink works
Seems quite simple to achieve a functional utility out of slime molds. Measure low voltage electric signals in a species and use them to relay information that can extend to organics.
This is a very good video, you are very underrated. The whole subject is very intersting, although it clearly needs a long time to actually be implemented in any sort of computer, and competing wiht modern, well-defined transistors may limit it's usual. Still, the idea of growing a computer is pretty intersting, imagine a world where you need to water or feed a computer, very instersting.
Thanks for telling us about buttons❤
Wow ... Never knew it
Imagine the future where you need to water your computers because they use funtel processors made out of fungi
Some people are already willing to put water in their PC using a liquid cooling system. So that's not far off
incredible
Slime molds are not fungi tho they are amoeba
inta like + sub + bell keep going man I'm sure once you've pumped out 20ish videos the algorithm will pick up on your channel. It's so well produced, well researched, and very interesting.
I appreciate it!
omg this video is gold! I thought this was going to be yet another crappy video discussing outlandish claims about what is a byte, but it was actually pretty insightful. About what you said at the end, that modern computers read more efficiently groups of bits as opposed to single bits at a time, can you elaborate on that? It seems logically unintuitive...
So raw computer operations (add, subtract, compare, etc) are eventually completed in actual hardware, so lets do a simple example of an addition in hardware. A common design would be that the addition hardware is meant to operate on one byte in memory, and add it to another byte in memory, and this would be true for a simple subtraction hardware too. So you end up with lots of hardware that commonly operates on groups of bits at a time, and so it is actually simpler to just always connect to a byte of memory at a time, instead of implementing some more complex hardware that could select any single bit, rather than just always reading out a byte every time you read out of the memory hardware. A good visual description of memory hardware is in this video that I highly recommend, and might help you visualize all the hardware that's necessary to get bits out of stored memory! -> ruclips.net/video/7J7X7aZvMXQ/видео.html
@@illogicalgates Thank you very much for the reply. It cleared things out!