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.

FlightyPenguin , in Tattoo Idea
@FlightyPenguin@lemmy.world avatar

Let this be a warning, kids. Tats like this are a gateway. Don’t think that he can hide behind a mask forever. Don’t follow his route.

MagicShel ,

I don’t mean to put him in a category, but he is clearly from a hub of scum and villainy.

fluxion ,

Just cuz you’re all NAT’d up doesn’t mean you’ll be left alone.

hakunawazo ,

Switch back before it’s too late.

friend_of_satan , (edited )

He has already chosen the route he wants his life to take. There was no turning back once he passed through that gateway.

kryptonianCodeMonkey , in Tattoo Idea

Now do '0000: 0000: 0000: 0000: 0000: 0000: 0000: 0001" across both knuckles like the classic “LOVE HATE” tat.

gravitas_deficiency ,

Or just a big


<span style="color:#323232;">::1
</span>

on your hand

kryptonianCodeMonkey ,

On your chest. Much more macho.

gravitas_deficiency ,

Get it as a throat tattoo or get out

TopRamenBinLaden ,

Get a null tattoo on your forehead if you are really about that life.

nxdefiant ,

DEAD BEEF

davetapley , in Songs about Vim
Brkdncr , (edited ) in Tattoo Idea

This is funny to programmers but it’s dumb to network admins.

thisisnotgoingwell ,

I guess let people have their fun, but I agree. Class C space is pretty insignificant

pythonoob , in Tattoo Idea

Hopefully you don’t have that much trouble remembering them.

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.

user224 , in Tattoo Idea
@user224@lemmy.sdf.org avatar

Oh no! He’s got my IP 😱

ryannathans , in Tattoo Idea

Now do ipv6

JustUseMint ,

I don’t have enough fingers

FlightyPenguin ,
@FlightyPenguin@lemmy.world avatar

You gotta use colons. Then it’s pretty easy.

ryannathans ,

Good luck finding a tattoo artist that will do your colon

xradeon , in Tattoo Idea

“I’ll show you a gateway to heaven!” punch

Artyom , in Tattoo Idea

Dude! How did you find out my IP address?!? Delet this post now or I will call thr police! I don’t want my identiti stolen!

AdmiralShat , in Tattoo Idea

“I have the IP address of the man who ruined my life forever on my hands”

Pulptastic ,

Don’t believe his lies

Dnn ,

127.0.0.1 then?

GreyCat ,

That’s his loopback address, his local IP can be 192.168.0.1/24

Anticorp , in Tattoo Idea

There’s no place like home.

Opisek , in Tattoo Idea

I’m a 10.0.0.0 255.0.0.0 enjoyer myself.

Scoopta , in Tattoo Idea
@Scoopta@programming.dev avatar

This is gross. Needs IPv6

QuaternionsRock ,
cm0002 , in programmer job in a nutshell

working her way through C++

part of Digital arts curriculum

Might be too high for this, but what??

mosiacmango ,

Maybe part of a gaming curriculum?

Like, “learn some code so that when the devs are crying you can make small talk?”

PrinceWith999Enemies ,

Smalltalk would probably make more sense than C++.

mosiacmango ,

I was Haskalling for that one. I need to Go and shake off the Rust, maybe work on my Lisp to make sure people React well.

Node what I’m saying?

0xD ,

Not Ruby sure what you’re saying, but I dream of getting strangled by a Python that can’t C#. 🤤

MonkeMischief ,

If the devs are really exhausted and sad you can’t go wrong with bringing them a Java while they’re dealing with their latest Brainf**k . Knowing various languages helps you to C#, as long as you take good care of your eyes!

ICastFist ,
@ICastFist@programming.dev avatar

React well

That can only be some sort of evil Scheme, a rather Basic one. I can’t even Assembly the proper words to describe the Brainfuck

MxM111 ,

But it’s less cruel to students.

xmunk ,

C++ is still the far and ahead leader in game programming. All the tools are written in it and everyone is used to it.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

C++ is an awful candidate for a first programming language to learn, at least nowadays - it is very powerful, but it’s also full of foot-guns and past a certain point the learning curve becomes a wall

bort ,

it’s a great candidate. It was my first “real” languages (i.e. the first language, that is not php/js)

you have a text file. then call the compiler on it, and then you have a exe file, that you can run. It does exactly what it is supposed to do without thinking about the browser, the webserver, the JVM, or some other weirdness.

I get, that doing “good cpp” is difficult. And using all the weird languages features is difficult. But as long as you use strings, ints, ifs, fors, you should be fine. Just don’t use generics, templates, new (keep everything on the stack), multi-inheritance, complex libraries, and it’s a nice beginner language.

owen ,

Yeah. My intro programming classes used C and C++ and they were great for illustrating the fundamentals. Plus I think it’s important to learn the building-blocks/history

Aceticon ,

Maybe it’s C that’s a good first language, though I would admit that the basic ouputting of values to stdout is more intutive in C++.

ebc ,

this std::cout << “hello world” bullshit is in no way intuitive. You’re using the bit-shift operator to output stuff to the console? WTF? Why 2 colons? What is cout? And then these guys go on to complain about JS being weird…

No, C is where it’s at: printf(“hello world”); is just a function call, like all the other things you do in C.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

C is no beginner heaven either, printf is its own can of “why can this function have any number of arguments and why does the compiler have to complain about the formatting every 25 milliseconds” worms

Aceticon ,

