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.

lemmy.world

Catoblepas , to pics in A lil friend I found while hiking [OC]

Any herpers in the house? Looks like a rat snake to me, but I don’t know a ton about snakes.

hydro033 ,

It is indeed.

Imotali OP ,
@Imotali@lemmy.world avatar

It is indeed a rat snake (I think)

xedrak , to programmerhumor in Not a meme, just a funny way phabricator is showing the diff
@xedrak@kbin.social avatar

8,000+ lines in a single file??? I’m going to be sick

GroteStreet ,

Oh that’s not uncommon in the industry. Especially when dealing with legacy code.

Personal best was 40k lines in a file called misc.c containing all the global functions that don’t fit anywhere else.

Runner up was the one where each developer dumped their miscellaneous functions in their own files, so they don’t have to deal with merge conflicts. Which means we had x1.c, x2.c, x3.c … etc.

xedrak ,
@xedrak@kbin.social avatar

Oh trust me, I know. Personal best is 20k lines in a Java file that served as the main control flow of the entire software. Just because it’s common doesn’t make me any less disgusted 😂

Thankfully now I’m the asshole senior who gets to prevent this kind of stuff from happening in the first place. But like you said, that doesn’t help with legacy applications lol.

YMS ,
@YMS@kbin.social avatar

Best I can offer is a combined UI and logic class with 12,500 lines currently. It started out with less than 3,000 lines in the year 2000 (using the brand new Java 1.3), grew to 14,000 over time and survived our recent project-wide one-year cleanup project with only minor losses of code lines.

GroteStreet ,

I was kinda hoping you were gonna finish that first sentence with “in a java applet”. Cause that would’ve been awesome.

vext01 ,
@vext01@lemmy.sdf.org avatar

That’s not even that much. I’ve seen longer!

demonsword ,
@demonsword@lemmy.world avatar

…that’s what she said

aidan OP ,

You should see Firefox source code, there are many files like that. Honestly it’s better than having 100,000 files which is what would happen with the size of Firefox.

YMS ,
@YMS@kbin.social avatar

As someone who professionally works in a project with many, many thousands of files (I don't know the exact number right now, but we're coming close to 10 million lines of code) and many of them having thousands of lines (see my other comment): No, longer files is not better than more files.

aidan OP ,

It depends, obviously if stuff is unrelated than they should be in separate files, but having in one folder 1000 files containing each function I think that would be very exhausting to search through to understand the code.

dandroid ,

I work for one of the mega corporations as a decently high level software engineer. My team’s job is to maintain legacy code. This is my life. 😞

GroteStreet ,

Ah, a fellow janitorial staff. Some of these shit have been there so long they’ve seeped through the walls. There’s no way to get rid of them, short of demolishing the whole building.

HereToLurk , to aww in Low resolution dog
@HereToLurk@lemmy.world avatar
Hikermick , to mildlyinfuriating in Someone just dumped a banana in the cereal aisle at my job today.

The monster

ImpossibleRubiksCube , to mildlyinfuriating in Someone just dumped a banana in the cereal aisle at my job today.

Way back when I was a stocker, somebody left a full pack of steaks in the cereal aisle. We didn’t even find them until the next morning…

Squirrel ,
@Squirrel@thelemmy.club avatar

In a Walmart, I once found a pack of steaks left on a clothing aisle.

Sir_Simon_Spamalot , to linuxmemes in Folder

I call them folders (especially with normies) with no regret. Fight me!

thepianistfroggollum ,

I use them interchangeably and I’ve never had a layperson get that glassy eyed stare they get when I talk about IT stuff they don’t understand.

Flamingflowerz , to pics in A lil friend I found while hiking [OC]

So cute! Is it a rat snake?

doofy77 , to retrogaming in California Games: A port comparison

Master System version for me. That seagull in the footbag event. Also that neck break after axing yourself on the front flip in the BMX event.

Xariphon , to pics in A lil friend I found while hiking [OC]

Noodly friend.

EpsilonVonVehron , (edited ) to aww in Dewey, letting his dad pet him at the vet
@EpsilonVonVehron@kbin.social avatar

On my last trip to the Aussie desert I saw a large flock of Dewies (Budgerigar) hanging out at a billabong (natural spring). They’re mostly green and yellow in nature.

0x2d , to pics in A lil friend I found while hiking [OC]

Nice!! What camera?

Deceptichum ,
@Deceptichum@kbin.social avatar

That's a snake, mate.

Imotali OP ,
@Imotali@lemmy.world avatar

Nikon D7500 w/ 70-300mm lens.

DaveNa , to memes in Reddit moment!

This is the meme that made me create an account here. Barely using reddit now, but I noticed these last days they were pushing lukewarm content to the top. And a lot of content on phone web browsers was/is locked, could only read the first 2 or 3 answers.

ElegantBiscuit ,

And the quality of discussion gets lower every time I go on. Has been for years, incrementally, but the rate really increased after June 30. I used to be able to get pretty far down through 4 or 5 worldnews threads before I ran into something so stupid I closed the entire window, but now it happens on just about every thread I open.

circuitfarmer , to linux_gaming in Is there a way to improve cpu performance with wine/proton?
@circuitfarmer@lemmy.sdf.org avatar

Yeah this is weird. CPU instructions aren’t being translated by Wine/Proton, as I understand it. It’s not emulation.

I suspect there’s something in the reporting which is actually giving you false figures.

mspencer712 , to programmerhumor in Not a meme, just a funny way phabricator is showing the diff

Yep, Longest Common Subsequence is usually greedy and that’s the earliest set of lines that satisfies the search. Happens when you just treat a file as lines and only match those.

You can get better results with more syntax or content awareness. Chunk into paragraphs or code blocks or functions, then sentences or statement lists, then lines, then words, etc. I think Beyond Compare can do this.

nnachtigal , to mildlyinfuriating in I lost my lab notebook for almost a month

Could be something for !labrats

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • lifeLocal
  • goranko
  • All magazines