Edge Computing
Edge Functions: Running Code at the CDN Layer
Edge Functions represent a fundamental shift in deployment architecture, allowing developers to run code at CDN edge locations closest to users. Instead of…
Stories Worth Reading
PixelProse is your go-to blog for insightful articles on Technology, Travel, Food, Health, Lifestyle, Business, Fashion and Sports. Fresh perspectives. Real stories. Zero fluff.
Results for "functions"
40 articles found
Edge Computing
Edge Functions represent a fundamental shift in deployment architecture, allowing developers to run code at CDN edge locations closest to users. Instead of…
Functions & Modules
Functions are the building blocks of any non-trivial Python program. They allow you to encapsulate a piece of logic and reuse it without copying and pastin…
Google Cloud Platform
I have a problem: I start too many side projects. But I also have a solution: Google Cloud Functions. Need a webhook? Cloud Function. Need to process an im…
Google Cloud Platform
I have a problem: I start too many side projects. But I also have a solution: Google Cloud Functions. Need a webhook? Cloud Function. Need to process an im…
Advanced Python
Decorators are a powerful feature in Python that allow you to modify or extend the behavior of functions or methods without changing their code. At its cor…
Object-Oriented Programming
Object-oriented programming (OOP) is a paradigm that organizes code around objects rather than functions. Python is an OOP language from the ground up. A c…
Technology
Article I of the United States Constitution establishes the Legislative Branch, also known as Congress. It is responsible for making laws, controlling gove…
Google Cloud Platform
I was stuck on a Cloud Function. I needed to process images uploaded to a bucket, generate thumbnails, and store metadata in Firestore. The event structure…
Google Cloud Platform
I was stuck on a Cloud Function. I needed to process images uploaded to a bucket, generate thumbnails, and store metadata in Firestore. The event structure…
React
When React Hooks were introduced in version 16.8, they fundamentally changed how we write React components. The old class-based approach with lifecycle met…
Technology
I have refined my AI-assisted development workflow over the past year. It starts with brainstorming where I use ChatGPT to explore architecture options. Th…
Technology
After many mistakes, I have learned to watch for common AI coding pitfalls. Never trust generated code without understanding it, you might introduce subtle…
Data Science
Python's true power for data science comes from its libraries. NumPy and pandas are two essential ones. NumPy provides support for large, multi-dimensional…
Functional Programming
When Java 8 dropped, everyone started using lambdas, but many stopped there. Functional programming is more than just syntactic sugar for anonymous classes…
JavaScript
The 'this' keyword in JavaScript is notoriously confusing because its value depends on how the function is called. In the global context, this refers to th…
JavaScript
Once I was comfortable with frontend JavaScript, I wanted to build my own backend. Express.js is the most popular framework for Node.js. It's minimalist an…
Testing & Debugging
Debugging is an inevitable part of programming. The better you are at it, the faster you can fix issues and move on. Python comes with a built-in debugger…
Testing & Debugging
Testing is an essential part of professional software development. It ensures your code works as expected and catches bugs before they reach production. Py…
Machine Learning
Imbalanced datasets are the bane of my existence. You have a million examples of one class and only a hundred of the other. The model just gets lazy and pr…
Programming Logic
Programming is all about making decisions. Control flow tools like if statements, loops, and functions let your code respond to different situations. The i…
How to Use Claude
Building a functional chatbot with Claude is more achievable than most people expect, even with modest programming experience. Here's a practical starting…
Tourism
Dubai's transport network is better than its reputation among first-time visitors suggests, though it has real limitations that shape how the city is navig…
Advanced Java
The biggest criticism of Java in the serverless world has been startup time. A cold start of a Spring Boot app can take 20-30 seconds. GraalVM changes that…
Web Development
REST APIs are a common way to expose functionality to other services or frontend applications. Flask-RESTful is an extension that simplifies building REST…
Data Visualization
Data visualization is a key part of data analysis. Python offers several libraries for creating plots and charts. Matplotlib is the foundational library. I…
JavaScript
When I first encountered Promises, the .then().catch() syntax felt messy, especially for complex chains. Enter Async/Await, a syntactic sugar that makes as…
Google Cloud Platform
We've all done it. Hardcoded API keys in config files. Committed them to Git. Then scrambled to revoke them when you realize the repo is public. I was guil…
Google Cloud Platform
Cloud Scheduler is technically for triggering Cloud Functions or HTTP endpoints. But I've started using it for everything. I have a scheduler job that call…
Philosophy
One of the most perplexing questions in philosophy today is the problem of consciousness. Philosopher David Chalmers famously distinguished between the "ea…
Google Cloud Platform
We've all done it. Hardcoded API keys in config files. Committed them to Git. Then scrambled to revoke them when you realize the repo is public. I was guil…
AWS
Lambda changed how I think about running code. It lets you upload a function and run it without provisioning or managing servers. You pay only when your co…
Google Cloud Platform
Cloud Scheduler is technically for triggering Cloud Functions or HTTP endpoints. But I've started using it for everything. I have a scheduler job that call…
Google Cloud Platform
I had this app idea. A travel planner that uses AI to generate itineraries. Big dreams, no money. I decided to build it on Google Cloud. I used Cloud Run f…
Google Cloud Platform
My family wanted a website for our reunion. Photos, RSVP, schedule, updates. I built it in a weekend. Frontend on Firebase Hosting. A Cloud Function to han…
Google Cloud Platform
My family wanted a website for our reunion. Photos, RSVP, schedule, updates. I built it in a weekend. Frontend on Firebase Hosting. A Cloud Function to han…
JavaScript
Closures are one of those JavaScript concepts that every developer eventually has to wrestle with. At its simplest, a closure is the combination of a funct…
Google Cloud Platform
I had this app idea. A travel planner that uses AI to generate itineraries. Big dreams, no money. I decided to build it on Google Cloud. I used Cloud Run f…
Testing
Testing isn't about achieving 100% coverage—it's about building confidence in your code. A balanced testing strategy uses multiple levels. Unit tests ver…
Animals
Look down at a sidewalk crack, and you might see an ant—a single individual. But that ant is part of a superorganism, a colony that functions as a single…
AI Tools
AI code assistants like GitHub Copilot, Cursor, and Amazon CodeWhisperer are fundamentally changing how developers write code. These tools are trained on b…