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

help-circle
  • Lights using a 18650 seem to be the rage these days, at crazy cheap prices, but they all use some UI with clicks, holds, etc.

    I have an Olight Seeker Pro 4 and it’s pretty simple to use. The on/off button rotates and controls the intensity. You do have to either hold it for a few seconds to turn it on or rotate the button 90º and then click but that’s unavoidable with these kinds of flashlights.

    These lights are very small and yet very powerful. That means you can easily pocket them, but because they are so powerful they also get very hot. You don’t want a flashlight like this to accidentally turn on while in your pocket. If you look at these lights, the head is almost always ribbed, it’s basically a heatsink. Even then when you run them at full strength they usually throttle themselves down after a few minutes to prevent overheating.


  • They are also very different organizations with very different goals.

    NASA is focussed on science, they are trying to learn as much as possible about our solar system and the universe.

    SpaceX by contrast is focussed on engineering. They aren’t trying to find life on Mars, they are trying to build the ferry service to it.

    When NASA built rockets back in the 60’s, space flight was a science problem. We needed to figure out if it was even possible to do so. Can we even get a capsule into space? Can humans survive in zero gravity? Nowadays space flight is an engineering problem. We know it’s possible, we know the math, but can we actually build those things?









  • Several things that made the SD card annoying to developers.

    First: you could not install an APK on the SD card (probably due to DRM reasons). So if you had a larger app and you wanted users to be able to take advantage of the additional storage offered by the SD card you could not do this simply by having a large APK. (Note that this also was true for phones that had no removable SD card but had internal memory that presented itself as ‘external storage’).

    On some phones the normal storage was so small that any larger app had to leverage the external storage to be able to even fit (we’re talking 10+ years ago). The way to do this was using so-called ‘expansion files’. These were additional data files, up to 2GB a piece, that could be installed on the external storage. These came with some additional difficulties.

    • They were pure data files, so they could not contain any executable code. They were just big binary blobs, so none of the Android built-in mechanisms for loading assets depending on screen density, screen size and all that stuff worked. You had to do it all by hand.
    • Since they were just binary blobs, you had to do any organization inside the files yourself. For example, they could be large ZIP files but you had to do all the ZIP handling yourself. Compared to normal APKs that are also ZIP files but where you can just load stuff from the APK archive and it’s all handled by the framework.
    • The expansion files were separate from the APK. The Play Store did try to automatically download them if your app had expansion files, but this was not guaranteed. Furthermore, because they live on an SD card they could disappear at any moment. Your app needed additional logic to deal with this, code to re-download the files if they were missing, code to handle errors during the download, UI to show the download progress, etc.

    Another problem with SD cards was the huge variety in quality of SD cards. Phones internal storage is reasonably fast, but you never know what kind of cheap-ass yanky SD card the users installed in their phone. This caused all kinds of performance problems in more demanding apps and as a developer you had to deal with the fall-out (bad reviews, support requests, etc.)


  • BorgDrone@lemmy.onetoMemes@lemmy.ml*Permanently Deleted*
    link
    fedilink
    arrow-up
    2
    arrow-down
    7
    ·
    1 month ago
    • Losing SD Expansion sucks; they should bring this back. Only reason they stopped this is greed.

    Fuck that noise. SD expansion was a terrible idea and I’m glad it’s gone. There are so many problems introduced by removable storage, it was a terrible PITA to deal with as a developer. One of Google’s dumbest ideas in early Android. Good. Fucking. Riddance.









  • BorgDrone@lemmy.onetoMemes@lemmy.mlCooked
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    2 months ago

    Well, if you put it in the picture then it must be a good argument.

    /s

    Just because one side is not 100% perfect doesn’t mean you have to support the side that is 100% bad. If you’re waiting for the perfect candidate who matches your beliefs on all point before voting you’ll never get to vote.