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.

rhpp , in void *

Actually void* just points to anything, with no regard to the type of that thing. Pointing to the void is more accurately described by NULL pointer.

tunetardis ,

Fair, though I guess my interpretation was that void* is kind of like a black hole in that anything can fall into it in an unsettling way that loses information about what it was?

Traister101 ,

It erases the type of what your pointing at. All you have is a memory location, in contrast to int* which is a memory location of an int

frezik ,

“Allow me to combine the worst feature of strong typing with the worst feature of dynamic typing”.

marcos ,

But we need dynamic types!

…hold my beer…

riodoro1 ,

Result: one of the most if not the most popular programming languages.

neo ,

So, when I want the void to point back at me, do I have to loop over void* or over NULL?
And how many iterations?

programmer_belch ,
@programmer_belch@lemmy.dbzer0.com avatar

For the void to point back at you just dereference the NULL pointer

sus ,

as many iterations as it takes


<span style="color:#323232;">void* x = &x;
</span><span style="color:#323232;">char* ptr = (char*)&x;
</span><span style="color:#323232;">
</span><span style="color:#323232;">while (1) {
</span><span style="color:#323232;">    printf("%dn", (unsigned int)*ptr);
</span><span style="color:#323232;">    ptr--;
</span><span style="color:#323232;">}
</span>
mox ,

In other words, void refers to the typing of the pointer, not a particular value that might be present at its target.

(But I can see how someone might find it confusing.)

Klnsfw , in void *

For God sake, be consistent. It’s either int*, int**, void* or int *, int **, void *

xia , in void *

There are no ints in the void, only… death…

JCreazy , in Absolute legend

It seems like I’m constantly finding bugs in businesses’ apps. Do they not have people test them?

example ,

sure they do, you’re one of them

vithigar ,

As someone in the dev team for a “business app”, we probably know about most or all of them, but they’re just not important enough for anyone in management to prioritize them as part of a sprint. It’s also possible no one has given us reproducible steps to make them happen, so we just straight up don’t know what to fix. Usually the former though.

jol ,

They do, and they have a backlog of hundreds of issues to fix and they must prioritise then. If fixing a bug doesn’t make money, it’s not priority.

MashedTech ,

I deal with this every day. It hurts me to my core.

Lost_My_Mind ,

I hate how they’ll spend 4 years squashing all the bugs…and then they cancel the software, and release a new buggy version.

RGB3x3 ,

cough Sonos

KillingTimeItself ,

i will never forgive the emby team for creating the single most idiotic (although rather funny) transcoding system.

It has a resolution selection, along with a bitrate selection, so you would think it forces transcoding.

It turns out the resolution is actually just a suggestion, and the bitrate is what it targets, if it doesn’t meet the bitrate, it will transcode, and if you get lucky, it might transcode to the specified resolution.

bitchkat ,

I am steadfast that I will occasionally take some time and kill off some low hanging fruit. For me, its kind of like a break and lets me clear my head on the bigger issues.

jol ,

Even then, there are bugs that need multiple people (design, engineering, content, QA, etc) and are not something that can be fixed on a whim.

bitchkat ,

Those would not be considered low hanging fruit.

jol ,

The problem is that what users consider low hanging fruit is often not, and what is low hanging fruit for devs, is invisible stuff that users don’t notice. The intersection is the tastiest low hanging fruit, but as such it’s also rare and easily picked by anyone.

bitchkat ,

I never said that users were involved in this. This is just grabbing some bugs off the queue that are simple to fix but have been deprioritized by project manager.

But they do make the customer happy because they are the one that submitted the bug.

mrkite ,
@mrkite@programming.dev avatar

I would fix that bug but the complete rewrite that management has had me working on for the past two years will make it obsolete anyway.

douglasg14b ,
@douglasg14b@lemmy.world avatar

Ah, the circle of life

NigelFrobisher ,

Sometimes no.

Blackmist ,

Yes, they’re called “customers”.

KillingTimeItself ,

they test them…

Whether they do anything with that testing is another story,.

chocoladisco ,

We are supposed to be testing them? /s

KillingTimeItself ,

you already are smh, you just don’t know it!

Andrenikous ,

Sometimes. Other times they layoff the QAs and anyone else whose job is about quality.

douglasg14b ,
@douglasg14b@lemmy.world avatar

They usually do yes however it’s all about prioritization.

You may have hundreds or thousands or open requests and issues.

With tens of thousands of closed issues that were either not reproducible, not actually problems, or largely indecipherable.

