• 2 Posts
  • 33 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle








  • So I’m going to say what I always say when people complain about semantic whitespace: Your code should be properly indented anyway. If it’s not, it’s a bad code.

    I’m not saying semantic whitespace is superior to brackets or parentheses. It’s clearly not. But it’s not terrible either.

    As someone who codes in Python pretty much everyday for years, I NEVER see indentation errors. I didn’t see them back when I started either. Code without indentation is impossible to read for me anyway so it makes zero difference whether the whitespace has semantic meaning or not. It will be there either way.


  • sajran@lemmy.mltoScience Memes@mander.xyzmmm space chocolate
    link
    fedilink
    English
    arrow-up
    5
    ·
    7 months ago

    In case anyone is curious (like I was) what the “gold foil wrap” actually is, here you go:

    Multi-layer Insulation, or simply MLI, is a type of high-performance insulator that uses multiple radiation-heat transfer barriers to restrict the flow of (heat) energy. In simple terms, it’s a form of thermal insulation made of multiple layers of thin sheets that is used to cover spacecraft and other space equipment in order to reduce heat loss by way of thermal radiation.

    Full article

    This is really interesting and I would probably never read it if not for this post. Thanks!







  • I know it and I tested it but there are some problems:

    • It’s not as smooth as Pixel launcher. In fact, no other launcher is. AFAIK at least a part of that smoothness (particularly switching to multitasking view) is impossible to achieve for non-system apps. I’m very happy using Niagara right now but if not for this search situation I would consider switching to Pixel launcher just for this smoothness. Niagara is amazing but I miss normal widgets.

    • DDG doesn’t work correctly in Lawnchair either. It opens up the DDG webpage when you tap the search bar. What I want is to let me enter the phrase in the bar and only after I submit open the webpage with search results.

    • Pixel Search looks like a very cool app which would be even better search provider in Lawnchair, but currently it’s not really working as well. Instead of opening the Pixel Search app, it opens the app page in the Play Store, even though I have it installed.

    If you don’t care about the smoothness, Lawnchair is probably the best option though. The two issues I mentioned probably will be fixed eventually, I’m even considering trying to fix that myself.