Skip to content
  • HOME
  • main page
  • Discussion
  • History
  • View source
  • Community Portal
  • BLOGExpand
    • I/O
    • Math
    • Time
    • Sort algorithms
  • I/O

    Adding text to the end of a file without disturbing what’s already there

    Byahotnjok June 22, 2026June 22, 2026

    Append a String to a File — CodeForge CodeForge — Programming Reference Append a String to a File Adding text to the end of a file without disturbing what’s already there — the open mode that matters, and why concurrent appends need more care than they look like they do. Difficulty: Beginner Languages: Python ·…

    Read More Adding text to the end of a file without disturbing what’s already thereContinue

  • I/O

    A question that looks trivial until symbolic links, sparse files

    Byahotnjok June 22, 2026June 22, 2026

    Determine the Size of a File — CodeForge CodeForge — Programming Reference Determine the Size of a File A question that looks trivial until symbolic links, sparse files, and streamed sources show up — three ways to ask “how big is this,” and what each answer actually means. Difficulty: Beginner Languages: Python · Java ·…

    Read More A question that looks trivial until symbolic links, sparse filesContinue

  • I/O

    Reading from a socket or a file handle that might just never respond

    Byahotnjok June 22, 2026June 22, 2026

    I/O With Timeout — CodeForge CodeForge — Programming Reference I/O With Timeout Reading from a socket or a file handle that might just never respond — and the patterns that stop a hung connection from hanging your entire program. Difficulty: Intermediate Languages: Python · C · Java Read: ~10 min In this article Why blocking…

    Read More Reading from a socket or a file handle that might just never respondContinue

CodeCodex Footer
CodeCodex

CodeCodex is a free, open, wiki-powered code repository covering 40+ programming languages. Find ready-to-use algorithms, snippets, and functions — written and improved by developers around the world every day.

Categories

  • Sorting Algorithms
  • Input / Output
  • Math & Algorithms
  • Time & Dates

Company

  • Home
  • Community
  • Blog

Legal

  • Privacy Policy
  • Disclaimer
© 2025 CodeCodex. All rights reserved. Free and open for everyone.
Privacy Policy Disclaimer Sorting Algorithms
  • HOME
  • main page
  • Discussion
  • History
  • View source
  • Community Portal
  • BLOG
    • I/O
    • Math
    • Time
    • Sort algorithms