programming.dev

kayazere, to programmer_humor in Implemented as requested

There’s some truth to it. I’ve seen devs not clarify something from the designs with other stakeholders due to lack of social skills. You end up with something they implemented to the spec, but makes no sense it reality.

teawrecks, to linux in why does the poster image of c/linux have 3.8mb?

Which are you suggesting?

  • that the image could be losslessly compressed more efficiently?
  • that lossy compression should be used more aggressively?
  • that there is extra data hidden in the file?
_edge,

It’s 5120 px wide. Is this necessary?

teawrecks,

That’s a question for a web developer, which I am not. I would expect it to be the max common resolution width. A quick Google shows that modern ultrawides are 5120x1440. So that’s probably why.

Deckweiss, (edited )

So if you are not a cook, you can’t answer questions about food taste?

teawrecks,

I mean, I took a guess. I don’t know what you want from me.

Deckweiss,

I want you to laugh at my joke question.

kglitch, (edited )

I'm a web developer.

Lemmy does not use the entire screen width. The way it has been embedded in the page means that image takes up only 850 pixels of horizontal space so it could be 5x smaller and no one would be able to see the difference.

Lemmy really should be automatically resizing the images (on the server) when they are uploaded, not every single time the community is viewed (in the browser).

gregorum, (edited )

it’s not. the lemmy-ui max width for the poster element is far smaller than that (1104x960). in fact, the poster element is set to be a near-square (displays as rectangular in web and mobile web on the page header), as it also displays in the sidebar and in mobile apps as a square if the image is. most mods simply assume it’s a rectangle and upload a rectangular image.

this image is made to be the largest usable resolution lemmy can display as a community poster and optimized to be very small in file size. see on lemm.ee/c/plex

https://lemm.ee/pictrs/image/6df8e5b3-a7fb-441d-a114-94513bcccc56.webp?format=webp

yote_zip, to linux in why does the poster image of c/linux have 3.8mb?
@yote_zip@pawb.social avatar

Everyone fully missing the point here. This is the banner image for !linux (that’s not where we are right now for the record), and it has a normal JPEG size of 7.7MB. When it’s served as WebP it’s 3.8MB. OP is correct that this is very stupid and wasteful for a web content image. It’s a triple-monitor 1440p wallpaper that’s used verbatim, and it should instead be compressed down to be bandwidth-friendly. I was able to get it to 1.4MB at JPEG quality 80, and when swapping it out in dev tools and performing A/B testing I can’t tell the difference. This should be brought to the attention of a mod on that community so it can stop sucking people’s data for no reason.

cmnybo,

It could be resized too. 5120x1440 is way too big for a website banner. There’s no reason to go more than double the size it will actually be displayed at. That would bring it down to a couple hundred KB.

juli,

Thank you!

kglitch,

I got it to 47 KB after resizing it to 850px by 239px, heh

stoy, to linux in why does the poster image of c/linux have 3.8mb?

Sorry for being a bit of a dick, I think you mean that the file “is 3.8MB”.

“mb” would mean millibit, 3.8millibit is an impossibly small file size, and would never exist practically (though I an sure that with some clever maths a zip bomb could be designed so that one bit of data could be compressed into 3.8millibits)

MB is the proper shorthand for MegaByte, a decent file size for a high quallity pucture, depending on the format and compression.

Unless we analyze the image, and determine the image format and compression settings we have no idea of if 3.8MB is a resonable size of the file or not, and the mods have hidden a rar file in the picture file, it is highly improbable that would be the case however.

Sorry for being a dick.

kpw,

Please stop purposefully misunderstanding people when the thing their trying to say is clear. Most annoying character trait one could have.

explore_broaden,

It leads to genuine confusion because of the difference between Mb and MB (and further MiB), so this is a good point to make in this case.

stoy,

This is all fair, I can’t say it wont happen again ever, but I usually am not this kind of a dick.

juli,

I was just lazy, but thx for the explanation and the importance of correct spelling

stoy,

Eh, you should not have had to deal with that, I was just annoyed about other stuff and should have ignored the post instead of being a dick.

I am sorry for my bad post.

governorkeagan,

I’ll add some context for anyone who might be interested.

why does the poster image of c/linux have 3.8mb?

When speaking Portuguese (possibly Spanish as well) you would say it like this, a imagem tem….

It is quite common for native speakers of Portuguese (and probably Spanish) mix this up when speaking English.

source: I speak Portuguese

_edge,

OP does not argue about ‘has’ vs ‘is’.

governorkeagan, (edited )

I’m just adding useful extra information to the thread.

Sorry for being a bit of a dick, I think you mean that the file “is 3.8MB”.

The sentence I was referring to in my original comment.

Edit: added context

cm0002, to linux in why does the poster image of c/linux have 3.8mb?

It’s not 1999 anymore, 4MB is nothing and a very common size for a decent quality image file

Disonantezko,
  • I usually use Lemmy at my smartphone with 4G that was released 3 years ago, I’m happy with it, and I don’t need other one more new and expensive.
  • The area of 4G is very congested, then the connection is slower in peak hours.
  • Only rich people has last medium and high end smartphone with 5G, and live in area with that coverage.
  • I live now in downtown, and just got slow fiber connection 3 months ago, there are a lot buildings with only ADSL in this area, and it’s the capital.
  • Maybe you are lucky, with good connection.
  • Is not so hard to optimize the image for everyone in the world, and maybe put a link to original big image of you want.
  • There’s a lot of ways to optimize, like changing resolution, reduce colors, clean image. And compression, using webp lossy 95% you got a very small file that looks very close to the original, usually got less than 1MB.
  • Today’s web is very bloated for no reason, and very slow in old computers. Browsers are the main RAM eaters.