There’s usually a feature roadmap which is where most of the development money and time is spent. If it’s an older business application then certain bugs might easily take weeks to find, fix, test, validate, go through user acceptance, A/B test, and then deploy. But fixing is expensive work, so if the bug isn’t severe it’s usually deprioritized next to higher priority work.

scorpionix , in As someone not in tech, I have no idea how to refer to my tech friends' jobs
@scorpionix@feddit.de avatar

Not engineer.

At least here in Germany, engineer is a protected profession. Other than that: All of the above.

Infynis ,
@Infynis@midwest.social avatar

Interesting. In the US, all kinds of jobs are called engineers

omgitsaheadcrab ,

Yeah, same in the UK. Really annoyed me that the plumber, electrician… etc were all engineers. In Germany it’s as protected as calling yourself doctor, which ultimately affects how people view the profession and the salaries they command

masterspace ,

I mean, it’s a protected term in Canada too but it doesn’t necessarily lead to higher salaries.

My cousin who’s an electrician made about as much as I did as an electrical engineer, and I left electrical engineering to be a software developer because it paid more. Engineering paid more than being an electrical technician / designer, but not by a huge amount.

omgitsaheadcrab ,

I left aeronautical engineering to become a software “engineer” for similar reasons, salary and work culture. Actual engineering pays quite terribly in the UK, it’s a fair bit better in Germany or the US from what I hear.

brbposting ,

US much better than Germany I’ve heard!

emberwit ,

Software yes, actual no

Damage ,

Yeah it’s difficult for me to name my title in English 'cause the word doesn’t exist. I went to a technical high school, not university. (Not college!)

mumblerfish ,

It does not only dictate your professional life/status in Germany, being a doctor, your social as well. Someone I know got a postdoc in germany, no luck finding a place to live until they started asking their german collegues to call and saying “doctor so-and-so is looking for an appartment”. So, he gets one. The guy has a very long full name, so the nametag the landlord is gonna put on the postbox is way to long, but if you cut off the part where it says he is a doctor, it would fit. He insists to cut that part away, the landlord just refuses, says fuck your name and person basically, and cuts off part of his last name instead. Saying you are a doctor gets you first in fucking everything (maybe not lufthansa, then they just say ‘senators’ or something). Extremely class divided social society that.

brbposting ,

Damn I’m surprised to hear that!

FiniteBanjo ,

TBF some plumbers and electricians are qualified engineers, just not all.

tsonfeir ,
@tsonfeir@lemm.ee avatar

There are a few dick engineers working on the corner. Dickvelopers? Cockologists?

prettybunnys ,

I believe job titles specifically are(were?) considered in exempt / non-exempt status for overtime.

Why Administrator is in a lot of titles also.

Gladaed ,

If you studied a technical science and do coding for that you may be allowed to be called ingenieur.

NotSteve_ ,

It is in Canada too but that doesn’t seem to stop companies from using the term

Kidplayer_666 ,

Here in portugal too. But there is a specific engineering field which is informatic engineering? Software engineer essentially

Jrockwar ,

Hmmm. But all the people around me working in software studied multiple years in an Engineering field. In my case, I studied a 5-year industrial engineering and two masters afterwards; I feel very comfortable wearing the “software engineer” or more accurately “robotics engineer” badge.

acockworkorange ,

During the 2008 recession, a lot of Uber drivers had engineering degrees. I guess we should start calling Uber drivers engineers too.

Jrockwar ,

No, that’s precisely the opposite of my point. If you drive an Uber, you’re an Uber driver. People are “CEO” or “Judge” despite nobody having a CEO or Judge degree. Your profession is what you do, not what you happened to study in your teens to get there.

acockworkorange ,

I understand your point now and I agree. Your colleagues that studied engineering became programmers. Why do people treat this as if that’s bad? It’s a beautiful profession.

Jrockwar ,

I don’t think it’s bad, in fact I wonder the same. These are my colleagues because it’s the same path I took - I now work developing self-driving cars (I slowly transitioned from aerospace to manufacturing automation to robotics) and it’s the most rewarding job I’ve ever had, and it feels very much like engineering. I don’t care if I’m not a “manufacturing engineer” anymore; I really like my job and I like my title to reflect somewhat accurately what I do, but that’s the extent I care about it.

explodicle ,

How come they don’t count? They’re figuring out how the machines should work, for money. That’s engineering, right? (I’m an American mechanical engineer)

floofloof ,

