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.

mossy_ , in COMEFROM

Guy who worked at my place before me kept using these and GOTO statements all over the place.

His name? Cotton-eyed Joe

match ,
@match@pawb.social avatar

Reference to Cottoneyed Joe considered harmful

mossy_ ,

I almost spat out my drink when I saw this

hakunawazo ,

Thanks for the catchy tune, now the song sticks in my mind again. Last time was long time ago. :)

lseif ,

where did you COMEFROM where did you GO…TO

match ,
@match@pawb.social avatar

where did you COMEFROM, cottonEyedJoe2

recursive_recursion , in Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem
@recursive_recursion@programming.dev avatar

congrats to jellygiggler69😂

great name to attach an official award to lamo

Brkdncr , in Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem

What I really hate is when I search for a problem I’ve seen off and on for a few years and the search results is exactly the issue im experiencing.

Great!

Only to find out after chasing that link that it was me who posted that question, 4 years ago, and it’s still unanswered.

SuckMyWang ,

Do you remember if you got an answer?

AlecSadler ,

What would be even more wild is if you edited/replied to yourself and said, “nvm figured it out”…only to later discover it and not remember what you did

Brkdncr ,

That guy sucks.

feannag ,
bitchkat ,

I had an issue years ago with a tv and a dvd player. For whatever reason, whenever the dvd player was connected, the tv would blank out every few seconds. At some point I posted on the tv manufacturer forums. I did eventually figured out that I leave a thumb drive connected to the tv, the problem disappeared. I wanted to let people know about my work around. I got 1 result – the forum post I had made quite a while back.

I’m pretty sure it was an HDCP issue.

umbrella , in COMEFROM
@umbrella@lemmy.ml avatar

am i the only dumb fuck here who unironically likes this?

would make goto type situations much more usable

MindTraveller ,

It’s basically a simpler version of a callback

Cethin ,

I don’t see any case where this is better than a goto. A goto you can read progressively though. A comefrom you’d see written then have to track to that piece of code and remember there’s a potential hidden branch there.

downpunxx , in Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem

jellygiggler69 rules, i'm so happy for her

match , in Someone escaped the Matrix
@match@pawb.social avatar

ooh, has anyone made something that transfers ownership of unmaintained codebases via bug bounty? like a sword-in-the-stone for critical fixes?

Daxtron2 ,

Just fork it

Thcdenton , in COMEFROM
Shadow , in Old timers know
@Shadow@lemmy.ca avatar

FileZilla isn’t even that old school, cuteftp was the OG one afaik.

ashitaka ,

No way, WS_FTP was more OG.

Shadow ,
@Shadow@lemmy.ca avatar

Yeah you’re totally right, I forgot about that.

There was flashfxp too but I think that was a fair bit later. Revolutionized being a warez courier.

brbposting ,

I’m not FBI

being a warez courier.

Spill. You bring those R5s across the ocean? Send audio from the handicap audio jack at the multiplex? Hustle up some telecines? Sneak Battletoads outta the backroom at GameStop before it hit shelves?

Shadow ,
@Shadow@lemmy.ca avatar

Back in the day (mid/late 90’s), there were private ftp servers that required a ratio. Some of these were run by release groups and hard to get on, some were more public. Couriers would download from one site and upload to another to build their ratio and get access to the good sites.

Before people figured out you could connect two ftp servers together directly, you would have to download to your computer and reupload. Most people were on dialup, so that was a non trivial time commitment.

brbposting ,

Ohhh didn’t know about that sense of the word in that context. Interesting!

Do you have any idea what the warez scene is like today?

Also there was a bot on the former Warez-BB dot org that would post scene releases seemingly moments after they pre’d. Imagine those kinds of people are on Telegram or something today…

Shadow ,
@Shadow@lemmy.ca avatar

Nope, no idea what it’s like today.

brbposting ,

The joys of having $xx/mo to reward creators. (Maybe only $.xx goes to the actual creators but still, it feels better!)

