Faster pip installs: caching, bytecode compilation, and uv

Installing your Python application’s dependencies can be surprisingly slow. Whether you’re running tests in CI, building a Docker image, or installing an application, downloading and installing dependencies can take a while. So how do you speed up installation with pip? In this article I’ll cover: Avoiding the slow path of installing from source. The package cache. Bytecode compilation and how it interacts with installation and startup speed. Using uv, a faster replacement for pip, and why it’s not always as […]

Read more

Ideas: Bug hunting with Shan Lu

SHAN LU: Thank you. HUIZINGA: So I like to start these episodes with what I’ve been calling the “research origin story,” and you have a unique, almost counterintuitive, story about what got you started in the field of systems research. Would you share that story with our listeners? LU: Sure, sure. Yeah. I grew up fascinating that I will become mathematician. I think I was good at math, and at some point, actually, until, I think, I entered college, I […]

Read more

Quiz: How to Deal With Missing Data in Polars

Interactive Quiz ⋅ 10 QuestionsBy Ian Eyre Share In this quiz, you’ll test your understanding of How to Deal With Missing Data in Polars. By working through the questions, you’ll review your understanding of dealing with null values in Polars and also expand on what you learned in the tutorial. You’ll need to do some research outside of the tutorial to answer all the questions. Embrace this challenge and let it take you on a learning journey. The quiz contains […]

Read more

How to Deal With Missing Data in Polars

Efficiently handling missing data in Polars is essential for keeping your datasets clean during analysis. Polars provides powerful tools to identify, replace, and remove null values, ensuring seamless data processing. This tutorial covers practical techniques for managing missing data and highlights Polars’ capabilities to enhance your data analysis workflow. By following along, you’ll gain hands-on experience with these techniques and learn how to ensure your datasets are accurate and reliable. By the end of this tutorial, you’ll understand that: Polars […]

Read more

Exploring Python’s tuple Data Type With Examples

In Python, a tuple is a built-in data type that allows you to create immutable sequences of values. The values or items in a tuple can be of any type. This makes tuples pretty useful in those situations where you need to store heterogeneous data, like that in a database record, for example. Through this tutorial, you’ll dive deep into Python tuples and get a solid understanding of their key features and use cases. This knowledge will allow you to […]

Read more

Research Focus: Week of January 13, 2025

In this edition: We introduce privacy enhancements for multiparty deep learning, a framework using smaller, open-source models to provide relevance judgments, and other notable new research. We congratulate Yasuyuki Matsushita, who was named an IEEE Computer Society Fellow. We’ve included a recap of the extraordinary, far-reaching work done by researchers at Microsoft in 2024.   NEW RESEARCH

Read more

Catching memory leaks with your test suite

Resource leaks are an unpleasant type of bug. Little by little your program uses more memory, or more file descriptors, or some other limited resource. Everything seems fine—until you run, and now your program is dead. In many cases you can catch these sort of bugs in advance, by tweaking your test suite. Or, after you’ve discovered such a bug, you can use your test suite to identify what is causing it. In this article we’ll cover: An example of […]

Read more

Ideas: AI for materials discovery with Tian Xie and Ziheng Lu

[MUSIC FADES]  I’m your guest host, Lindsay Kalter. Today I’m talking to Microsoft Principal Research Manager Tian Xie and Microsoft Principal Researcher Ziheng Lu. Tian is doing fascinating work with MatterGen, an AI tool for generating new materials guided by specific design requirements. Ziheng is one of the visionaries behind MatterSim, which puts those new materials to the test through advanced simulations. Together, they’re redefining what’s possible in materials science. Tian and Ziheng, welcome to the podcast.  TIAN XIE: Very […]

Read more

MatterGen: A new paradigm of materials design with generative AI 

Materials innovation is one of the key drivers of major technological breakthroughs. The discovery of lithium cobalt oxide in the 1980s laid the groundwork for today’s lithium-ion battery technology. It now powers modern mobile phones and electric cars, impacting the daily lives of billions of people. Materials innovation is also required for designing more efficient solar cells, cheaper batteries for grid-level energy storage,  

Read more

Building Dictionary Comprehensions in Python

Dictionary comprehensions are a concise and quick way to create, transform, and filter dictionaries in Python. They can significantly enhance your code’s conciseness and readability compared to using regular for loops to process your dictionaries. Understanding dictionary comprehensions is crucial for you as a Python developer because they’re a Pythonic tool for dictionary manipulation and can be a valuable addition to your programming toolkit. In this video course, you’ll learn how to: Create dictionaries using dictionary comprehensions Transform existing dictionaries […]

Read more
1 13 14 15 16 17 926