Skip to content

Instantly share code, notes, and snippets.

Weather in December 2024

  • Temperature: December in New York City is characterized by cold temperatures, with daily highs ranging from approximately 32°F to 50°F. Expect temperatures to drop as the month progresses, with averages settling around 34°F to 54°F.
  • Conditions: The weather is typically cold and partly cloudy, with about 3 to 8 days of rain throughout the month. Warm clothing is essential for outdoor activities.

Events and Activities

December in New York City is vibrant, especially with holiday festivities. Key events during this period include:

  1. Radio City Christmas Spectacular: This iconic show featuring the Rockettes runs throughout December and is a must-see for its stunning performances and holiday spirit.
  2. Dyker Heights Christmas Lights Tour: A neighborhood known for extravagant holiday decorations, this tour showcases some of the best Christmas lights in the city.
  3. Broadway Shows: A variety of performances are available, appealing to different tastes, from

AI Curriculum for Enterprise Engineers

1. AI Foundations

  • Introduction to AI and Machine Learning: AI paradigms (supervised, unsupervised, reinforcement learning), key terminologies.
  • Mathematics for AI: Linear algebra, calculus, statistics, and probability theory.
  • Data Science Fundamentals: Data wrangling, cleaning, SQL, data transformation, and visualization tools (Pandas, NumPy).

2. Core Machine Learning

  • Supervised Learning: Regression, classification, decision trees, random forests, gradient boosting.
  • Unsupervised Learning: Clustering (k-means, DBSCAN), dimensionality reduction (PCA, t-SNE).

6-Week AI/ML Cloud-Based Course Curriculum

Week 1: Foundations of AI/ML in the Cloud

  • Learning Objectives:
    • Understand core AI/ML concepts and the role of cloud platforms (AWS, Azure).
    • Learn Infrastructure as Code (Terraform) for managing cloud infrastructure.
  • Topics:
    • Introduction to AI/ML: Overview of ML models, algorithms, workflows.
    • Cloud Platforms: AWS vs. Azure for AI/ML.
  • Terraform Basics: IaC, Terraform structure, and syntax.

Publishing Your First NPM Package

Tom's guide to creating and publishing a simple package to npmjs.com.

Prerequisites

  • Node.js installed on your system
  • Basic command line knowledge

Creating an NPM Account

Gaussian Blur Implementation Guide

Overview

Gaussian blur is a widely used image processing technique that creates a smooth, blurred effect by averaging pixel values with their neighbors. The "Gaussian" part comes from using weights based on the Gaussian (normal) distribution, giving more importance to nearby pixels and less to distant ones. Here is a Gasussian Blur Wikipedia Link

Understanding the Mathematics

The Kernel

At the heart of Gaussian blur is a "kernel" (also called a filter matrix). Think of it as a window that slides over your image. For beginners, start with a 3x3 matrix where:

Ideation Document - Pain Points and Issues

Pain Points

The following pain points have been identified:

  • Lack of Practical Application: Courses that provide only theoretical knowledge without practical, tangible assets can be ineffective. A prototype or project that applies the learned concepts is essential for practical value.

  • Project Scope and Relevance: Projects or prototypes may not align well with real-world needs, limiting the applicability of the skills and outcomes for specific roles or teams.

  • Technical Depth vs. Accessibility: Balancing technical depth with accessibility is necessary for those without advanced technical backgrounds, as certain concepts may be overly complex.

Time Punch System Technical Plan

1. Requirements

User Roles

Admin

  • Full system access
  • Manage user accounts
  • View and edit all time entries
  • Generate and export reports

Step 1: Create a Basic MSI Project

  1. Open InstallShield: Launch the InstallShield application.

  2. Use the Project Assistant:

    • Select the option to create a new project.
    • Choose "Basic MSI Project" as the project type.
  3. Configure Project Settings:

  • Define the project name and location.

Steps to Connect AWS Lambda to a Private VPC

  1. Identify the VPC and Subnets:

    • Determine the private VPC ID where your resources reside.
    • Identify at least two subnets within the VPC for high availability (preferably in different availability zones).
  2. Configure Security Groups:

    • Create or use an existing security group that allows the Lambda function to connect to the necessary resources in the private VPC.
      • Allow the Lambda function's security group to access the resources' ports (e.g., database ports).
  • Ensure outbound traffic from the Lambda function is allowed for required services.