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.

Bye , in Happy New Year Coders.

Dude what, replace all of those with me skiing while my mouse jiggler keeps my slack status active lol

DinosaurSr ,

This is my new New Year resolution. You got any good mouse jiggler recommendations?

thetreesaysbark ,

Is slack more intelligent than teams for this? With teams you can open a word doc and put something on the space bar and it’ll keep you active

GBU_28 ,

Best to be jigglin.

AgnosticMammal ,

You can also press and hold the arrow key on the Desktop. I assume this works because of keyboard based navigation

lseif ,

does slack seriously monitor mouse movements ? heavens above.

dabu ,
@dabu@lemmy.world avatar

If needed just use a website. The electron app is just that + tracking

lseif ,

does the web version set your status as ‘active’ ?

CannotSleep420 , in Happy New Year Coders.

Literally me fr fr

onlinepersona ,

Very french french of you

CC BY-NC-SA 4.0

embed_me , in Happy New Year Coders.
@embed_me@programming.dev avatar

What is it on New year’s? Beer with?

funkajunk ,
@funkajunk@lemm.ee avatar

3 pixels.

brennesel ,

Here is the original source with better resolution.

Looks like a can of Tuborg beer.

xoggy , in This is what being a Redditor does to your life
@xoggy@programming.dev avatar

When you go to merge master into your feature branch but accidentally squash master in.

CrypticCoffee , in This is what being a Redditor does to your life

Become a professional, then you’ll commit every time you make a small bit of functionality. If you’re doing massive changes like this, you haven’t broken something after multiple days of code enough. When you do that and you have no idea what you broke it with and when, it conditions you towards small iterable chunks.

narc0tic_bird ,

This. Instead of making commits time-based (for example once per hour or once per day), make them purpose-based (say, add a database migration in one commit, and change the color of a button in another one). This also makes it easy to cherry-pick or otherwise backport specific changes to different program versions gor example.

Awkwardparticle ,

I learned this the hard way, I forgot to commit for a single day and got burned really bad when my regression tests failed and I could not trace the issue(it is called source control for a reason). I declared it was more efficient to revert back to the last commit than spend time fixing broken code that I had no fucking clue where it was and the only thing I had to go by was that it happened between two commits with a whole work day between.

wulrus ,

I work a lot with the local history of the IDE, where I can also set labels to a current state. In addition, it creates its own labels like last time all tests were green etc.

Still, in one of my last project that really lived TDD, they made a good point that I should just push as often as I label, since that also triggers all sorts of other tests which I usually don’t run locally, or not as often.

I had “rearrange code” checked once for a commit, and fortunately, it had automatically saved the exact state before that.

QuazarOmega , in This is what being a Redditor does to your life

I don’t get it

kambusha ,

More specifically, what’s the connection to Reddit?

QuazarOmega ,

This

The hyperlink was in the title, that’s why I couldn’t see it from my client

Aatube OP , (edited )
@Aatube@kbin.social avatar

The image is from a reddit post. You can click on the link to read it if you want.

(Weird, I remember kbin rendering it as an embed...)

QuazarOmega ,

Ah, I get it now, so it’s this www.reddit.com/media?url=https%3A%2F%2Fi.redd.it%…

That’s way too slanderous, lol

mexicancartel , in 4 billion if statements

Well i hate this:

PS > .\program.exe 0

THIS:

.\

backhdlp , in This is what being a Redditor does to your life
@backhdlp@lemmy.blahaj.zone avatar

Me when I don’t know at how many changes I should commit (the previous commit changed 2 characters):

QuazarOmega ,

