About:

A Blog. Specifically, one made by a guy named "Josh Cannon."

Website:

Subscribe to RSS:
The blog post discusses GitHub's feature of gating Pull Request merges behind commit statuses, highlighting its automation capabilities and various applications such as code coverage checks and code review requirements. It explain...
The blog post discusses GitHub's merge queue system, explaining how it creates branches for pull requests (PRs) and the security vulnerabilities associated with it. It highlights that GitHub does not prevent users with write acces...
This blog post discusses Python namespace packages, which allow a single package to be split across multiple directories. It clarifies terminology around 'packages' and 'modules' in Python, explains the difference between explicit...
The post discusses the use of 'cog', a content generation tool that allows embedding Python code in static files, to create single-file Python scripts with pinned dependencies. It highlights the beauty of cog's functionality, part...
The post discusses the utility of GitHub Environments, particularly in relation to security rather than just deployments. It explains how environments can be configured with protection rules and secrets, emphasizing that GitHub Se...
The author reflects on the use of word games and humor to explore concepts like correlation and causation, using the example of water consumption and its implications on life and death. They discuss the idea of bounding problems, ...
The blog post discusses the notification features of Buildkite pipelines, specifically how to configure notifications for pipeline statuses using services like Slack, PagerDuty, and GitHub. It explains the potential for misuse of ...
The post discusses the importance of co-location in fostering cooperation and collaboration among software developers, using the concept of monorepos as a metaphor. It emphasizes that successful software engineering is not just ab...
The post discusses the differences between absolute and relative imports in Python, emphasizing the advantages of absolute imports for consistency when running Python files. It outlines various methods for running Python files and...
The author reflects on their experience of leaving Anthropic and the mixed emotions surrounding job rejections. They share a meme sent to their wife and friend, illustrating their confidence despite receiving feedback from intervi...
Technological advancements have drastically reduced human toil, allowing for a more enjoyable and relaxed lifestyle through innovations like automobiles, airplanes, and household appliances.
The text explains how Python generators work at a basic level and how they differ from the memory model of 'systems-flavored' languages like C and C++. It discusses the stack and the heap, Python's memory model, and the concept of...
The text explains how to use uv to create and run remote single-file Python scripts, eliminating the need to worry about installing the right version of Python or dependencies. It also supports reading remote files and private rep...
The text explains how to programmatically access private GitHub file URLs using HTTP user/password authentication with a token as the password. It also mentions setting the authentication in the ~/.netrc file and using it in autom...
GitHub provides a way to see changes in a pull request branch relative to an earlier change. It is not easy to produce a 'diff of diffs' but can be achieved by re-imagining the old tip as if it had the new tip's merge base and the...
The text is a review of the GitHub Universe 2024 conference, focusing on the speaker's experience and the content of the conference. The speaker presented a talk on GitHub's merge queue, received positive feedback, and expressed i...
The text discusses the importance of naming conventions in Python packages and the challenges of mapping module names to package names. It outlines the process of gathering data from PyPI and analyzing it to understand the convent...
The text discusses the author's thoughts on ruff, a fast Python linter written in Rust, and its impact on the Python tooling ecosystem. The author praises ruff's speed, automatic error fixing, and maturity, while also addressing c...
The blog is a place for the author to collect their thoughts, covering mostly tech topics with a focus on Python, and will include humor. It is intended for the author, but others can read it as well.