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.

CowsLookLikeMaps , in c/unixsocks for more

NGL I’ve noticed a lot of trans homies in CS where I live and I’m here for it.

stevedidwhat_infosec ,

You’ll see more and more to a certain extent too, as it becomes more normal and, namely safe, to be trans.

Don’t let anyone convince you anyones “becoming” trans. Always have been, always will be

Omniraptor , (edited )

this mentality made me doubt and question and delay for too long so i try to push back on it when i see it. You don’t actually need to have always “known” or “shown signs”. If you feel like experimenting you can just try it.

watersnipje ,

Absolutely. Nobody owns gender. Just do what you want, do what makes you happy.

CowsLookLikeMaps ,

That makes sense!

EmoDuck , in Any Volunteers

There are probably a ton of incredible banger games out there that don’t exist because the person who thought of it just doesn’t know how to code

moog ,

“games out there that don’t exist” how high r u rn

Grandwolf319 ,

Yeah man, didn’t you know. We have thousands of cheap and effective treatments for cancer that don’t exist.

Kolanaki ,
@Kolanaki@yiffit.net avatar

I can code but I can’t do art. I can make a game, but it will look ugly as fuck.

xmunk ,

Build a MUD.

Kolanaki ,
@Kolanaki@yiffit.net avatar

I do want to make a sci-fi Dwarf Fortress clone with just ASCII representation.

xmunk ,

Do it dude - if you’re passionate about building a rich simulation game then there’s a good chance you’ll create something awesome. We’ve seen huge successes with Dwarf Fortress and Rimworld - those sort of complex simulations can be both fun and dazzlingly interesting in terms of their emergent game play.

It’s relatively simple to get started, just simulate one thing or render one simple 10x10 grid, and work your way up. Remember that video games take a lot of effort and set reasonable goals and milestones to recognize your progress… DF originally played on an, essentially, fixed map with no z-plane - wildlife was non-existent and sieges were just pre-planned events.

If you have an idea in your soul go for it!

space ,

Same boat… But I had some success with low poly 3D models which I found are pretty easy to make. Learning a bit about color theory, how to match colors, as well as learning a bit about level design goes a long way. You can make a great looking game this way.

But my dream game is 2D pixel art, and I really suck at it.

AeonFelis ,

But I had some success with low poly 3D models which I found are pretty easy to make.

Same. I find that for non-artists 3D is easier than 2D because:

  1. You get things like depth and shadowing for free.
  2. Animations are easier. Or, at least, it’s easier to keep them consistent and to control their pace.
  3. 3D software has much more tools that non-artists can somewhat grasp.

Of course, my 3D models still look like crap - but it’s better looking crap than my 2D sprites…

space ,

And also, you can sort of brute force things to look good it with shaders.

Potatos_are_not_friends ,

This is why AI has been a boon to creators.

I’ve generated some great pixel art that required a tiny bit of Photoshop to get it in a good state.

Landless2029 ,

Especially if you just need placeholder art you can use AI to drop in general ideas and later replace the art by a partner or contractor.

If you get a demo off the ground with “alpha” graphics and look decent you can market it better and maybe build a team.

I think a big benefit for this is also motivation. You no longer have a blocker due to missing art or issues with an artist.

Uhh… need a character design for the mayor. <<AI art placeholder>> ok now text… <<AI first draft dialog >> ok now code…

No more excuses!

I_Has_A_Hat ,

You mean like an MMO where different maps are arranged in an infinite hexagonal pattern that’s randomly/procedurally generated based on different biomes, that also keeps track of how many players have entered/completed each hex and begins scaling down the difficulty in said hex and evolving it into a more peaceful zone, that way the higher traffic areas eventually form safe zones/towns for low level characters while low traffic areas encourage high level characters to visit and explore, with the highest level characters able to survive unexplored areas and expand the map for all players, all while having developer tools to specifically add unique dungeons/events/items directly to tiles so that the game doesnt feel a mile wide and an inch deep but instead as if the whole world map is alive and constantly changing?

Yea… That’d be cool.

EmoDuck ,

Definitely some cool ideas there but how do you deal with the long term effect of the map becoming too big?

The bigger the map the more the defs would need to stretch their resources to adding cool stuff.

