There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.

Accounts which solely post advertisements, or persistently post them may be terminated.

programmer_humor

This magazine is from a federated server and may be incomplete. Browse more on the original instance.

iAvicenna , (edited ) in Rebase Supremacy
@iAvicenna@lemmy.world avatar

I personally prefer “git off my lawn”

bitcrafter ,

Ah, yes, the good old git off --my lawn command.

MoonJellyfish , in New language
@MoonJellyfish@lemmy.today avatar

I like typescript:)

Aceticon , in New language

I would say that over a decade of my career was coming in as a freelancer to fix codebases where a couple of people tought they knew better than the previous ones and proceeded to add yet another very different block to a codebase already spaghetiffied by a couple such people.

Sometimes it was coding style, sometimes it was software design, sometimes it was even a different language.

I reckon thinking that just deploying one’s EliteZ skills on top of an existing code base without actually refactoring the whole thing will make it better is a phase we all go through when we’re still puppy-coders.

ChickenLadyLovesLife ,

The majority of puppy-coders I’ve encountered (including myself) actually want to refactor rather than just add onto. They are fundamentally correct in this, but they don’t grasp that 1) few companies want to acknowledge that the code base which is their greatest tangible “asset” is actually complete shit, and 2) that due to their inexperience, their refactored replacement is probably going to end up as bad as or worse than the original.

invertedspear , in New language

One project I worked on had 10 different languages. That was rough. But even your basic full stack web application is usually 5 languages: SQL, a backend language, HTML, CSS and JS. Usually some wheel reinventing frameworks thrown in for good measure. 5 languages is light these days.

agressivelyPassive ,

And don’t forget the CI “language” plus a bunch of bash scripts, Helm, Kubernetes, etc.

mctoasterson ,

Probably a bunch of hacked together Python to copy stuff between fileshares. Bonus points if it runs with a .bat file and a Windows scheduled task.

humbletightband ,

Without Ansible or Terraform? What about SQL specific for each rdbms?

CodeMonkey ,

I work in Java, Golang, Python, with Helm, CircleCI, bash scripts, Makefiles, Terraform, and Terragrunt for testing and deployment. There are other teams handling the C++ and SQL (plus whatever dark magic QA uses).

UnfortunateShort , in there is no need

Every time I take a look at collections of user created themes for anything, I am reminded why design is a profession.

Not trying to shame anyone, I’ve been an enjoyer of custom themes ever since I started using Linux, but you need to have at the very least a little contrast in your theme. That’s kinda where this conversation begins :D

isVeryLoud ,

User themes having poor contrast and inconsistencies is why I stick to stock themes, made by UX/UI designers who work directly with the developers.

devfuuu , in Should it just be called JASM?

Java applets from 20 years: what am I to you?

Feathercrown , in Should it just be called JASM?

WASM, also known as Javascript Java

Malix , in Daylight saving creator left the chat....
@Malix@sopuli.xyz avatar

I’m ok with timezones, but the guy who invented daylight savings time I’d slap to all the way to the sun

northendtrooper ,

IIRC daylight savings was created way back when electricity really didn’t exist so it allowed the farmers more daylight to harvest their crops.

Now with that said there is more technology in today’s farming equipment so DST shouldn’t really exist anymore.

Bassman1805 ,

It’s not about the crops, farmers work by the sun, not by the clock.

It was able conserving candles and oil, for lighting rooms.

zerofk ,

That’s a misconception. Farmers lobbied heavily against DST. Their work does not abide by the clock; they milk when cows need milking, and they harvest when there’s enough light, no matter what some clock says.

In Europe, DST as we know it now was first introduced by Germany during WW1 to preserve coal, then abandoned after the war, and widely adopted again in the 70s. In the US it was established federally in the 60s.

This is all glossing over a lot of regional differences and older history. But yeah, US farmers were very much against the idea.

Gork ,

I blame Big Ice Cream™.

Those ice cream trucks get an additional hour of daylight to hawk their goods before the children are recalled back inside for supper.

