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.

genfood OP , in Chewing gum as a promotional gift for a RTOS

Although the best-before date had already passed, the chewing gum was still good.

https://feddit.de/pictrs/image/a2b802de-757c-499c-8ddd-4a0024457cb7.jpeg

aarRJaay , in Happened to me multiple times
@aarRJaay@lemmy.world avatar

Project gets so big and popular that the maintainer no longer has time to maintain it. Goto Step 1

TheBananaKing , in Returns a sorted list in O(1) time
Semi-Hemi-Demigod , in Every Family Dinner Now
@Semi-Hemi-Demigod@kbin.social avatar

I feel pretty secure in my job, because in the future I’ll talk to the customers so the AI doesn’t have to instead of the engineers.

renzev ,

Typical conversation between a non-programmer and a programmer about AI:

Won’t AI put you out of your job?

It probably won’t

Well, can’t AI write code much faster and more efficiently than humans?

How would it know what code to write?

I guess you would need to provide it with a description of the app that you want it to make?

So you’re telling me that in the future, there will be machines that can generate computer code based entirely on a description of the required functionality?

I guess so?

Those machines are called “compilers”, and “a description of the required functionality” is called “a program”. You’re describing programming.

Semi-Hemi-Demigod ,
@Semi-Hemi-Demigod@kbin.social avatar

Yep. Until customers can provide a clear, concise description of what they want there will always be jobs for programmers.

SolarMech , in Infinite Loop

Learning to deal with “unmaintanable” codebases is a pretty good skill. It taught me good documentation and refactoring manners. It’s only a problem for you if management does not accept that their velocity has gone down as a result of tech debt pilling up.

Code should scream it’s intent (business-wise) so as to be self-documenting as much as possible As much as possible is not 100%, so add comments when needed. Comments should be assumed to be relevant when written, at best. Git comment should be linked to your work ticket so that we can figure out why the hell you would do that, when looking at the code file itself. I swear some people seem to think we only read them in PRs (we don’t). Overall concepts used everyday, if they need to be reexplained, should probably be written down (at least today’s version). Tests are documentation. Often the only up to date one?

Smoogs ,

I’ve known influential assholes who poopood commentating as if it’s only a superficial job.

I hate those people.

corytheboyd ,
@corytheboyd@kbin.social avatar

This right here. Get good at navigating code of questionable quality that you didn’t write. If you can’t do it, start questioning your tools, and mastery of those tools. For the big boy jobs, you should be working with existing code much more than writing new code. Learn to get excited by tweaking existing systems with a few well placed, well researched changes, instead of being The Asshole that adds a new abstraction wart.

ChaoticNeutralCzech , in Programming: The Horror Game

I use an LCD monitor so there is no difference in power consumption. I preferred the old view, how do I go back?

Poxlox ,

Alt + F4

thechadwick ,

Just have to delete the system32 directory. That gets rid of the changed settings the fastest.

HaveYouPaidYourDues ,

That’s a $10.99/month subscription

aMockTie , in DO NOT MERGE

Why did they submit this as a pull request in the first place? Just commit it to a WIP branch until it’s ready to merge. Am I missing something?

brisk ,

Probably to get some other benefitof the PR system, such as CI tests

leds OP ,

Does gerrit have a draft state? In azure devops you can mark PR as draft , won’t trigger any builds but you can still start them manually

beeng ,

manually

This is probably why the dev created a PR, less clicks

sf1tzp ,

I don’t remember if it did when I used it. Our convention was to -2 your own change until it was ready to go 😅

DrJenkem ,
@DrJenkem@lemmy.blugatch.tube avatar

It’s been a while since I’ve worked with AOSP, but I had always understood it to be some weird shit with Google’s internal processes. The “do not merge” commits are all over the AOSP, or at least they used to be.

NotSteve_ ,

I do this often. It’s useful if you want to send it to your coworker for some early feedback or as others have said, have the CI run

magnus , in Guthib

What, no websocket-based realtime statistics for number of total, daily and hourly mistypings?

neurospice , in git commit -m "minor fixes" +26858 -69429

Could be worse:


<span style="color:#323232;">git commit --allow-empty-message -m </span><span style="color:#183691;">""
</span>
lambdabeta , in git commit -m "minor fixes" +26858 -69429

All praise our lord and saviour git rebase -i!

oeLLph OP ,

amen!

hakunawazo ,

–amend

JATtho ,

I fckd up a git rebase -i today with git commit -a --amend

Thankfully git reflog allowed me to assemble the branch again … from pieces.

QuazarOmega , (edited ) in what the hell is happening in ultramarine linux

What’s Fyra tho?

Edit: I guess it’s this: fyralabs.com
Very disappointed in the lack of cats ;(

NovaPrime ,
@NovaPrime@lemmy.ml avatar

Pretty sure it’s the patron goddess of the fyre festival

Justas ,
@Justas@sh.itjust.works avatar

It just means 4 in Swedish, like en/ett, två, tre, fyra, fem …

state_electrician ,

Femboi?

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

mindbleach , in The Holy Trinity of JavaScript

“The trinity makes as much sense as Javascript” is a vulgar condemnation of Christian dogma.

nailbar , in Need a rust version too.

PHP 8 makes it finally possible to rescue the princess, but you accidentally princess the rescue instead.

ISMETA ,

PHP 8 makes it possible to rescue the princess but your 83 legacy princesses are all still PHP 5.

nailbar ,

I did not want to be reminded of that today 😡

skydivekingair , in Programmer tries to explain binary search to the police

In Artillery you call it bracketing/straddling.

khannie ,
@khannie@lemmy.world avatar

Binary boom

mosiacmango ,

It’s called bracketing in electrical engineering as well for troubleshooting.

Witchfire ,
@Witchfire@lemmy.world avatar

“Hmm still no magic smoke, double the current will you Jeeves?”

khannie ,
@khannie@lemmy.world avatar

Fried electronics have such a unique "“oh fuck” smell

merc ,

The smell of the magic smoke that gets released from the electronics, preventing them from working.

CynicRaven ,

Called half splitting in troubleshooting terms when I was in the Navy.

ErrorF002 ,

Half split bracketing was the term I learned in aviation electronic school in the Navy.

sfbing ,

That’s an analogy that might appeal to the LE types.

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