File
We track 27 posts about File from 15 engineering blogs. Most active: Lerner Consulting Blog, Real Python, Raymond Chen. Latest post: Nov 15, 2026.
Companies writing about File
Recent posts
I Cut My Test Suite Time in Half by Slicing Up a CSV File (opens on the source site)
I made a confession recently on LinkedIn: I've been running Holiday API for the last decade on spreadsheets. Not one of those fictional accounts that so many people post, I actually did run everything in a spreadsheet. It allowed me to have an admin interface without building one, and the friction was minimal but not zero. For the most part, CSV files are easy enough to parse and extract data from, even when they are massive. Easy to work with isn't the same as fast though. I'm a caching wizard on the live site, but in my test code, I like to skip the cache so tests are run from a cold start.…
Prevent Duplicate File Uploads With Laravel Storage Dedupler (opens on the source site)
Laravel ·
Laravel Storage Dedupler uses SHA-1 hashes to prevent duplicate file storage, attach files to Eloquent models, and analyse existing directories. The post Prevent Duplicate File Uploads With Laravel Storage Dedupler appeared first on Laravel News. Join the Laravel Newsletter to get Laravel articles like this directly in your inbox.
Puzzling out why a program doesn’t work when run from a batch file, but works when double-clicked from Explorer (opens on the source site)
Mimicking the operation more accurately. The post Puzzling out why a program doesn’t work when run from a batch file, but works when double-clicked from Explorer appeared first on The Old New Thing.
Python's pathlib Module: Taming the File System (opens on the source site)
Python’s pathlib module helps streamline your work with file and directory paths. Instead of relying on traditional string-based path handling, you can use the Path object, which provides a cross-platform way to read, write, move, and delete files. pathlib also brings together functionality previously spread across other libraries like os, glob, and shutil, making file operations more straightforward. Plus, it includes built-in methods for reading and writing text or binary files, ensuring a clean and Pythonic approach to handling file tasks. By the end of this tutorial, you’ll understand…
Quiz: Python's pathlib Module: Taming the File System (opens on the source site)
In this quiz, you’ll revisit how to tame the file system with Python’s pathlib module. You’ll reinforce core pathlib concepts, including checking whether a path points to a file and instantiating Path objects. You’ll revisit joining paths with the / operator and .joinpath(), iterating over directory contents with .iterdir(), and renaming files on disk with .replace(). You’ll also check your knowledge of common file operations such as creating empty files with .touch(), writing text with .write_text(), and extracting filename components using .stem and .suffix. [ Improve Your Python With 🐍…
CakePHP File Storage: store it once, upload it in pieces (opens on the source site)
"File uploading in CakePHP just became serious." Last November I introduced the FileStorage plugin v4.0: one file_storage table, Flysystem underneath, image variants on top. The post ended with a roadmap. A lot of it has shipped since, and some things that were not on it at all. 5.3.0 adds resumable uploads, so large files can…
File & Folder 98: a 1998 Word Document Manager (opens on the source site)
In the 1990s I wrote a document manager for a small business in Geneva with about 20 workstations. Most of its staff were new to computers, and folders were a challenging idea to grasp. They saved Word documents wherever Word happened to put them, and the network supervisor spent his days looking for lost files by panicked coworkers. File & Folder solved that problem. My 1999 product page said it was for “a small business which is sick and tired of seeing it’s workers putting documents a bit everywhere in the system.” The first version, File & Folder 1.0, was a Visual Basic app for Windows…
A sample use of the winstart.bat file in Windows 95 (opens on the source site)
For a driver that needs high resolution mode only in Windows. The post A sample use of the winstart.bat file in Windows 95 appeared first on The Old New Thing.
A sample use of the winstart.bat file in Windows 95 (opens on the source site)
For a driver that needs high resolution mode only in Windows. The post A sample use of the winstart.bat file in Windows 95 appeared first on The Old New Thing.
Parquet File Write Support, Bloom Filters, Improved Performance: Hardwood 1.1.0.Beta1 Is Out (opens on the source site)
Table of Contents Write Support Query Evaluation: Bloom Filters and Dictionary-Based Row-Group Pruning Performance Improvements Hardwood CLI Closing Thoughts "When is write support gonna land in Hardwood?" That’s probably the most common question I got over the last few months. As of today, I am very happy to share that the answer has changed from "It’s coming soon" to "A first cut is there, give it a try" — the first Beta of Hardwood 1.1 is out! This is a major milestone for the project, marking the first step in evolving Hardwood from being solely a Parquet parser to a complete library for…
Put App Documents in the System File Browser (opens on the source site)
Document Provider publishes a selected read-only tree from a Codename One application into the iOS Files app and Android storage picker, including local and on-demand remote content.
How to Write an AGENTS.md File for a Python Project (opens on the source site)
Learn how to write an AGENTS.md file so your AI coding agent produces idiomatic Python code that fits your project on the first try.
Quiz: How to Write an AGENTS.md File for a Python Project (opens on the source site)
Check your understanding of how an AGENTS.md file gives your AI coding agent the project context it needs to write code that fits your project.
SQLite Across Every Port: One Contract, One Encrypted File Format (opens on the source site)
Codename One now runs the same tested SQLite contract across Android, iOS, JavaScript, Windows, Linux, watchOS, tvOS, and the simulator, with passphrase, managed-key, and raw-key encryption.
redirect_stdout in Python: Sending print output to a file (opens on the source site)
Writing a bunch to non-stdout in Python? You might want to use redirect_stdout from contextlib: The post redirect_stdout in Python: Sending print output to a file appeared first on LernerPython.
Python stderr: Printing with sys.stderr and the file kwarg (opens on the source site)
Want to print to stderr, not stdout, in a Python program? Use sys.stderr and the “file” kwarg: stdout and stderr often look identical in a terminal — but they aren’t! The post Python stderr: Printing with sys.stderr and the file kwarg appeared first on LernerPython.
Python print to a file: Using the file keyword argument (opens on the source site)
Normally, “print” in Python writes to stdout. Write elsewhere with the “file” keyword argument: The post Python print to a file: Using the file keyword argument appeared first on LernerPython.
Redirecting sys.stdout: Assigning print output to a file (opens on the source site)
Want stdout from your Python program to go elsewhere? Assign sys.stdout to a writeable file. (Don’t forget to keep the original around!) Better: print’s file kwarg. The post Redirecting sys.stdout: Assigning print output to a file appeared first on LernerPython.
Python import: How a module name becomes a file on sys.path (opens on the source site)
You import a Python module with the variable you’ll define, not a filename. “import mymod” tells Python to find mymod.py in each dir in sys.path. The first directory is ” […] The post Python import: How a module name becomes a file on sys.path appeared first on LernerPython.
Knowledge as Code: The Memory File Just Got a Spec (opens on the source site)
Pulumi ·
Five weeks ago I wrote that the least glamorous piece of an agent loop is also the one that decides whether it compounds: memory. A markdown file outside the context window that holds what is done, what is next, and what was learned, because the model forgets all of it between runs. Write the memory file before the loop. What I left open, because there was nothing to point at, was the format. My memory file looked nothing like yours, and neither of our agents could read the other’s. Three days after that post went live, Google shipped an answer. The pattern everyone copied Andrej Karpathy…
AWS Bedrock AgentCore, S3 File Mounts, Python & Install Improvements (opens on the source site)
Serverless Framework's May 2026 update covering built-in AWS Bedrock AgentCore support, S3 file system mounts for Lambda, faster Framework installs, Python improvements, bug fixes, and security updates.
VARIANT Support, Interactive Parquet File TUI: Hardwood 1.0.0.Beta2 Is Out (opens on the source site)
Table of Contents VARIANT Support Hardwood CLI TUI Unified Reader API Performance Improvements Wrapping Up I am happy to announce the release of Hardwood 1.0.0.Beta2! The latest version of this new parser for Apache Parquet comes with support for VARIANT columns, an interactive text-based UI (TUI) for examining and analysing the structure of Parquet files, significantly improved performance, more efficient reading of files from object storage, and much more.
Android Quick Share Support for AirDrop: A Secure Approach to Cross-Platform File Sharing (opens on the source site)
Posted by Dave Kleidermacher, VP, Platforms Security & Privacy, Google Technology should bring people closer together, not create walls. Being able to communicate and connect with friends and family should be easy regardless of the phone they use. That’s why Android has been building experiences that help you stay connected across platforms. As part of our efforts to continue to make cross-platform communication more seamless for users, we've made Quick Share interoperable with AirDrop, allowing for two-way file sharing between Android and iOS devices, starting with the Pixel 10 Family. This…
Android Quick Share Support for AirDrop: A Secure Approach to Cross-Platform File Sharing (opens on the source site)
Posted by Dave Kleidermacher, VP, Platforms Security & Privacy, Google Technology should bring people closer together, not create walls. Being able to communicate and connect with friends and family should be easy regardless of the phone they use. That’s why Android has been building experiences that help you stay connected across platforms. As part of our efforts to continue to make cross-platform communication more seamless for users, we've made Quick Share interoperable with AirDrop, allowing for two-way file sharing between Android and iOS devices, starting with the Pixel 10 Family. This…
File preallocation on macOS in Ruby (opens on the source site)
I haven’t blogged in a while, so I figured I should do that. Jet lag has blessed me with some free time this morning, so I figured I would make some content in order to feed the AI bots. I’ve been messing around with pre-allocating files on the file system on macOS. This is useful in cases where you have a large file you need to copy, and you want to copy it quickly. For example, a tar implementation where the tar file might contain large files you need to copy. Here is the code: require "fcntl" # typedef struct fstore { # u_int32_t fst_flags; /* IN: flags word */ # int fst_posmode; /* IN:…
Boost File Scanning Speed: Query File Attributes on Windows 50x Faster (opens on the source site)
Imagine you’re developing a tool that needs to scan for file changes across thousands of project files. Retrieving file attributes efficiently becomes critical for such scenarios. In this article, I’ll demonstrate a technique to get file attributes that can achieve a surprising speedup of over 50+ times compared to standard Windows methods. Let’s dive in and explore how we can achieve this. Inspiration & Disclaimer The inspiration for this article came from a recent update for Visual Assist - a tool that heavily improves Visual Studio experience and productivity for C# and C++ developers. In…
On native, single-input, multiple file uploads (opens on the source site)
If you are following the current news on web development, you probably heard that the new Safari 4 has a great feature: It natively allows the user to select multiple files via a single input control, if you specify a value for the attribute multiple: or, in XHTML: You might not know that Opera supported multiple file uploads for a while now, based on the earlier Web Forms 2.0 standard in a slightly different (and more flexible) format: Can we use those currently? Sure we can, but we should provide fallbacks for the other browsers. Using these features will put pressure on the other browser…
Related topics
This page is generated automatically from the engineering blogs we follow. Every post links to its source, where it was published. See all sources.