In Canada you have to be qualified and licensed to call yourself an engineer. There are people who can use the title “software engineer”, but it’s not the majority of people working in development.

astraeus ,
@astraeus@programming.dev avatar

They have to protect German engineering at all costs

rimjob_rainer ,

Softwareingenieur darf man sich nennen, wenn man ein mathematisch-naturwissenschaftliches Fach studiert hat, wo Informatik dazugehört. Somit ist Software Engineer oder Softwareingenieur die korrekte Berufsbezeichnung für alle mit einem Bachelor/Master oder höher in Informatik.

emberwit ,

Dann muss man schon auch als solcher tätig sein, sonst nicht.

nickwitha_k ,

Sparkling Technologist.

pwalker ,

That is not entirely true. It’s a bit more complicated. Yes it is protected since the 1970s but it’s more of an academic title. You needed to study something that is “mainly” of technological or scientific nature. Basically befire the Bologna reform every student in Tec. Unis/FHs did get the title Diplom-Ingenieur. So the engineer part was literally part of your degree. This of course also true in case you studied IT. So yes there are many who call themselves IT engineers also in Germany. However it’s more of a philosophical question how much software development is actually engineering or rather craftsmanship.

hsdkfr734r , in Absolute legend

Let the patch be part of the code for one or two minor releases. Then revert the changes of the patch.

victorz ,

Why would they do that? Talk about generating mistrust.

henfredemars ,

It may not be malice. Incompetence.

jaybone ,

They are going to “accidentally” remove a fix?

henfredemars ,

By not understanding how version control works. I’ve worked at places that had a surprising number of developers who would just merge things in ways that drop code from other developers.

siipale ,

Can you give an example how that would happen?

henfredemars ,

It’s pretty straightforward. Merge conflicts? No such thing! Just make my version the next version.

dejected_warp_core ,

Also that’s likely a team that doesn’t use a branching workflow, has poor review on merges, and/or using Git like it’s SVN.

henfredemars ,

How optimistic. At my last workplace I got us to finally stop using zip files for version control. This was at a fortune 500 company.

The utility of software is so great that even terrible processes are still functional to some degree.

dejected_warp_core ,

A times B times C equals X. If X is more than the cost of a failure or security breach, we don’t fix the software.

Are there a lot of these kinds of problems?

You wouldn’t believe.

Which Fortune 500 company do you work for?

A major one.

henfredemars ,

I now work for a small business but in the interest of not getting bitten in the ass I don’t wish to give the name of my previous employer. It was a large defense contractor, but our values didn’t align so I moved on when I found another opportunity to put food on the table. I know that’s not a satisfying answer but I’m here for entertainment value and the opportunity cost might not be worth it. My main point was that even though they have the money they didn’t see the value in good software process.

All the time! We would leave bugs unfixed even if the fix was trivially easy because management felt productive listing it as a cost savings. Software maintenance was seen as a necessary evil.

dejected_warp_core ,

Software maintenance was seen as a necessary evil.

The most important lesson I learned about the economics of software is that sourcecode is always accounted as a liability and not an asset. Accountants will never let you code your way into more value. Everything else you see stems from that truth.

entropicdrift ,
@entropicdrift@lemmy.sdf.org avatar

Force push to the master branch or release branch, for one

Sidhean ,

I dunno, but it’d be funny

mryessir ,

Rehire obv.

victorz ,

Good luck with that lol. Who would fall for that.

mryessir ,

Corporate rated this strategy viable

Dampyr ,

Calm down, Satan

Hootz , in Absolute legend

Always love this one, I’d do the same but there’s to many fucking things to fix.

petersr ,

Sounds like you should find a new product to use.

Hootz ,

I would but due to capitalism there’s not much of a choice in products.

I hate when companies just eat an entire industry.

laughterlaughter ,

What’s the product and what’s the field?

Fenrisulfir ,

Windows

areyouevenreal ,

Plenty of alternatives to Windows lol. Try a different industry.

laughterlaughter ,

I didn’t downvote you; but I’m sure the OP was joking.

areyouevenreal ,

Man I hope so but you really never know these days

Hootz ,

Soda and soda accessories.

I’m a Bev tech, there’s two companies that make bar guns, tapright and multiplex aka wunderbar. There’s more options for fountain dispensing but most of my work is bars and restaurants.

Also AMA about soda dispensing at bars.

laughterlaughter ,

Thanks!

Heh, well, here’s a question: what type of software is missing in this industry that would make a killing in profits, if developed?