snooggums , (edited )
@snooggums@midwest.social avatar

So, this is wrong on so many levels. First of all, DST had nothing to do with farmers, it was to save energy usage in the summer as people were doing more things when the evenings were warmer.

IIRC daylight savings was created way back when electricity really didn’t exist so it allowed the farmers more daylight to harvest their crops.

DST does not increase the amount of daylight on any specific day of the year, it just shifts it later in the day so that people in 8-5 jobs can do more things after work. Farmers don’t work 8-5, they work as needed so if the crops need harvesting they will get harvested based on the weather.

Now with that said there is more technology in today’s farming equipment so DST shouldn’t really exist anymore.

Nowadays farmers have lots of lights and can harvest after the sun goes down, but that has nothing to do with why DST shouldn’t exist. DST shouldn’t exist because it doesn’t save energy due to any populated place having their lights on all night and the actual changing of time leading to negative outcomes like deaths from accidents with no benefits.

Sure, the sun will come up earlier and set later in the summer if we get rid of DST, but the only reason for the time change in the first place was the standard working hours being longer after noon than before.

someguy3 , (edited )

And you’d think *if anything farmers would want more sunlight in the morning when it’s cooler.

Edited because people want to take this the wrong way. As in this another reason that DST and farmers makes no sense.

snooggums ,
@snooggums@midwest.social avatar

Farmers don’t care about clocks unless they are scheduling a time to meet and using the clock for clarity.

The sun comes up when it comes up and that is what matters. Farmers don’t care about the clock for what they consider morning, because morning is before the sun is highest in the aky. They are already getting up a few minutes earlier or later depending on whether the days are getting longer or shorter.

DST has nothing to do with farmers.

someguy3 , (edited )

I think you misread my comment. It’s along the lines of if anything they would prefer the morning.

snooggums ,
@snooggums@midwest.social avatar

This is like saying dogs would want better stock options when stock options don’t matter to dogs.

someguy3 , (edited )

This is besides what I was saying, which was again “if anything” and adding another reason why farmers and DST makes no sense. But dude people live in the world. Farmers are not 1000% in their own bubble. They need to go out to stores and get supplies and interact with the world and the supply chain. You are now taking lack of an office schedule or something to a ludicrous degree with your analogy. I wasn’t even disagreeing with your old points, I was saying “if anything” and adding another reason, but you want to go off on seemingly everyone. Perhaps you’re confusing me with the other guy, but whatever. Cheers.

snooggums ,
@snooggums@midwest.social avatar

Why add something irrelevant about something irrelevant?

Has anyone asked Ja Rule about DST? How do you think DST impacts Ja Rule’s travel plans while on tour?

Nimrod ,

Get ja in here, asap

ReluctantMuskrat ,

My understanding is DST did still save appreciable energy until we replaced incandescent lights with fluorescent and leds. Longer daylight in the evening when people are awake and less in the early morning when people are asleep means lights aren’t being used as much. The average light bulb used to consume 60 watts or more and also let off significant undesirable heat, so with a house full of lights DST really did cut back energy usage. Now though with led lights low consumption and virtually no heat, it’s not nearly as significant.

Crashumbc ,

Actually DST was a war world one thing to save energy. To not need lighting in the factory.

Look it up you’re both wrong.

It actually was only active during WWI and WW2 until late 60s or early 70s (oil crunch may have brought it back.)

snooggums , (edited )
@snooggums@midwest.social avatar

Originally being started for WWI and WWII doesn’t contradict my post which talks about the current reasons given to keep it and that it is not saving energy now.

Crashumbc ,

Oof just 90%

“Midwestsocial”

Yup that explains the lack of reading comprehension…

Good day

snooggums ,
@snooggums@midwest.social avatar

Why does my location impact your reading comprehension?

Smh my head

azertyfun ,

and set earlier in the summer*

I hate it. I fucking hate it. With every fiber of my being. I spend every winter counting the days until the sun stops setting before I stop working. Our entire lives are scheduled so we are inside under neon light from 9-6, why are we trying to maximize how much of that is during daytime?