Also, at some point, the inner hexes will be essential all complete cleared and new players will have to wander for a while as soon as they level up a bit.

Unlocking a new hex would be fun at the beginning but how fun will it be after 100+ have been unlocked and any more just will inevitably just feel same-y because even the best defs will eventually run out of ideas

thews ,

You have found the Wayne’s World dungeon.

Welcome to Wayne’s World: The Game You find yourself in Aurora, Illinois, the hometown of Wayne and Garth. You’re on a mission to help them prepare for their biggest public access TV show yet. Scene 1: The Basement You’re in Wayne’s basement, surrounded by music gear, posters, and a comfy couch. Wayne and Garth are brainstorming ideas for their show, but they’re stuck. They need your help to come up with a killer opening segment. Do you: A) Suggest a musical number with Wayne and Garth performing a duet of “Bohemian Rhapsody” B) Recommend a comedy sketch parodying a popular movie or TV show C) Propose a special guest appearance by a local celebrity D) Suggest a “Top 10 List” segment, à la David Letterman Choose your response:

You have found the Encino Man Dungeon.

Encino Man: The Adventure Begins You are Brendan Fraser’s character, Link, a caveman who has been thawed out and is trying to navigate modern life in Encino, California. Your goal is to make it through each scene without getting into too much trouble. Scene 1: The Thaw You wake up in a block of ice in a backyard. You’re confused, hungry, and thirsty. You see a garden hose nearby. Do you: A) Drink from the hose B) Try to break out of the ice C) Look around for food D) Take a nap Choose your response:

LLM to generate ideas, history to check uniqueness

vzq ,

(X) DOUBT

RealFknNito ,
@RealFknNito@lemmy.world avatar

I had a cool idea that I completely gave up on because I tried to learn how to do it and realized what I was asking was so insanely complicated and time consuming that I couldn’t do it. I play a lot of games, I know what would make a good one, there’s just a gaping chasm between knowing and creating.

Ephera ,

The problem is that this complexity isn’t just a one-off thing you need to get through. There’s a ton of details which matter, which you will not have thought through as part of your idea.

Many of these details, you will encounter as you write code. As in, you’ve just worked for three weeks on a feature and then realize a glaring problem in one of the details. Then you spend another week trying to find a solution. And worst-case that solution is to rip out that month of work and start fresh.

This has been my biggest learning from dabbling in gamedev for a while: Make a stupid paper model first.

Even if you spend a week glueing sheets of paper, and you don’t really even get that close to your actual idea, the more of these details you think of upfront, the higher your chance of getting anywhere (or scrapping your idea without wasting months trying to put it into code).

Well, and the other big learning was: Holy crap, gamedev is hard.

I know how to “code”. I’m a senior developer and have worked on multiple large-scale software projects.
The scope of the game I was trying to create, was laughable in comparison. As in shitty 2D, tile-based, turn-based.

I encountered performance problems like I’ve never had to deal with in my career, because it turns out the whole games industry is fueled by smokes and mirrors.
Know how ray-traced lighting is the craziest new technology? Yeah, that’s literally just a matter of hardware being strong enough that we can simulate lighting in the way it actually works. It’s conceptually simpler than the ever more sophisticated bullshitting we did beforehand.

fosho ,

have you ever smoked weed? ideas are cheap - even ones that seem good. ACTUAL good ideas are only proven good when they are implemented AND become successful.

Potatos_are_not_friends ,

Nah.

That’s like saying a lot of banger songs could exist but the person doesn’t know how to write music.

Absolute delusional bullshit.

Verifying the idea is good is also part of the process. Play testing, making hard decisions, smoothing out jank, juicing up the experience… The whole implementation can make or break a game.

floofloof ,

It’s like saying there are so many great novels out there that we have never seen because the authors can’t write for shit.

prowling4973 ,

Not “great novels” but great “great world building”. I’ve seen some absolute bangers out there where the concepts, characters and even the overall plot blew my mind away. However, the authors couldn’t write decent dialogues or a coherent chapter of their life depended on it. So, most people wouldn’t be exposed to their ideas.

ZILtoid1991 ,

I had to learn that the hard way, but with a comic/manga idea I used to have.

