Posts

  • Avoiding Mutable Default Arguments in Python

    See also: The Hitchhiker’s Guide to Python https://docs.python-guide.org/writing/gotchas/ IDE’s like PyCharm will complain when this is attempted, in which you’ll see messages like the following: Default argument value is mutable... Inspection info: This inspection detects when a mutable value as list or dictionary is detected in a default value for...

    Posted in

  • Python Fundamentals: Random Module

    The Python random module has a variety of uses. You can do many different things that include simulations, getting a random number, picking an item from a list, generating data for unit tests, and generating data for load tests. Pretty much everyone will run into a use for random data...

    Posted in

  • Planning CSS Measurements for a New Project

    The idea behind this post is to have a blueprint for setting up CSS from scratch in terms of sizing. If you’re using one of the popular UI frameworks like Bootstrap 4, this may already be set for you. This post will consist of general guidelines. Your own project may...

    Posted in

  • Python IDE Configuration

    The following setup generally applies to all Intellij IDE’s including Intellij IDEA, PhpStorm, WebStorm, and more. The one PyCharm-specific configuration will entail setting up the Python interpreter. Most things listed in this post are configured in Preferences. On MacOS, the shortcut for Preferences is Command-comma (⌘ ,), similar to most...

    Posted in

  • Creating a Navigation Bar from Scratch

    Source Code In this post, we will be creating a menu bar from scratch. We will also explore some shortcuts while using Visual Studio Code. Visual Studio Code (VSC) offers some great functionality right out of the box. However, there is one plugin in which we’ll need. The fact that...

    Posted in ,

  • Web Animation Using jQuery

    Source Code Although many folks claim jQuery is no longer relevant, consider the fact that it’s still being used in countless projects. Perhaps it’s a dependency requirement of a particular framework, or you have an older project you’re still building new features for. It’s original purpose was built around being...

    Posted in ,

  • Intermediate JavaScript Week 9

    Previous Series Links & Resources NodeJS https://nodejs.org/en/ Hello World Example Express Framework NPM https://www.npmjs.com/ What is NPM Package Manager Wikipedia NVM Front-end Frameworks Vue.js React Angular

    Posted in

  • Motion Design Week 9

    Previous Series Links & Resources Three.js https://threejs.org/ Creating a Scene Scene API Three.js Renderers WebGL Renderer SVG Renderer Canvas Renderer Three.js Geometry Geometry API Box Geometry Icosahedron Geometry Text Geometry Typeface.js Generated Fonts Shape Object Three.js Materials Normal Material Basic Material Lambert Material Phong Material Standard Material Three.js Lighting Light...

    Posted in

  • Intermediate JavaScript Week 8

    Previous Series Next Links & Resources Regular Expressions Regular Expressions Wikipedia Regular Expressions MDN Reference Character Patterns RegEx Global Object Applying Flags Exceptions Exception Handling Control Flow Error Handling

    Posted in

  • Motion Design Week 8

    Previous Series Next Links & Resources 3D Graphics 3D Computer Graphics Polygon Mesh Texture Mapping Perspective Views Orthographic View 2D Quadrants 3D Octants WebGL WebGL Wikipedia WebGL Coordinates WebGL Lighting WebGL API Reference Shaders Example WebGL Using p5.js 3D Primitives Getting Started Wiki WebGL p5 Coding Train Playlist p5.js Materials...

    Posted in

subscribe via RSS