惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

罗磊的独立博客
小众软件
小众软件
The Cloudflare Blog
博客园 - 【当耐特】
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
V
Visual Studio Blog
量子位
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
美团技术团队
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
博客园 - 叶小钗
月光博客
月光博客
Apple Machine Learning Research
Apple Machine Learning Research
T
Tailwind CSS Blog
博客园 - 聂微东
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
J
Java Code Geeks
Y
Y Combinator Blog
D
Docker
Microsoft Azure Blog
Microsoft Azure Blog

Stonecharioteer on Tech

I Traced My Traffic Through a Home Tailscale Exit Node What Was I Reading Last? In Three Not-So-Easy Pieces Dogfooding Is Hard Code blocks in your books, finally GoForGo v0.9.0 Merrilin - We built an app to read books I use a Macbook now Data Structures & Algorithms - Preparing for Interviews Using a local DNS namespace for local service discovery Direction KOllector - Publishing KOReader Highlights gbt: branches touched in the last 24 hours A Soiree into Symbols in Ruby Some Smalltalk about Ruby Loops Ruby Blocks Returning from Ruby Blocks, Procs and Lambdas My Linux Laptop Finally Works: How Claude Helped Me Fix Years of Annoyances TIL: Watchexec - Modern File Watching for Development Workflows A Less Busy Mind GoForGo - Learn Go through live examples Migrating My Old Blog to Hugo with Claude The Qtile Window Manager: A Python-Powered Tiling Experience Read the RFCs that Built the Internet Py-x-Protobuf - Or How I Learned to Stop Worrying and Love Protocol Buffers Python Reverse a List New Beginnings Leaving ChainSafe Systems Screen Lock for Cinnamon Desktop using Zenity and Terminal Commands Crews Not Teams A System for Getting Better at LeetCode
TIL: UNIX Programming Course, Finding Duplicate Files, an...
2021-01-14 · via Stonecharioteer on Tech

UNIX Systems Programming Education

CS631 Advanced Programming in the UNIX Environment

Course Content Areas

  • System Calls: Low-level interaction with the operating system
  • Process Management: Creating, managing, and communicating between processes
  • File Systems: Understanding UNIX file system internals
  • Network Programming: Socket programming and network communications
  • Inter-Process Communication: Pipes, signals, shared memory, and message queues
  • Security: UNIX security model and secure programming practices

Learning Benefits

  • Systems Understanding: Deep knowledge of how UNIX systems work internally
  • Professional Skills: Essential knowledge for systems programming roles
  • C Programming: Advanced C programming in systems context
  • Performance: Understanding performance implications of system calls
  • Debugging: Techniques for debugging systems-level programs

Finding Duplicate Files on Linux

Duplicate File Detection Methods

  • fdupes: Dedicated tool for finding duplicate files
  • rdfind: Another specialized duplicate finder
  • find + md5sum: Manual approach using standard tools
  • dupe-guru: GUI application for duplicate management
  • jdupes: Improved version of fdupes with better performance

Use Cases and Benefits

  • Storage Optimization: Reclaim disk space by removing duplicates
  • Backup Cleanup: Remove redundant files from backup sets
  • Media Management: Organize photo and music collections
  • System Maintenance: Regular cleanup as part of system maintenance
  • Data Deduplication: Reduce storage requirements for large datasets

Command Examples

1
2
3
4
5
6
7
8
# Using fdupes to find duplicates
fdupes -r /path/to/directory

# Using find and md5sum
find /path -type f -exec md5sum {} \; | sort | uniq -d -w32

# Using rdfind
rdfind -makehardlinks true /path/to/directory

Content Creation and Education

Livestreaming Tips for Technical Content

  • Livestream tips :: Jon Gjengset
  • Practical advice for technical livestreaming
  • Written by Jon Gjengset, known for Rust programming streams
  • Covers technical, equipment, and presentation aspects

Technical Livestreaming Considerations

  • Audio Quality: Most important aspect of stream quality
  • Screen Setup: Optimal resolution and font sizes for viewers
  • Content Planning: Balancing preparation with spontaneity
  • Interaction: Engaging with chat while maintaining focus
  • Technical Setup: OBS configuration, scene management, hotkeys

Educational Streaming Benefits

  • Learning in Public: Teaching while learning new concepts
  • Community Building: Creating educational communities around topics
  • Accessibility: Making learning resources freely available
  • Real-time Feedback: Immediate questions and discussions
  • Documentation: Recorded streams serve as educational content

Stream Content Ideas

  • Code Reviews: Reviewing and discussing code quality
  • Tutorial Series: Step-by-step learning content
  • Problem Solving: Working through algorithms or system design
  • Tool Exploration: Discovering and learning new tools
  • Project Development: Building projects from start to finish

Key Takeaways

  • Educational Resources: High-quality computer science education increasingly available online
  • Systems Knowledge: Understanding UNIX internals crucial for systems programming
  • Maintenance Skills: Regular system maintenance requires knowledge of cleanup tools
  • Content Creation: Technical livestreaming can be valuable for both creators and viewers
  • Community Learning: Shared learning experiences benefit everyone involved
  • Practical Skills: Combining theoretical knowledge with practical tools and techniques

These resources span from foundational computer science education to practical system administration and modern content creation, showing how technical knowledge can be both acquired and shared in various formats.