Posts

ONT(OMCIv1)

 show equipment ont interface 1/1/3/5/1 configure equipment ont interface 1/1/3/5/1 sernum ALCL:F8612E96  voip-allowed enable sw-ver-pland  disabled # admin state up admin state up exit .. 5 times configure vlan id 40 mode residential-bridge new-broadcast enable new-secure-fwd enable in-qos-prof-name name:Default_TC1 configure vlan id 30 mode residential-bridge new-broadcast enable new-secure-fwd enable in-qos-prof-name name:Default_TC1 configure vlan id 30  no vlan id 30 configure qos profiles bandwidth us_prof_voip_2pots_bw committed-info-rate 600 assured-info-rate 600 excessive-info-rate 600 delay-tolerance 8 configure qos interface 1/1/3/5/1/voip upstream-queue [0...7] bandwidth-profile name:us_prof_voip_2pots_bw typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue [0...7] bandwidth-profile name:us_prof_voip_2pots_bw typ:isadmin># configure qos interface 1/1/3/5/1/voip upstream-queue 0 bandwidth-profile name:us_prof_voip_2pots_bw typ:isadmin...

Networking Issues

Data overwriting 'a' value = 'b' value (can occur due to port overlapping)  Port overlapping Mirroring in a network Self port or Self identity or looping Sending message to itself

Deep C++ links

 https://cloudfundoo.wordpress.com/2012/04/27/deep-c-understanding-c-object-layout/  

List of Projects in C++

https://www.mindfiresolutions.com/cpp-development.htm Accounting software Application for searching/viewing legal resources Project management software IE Batch Printing Html2Xml Customized Report Builder DemoWrapper Asset Accounting Software Short Text Messaging Tool to enhance Raster to Vector Image Conversion SWF Wrap Bayesian Matting Colorization - Still VideoMatting Fogging/Defogging and Glow effects Key-frame based Rotoscoping Lazy Snapping Interactive Digital Photomontage Interactive Tone Mapping Transaction Processing System R...

A Linux terminal in Windows for C/C++ Environment

                                       Using WSL , an alternative of Oracle VM Box    Use Powershell --------------- https://docs.microsoft.com/de-de/windows/wsl/install-win10#update-to-wsl-2 dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart To download Ubuntu(400MB) ------------------------- Invoke-WebRequest -Uri https://aka.ms/wslubuntu2004 -OutFile Ubuntu.appx -UseBasicParsing Add-AppxPackage .\Ubuntu.appx GCC Installation ----------------- sudo apt update && sudo apt upgrade -y && sudo apt-get install build-essential && sudo apt full-upgrade && sudo apt-get install build-essential

Lessons learned on virtual

                                            virtual usage Child class doesn't need virtual keyword for virtual function, even if defined it's redundant the parent class should contain same function signature as child class also contains the same function signature but parent class should declare it as virtual. function signature same no of arguments , same sequence of types and same function name. Object type will decide which function to call When you are allocation object with new then only virtual destructor works, if you allocating object on stack then it will automatically destroy child obj first then parent obj. http://www.vishalchovatiya.com/part-3-all-about-virtual-keyword-in-c-how-virtual-destructor-works/

Advance C++ Topics

Image
                                    Advance C++ Topics https://shaharmike.com/cpp/ Shahar mike blogs have C++98's RVO Copy Elison Move semantics shared_ptr unique_ptr Template SFINAE & type-traits UserData class Naive std::function implementation Rule of three Enumerated constants Copy-on-write Copy-and-swap Copy elision in C++ compile-time function evaluation/execution auto_ptr Expression templates Private Destructor static objects Object Slicing in C++ Creating a Shared Object Functors in C++ binary manipulation in C++ opaque pointers smart pointers Simulating Final class nesting of classes & namespaces Barton–Nackman trick Substitution failure is not an error as-if rule Empty Base optimization RTTI (Run-time type Information) in C++ RAII in C++ std::bitset & manipulators std::span More Advanced Topic...