Bauke's recent activity

  1. Comment on Iā€™d like to suggest avoiding long excerpts in ~tildes

    Bauke
    Link Parent
    Don't have much stake in the discussion here but Tildes is a link aggregator, it's kind of the point to share links.

    Yes, this is true, but sharing just a link doesn't explain why you shared it either, and that often seems okay?

    Don't have much stake in the discussion here but Tildes is a link aggregator, it's kind of the point to share links.

    1 vote
  2. Comment on Tag plurality in ~tildes

    Bauke
    Link Parent
    I think @deing made that script, iirc.

    I think @deing made that script, iirc.

    1 vote
  3. Comment on Replacing YouTube & Invidious in ~comp

    Bauke
    (edited )
    Link Parent
    Hi again, I just finished a little OPML CLI tool that should let you adapt the script from the blog post to use OPML. You can download a precompiled binary from the releases page. Click to expand...

    Hi again, I just finished a little OPML CLI tool that should let you adapt the script from the blog post to use OPML. You can download a precompiled binary from the releases page.

    Click to expand example shell script.

    This script should let you use it like the blog author did, I'm not very familiar with Shell scripting but hopefully this works.

    #!/usr/bin/env bash
    
    # Placeholder download function, replace with your own.
    dl () {
      channel="$1"
      url="$2"
      # youtube-dl needs a Youtube channel link so we grab just the ID from the RSS link here.
      url="https://youtube.com/channel/${url##*=}"
    
      echo "$channel"
      echo "$url"
    }
    
    readarray -t feeds <<< $(./opml --rss --file your_opml_file.opml)
    
    for (( index=0; index<${#feeds[@]}; index += 2 )); do
      dl "${feeds[$index]}" "${feeds[$index + 1]}"
    done
    
    1 vote
  4. Comment on Replacing YouTube & Invidious in ~comp

    Bauke
    Link Parent
    It's possible though you'd need an OPML parser available in the CLI (which I might actually make, since I did make an OPML parser in Rust, so slapping on a CLI wouldn't be too difficult) or do...

    It's possible though you'd need an OPML parser available in the CLI (which I might actually make, since I did make an OPML parser in Rust, so slapping on a CLI wouldn't be too difficult) or do some serious awk/grep/sed magic to extract the xmlUrl and text attributes from all the outlines in the OPML file.

  5. Comment on Tilde.Club: I had a couple drinks and woke up with 1,000 nerds in ~tech

    Bauke
    Link Parent
    I don't know how Medium works, but they set the published date for this article to March 5th: <meta data-rh="true" property="article:published_time" content="2020-03-05T02:34:49.819Z"/>

    I don't know how Medium works, but they set the published date for this article to March 5th:

    <meta data-rh="true" property="article:published_time" content="2020-03-05T02:34:49.819Z"/>
    
    2 votes
  6. Comment on What have you been listening to this week? in ~music

    Bauke
    Link
    Yorushika's newest album Plagiarism came out on the 29th and I managed to buy it on 7digital (it's not easy buying music when you don't want to go through certain platforms :P) so I've been...

    Yorushika's newest album Plagiarism came out on the 29th and I managed to buy it on 7digital (it's not easy buying music when you don't want to go through certain platforms :P) so I've been listening to it on repeat since then, pretty much.

    There's a Youtube playlist available here, unfortunately doesn't include all of the songs but it's definitely enough to give you a taste.

  7. Comment on JavaScript Date in ~comp

    Bauke
    (edited )
    Link
    I've always found Date.now() funny. Oh, you expect to get some kind of Date object from it since it's on the Date object and that's the thing to expect, right? Nope, milliseconds since Unix epoch....

    Is There More?

    I've always found Date.now() funny.

    Oh, you expect to get some kind of Date object from it since it's on the Date object and that's the thing to expect, right? Nope, milliseconds since Unix epoch.

    > Date.now();
    1596383287233 // Not a Date.
    
    > new Date(1596383287233);
    Date Sun Aug 02 2020 17:48:07 GMT+0200 (Central European Summer Time) // An actual Date object.
    

    Oh, here's another one I came across yesterday although it's not Date-related:

    Want to encode a string to base-64? You're in luck with our aptly named btoa() function. It stands for binary-to-ascii, because a JavaScript string is definitely binary and base-64 is also definitely the same as ASCII...? And you can always go back with atob() that stands for (that's right, you guessed it) ascii-to-binary. Totally not confusing. :l

    6 votes
  8. Comment on Forgotten Melody in ~creative

    Bauke
    Link Parent
    I legitimately had the exact same thought, Oskar Schuster came to mind immediately after seeing the picture.

    This looks like it could be the cover artwork for a relaxing and beautiful solo piano album!

    I legitimately had the exact same thought, Oskar Schuster came to mind immediately after seeing the picture.

    2 votes
  9. Comment on Is there an open task for searching bookmarked posts? in ~tildes

    Bauke
    Link
    Looks like there isn't an issue for it but because bookmarked posts aren't paginated yet, you can also just use your browser's search functionality, since everything is available at once you can...

    Looks like there isn't an issue for it but because bookmarked posts aren't paginated yet, you can also just use your browser's search functionality, since everything is available at once you can effectively search everything.

    I've now made an issue for it though, #696.

    6 votes
  10. Comment on Announcing Tildes Stats, a website with Tildes Stats in ~tildes

    Bauke
    (edited )
    Link Parent
    Tested it on mine and I'm also getting a square, I guess I'll have to change it to a different triangle. Edit: should be fixed now. šŸ˜€

    Tested it on mine and I'm also getting a square, I guess I'll have to change it to a different triangle.

    Edit: should be fixed now. šŸ˜€

    3 votes
  11. Comment on Announcing Tildes Stats, a website with Tildes Stats in ~tildes

    Bauke
    Link Parent
    I've added a little triangle to the table header indicating how it's sorted, hopefully that clears up any confusion. :) (cc. @guts)

    I've added a little triangle to the table header indicating how it's sorted, hopefully that clears up any confusion. :)

    (cc. @guts)

    5 votes