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.

Jimmycrackcrack , in Bug Fixing

Ever work?

puttputt ,

Disturbingly, yes

gandalf_der_12te ,

Every sufficiently complicated system is indistinguishable from being alive, and living beings need some warm-up time.

peopleproblems ,

I mean

maybe

Droggelbecher ,

Not with code, but i write a lot of LaTeX and that often starts working on second compilation

CodeMonkey ,

All the time. Causes include:

  • Test depends on an external system (database, package manager)
  • Race conditions
  • Failing the test cleared bad state (test expects test data not to be in the system and clears it when it exits)
  • Failing test set up unknown prerequisite (Build 2 tests depends on changes in Build 1 but build system built them out of order)
  • External forces messing with the test runner (test machine going to sleep or running out of resources)

We call those “flaky tests” and only fail a build if a given test cannot pass after 2 retries. (We also flag the test runs for manual review)

thericcer , in ===

Any Verilog devs?

drsensor , in Bug Fixing

My way: wrap it in a shell script and put a condition if exit status is not 0 then say “try clear the cache and run it again”

abraxas ,

AKA - the test suites at half the companies I’ve worked.

freakrho , in Bug Fixing
@freakrho@programming.dev avatar

on xcode i would say it has a 50% chance of working

No_Ones_Slick_Like_Gaston , in Sleep() at home

Sudo sleep

doctorcrimson , (edited ) in Why pay for an OpenAI subscription?

IMO people are idiot for using an OpenAI subscription regardless of workarounds.

EDIT: +3 to -2 in roughly 3 minutes. Sudden downvotes instantaneously appearing. Hey, I’ve got a question, why does every defence of OpenAI sound like a fucking advertisement? “I realize it’s not for everyone, but my work at home is so much easier with this: It Slices, It Dices, and It even Peels all in one. Personally, with all the time it saves me, I can never go back to working without it.”

EDIT 2: Mods are deleting some of my responses for “ad hominem” but I think it was pretty fair to say those users were woefully unskilled and that it negatively impacts their future and everyone around them if they rely on the chatbot to do half passable work. If anything, I think them telling me about their inferior skills was the only insult there, and it was their own comment not mine.

thetreesaysbark ,

Why?

doctorcrimson ,

It’s a gimmicky mimic machine that produces actual nonsense which appears at a glance passable for human generated text. Why? I should be the one asking, fucking why?

fidodo ,

I use it for debugging all the time and while it making mistakes is not uncommon it’s still way better than trying to manually search through spotty documentation.

It’s also really great at doing basic automation tasks. Sometimes I’d write up throw away scripts to process some data, but with its code interpreter it can write those for me and for simple tasks I don’t even need to check what it wrote since it’s obvious when it did it correctly.

doctorcrimson ,

I’m sorry for your company and your peers that you’re so incompetent, and I’m sorry for your future self that gets replaced easily.

fidodo ,

I feel sorry for anyone who has to put up with your sorry ass attitude

captsneeze ,

I bet people love working with you…

thetreesaysbark ,

Jeez dude calm down. I was interested in your opinion, not this angry sprawl of bullshit.

It’s a pretty useful tool for certain subjects. Nobody should take it as an ‘it’ll do the work for me’, but for a lot of subject matter it works better and more consistently than a search engine.

And yeah, it is a mimic machine. And if you want something that mimics a huge amount of information that is on the internet without you having to search through tonnes of pages, this is really really useful.

doctorcrimson ,

Be real, I called a vague description that matches you an idiot and you are here to argue defensively.

thetreesaysbark ,

Not really. Was just looking for a calm answer on why you don’t like the thing. It’s a tool, I’m on board that you’re allowed not to like it. There may be valid reasons I shouldn’t use it. You seem to have mentioned only things that are useful about it, for me.

Sure I can be an idiot, who cares? The idiot with the bow and arrow is the one eating that night.

doctorcrimson ,

Imagine defensively denying your own defensive attitude.

thetreesaysbark ,

Lol alright have a nice day.

doctorcrimson ,

thats better

Wolf_359 ,

Perhaps you just don’t have a use for it?

It doesn’t do the thinking for me but man it’s a time saver for busy work.

It turns a lot of my work into “editing” rather than writing and then editing.

It’s very good for teachers to differentiate materials for students with a variety of reading levels.

doctorcrimson ,

Wow, that’s honestly pathetic that you trust it that much. It’s the equivalent to hiring a guy on craigslist to do your work for you, except instead of actually doing the work he is 50% likely to generate entire false documentation and sources. But hey, at least it’s very fast, so you could be wrong faster than you normally are.

Adanisi ,
@Adanisi@lemmy.zip avatar

Clearly the people downvoting you don’t understand that it’s a glorified bullshit generator haha.

Wolf_359 ,

I don’t have to trust it though? I just told you I revise and edit.

It doesn’t do my job for me, I still have to understand how to do the work properly. But I can use it to save time and then revise, check for errors, etc.

You’re basically arguing that spell check is useless because it’s wrong sometimes. It’s just a tool.

Meowoem ,

