Daves GarageRetired Microsoft operating systems engineer Davepl reveals some of his favorite C++ tips and tricks accumulated during nearly 40 years as a C/C++ programmer.
Dave was a developer for Windows Task Manager, ZIP Folders, Space Cadet Pinball, the Windows Shell, OLE/COM, MS-DOS, and much more.
Some Microsoft Campus photos are copyright and credit to Ken Sykes, used with permission.
ERRATA: None yet, but if you spot a mistake, please raise it in the comments and I'll update here as appropriate!
E01: Stupid C++ Tricks with DaveDaves Garage2021-08-07 | Retired Microsoft operating systems engineer Davepl reveals some of his favorite C++ tips and tricks accumulated during nearly 40 years as a C/C++ programmer.
Dave was a developer for Windows Task Manager, ZIP Folders, Space Cadet Pinball, the Windows Shell, OLE/COM, MS-DOS, and much more.
Some Microsoft Campus photos are copyright and credit to Ken Sykes, used with permission.
ERRATA: None yet, but if you spot a mistake, please raise it in the comments and I'll update here as appropriate!Inside the Windows Source Code: Task Managers Task Page (E02)Daves Garage2023-10-03 | A former Microsoft engineers takes you on a guided tour of the code behind the Windows Task Manager. For information on my book, Secrets of the Autistic Millionaire: https://amzn.to/45ZzcFW
Windows code provided courtesy of Microsoft Corporation; this code is NOT open source and it remains Microsoft copyrighted material, used with permission.Life Simulation running on KIM-1 6502Daves Garage2023-10-02 | Conway's Game of Life running on a MOS KIM-1 with a 6502 CPU.The Windows Source Code Revealed: Task Manager (E01)Daves Garage2023-09-30 | The original author of Windows Task Manager takes you on an authorized tour of the Windows source code behind the XP Task Manager. For information on my book, Secrets of the Autistic Millionaire: https://amzn.to/45ZzcFW
Windows code provided courtesy of Microsoft Corporation; this code is NOT open source and it remains Microsoft copyrighted material, used with permission.Does Windows mean Bloated Sac in Icelandic?Daves Garage2023-09-28 | Dave investigates the story of how the Icelandic version of Windows reportedly translates to the "bloated fetal sac" of a sheep. For information on my book, Secrets of the Autistic Millionaire: https://amzn.to/45ZzcFWAre You Introverted or is it Autism?Daves Garage2023-09-26 | Dave investigates the primary differences between introversion as a personality trait and autism. For information on my book, Secrets of the Autistic Millionaire: https://amzn.to/45ZzcFW60,000W of Emergency Backup Power: Solar, Battery and GasDaves Garage2023-09-19 | A tour of 60,000W of emergency backup power ranging from a single PC to an entire home.
VTOMAN FlashSpeed1500 Portable Power Station VTOMAN Website: https://noxl.ink/AzYXx0. Code: VTOINJDG VTOMAN Amazon: https://amzn.to/3sRStKH. Code: BY32DG9NBooting an Altair 8800 with Front Panel Switches and a Floppy DiscDaves Garage2023-09-18 | Watch and listen as an Altair 8800 comes to life!NEW Windows Zinc 23H2 Feature Demo - Copilot & MoreDaves Garage2023-09-15 | Dave takes you a guided tour of a new Insider Preview build of Windows 2023 (Windows 11 23H2). Features include Windows Copilot, a new File Explorer, compressed RAR, TAR, and GZ support, virtual disc management, and much more.2000W ATV: Too Dangerous! But we Build it Anyway!Daves Garage2023-09-09 | Dave builds a 2000W, 4500RPM, 48V quad based on a child's toy, with unexpected results! For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
Things I've learned from the comments so far: you can reverse the rotation of a 3-phase motor by swapping one pair of wires! And apparently the make half-links for chains. And I should add a chain tensioner!
Primary Equipment (Amazon Affiliate Links): * Camera: Sony FX-3 - https://amzn.to/3w31C0Z * Camera Lens: 50mm F1.4 Art DG HSM - https://amzn.to/3kEnYk4 * Microphone: Electro-Voice RE 320 - https://amzn.to/37gL65g * Teleprompter: Glide Gear TMP 100 - https://amzn.to/3MN2nlA * Teleprompter Monitor: https://amzn.to/3YWCSFC * SD Cards: Sony TOUGH - https://amzn.to/38QZGR9 * Aputure 300d II Light: https://amzn.to/46axuRZHow to Disable the New Ad Tracking in Google ChromeDaves Garage2023-09-08 | 3 settings you need to change to turn off browser history targetting, site targetting, and ad optimization.How to turn off the new Google Chrome ad tracking system via settingsDaves Garage2023-09-08 | Google is rolling out ad tracking based on your browser history and sites visited. This video details the 3 easy steps to disable this new "feature". For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
The Imitation Game Director: Morten Tyldum Writers: Graham Moore (screenplay), Andrew Hodges (book) Production Company: Black Bear Pictures, Bristol Automotive, etc. Release Date: 2014MASSIVE and RARE Commodore Storage!Daves Garage2023-09-06 | Commodore 2031 Commodore 8250 Commodore D9090Copying a Floppy Like They Did it in the Olden DaysDaves Garage2023-09-05 | A PET2001 and Commodore 8250 team up to duplicate a 1.2M floppy.Behold the Amazing 1.2M CBM 8250!Daves Garage2023-09-05 | This was the pinnacle of floppy discs, a dual drive unit with a combined storage of 2.4M. That was an enormous amount of space back int the day!Inside a Weird DeviceDaves Garage2023-09-05 | The gut of an SFD-1001, IEEE-488 powered, Commodore product.Secret Studio Tour: 500,000 Subscriber Spectacular!Daves Garage2023-09-04 | Dave details the creation of a YouTube episode from start to finish in this celebration of the channel's 500,000th subscriber! For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
Intro theme "Keep on Loving me Baby" by Colin James, https://linktr.ee/ColinJamesMusicHow to Enhance and Restore old PhotosDaves Garage2023-08-25 | Dave shows how to deal with old photos using Gigapixel AI.Tour of Daves GarageDaves Garage2023-08-25 | A quick tour through the computers and attractions in Dave's Garage. Includes PDP-11, DEC, IBM PC, XT, PS/2, PET, Altair, and more.How to take a Screenshot or Clip a WindowDaves Garage2023-08-25 | Dave shows how to take a screenshot or capture a region of the screen using built in Windows 11 features as well as third party tools for picture and video capture.A Stupid Windows Trick for Computer AudioDaves Garage2023-08-25 | Dave explores a Windows trick for figuring which audio source is currently active when multiple are running, and how to pause the active audio.A Genius Tool: But What is it?Daves Garage2023-08-25 | Dave explores a genius tool for changing lightbulbs in hard to reach lights.Sigma: The most powerful single Board Windows PCDaves Garage2023-08-25 | Dave explores the Sigma, the most powerful single Board Windows PC.Why do COMPUTERS get SLOWER with age?Daves Garage2023-08-25 | Dave explores why computers slow down the longer we use them.Why doesnt the Windows Clock have seconds?Daves Garage2023-08-25 | Dave explores why the Windows Clock doesn't show seconds.Why Calculators Lie: Can You Solve This Simple Math Problem?Daves Garage2023-08-23 | Dave takes you on a journey beginning with an incredibly simple math problem that many people - and even calculators - get wrong. For info on my book on Asperger's, Autism, and ASD, visit: https://amzn.to/3DNfQaoAltair 8800 vs AMD Threadripper: Which is Faster? We test them!Daves Garage2023-08-19 | Dave tests the Altair 8800 vs a 3970X Threadripper to see once and for all which is the ultimate home PC. For my book on Autism/ASD, check out https://amzn.to/45xdSXG
1:00 History lesson 6:30 Altair 8800 internals and repair 14:20 Programming starts 14:55 Altair 8800 answer 15:45 Threadripper rippingComing Soon: 500,000th Subscriber Spectacular!Daves Garage2023-08-15 | Make sure you're subscribed to Dave's Garage so you don't miss the 500,000th Subscriber Spectacular, coming soon!Under the Covers with ChatGPTDaves Garage2023-08-11 | An in-depth look at the technology and infrastructure behind ChatGPT. For info on my book on Asperger's, Autism, and ASD, visit: https://amzn.to/3DNfQaoThe Amazing Mesmerizer!Daves Garage2023-08-09 | The Mesmerizer from NightDriverLED.com is an amazing desktop device that displays graphics visualizations as well as News/Sports/Weather/Stocks.
Go to NightDriverLED.com to make yours today!Windows Tales: Task Manager, Pinball, ZIPFolders, and More!Daves Garage2023-08-05 | Dave takes you on a forty-year journey as a software engineer including working on every Microsoft operating system from MS-DOS through Windows XP and Server 2003. He discusses Microsoft Windows features he worked on, such as Task Manager, Zip Folders, Product Activation, the Start Menu, Desktop, Pinball, and MS-DOS.
For info on the book, Secrets of the Autistic Millionaire, check out: https://amzn.to/3DNfQao
This presentation was prepared for VCFWest on Aug 4, 2023. Many thanks to Bil Herd for the invitation! For lots of great Commodore insights, check out his channel at: https://www.youtube.com/@BilHerd
For the shirt (not affiliated or sponsored), check out https://www.geeksoutfit.com/products/binary-computer-1s-and-0s-blue-button-up-shirtThe First Microsoft Product of All TimeDaves Garage2023-07-30 | Dave boots the first Microsoft product, MSBASIC, on an original MITS Altair 8800The NT4 Task Manager vs 32 Cores: Will it choke?Daves Garage2023-07-22 | What happens if you run the Windows NT 4 Task Manager on a modern system with 32 cores and 128GB of RAM? Can the old Task Manager kill the new Task Manager? Dave puts it to the test! For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
BTW, the bugs shown here were fixed in NT service packs. So, by NT4SP6, it all "just works".
Primary Equipment (Amazon Affiliate Links): * Camera: Sony FX-3 - https://amzn.to/3w31C0Z * Camera Lens: 50mm F1.4 Art DG HSM - https://amzn.to/3kEnYk4 * Microphone: Electro Voice RE 320 - https://amzn.to/37gL65g * Teleprompter: Glide Gear TMP 100 - https://amzn.to/3MN2nlA * SD Cards: Sony TOUGH - https://amzn.to/38QZGR9Would you like to play a game? Zork on the PDP-11Daves Garage2023-07-21 | Dave launches the classic game of Zork in a cool retro terminal and a PDP-11/70How to Fix the Windows 11 Start MenuDaves Garage2023-07-20 | How to put the Windows 11 Start Menu back in the bottom left corner where it's more accessible for advanced users.For Josh: How to program your FIRST microcontroller with ease!Daves Garage2023-07-17 | How to program an ESP32 microcontroller from scratch, with all steps included. For my book on ASD, check out https://amzn.to/3Q0wKKb
The board manager URL that I used was: https://espressif.github.io/arduino-esp32/package_esp32_index.json70KW Generator Installation by Crane and Crowbar!Daves Garage2023-07-11 | Watch as contractors complete a tricky final install of a 70kW generator in Dave's Garage!The Windows Clock: Why Seconds took YearsDaves Garage2023-07-05 | Dave reveals the reasons why, for 28 years, the Windows clock has lacked seconds. For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
Earthquake footage from scottsteg: https://youtu.be/q7boO_wTzS4 "Footage from 'WarGames' directed by John Badham, produced by MGM/UA Entertainment Co., 1983." "Footage from 'Highlander' directed by Russell Mulcahy, produced by Thorn EMI Screen Entertainment, 1986." "Footage from Evel Knievel's jump at Caesars Palace, broadcast by ABC's Wide World of Sports, 1967."
In this video, clips from 'Highlander' (Thorn EMI Screen Entertainment, 1986), 'WarGames' (MGM/UA Entertainment Co., 1983), 'The Simpsons' (Gracie Films in association with 20th Century Fox Television, Year of episode), and footage of Evel Knievel's jump at Caesars Palace (ABC's Wide World of Sports, 1967) have been used under the Fair Use doctrine for educational purposes. These clips serve to provide real-world examples, illustrate points, and stimulate critical analysis, significantly transforming the original content in the process.
The missing 10th way to start Task Manager: - Use regedit to change your shell= line from explorer.exe to taskmgr.exe and reboot!MS-DOS SmartDrv: The Secret History!Daves Garage2023-06-06 | Meet the only operating system dialog with a single option!Why is there a Dollar Bill on the Board?Daves Garage2023-06-05 | Dave tells the story of the first time that the NT4.0 desktop shell was booted, and the wager that depended on it!Learn C in 60 SecondsDaves Garage2023-06-05 | A supercharged introduction to the C programming language. Dave teaches you a cocktail-party level of C in under one minute.Master Pointers in C: 10X Your C Coding!Daves Garage2023-06-04 | Pointer basics, indirection, void pointers, pointers to pointers, function pointers, callbacks and much more in this comprehensive introduction to pointers. For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
This is a revised edit (shorter and without intro) of the video from several days ago! As always, all content and opinions are mine only, (c) 2022 Plummer's Software LLC.Are they Autistic Like Me? Lets Find Out!Daves Garage2023-05-30 | Are Wednesday Addams, Hermione Granger, Sheldon Cooper, and even Mr. Spock on the autism spectrum? Dave explores the possibilities! For information on my book, "Secrets of the Autistic Millionaire": https://amzn.to/3diQILq
This is a revised edit (shorter and without intro) of the video from several days ago! As always, all content and opinions are mine only, (c) 2022 Plummer's Software LLC.Is Wednesday Addams Autistic? Part TwoDaves Garage2023-05-27 | @DavesGarage brings you the characteristics and traits that may suggest that Wednesday Addams is on the autism spectrum. For the full episode, visit https://youtu.be/LiaHliHy43Y
For my book on ASD and how to live a successful life on the spectrum, visit https://amzn.to/43lVujwIs Wednesday Addams Autistic?Daves Garage2023-05-27 | @DavesGarage brings you the characteristics and traits that may suggest that Wednesday Addams is on the autism spectrum. For the full episode, visit https://youtu.be/LiaHliHy43Y
For my book on ASD and how to live a successful life on the spectrum, visit https://amzn.to/43lVujwNEW LED Software and Hardware Platform that YOU need to know about!Daves Garage2023-05-21 | Dave introduces the Mesermerizer, an amazing new LED module based on the ESP32 that includes over 30 built-in effects ranging from Music Visualizers to the current Weather. Join the project by visiting NightDriverLED.com for technical info.
As always, all content and opinions are mine only, (c) 2022 Plummer's Software LLC.240V Solar Battery Experiments - Welding, Lifting a Car, Charging a Tesla, and More!Daves Garage2023-05-13 | Dave puts a pair of EcoFlow Delta Pro batteries through their paces by testing welding, lifting a car, powering a home, and charging a Tesla!
This video does not contain or demonstrate every step needed or all safety precautions that should be observed. Do not attempt the activities performed within.The Sigma: The Most Powerful Single Board Windows PCDaves Garage2023-05-07 | Dave demos and benchmarks the new LattePanda Sigma single-board computer, which features 12 cores, 16 threads, 16GB RAM, 500GB Storage, dual 2.5Gn NICs, dual 10Gb USB, dual 40Gb Thunderbolt, and much more! For my book on ASD: https://amzn.to/42ykB2i
Note that the WD drive is in a PCIe-4.0x4 slot whereas the Samsung is in a PCIe-3.0x4 slot, so the perf numbers reflect the M.2 slot performance and should not be used to compare the drives.
Errata: At one point I say the CPU has 8 perf cores and 4 economy cores - I said it backwards. It's 4 perf cores (hyperthreaded) plus 8 economy cores.
As always, all content and opinions are mine only, (c) 2022 Plummer's Software LLC. I am not now nor have I ever been a spokesperson for Microsoft, and retired from my technical role almost 20 years ago.