• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Do C programmers usually create and curate a personal library for their own use?

      I've been using mostly C at my current job for about half a year now, and I find myself reusing some little function that I've written for another code base in current projects. I'm relatively new...

      I've been using mostly C at my current job for about half a year now, and I find myself reusing some little function that I've written for another code base in current projects. I'm relatively new to this, so I'm wondering if it makes sense to have a repertoire of general purpose utility functions and whatnot for future use.

      I mean, the language's pretty established and whatever I think of must have been written by somebody else already, so is there even a need for what I'm talking about? Are there well-known open source libraries that resemble what I am talking about? Should I just include them instead of writing my own?

      Sorry if this is a bit vague. General purpose as in string manipulation, debug output, buffer operations, implementations of data types not in C, etc., just to name a few examples.

      32 votes
    2. What apps/plug-ins/extensions etc do you use to improve Youtube on desktop?

      My experience with the extensions below is solely from Firefox. For livestream chat, I use Hyperchat mostly for the cpu usage reduction. Youtube-shorts block (Firefox,Chrome) forces shorts to play...

      My experience with the extensions below is solely from Firefox.

      For livestream chat, I use Hyperchat mostly for the cpu usage reduction.

      Youtube-shorts block (Firefox,Chrome) forces shorts to play in the regular video player, avoiding the horrid shorts UI.

      32 votes
    3. How to clean up the space taken by old Snap and flatpak files

      When Snap and\or flatpak install or update packages they do not always do so cleanly Snap for example can keep up to 3 previous versions on updating and if you are struggling for space then this...

      When Snap and\or flatpak install or update packages they do not always do so cleanly

      Snap for example can keep up to 3 previous versions on updating and if you are struggling for space then this can be a Bad Thingtm

      These couple of pages show a good reliable way to tidy up and get back some disk space
      Snap

      Flatpak

      Please note, I am not the author. The articles are on a website called debugpoint.com and does not carry a credit

      4 votes
    4. Relatively early 2024 Oscar predictions

      I just realized I haven't made a full post with Oscar predictions since January (did one for the Globes and one for the Guild). Well now that we're half-way through the year, here's where I think...

      I just realized I haven't made a full post with Oscar predictions since January (did one for the Globes and one for the Guild). Well now that we're half-way through the year, here's where I think the current Oscar race stands:

      Picture:

      1. The Holdovers
      2. Oppenheimer
      3. Killers of the Flower Moon
      4. Dune: Part Two
      5. Barbie
      6. Past Lives
      7. The Zone of Interest
      8. The Killer
      9. Saltburn
      10. Anatomy of a Fall

      Director:

      1. Christopher Nolan - Oppenheimer
      2. Martin Scorsese - Killers of the Flower Moon
      3. Alexander Payne - The Holdovers
      4. Denis Villenueve - Dune: Part Two
      5. Jonathan Glazer - The Zone of Interest

      Original Screenplay:

      1. The Holdovers
      2. Past Lives
      3. Saltburn
      4. Anatomy of a Fall
      5. May-December

      Adapted Screenplay:

      1. Barbie
      2. Killers of the Flower Moon
      3. Oppenheimer
      4. Dune: Part Two
      5. The Zone of Interest

      Lead Actor:

      1. Cillian Murphy - Oppenheimer
      2. Paul Giamatti - The Holdovers
      3. Leonardo DiCaprio - Killers of the Flower Moon
      4. Barry Keoghan - Saltburn
      5. Colman Domingo - Rustin

      Lead Actress:

      1. Margot Robbie - Barbie
      2. Greta Lee - Past Lives
      3. Natalie Portman - May-December
      4. Sandra Huller - Anatomy of a Fall
      5. Annette Bening - Nyad

      Supporting Actor:

      1. Robert Downey Jr. - Oppenheimer
      2. Robert DeNiro - Killers of the Flower Moon
      3. Ryan Gosling - Barbie
      4. Jesse Plemmons - Killers of the Flower Moon
      5. Teo Yoo - Past Lives

      Supporting Actress:

      1. D'avine Joy Randolph - The Holdovers
      2. Lilly Gladstone - Killers of the Flower Moon
      3. Emily Blunt - Oppenheimer
      4. Julianne Moore - May-December
      5. Rosamund Pike - Saltburn

      Cinematography:

      1. Oppenheimer
      2. Dune: Part Two
      3. Killers of the Flower Moon
      4. The Killer
      5. The Zone of Interest

      Film Editing:

      1. Oppenheimer
      2. Killers of the Flower Moon
      3. Dune: Part Two
      4. The Holdovers
      5. The Killer

      Sound:

      1. Oppenheimer
      2. Dune: Part Two
      3. Killers of the Flower Moon
      4. The Killer
      5. Mission Impossible: Dead Reckoning - Part One

      Original Score:

      1. Oppenheimer
      2. Dune: Part Two
      3. The Zone of Interest
      4. The Killer
      5. Past Lives

      Original Song:

      1. "Dance the Night" from Barbie
      2. "Quiet Eyes" from Past Lives
      3. "More of Us" from Wish
      4. "Gonna be You" from 80 For Brady
      5. Original Song from Wonka

      Production Design:

      1. Barbie
      2. Dune: Part Two
      3. Oppenheimer
      4. Killers of the Flower Moon
      5. Wonka

      Costume Design:

      1. Barbie
      2. Oppenheimer
      3. Dune: Part Two
      4. Wonka
      5. Killers of the Flower Moon

      Hair and Make-up:

      1. Oppenheimer
      2. Dune: Part Two
      3. Guaridans of the Galaxy Vol. 3
      4. Renfield
      5. Dungeons and Dragons: Honor Among Thieves

      VFX:

      1. Dune: Part Two
      2. Oppenheimer
      3. Guardians of the Galaxy Vol. 3
      4. Mission Impossible: Dead Reckoning - Part One
      5. Dungeons and Dragons: Honor Among Thieves

      Animated Feature:

      1. Spider-Man: Across the Spider-Verse
      2. How Do You Live?
      3. Teenage Mutant Ninja Turtles: Mutant Mayhem
      4. Wish
      5. Nimona
      7 votes
    5. What, in your opinion, are the best true wireless earbuds for the price?

      My Soundcore earbuds recently kicked the bucket a bit too quickly for my taste, so I'm looking to spend more than $40 on my next pair. However, I'm not enough of an audiophile to get top of the...

      My Soundcore earbuds recently kicked the bucket a bit too quickly for my taste, so I'm looking to spend more than $40 on my next pair. However, I'm not enough of an audiophile to get top of the line Bose/Sony ones. What is the best mix of good price and quality you've found out there?

      41 votes
    6. Somalia faces worst drought in decades, leading to record number of displacements

      Somalia faces worst drought in decades, leading to record number of displacements — Toronto Star Somalia is facing the worst drought in four decades, devastating floods and more than 30 years of...

      Somalia faces worst drought in decades, leading to record number of displacements — Toronto Star

      Somalia is facing the worst drought in four decades, devastating floods and more than 30 years of conflict, leading to a record number of displacements this year, with more than a million people fleeing their homes in just 130 days. This brings the total number of internally displaced people to nearly four million, which is close to a quarter of the country’s population. In desperation, some mothers are poisoning their babies with detergent and salty water to trigger illnesses and thus receive free food from health centers. This food, instead of being given to the sick child, is sold to provide for the whole family. Source

      17 votes
    7. Weekly megathread for news/updates/discussion of Russian invasion of Ukraine - June 22

      This thread is posted weekly on Thursday - please try to post relevant content in here, such as news, updates, opinion articles, etc. Especially significant updates may warrant a separate topic,...

      This thread is posted weekly on Thursday - please try to post relevant content in here, such as news, updates, opinion articles, etc. Especially significant updates may warrant a separate topic, but most should be posted here.

      If you'd like to help support Ukraine, please visit the official site at https://help.gov.ua/ - an official portal for those who want to provide humanitarian or financial assistance to people of Ukraine, businesses or the government at the times of resistance against the Russian aggression.

      51 votes
    8. It feels like there's no song of the summer 2023

      Is it just me or does it feel like there is no big new song of the summer this year? Nothing is standing out to me. Like a Watermelon Sugar type of anthem, etc. What big hit are you all listening...

      Is it just me or does it feel like there is no big new song of the summer this year? Nothing is standing out to me. Like a Watermelon Sugar type of anthem, etc. What big hit are you all listening to a lot so far?

      30 votes
    9. Home weather stations - what's the weather like where you are?

      I've been idly browsing for a home weather station for a while, hoping to contribute to the local sensor network for a region that's got lots of microclimate variation. I saw this one from Seeed...

      I've been idly browsing for a home weather station for a while, hoping to contribute to the local sensor network for a region that's got lots of microclimate variation. I saw this one from Seeed Studio today, and was hoping for some reviews and advice. Seeed Studio devices are known for open source software, and I wouldn't mind playing with writing a tie-in for sprinkler system automation so we're not irrigating when it's about to rain. It wouldn't be situated so far from the house that we'd need to use the LoRaWAN feature, though.

      Concurrently, we just had an inch of rain dropped on our house in the space of 15 minutes, with winds that were taking down tree branches. The weather report says "light rain", weather stations a mile away continue to indicate that everything is bone dry with quiet air. This rainstorm breaks a nearly month-long drought. I'm finding it nerve-wracking that climate change makes it impossible to use past local weather as a predictor of what to expect for gardening, home maintenance, and outdoor activities, and local weather reports are so inaccurate. So that's (hopefully) where the weather station might come into play.

      That being said, any chat about your local conditions and reporting from your station is welcome.

      21 votes
    10. Can you recommend a simple world weather map that shows weather fronts and upcoming lightning?

      I enjoy a few weather tools. For example, I enjoy blitzortung that shows live lightning. Currently, you can see a long chain of lighting through eastern Germany and up through Denmark, Sweden and...

      I enjoy a few weather tools. For example, I enjoy
      blitzortung that shows live lightning. Currently, you can see a long chain of lighting through eastern Germany and up through Denmark, Sweden and Norway.

      This is expected, since we’ve had very warm weather for a while, and it’s supposed to change to colder weather soon.

      But is there a good website that can show me easily the weather front that is currently creating all those lightning strikes? The sites I know only shows vague colors and you can perhaps implicitly see some change in pressure, wind, temperature etc, but nothing that clearly shows an east front where for example you would expect lightning soon.

      15 votes
    11. How can I be a more spontaneous fiction writer?

      When talking with my therapist, the subject of writing is a constant. My obsessive approach to writing is a source of frustration. I write well in my first language, and aspire to create short...

      When talking with my therapist, the subject of writing is a constant. My obsessive approach to writing is a source of frustration.

      I write well in my first language, and aspire to create short fiction . But I'm an over planner and way too critical of my own writing.

      Anything longer than a single page is impossible for me because I'll obsess with editing and some misguided sense of "perfection", cutting paragraph after paragraph until I'm left with a decent micro story that you can read in two and a half minutes. Most of the time I don't even get this far.

      So my question is, how can I force myself to be less self critical and obsessive, let things flow, and write longer stories? Are there any advices, books, courses, practices and exercises I can use?

      18 votes
    12. Fixing overscan on an uncooperative TV-monitor

      This is mainly so I can find this again and not have to rediscover this for the third time after I forget. I can't find this exact solution anywhere else so I figured I should put it somewhere. I...

      This is mainly so I can find this again and not have to rediscover this for the third time after I forget. I can't find this exact solution anywhere else so I figured I should put it somewhere.

      I have a terrible Insignia tv that locks the overscan option so you can't even turn it off, and linux mint for whatever reason doesn't recognize it as a TV so I can't use their automatic TV adjustments. This is just for x11 afaik.

      So in the end, I used the underscan to defeat the overscan and it works great:

      xrandr to get the output name the TV is using, then

      xrandr --output <name-of-tv-output> --set underscan on --set "underscan hborder" <0-128> --set "underscan vborder" <0-128>

      to enable underscan and tweak the border values which squash the edges of the screen, undoing the effects of the overscan.

      for me the optimal values are 128h 40v but you can just experiment by typing the command into the console before you make it permanent.

      8 votes
    13. The four best Reddit alternatives: As Reddit melts down, users are fleeing to lemmy, kbin, tildes and more

      https://lifehacker.com/the-four-best-reddit-alternatives-1850562547 Tildes scores a mention: Tildes Tildes is another website trying to be the new Reddit. It’s still in an invite-only alpha stage,...

      https://lifehacker.com/the-four-best-reddit-alternatives-1850562547

      Tildes scores a mention:

      Tildes

      Tildes is another website trying to be the new Reddit. It’s still in an invite-only alpha stage, so you’ll need to ask somebody for an invite.

      Tildes is not federated, so there’s only one place to sign up. And it has yet another name for its communities: They are, of course, tildes. (A tilde is the “~” character, and in the old old Internet, a lot of personal web pages had a tilde at the start of their names, a continuation of an even earlier tradition.) On Tildes.net, each tilde can have tags, so there is ~health and it contains the tag “fitness.”

      How to sign up for Tildes: Find someone who has a tildes account, and ask for an invite.

      119 votes
    14. For those who deal with hypoglycemia, do you have any advice for dealing with fatigue after a bad low?

      My hypoglycemia issues are not related to diabetes fwiw. That said, I tend to get hypoglycemia a few times a day. If I catch it quick enough and treat, it's usually not a big deal, but if I get...

      My hypoglycemia issues are not related to diabetes fwiw. That said, I tend to get hypoglycemia a few times a day. If I catch it quick enough and treat, it's usually not a big deal, but if I get too low (maybe once I get into the 50s mg/dl), then after treating (usually about 15 minutes later), I get so. freaking. tired. Like, barely able to stand up exhausted. Currently dealing with this as we speak, and it's very frustrating. My endocrinologist told me it's normal to get tired like this while recovering. I'm curious if anyone else deals with this? If so, do you have any advice for dealing with the fatigue?

      Tildes might be too small of a platform for this. If no one deals with hypoglycemia here, please feel free to remove it. I thought with the prevalence of diabetes, it would be likely there are folks who encounter this.

      13 votes
    15. What should I do with waste PLA from 3d printing?

      I have a box of scrap parts of PLA left over from 3D printing and I'm wondering what to do with them. PLA can apparently biodegrade but only in really specific conditions I don't think I can...

      I have a box of scrap parts of PLA left over from 3D printing and I'm wondering what to do with them. PLA can apparently biodegrade but only in really specific conditions I don't think I can achieve like keeping it at 60c. I know there is a device that can turn the scraps in to new filament but its way too expensive for me. What should with this stuff?

      10 votes
    16. What's a simple, cheap way to run a database-backed website as a hobbyist?

      I use Github and Netlify to run some simple websites for free. It works well. However, I've been thinking of experimenting with a database-backed website for fun and Netlify doesn't have any...

      I use Github and Netlify to run some simple websites for free. It works well. However, I've been thinking of experimenting with a database-backed website for fun and Netlify doesn't have any persistence.

      What's a good way to do this that scales to zero when nobody's using it? I want to be able to forget about it entirely for months or years at a time. When someone visits, it should start up and run on demand without costing me $20 a month on standby.

      Back in the day, I used Google App Engine for this. I learned a lot of datastore tricks to get around its poor latency, but I'm lazy and don't want to do that anymore. I'm pretty sure I want a SQL database and full text search. Either sqlite or Postgres would do, but I doubt there's a cheap enough way to run Postgres.

      Litestream looks interesting and so does LiteFS, except that it's pre-1.0 and I don't know what changes fly.io will make that I have to keep up with. If I used Litestream, I'd have to figure out how to run it and where to store the replication logs.

      Edit: one nice-to-have is being able to easily dump the database and run it locally or on another cloud provider. (I don't anticipate it getting so big that it's impractical.)

      47 votes
    17. How do you like your smart home setup?

      Just interested in how people's smart homes are set up and how they enjoy things or what they may dislike/wish was changed. Alexa? HomeKit? Google? A mix? Other? Glitches? Any complex or otherwise...

      Just interested in how people's smart homes are set up and how they enjoy things or what they may dislike/wish was changed.

      Alexa? HomeKit? Google? A mix? Other?
      Glitches?
      Any complex or otherwise unique use cases you've set up?

      40 votes