Skip Navigation

User banner
Posts
5
Comments
395
Joined
2 yr. ago

  • If you are using your PC to play games, stick to Windows.

    Linux is better if you want to run servers or do software development.

    If you're a casual user who only uses office software and spreadsheets and watches pirated anime, you can use either but you should use Linux because it's cheaper.

  • Testing the interface is more like validating the architecture of your module.

    Say, you have your interface IShape, which represents a geometric shape.

    Now you decide to add some shape editing capabilities to your qpplication.

    Can you rotate your IShape? Can you flip it? So your IShape interface needs methods rotate(double angle) and flip(enum direction). So you add a test that checks that your module exports methods rotate(double angle) and flip(enum direction).

    Does your application requires rotating shapes by a fractional angle? Maybe rotating by 90⁰ is enough? So you replace rotate(double angle) with rotate90degrees(bool clockwise) in your test and you can simplify your implementation.

  • I've ported games to web using WASM. You still need to interact with HTML DOM using JS, no way around it.

    You use WASM when you either need raw CPU speed, or you have some C++ code that you don't want to rewrite in JS.

    If you just want to make a website, pure JS is better, unless you're that kind of dev who prefers to render their own text strings pixel by pixel.

  • You can install Windows 95 or Ubuntu on your phone using an emulator app. Yet Android cannot emulate an older Android.

  • Android. Huge amount of apps, and a user-friendly security model.

  • I would consider this option if there was a way to create and fully configure an instance hosted on my phone in less than a hour.

  • The feature to block an instance cut down 90% of porn in my feed when I blocked lemmynsfw.com

    It's stupid that Lemmy cannot block an instance natively. Thank you for adding this.

  • Commenting your code is an industry standard. Some kind of separate comment metadata won't generally work, unless you code exclusively in spreadsheets, where you can add a note to each cell.

    Given that it's a hospital, I guess your management will listen to whomever performs bureaucracy better, not whomever codes better.

  • Cats can take any shape, as long as it has no holes and the volume remains constant

  • Is there a way to show a big image and comments below on the same page as Jerboa does? Connect has more features, but the one that I'm missing is this.

  • ChromeOS already owns the education segment. Expect most of future small time enterpreneurs to use some kind of web-based distro.

  • The development had stopped since 2020, you'll have to make do with inferior closed-source commercial clone called XCOM 2.

  • The arrangement of Start menu hardly matters. Virtual desktops are indispensable though. And I can restart crashed Plasma in 35 seconds.

  • I've lived with a custom build of AnySoftKeyboard for several years, where I've made my own Ukrainian keyboard, with the same amount of buttons as English keyboard and extra letters invoked with a long-press, so that I got the same size keys in every language I use. I've abandoned it for Gboard, because of a built-in password manager. Default Cyrillic keyboard has extra letters invoked with a long-press for a bunch of Slavic languages, it's not the same but I would not complain.