Hootz ,

I’d say an app or service that allows restaurants and bars to connect with local independent bar and soda techs to request services. Has the ability to track calls, submit invoices and collect payment along with maybe being able to order from suppliers

There’s alot of places that have no idea who to call for issues relating to that stuff especially with how often staff turns over.

laughterlaughter ,

We should talk :)

dejected_warp_core ,

Also AMA about soda dispensing at bars.

It’s been ages since I worked in a restaurant. IIRC, I never saw that place purge or clean the soda lines. And there was a LOT of plumbing between the fountains and the back where the syrup was kept.

At the risk of making everyone re-think ever eating out again: how often do establishments do that kind of maintenance? And is that within the recommended manufacturer interval?

Hootz ,

Oh my the scary question.

Most places legit never do unless there’s a problem. When I do service I’ll usually flush what is needed but I don’t have time for a full cleaning since the customer is supposed to do that.

Corporate chains tend to have actual SOP so they tend to be cleaner in general and will have their lines cleaned more often.

I generally suggest every 4 weeks, and to do it when a box needs to be changed since you are only gonna be flushing the last bit of an old box out of the lines. Luke warm water in a 5 gallon pail and you dunk your qcds with the caps off, run the gun or fountain till it’s clear then start mashing the buttons to get any bits stuck in the line. Pull the qcd from bucket then put cap back on, reattach to box and run gun/fountain till product is running properly.

Tbh, it’s not the lines you gotta worry with soda it’s the gun itself, some places never clean the nozzles and they get gross. Also most of the time any bad tastes are related to water or a bad syrup ratio. I had someone call me saying their lemon lime tasted “dirty” it was a bad ratio, took me not even 5 min to fix.

I’d worry more about the beer though that’s a whole different beast. Lines should be done every two weeks, once a month at the very least. That shit will make you sick if it’s dirty enough, I’ve seen so horrid things related to beer.

Kedly ,

What’s a good alternative to reddit that isnt Lemmy?

RampantParanoia2365 ,

Have you heard of Digg?

Kedly ,

Fuck man, If I switch to Dig I feel like I’ve done the internet out of order xD I’ll have to check Digg out I guess

cumskin_genocide , in Absolute legend

Bro that reminds me when I was in university and I used to tutor fellow students with the goal of getting laid. As soon as I got laid I stopped tutoring. Now unfortunately I’m married and have kids because of that.

PoopingCough ,

wat

cumskin_genocide ,

You read what you read

bamfic ,

pooping cough was confused by cumskin genocide.

Princeali311 ,

He tutored girls with the hopes of getting laid, but then when he did, it turns out he liked her and settled down with her and is now married to her.

PoopingCough ,

Ohhhh for some reason my mind went to him trying to tutor other dudes to help them with women. Was very confused.

Microw ,

You guys ooze heteronormativism

RustyShackleford ,
@RustyShackleford@programming.dev avatar

You ooze self-righteousness.

Microw ,

The original commenter @cumskin_genocide did neither specify their own sex nor the gender of the people they tutored.

Multiple people under that comment simply assumed that OP is male and was tutoring girls. That is heteronormative. Yes, I formulated that with a bit of snark. But come on.

RustyShackleford ,
@RustyShackleford@programming.dev avatar

But come on.

Unironically, no u.

dejected_warp_core ,

Same.

Wow, what a bro. Where was this guy when I was in school?

::re-reads comment and thread::

Oh. Yeah, that one’s on me. That makes a little more sense.

feedum_sneedson ,

It’s an excellent tactic.

Olgratin_Magmatoe , in void *

Void star labs/Zach Freedman moment

Diplomjodler3 , in Every single time

That’s pretty much what the US Republicans are doing these days.

isVeryLoud ,

Who asked? What’s a US anyway?

Solemarc , in “ARE YOU ALL SEEING THIS”

I like how at the start of the line it explicitly says “out of memory” but we’re just pretending this is some satanic bullshit.

She obviously read the error to find “kill process” and “sacrifice child” but still ignored the memory error

CaptnNMorgan ,

What? How does her being weirded out about the words “sacrifice child” mean she ignored anything? It doesn’t matter what triggered the error, she is questioning why the code has dark word combinations

szczuroarturo ,

Obviusly beacuse kill process or kill child sounds bad so they had to find a synonym you silly goose.

efstajas ,

As opposed to “sacrifice child” which sounds … Good?

astropenguin5 ,

yes

efstajas ,

