Skip Navigation
User banner
telepresence

I like yerba maté and coding.

Posts 3
Comments 36
Recommend me good e-reader
  • i have a pocketbook touch lux 4 and a boox page. both are good at their own thing: the book trades a bit of battery life and a higher price for being able to run any android app like tachiyomi, etc.
    my recommendation is look through what e-readers are supported by koreader, the best e-reading app, and also, get something with physical page turn buttons and enough/expandable storage.

  • What's your favorite ice cream/gelato flavor?
  • lemon. always lemon. if i get more than 1 scoop, then salted caramel or something with chocolate (like bounty, snickers, oreo, crunchy, dark chocolate, etc)

  • Is Lemmy your "main social media app"? If not, which one is it?
  • no, not really. i kinda quit social media in the sense that i no longer use reddit, instagram, twitter or snap. they were all just too addicting. i log into lemmy once in a while, to see what's new, since there are some nice niche linux related communities, but apart from that i'm only on youtube (when i'm eating) or on discord (few small-ish servers). i don't really care much for news or polictics, and if i really need to know what's going on, i check the front page of wikipedia or ask my friends. i'm still struggling with using my phone more that i'd like, but this week i took a break from discord and youtube, with mixed results so far (see: i'm on lemmy), but overall it's been really freeing to not be on them and have a bunch more free time.

  • Do You Like Working Under Pressure
  • there was a similar question/joke related to Logic (the rapper): Can you preform Under Pressure? No, but i'm pretty good at Gang Related.

  • Had to dig under my foundation. What should I put in the whole when they fill it in?
  • fill it with sunflower seeds and glue, like those chinese brainrot videos

  • What is your directory structure like for programming?
  • i use coding/languagename/project, where most if not all projects are git repos. so, coding/python/shira, coding/java/datetime examples i have some wildcards for the languages, most of my serverside js stuff lives in coding/node-deno and most of my fullstack webdev stuff lives in coding/webdev

    i used to have the coding directory on a hdd, but moving it to an ssd helped a lot when installing things made with node, among other things.

  • NewPipe is now available on Flathub
  • super scuffed due to translation layer. wait for kotlin rewrite and hope for multiplatform

  • What spider is this ?
  • can yall stop posting your fucking r/whatisthisbug ass posts to asklemmy? make a new community or something.

  • How do I stop slef sabotage and procrastination?
  • this sounds absolutely wonderful. I need to go camping alone sometime.

  • Is there any good, free search engine left?
  • I've been using brave search on my pc and phone for maybe 6 months now. i still use google like 10% of the time if i'm searching for something that isn't in english, but otherwise, id even say for many things brave returns better results than google

  • Happy Birthday to us 🎂🎉! KDE is 28 years old today!
  • i've switched to linux this year and kde's been a breeze to use! happy birthday and thanks for all the wonderful work!!

  • Does each language have "lefty loosey righty tighty"?
  • i just remember clockwise is tighten lol

  • Alternative to Discord ?
  • i've heard pretty good things about matrix. discord is still ok imo, but i am also trying to move away from it as they feel all your messages into the summaries ai thingy.

  • What was the worst book you’ve ever read?
  • i kinda wanna say atomic habits. the concepts it presents are functional but it presents them in an extermly forgettable and uninteresting way.

  • Discontinuing syncthing-android
  • the fork version works fine. if that dies, i'm hopeful some new fork will emerge. syncthing is well known and used by many, so i think as long as the original software is alive, there'll be a way to use it on your phone. heck, there's ways to run syncthing on a pocketbook e-reader, lol

  • Any recommendations for making a free or low-cost wiki for personal projects? (NOT Fandom though)
  • if you write you content in obsidian, you can use their Publish service to host it hassle-free. also, if you don't want to pay for Obsidian Publish, it's pretty easy to set up a vitepress site on top of an obsidian vault. it's what i did here: https://kraxen72.github.io/tech-support-wiki/ https://github.com/KraXen72/tech-support-wiki (see the docs folder)

  • What's your thumbkey wpm, and how does it compare to a standard qwerty keyboard?
  • i can do 70wpm on a 30second monkeytype test using monkeytype. i am using the normal thumb-key english layout with letters hidden so that i don't look at them when i type.

  • new-ish RSINOA layout

    i saw recently that there is a first algorithmically optimized layout added, RSINOA. i'm wondering:

    • is it actually good?
    • is anyone using it?
    • how much better is it than normal thumb-key english (if it is)?
    • is it worth learning it if i already know the thumb-key layout without looking at the keyboard?
    • is it in it's final state? or are big changes to the letter placement expected and i should wait before learning it?

    thanks!

    0
    What music do you use for concentration?
  • breakcore (dnb), maidcore (progressive instrumental metal) or jazz fusion

  • i want to learn to negotiate, can you all give me some tips and how to learn to negotiate?
  • read the book 'never split the difference' it's by a former hostage negotiator. interesting stuff.

  • type-safe GroupBy (key) function i wrote

    i made a type-safe GroupBy function. ```typescript /**

    • Groups array of objects by a given key
    • @param arr array of objects to group
    • @param key must be present on every object, and it's values must be string|number
    • @author telepresence
    • @license CC-BY-4.0 */ function groupBy(arr: T[], key: keyof T, defaultAcc: Record = {}) { return arr.reduce((acc, val, i) => { const compValue = val[key]; if (typeof compValue !== 'string' && typeof compValue !== 'number') { throw new Error(key ${key.toString()} has values other than string/number. can only group by string/number values); } if (!acc[compValue]) acc[compValue] = [] acc[compValue].push(val); return acc; }, defaultAcc); } ```
    • like lodash's groupBy, but by key and not function
      • group an array of objects which all have a key in common into an object with keys matching all the different possible values of your common key
    • type-safe, no unknown's no any's
    • does not copy arrays ([...array]), uses push
    • supports selecting by keys, where the key values are string / number (although you can easily add symbol support)
    • shared for free under the CC BY 4.0 license - only attribution is requred (link to this post is fine)
    • custom default accumulator support, if you already know the groups beforehand and would rather have an empty array than undefined.

    example: ```typescript const data = [{ "name": "jim", "color": "blue", "age": "22" }, { "name": "Sam", "color": "blue", "age": "33" }, { "name": "eddie", "color": "green", "age": "77" }];

    groupBy(data, 'color') would result into:ts { "blue": [ { "name": "jim", "color": "blue", "age": "22" }, { "name": "Sam", "color": "blue", "age": "33" } ], "green": [ { "name": "eddie", "color": "green", "age": "77" } ] } ``` TL;DR i've sucessfully wrote something using generics in typescript for the first time, and i think it's pretty epic.

    0

    Koven Wei - EVERYTHING IS RED

    Banger i found randomly when checking the twitter of one of my favorite artists, @xyanaid. They made the album cover.

    edit: Spotify link

    0