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.

AMDIsOurLord , in Added Bugs to Keep my job

fix this fucking gitignore

InTheDark , in That Nim Flashbacks

Y’all need to play some Dr. Nim. That’s a REAL programmer’s board game boardgamegeek.com/boardgame/…/the-amazing-dr-nim

sukhmel ,

Amazing, an analogue computer from 60-s dedicated solely to one task. This is what steampunk ASIC looks like

DogWater ,

Vsauce just made a short form about these except a much bigger one

Emmie , (edited ) in Like getting 9 women pregnant and expecting a baby in 1 month

Quality over quantity. I have seen people who have done things better and faster than a whole team. I am almost one of them but alas I only work for few hours before deadline. If I could work like this every day I would single handedly build everything. It kinda bugs me what stuff I could do if I didn’t suffer and delay it all feeling mix of guilt and shame.

akash_rawal , in That Nim Flashbacks

Replacing “Programmers:” with “Program:” is more accurate.

spoilerTower of Hanoi is actually easy to write program for. Executing it on the other hand…

CanadaPlus ,

It’d be a trick if you didn’t already know the answer. Or at least, it would be for me. It’s also hard to actually visualise.

akash_rawal ,

I didn’t know the answer either, but usually you can compose solution from solutions of smaller problems.

solution(0): There are no disks. Nothing to do. solution(n): Let’s see if I can use solution(n-1) here. I’ll use solution(n-1) to move all but last disk A->B, just need to rename the pins. Then move the largest disk A->C. Then use solution(n-1) to move disks B->C by renaming the pins. There we go, we have a stack based solution running in exponential time.

It’s one of the easiest problem in algorithm design, but running the solution by hand would give you a PTSD.

CanadaPlus , (edited )

Good for you. I think I’d figure it out eventually, but it would certainly take me a while.

I’d probably be trying a number of approaches, including the recursive one. Renaming pegs is a critical piece that you’d have to realise you can do, and you can’t be sure you have a correct inductive solution unless you actually walk through the first few solutions from the base instance.

Fijxu , in Added Bugs to Keep my job

Options for donation and contact linksNothing important

yamanii , in Like getting 9 women pregnant and expecting a baby in 1 month
@yamanii@lemmy.world avatar

People were very critical of valheim too for not updating faster, they really don’t care.

muntedcrocodile , in That Nim Flashbacks
@muntedcrocodile@lemm.ee avatar

God I can’t remember how to do this something about moving tower a to spare pin recursively.

JackbyDev ,

Pretty much. If you can solve it with like 4 then you can solve it with any amount.

muntedcrocodile ,
@muntedcrocodile@lemm.ee avatar

Yeah I remember it being an exponential amount of movements tho.

nutt_goblin , in Added Bugs to Keep my job

github-sync: local install (WIP, split and rebase)

RickAstleyfounddead , in That Nim Flashbacks

Idk what is this puzzle called? What am i missing here (just learning to program)

Skymt ,

Rings of Hanoi

0x0 , in Added Bugs to Keep my job

Oh i don’t need to add bugs…

Come to think of it, i think i’ll try emojis on my next commit message… just to test…

Baizey , in Added Bugs to Keep my job

Fix

JATtho , in That Nim Flashbacks

Lettme introduce you to ackermann’s function:


<span style="color:#323232;">int ack(int m, int n) {
</span><span style="color:#323232;">    if (m == 0) {
</span><span style="color:#323232;">        return n+1;
</span><span style="color:#323232;">    } else if((m > 0) && (n == 0)){
</span><span style="color:#323232;">        return ack(m-1, 1);
</span><span style="color:#323232;">    } else if((m > 0) && (n > 0)) {
</span><span style="color:#323232;">        return ack(m-1, ack(m, n-1));
</span><span style="color:#323232;">    }
</span><span style="color:#323232;">}
</span>

You won’t run out of stackoverflows any time soon.

ArmokGoB , in That Nim Flashbacks

Towers of Hanoi? I don’t think so.

csolisr , in Any Volunteers

@JPDev Then again, that's how a few free software games actually work

Land_Strider ,

Such as?

SpaceNoodle ,

Science-based dragon MMO

Hubi ,
@Hubi@lemmy.world avatar

It’s been years since the last time that I’ve seen this referenced lol

Skullgrid ,
@Skullgrid@lemmy.world avatar

Is this the current version of that game? is the 100% science lady involved in this?

pcgamer.com/i-think-i-love-draconia-the-only-mmo-…

SpaceNoodle ,

I don’t know, but that writing is phenomenal.

MonkeMischief ,

is the 100% science lady involved in this?

Not gonna lie I also have the burning curiosity to find this out, but it’s after midnight and could initiate a hyperfocus rabbithole time warp…

… But I think that’d be pretty wholesome as heck if that turned out to be true!

CaptDust ,

I can’t think of any FOSS games that would invite an idea guy to drive the project. They’re made of volunteers, sure, but FOSS game teams still expect tangible contributions. Otherwise it’s just another feature request and will get picked up if the team thinks it’s worth it.

Ephera ,

More specifically with FOSS projects, whoever puts in the work makes the actual decisions.

Like, if there’s a change that one person wants and the others actively disagree with (and it can’t be made configurable either), then that won’t happen.
But usually, there’s hundreds of features that make sense in principle. And if someone scratches their own itch, i.e. implements the feature that they’re missing, then that obviously won’t be rejected, even if it’s not the most requested feature.

So, yeah, such an idea guy would need really good ideas and present them so well, that others selfishly want to implement those ideas (and moreso than all their other ideas).

SlopppyEngineer ,

Except in this case it won’t be open and all profits go to the idea guy

Starkstruck , in Any Volunteers

Oh god have had people try this exact thing with me before.

CancerMancer ,

I got asked by a team of first timers who have never done any professional coding or design if I wanted to chip in on a competitive MMOFPS they want to make.

That’s not going to happen. Between the rise of cheating, the insane hardware and optimization requirements of an MMOFPS, the general lack of interest in the genre (most have died due to low player counts), and the sheer amount of time and effort involved in designing and balancing the game even after it’s largely feature complete? Forget it, I’m better off buying lottery tickets than hoping for anything to come of that.

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