Projects
/ Fundamentals & CS
/ Beginner
🔁 Fix a duplicate check that freezes at 100,000 rows, by counting comparisons
☆ Read later
Free
About 2 hours
Needs: Algorithms for Beginners up to lesson 3 (arrays and lists). Uses Python dicts
Take first: Algorithms for Beginners
What you end up with
A table of list sizes against comparisons, an estimate for 100,000 members, and a dedupe.py that gets through 100,000 members in under a second. You also keep a record showing the rows to remove are the same before and after the fix.
🔒
Create a free account to read this project
Sign up for a free membership to read every free project. Already have an account? Please sign in.
Report a problem with this project
Log in to send a report.
What to build next
Intermediate
🔍
The first of eight projects that build a terminal in Rust. Record vim, top and less with script, read the output byte by byte with cat -v and od, check the meaning in xterm ctlseqs, and write the observation notes that drive the design.
Advanced
🔌
Build a small script(1) of your own with Rust and libc: start a child with forkpty, always restore raw mode, forward SIGWINCH, and relay with select. Tests drive real PTYs, and the output is compared byte for byte with macOS script.
Advanced
🧠
Build the heart of a terminal without a GUI: your own implementation of the Williams state machine and a screen model with scroll regions, the alternate screen, wide characters, emoji and snapshots. Then run real vim and check it against tmux cell by cell.
← Back to all projects