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.

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 ,
@Kissaki@programming.dev avatar

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 ,

😂

samus12345 , in Is there anything we cannot learn from the wisdom of ancient Japan?
@samus12345@lemmy.world avatar
ChubakPDP11 , in I had to design a simple general purpose language for university, so I tried creating "ZoomerScript" with Jetbrains MPS

People are designing languages with JetBrains MPS and I am making an AWK interpreter in C with Yacc, Lex and my own implementation of ASDL. Why do I do this to myself? It seems like the technology I like is way behind. Like C is a language created for freaking mini-computers like VAX and PDP-11 and I still use it? I knew about MPS, I just felt a strong dislike towards it. Now that I am no longer a pill addict, I have to reconsider the technology I choose to implement my stuff. C lacks portability, and QoL features.

(Psyche! All you n000bz can be stuck with your Fischer-Price toys — I’ll do it MY way, the 70s WAY!!!1)

MinekPo1 ,
@MinekPo1@lemmygrad.ml avatar

don’t worry , it can always get worse . source : I implemented a esoteric programming language of my own making with just a parser (no lexer !) and a tree walking interpreter while reimplementing a standard library and depending on undefined behavior in python . honestly I fear that code more each time I look at it

AMDIsOurLord ,

We think alike friend

Don’t lose your passion, doing things the shit old way can also make you a better programmer in the newer paradigms

Although, I recommend you at least learn C++23

einsteinx2 ,
@einsteinx2@programming.dev avatar

Reading this comment and then looking up and seeing that your username ends with PDP11 was chef’s kiss

Scoopta ,
@Scoopta@programming.dev avatar

I choose option C, eclipse xtext

zepplenzap , in It's not DNS

Am I the only one who can’t think of a time DNS has caused a production outage on a platform I worked on?

Lots of other problems over the years, but never DNS.

bamboo ,

I have a coworker who always forgets TTL is a thing, and never plans ahead. On multiple occasions they’ve moved a database, updated DNS to reflect the change, and are confused why everything is broken for 10-20 minutes.

I really wish the first time they learned, but every once and a while they come to me to troubleshoot the same issue.

GammaGames ,

How would you prevent that?

synae , (edited )
@synae@lemmy.sdf.org avatar

While planning your change (or project requiring such change), check the relevant(* see edit) DNS TTL. Figure out the point in the future you want to do the actual change (time T), and set the TTL to 60 seconds at T-(TTL*2) or earlier. Then when it comes to the point where you need to make your DNS change, the TTL is reasonable and you can verify your change in some small amounts of minutes instead of wondering for hours.

Edit: literally check all host names involved. They are all suspect

bamboo ,

This. For example, if you have a DNS entry for your DB and the TTL is set to 1 hour, an hour before you intend to make the changes, just lower the TTL of the record to a minute. This allows all clients to be told to only cache for a minute and to do lookups every minute. Then after an hour, make the necessary changes to the record. Within a minute of the changes, the clients should all be using the new record. Once you’ve confirmed that everything is good, you can then raise TTL to 1 hour again.

This approach does require some more planning and two or three updates to DNS, but minimizes downtime. The reason you may need to keep TTL high is if you have thousands of clients and you know the DNS won’t be updated often. Since most providers charge per thousand or million lookups, that adds up quickly when you have thousands of clients who would be doing unnecessary lookups often. Also a larger TTL would minimize the impact of a loss of DNS servers.

ryannathans ,

Set it to 5 seconds ??? Profit

bamboo ,

??? Is when the underwear gnomes send you a massive bill because you’re paying per 1k lookups. They profit, you don’t

Tankton ,

“yes boss we need another 20 dns servers” “idk why dns traffic is so heavy these days”

AceFuzzLord , in Me after I got fired

I hope I learn some day how to code a bug in python that will not show up in any error messages and absolutely ruins a program. I’d love to find a random program at whatever job I end up at and before quitting just ruin it with a random line of code that doesn’t output an error code.

stembolts ,

It’s not hard to do. What would be hard would be getting it through code review. Like the example provided… how would that ever get through code review for a merge? Must not be a well-protected code base?

maynarkh ,

Publish your own package to PyPI that on import does some evil stuff. Name the package something similar to a known, but not too well known package. Supply chain attacks are even less defended against than other stuff.

All this relies on companies being shit though, but well, we all know that’s the case in a lot of places.

MotoAsh ,

Yea… pipeline and dependency auditing isn’t trivial if you want to catch the subtle stuff. Even most of the devs that know how to do it are going to respond with, “above my pay grade…” unless they’re somehow actually getting paid enough to be arsed to do it correctly…

MotoAsh ,

Logical errors are an entire domain of programmer troubleshooting. All you’ll have to do is attempt to learn programming, and you WILL write something that throws no errors, performs terribly, and confuses you for hours.

We all do. It’s almost a badge of honor to push past a few of them.

Hell, sometimes it happens when no one has made an error but a particular mix of data or odd arrangement of hardware it ends up running on hits an undiscovered edge case that buggers things up.

philm ,

Easy, it’s just… continue programming in python. (large codebases are a mess in python…)

More seriously: Don’t do that, it’ll only create headaches for your fellow colleagues and will not really hit those (hard) that likely deserve this.

deur ,

What the hell? Thats not funny or anything it just fucks with your ex-coworkers who probably werent the problem, management isnt affected by that.

Pro tip, you seem really arrogant these days and you need to tone that down before you enter the industry. Its nothing to be ashamed of and I’m not trying to insult you, you just assume your experiences are way more universally valid than they are.

lseif ,

learn C and u will get undefined behaviour for free :)

Stumblinbear ,
@Stumblinbear@pawb.social avatar

That’s just called malware

PoolloverNathan ,

<span style="font-weight:bold;color:#a71d5d;">import </span><span style="color:#323232;">os
</span><span style="color:#323232;">os._exit(</span><span style="color:#0086b3;">2</span><span style="color:#323232;">)
</span>
AAA ,

If you’re thinking about rage quitting a job you don’t even have yet, maybe take a different career from the beginning?

What the hell.

dylanTheDeveloper , in What if we added a social component like "Stories" to this calculator app?
@dylanTheDeveloper@lemmy.world avatar

12*2 = 24 and today I went to the store to buy some bananas but the all the bananas were too ripe

Blackmist ,

That banana’s name? Albert Einstein.

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