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.

xav , in Shiiieeettt....

Plot twist: 95% of the engineering team was fired once the code was “done”. Including the poor schmuck who authored this.

spongebue ,

If that’s the approach they took, and especially if it made it into a source code repository, I’d probably have fired them a long time ago!

fluxion ,

// TODO: for wild capitalist fantasies only, rework before building entire economic systems around this

if IsCEO() {

openGoldenParachute()

}

andioop OP , in Is there anything we cannot learn from the wisdom of ancient Japan?

Shamelessly stolen from a Reddit post that made me laugh when I randomly remembered it today. Figured it was worth reposting to Lemmy if I laughed upon remembering it and not just upon first sight.

XpeeN ,

Good human

PapstJL4U , in Can someone explain why authors do this?
@PapstJL4U@lemmy.world avatar

A,B,C,D - A talks to B, C listens to A,…

Alice, Bob, Charlie,…

For this reason the first persona in my software is always Alice Litte, [email protected]. Easier than “asfgg afshd”

ChubakPDP11 , in Fuck this. I am creating a new language. Some guy in 2006.

I really recommend creating a compiler or an interpreter from scratch, don’t even use an IR like LLVM or MIR. Just hack and slash your way though a C compiler, it’s the simplest language most people know. Don’t care about ‘optimization’ at first, fuck optimization. Just grab Yacc/Lex or a PEG parser generator that works with the language you like most and have ot generate assembly code for simple expressions. Like, make a bc(1) native compiler! Interprets are fun too. You can use VMGEN to generate a superfast VM in C, and then bind it to another language using SWIG.
Also never imagine usability. Noobdy is going to use your C compiler for any serious work. It’s just for education. Post it online to receive feedback.

You cna start by writing DSLs. For example, I am implementing the ASDL language from this old paper.

Also if you are going to do it as an example in your resume, just stop. Nobody cares, because it’s a trivial task to write a compiler, even if you write backend, forntned, and the LP yourself! Do something money-loving people loike, like making some bullshit mobile app that tracks your gym sweat volume.

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

The JetBrains AI plugin wants to be activated so badly, but legal says we can only use GitHub copilot. The copilot plugin is really good so I don’t mind, but we all know the data is going to OpenAI regardless of the plugin. Data sovereignty will only be achieved by running these services locally.

Endorkend , in The Perfect Solution
@Endorkend@kbin.social avatar

Have to say, this is not the most convoluted way of testing a simple thing I've seen in my years, not by a long shot.

blotz ,
@blotz@lemmy.world avatar

Really? What’s something more complicated?

EuroNutellaMan ,
@EuroNutellaMan@lemmy.world avatar

Performing open heart surgery on yourself

9point6 ,
felbane ,

I think I just threw up in my mouth a little.

peopleproblems ,

this is amazing

and going to be a reference

lurch , in The Perfect Solution

“… yes or no…”

SzethFriendOfNimi ,

Lexicon origin of Seven of Nine identified

Dasnap , (edited ) in Guys! Should I accept the offer? 😂
@Dasnap@lemmy.world avatar

This reminds me of heart4heart levels in LittleBigPlanet.

prongs ,

I miss that game. Not much tickles the same creativity and playfulness that I’ve tried since then. I used to spend hours in the level creator doing dumb stuff.

thann , in Let me just move this project to the "unfinished" folder

The third half is always the hardest

Feidry ,

The fourth half is pretty easy though.

Opafi ,

That’s only because the fifth half usually is as difficult as two halfs at once.

LemmyIsFantastic , in GitHub Desktop or Git CLI?

Who the fuck codes and is such a terrible coder they are using shitty GitHub desktop?

Stumblinbear ,
@Stumblinbear@pawb.social avatar

You can be a perfectly good dev and not enjoy working in the cli, especially when there are good enough alternatives

jbk ,

Beginners, probably? I agree it sucks tho, bundling a whole ass browser just for some fancy semi-automated git executions

Itd4n ,

ass browser

hehe.

calcopiritus ,

GitHub desktop is the first thing I recommend whenever someone ducks up their local repo by using eclipse’s git integration.

