~/devreads

25 Nov 2024

24 Nov 2024

22 Nov 2024

Beatriz Feliciano 4 min read

Every year, millions of people fall victim to financial fraud. In 2023, the losses tied to this type of crime were estimated at US$159 billion just in the US , with some people losing all of their retirement savings to scammers . However, the impacts of this issue stretch beyond someone’s finances. It can also impact a victim’s life in…

fraud-investigationresearchfinancial-frauddata-visualizationdata-analysis

21 Nov 2024

Ethan Limchayseng 3 min read

Back in September 2023, we announced our Public Beta for our new Common Runtime router: Router 2.0. Now generally available, Router 2.0 will replace the legacy Common Runtime router in the coming months, and bring new networking capabilities and performance to our customers. The beta launch of Router 2.0 also enabled us to deliver HTTP/2 […] The post Router 2.0…

newscloud infrastructurerouter 2.0

Elizabeth Cox 16 min read

Update: Puma 7.0 was released with a fix for the bug described in this article. We recommend Ruby applications upgrade to Puma 7.0.4 or higher. This week, Heroku made Router 2.0 generally available, bringing features like HTTP/2, performance improvements and reliability enhancements out of the beta program! Throughout the Router 2.0 beta, our engineering team […] The post Pumas, Routers…

engineeringcloud infrastructurerouter 2.0

Agne 5 min read

Heroku Router 2.0 is now generally available, marking a significant step forward in our infrastructure modernization efforts. The new router delivers enhanced performance and introduces new features to improve your applications’ functionality. There are, of course, nuances to be aware of with any new system, and with Router 2.0 set to become the default router […] The post Tips &…

engineeringcloud infrastructuredatabaseguiderouter 2.0

20 Nov 2024

Kendall Gassner 4 min read

Recently, while browsing my company’s Storybook, I came across something that seemed broken: a flickering component that appeared to be re-rendering repeatedly. The open source tool that helps designers, developers, and others build and use reusable components was behaving weirdly. As I dug in, I realized I was seeing the unintended effects of the Storybook Interactions addon, which allows developers…

19 Nov 2024

Ken W. Alger 9 min read

Your organization may have many reasons to move a cloud service from one provider to another. Maybe you’ve found a better performance-versus-cost balance elsewhere. Maybe you’re trying to avoid vendor lock-in. Whatever your reasons, the convenience and general interoperability of cloud services today put you in the driver’s seat. You get to piece together the […] The post Planning Your…

uncategorizeddatabasedeveloper toolspostgressql

Rob 1 min read

For some work I'm doing, I have been given access to a Linux box that is part of a legacy production system. The first thing I have done is updated the terminal prompt to include the word PRODUCTION in red, by adding this to .bashrc: export PS1="$(tput setaf 1)PRODUCTION $(tput sgr0)$PS1" The nice thing about doing it this way is…

computing

18 Nov 2024

George Luong 5 min read

Introduction Slack handles a lot of log data. In fact, we consume over 6 million log messages per second. That equates to over 10 GB of data per second! And it’s all stored using Astra, our in-house, open-source log search engine. To make this data searchable, Astra groups it by time and splits the data…

uncategorized

Kishore Mavuri 1 min read

Generative AI is transforming businesses across industries, unlocking efficiency and innovation at scale. Its disruptive capabilities help streamline processes such as content generation, image generation, and data analysis, among others. However, along with its tremendous potential, GenAI brings many inherent risks in security, data protection, and compliance for companies Navigating this risk landscape presents a huge dilemma: how can they…

tech blog

12 min read

I like writing Javascript without a build system and for the millionth time yesterday I ran into a problem where I needed to figure out how to import a Javascript library in my code without using a build system, and it took FOREVER to figure out how to import it because the library’s setup instructions assume that you’re using a…

Stanko 4 min read

I just released @stanko/dual-range-input - a native dual-range input. Here is how it looks with the default styles: The "native" part is somewhat open for discussion. I call it native because the library uses two native HTML range inputs. This means that all of the native interactions and accessibility features are preserved. Native inputs allow us not to reinvent the…

