• 0 Posts
  • 28 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle

  • TwilightKiddy@programming.devtoScience Memes@mander.xyzTrigo-nom-etry
    link
    fedilink
    English
    arrow-up
    176
    arrow-down
    1
    ·
    1 day ago

    If someone didn’t learn enough trigonometry in school:

    1+tan2c = cos2c/cos2c + sin2c/cos2c = (cos2c + sin2c)/cos2c = 1/cos2c;

    sqrt(1/cos2c) = |sec c|

    And here is for the people who still don't get the joke

    The reading of the answer is very similar to the word “sexy”, which makes the whole sentence a reference to the song “Sexy and I Know It” by LMFAO.



  • The divisability rule for 7 is that the difference of doubled last digit of a number and the remaining part of that number is divisible by 7.

    E.g. 299’999 → 29’999 - 18 = 29’981 → 2’998 - 2 = 2’996 → 299 - 12 = 287 → 28 - 14 = 14 → 14 mod 7 = 0.

    It’s a very nasty divisibility rule. The one for 13 works in the same way, but instead of multiplying by 2, you multiply by 4. There are actually a couple of well-known rules for that, but these are the easiest to remember IMO.



  • Yea, knowing another Slavic language definitely makes it easier, with Polish, at least you don’t have to learn how to pronounce Ы from scratch. But one being west language and the other being east can also screw you over, because many things are similar, but not quite.

    Be careful not to speak only with Ukranians, they, of course, have their quirks in speaking, like using soft Г which is prevalent in Ukranian, but never used in Russian and using за instead of про in some places, for “to speak about Russian language” they would say “говорить за русский язык” instead of “говорить про русский язык”. Of course, unless you are ok with picking up these quirks.




  • Have been almost a year since I switched to Linux completely. I’m using CachyOS (an Arch derivative), so, you may have to adjust some things for your distro.

    First of all, your driver setup varies heavily on what hardware you have, obviously. All AMD (both CPU and GPU) being the easiest for setup and laptops with Intel CPU + iGPU and Nvidia dGPU being notoriously hard to manage (it’s also my case, which sucks). Look up what you need for your specific hardware.

    Next comes your display server and audio server. The bleeding edge here being Wayland + Pipewire.

    Wayland can be a bit bitchy on Nvidia GPUs, but it got a lot better over the last years. To use Wayland your desktop environment has to support it. Check with your specific DE. I’m using KDE Plasma, been quite happy since the switch.

    Pipewire is pretty easy to setup, just uninstall your old audio server, replace it with Pipewire and an adapter package for what you had (like pipewire-pulse for PulseAudio) and you are good to go. It’s very cool with tools like qpwgraph for audio management, easily the most mind-blowing thing I installed. Your friend came over and you want to send game audio both to your and their headphones? Easy. Been selling parts of my soul to get these sorts of setups on Windows for a long time.

    Next, use native software where you can. You can replace Notepad++ with VSCodium or Helix (the learning curve for modal editors is steep, but it’s very worth it).

    For Minecraft, TLauncher is… controversial to say the least, even for usage on Windows. Try PrismLauncher. Works great, allows to download modpacks from popular distributors and is pretty easy to trick into playing in offline mode without a Microsoft account, just look it up.

    Next, the translation layer. I’m using Proton-GE for everything via Lutris. While, as per GE, it is not a supported use-case, it’s what I’ve got the best experience with so far.

    As for dependecies, there is a good guide from GE for that.

    Hopefully it helps in one way or the other. You can also experiment with distibution of your choice. There are some gaming-focused ones that come with driver installation tools to make it easier for you, don’t hesitate to dump everything and start from scratch with a fresh install while you are not that commited to one specific distro.







  • People who promote crypto are usually scammers (they also usually promote their own currency), but in general it’s a very useful tool. Considering you have to give up an arm and a leg to use SWIFT nowadays, crypto offers a fast and cheap way to pay someone across the border. The price is that you need to know a thing or two about the technology, else you’ll pay the same or even more than with traditional methods.






  • A switch to per minute, per megabyte plan made me a lot more concious about spending money on my phone. If I want something to watch/listen to during a trip, I download it beforehand. I almost never use any minutes, only communicating via the mobile data. With autodownloading of pictures disabled in all my chat apps, it runs about 50 MB per month, which charges me less than 50 cents.