Long story short: I worked way too long on an idea (almost 10 years), all while my taste etc. changed. It would have been way too hard to get it working after a while without a complete revamp of the whole idea, so I ditched it completely, maybe reuse elements and character concepts in other things, including video games (yes, they’re easier to make, unless your comic’s artstyle is stickmen figures).

Aceticon ,

The inability to detail the idea all the way down to the level were something concrete can be made from it kills it well before the lack of coding skills.

It’s like what separates having an idea for a book and writting an actual book that is enjoyable to read: there is no “knowing how to code” barrier in there and yet most people can’t actually pull it off when they try or it ends up shallow and uninteresting.

phx ,

This is actually one thing I’ve been thinking AI and deepfake tech can potentially do good. Let’s say you have an idea and can code… You have an idea for music but no instrumental talent, so the best you can do is hum it. You can’t afford voice actors or other professionals.

Or maybe you’re artist with an idea who can storyboard but not code. Maybe you can make 2d designs but not 3D models, or aren’t great at animate.

But… there is software that can take what you say and change it to a different voice. It can animate a model to match the words. Similarly, software that could generate instrumental sounds from humming is possible. An AI can generate interactive dialog. It could also provide assistance in the generation of music, debugging of code, and eventually more advanced 3D modeling.

A lot of game design software is much more a GUI to an environment/model and triggers etc than stuff like writing hardcore backend C++ code etc. AI could take that even further.

Then add VR. Drop somebody into a blank-slate where they can create a whole world with a word, a gesture, and a great idea.

One day, that might be a reality.

Potatos_are_not_friends ,

The creator still needs to know “what” to ask and how the pieces fit.

As a coder, I’m constantly taking whatever AI gives me and rewriting it. AI is just a better lorem Ipsum generator.

mox , (edited ) in GOD DAMMIT STEVEN! NOT AGAIN!

I can’t see past the word wrap implementation in that UI. Mo dules indeed.

mac ,
@mac@infosec.pub avatar

Looks like the GitHub android app .

onlinepersona , in CSS

flexbox made things so much easier, but still hard. There are just too many rules to keep in your head about display and position and how they affect other attributes. And the box model… wow. margin, border, padding, content, but he attribute is box-sizing and it has border-box and content-box, but not the others.

IINM it was written by people who came from print media (just like HTML) and that stuck.

CC BY-NC-SA 4.0

fidodo ,

Man I remember the days before flexbox and with browser specific bugs. CSS still screws with me but nothing like in the 2000s.

Naich , in I can't believe people are still using GUMBIES when there are so many better alternatives.
@Naich@kbin.social avatar

Every time I want to do something, I have a look around the baffling ecosystem of frameworks and end up writing it from scratch because it's easier than wading through the bullshit.

dgriffith , (edited )

You should release what you’ve written as a framework, that’s what everyone else is doing.

<Insert XKCD standards comic here>

I_am_10_squirrels ,

We’ve got a good name for it

Naich ,
@Naich@kbin.social avatar

I feel that the nature of my framework is too simple and too focused on a specific goal to be worthy of the name.

AeonFelis , in Infinite Loop

After so many years in this company, lots of the unmaintainable code I have to deal with is either my own fault, or the fault of someone I used to work with but and now they left and I’m the one who has to apologize for their code.

If I move to a different company, 100% of the unmaintainable code I’ll have to deal with there will be someone else’s fault.

owen ,

In the industry we call this responsibility load balancing

SpaceCowboy ,
@SpaceCowboy@lemmy.ca avatar

And managers don’t like it when you explain that the code is a unmanageable mess because they put a deadline on every goddamn thing and never pay off technical debt.

At a new place you can honestly say “the code is kinda a mess, it needs a bunch of work” and the manager can just assume it was because the last guy didn’t know what he was doing and not because of their own shitty management.

soggy_kitty ,

To be honest, sometimes shit code is 100% the Devs fault. I’ve witnessed it happen with other teams in my own company.

Let’s just say it was unavoidable to report it

SpaceCowboy ,
@SpaceCowboy@lemmy.ca avatar

Management could implement a code review process to avoid this.

Software development isn’t a brand new field anymore. Most problems are well known and therefore have well known solutions. So it pretty much always comes down to management not wanting to implement the known solutions to the problems because its easier to blame the devs.