For real, or when you should make the first and second commit.
Or worse, when you’re too focused and start making a ton of changes, then you realize you haven’t committed anything. Discovering I can stage ranges has made me fall for this way too many times, because I think I’ll easily just go back and extract one atomic change at a time later (spoiler: it won’t be easy ( ; ´ Д `))

pkill ,

as soon as you realize you can’t easily contain your commit message within a 50-character conventional message (or slightly more if you wand to be more specific about the scope)

dukk , in Good luck web devs

Original Article

Basically, it’s just some cool X11 magic that uses a matrix transformation to rotate the screen.

BigBananaDealer , in Good luck web devs
@BigBananaDealer@lemm.ee avatar

i guess ill have to get linux then, i NEED diagonal mode

gravitas_deficiency , in Good luck web devs

Who hurt you

case_when , in 4 billion if statements

This is poetry.

My favourite part is that he uses the modulo operator in his Python script to generate the C code.

MonkderZweite , in Good luck web devs

Next is star shape.

cupcakezealot , in Good luck web devs
@cupcakezealot@lemmy.blahaj.zone avatar

Linux is the only major operating system to support diagonal mode

MashedTech ,

I’d just like to interject for a moment. What you’re refering to as Linux, is in fact, GNU/Linux, or as I’ve recently taken to calling it, GNU plus Linux. Linux is not an operating system unto itself, but rather another free component of a fully functioning GNU system made useful by the GNU corelibs, shell utilities and vital system components comprising a full OS as defined by POSIX.

Many computer users run a modified version of the GNU system every day, without realizing it. Through a peculiar turn of events, the version of GNU which is widely used today is often called Linux, and many of its users are not aware that it is basically the GNU system, developed by the GNU Project.

There really is a Linux, and these people are using it, but it is just a part of the system they use. Linux is the kernel: the program in the system that allocates the machine’s resources to the other programs that you run. The kernel is an essential part of an operating system, but useless by itself; it can only function in the context of a complete operating system. Linux is normally used in combination with the GNU operating system: the whole system is basically GNU with Linux added, or GNU/Linux. All the so-called Linux distributions are really distributions of GNU/Linux!

brbposting ,

No, Richard, it’s ‘Linux’, not ‘GNU/Linux’. The most important contributions that the FSF made to Linux were the creation of the GPL and the GCC compiler. Those are fine and inspired products. GCC is a monumental achievement and has earned you, RMS, and the Free Software Foundation countless kudos and much appreciation.

Following are some reasons for you to mull over, including some already answered in your FAQ.

One guy, Linus Torvalds, used GCC to make his operating system (yes, Linux is an OS – more on this later). He named it ‘Linux’ with a little help from his friends. Why doesn’t he call it GNU/Linux? Because he wrote it, with more help from his friends, not you. You named your stuff, I named my stuff – including the software I wrote using GCC – and Linus named his stuff. The proper name is Linux because Linus Torvalds says so. Linus has spoken. Accept his authority. To do otherwise is to become a nag. You don’t want to be known as a nag, do you?

(An operating system) != (a distribution). Linux is an operating system. By my definition, an operating system is that software which provides and limits access to hardware resources on a computer. That definition applies whereever you see Linux in use. However, Linux is usually distributed with a collection of utilities and applications to make it easily configurable as a desktop system, a server, a development box, or a graphics workstation, or whatever the user needs. In such a configuration, we have a Linux (based) distribution. Therein lies your strongest argument for the unwieldy title ‘GNU/Linux’ (when said bundled software is largely from the FSF). Go bug the distribution makers on that one. Take your beef to Red Hat, Mandrake, and Slackware. At least there you have an argument. Linux alone is an operating system that can be used in various applications without any GNU software whatsoever. Embedded applications come to mind as an obvious example.

Next, even if we limit the GNU/Linux title to the GNU-based Linux distributions, we run into another obvious problem. XFree86 may well be more important to a particular Linux installation than the sum of all the GNU contributions. More properly, shouldn’t the distribution be called XFree86/Linux? Or, at a minimum, XFree86/GNU/Linux? Of course, it would be rather arbitrary to draw the line there when many other fine contributions go unlisted. Yes, I know you’ve heard this one before. Get used to it. You’ll keep hearing it until you can cleanly counter it.

You seem to like the lines-of-code metric. There are many lines of GNU code in a typical Linux distribution. You seem to suggest that (more LOC) == (more important). However, I submit to you that raw LOC numbers do not directly correlate with importance. I would suggest that clock cycles spent on code is a better metric. For example, if my system spends 90% of its time executing XFree86 code, XFree86 is probably the single most important collection of code on my system. Even if I loaded ten times as many lines of useless bloatware on my system and I never excuted that bloatware, it certainly isn’t more important code than XFree86. Obviously, this metric isn’t perfect either, but LOC really, really sucks. Please refrain from using it ever again in supporting any argument.

Last, I’d like to point out that we Linux and GNU users shouldn’t be fighting among ourselves over naming other people’s software. But what the heck, I’m in a bad mood now. I think I’m feeling sufficiently obnoxious to make the point that GCC is so very famous and, yes, so very useful only because Linux was developed. In a show of proper respect and gratitude, shouldn’t you and everyone refer to GCC as ‘the Linux compiler’? Or at least, ‘Linux GCC’? Seriously, where would your masterpiece be without Linux? Languishing with the HURD?

If there is a moral buried in this rant, maybe it is this:
Be grateful for your abilities and your incredible success and your considerable fame. Continue to use that success and fame for good, not evil. Also, be especially grateful for Linux’ huge contribution to that success. You, RMS, the Free Software Foundation, and GNU software have reached their current high profiles largely on the back of Linux. You have changed the world. Now, go forth and don’t be a nag.

Thanks for listening.

TheWoozy ,

Don’t feed the trolls.

I’m pretty sure everyone here understands both sides of the argument, but just don’t concider it important enough to change their vocabulary.

brbposting ,

Was only treating you to delicious copypasta!

wiki.installgentoo.com/index.php/Interjection

Kolanaki , in Good luck web devs
@Kolanaki@yiffit.net avatar

How many minor operating systems support it? 🤔

backhdlp ,
@backhdlp@lemmy.blahaj.zone avatar

I’m assuming most that can run Xorg.

jol ,

There’s ReactOS and BSD off the top of my head.

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