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.

whotookkarl , in I Will Fucking Piledrive You if You mention AI Again
@whotookkarl@lemmy.world avatar

As someone who conferenced some basic ML research in early 2000s and then left academia for a boring/stable software engineering gig in a non IT org to escape the hype bubble only to end up having to talk to people about ML/AI frequently this article speaks to me.

tatterdemalion , in It's called attaining divinity
@tatterdemalion@programming.dev avatar

But quiche is tasty!

SplashJackson , in Old timers know

I used CuteFTP, but I am a gentleman

sverit ,

“Felt cute, might transfer files later, idk”

Anticorp , in Old timers know

True story, bruh.

repungnant_canary , in Sysadmin comes out of the goon cave. And he is not happy in the slightest.

Relevant XKCD for the OP xkcd.com/1053

FuglyDuck ,
@FuglyDuck@lemmy.world avatar

Do I need to click? (Nope), Congrats OP!

fmstrat , in Old timers know

I remember this. I also remember using scp instead. And ftp, if I go back far enough. rsync is still my friend though zfs has mostly replaced it now.

BoneALisa ,
@BoneALisa@lemm.ee avatar

How has zfs replaced rsync for you? One is a filesystem, and the other is a filesyncing tool. Does zfs do something im not aware of lol?

fmstrat ,

I used to use rsync to copy data from my storage array on one machine to an external and an off site backup. Since a lot of it was code, it always took forever to scan all the small files, and I had to script unlocking remote partitions.

With encrypted ZFS, I can just zfs snap then zfs send, and it does the same thing at the block level, raw, so way faster, less data transfer, and no need to send a key or passphrase unless I need to mount it at the destination (meaning a cloud provider could never know the data, for instance).

ZFS is also recursive, so if I have s/storage and /storage/stuff defined, I can snap and send either level, which makes it as versatile as rsync.

BoneALisa ,
@BoneALisa@lemm.ee avatar

Oh interesting, i am not super familar with zfs’ tools, so thats pretty cool! Ill have to look at that for my storage array.

MehBlah , in Sysadmin comes out of the goon cave. And he is not happy in the slightest.

One of my favorite xkcd.

dmMeYourNudes , in It's called attaining divinity

I am once again asking programmers to explain the joke

azdle ,
@azdle@news.idlestate.org avatar

C was originally created as a “high-level” language, being more abstract (aka high-level) than the other languages at the time. But now it’s basically considered very slightly more abstract than machine code when compared to the much higher level high-level languages we have today.

Corbin ,

Other way around, actually; C was one of several languages proposed to model UNIX without having to write assembly on every line, and has steadily increased in abstraction. Today, C is specified relative to a high-level abstract machine and doesn’t really resemble any modern processing units’ capabilities.

Incidentally, coming to understand this is precisely what the OP meme is about.

Ziglin ,

I’d say much more highly abstracted than necessarily better (I know plenty of people who despise js and wouldn’t call it better).

FiniteBanjo ,

To add on to @azdle 's comment, “High Level” in terms of programming languages means further away from how the computer processes things and “Low Level” means very similar to how machines process things. For example, binary and hexadecimal (16 bit) machine code such as “assembly language” are both low level.

Imagine if program interpreters were building blocks, then 6 layers of abstraction would be very tall or higher level.

Cethin ,

This is pedantic, but assembly languages get “assembled” to machine code. This is somewhat similar to higher level languages being “compiled,” which eventually becomes assembly which gets assembled. The major reason why these are different is because a compiler changes the structure of the code. Assembly is a direct mapping to instructions. It just converts the text into machine code directly, which is why it’s easy to go from machine code to assembly but decompiling doesn’t give you identical results to the original source code.

Also, binary and hexadecimal are just different ways to view the same binary data and aren’t different things. There is only “machine code” which is a type of binary data but you can view binary with any arbitrary base, though obviously powers of 2 work better.

FiniteBanjo ,

Seems like conflicting statements in your comment. Assembly is abstracted and yet hexadecimal is binary? Make up your mind.

Cethin ,

I don’t think I said assembly is abstracted. It’s pretty much just a translation.

Hexidecimal isn’t binary. They’re both just ways to represent numbers. A number displayed in hexadecimal and binary are the same number even though they look different. FF(base 16) = 1111 1111(base 2) = 255(base 10). They’re all identical.