17 Nov 2024

16 Nov 2024

This program is designed to equip you with the skills necessary to integrate AI services into your development workflow. It covers a wide range of topics, from basic Python programming for AI to advanced concepts like Retrieval-Augmented Generation (RAG) and AI Agents. You'll gain hands-on experience with popular AI platforms such as OpenAI, Google Gemini, and Azure AI Services.

Python is the lingua-franca of data science, machine learning and AI. This course will teach you enough Python, based on your pre-existing knowledge of other programming languages, so that you are well-prepared for a journey into learning AI programming. You'll discover the fundamentals of python syntax, learn how to manage programming environments, work with third-party libraries and handle file and…

15 Nov 2024

1 min read

In my little corner of the FHE world, things have been steadily heating up. For those who don’t know, my main work project right now is HEIR (Homomorphic Encryption Intermediate Representation), a compiler toolchain for fully homomorphic encryption (FHE). For an extended introduction see this talk from October 2023. The primary focus of HEIR is to compile to FHE hardware…

Tinder 5 min read

Authored by: Edward Owens At Tinder, we run hundreds of microservices that all have unique network configurations, roles, metric rollups, and environmental variables (“env vars”). This myriad of configurations within the cloud makes it difficult for developers to know if the code they write will actually work once deployed. Developers were forced to push every change they made to a…

1 min read

Editor’s note: This essay was originally published in 2019. I have made minor edits in this republishing. There was a MathOverflow thread about mathematically interesting games for 5–6 year olds. A lot of the discussion revolved around how young age 5 really is, and how we should temper expectations because we don’t really remember what it’s like to be 5.…

This course focuses on leveraging Azure’s high-level AI services to solve real-world business problems. You'll explore pre-built solutions for Retrieval-Augmented Generation (RAG), content moderation, and other Azure AI offerings, understanding their apps and trade-offs compared to custom-built solutions.

14 Nov 2024

vladmihalcea 1 min read

Introduction In this article, we are going to analyze how the JTA transaction type works. Since this is the default transaction type when using Jakarta EE or Java EE applications, it’s very important to understand how JTA transactions work, especially since Spring Boot or Spring applications use RESOURCE_LOCAL transactions instead. JTA Transaction Type When using the JTA transaction type, you…

hibernatespringtransactionsjpajta

1 min read

Learn Python control flow and loops. Use conditional statements, Boolean operators, for and while loops, and keywords like break and continue. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

1 min read

Set up a Python development environment with VS Code, PyCharm, virtual environments, Git, pyenv, Docker, and AI coding tools like Claude Code and Cursor. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

1 min read

Learn network programming and security in Python. Work with CRUD operations, REST APIs, HTTPS, and socket programming to build networked apps. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

1 min read

Build Python GUI applications with Tkinter, PyQt, wxPython, and Kivy. Learn layouts, event handling, threading, and database integration. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

1 min read

Explore Python standard library modules including math, datetime, JSON, CSV, regex, subprocess, and argparse through hands-on tutorials and courses. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

1 min read

Learn Python's import system, organize code into modules and packages, manage dependencies with pip, and publish to PyPI. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

1 min read

Learn to define Python functions, use parameters and return values, create inner functions, and understand namespaces and scope. [ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]

Scott Nelson Windels 11 min read

Incident Management takes time Incidents need responders that are trained and experienced. At Slack, training is a foundation of our incident management program. Self-service training and live courses based mainly on prepared content are one piece of the puzzle, but there can be a missing piece in many organizations. How can staff get practical experience…

uncategorizedincident-managementincident-response

This course introduces you to cloud-based AI services, focusing on text generation, image processing, and audio analysis. You'll gain hands-on experience with leading platforms such as OpenAI and Google Gemini, learning to leverage these technologies for various AI apps.

13 Nov 2024

Developer Relations Team 1 min read

Master API endpoint fundamentals: URL structure, HTTP methods, versioning, and performance benchmarks for secure, efficient data exchange.

