@mdsherry@mastodon.social avatar

mdsherry

@mdsherry@mastodon.social

Not a musician

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mcc, to random
@mcc@mastodon.social avatar

Question for Rust programmers:

When you see this sequence of characters in a Rust program:

|_|

Never mind whether you would ever say it out loud— in your head, what do you think of the name of this sequence of symbols being? Do you have a name for it at all?

I have an answer but I am curious about yours.

mdsherry,
@mdsherry@mastodon.social avatar

@mcc I've heard of the longer sequence |_|() referred to as a toilet for its shape and, I assume, the way it flushes away values

mcc, to random
@mcc@mastodon.social avatar

Anyway since waking up I have successfully written a Rust program that parses an mp3 and prints to the terminal the waveform (or rather signal power over time of the whole file) as ASCII art. It works great. There is only one problem: This is not something I need

mdsherry,
@mdsherry@mastodon.social avatar

@mcc I've sent a PR that adds "subpixel" rendering

  • All
  • Subscribed
  • Moderated
  • Favorites
  • provamag3
  • rosin
  • InstantRegret
  • tacticalgear
  • DreamBathrooms
  • khanakhh
  • magazineikmin
  • thenastyranch
  • Youngstown
  • GTA5RPClips
  • slotface
  • Durango
  • ethstaker
  • kavyap
  • megavids
  • vwfavf
  • everett
  • cubers
  • cisconetworking
  • ngwrru68w68
  • normalnudes
  • modclub
  • mdbf
  • osvaldo12
  • tester
  • anitta
  • Leos
  • JUstTest
  • All magazines