A Practical Guide to fzf: Building a File Explorer

Writing Code Without Plain Text Files

2D Player Collision against Static Geometry

Issue #324

1/30/2023

{{PreviewText}} 

Hey-ya
Hope you all had a lovely weekend. Here's the issue.

====================================================================

Today's Sponsor: Could be you!

Are you or your company interested in sponsoring the newsletter? Feel free to reach out to me by replying to this email or clicking the link above.

====================================================================

A Practical Guide to fzf: Building a File Explorer

Published: 27 January 2023
Tags: terminal, shell


Matthieu Cneude discusses the use of fzf, a command line interface, to create a file explorer.
Some highlights:

  • It explains the basics of fzf and how to enable multi-selection, use metacharacters, limit searches to specific fields, customize the interface, bind keystrokes, and fix performance issues
  • "fzf is a fuzzy finder, allowing us to match a plain text query against line-separated inputs"
  • Includes exercises to help readers build the file explorer step-by-step


====================================================================

Writing Code Without Plain Text Files

Published: 23 January 2023
Tags: compiler, sqlite, unison


The article is about the Erik Engheim's experience writing code in the Unison programming language, which stores code in a database instead of in files.
Some highlights:

  • Unison stores source code in a SQLite DB
  • Uses similar features as Git for keeping track of changes to source code
  • "In particular, I think the Unison approach can be extremely beneficial for large software projects with many developers running over many years"


====================================================================

2D Player Collision against Static Geometry

Published: 27 January 2023
Tags: c++, games


Tim Wheeler begins by discussing a game he worked on 8 years ago, and reflects on the problems he ran into with player movement and collision. Tim notes that many games today still struggle with these same issues.
Some highlights:

  • Goals for player movement: continuous movement, smoothly sliding along static geometry, and efficient handling of non-tile maps
  • The central issue is moving the player collision volume around without intersecting with anything
  • Also covers integrating velocity over time, basic collision physics, and basic collision approaches based on geometric primitives


-

How did I do?

* Amazing
* Articles not relevant to me
* Articles were relevant, but badly written
* Summaries told me everything I wanted to know
* I like turtles

Want to help?

Thank you for reading! If you enjoy the newsletter, I would really appreciate you helping me spread the word by forwarding this to your friends and colleagues or sharing it on social media! Get cool stuff for your referrals using your link https://abyteofcoding.com.

Your referrals:


If you want to discuss or comment on this issue, head on over to this page at A Byte of Coding. You can also subscribe there if you're new!

Have comments or feedback? Just reply to this email or hit me up on Twitter @AByteOfCoding.

Email landed in your promotions tab? Please move it over to primary so you don't miss the latest issues in the future.
Thanks for your Support! 

Big thanks to all of the Patreon supports and company sponsors. If you want to support the newsletter you can checkout the Patreon page. It's not necessary, but it lets me know that I'm doing a good job and that you're finding value in the content.


Stats (updated daily)

Sent: 3043

Opens: 1483

Clicks: 391

Link Clicks Clicks % Unique Clicks Unique Clicks %
A Practical Guide to fzf: Building a File Explorer 109 35.97% 119 36.62
Writing Code Without Plain Text Files 102 33.66% 107 32.92
2D Player Collision against Static Geometry 92 30.36% 99 30.46

Previous

Back to Issues

Next