Why do people praising a thing you’re saying is useless sound like someone listing it’s good points in an advert? Gee tough question, could it be that they’re essentially the same thing and the latter is explicitly designed to look like the former?

Of course if you’re going to dismiss something entirely then people who benefit from using it are going to give their opinion, that’s what this is - a place to give opinions and talk about stuff.

How else would anyone answer your question? You suggest that it has no use, people who use it regularly are of course going to point out the uses it has. And yes many aren’t going to bother they’re going to use the button that essentially says ‘this is balderdash I don’t agree’

I have found many things ai is brilliant at, as a coding assistant it really is a game changer and within five years you’ll be used to talking to your PC like they do in Star Trek and having it do all sorts of reality useful things that there are no options for in software made like we do now.

doctorcrimson ,

They attempted to answer questions I didn’t ask, I expect them to screw off and enjoy their blissful ignorance, otherwise I wouldn’t have outright insulted them in the first place: I am not here to converse about all of the good points of an unethical and honestly inadequate product, I don’t give a fuck how they’re using it.

No real person sits down at their computer and thinks “I’m going spend today convincing people that Farberware is a high quality product.” Farberware is chinesium shit just like any other machine fabricated knife from Walmart. Just like ChatGPT fanboys claiming it automagically accomplishes your work tasks, it’s disingenuous to its core.

Meowoem ,

Well I use it most days and it’s sped up my coding and documentation writing considerably.

You’re either too dumb to be able to use it or you’ve not used it because of some weird fear of new things, either way you’re not coming from a place where your opinion has any value on this topic.

doctorcrimson ,

Bros, look, it’s the same advertisement defense I made fun of before. Lmao.

Meowoem ,

We know, you want to make a ridiculous statement and for everyone pointing out you’re objectively wrong to be ignored.

It’s the level of thinking of a six year old.

doctorcrimson ,

Do you hear that sound?

I hear the raw unfiltered sounds of defeat from the comment above. No longer trying an argument they resort to insulting my person.

Meowoem ,

You’re literally arguing ‘this has no uses and anyone who says otherwise is a meany’ what is anyone supposed to do but laugh at you?

aksdb , in Sleep() at home

On microcontrollers that might be a valid approach.

Darkassassin07 ,
@Darkassassin07@lemmy.ca avatar

But then I gotta buy a space heater too…

YIj54yALOJxEsY20eU ,

Microcontrollers run 100% of the time even while sleeping.

towerful ,

Nah, some MCUs have low power modes.
ESP32 has 5 of them, from disabling fancy features, throttling the clock, even delegating to an ultra low power coprocessor, or just going to sleep until a pin wakes it up again. It can go from 240mA to 150uA and still process things, or sleep for only 5uA.

YIj54yALOJxEsY20eU ,

Nah, Sleeping != Low power mode. The now obsolete ATmega328 has a low power mode.

kevincox ,
@kevincox@lemmy.ml avatar

I’ve written these cycle-perfect sleep loops before.

It gets really complicated if you want to account for time spent in interrupt handlers.

aksdb ,

Thankfully I didn’t need high precision realtime. I just needed to wait a few seconds for serial comm.

sooper_dooper_roofer , in ===

eight equals equals equals equals equals equals equals equals equals capital d tilde tilde

DrunkenPirate , in ===

ChatGpt: 1+1≈2

OpenStars ,
@OpenStars@startrek.website avatar

Reddit: 1+1=your muther (sic, x2)

X: 1+1≈we should violently overthrow the government

4chan: nvm, I don’t want to get banned for saying this one

Darkaga ,

4chan: "Gamer words"

OpenStars ,
@OpenStars@startrek.website avatar

No, that’s Discord 🙃

drmoose , in Sleep() at home

Javascript enters chat:


<span style="color:#323232;">await new Promise(r => setTimeout(r, 2000));
</span>

Which is somehow even worse.

KairuByte ,
@KairuByte@lemmy.dbzer0.com avatar

I mean, it’s certainly better than pre-2015.

sbv ,

As someone who likes to use the CPU, I don’t think it’s worse.

Fridgeratr , in Bug Fixing

I only do it because it works!

jerrythegenius , in Bug Fixing
@jerrythegenius@lemmy.world avatar

I actually did this earlier today

Schal330 ,

I’ve only recently joined the dev world and I saw this post in the morning. Late this afternoon I’m doing a deployment that fails, couldn’t determine the cause as I’m a noob, before bothering a more senior dev for help I run it again… It worked.

Deceptichum , in Bug Fixing
@Deceptichum@kbin.social avatar

And the worst part is when it actually does and you have no fucking idea what went wrong before.

MrCookieRespect ,

The pc had the hiccups and now it’s fine. Problem solved!

ericbomb ,

Some times my game engine needs a wake up run, then an actual run.

MrCookieRespect ,

Yeah happens from time to time.

rambling_lunatic ,

Blame cosmic rays.

xedrak , in ===
@xedrak@kbin.social avatar

cries in PHP

xmunk ,

I also came to represent my php breathren.

mineralfellow , in Bug Fixing

If that doesn’t work, restart it and then try.

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