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.

Kolanaki , in AI generated music is getting good
@Kolanaki@yiffit.net avatar

The first verse could easily just be seen as being about drug addiction, so I wonder if the AI was a bit confused by the definition of dependency in this context lol

embed_me ,
@embed_me@programming.dev avatar

At what point it will stop being considered confusion and start being considered intended metaphor

Kolanaki ,
@Kolanaki@yiffit.net avatar

Perhaps when the AI itself is more intelligent that the answer to that question is self evident? Although, even a human can accidentally create a metaphor just slapping sentences together that rhyme with no other real intent.

Lmaydev ,

Interpretation is completely up to the listener, regardless of what the author intended. That’s just how art works.

Meatstick OP ,

That’s true haha I would love to see a breakdown on how it decides the lyrics.

UnfortunateShort , in Kubernetes dev moment

I hated YAML at first glance, but it kinda grew on me

FooBarrington ,

I hated YAML at first glance, and my hate has only increased since

asyncrosaurus ,

Like a fungus you learn to live with

mynamesnotrick ,

Pretty accurate… I am just realizing I’ve moved out of the despise stage and into acceptance.

tkk13909 , in AI generated music is getting good

WARNING: You have posted content that promotes AI on the Fediverse. This is not tolerated here and will be punished by the collective.

Meatstick OP ,

lol sorry didn’t mean to offend the collective

luciole ,
@luciole@beehaw.org avatar

Nooo not the hivemind jokes again :(

The real joke is these comments lamenting unpopularity get to be the most upvoted.

FierySpectre , in AI generated music is getting good

Damn… That is good…

I guess we now have to learn all the different markers for AI generated music too (like hands and background continuity for image generation)

Meatstick OP ,

It’s getting hard to tell if the vocals are AI or simply autotuned

frauddogg , in AI generated music is getting good
@frauddogg@lemmygrad.ml avatar

AI “art” is for Borgs.

Scoopta , in After all, Why shouldn't i use Excel as my database?
@Scoopta@programming.dev avatar

Also shows as dates on YouTube music

gofsckyourself , in CSS

It’s really not, though. This is only true if you’re bad at CSS, which basically can be said about anything.

BombOmOm ,
@BombOmOm@lemmy.world avatar

As someone who is bad at CSS, I can confirm at least half of your statement. ;p

nullPointer OP ,

unless you inherit a large base written by someone who is bad at it where their approach seemed to be to write new bad rules in attempt to cover up previous bad rules and so on. we all know how supportive employers are at addressing technical debt. (site redesign cant come soon enough)

marcos ,

Yes, it’s that way if you include bad CSS. What isn’t the same as you being bad with it.

underisk ,
@underisk@lemmy.ml avatar

Not sure about your particular situation but there’s also the possibility that the bad CSS was good CSS when it was written and over time that got superseded by advancements in both technology and practice.

agressivelyPassive ,

Or simply different styles and/or skill levels were mixed. I’m currently sifting through a code base that I know for a fact started out goodish, but through multiple team reorgs and lax standards/tight deadlines it devolved into a hot mess. A major contributor being that most of the devs were inexperienced in the framework and just did what they thought was right.

Aceticon ,

Even supposedly senior devs often have a “I know best” mentality and when they get their hands on a code base do it their way, with the result that after something went through a couple of hands you have a mess of different coding styles and even different software design choices in the same code base, or in other words, and unmaintainable mess.

MajorHavoc ,

“it’s not that hard” just announces to the world that you haven’t tried to do anything hard with it.

gofsckyourself ,

I work with WordPress. It doesn’t get much harder than that.

underisk ,
@underisk@lemmy.ml avatar

What do you consider difficult to do with CSS that wouldn’t also be difficult without it?

BassTurd ,

As someone that has gone through some of the available online tutorials like freecodecamp, and has no real world experience, especially in a team setting, I think I agree with you. I wouldn’t say it’s hard, but I do feel it’s unnecessarily complicated in some areas. Some naming conventions are unintuitive, the cascading inheritance can get confusing especially with multiple hands working on something, and from my experiences, there’s minimal if any effort put into best practices, so everyone does things a little different.

griD ,

Pff, just define your own cascade with @layers :)

