• 2 Posts
  • 19 Comments
Joined 1 year ago
cake
Cake day: June 21st, 2023

help-circle


  • You can make nearly all images small enough to upload and still look good without dropping colour depth. There are 3 ways to achieve it basically:

    • Resize it to a lower resolution (1280 x whatever looks just fine on a screen)
    • Reduce the quality
    • Change to lossy (JPG) from non-lossy (PNG)

    The resizing is usually enough.

    The quality reduction is something that google pagespeed focuses on too. For most apps that means choosing a lower “quality” when converting to jpg or saving as a new jpg. 85% of original is good.

    If you happen to have imagemagick installed, I have a little script that I use called “resize_to_pagespeed.sh”. The jist of it is this:

    convert inputfile.jpg -filter Lanczos -resize 1280x1280 -sampling-factor 4:2:0 -strip -quality 85 outputfile.jpg

    I just ran this on a 2.4MB photo (below) and it came out at 186KB. That’s a 13x reduction. Right click -> open in new tab to see it full size.

    If the image isn’t square, imagemagick is smart enough to figure out correct dimensions.






  • At 7 years of age I was collecting the grass coming out of my neighbours lawnmower. I was tossing it in the air at my dog who was having great fun jumping into the air catching it.

    Cue my neighbour running over my foot with his lawnmower. I didn’t feel much pain as it shredded straight through my runner and skin.

    I was rushed to hospital and somehow they saved my toe. It took about five years for me to regain feeling in it.

    Edit: oh I missed the word “work”.


  • A few for me:

    • Death of my father.
    • Getting married. Hitting 20 years in August. Hopefully many more to come.
    • Realising I didn’t enjoy the business course I was on in college, burning the two years already spent and moving to computer science which I loved every minute of.
    • Having kids. They bring me so much joy.
    • Leaving a well paid job that I didn’t really enjoy and starting my own business.
    • Travel. It’s so important to experience different cultures and viewpoints.
    • edit: Finding a sport that I loved. I wasn’t a sporty kid but decided to start trying different things in my 20s.






  • I mean every other nation in Europe did too at the time. Only geography saved Britain. Germany rolled over everything in it’s path in the early part of the war.

    The French made one massive strategic error, fought hard after realising it and were instrumental in holding off the Germans while the British bailed back to the mainland to fight another day.

    I’m tired of the implied reduction of combat capability of the modern French military that comes with a single strategic balls up 80 odd years ago.





  • khannie@lemmy.worldto> Greentext@lemmy.mlAnon reflects on his life
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    10 months ago

    Yeah it really is infuriating. I started MT at 26 and fought until I was 36. Nobody laughs at anybody in a Thai gym. Those who would are rooted out early because there’s always someone better than you.

    Go in, work your balls off, don’t be a dick, keep coming back and you get respect. It’s that simple.