• 1 Post
  • 1.32K Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle
  • As a mobile developer, tiny unhittable buttons drive me batshit. I used to get handed app design documents all the time that had these little buttons, along with image files for these buttons that were just large enough (width and height) for them. I would always do a trivial amount of extra work to make the actual tappable regions larger than the images to improve their usability, but when I mentioned this to the designers they would go apeshit and demand that I restore the original tiny tappable regions, usually with the bullshit rationale of that being what end-users expected and they didn’t want to verify that what I’d done to my best judgement was OK. Management would go along with the designers, on the grounds that enlarging the tappable regions required more time and effort - even though I’d already done it and undoing it would require even more time and effort.

    It eventually occurred to me to just do it without telling anyone and I had no further problems.

    A fun little fact about iOS: the operating system includes a private method (which is something developers supposedly can’t use without getting their app rejected) named _warpPoint. This hack was put in when they started supporting landscape, because the top toolbar and its tiny buttons became even tinier and virtually unusable in that mode. _warpPoint intercepts touches near the toolbar and changes the coordinates to the middle of the nearest button - basically doing the same thing I was doing by enlarging the tappable regions, just doing it at the global level. The irony is that they still don’t really work very well, despite the very existence of this method proving that Apple knows it’s a general problem.





  • ChickenLadyLovesLife@lemmy.worldtoCrows@lemmy.mlAww.
    link
    fedilink
    English
    arrow-up
    14
    ·
    1 day ago

    I’ve been feeding my local crows roasted peanuts for a couple of years now. They’ve never given me shit as a present, ungrateful little bastards. One time I thought they left me a little cluster of seeds and berries as a present and I was happy, but then I realized one of them just puked that up so he could eat the peanuts.









  • Bigger/faster the bullet the easier it was for water to stop.

    For bullets that’s probably true because of their light weight, but heavy shells from the big naval guns of battleships (12" to 18" caliber) actually carried a long way through water and sometimes hit and damaged target ships below the waterline. The Japanese in particular actually designed some of their shells to maximize their underwater performance.


  • It doesn’t matter how you run because ALLIGATORS WON’T CHASE YOU.

    I used to live in Florida on the edge of a big lake where my landlord had carved out a lagoon that mama gators used to hatch their broods, so there would often be between 50 and 100 little alligators chilling out in my backyard sunning themselves. For fun I would try to sneak up on one of them and poke it on the head just to watch it and all the others scatter into the lagoon. Everybody I told about this thought I was absolutely batshit crazy, but I knew that at the time there had been something like 5 alligator attacks on humans in Florida since the 1940s, always on little children playing in water (I was obviously a little child mentally but physically I was a 200-pound adult man). So I knew I wasn’t risking life or limb doing this. For the record, my sneaking up technique was to stand stock still and only move a step or two towards the gator whenever the wind blew; it seems that the gators just took me for a swaying branch and ignored me.

    What made me stop doing this was one day I happened to look down at what I thought was a big log and realized that it was actually the mama gator, about 12’ long from tip to tail and probably 2’ in diameter at her midsection. I was fairly confident that she wouldn’t attack me on land either - but not that confident.







  • a lot of research and medical progress comes from america, financed by medically bankrupt americans

    The real beneficial research is financed by taxpayers. The medically bankrupt finance the obscene profits of health care corporations and pharmaceutical companies, who do not spend much at all on primary research. The “research” they invest in is how to productize and market drugs.