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.

jtk , in Happy New Year Coders.
@jtk@lemmy.sdf.org avatar

Happy Yesterday++ Day!

lseif ,

so every day ?

jtk ,
@jtk@lemmy.sdf.org avatar
BoastfulDaedra , in no.. just no

I haven’t been this pissed off since LINQ started allowing syntax switches in random-ass places.

tiny_electron , in The Holy Trinity of JavaScript

This never gets old lmao

kherge , in Multifactor auth done right
@kherge@beehaw.org avatar

That last one reads like C’thulhufactor.

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

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

bela , in We're not the same! (period)

I don’t open source because the open source idea values mainly practical advantage and does not campaign for principles.

When we call software “free,” we mean that it respects the users’ essential freedoms: the freedom to run it, to study and change it, and to redistribute copies with or without changes. This is a matter of freedom, not price, so think of “free speech,” not “free beer.”

These freedoms are vitally important. They are essential, not just for the individual users’ sake, but for society as a whole because they promote social solidarity—that is, sharing and cooperation. They become even more important as our culture and life activities are increasingly digitized. In a world of digital sounds, images, and words, free software becomes increasingly essential for freedom in general.

Tens of millions of people around the world now use free software; the public schools of some regions of India and Spain now teach all students to use the free GNU/Linux operating system. Most of these users, however, have never heard of the ethical reasons for which we developed this system and built the free software community, because nowadays this system and community are more often spoken of as “open source,” attributing them to a different philosophy in which these freedoms are hardly mentioned.

Some of the supporters of open source considered the term a “marketing campaign for free software,” which would appeal to business executives by highlighting the software’s practical benefits, while not raising issues of right and wrong that they might not like to hear. Other supporters flatly rejected the free software movement’s ethical and social values. Whichever their views, when campaigning for open source, they neither cited nor advocated those values. The term “open source” quickly became associated with ideas and arguments based only on practical values, such as making or having powerful, reliable software. Most of the supporters of open source have come to it since then, and they make the same association. Most discussion of “open source” pays no attention to right and wrong, only to popularity and success; here’s a typical example. A minority of supporters of open source do nowadays say freedom is part of the issue, but they are not very visible among the many that don’t.

The two now describe almost the same category of software, but they stand for views based on fundamentally different values. For the free software movement, free software is an ethical imperative, essential respect for the users’ freedom. By contrast, the philosophy of open source considers issues in terms of how to make software “better”—in a practical sense only. It says that nonfree software is an inferior solution to the practical problem at hand.

Socsa , in Let me just move this project to the "unfinished" folder

This is why you just change jobs every three years.

KeepFlying , in Manager: This task only takes 30 minutes. Why did it take you the whole day?

“stuff”

nomecks ,

“Commit”

TheFerrango , in GitHub Desktop or Git CLI?

Laughs in Sourcetree

KeepFlying ,

Sourcetree is still best by far for history browsing, and I’ll die on that hill.

FoolHen ,

I switched to gitextensions, sourcetree had so many bugs that it was getting on my nerves. Gitextensions has a similar layout, it also has the history view. It’s not prefect (recently they removed the dark theme because they upgraded some dependency and it didn’t work anymore) but it’s the best alternative I’ve found

xmunk ,

I’m a huge fan of GitExtensions, especially because it does so little magic.

TrickDacy ,

Looks like it’s windows only?

FoolHen ,

Yeah unfortunately it is

nilloc ,

Sourcetree best for free, thanks bit bucket.

Tower is pretty nice for mac user too. I paid for it for a few versions back when I was coding full time. Now I just stuck to source tree for occasional freelance and personal projects.

mindbleach , in Need a rust version too.

You have Perl.

%_=~aj/dy/hfiw8i/g;
$_/a(h0w8)y@;
FWA/E.*FW[tu29uy]/;
%(1)hjc/f4ifh38/y;

The princess is saved, but all you can think about is rescuing another, with an entirely different plan. Which is just as well because you have no fucking idea how to explain the one you just wrote and executed.

besbin , in Dev rule

CEO: don’t touch that, we are moving with higher velocity thanks to it.

xmunk , in every damn time ...

Random question… RPI, in my jargon, stands for role-play intensive, and it’s a category of MUD engines… are you working on such a project? Because I’m probably in the commit history, and that’d tickle me.

Pirasp ,

It most likely stands for raspberry Pi, sorry to disappoint you…

xmunk ,

Sadness, one can dream… one can dream.

SpeakinTelnet , in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code

I don’t care how much you think your code is readable, plain text comments are readable by everyone no matter the proficiency in the programming language used. That alone can make a huge difference when you’re just trying to understand how someone handled a situation.

Fal ,
@Fal@yiffit.net avatar

There’s nothing keeping the comments up to date with the code. Comments should be sparse and only on sections that aren’t obvious why they’re being done

Zagorath ,
@Zagorath@aussie.zone avatar

Comments explain why, not what. Any comments that explain what a section of code is doing would probably be better off as separated methods.

Apart from basic documentation comments, like JavaDoc or C#'s XML documentation comments.

SpeakinTelnet ,

There’s nothing limiting what a comment should be as far as I know.

As an example of what I mean, I’ve seen in a 10k+ lines python code a few lines of bit manipulation. There was a comment explaining what those lines did and why. They didn’t expect everyone to be proficient in bit manipulation but it made it so that anyone could understand anyway.

Zagorath ,
@Zagorath@aussie.zone avatar

There’s nothing limiting what a comment should be as far as I know.

Nothing technical, sure. Just good coding practices.

lorty ,
@lorty@lemmygrad.ml avatar

Then someone needs to change something about the code and doesn’t bother updating the comment. Now you still have uncommented code but with a comment that confuses instead of helping.

SpeakinTelnet ,

IMHO the issue in this situation is not the comment but that the person updating the code didn’t do his job properly which shouldn’t be an excuse not to do it from the start.

PunnyName , in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code

Remembered*

Bill DID forget.

towerful ,

Classic comments.

Code is spaghetti.
Comments describe what it used to do.
Comments are no longer relevant.

Comments should be about how/what a code block does something.
Not what a line of code does

xx3rawr , in Works on my machine

The AI is taking over us

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