For non-programmers (who most definitelly don’t know that >> and << are bit shift operators) shoving something into something else is more intuitive than “calling a function with parameters”.

Also don’t get me started on the unintuitiveness of first passing a string were text is mixed with funny codes sgnaling the places were values are going to be placed, with the values passed afterwards, as opposed to just “shove some text into stdout, then shove a value into stdout, then shove some more text into it”.

Absolutelly, once you are used to it, the “template” style of printf makes sense (plus is naturally well-suited for reuse), but when first exposed to it people don’t really have any real life parallels of stituations were one first makes the final picture but leaving some holes in it and later fills-in the holes with actual values - because in real life one typically does it all at once, at most by incremental composition such as in C++, not by templating - so that style is not intuitive.

ebc ,

shove some text into stdout

That’s not what this operator does normally, and if you try to “shove” something into anything else (an int into a variable? a function into an object?) you’ll get surprises… Basically it’s “special” and nothing else in the language behaves like it. Learning hello world in C++ teaches you absolutely nothing useful about the language, because it doesn’t generalize.

C, in contrast, has many instances of complex functions like printf (another commenter mentioned variable arguments), and learning to call a function is something very useful that generalizes well to the rest of the language. You also learn early enough that each different function has its own “user manual” of how to use it, but it’s still just a function call.

firelizzard ,
@firelizzard@programming.dev avatar

Go is just as easy. Install the compiler, write a file, compile it, get an exe. And a lot less foot-guns.

xmunk ,

Not really. Pointers are almost always a bad idea - just use const refs and you’ll be fine.

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

If using pointers is out of the question, then why choose to learn a language with explicit memory access before anything else?

I have yet to learn Rust, but from what I hear it’s simpler and (mostly?) memory-safe – implying that it’s generally a better first language to learn.

xmunk ,

Pointers are almost always a bad idea - but you’ll probably get a lot of mileage out of having a handful of them in a large project… there’s an impulse with new C++ devs to do everything with pointers and use complex pointer arithmetic to do weird array offset and abuse predictable layouts to access stack variables etc… pointers are fine when used with moderation.

Gabu ,

What do you mean? Pointers are the best thing ever. It either works, or you manage to make fireworks!

Sylvartas ,

Basic C++ isn’t really confusing (if you are not handwriting makefiles). It starts to get fucky when you get into memory handling, templates, etc. I’m assuming they are only using C++ over C for basic OOP (class/structs inheritance etc).

unionagainstdhmo ,
@unionagainstdhmo@aussie.zone avatar

I actually found it alot easier once I had learnt C. That way I know where all of the problems are and can use the high-level stuff to get around them, while still fundamentally understanding what is going on

Sonotsugipaa ,
@Sonotsugipaa@lemmy.dbzer0.com avatar

Oh yeah, if you know C can be way more convenient depending on the language features you care about (as long as you thread very carefully when doing type punning, which you would rarely want to).

WalrusDragonOnABike ,

Just checking an art degree guide: catalog.mit.edu/…/architecture-course-4-b/

One of the classes that can be chosen is: 6.4400 Computer Graphics, which has a programming 101a/b class as a prereq (granted, it uses python instead of C++, but pretty sure they used C++ as their language-of-choice for the programming 101 language until recently).

Given the variety of digital art (video games, VTube avatars/VR avatars, more traditional-style digital art, etc), having the tools to make those kinds of things can be useful for making responsive/interactive digital art.

Aceticon ,

I’m currently working in game making and a ton of tools for things like 3D model creation (such as Houdini or Substance) use some form of procedural generation where at least understanding programming concepts is important and actual programming is required to do the more advanced stuff.

pete_the_cat ,

I’m very confused as well. Some universities do have ridiculous requirements though. I was planning on being a veterinarian and had to take politics classes. I switched to IT and was required to take general chemistry.

mvilain ,
@mvilain@fedia.io avatar

40 years ago at UCLA, I had to do my FORTRAN programs on punch cards submitted through the batch system. The CS/Math department (no CS department then), only offered 1 section in FORTRAN with 40 others in PASCAL. And it was taught by an Engineering professor. Why would a Chemistry major take a computer science class? Remember all those shiny machines CSI uses to do forensic analysis? They came from chem labs.

pete_the_cat ,

I get if that’s what you want to get into, but if I was aiming to be a Linux System Engineer (like I currently am), I’d never chemistry.

kureta ,

There are lots of ways computers are used for making art. Not just video-games. For example, projection mapping, algorithmic music composition, live coding, etc.

You can look into openFrameworks for examples of C++ in arts.

UnityDevice ,

Or libcinder. Or even simply Arduino.

frezik ,

I get that, but I would have expected Python.

Klear ,

The Spanish Inquisition, even.

baseless_discourse , (edited )

I think there probably are school where the professor know c++ very well, but never bothered or too stubborn to learn/teach python.

Unlike the top 50 to 60 schools, most schools, especially research universities, don’t care that much about teaching (in the U.S., at least).

Socsa ,

I would argue that anyone who understands c++ can easily pick up python.

Source: expert in both.

kureta ,

This was the first serious creative coding framework I’ve learned 2008 or 2010 or something. I have been in this field since then. I have seen Java, Javascript, and kotlin creative frameworks but not python and I am still as surprised as you are.

SpaceNoodle ,

I agree, that only makes sense if it’s 1999

MonkderZweite ,

A elegant and beautiful piece of code is art.

baseless_discourse ,

Even in c++

Gabu ,

Especially if you manage to do it in c++

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