welcome. a small repository for anything i know about or suggest. more about me
-
Quantum:
The discrete, indivisible unit of a physical quantity.
Formula: E=hν (energy of a quantum, where E is energy, h is Planck's constant, and ν is the frequency). -
Entanglement:
Particles become correlated so that the state of one instantly affects the state of another, regardless of distance.
Formula: |ψ⟩ = 1/√2 (|00⟩ + |11⟩) -
Heisenberg Uncertainty Principle:
One cannot simultaneously know the exact position and exact momentum of a particle.
Formula: Δx⋅Δp≥2ℏ (uncertainty relation, where Δx is the uncertainty in position, Δp is the uncertainty in momentum, and ℏ is the reduced Planck's constant). -
Quantum Tunneling:
A particle traverses a potential energy barrier that it classically could not surmount.
Formula: T≈e−2γa (transmission coefficient T for tunneling, where γ is a constant related to the barrier height and width a).
A compilation of topics that can benefit any frontend developer with curiosity and a more in-depth understanding of Browsers and JavaScript.
- Accessibility (a11y), Accessibility Testing Tools (e.g., Axe, Lighthouse), Algorithms, Async/Await, Browser Compatibility, Box Model
- Closure, CORS, CSP, CSS, CI/CD, CDN, CLS, Cache-Control
- DOM, DRY, Data Structures, Dependency Injection, Design Patterns
- Event Loop, Event Bubbling, ES6, e2e Testing
- FCP, Fetch, Flexbox
- Grid (CSS), Gzip, Git Commands
- Hoisting, HOC (for React), HTTP Headers
- IIFE, Internationalization (i18n)
- JavaScript quirks, KISS
- Lazy Loading, LCP, localStorage vs sessionStorage vs IndexedDB
- Memoization, Micro-frontends, MVC
- Null vs Undefined, OOP, OAuth
- Promise, Polyfill, Prototype, PWA, Prefetch
- Query String, Responsive Design, RESTful API
- SOLID, SSR, SSG, SPA, SEO
- Throttle vs Debounce, TDD,
this
keyword - UX/UI Principles, Virtual DOM, VCS
- Webp, Web APIs, WebSockets, Web Workers
- XHR, XSS, Yarn vs npm vs pnpm
- Z-index complexities
- Middleware, Module Federation, State Management
- Error Handling, Code Splitting, WebAssembly
- Frontend Monitoring and Analytics
- Web Browser Security Models
- Browser Storage (Cookies, Local Storage, Session Storage)
In today’s fast-evolving digital world, Accessibility (A11y) and Usability are more than just buzzwords—they are critical components of front-end development that can make or break the user experience. Together, they ensure websites and apps are not only compliant with accessibility standards but also easy to use for everyone.
Accessibility focuses on making digital platforms usable for people with disabilities, including visual, auditory, cognitive, or motor impairments. This involves ensuring compatibility with screen readers, providing alternative text for images, keyboard navigation, and offering captions for multimedia content. Adhering to Web Content Accessibility Guidelines (WCAG) helps create an inclusive environment where no user is left behind.
Usability deals with how efficiently and effectively users can navigate and interact with a website or app. A usable interface is intuitive, reduces friction, and allows users to complete tasks smoothly. Even the most accessible site can fall short if it’s difficult or confusing to use. Usability ensures that all users, regardless of their background, can engage with your platform without frustration.
When Accessibility and Usability are integrated, they create an experience that is both inclusive and seamless. Meeting basic accessibility standards isn’t enough—strive to design products that provide a smooth, intuitive experience for all users. Consider real-world use cases to ensure that your design not only complies with guidelines but enhances the overall user journey.
Investing in both A11y and Usability goes beyond compliance. It’s about building products that cater to a wider audience, increasing user satisfaction, and ultimately driving engagement. A thoughtfully designed platform that prioritizes inclusivity and ease of use is likely to foster greater customer loyalty and broader reach.
- Definition: The server generates the full HTML for a page on each request.
- How it works: When a user requests a page, the server processes the request, fetches data, and sends back a fully rendered HTML page.
- Benefit: Better for SEO and faster initial load times.
- Example: Traditional websites where each page load involves a round-trip to the server.
- Definition: The browser renders the page using JavaScript.
- How it works: The server sends a minimal HTML page with a JavaScript file. The browser executes the JavaScript, fetches data, and updates the UI.
- Benefit: Smooth transitions between pages and dynamic content updates without reloading.
- Example: Single Page Applications (SPAs) like those built with React.
- Definition: HTML pages are generated at build time and served as static files.
- How it works: During the build process, the server generates all the HTML pages. These pages are then served directly to the user without additional server processing.
- Benefit: Extremely fast page loads and great for SEO.
- Example: Documentation sites, blogs, or marketing websites where content doesn't change frequently.
- Definition: Allows static pages to be updated incrementally after the site is built.
- How it works: Similar to SSG, but with the ability to update or add static pages at runtime without rebuilding the entire site.
- Benefit: Combines the speed of SSG with the flexibility of updating content as needed.
- Example: E-commerce sites where product details need periodic updates without rebuilding the entire site.
The trombone effect, also known as the telescope effect or accordion effect, refers to the phenomenon where changes made at one end of a system take longer to propagate and be noticed at the other end.
-
Example 1:
In a large company, a decision made by upper management to change policies might take weeks or months before it's fully implemented and understood by employees at the operational level. This delay in communication and implementation illustrates the trombone effect, where there's a significant lag between action and perception across different levels or parts of a system. -
Example 2:
When making an international call, there's often a delay between speaking and when the person on the other end hears you. This delay occurs because the signal travels through various networks, experiencing processing delays or congestion. This also happens in online gaming, where latency affects the time it takes for actions to reach the game server and for the server’s response to return, impacting gameplay.
This page is continuously evolving as more knowledge is added. Bookmark this repository and return often for the latest updates in the encyclopedia!