• 6 Posts
  • 43 Comments
Joined 10 months ago
cake
Cake day: September 13th, 2023

help-circle



  • You only saw the tabs open on this workspace.

    But yeah I don’t have hundreds of tabs open. It is incompatible with my workflow. Only the “tabs” directly relevant to whatever is currently happening in the current workspace are kept open.

    A link either gets read or it doesn’t. If I don’t have time to read a link somebody sends me personally, I just tell them that. I don’t string anybody along about a link I know I will never read. I can’t allow for any link backlog. That leads to . . . dark places.

    Also, I don’t really use bookmarks either. When I disable search suggestions and use firefox suggest, it leave more space for history. It works so well I don’t really need to bookmark anything. Frequently opened sites make their way to the top on their own.






  • The same applies to Android OS development. All of it. Android requires a very powerful 1000 USD desktop or laptop computer with 20 gigs of ram and 200 gigs of SSD hard drive space just to compile. This is unacceptable.

    Meanwhile, mainline phone linux, like dreemurrs archlinux or postmarketos, can be developed using the same phone it runs on!!! All you need is a 20 USD bluetooth keyboard. It is fully awesome. Imagine a world where anybody with just a smartphone and a bluetooth keyboard could be an OS developer!









  • I download opus .webm s,
        then use ffmpeg to convert to .opus,
        which I'm pretty sure is just ogg.
    IDK, works great in quodlibet.
    .webm can't be tagged, though.
    Tagging is critical, especially replay_gain tags.
    
    Here is my script:
    #!/usr/bin/env python
    
    # Youtube actually hosts audio-only opus tracks, but you can only get them
    # in the webm container, which many music players, including quodlibet, don't
    # know what to do with. This script downloads the track, then converts it with
    # zero loss to the opus container using ffmpeg's `-acodec copy` feature.
    
    import sys
    from subprocess import call
    from os.path import splitext
    from os import remove, walk, listdir
    from tempfile import TemporaryDirectory
    from shutil import move
    
    urls = sys.argv[1:]
    
    with TemporaryDirectory(prefix='yta-') as tempdir:
        # Do not raise exceptions, because yt-dlp counts failure of a single
        # download in the list as an overall failure, exit code wise.
        call(['env', '-C', tempdir, 'yt-dlp', '-if', 'bestaudio',
            '-o', '%(artist)s - %(title)s - %(id)s.%(ext)s', '--'] + urls)
    
        for tempdir, dirs, files in walk(tempdir):
            for fn in files:
                path = tempdir+'/'+fn
                name, ext = splitext(path)
                if ext == '.webm':
                    if call([
                        'ffmpeg', '-hide_banner',
                        '-i', path,
                        '-acodec', 'copy',
                        name+'.opus'
                    ]) == 0:
                        remove(path)
    
        for node in listdir(tempdir):
            move(tempdir+'/'+node, '.')
    
    





  • etuomaala@sopuli.xyztoMemes@lemmy.mlthose ppl...
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    9 months ago
    Lemmy uses the system default for monospace font.
    Try changing the monospace alias in /etc/fonts/local.conf:
    https://wiki.archlinux.org/title/Font_configuration/Examples#Default_fonts
    
    That's for system-wide effect.
    For just firefox, go to Settings > General > Fonts > Advanced and
        change the default Monospace font to a monospace font you like.
    
    Source Code Pro and DejaVu Sans Mono are both very good.