HAL_9_TRILLION ,

Oh god, I know all of these.

Also fuck Tim Kosse. Bundled Filezilla with malware and fucked up my machine in 2014. Had to reinstall Windows. I’ll never use it again.

I use WinSCP on Windows and Forklift on MacOS.

dan ,
@dan@upvote.au avatar

I remember WS_FTP LE leaving log files everywhere. What a pain to clean up.

arandomthought ,

Yeah, I used to use filezilla and I’m not that old… Right? …Right?

anonymoose ,
@anonymoose@lemmy.ca avatar

Sure, grandpa/grandma, time for your medicine.

starman , in COMEFROM
@starman@programming.dev avatar

Looks like C# 12 interceptors:


<span style="color:#323232;">[InterceptsLocation(@"C:testappProgram.cs", line: 4, column: 5)]
</span>

I know it looks awful, but it’s not intended for direct use, but rather for source generators for native ahead of time compilation.

andrewlock.net/exploring-the-dotnet-8-preview-cha…

it_depends_man , in Nobel Prize to Be Awarded to Forum User From 9 Years Ago With Same Niche Problem

Your joke, but as a short video by joel haver: www.youtube.com/watch?v=hnUpTyKSjag

foobaz ,

Joel is amazing. Love his stuff.

stembolts , in Old timers know

This application looks fine to me.

Clearly labeled sections.

Local on one side, remote on the other

Transfer window on bottom.

No space for anything besides function, is the joke going over my head?

tiramichu , (edited )

I’m sure there’s nothing wrong with the program at all =)

Modern webapp deployment approach is typically to have an automated continuous build and deployment pipeline triggered from source control, which deploys into a staging environment for testing, and then promotes the same precise tested artifacts to production. Probably all in the cloud too.

Compared to that, manually FTPing the files up to the server seems ridiculously antiquated, to the extent that newbies in the biz can’t even believe we ever did it that way. But it’s genuinely what we were all doing not so long ago.

ID411 ,

It’s that automated workflow ? With human checkpoints ?

Like, a programmer will ‘hit save’ and drop his work in version control, which automatically lands in a development environment, is promoted to test, and lands in the queue of a tester, and so on ?

tiramichu ,

Yes, exactly that.

30p87 ,

manually FTPing the files up to the server seems ridiculously antiquated

But … but I do that, and I’m only 18 :(

Poiar ,

Old soul :)

tiramichu , (edited )

That’s probably okay! =) There’s some level of pragmatism, depending on the sort of project you’re working on.

If it’s a big app with lots of users, you should use automation because it helps reliability.

If there are lots of developers, you should use automation because it helps keep everyone organised and avoids human mistakes.

But if it’s a small thing with a few devs, or especially a personal project, it might be easier to do without :)

realbadat ,

Like anything else, it’s good to know how to do it in many different ways, it may help you down the line.

In production in an oddball environment, I have a python script to ftp transfer to a black box with only ftp exposed as an option.

Another system rebuilds nightly only if code changes, publishing to a QC location. QC gives it a quick review (we are talking website here, QC is “text looks good and nothing looks weird”), clicks a button to approve, and it gets published the following night.

I’ve had hardware (again, black box system) where I was able to leverage git because it was the only command exposed. Aka, the command they forgot to lock down and are using to update their device. Their intent was to sneakernet a thumb drive over to it for updates, I believe in sneaker longevity and wanted to work around that.

So you should know how to navigate your way around in FTP, it’s a good thing! But I’d also recommend learning about all the other ways as well, it can help in the future.

(This comment brought to you by “I now feel older for having written it”, and “I swear I’m only in my fourties,”)

OpenStars ,
@OpenStars@discuss.online avatar

Then switch to use sth more like scp ASAP? :-)

30p87 ,

Nah, it’s probably more efficient to .tar.xz it and use netcat.