12 Nov 2024

Betty Junod 2 min read

Today, we are excited to announce Twelve-Factor is now an open source project. This is a special moment in the journey of Twelve-Factor over the years. Published over a decade ago by Heroku co-founder Adam Wiggins to codify the best practices for writing SaaS apps, the ideas espoused on the Twelve-Factor App website inspired many […] The post Heroku Open…

newsdeveloper toolsguideopen source

Rob 1 min read

This is one of those posts that I write so that I can look it up again as this information is all over the Internet, but it took me a little while to find what I was looking for. To accept command line arguments in a Python script, use the argparse package: import argparse You can then instantiate a parser…

python

Stanko 1 min read

When an HTML element becomes too narrow, its content starts to wrap into multiple lines. This is intended behavior and works well in many cases. However, for short text, it doesn't look great when the last word or icon drops to the next line, becoming an orphan. For example, you might see something like this: Click here for more info…

11 Nov 2024

jonskeet 10 min read

When I wrote my preview DigiMixer post, I was awaiting the arrival of my latest mixer: a Behringer Wing Rack. It arrived a few days later, and I’m pleased to say it didn’t take long to integrate it with DigiMixer. (It’s now my main mixer.) While most of the integration was smooth sailing, there’s one … Continue reading When Abstractions…

digimixer

Shubham Singh 5 min read

In today’s rapidly evolving software landscape, scalability and independence in development are essential for creating robust applications. Micro frontends provide a solution to break large monolithic frontends into smaller, independent units that can be developed, deployed, and maintained by different teams. One of the most effective ways to implement micro frontends is through Webpack’s Module Federation , which allows teams…

webpack-module-federationreactreact-microfrontendjavascriptwebpack-5

Manoj Gupta 5 min read

Introduction Migrating from React 16 to React 18 is not a simple version bump. It involves navigating a complex landscape of new features, breaking changes, and architectural shifts. React 18 introduces the useTransition and useDeferredValue hooks for handling asynchronous rendering, making apps more responsive. It also includes createRoot, replacing ReactDOM.render, to enable concurrent features. Improved server-side rendering (SSR) in React…

ASSET MENDESH, MARKETING MANAGER @ TOPTAL 1 min read

Discover how AI-powered search is reshaping SEO and PPC, with natural language queries, multimodal search, and personalized experiences driving the future of search.

9 Nov 2024

Henrik Warne 5 min read

I am using a very simple system for remembering commands and procedures, and for tracking what I work on. I have two plain text files called notes.txt and worktime.txt. In the notes file, I write down things that are important … Continue reading →

workknowledge managementtime tracking

2 min read

I added a new section to this site a couple weeks ago called TIL (“today I learned”). the goal: save interesting tools & facts I posted on social media One kind of thing I like to post on Mastodon/Bluesky is “hey, here’s a cool thing”, like the great SQLite repl litecli, or the fact that cross compiling in Go Just…

Stanko 3 min read

I want to share some really nice open-source applications I use on a daily basis. I did a similar post about six years ago, so I felt there is a need for an updated one. I focused on the apps that I feel are really convenient but less known. All of the applications listed are free and open source. For…

8 Nov 2024

Srivani Bethi 7 min read

Background and motivation In the fast-paced world of software development, having the right tools can make all the difference. At Slack, we’ve been working on a set of AI-powered developer tools that are saving 10,000+ hours of developer time yearly, while meeting our strictest requirements for security, data protection, and compliance. In this post, we’ll…

uncategorizeddevtoolsmachine-learningsearch

7 Nov 2024

vladmihalcea 1 min read

Introduction In this article, we are going to see the best way to determine the optimal connection pool size using the FlexyPool auto-incrementing pool strategy. If you are unfamiliar with the reason why database applications need a connection pool, then check out this article first. Now, according to the Universal Scalability Law, the maximum throughput of a database system is…

databaseflexypoolconnection poolingdatabase connection provisioninghikaricp

6 Nov 2024

Developer Relations Team 1 min read

