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.

Kolanaki , in Whoa there buddy, calm down
@Kolanaki@yiffit.net avatar

If you wanted to bring down a server, the best hack is unplugging the rack from within the data center.

xep , in Aaargh....my eyes......my eyes......

This has likely been done intentionally for humour's sake, but take a look at some of the names in Apple's AppKit framework, like https://developer.apple.com/documentation/appkit/nspreviewrepresentingactivityitem

qaz ,

That page is giving me a 403

BombOmOm , (edited )
@BombOmOm@lemmy.world avatar

I’m still annoyed with how verbose Objective-C is. Just check out what one has to do to create and concatenate a string. Madness:


<span style="color:#323232;">    NSString * test = [[NSString alloc] initWithString:@"This is a test string."];
</span><span style="color:#323232;">    NSString * test2 = [test stringByAppendingString:@" This value is appended."];
</span>

And god forbid you want to concatenate two things to a string:


<span style="color:#323232;">    NSString * test3 = [test1 stringByAppendingString:[test2 stringByAppendingString:@" Adding a third value."]];
</span>
Anticorp , in Variable Declaration

It’s a no win situation, because it’ll throw a fit if you try to use it before you declare it too.

gofsckyourself , in Uh...oh...

Theory is when you know everything but nothing works

I know it’s “just a joke” but this makes no sense.

CanadaPlus ,

We know very exactly how the baby monster group in mathematics operates. It has no practical use as far as I’m aware (it doesn’t work).

ChickenLadyLovesLife , in traslation: i made that bug 15 years ago and have been waiting for it to matter.

Not a bug exactly, but about ten years ago I was working as an iOS developer and to get around a major problem introduced by the app designer, I made use of a “private method”, which is something an app supposedly gets rejected for by Apple. I came up with a way of hiding it and had to sweat out the approval period before it went live. Ten years later that shit is still there; I’m sure the developers currently responsible for the app don’t even know it’s there. I normally comment my code with an eye to helping future programmers understand what’s going on and why, but this hack was one where I even obscured the comments.

AVincentInSpace ,

What does “private method” mean in this context? Did you make use of an undocumented endpoint of the iOS API?

ChickenLadyLovesLife ,

Yeah, same thing.

firelizzard ,
@firelizzard@programming.dev avatar

Objective-C does not enforce method access (e.g. private methods) at the runtime level. If you are sufficiently determined, there are no restrictions on what methods you can call, unlike Java or C# (AFAIK).

AVincentInSpace ,

Java absolutely lets you do that with Reflections. You’re not supposed to, and it’s painfully slow, but the JVM is only marginally smarter than javac (and that’s saying something) so there’s nothing actually stopping you.

humbletightband ,

If you are determined enough, it’s not that slow 😉

firelizzard ,
@firelizzard@programming.dev avatar

I thought there was security code to stop that kind of thing. Granted, it’s been over 10 years since I’ve done anything with Java more than tinkering with Minecraft mods.

homura1650 ,

Java did have a Security Manager that can be used to prevent this sort of thing. The original thinking was that the Java runtime would essentially be an OS, and you could have different applets running within the runtime. This required a permission system where you could confine the permissions of parts of a Java program without confining the entire thing; which led to the Java security manager.

Having said that, the Java Security Manager, while an interesting idea, has never been good. The only place it has ever seen significant use was in webapps, where it earned Java the reputation for being insecure. Nowadays, Java webapps are ancient history due to the success of Javascript.

The security manager was depreciated in Java 17, and I believe removed entirely in Java 21.

IsoKiero , in Tattoo Idea

127.0.0.1 / 255.0.0.0

camr_on ,
@camr_on@lemmy.world avatar

Why the fuck did I click this

lud ,

Yes, 127.0.0.1 is famous for the distribution of malware. Don’t ever go to 127.0.0.1

lseif ,

you have tls on your local network?

lud ,

Local? 127.0.0.1 is a malware distribution IP. Of course they use TLS.

lseif ,

malware? yet its a secure connection. suspicious…

N0tTheBees ,
@N0tTheBees@sh.itjust.works avatar

Can confirm I personally know the guy that hosts 127.0.0.1, total asshole.

AngryCommieKender , in Beginner developer moment

How’d you get ahold of my KSP save file?

invertedspear , in Tinder to ban web developers who use 'engineer' in their bio

I mean, engineering is really problem solving, and not do we web developers solve problems. We may have made most of them ourselves, and new ones when we solve those, but we do solve problems.

Kissaki ,

The term engineering is not about problem-solving, especially when differentiated from development. Engineering is about deliberate understanding and decision-making, about giving it an architecture, a structure.

You can develop without any structure, solving an issue, without understanding a bigger context or picture or behavior. But that’s not engineering.

intensely_human ,

Engineering is the use of scientific knowledge to achieve specific goals.

EdibleFriend , in CheapGuilty™ A hypothetical Amazon feature that disables "high-to-low" filter if you are cheap 😅
@EdibleFriend@lemmy.world avatar

I want one that has the dog from duck hunt pop up and laugh when you buy a cheap piece of shit from China.

haui_lemmy ,

What pops up in the other situation? When you buy an overpriced cheap piece of shit from china?

EdibleFriend ,
@EdibleFriend@lemmy.world avatar

Bezos flipping you off as he rides from the bottom to the top of your screen in a rocket.

haui_lemmy ,

New amazon ui confirmed

superduperenigma , in White House weighing in on the big issues

This is what kicks off the second Civil War in the United States. And just the like first time, those treasonous Emacs Confederates will be decisively defeated.

Illecors ,

Begone, spawn of evil!

https://stallman.org/saintignucius.jpg

Allow the light of Church of Emacs into your heart!

nieceandtows , in When data training goes wrong

Yeah posting it publicly for millions of people to see and judge screams ‘embarrassed’

noli ,

Oh no, strangers on the internet know I had sex and there were dog-like noises! That’s the exact same as people who know me IRL such as family or coworkers! I shall now sink through the ground in shame!

treechicken , in wait what
@treechicken@lemmy.world avatar

Man how are we gonna write all of our Whitespace programs now?

kekwa , in Stop using floats

Float is bloat!

TootSweet , in Old xkcd, I can't see it ever not being relevant

Anyone else here have to endure IBM AS/400 at their workplace?

pacmondo ,

Not anymore, but I have worked at places that use them for inventory. Good ol green terminals.

MajorHavoc ,

Thankfully I only caught remnants, and that was plenty.

bdonvr ,

It’s the backbone of the entire company I work at. And I work at one of the largest companies in its field. If it went down for an extended period of time the company would grind to a halt. I guess it’s called “IBM i” now but everyone calls it AS/400

The login page still says copyright 1980

https://thelemmy.club/pictrs/image/948b4045-4b88-4af4-a459-4fd26ac03ca2.jpeg

smeg , in Normal day in the life of a developer

Unfortunately the code is Java and the ten lines are all just boilerplate

Dehydrated OP ,

😂

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