On a more serious note, I use sftp for everything, and git for actual big (but still personal) projects, but then move files and execute scripts manually.

And also, I cloned my old Laptops /dev/sda3 to my new Laptops /dev/main/root (on /dev/mapper/cryptlvm) via netcat over a Gigabit connection with netcat. It worked flawlessly. I love Linux and its Philosophy.

OpenStars ,
@OpenStars@discuss.online avatar

Ooh I’ve never heard of it. netcat I mean, cause I’ve heard of Linux 😆.

The File Transfer Protocol is just very antiquated, while scp is simple. Possibly netcat is too:-).

30p87 ,

Netcat is basically just a utility to listen on a socket, or connect to one, and send or receive arbitrary data. And as, in Linux, everything is a file, which means you can handle every part of your system (eg. block devices [physical or virtual disks]) like a normal file, i.e. text, you can just transfer a block device (e.g. /dev/sda3) over raw sockets.

xtapa ,

It’s perfectly fine for some private page etc. but when you make business software for customers that require 99,9% uptime with severe contractual penalties it’s probably too wonky.

JackbyDev ,

Think of this like saying using a scythe to mow your lawn is antiquated. If your lawn is tiny then it doesn’t really matter. But we’re talking about massive “enterprise scale” lawns lol. You’re gonna want something you can drive.

aard ,
@aard@kyu.de avatar

Shitty companies did it like that back then - and shitty companies still don’t properly utilize what easy tools they have available for controlled deployment nowayads. So nothing really changed, just that the amount of people (and with that, amount of morons) skyrocketed.

I had automated builds out of CVS with deployment to staging, and option to deploy to production after tests over 15 years ago.

DinosaurSr ,

after tests

What is “tests”?

towerful ,

Tests is the industry name for the automated paging when production breaks

MonkderDritte ,

webapp deployment

Huh? Isn’t this something that runs on the server?

tiramichu ,

It’s good practice to run the deployment pipeline on a different server from the application host(s) so that the deployment instances can be kept private, unlike the public app hosts, and therefore can be better protected from external bad actors. It is also good practice because this separation of concerns means the deployment pipeline survives even if the app servers need to be torn down and reprovisioned.

Of course you will need some kind of agent running on the app servers to be able to receive the files, but that might be as simple as an SSH session for file transfer.

lightnegative ,

But it’s genuinely what we were all doing not so long ago

Jokes on you, my first job was editing files directly in production. It was for a webapp written in Classic ASP. To add a new feature, you made a copy of the current version of the page (eg index2_new.asp became index2_new_v2.asp) and developed your feature there by hitting the live page with your web browser.

When you were ready to deploy, you modified all the other pages to link to your new page

Good times!

Wangus ,

The large .war (Web ARchive) being uploaded monolithicly is the archaic deployment of a web app. Modern tools can be much better.

Carighan ,
@Carighan@lemmy.world avatar

Of course, it’s going to be difficult to find a modern application where each individually deployed component isn’t at least 7MB of compiled source (and 50-200MB of container), compared to this single 7MB war that contained everything.

MonkderDritte ,

And then confused screaming about all the security holes.

trustnoone ,

This application looks fine to me.

Clearly labeled sections.

Local on one side, remote on the other

Transfer window on bottom

Thats how you know its old. Its not caked full of ads, insanely locked down, and trying yo sell you a subscription service.

T156 ,

It even has questionably-helpful mysterious blinky lights at the bottom right which may or may not do anything useful.

ed_cock ,

Except that FileZilla does come with bundled adware from their sponsors and they do want you to pay for the pro version. It probably is the shittiest GPL-licensed piece of software I can think of.

en.wikipedia.org/wiki/FileZilla#Bundled_adware_is…

trustnoone ,

Aw that sucks

blackn1ght ,

The joke isn’t the program itself, it’s the process of deploying a website to servers.

Prunebutt , in It's called attaining divinity

I once knew somebody who supposedly thought that ASM was high level.