Unlock powerful game development with Unity's API: control logic, physics, collisions, rendering, and interactions using C# scripting.

3 min read

I’m temporarily disabled: I fell and fractured my shoulder about a week and a half ago. My right arm is in a sling; I can’t write. It’s election season in the US, so I wondered what the experience would be like casting a vote in New York City. (Aside: I wrote this post with the assistance of dictation software. It…

5 Nov 2024

Rob 1 min read

Earlier in the year, I wrote about updating Flickr metadata using Python. For this script to work, I needed to install the flickrapi package first. I recently came across PEP 723 – Inline script metadata that makes this much easier for single file scripts like my sync-flickr-dates script. Essentially, we can now put a special comment block at the top…

python

Jean-Jacques Royneau 5 min read

Managing z-index is a classic challenge for front-end developers. As a project grows, display conflicts and bugs related to z-index can quickly turn into serious headaches. I recently took some time to clean up the z-indexes in one of our projects. In this article, I’ll share the approach I used for this cleanup (while also laying the foundation for keeping…

cssz-indexstacking-context

4 Nov 2024

1 min read

A few miscellaneous notes about voting… First, it’s a subject I’ve often blogged about before. Go to the tag index on my blog and search for voting; you’ll see a number of posts. Second: when I looked at the tag index, I saw that 16 years ago I’d actually written up something about my experiences as a poll worker. You…

3 min read

A lot of attention in the technical elections community has to do with the actual mechanism for casting a vote, and in particular the use and type of voting machines, risk-limiting audits, etc. But the process of actually getting to cast the ballot is quite important, too. I was a poll worker in New Jersey in 2008 for Obama’s first…

Jeffrey Mew 2 min read

AI did not write this blog post, but it will make your exploratory data analysis with Data Wrangler better! Today, we’re excited to introduce our first step of integrating the power of Copilot into Data Wrangler. With this first integration of Copilot with Data Wrangler, you’ll be able to: Use natural language to clean and […] The post Announcing GitHub…

data sciencedata wranglerpythonvisual studio codeai

3 Nov 2024

2 Nov 2024

1 Nov 2024

Courtney Webster 4 min read

The November 2024 release of the Python and Jupyter extensions for Visual Studio Code are now available. This month's updates include docstring template generation with Pylance, Fold/Unfold All Docstrings commands, a variable view with the Native REPL and more! The post Python in Visual Studio Code – November 2024 Release appeared first on Microsoft for Python Developers Blog.

python

vladmihalcea 1 min read

Introduction Welcome to a new issue of the High-Performance Java Persistence Newsletter in which we share articles, videos, workshops, and StackOverflow answers that are very relevant to any developer who interacts with a database system using Java. Articles The pick of this week is this article about data alignment in PostgreSQL tables and indexes. By properly designing your tables and…

newsletterhibernatejavajpamysql

1 min read

Welcome to the 233rd Carnival of Mathematics! Who can forget 233, the 6th Fibonacci prime? Hey, not all numbers are interesting. Don’t ask me about the smallest positive uninteresting number. You can’t make it interesting with your feeble mind tricks! Anyway, on to the fun. Provers and Shakers The big discovery this month was a new largest known prime number,…

31 Oct 2024

1 min read

Bookmarks for November 2024: 6 links - What is a Staff Engineer?; Please just stop saying "just"; Breaking Down Tasks - Jacob Kaplan-Moss, and more.

9 min read

Hello! I’ve been thinking about the terminal a lot and yesterday I got curious about all these “control codes”, like Ctrl-A, Ctrl-C, Ctrl-W, etc. What’s the deal with all of them? a table of ASCII control characters Here’s a table of all 33 ASCII control characters, and what they do on my machine (on Mac OS), more or less. There…

1 min read

This article will explain how the blog is organized at a technical level, and show how I implemented various IndieWeb features. Table of Contents: Motivation Structure and Deployment Static search index Running scripts via GitHub Actions Social media syndication and the “shortform” section Links to syndicated versions at the end of each post Warning for a too-long first paragraph Triggering…