Skip Navigation
Olissipo Olissipo @programming.dev
Posts 5
Comments 24
Issue with KDE Plasma 5 and Spotify
  • I remember having some issue like that, but I'm not sure if this was the fix.

    Try unchecking "Show desktop notifications when the song changes" on Spotify's settings (right now it's under the Display section).

  • Debian 10 LTS reaching end-of-life
  • Makes sense, thanks.

  • Debian 10 LTS reaching end-of-life
  • New to Linux: in which case would you stick with an "old-old-stable" release?

    Software incompatibility?

  • Debian 10 LTS reaching end-of-life

    >The Debian Long Term Support (LTS) Team hereby announces that Debian 10 "buster" support will reach its end-of-life on June 30, 2024, nearly five years after its initial release on July 6th, 2019. > >Starting in July, Debian will not provide further security updates for Debian 10. A subset of "buster" packages will be supported by external parties. Detailed information can be found at Extended LTS. > >The Debian LTS Team will prepare afterwards the transition to Debian 11 "bullseye", the current oldstable release. Thanks to the combined effort of different teams including the Security Team, the Release Team, and the LTS Team, the Debian 11 life cycle will also encompass five years. To make the life cycle of Debian releases easier to follow, the related Debian teams have agreed on the following schedule: three years of regular support plus two years of Long Term Support. The LTS Team will take over support from the Security and the Release Teams on August 14, 2024, three years after the initial release on August 14, 2021. The final point update release for "bullseye" will be published soon after the final Debian 11 Security Advisory (DSA) will be issued. > >Debian 11 will receive Long Term Support until August 31, 2026. The supported architectures remain amd64, i386, arm64 and armhf.

    11
    Size comparison between '24 and '26 Formula 1 cars
  • At first glance the difference in width comes from the front wings, which protruded beyond the wheels in the '22 cars.

    So hopefully the wings last longer in wheel to wheel action.

  • The Future of F1: Showcasing the 2026 FIA Technical Regulations
  • restricting the total amount used and basically anything else makes more sense

    Oh you meant eliminate the flow limit, I thought you meant eliminate the fuel itself. And I agree (with the caveat you said, also limiting the total amount).

  • The Future of F1: Showcasing the 2026 FIA Technical Regulations
  • That won't happen for 15 years at least, only Formula E can be fully electric.

    With an FIA exclusivity deal through 2039 to be the sole EV single-seat series on the FIA menu, Formula E has plenty of time to grow.

    https://www.autoweek.com/racing/more-racing/a44319865/formula-e-ceo-jeff-dodds-sees-sustainable-future-for-electric-racing-series/

  • Symfony 7.1.0 released (Symfony Blog)
  • I particularly like the new Mapped Route Parameters.

    /show/{id}/

    /show/{id:document}/

    For multiple entities, it's cleaner and more beginner-friendly than using the #[MapEntity] attribute (which is still an option).

    And imo it's a good move to deprecate "not passing the mapping" even for single entities. With the mapping the behaviour is more intuitive and "feels" less magic.

  • Why PHP Usage Has Declined by 40% in Just Over 2 Years
  • That's a valid opinion. And I admit that at some point you must move to some form of client-side rendering.

    I still haven't (for some admin panels too, and websites), so I don't feel the need to switch.

  • Why PHP Usage Has Declined by 40% in Just Over 2 Years
  • Aren't you only saying, indirectly, that server-side rendering is "antiquated"?

    Unless you mean that mixing logic with templates is bad, in which case I agree.

  • You'll never get a promotion that way.
  • Funny story. 50 years ago, to this very day, a revolution occurred in which Portugal took down its dictatorship.

    The following day some public administrator/manager sent a letter complaining about people missing work!

    Translation after the letter

    Your Excellency Director General

    I inform Your Excellency that yesterday, April 25, 1974, several employees were absent from work, claiming that a revolution had occurred in the country.

    I clarify that this revolution was not authorized by superiors, and no justification was seen for the absences, especially as the service was considerably delayed.

    As the current legislation does not provide for absences due to the occurrence of revolutions, I submit the matter to your high discretion, in the certainty that it will deserve due attention.

  • WooCommerce - weird behaviour and fix
  • If it’s one of those things to try to make it easier for the technically challenged but ends up making more advanced techniques difficult or impossible I’m not a fan.

    In my opinion, the issue in this post is an outlier (although a surprisingly bad one).

    My experience with blocks (or the "Gutenberg editor") has only been in creating custom blocks, I can't speak for using built-in blocks or blocks bundled in plugins.

    With this context in mind, I've really liked this new editor used in conjunction with the "Advanced Custom Fields" plugin.

    And you can still use those old page builders like Visual Composer/WP Bakery (which I hate) or create templates yourself for each page, this is just another tool.

    I haven’t dived into it enough yet to see what purpose it serves or problems it aims to solve.

    I know of a project which is a good example. Very large website, but most of their content is written by non-technical people (regarding the web). They have a small team which makes custom blocks and dictates how they are used by other people when posting new content.

    I think using blocks helped them to maintain and improve a cohesive design even with so many people editing the website and after considerable years.

    I wasn’t convinced that trying to take a more advanced product like WordPress and dumbing it down for non-technical use cases was the best idea

    In that regard I reckon this is a step in the right direction for the WordPress ecosystem (but again, my experience is limited).

  • WooCommerce - weird behaviour and fix

    This might not be new, I hadn't dealt with WordPress/WooCommerce in a while.

    Currently (v8.8.2) in a new WooCommerce installation the "Checkout" page is created using blocks, like so:

    ``` <!-- wp:woocommerce/checkout-payment-block --> <div class="wp-block-woocommerce-checkout-payment-block"></div> <!-- /wp:woocommerce/checkout-payment-block -->

    (...) ```

    The problem

    This might introduce breaking changes to the plugins and themes you normally use. For example, I couldn't add a new field - programatically or using a plugin.

    The fix

    Remove the blocks and revert to using the shortcode:

    [woocommerce_checkout]

    2
    What's the best concert or live performance you've ever attended, and what made it unforgettable?"
  • The band played 2 early albums + their latest one in sequence. Listening to whole albums in one go was great for many reasons.

  • Do any of you program on non-US keyboard layouts?
  • Fellow PT-PT ISO user here. And although I use PT-PT in the OS, both my mechanical keyboards' physical layout is DE ISO, which has most special symbols in the same place. (finding DE keyboards is easier)

    I've considered switching to UK ISO before. Typing brackets "[] {}" and a semicolon ";" is harder in PT-PT. Especially the curly brackets {}, which are really awkward to type with my small hands.

  • A library in a compiled language that calculate MFCC of an audio file?
  • One that is written in C and also has a Python module: https://aubio.org/

  • You don't need JavaScript for that - HTMHell
  • Not a fan of datalist:

    • Barely works in Firefox (need to click again after initial focus);
    • Doesn't work at all in Firefox mobile (if there is some magic to show the options, I don't know what is);
    • In Chromium and Safari mobile (tested through appetize.io), I don't like how similar it is to a select:

    Somewhat liked Chrome's implementation in Android:

  • HTML First
  • I don't agree with the problem they aim to solve with those goals.

    But today it takes several years of mastering tools and frameworks to get to that stage. HTML First principles should allow people to unlock that feeling, and level of mastery, much earlier on in their coding journey.

    The onboarding process can be made easier for devs new to the project (junior or senior) with decent documentation. Just enough install/build the project in their local machine and understand the gist of the technologies.

  • CSS question: I don't understand image sizes! Maybe not as stupid a question as it initially appears?
  • I don't have much experience using srcset but since you are still waiting for an answer... I'll point you to what is stated in MDN's docs.

    According to that, you use a "media condition" when the image is displayed in different sizes. Their example

    And you use 1x, 2x, etc (like your examples) when the image will occupy the same physical size.

  • CS2 wont start after update
  • May be a coincidence, but it stopped launching for me too. Worked Monday and Tuesday, yesterday I didn't try to play, today it didn't work.

    Tried:

    • running "verify integrity of game files"
    • forcing Proton,
    • clearing shader cache
    • attempted various launch options, like vulkan, fullscreen, and windowed
    • update all flatpaks (since I installed steam through flatpak)
    • reboot
  • Counter Strike 2 is surprisingly awful on Steam Deck right now
  • I'm running a 6700XT and weirdly enough it pre-compiled in Linux but not in Windows.

    It's really stuttery for a while in Windows, with low GPU usage and erratic frequency, until it normalizes.

    I'm getting none of that in Linux, smooth from the start in-game. Only getting some weird fps fluctuation in the start menu.

  • If there is anyone who wants to help Debian by running testing, here is a guilde I maintain:
  • Makes sense, thank you for the clarification.

    It is also a file browser.

    And apparently also supports FTP/SFTP, quite nifty.