NateNate60 ,

ASM is high level. Real programmers use punch cards

boonhet ,

Once met a man who said he loved assembly language because it was so much nicer than punch cards and FORTRAN, but C was OK too.

This was last year. In his defense though, he’s been retired for years, used to work as a professor.

sylveon ,

Real programmers use a magnetized needle and a steady hand.

Prunebutt ,

There’s an emacs-command to do that.

Hupf ,

No, the emacs command is for the butterfly

Prunebutt ,

Dang, I meant a neovim-Plugin

Ziglin ,

Emacs keybind?

And009 ,

Back to the iron ages

EntirelyUnlovable ,
@EntirelyUnlovable@lemmy.world avatar

REAL programmers tap into the electron flow across the CPU and set bits in real time

duckythescientist ,

Wait until you learn about micro ops and processor internals. That somebody isn’t as wrong as you think.

abbadon420 , (edited )

There is no way ASM is high level

MartianSands ,

It’s a matter of perspective. To someone who’s job is to write the system which interprets ASM, ASM is high level

victorz ,

Exactly. For every level of abstraction, the abstractor is the high level and the abstractee is the lower level. Those aren’t real words perhaps, but you get what I’m saying. It’s all relative along the chain of abstraction.

Ziglin ,

Is it a chain though? I think it’s more of a branching network that (almost?) always is stopped at quantum physics and it’s theories or some form philosophy.

victorz ,

My mental model of it is a chain, yes. But you can define it however you like. It’s just steps in some direction.

Maybe a cake would suit someone the best.

Lmaydev ,

It’s higher than machine code. It’s degrees of highness. Any abstraction technically makes it high level.

abbadon420 ,

It’s not really abstraction though. It is more like syntactic sugar. In stead of 1000111011 you say ADD, but it is still the exact same thing. There is no functional, prgrammatical benefit of one over the other. It’s just that asm is readable by humans.

At least thats as far as I understand asm. I haven’t gone beyond NandToTetris

Cethin ,

I would argue they don’t know what that means really. Assembly is pretty much a mapping of words to machine code. It’s just a way to make machine code easier to read. It doesn’t actually change how it works.

A compiler re-arranges and modifies things so what you write isn’t the same as the final program that is created. With assembly it is. It’s not really an abstraction, but a translation. It doesn’t move you further from the machine, it only makes it so you’re speaking the same language.

Mirodir , in Sysadmin comes out of the goon cave. And he is not happy in the slightest.
ShitOnABrick OP ,
@ShitOnABrick@lemmy.world avatar

Ty

Excrubulent ,
@Excrubulent@slrpnk.net avatar

Just fyi, Randall who makes xkcd has a very permissive approach and offers hotlinks on the site for easy embedding. I think he prefers that you hotlink rather than reupload.

ShitOnABrick OP ,
@ShitOnABrick@lemmy.world avatar

Alright keep this in mind in future mate. I found this on quora and didn’t know who the author was.

Excrubulent ,
@Excrubulent@slrpnk.net avatar

Yup, no worries, i just appreciate the way he does things and wanted to share the info :)

bigboismith , in Old timers know

This is how I deployed web servers in school like 3 years ago.

yrmp , (edited )

My school had nothing about react, node, angular, angularJS, SaaS, etc. back in 2015.

We learned Perl, PHP, LAMP stack, SOAP based APIs and other “antiquated” things. Provided a solid foundation of fundamentals that I’ve built a nice career on.

It might have been by design to get a feel for the fundamentals. Or maybe it’s just because the people teaching it have probably left the industry and are teaching how they did it.

My department head was in his 70s and my professors all trended on the older side.

MonkderDritte ,

Same here. But maybe that’s why i recognize a software stack in the GB as a security risk.

expr ,

Yeah it’s not all that uncommon in school, just increasingly uncommon in industry.

Seasm0ke , in Old timers know

Cries in REST API

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