
Helloooo! I am Moose! They/Them/He/Him I am a embedded software engineer with autism, depression and anxiaty ( Wooo! ). I post about... whatever I want... software things, mental health things... whatever I feel like Feel very wellcome to send me asks about... anything that strikes your fancy :3
266 posts
Honestly, How I Learned Was Via Make.
Honestly, how I learned was via make.
Like... you can easily find compleatly incomprehensible make files that automate everything.
Those you can use, but they are not how you learn.
How you learn iz by doing it very very copy-paste of the lines toh would write to the compiler in a shell. Most basic one with a single .c file would be:
gcc main.c
Then figure out what arguments to add to it to make it how you want. Name the output file. Have the source file in a different folder. Have the ouput be in a different folder.
You now know how to compile a single file by using a shell
Now. Create a make file. Simply have it call exactly the same thing you wrote in the shell before.
Then figure out how to compile a main file and a file with functions and a header. Again, first just by using a shell. And then build it into your build file.
This is not too hard. There are plenty of guides and examples. It is fun exploration where you get your hand dirty and you will learn a LOT about how coding projects and IDEs work.
A programming IDE is just a text editor and make file builder with a pretty GUI on top
It is not magic. And it is not even that complicated.
Sure. Automating it and making it solid and taking all the things that may change into account so it can be generic is hard
But creating a make file that will compile YOUR project? Not hat bad.
never learning how to properly handle multi file c projects is finally catching up to me and stabbing me to death with linker errors.
-
neuroglitch liked this · 9 months ago
-
notsogracefullyput liked this · 9 months ago
-
samufrank liked this · 9 months ago
-
whatamidoinghere413 reblogged this · 9 months ago
-
whatamidoinghere413 liked this · 9 months ago
-
zoeythebee reblogged this · 9 months ago
-
ryuji-terix reblogged this · 9 months ago
-
false798 liked this · 9 months ago
-
doliadu liked this · 9 months ago
-
twentyfourlivesforinfinity liked this · 9 months ago
-
thbpbpthptp reblogged this · 9 months ago
-
thbpbpthptp liked this · 9 months ago
-
hayacode liked this · 9 months ago
-
wrong-directions liked this · 9 months ago
-
frog707 liked this · 9 months ago
-
schrodingerkilledmycat liked this · 9 months ago
-
admitit liked this · 9 months ago
-
variablecemetery liked this · 9 months ago
-
moose-mousse reblogged this · 9 months ago
-
moose-mousse liked this · 9 months ago
-
aaaaaaaaraaaaaraaa liked this · 9 months ago
-
zoeythebee reblogged this · 9 months ago
-
zoeythebee liked this · 9 months ago
-
iocainesmoothie liked this · 9 months ago
-
prettypinque liked this · 9 months ago
More Posts from Moose-mousse
"If voting changed anything they wouldn't let people do it-" grabs your face THEY DIDN'T JUST "LET" PEOPLE DO IT, MOST PEOPLE COULDN'T VOTE FOR HUNDREDS OF YEARS. PEOPLE OF COLOR ONLY GOT THE FULL RIGHT TO VOTE 50 YEARS AGO IN THE US, THATS BARELY A GENERATION.
IF IT DIDNT MATTER AT ALL WHY WOULD THEY SPEND SO MUCH TIME GERRYMANDERING THE SHIT OUT OF EVERYWHERE?? WHY CAN'T FELONS VOTE?? WHY CANT PUERTO RICO VOTE? WHY DO THEY KEEP SWITCHING DATES AND LAWS AND TIMES AND WHATEVER THEY POSSIBLY CAN TO STOP PEOPLE FROM VOTING?? WHY DO THEY MAKE EFFORT AT ALL??
BEING DISILLUSIONED IS A REASONABLE RESPONSE. BUT PEOPLE FOUGHT AND DIED AND ARE STILL FUCKING DYING FOR THAT RIGHT, DONT SPIT IN THEIR FACE.
Ehhh.
Both have their pro's and con's
I DEFINITELY have bands and records I listen to because I know I like 100% of what I will hear.
But since I also want unusual and strange music, I sometimes find bands where I like 1-3 songs only.
But I WANT those bands to make the songs I do not like. They are part of the proccess of making the things I like.
Cannot get good art if there is no tolerance for bad art
"There's nothing rarer than liking every song on an album" y'all are listening to the wrong albums
There these seemingly contradictory societal double binds that are used to enforce conformity.
Example: A Lesbian is told that "everyone is actually bi" while a bisexual woman is told to "pick a side". Seems contradictory but really they just want us to be straight lmao.
Another one: A woman who does not perform womanhood to society's standard is not a real woman vs. You can never change the gender you were born with. One is butchphobic/anti gnc women, the other is transphobic. Clearly both enforce transmisogyny.
The insidious thing is that these double binds also foster inter community division. Its easy to hear one side of these, for example: "everyone is a little bi" and assume that means bisexuality is more accepted. But on the other side bisexual people are getting the same shit.
None of these are contradictory when you realize that bigots simply don't want lgbtq+ to exist at all.
And we sometimes forget that we create those limitations. For example, nearly all robots with cameras use red, green and blue sensors...
Despite... they don't have to
every single thing involving a computer is designed to put something into our senses. until a human looks at it, and interprets it, it is nothing. it isn't 'data'. it isn't 'ones and zeroes'. it's just some electrons and photons moving around, as is their wont.
but if we arrange those electrons just so, and let them do their thing, we can create a pattern that someone will experience as bits, registers, numbers, letters, instructions, algorithms, messages, financial transactions, videos, thoughts, worlds, etc etc.
the whole project of computer programming is corraling the electrons into situations where they will obey rules we have in our heads. electrons are surprisingly predictable, so this isn't a fool's errand. but every layer of the stack of abstractions is something we built: arranging one thing to produce a pattern we want to see. the chip arranged so the 'high and low voltages' fit our idea of 'bits' and 'logic gates'. the screen whose lights create a 'field of colour' for an organism that has this level of visual acuity, this frequency response in its cone cells, this capacity to see shapes and edges. these bits and logic organised into an 'algorithm' that takes 'data' that we think of as 'vertices' and 'triangles' and produces the appearance of 'perspective rendering', which approximates our concept of a '3D object', of even a 'virtual world'.
we have gotten so very very good at producing these patterns that it's easy to see them as something natural, and miss all the layers of orchestration behind even the simplest operation. computers are a game played between humans.
You can write object oriented in C, functional in Java. Mono-paradime is bad.
The real world is complex, and picking 1 solution to everything means picking a bad solution.
Right tool for the right job.
"So you know how C is procedural, Haskell is functional, and Java is object-oriented? You may ask: 'what about Python?'
Well, Python is bullshit-oriented."
My friend, teaching me Python.