soggy_kitty ,

They did, that’s why I said “team” in my response, however I will elaborate for you.

two Devs must review and one dev lead has admin rights to push to protected branches. Problem is when the whole team is not meeting expectations and they all jerk off eachothers bad code.

My team reviews internally just like they did, the issue isn’t the review process. At a professional level you should trust your peers therefore the issue was the hiring and/or training process

the_of_and_a_to , in ifn't

deleted_by_author

  • Loading...
  • JPDev OP ,
    @JPDev@programming.dev avatar

    unlessn’t

    Goun ,

    I’m sorry, I hate the “unless” so much

    NotSteve_ ,

    At one of my first jobs, I was tasked to rewrite a bunch of legacy Perl scripts in Python and the unless lines always made me trip up. I don’t know why but it really messed with my mental flow when reading Perl code

    chaogomu ,

    Basic used "else".

    It's nice. "if", "then", and "else". I spent a year programming a shitty roulette game on an Apple 2e back in high school. I still remember the joy of using if/then/else paired with goto to make a horrible mess of spaghetti logic.

    But yeah, "else" is nice.

    Deceptichum ,
    @Deceptichum@kbin.social avatar

    Let's just scrap every language except various forms of BASIC.

    pearsaltchocolatebar ,

    Please God, no. I had to unravel terminal scripting code that was written in some propriety BASIC language with basically no documentation.

    Took me a chunk of time trying to figure out how it worked before I made the realization that it was BASIC

    jaybone ,

    Try PL/SQL.

    SubArcticTundra , (edited )
    @SubArcticTundra@lemmy.ml avatar

    Using a standalone ‘else’ would tickle my brain in the same nice way that being able to declare a variable inside an ‘if’ statement as if it were a ‘for’ loop (which you can do in modern C++) does.

    Amaltheamannen ,

    Or a rust “if let”

    SubArcticTundra ,
    @SubArcticTundra@lemmy.ml avatar

    Ooh yes. Rust is king when it comes to this sort of inline stuff. Inline match. Mmmmmm!

    jaybone ,

    Block scoped variables are bad?

    SubArcticTundra ,
    @SubArcticTundra@lemmy.ml avatar

    🤷‍♂️

    Lmaydev ,

    Many languages let you scope variables.

    In c# you can create an arbitrary scope to declare variables in. Most likely in others as well.

    SubArcticTundra ,
    @SubArcticTundra@lemmy.ml avatar

    Ah clever, didn’t think of doing this. Not having to encapsulate if statements in scopes would still look cleaner though

    Lmaydev ,

    It’s handy if you’re creating temp variables for single use that you don’t need to use again.

    Although I admit I’ve only ever done it a couple times lol

    Again in c# you can omit the scope and only the next statement is part of an if or loop.

    marcos ,

    The Perl version of it is even greater!

    EnderMB ,

    I haven’t written any Ruby for years, but I still praise it in every conversation I have regarding programming languages. It’s basically a much simpler Python, with some design ideas that are both beautiful and deeply strange.

    OskarAxolotl ,

    Ruby was designed to evoke joy and they absolutely succeeded. Usually, programming is mostly a means to an end to me. But using Ruby just feels so amazing, it’s almost impossible to even describe to somebody who has never used it before.

    mrbn , in Race Condition
    @mrbn@lemmy.ca avatar

    Good one, let me try!

    Knock knock

    Who’s there?

    Race Condition

    funkajunk ,
    @funkajunk@lemm.ee avatar

    Works on my machine!

    stanka ,

    We are not shipping your machine, @funkajunk!

    droans ,

    Well, that’s basically just containers.

    Xanvial ,

    Seems the bug is fixed, let’s ship it

    nogrub ,

    deploy on friday

    Alteon , in I'm just at home heating up my no-code offering in the microwave...

    I wonder if they’ll ever do Bootcamps for any other engineering positions. I mean a Bootcamp Electrical Engineer would be absolutely comical, but I could honestly see there being something like Bootcamp for specific focuses. For degrees like electrical, where the items you learn about in school are often outdated, offering some sort of “What’s New” per field (microelectronics, processor designs, fiber optics, quantum computing, etc) might actually be pretty useful.

    Appoxo ,
    @Appoxo@lemmy.dbzer0.com avatar

    I could see a networking bootcamp for electricians.

    vrek ,

    I think a boot camp would be really useful for cobblers

    nobleshift ,
    @nobleshift@lemmy.world avatar

    deleted_by_author

  • Loading...
  • vrek ,

    Next week we will off high heels camp!

    PatFussy ,

    Bazinga

    cyborganism , in emacs

    Emacs sucks. Vim is so much better. And vscode is okay.

    Go ahead. Down vote me. I don’t care. This isn’t Reddit lol.

    Vorticity ,

    I use vscode with vim key bindings. It’s amazing!

    jack ,

    Vim is a pain to configure

    martinb ,

    Try Lunarvim, it’s neovim with a bunch of great Plugins and configuration settings out of the box.

    Cube6392 ,

    I’m going to give what I’ve realized newer folks to Vim think is a scorching hot take: VimL is nice. Theyre the same editor commands you use in your day to day life, even if you’re using NeoVim + Lua, just all written out in a file.

    That said, using NeoVim + Lua makes it far easier to organize your config, which also makes it easier to write more complex configs. It’s like the difference between building a shed around back for your home office vs building a cathedral. Its fine to work in a shed, but once you know you can build a cathedral, you’re kinda tempted to just up and do it

    cyborganism ,

    At first maybe. But when you get your vim config well honed over time you’re good. Plus there’s things like pathogen or other frameworks to add plugins and stuff.

    expr ,

    Vim has vim9 script now which is very similar to common scripting languages like Typescript.

    Vim also doesn’t need tons of configuration.

    netchami ,

    Fennel > Lua > VimScript

    KSPAtlas ,
    @KSPAtlas@sopuli.xyz avatar

    I use both emacs and vim, each have their own use cases

    crandel ,
    @crandel@programming.dev avatar

    Vim sucks, Emacs is the best editor in the world

    cyborganism ,

    Nuh uh!!! Vim is better! So much better!!! Emacs sucks balls!

    histic ,

    stock emacs sucks, doom emacs ftw

    curiousaur ,

    You haven’t switched to cursor yet?

    AVincentInSpace ,

    This isn’t Reddit lol.

    Genuinely curious what you think the difference is

    TootSweet , in Spooktober meme time!

    Write once, run anywhere away.

    wooki , in Microsoft Edge could use a win

    Don’t worry Gill it will set itself back as default next Tuesday

    Polar ,

    I’ve never had that happen. Either the US version of Windows is fucked, or people are bullshitting hard.

    bonn2 ,

    I had it happen once after a windows update. What it has done is put a shortcut on my desktop enough times that I wrote a script to check for and delete them whenever it does.

    chiliedogg ,

    What is does do way too often is make itself my default PDF viewer. I’ve got Adobe Acrobat Pro and Bluebeam. I have zero reason to ever want to see a PDF in Edge.

    Default_Defect ,
    @Default_Defect@midwest.social avatar

    I’m in the US and have never ran into half of the stuff people say MS forces on them on a daily basis.

    HawlSera ,

    Same

    whofearsthenight ,

    I think this has a lot to do with what license you bought. My old Win8 Pro key install has never had ads and shit pop back up or re-enable candy crush or whatever. One of our shitty laptops at work with a win10 home license I absolutely dread updating because there is some new bullshit nearly every time.

    Default_Defect ,
    @Default_Defect@midwest.social avatar

    I’m on 11 home. :/

    JokeDeity ,

    I’m still on 10, but half the shit I see people complain about with Windows I’ve never experienced personally. Maybe I’m just lucky? Maybe I just read? I don’t know, but I’m not having the same experience as a lot of people on here.

    Phen ,

    In general any bad thing about windows that it manages to fixes still gets commented about online for several years after the fact. For example: BSODs stopped being a regular thing in windows user’s life very long ago, but it took another 10 years after that for people to stop making BSOD jokes online.

    JokeDeity ,

    Ironically enough, I actually did have my first blue screen in likely 5+ years yesterday. I was so shocked by it I wasn’t even mad, just impressed it’s been so long.

    WashedOver ,
    @WashedOver@lemmy.ca avatar

    There was a while there where it would default to Edge for PDFs and as a web browser after a update. Quite annoying for a factory full of PCs that I wanted to use Chrome and Adobe Reader instead.

    I tried Edge for a bit but stuck with chrome. Recently I’ve gone back to Firefox but I’ve not had one of those major updates yet that even tries to get me to log into Microsoft as a log in so it will be interesting when that happens again if Edge shows up as the default.

    FlyingSquid ,
    @FlyingSquid@lemmy.world avatar

    I have to use Acrobat for my job. If it opened it up in Edge every time instead, I’d go nuts.

    Phen ,

    From time to time when you update windows it’ll show you a welcoming setup again similar to the first time you logged in. In that process it will try to convince you to setup some Microsoft stuff on your pc, including changing default apps, but it shouldn’t do it on its own.

    But sometimes it does. It happened once for me this year.

    massive_bereavement , in Markdown everywhere
    @massive_bereavement@kbin.social avatar

    Discovering obsidian has been a blessing for my sanity and made me less lazy for taking notes.

    Plus I can use latex to transform md into docx and there's decent pdf support so I don't need to play with the circus of WYSIWYG pain that's MS Word.

    TrustingZebra ,

    I keep meaning to check out Obsidian, but I’m like you said, lazy.

    arandomthought ,

    Hi. This is your push to do it.
    Download it and start a video tutorial of your choosing.
    It’s great! Do it!

    TrustingZebra ,

    Lol thanks, I appreciate the push. I have more important things to be pushed towards though, such as work and personal tasks.

    massive_bereavement ,
    @massive_bereavement@kbin.social avatar

    Be lazier! I believe in you.

    FlexibleToast ,

    I have obsidian installed, but I haven’t really looked into how to use it. It has been on my list of things I should probably learn for a long time now

    Nioxic ,

    I am probably just an idiot but i find writing proper notes with links etc very tedious, in obsidian.

    So i end uo just typing everything into a few documents based on the doc title. Which means i might as well just use notepad

    FlexibleToast ,

    I was using MarkText and a fairly structured set of directories. I switched to Bookstack which allows me to do essentially the same thing but with a web interface and the ability to share with even using RBAC. It doesn’t do the cool linking stuff though.

    beppi ,

    Sounds like you need to check out Org-roam (if you use emacs) or some other zettelkasten style note taking software

    SkinnyTimmy ,

    Randomly seeing German compound-words in the wild being used as a technical term is always funny to me for some reason

    IlIllIIIllIlIlIIlI ,

    Change Obsidian to Zettlr.

    massive_bereavement ,
    @massive_bereavement@kbin.social avatar

    I think the use cases are different, as Zettlr seems like a pure publication tool but Obsidian (at least originally) was more of a personal note organizer that grew due to having community plugins.

    I do agree though that Zettlr is a better publication tool, though I wouldn't change Obsidian for it as a personal organizer/kb.

    drislands ,

    Obsidian is what I used to keep my notes while playing Book of Hours. It was a fantastic tool and I’ll definitely use it in the future!

    massive_bereavement ,
    @massive_bereavement@kbin.social avatar

    How's the Book of Hours? I played a good deal of Cultist Simulator, but it tends to suck me in and I recover few hours later without an understanding what just happened.

    drislands ,

    I finished my playthrough a couple days ago, after 80 hours. It’s much more forgiving than CS – there’s no lose condition, as far as I can tell. There’s also a shitload more to keep track of, hence me using Obsidian. I personally found the experience of tracking [what books give what resource] and [what resources make what crafting recipes] to be extremely satisfying, but your mileage may vary.

    cyberic ,
    @cyberic@discuss.tchncs.de avatar

    Pandoc is also great!

    massive_bereavement ,
    @massive_bereavement@kbin.social avatar

    Definitely, I said latex but I wanted to mean Pandoc.
    The only thing is that applying a docx theme format to Pandoc was very challenging, although I would blame docx, not pandoc.

    southernwolf , in web development
    @southernwolf@pawb.social avatar
    Just_Dominic ,
    @Just_Dominic@programming.dev avatar

    Do I have to laugh or cry? - I don’t know, so I will do just both.

    SpaceNoodle , in I meant to type "npm run dev"... What will happen now?

    “ruin dev” is redundant; that’s the default behavior.

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