Right, because non-technical people would be expected to understand what an “out of memory” error means

Hadriscus ,

The point is, it’s cherry-picking

CaptnNMorgan ,

The point was irrelevant.

chatokun ,

You have so much to learn about people who feed into the Satanic panic. Cherry picking is by definition how they get there. One of Alex Jones biggest boggiemen for years was a subsection of a law that allowed medical testing on troops, and he always ignores the very next section that states that it all requires informed consent. Then lies and act like people would have no idea.

During covid he found an exercise that tried to assume 4 different future scenarios that may come into play, and ignored the positive leaning ones or nuetralish ones and went straight for the heavily authoritarian exercise because it used a possible pandemic as a background setting, then claimed it was all planned out and proof Covid was a bioweapon attack.

People like this willfully ignore things that give context, and will often repackage it without the context anytime they can.

CaptnNMorgan ,

So “sacrifice child” is a common term used in what language? I don’t believe in religion but I also don’t know a whole lot about computer science. So I would believe you if you said it meant something.

But seeing the words “sacrifice child” would rightfully startle anybody. It’s nothing to do with cherry picking or satanic panic. It’s everything to do with those two very specific words being right next to each other. Nothing else.

chatokun ,

Part of the whole panic and cherry picking thing is also an important next step: refusal to do proper research. A simple web search would correctly show you that it’s harmless. One might also find sources that claim it’s actually satanic, but they’d find those in blogs, social media, or message boards, while legitimate and official sites would show the correct info.

It’s up to the person to determine which one is correct. Most logical people would go with the simplest and least sensational definition being the correct one, while those with a conspiratorial mind view would ignore such common sense and choose to panic.

CaptnNMorgan ,

It’s still very jarring. Attributing it solely to satanic panic is wild though. It’s just someone’s first reaction to seeing something. Not everyone does research before having a natural human reaction.

chatokun ,

Well, we don’t really care about a natural emotion reaction in yout head. Once you start spreading it around and claiming something about it, then its a problem. If you just spread it as a “look at this weird thing I found, isn’t it funny?” That’s also fine. However, if you start spreading it like “can you believe this?” without checking into it, then you’re either gullible to the point of the internet being dangerous for you, or you’re complicit.

CaptnNMorgan ,

Everybody doesn’t have to be an expert on a subject to say “look at this, it’s crazy right?”. It’s up to experts to explain why it’s not actually crazy. It’s still crazy the term has to be “sacrifice child”, whether it’s common or not

chatokun ,

When you aren’t an expert, then you try to find answers by looking it up, as I explained. It isn’t hard, and this one in particular is a common joke. On some subjects a simple search won’t work as well, I’ll grant you that. However you seemed hellbent on defending people jumping to conclusions without som3 due diligence. That’s on the person. Misinformation spreads because lazy people want to go off of gut reactions and not even make sure the stuff they spread is true or a misunderstanding.

Why are you so invested in not even trying to fact check? Apologies if that isn’t your point, because it sure feels like it.

CaptnNMorgan ,

It’s not my point. No need to apologize though. I just think a lady online being startled by those words and posting about it saying “have you seen this?” is not at all the same as satanic panic. Who knows maybe that’s exactly what she was doing but I doubt it. It was probably just a startled Mom or Auntie

chatokun ,

Yeah, they probably were. I might be a bit more sensitive because I’ve seen people ruined by simple stuff like this, and algorithms that encorage going further down the shock, anger, and fear pipeline. I’m pretty adamant that people fact check instead of being shocked, as those moms and aunties might become future Ashli Babbitts. That of course could be just me paying more attention to that side of indoctrination, because I worry what harm it could cause.

Still, I was mostly engaging in an discussion that cherry picked stuff is dangerous even if people don’t think it is. Plenty of people have been radicalized starting with jokes and minor misunderstandings that never got corrected. I try to at least steer people towards looking into things even occasionally on joke posts. It may be overreacting, but I remember a time where I was dumb enough to accept “Nice guys finish last” as a somewhat true joke.

buzz86us , in Absolute legend

Maybe the guy is content where he was, asks just wanted to fix that bug

c0ber , in Absolute legend

this is why open source?

KillingTimeItself , in Absolute legend

this is the first real 100x developer.

Haus , in Absolute legend
@Haus@kbin.social avatar

ESR: "Every good work of software starts by scratching a developer's personal itch."

bitchkat ,

I thought that buffoon was out of my memory Everybody Loves Eric Raymond

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