On the day that we go back to permanent ST I will turn to hard drugs to make up for the dopamine deficiency. No joke very few things in my life fill me with more dread than having to suffer early evenings for the rest of my life.

snooggums ,
@snooggums@midwest.social avatar

Maybe, and hear me out, the problem is that 9 to 6 is the problem, since 2/3 of that time is after noon. Instead of changing reality to appease business, business, work hours could be changed to 8 to 4 with four before and four after which is both more light in the evening than DST and a shorter workday because people are more productive than they ever have been.

But I guess you would rather let business practices determine when noon is for everyone instead of the sun.

azertyfun ,

Business hours is no more or less of a social construct than DST or the 24 hour clock.

The only difference is that we have a shot at making everyone agree on a timezone shift or permanent DST, but absolutely NO SHOT at getting every business to switch to an 8-4 schedule. None. It’d be a nice sentiment. But it’s not happening, and I don’t care what the number says on the clock when I leave work as long as it’s sunny outside.

Why is it so important that the sun reaches its zenith at noon anyway? Do you often get confused while looking at your antique sundial?

snooggums ,
@snooggums@midwest.social avatar

First of all, noon refers to when the sun is at the highest point in the sky so being an hour off is confusing.

Being able to look at the general position of the sun and being able to estimate time is pretty handy.

Being able to estimate the length of day because the time between sunrise and sunset being approximately the same is handy.

Not changing the time of day twice a year would be fucking fantastic.

Some places already stick with standard time all year round.

The US tried year round DST in the 70s and it was widely rejected within a year because DST during the winter is fucking awful.

Plus, most jobs don’t mind people coming in and leaving early, which is a far more common shift adjustment than coming in and staying late.

Year round standard time is the real solution.

someguy3 ,

It was some worker who wanted more time after work to catch butterflys.

schnurrito ,

That is literally the opposite of true.

Vince ,

Isn’t that Benjamin Franklin or did West Wing lie to me?

Scoopta ,
@Scoopta@programming.dev avatar

From a development perspective it certainly sounds easier to have one global timezone with DST than a bunch of smaller ones without it. Would that make sense in reality? Probably not but I definitely think timezones take more work to compensate for properly.

fidodo ,

What matters is consistency and our time system has tons of crazy inconsistent shit in our. Everyone knows about leap years, but do you know about leap seconds? Imagine trying to write a function to convert unix time to a current date and suddenly all your times are a second off.

Just look at this insane bullshit nonsense. The added complexity of time zones and daylight saving time is nothing compared to simply supporting our time system.

Gork ,

We need to synchronize all computer times with that one clock that can stay accurate to within 1 second every 40 billion years.

deur ,

We do? With NTP

Gork , (edited )

I’m referring to this one, the most bleeding edge of accuracy. I don’t think NIST would have implemented this particular clock (yet).

brbposting ,

Incredible list, the scale.

The software will never run on a space ship that is orbiting a black hole.

hmm
A little aspirational?

alcoholicorn , (edited )

Lets just have 2 timezones, Chinese time and EST w/ permanent DST. The most populated timezones for Eurasia and the americas, and they’re both 12 hours apart, so nobody has to do timezone math, just swich AM and PM.

Scoopta ,
@Scoopta@programming.dev avatar

There was actually a really interesting idea I heard to have no time zones. And I actually think it could be a good idea. It’ll never happen because people would need to re-learn time but if it was always the same time everywhere it would make scheduling and business so much easier. No one would need to convert between different zones or be late because of an incorrect conversion. The downside is that times which are conventionally morning or evening etc, would no longer would be so people would have to get used to time just being a construct for scheduling and not a representation of the natural day/night cycle…but it actually doesn’t sound like a half bad idea.

ricecake ,

Problem you run into is the areas where we need to tie things to solar days across an area.
You end up with places having to regulate that school starts at 22:00, and gets out 05:00 the next day.
Businesses close for the night at 06:00 and open bright and early later that day at 22:00.
You have places where one calendar day has two different business days in it, so the annoyances faced by people who work overnight shifts spreads to everyone, and worse gets spread to financial calendars, billing systems and the works.

