~/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

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

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

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

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…

30 Oct 2024

jgamblin 2 min read

The Common Vulnerabilities and Exposures (CVE) program, launched in late October 1999, has not only marked its presence but has become a pivotal force in shaping how we perceive and manage cybersecurity threats. A Journey Through Time The CVE program emerged as a beacon, standardizing how vulnerabilities are identified, shared, and mitigated. From its inception with just 321 entries, it…

uncategorized

29 Oct 2024

Michael Carroll 1 min read

Enhance your data literacy with Data Quality Management. Learn how accurate and reliable data can drive informed decisions and insights

Rob 1 min read

There's a new feature in macOS Sequoia that allows mirroring of your iPhone to your Mac. This is a nice feature that allows you to fully interact with your iPhone as an app on you Mac's desktop. When I upgrade to Sequoia and run the iPhone Mirroring app, it selected Victory, my old iPhone 14 Pro Max which is running…

computing

28 Oct 2024

Lou Kratz 8 min read

Introduction Large language models are fantastic tools for unstructured text, but what if your text doesn’t fit in the context window? Bazaarvoice faced exactly this challenge when building our AI Review Summaries feature: millions of user reviews simply won’t fit into the context window of even newer LLMs and, even if they did, it would […]

uncategorized

29 min read

There's a common narrative that Microsoft was moribund under Steve Ballmer and then later saved by the miraculous leadership of Satya Nadella. This is the dominant narrative in every online discussion about the topic I've seen and it's a commonly expressed belief "in real life" as well. While I don't have anything negative to say about Nadella's leadership in this…

27 Oct 2024

11 min read

I’ve been having problems for the last 3 years or so where Mess With DNS periodically runs out of memory and gets OOM killed. This hasn’t been a big priority for me: usually it just goes down for a few minutes while it restarts, and it only happens once a day at most, so I’ve just been ignoring. But last…

18 min read

This post is an edited and expanded version of a now-mangled Mastodon thread. Contents Platforms Are Competitions ...and We're Losing Win Condition You Do It To Yourself, And That's What Really Hurts Groundhog Day Reboot Some in the JavaScript community imagine that I harbour an irrational dislike of their tools when, in fact, I want nothing more than to stop…

25 Oct 2024

vladmihalcea 1 min read

Introduction In this article, we are going to see how we can use the LazyConnectionDataSourceProxy with Spring Data JPA to acquire the database connection as late as possible and, therefore, reduce transaction response time. For an introduction to how Spring transactions manage database connections, check out this article as well. Service Layer Connection Management Let’s consider we have the following…

springconnectionlazycollectionlazyconnectiondatasourceproxy

24 Oct 2024

Phuong Van 5 min read

Phuong Van explores Phoenix LiveView implementation, covering data migration, UI development, and team collaboration from concept to production. The post Implementing Phoenix LiveView: From Concept to Production appeared first on Erlang Solutions.

liveview

23 Oct 2024

Michael Carroll 1 min read

Unlock data insights to make smarter decisions! Discover how to extract valuable trends, patterns, and actionable strategies from your data