Skip Navigation
Your API Shouldn't Redirect HTTP to HTTPS
  • This. I was reading through some of the comments, but this is the most accurate one I've read thus far. All the APIs I've dealt with are just vanilla HTTP and use a reverse proxy for https. A reverse proxy like nginx is also convenient for path pattern matching to different API services but only having to setup https in one spot, nginx

  • What are you working on this week? (May. 05, 2024)
  • Made a discord soundboard bot. Some simple text channel commands get the bot to join whatever voice channel you're in and get the bot to display available sounds as buttons in the text channel. It actually works really well and sounds great.

    My friends and I just wanted a bigger soundboard without having to pay for it.

  • We now live in a world in which the right-wing media sets the national agenda. The mainstream media follows.
  • I'll pitch that this is just the natural result of repealing the fairness doctrine by Reagan in 1985.

    The fairness doctrine started out in 1949 as a policy to avoid having the top broadcaster's of the time (NBC, ABC, and CBS) create a biased public agenda by leveraging their audience monopoly. They were required to provide multiple contrasting view points on issues of public importance.

    When Reagan repealed the fairness doctrine, the influence on media outlets to pitch left or right leaning view points only, took off.

  • According to Google Plasma 6 for Arch was cancelled :D
  • I hopped on board the duck duckgo train a short while ago ( 6 months ). I've had no real issues with it except for one thing. If some event occurs and gains popularity very quickly ( within the span of a couple days ), it doesn't really show up at the forefront of the search results.

    A decent example is when I was looking up the Willy's Chocolate Factory event fiasco. I was specifically looking for images from the event to forward to my brother bc that entire event was hilarious. I had trouble with ducksuckgo. I fell back to Google image search for more ease of use.

  • Something resets my monitor colour calibration when I log in
  • Sorry. I think it was gnome I was thinking about. The display configuration for gnome allows for specifying layout and advanced profiles when it detects certain monitors are plugged in. Things like dpi, font size, etc. I have a computer hooked up to my TV that runs gnome and another that upstairs running kde

  • Something resets my monitor colour calibration when I log in
  • I'm away from my computer right now, so Im not 100% sure, but I think you can set display profiles. You should be able to set a display profile that will auto load on login and should set your display options that you want. Maybe this can work despite the colord issues?

    I'll verify if kde display profiles are a thing and if they can help your use case tomorrow.

  • What are you all doing with Rust?
  • I've mostly done hobby projects with rust.

    • axum + mongodb + oauth2 (just basic rest api)

    • rust-bert ( for some nlp stuff. Zero-shot, NER, etc.)

    • Bevy ( I was following a tutorial for a super basic space invaders game)

    I chose rust because I always like to have some kind of systems level programming language on my belt. It used to be c++. Rust had seemed very interesting so I began trying it out more and more. It's awesome.

  • PipeWire 1.0 Released For Managing Audio/Video Steams On The Linux Desktop
  • Sorry for late reply. I just now noticed this.

    The difference would be that a browser would likely have multiple web pages fighting for resources whereas the dedicated client would not have to fight over so many resources.

    The OS has a dedicated task scheduler that alots cpu time to each process. Some processes get preferential treatment, but most processes started on user space ( i.e.double click UI icon) are just "normal" priority.

    When a task scheduler hits on a process, that process can start executing whatever it needs to do. The problem with running discord in a browser is that the application is splitting its attention across multiple pages ( and probably other stuff ) instead of a single page.

    Basically, it's faster to focus on painting a single canvas than it is to painting 3 at the same time.

    I'm not going to discuss shared memory and separate processes or forking. You can goggle search if you want to know more about that.

  • Laptop companies: which one?
  • I have a framework laptop and endeavour os with gnome de. I've had no problems with it. I mainly use it for dev work and web browsing. I enabled gnome muli-gesture (basically the same gestures on a Mac trackpad). I've had no problems with that either.

    I'd recommend it.

  • Polls Show Trump Could Be Doomed If He’s Convicted. Will a Trial Happen in Time?
  • I've said it once with my brother. I'll say it again. I'm waiting for some kind of assassination attempt. Just in general. Not even a party affiliated prediction. I just think somebody is going to take a shot at "solving the problem".

  • Anyone else a fan of Bevy?
  • I'm not a game dev, just a regular dev. I have experimented with Bevy though. The documentation is top notch and there are many examples, YouTube videos and guides for starting out. I followed one such guide that was essentially a space invaders clone. I switched out some of the assets so that it was my brother's face shooting lasers, and sent it to him.

    At my leisure pace, I finished the tutorial in about a week. I recommend giving it a try. Your first game doesn't have to be perfect or even complete. My space invaders didn't even have a background color.

  • Where, and when, did you start using Linux? Where are you now?
  • I dabbled in Linux for a while (since 2009, college). I did some distro hopping for a while ( Ubuntu, opensuse, mint, Debian). I finally mained Linux after windows 8 came out, ugh.

    I mained Manjaro and then switched over to Endeavour. I couldn't be happier. My opinion of Linux keeps getting better and better, but that's probably because I have to fix my parents computers once in a while. They run windows 10 now. I hate it. Ads in the start menu?! Kill me now.

  • Original God of War trilogy remaster rumoured to be on the way
  • For real. The newest two are more in line with the Last of Us where it was story first, action second. The first games of God of War are a buffet of violence being propped up by a story. Don't get me wrong, the story line is good, even now. But it was always button mashing, crazy boss fights, brutal kills first.

  • InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)PE
    peanutbutter_gas @lemm.ee
    Posts 0
    Comments 30