It’s so easy even an eclipse user can solve their issue by clicking a simple “sync” button. They don’t need to even know how git works.

curiousaur ,

That’s literally the problem being talked about. You need to know how git works to avoid these kinds of problems.

Feathercrown ,

Why you haff to be mad its only preference

youtu.be/xzpndHtdl9A?si=TNH0CnrAXrrUM3ae

hightrix , (edited )

Right here, brother.

I use the right tool for the job, always. If all I need is to push a branch, then I’d rather use a UI that quickly shows me the changes in a nice diff layout. If I’m doing a pull request review and want to run it locally, I select the branch, pull, and go.

That said, when there are conflicts or tricky merges, or I want to squash a bunch of commits, anything like that, I’ll use the CLI.

It’s not about being above GitHub desktop or being an enlightened CLI user. It is about using the tool that is needed.

I’ve only been writing and releasing software for 15 years, what do I know.

That said, use whatever workflow fits you best! If that’s your hands never leaving the keyboard, rock on! If you instead write code like you’re playing an FPS, enjoy! We all do this because we like it, right? 😊

killeronthecorner , in 10 months later bill revisits his spaghetti code. forgets absolutely everything and refuses to elaborate. this wouldn't have happened if Bill forgot to comment on his code
@killeronthecorner@lemmy.world avatar

Bill never revisits his code.

Bill is a contractor smart.

Socsa ,

Bill changes jobs every two years to outrun the crushing weight of institutional responsibility.

mp3 ,
@mp3@lemmy.ca avatar

A technical debt escapist.

Potatos_are_not_friends ,

NGL that is one of the best parts about being a contractor.

So many hackjobs. Sorry maintainers.

killeronthecorner ,
@killeronthecorner@lemmy.world avatar

We all envy you more than we hate you

MurdoMaclachlan , (edited ) in Oh yea, that's the good stuff **huffs glue**
@MurdoMaclachlan@lemmy.world avatar

Image Transcription: Code


[Transcriber’s note: the first line in the following transcription is incorrect. After the equals, there should be eight instances of the word “Option”, each succeeded by a less-than symbol, then two brackets, like (), before the first greater-tha symbol. However, if you type a less-than symbol on Lemmy, it seems to strip that symbol and whatever word comes next out of the source when you save the comment.]


<span style="color:#323232;">type Wtf = Option>>>>>>>;
</span><span style="color:#323232;">let two = Some(Some(Some(Some(Some(Some(None))))));
</span><span style="color:#323232;">let three = Some(Some(Some(Some(Some(None)))));
</span><span style="color:#323232;">let six = Some(Some(None));
</span><span style="color:#323232;">unsafe {
</span><span style="color:#323232;">    assert_eq!(
</span><span style="color:#323232;">        std::mem::transmute::(two) * std::mem::transmute::(three)
</span><span style="color:#323232;">        std::mem::transmute::(six)
</span><span style="color:#323232;">    );
</span><span style="color:#323232;">}
</span>

I am a human who transcribes posts to improve accessibility on Lemmy. Transcriptions help people who use screen readers or other assistive technology to use the site. For more information, see here.

Oha ,

Good Human

pkill ,

Good human, but why not use tesseract though? I mean it works quite well with monospace fonts

MurdoMaclachlan ,
@MurdoMaclachlan@lemmy.world avatar

Still needs to be checked over to make sure it didn’t get anything wrong. In my experience the mistakes AI make with monospace fonts tend to be very awkward to notice (like 1 and l and I and | being interchanged), so I’d have to go over with a fine tooth comb which, for me, since I type quickly, isn’t noticeably faster and is a lot more boring.

whodatdair , in A box of DevOps

Ansible go brrrr

corsicanguppy ,

… slowly.

dauerstaender ,

And yet its faster, easier and more reliable in setting up and maintaining complex cluster software.

404 , in Race Condition

“Did you get the reference? Do you need a pointer?”

dukk ,

For those who don’t understand, he mea Segmentation fault (core dumped)

404 ,

C this guy gets it!

joyjoy , in They Need To Stop Doing This

Corp IT when the team gets ready for production

https://i.imgflip.com/38eloc.jpg

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