Best advice I can give: Don’t use CSS directly, use a pre-processor like SASS/SCSS. It really helps keeping things sane and somewhat organized.

onlinepersona , in CSS

flexbox made things so much easier, but still hard. There are just too many rules to keep in your head about display and position and how they affect other attributes. And the box model… wow. margin, border, padding, content, but he attribute is box-sizing and it has border-box and content-box, but not the others.

IINM it was written by people who came from print media (just like HTML) and that stuck.

CC BY-NC-SA 4.0

fidodo ,

Man I remember the days before flexbox and with browser specific bugs. CSS still screws with me but nothing like in the 2000s.

MonsiuerPatEBrown , in CSS

I remember before CSS was released it was supposed to be such a panacea. And then everyone said that CSS 3 was going to fix everything.

And now we are here saying the human created system isn’t the problem it is the humans that are the problem.

Semiconductors are the aliens. They are ruling us now.

fidodo ,

How do you remember those days and not think things are way better now? CSS can still have weird behavior, but it’s nothing compared to doing everything through one off html attributes and trying to position things with float hacks and dealing with browser specific bugs. Despite its problems, as someone who has made websites through every Internet era, things have gotten better and better.

Strawberry ,

with CSS grid, and now subgrid (finally, chrome), layout with CSS has never been more pleasant

Ironfacebuster , in CSS

Trying to fix padding on an element that has “pad-left” and “padding” at the same time but you don’t realize it

diffcalculus ,

The way to fix a pad-bottom is simple! Just give the next element a negative margin-top!

Ironfacebuster ,

I feel like I’ve actually done that, but it was only because I had to have the padding or else everything broke

I’m glad I’m not alone 😔

fidodo ,

That’s no big deal, just use a linter. It’s also pretty obvious what the priority is in the inspector.

Draconic_NEO , in CSS
@Draconic_NEO@programming.dev avatar

Totally agree with this. I was trying to do CSS theming on my personal website on SDF to try and make it look nicer but I gave up and just went without it because it never worked right. It’s a crappy website anyway with a lot of problems (doesn’t have correct margins so on anything outside specific resolutions it looks wonky).

Murvel , in C++ oop in a nutshell

Ohhh gottem!

She is now legally obligated to sex this man.

edit: programmers code

Goun ,

Normies hate this trick!

spez ,

lmao ‘sex this man’. hahahhaha

Murvel ,

Yup, that’d be the joke

Moussx , in C++ oop in a nutshell

“Oh, so we’re actually not friends” Walks away, as she should

Ziglin , in C++ oop in a nutshell

Does C++ actually have something like that? That sounds like something made up for the joke?

BeigeAgenda ,
@BeigeAgenda@lemmy.ca avatar

It’s part of the language: en.wikipedia.org/wiki/Friend_class

Ziglin ,

Huh, do Java and other oop languages have them too and what are some good reasons to use them?

UnfortunateShort ,

It allows for more fine grained access control and to implement afterthoughts.

Think having some private function that can break things if called improperly, but also allow you to avoid significant overhead when calling it the correct way. For example you could be avoiding input validation in a public wrapper for that function. If your friendly class already does it, or cannot produce invalid inputs, there is no need for that.

You could also implement logging after the fact, because your friendly logger object to read private members.

Arguably it’s a questionable design decision tho, as you could do all of this in other ways and it basically breaks any guarantees private would usually give you.

Ziglin ,

That was a problem I saw with it but I guess it’s useful too. I like structs.

5714 , in C++ oop in a nutshell

Did I misunderstand something or is that an InCel-joke?

Harbinger01173430 ,

…it’s a c++ joke.

5714 ,

Did I misunderstand something or is that an c++InCel-joke?

Harbinger01173430 ,

That would be incel++ instead

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