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.

whoisearth , in Every Family Dinner Now
@whoisearth@lemmy.ca avatar

I would love AI to replace me and anything I can do to speed that up I would do it.

Cwilliams , (edited ) in Good&Evil is a classic altrock album by Tally Hall, and now, for something completely different, JSON

What’s the bold thing going on with your text?

Aatube OP ,
@Aatube@kbin.social avatar

Scroll down

AVincentInSpace ,
Aatube OP ,
@Aatube@kbin.social avatar

😭

Cwilliams ,

Thx bro

AVincentInSpace ,

Np

majestic , in ===

As a backend developer i still dont know a shit what that means

UndercoverUlrikHD ,

In javascript, === does not perform type coercion when checking for equality

blackn1ght ,

Because in JS:


<span style="color:#323232;">1 == "1" // true
</span><span style="color:#323232;">1 === "1" // false
</span>
Socsa , in Sleep() at home

You gotta measure the latency of the first loop.

mumblerfish , in ===

Mathematica also has an === operator. And :=.

lurch ,

It’s also very language specific, like Pascal/Delphi also have “:=” for assignments and “=” for comparison, etc

zarkanian ,
@zarkanian@sh.itjust.works avatar

That makes much more sense than the other way.

Agent641 ,

What does the walrus operator do?

mumblerfish ,

I think it’s called ‘delayed assignment’. So it is almost like =, but you can use arguments to define functions, f[a_]:=a+2.

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.

Lucien , in ===

==== when

_edge ,

<span style="color:#323232;">==   same (after magic)
</span><span style="color:#323232;">===  same and same type (in Javascript)
</span><span style="color:#323232;">==== same and same type and same actual type (in the backend before conversion to JSON)
</span>
pocketman_stuck ,

Lolololol

pocketman_stuck ,

Lol

Buttons , in The AI plugins in my IDE right now
@Buttons@programming.dev avatar

There was a research paper that took a variety of weaker LLMs and randomly asked each one to generate the next word, and it actually turned out really well.

rimjob_rainer , in GTA 5 Java Coffee shop

Why does someone come up with java code for an in-game coffeeshop and then make an obvious mistake? Or is that on purpose and they are trolling?

asg101 , in Bug Fixing

“Works in my environment.”

jadero , in The AI plugins in my IDE right now

I’ve got just 2 now. Codium and Blackbox.ai. Not because they’re the best, but because I’m a cheapskate hobbyist and they’re free :)

I’m only just starting to play with AI tooling, so I don’t have an opinion on which is better, but something about the way Blackbox worked within VSCode means I went through the hassle of getting it installed to vscodium when I switched.

I suspect that Codium might be better at oddball stuff, though, like OpenSCAD. Blackbox seems to just make bad guesses while trying to regurgitate code I’ve already written. Codium seems to have at least a primitive idea of what’s going on with OpenSCAD. But Blackbox does a great job of cleaning up my comments and even generating decent comments for uncommented code.

FWIW, Codium actually labels OpenSCAD as “experimental”, but I don’t know if that’s just boilerplate for something it’s never been trained on or whether there is some training data in its system.

Blackbox is a pain to work with in other ways, though. It was like pulling teeth to get an account and I still can’t find anything on their pricing–or any documentation, for that matter–despite language suggesting that there are different tiers and a chat UI that offers different settings (like web browsing mode and fun mode). And the Blackbox name isn’t doing it any favours, given that “black box” is a generic term in the AI community and others. It’s own chat doesn’t seem to know that a question about the service might be about the service instead of the generic term.

Lime66 ,

Codium is one of the few which does something different

Big_Boss_77 , in The AI plugins in my IDE right now
@Big_Boss_77@kbin.social avatar

How is Jetbrains AI? I've not messed with it yet

the_frumious_bandersnatch ,

I had it during the beta. Not bad, though it’s pretty heavy handed with the Jetbrains sales pitches after almost every answer.

Their integration with the Git interface was nice though, having auto-generated commit messages based on its evaluation of the changeset is so convenient.

YIj54yALOJxEsY20eU ,

I’ve been having gpt write js docs for this huge, poorly typed, code base I am refactoring. Super nice that I can just drop the whole function (or a few) and it can figure out the context. I was even fighting one of its explanations until I looked closer and realized it was right! Will likely be integrating copilot soon.

kassuro , in Infinite Loop

I see it as a win, I love refactoring bad code . Just feels so nice afterwards.

Especially when you can remove thousands of lines of duplicated ui code.

That’s so much better than writing new code

fibojoly , in Programming: The Horror Game

Anti-peeking filter is looking dope! Nobody will be able to look at my screen anymore, me included!

stoy , in Programming: The Horror Game

Reminds me of when CodeBullet turned Pacman into a first person horror game

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