It’s not better.

Scoopta ,
@Scoopta@programming.dev avatar

🤔 that’s a fair point…

ricecake ,

Time is an air bubble trapped under a screen protector. It’s annoying, and you can push it around to try to keep it out of the way, but you can never really fix it.
There’s just too many inherently contradictory requirements for us to end up with a “good” system, and we just need to settle for good enough.

My dream is that we stop changing things. Whatever we have in time zone database today is what we stick with going forwards. No more dst shifts, no more tweaks to the zones, no more weird offsets and shifts, because we don’t get to stop dealing with the old layout when we change, we just add a new one that we think is better.

For the most part, dealing with this stuff is a solved, shitty problem. It’s when we change the rules that problems come up. Worse when we change them retroactively. (Territory disputes between nations have been resolved with the conclusion that land was actually in a different time zone in the past because it was actually in another country. Not a problem usually, unless there’s a major stock exchange in an island that was transferred between nations and retroactively changing what time it was affects what laws were valid at the time certain transactions took place.

hikaru755 ,

Not really. Timezones, at their core (so without DST or any other special rules), are just a constant offset that you can very easily translate back and forth between, that’s trivial as long as you remember to do it. Having lots of them doesn’t really make anything harder, as long as you can look them up somewhere. DST, leap seconds, etc., make shit complicated, because they bend, break, or overlap a single timeline to the point where suddenly you have points in time that happen twice, or that never happen, or where time runs faster or slower for a bit. That is incredibly hard to deal with consistently, much more so that just switching a simple offset you’re operating within.

umbrella ,
@umbrella@lemmy.ml avatar

and id put him back and lovingly nurse him back to health. big hero.

scottywh ,

Switching sucks but DST is better than Standard Time.

snooggums ,
@snooggums@midwest.social avatar

Which part of the year is DST and which part is Standard Time?

I know, but it seems like half the people that say they prefer DST have it backwards.

scottywh ,

It’s easy, the good part is DST (which is what we’re currently in - Spring through Fall in the northern hemisphere).

Aux ,

It’s only good from spring to fall. Come winter and it’s a permanent depression.

scottywh ,

Standard Time during that period is what’s depressing.

jdeath ,

yeah it’s literally ass-backwards. how can anyone support DST as it stands is beyond me

Aux ,

With standard time you get some light in the morning. With DST you get no light at all. Also there’s nothing worse than waking up in the darkness.

scottywh ,

Sure there is… Coming home from work in the darkness is way worse than waking up in it.

Aux ,

As I explained in my other comment, there’s no situation where you’re getting any daylight in the evening with DST, that’s just not possible.

Also daylight in the morning sets your day on a high note. The morning you’re spending in the darkness is what turns your life into a winter long depression. Coming home in darkness is inevitable and has a lower impact on your mental health. And with DST effectively removing BOTH morning and evening daylight, you’ll be completely fucked.

scottywh ,

I disagree.

Also, sunrise and sunset times vary depending on one’s location.

Daylight in the morning only serves to remind me (and people like me) that it’s being wasted and won’t be available when I have free time.

Aux ,

You’re not getting any daylight with DST in the winter no matter where you are.

Incandemon ,

Strong disagree, under DST I get to experience some sunlight in then evenings. Under Standard time I get to watch the sun come up through the window and set through the window.

jdeath ,

just move somewhere better. don’t mess up my timezone just because your weather always sucks!

Aux ,

I don’t know what you mean by evening, but it’s already dark at 16:00 during winter. You only get some light in the morning. DST means no more light in the morning and no more light in the evening. Complete depression. DST should not exist.

KillingTimeItself ,

i still dont even understand what DST even is, as far as i care because i don’t is that DST just means we change the time, because god forbid the time be a little funky.

snooggums ,
@snooggums@midwest.social avatar

DST is shifting the sunlight later in the day during the summer.

KillingTimeItself ,

too bad there isn’t like a standard convention that establishes when something would take effect, how it would take effect, and at what interval.

No, daylight savings time is definitely what we’re going to call it.

mwguy ,

DST vsm Standard time literally doesn’t matter. It’s the switching between the two that kills people.

sacredfire ,

The real problem is that across the globe there is like 50 different implementations of it. Some places have a fucking half hour, or some goofy shit. Really fun handling time zones with that sprinkled on top.

CosmicCleric ,
@CosmicCleric@lemmy.world avatar

Love me some early evening daylight though. Nice warm but not hot cruise/drive with the windows and the top down on the car.

usualsuspect191 ,

I love DST! I just think ever switching out of it is where the mistake lies

Aux ,

DST during winter = permanent depression.

Nimrod , (edited )

You are aware that the actual amount of daylight doesn’t change when we move the clocks right?

It really comes down to when you’d rather have more daylight, morning or evening.

NaoPb ,

Evening

Nimrod ,

Agreed. That’s why DST is best.

Aux ,

Except that it doesn’t. Take a look at daylight data for 20 Dec here www.timeanddate.com/sun/uk/london

Daylight: 08:03 - 15:53

That’s ST obv. Now let’s convert it to DST, that will be 9:03 - 16:53. Let’s say you work a standard 9-5 job. Well, 9:03 is after you start working and 16:53 is before you finish. Thus you get ZERO daylight during the day in DST. You get almost an hour in the morning with ST.

Now let’s move further away from equator www.timeanddate.com/sun/latvia/riga

Daylight: 08:59 - 15:43

Well, DST is a perma fucking depression now as you’re robbed from the very few minutes you had before.

How about further North www.timeanddate.com/sun/finland/helsinki

Daylight: 09:23 - 15:12

No wonder Finland has such high suicide rates during winter…

P.S. It is also worth noting that daylight grows the closer you get to the equator and it grows in the morning, not in the evening. You can see from the examples above that their evening difference is smaller than the morning one. There’s just no point having DST.

Nimrod ,

I’m missing your point. Do you think that moving the clocks is having an effect on the tilt of the earth? Or are you just trying to explain to me how daylength and latitude are related?

I know quite well how dark it gets in the north. I live in the north. Luckily, the sun still rises and sets at very predictable intervals. If I want to enjoy sunlight, I simply need to be awake at some point that coincides with when the sun is up.

You are also aware that not everyone works the exact same hours, right? And windows exist?

Use a different example to make the opposite point: I’d like the sun to be out for at least an hour after I get home from my “9-5”, so if the sun sets at 1700 I’m standard time, I am depressed. But in DST, I get to spend an hour in my garden.

See? The debate is stupid. Do you want more daylight in the morning or afternoon. That’s the only question. The amount of daylight is not affected by clocks.

Aux ,

Wut? If it’s DST during winter, you don’t have any light to enjoy after work. You can only enjoy light in the morning with ST. All the explanation is above, with facts.

Zagorath , in Rebase Supremacy
@Zagorath@aussie.zone avatar

Okay this is the second time I’ve seen Sydney Sweeney referenced in a meme in less than half a day. I had never heard of her before. Who is she, and why is she suddenly attracting so much meme attention?

loutr , (edited )
@loutr@sh.itjust.works avatar

She’s an Australian American actress who blew up last year (she was in euphoria I think?), expect to see her in a ton of upcoming blockbusters.

arken ,

Her blown up remains you mean?

loutr ,
@loutr@sh.itjust.works avatar

Yeah, I had a feeling that was not the best way to put it but I was in a hurry :)

Conyak ,

She is from Spokane Washington not Australia. She got a lot of recognition for her role in Euphoria and is blowing up a bit right now because she is a young, attractive, talented actress.

Clanket ,

She was excellent in the first season of White Lotus on Sky too. Great show.

MargotRobbie ,

You are probably thinking of another talented blonde Australian actress.

bradorsomething ,

Pretty sure Radha Mitchell only does front end development.

Kalothar ,

How dare you speak to Margot Robbie like that

Cold_Brew_Enema ,

She also has a pair of massive blockbusters

Strawberry ,

She’s an American actress who was in Handmaid’s Tale and a few other things and then blew up thanks to her role in Euphoria. She’s become a bit of a meme recently because online conservatives think that her boobs are anti-woke

Zagorath ,
@Zagorath@aussie.zone avatar
FriendBesto ,

Two reasons.

pftbest , in Probably the wrong meme format

You can’t compile C to java bytecode, they are fundamentally incompatible. But you can compile C to wasm, which is what you want for a good universal bytecode. Java is shit.

fl42v ,
  1. Compile jvm into wasm
  2. ???
  3. Be universally hated
onlinepersona OP ,

Join the player haters ball

Anti Commercial AI thingyCC BY-NC-SA 4.0

onlinepersona OP ,

May I introduce you to github.com/davidar/lljvm

The C to JVM bytecode compilation provided by LLJVM involves several steps

pftbest ,

Have you seen what it outputs? The same way we can compile C to brainfuck, it doesn’t mean it’s good or is useful.

onlinepersona OP ,
  • “compiling C to java bytecode isn’t possible"
  • link to project that does exactly that
  • "it’s not good or useful"
  • WASM exists
  • "that’s useful”

… OK

Anti Commercial AI thingyCC BY-NC-SA 4.0

pftbest ,

I can’t quite understand what is your point? Are you arguing that both JVM and WASM are bad? With this I agree, they both have terrible performance and in an ideal world we wouldn’t use any of them.

Are you arguing that JVM bytecode is better than WASM? That’s objectively not true. One example is a function pointer in C. To compile it to JVM bytecode you would need to convert it to the virtual call using some very roundabout way. But in WASM you have native support for function pointers, which gives much better flexibility when compiling other languages.

onlinepersona OP ,

There is no point. It’s a stupid meme, not to be taken seriously in a “programmerhumor” community. It’s about as serious as demanding the Biden be the arbiter of good and bad programming languages, or saying JS should be used to punish convicts.

Look at the other people saying stuff like “JAVA: Just Another Virtual Assembler” or something. They aren’t taking it seriously.

Anti Commercial AI thingyCC BY-NC-SA 4.0

umbraroze , in Life Hack

One day someone will use the SQL injection to execute code on the remote server to add message to the web site that tells the workers to unionise and demand actually fair wages and put an end to the whole tipping nonsense

melpomenesclevage ,

Please write this code and I’ll do it tomorrow when stuff opens today.

Flax_vert , in Three monitors, and i feel insulted

One monitor connected to a thinkpad, mechanical computer from early 2000s, it’s software engineering time.

AWittyUsername , in Hilarious
  1. Using Java
dwemthy , in Three monitors, and i feel insulted

I don’t know how to make my RAM be not a rainbow and I’m too lazy to look it up

Evrala ,

I got a bunch of rgb in order to set it all to purple on my desktop. But then I started using Linux full time on it so I lost the windows rgb software, and was too lazy to fix it. So it went from looking amazing to this ugly clashing thing for the last 3 years I used the system as each part eventually reverted to its demo mode.

russjr08 ,

OpenRGB might be able to help you change the colors if that’s something you’re interested in fixing nowadays.

Evrala ,

I don’t use the system anymore but at the time the parts I had weren’t supported.

russjr08 ,

Ah, well I hope your new system is more to your liking then!

Mesa ,
@Mesa@programming.dev avatar

True Neutral

mr_satan , in Three monitors, and i feel insulted
@mr_satan@monyet.cc avatar

Monitors – hell yes! RGB – can’t stand it. My keyborad has a plain white backlight and that’s it. It’s purely functional.

Mesa ,
@Mesa@programming.dev avatar

Could one argue that your conscious choice to not pick an RGB backlit keyboard is in part because of your aversion to it, therefore making it somewhat of an aesthe-

RGB == FPS bro

  • All
  • Subscribed
  • Moderated
  • Favorites
  • [email protected]
  • random
  • lifeLocal
  • goranko
  • All magazines