juli,

You’re welcome to visit me in germany. I’ll show you german internet. Vietnam has faster internet.

fossilesque, to memes in Shout-out-to-mods-posting
@fossilesque@mander.xyz avatar

The key to happiness is not having expectations, unfortunately that is not always healthy. It’s like nature, evolution comes with just the right pressure. Life needs a little grit, unfortunately, but obviously not /waves arms at generally everything. Hoping for a Star Trek future where we can pursue becoming better people without the need to fight for our basic needs.

ThatWeirdGuy1001,
@ThatWeirdGuy1001@lemmy.world avatar

See my problem is I have no expectations and I’m constantly let down.

The bar is on the floor but these mfers brought shovels

ShitOnABrick, to programmer_humor in We're not the same! (period)
@ShitOnABrick@lemmy.world avatar

I swear I saw this posted a few weeks back

rifugee, to programmer_humor in We're not the same! (period)

Why not both!

virock, to memes in Shout-out-to-mods-posting

It’s a joke. The true source of happiness is the absence of the wrong people. I cut some people out of my life and the air seems cleaner, I’m so happy all th e time now.

Rodeo,

“The true source of happiness is the thing that worked for me.”

Great that it worked for you, but let’s not get carried with pretending there is one true source to happiness.

Maggoty, to programmer_humor in We're not the same! (period)

Por que no los dos?

urda, to programmer_humor in We're not the same! (period)
@urda@lebowski.social avatar

That’s a lot of spaghetti

fraydabson, to programmer_humor in We're not the same! (period)

Lol is it bad this is the reason I setup a self hosted gitea instead of GitHub

SeeMinusMinus, to memes in Shout-out-to-mods-posting
@SeeMinusMinus@lemmy.world avatar

This is basically everything my stupid ass family been trying to push up my brain

Naveen000can,

Don’t you want to be happy?

SeeMinusMinus,
@SeeMinusMinus@lemmy.world avatar

IF THIS IS WHAT IT MEANS TO BE HAPPY I WANT TO BE THE SADDEST PERSON TO EVER EXIST!!!

omnissiah,
@omnissiah@iusearchlinux.fyi avatar

Pfff normie

Naveen000can,

Good luck on that

jordanlund, to memes in 6÷2(1+2)
@jordanlund@lemmy.world avatar

Interesting that Excel sees =6/2(1+2) as an invalid formula and will not calculate it (at least on mobile). =6/2*(1+2) returns 9 because it’s executing the division and multiplication left to right (6/2=3*3=9).

Google Sheets (mobile) does’t like it either and returns an error. =6/2*(1+2) also returns “9”.

KnightontheSun, to risa in Sneaking more Babylon 5 references into risa, please ignore

I am a big fan of the Original ST. Just love it. Very campy sure, but the stories are great and I love all the original actors. I absolutely love the score too and it fits perfectly. I have watched the latest ST versions and they can be good too. Not all of it, but I do still enjoy most of it.

Would I enjoy DS9?

gregorum,

Yes.

HeyThisIsntTheYMCA,
@HeyThisIsntTheYMCA@lemmy.world avatar

I see no reason not to give it a try. I’m in the middle of rewatch #4 I think. Just got into season 3. It’s better than I remember.

setsneedtofeed, (edited )
@setsneedtofeed@lemmy.world avatar

DS9 is much tonally darker. It still feels fairly modern in presentation. The show pushes and prods at the utopian Star Trek ideals. There is character growth among the main characters, and overarching stories especially in the last few seasons.

It’s not fully grimdark, and has some of the best interactions and humor in Trek, but the setting is a post-military occupation planet. It doesn’t handwave away the lingering issues.

The cast and characters are great. Easily the best reoccurring show villains in DS9.

KnightontheSun,

Thank you for the reply! I will put it on my list and cue it up.

HeyThisIsntTheYMCA,
@HeyThisIsntTheYMCA@lemmy.world avatar

Easily the best reoccurring show villains in DS9.

Better than Neelix’s cooking?

setsneedtofeed,
@setsneedtofeed@lemmy.world avatar

The cheese had very little character development compared to Jake.

BertramDitore, (edited )
@BertramDitore@lemmy.world avatar

This is such a great description, and captures why I love DS9 so much. I think the fact that it doesn’t really take place in the Federation, and that the overarching plot is moved along by external forces from an entirely different quadrant, gives it the space to thoughtfully explore the depths of a well-intentioned yet exclusionary post-scarcity utopia from a darker perspective. Especially how the Federation’s ideals interact with the aftermath of a very familiar military occupation on Bajor at the same time as it stokes an external threat from an unfamiliar ‘other’ through the Dominion/Founders. And all of that is accomplished through some of the best character development of any show I’ve seen.

Zink,

My guess is yes. Many consider it the best Star Trek. I think I agree and I’m not even to the best parts yet.

The general look & feel of it is closest to TNG, if you’ve seen much of that. It’s not as campy as the original, but you get a few moments of “look at that actor on that obvious sound stage set pretending to be an alien, lol” moments. But DS9 has more long plot arcs. I am loving the cast of characters more than I remember too.

Spacehooks,

So glad people here like ds9. I told people it was my favorite like 10 years ago and got so much crazy on how it was bad.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #