• 0 Posts
  • 25 Comments
Joined 10 months ago
cake
Cake day: January 19th, 2024

help-circle
  • ICBM development started decades before moon landing, same in USSR. It’s true that first space rockets were reused ICBMs, but the tech diverged after that. ICBMs use different fuel because they need to be stored for years with full fuel tanks, for quick deployment. There is no such requirement for space rockets. Space rockets are also much more powerful - you could fit dozens or even hundreds of nukes on Saturn V which is impractical - you don’t put all your eggs in a single basket. Saturn V was never intended to be used as an ICBM.











  • Variable names shouldn’t need comments, period. You don’t want to look it up every time this variable is used in code, just to understand what it holds. Of course there are always exceptions, but generally names should be descriptive enough to not need additional explanation.

    And context can also come from names of other things, e.g. name of a class / namespace that holds this variable. For example AccessibilitySettings.HighContrast, where AccessibilitySettings holds all options related to accessibility.





  • Even “real” fractional scaling in Plasma with Qt 6 is not much better. Text will look slightly sharper, but icons are still blurry. There is no way for them to look sharp with 1.25 scaling since they are drawn with a pixel grid in mind. Unless you invent some way to stretch svgs so that their individual elements and spaces between them retain their integer-ness while the scale of the whole image is fractional.

    The only other solution is monitors with 300+ PPI where blurriness is simply not noticeable (that’s the way Apple went).





  • Same with Compose even though it’s ironically considered native in the Android dev community.

    The easiest way to tell that the app is not native is tooltips (those that appear when you long press on a button in a toolbar). For some reason UI frameworks just can’t agree to display them in the same way, even if they use material design. Compose’s ones are especially bad (some apps like Play store actually have different kinds of tooltips on different screens, meaning they use multiple UI frameworks in the same app).