barsoap ,

Assembly is a direct mapping to instructions. It just converts the text into machine code directly,

Kinda… yes and no? At least with x86 there’s still things like encoding selection going on, there’s not a 1:1 mapping between assembly syntax and opcodes.

Also assemblers, at least those meant for human consumption (mostly nasm nowadays) tend to have powerful macro systems. That’s not assembly as such, of course.

But I think your “a compiler changes the structure of the code” thing is spot-on, an assembler will not reorder instructions, it won’t do dead code elimination, but I think it’s not really out of scope of an assembler to be able to do those things – compilers weren’t doing them for the longest time, either.

I think a clearer division would be that compilers deal with two sets of semantics: That of the source language, and that of the CPU. The CPU semantics don’t say things like “result after overflow is undefined”, that’s C speaking, and compilers can use those differences to do all kind of shennanigans. With assemblers there’s no such translation between different language semantics, it’s always the CPU semantics.

AmidFuror , in Sysadmin comes out of the goon cave. And he is not happy in the slightest.

Yippee ki yay.

scrubbles , (edited ) in Sysadmin comes out of the goon cave. And he is not happy in the slightest.
@scrubbles@poptalk.scrubbles.tech avatar

Oh man if you don’t recognize xkcd… You’re in for a treat reading through them all

SatouKazuma ,

xkcd are a godsend

ShitOnABrick OP ,
@ShitOnABrick@lemmy.world avatar

Never heard of erm till now been reading through some his comics

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

Literally relevant XKCD!

https://poptalk.scrubbles.tech/pictrs/image/bd05d783-17b1-4a28-9618-7460a107ae73.png

Enjoy, friend, it’s one of the longest running and best webcomics. xkcd.com (His books are great too)

EnderMB , in Old timers know

I remember joining the industry and switching our company over to full Continuous Integration and Deployment. Instead of uploading DLL’s directly to prod via FTP, we could verify each build, deploy to each environment, run some service tests to see if pages were loading, all the way up to prod - with rollback. I showed my manager, and he shrugged. He didn’t see the benefit of this happening when, in his eyes, all he needed to do was drag and drop, and load the page to make sure all is fine.

Unsurprisingly, I found out that this is how he builds websites to this day…

Honytawk , in Corpos being corpos

So how difficult would it be to update the library to include a blacklist to those big corpos taking advantage of your code?

magikmw ,

Easily done with licences. Corpo is scared of licensing.

scrubbles ,
@scrubbles@poptalk.scrubbles.tech avatar

I really like the GPL license for that reason. Take it, use it, be merry. But don’t you dare use it in a closed source project, and you have to give me credit

magikmw ,

Credit and release any changes you made to it. No freeloading.

PM_Your_Nudes_Please ,

Just use a GPL license instead. It allows use with credit, but requires that usage also be released for free. Meaning that it can’t be used by corpos and their closed-source projects.

ArtVandelay , in Old timers know
@ArtVandelay@lemmy.world avatar

I mean, a lot of docker files out there with COPY . .

Opisek ,

True, but building the image is not the same as deploying to production.

ArtVandelay ,
@ArtVandelay@lemmy.world avatar

Fair point

kuberoot , in Old timers know

This is from before my times, but… Deploying an app by uploading a pre built bundle? If it’s a fully self-contained package, that seems good to me, perhaps better than many websites today…

dan ,
@dan@upvote.au avatar

That’s one nice thing about Java. You can bundle the entire app in one .jar or .war file (a .war is essentially the same as a .jar but it’s designed to run within a Servlet container like Tomcat).

PHP also became popular in the PHP 4.x era because it had a large standard library (you could easily create a PHP site with no third-party libraries), and deployment was simply copying the files to the server. No build step needed. Classic ASP was popular before it, and also had no build step. but it had a very small standard library and relied heavily on COM components which had to be manually installed on the server.

PHP is mostly the same today, but these days it’s JIT compiled so it’s faster than the PHP of the past, which was interpreted.

fibojoly , in Sysadmin comes out of the goon cave. And he is not happy in the slightest.

For some reason it reminds me of When Sysadmins Ruled The Earth, a short story about sysadmins dealing with the apocalypse.

MehBlah ,

No reason why it shouldn’t.

TheSchatz ,

I’d never read that story until now, thanks for sharing!

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