This week’s topic is quite programming heavy, sorry to all non programmers 

yap
LISP stands for LISt Processing and was invented by John McCarthy, who was looking computation with symbols and recursive functions in the 1960s.
John McCarthy was the son of immigrant Communists (members of the CPUSA),
but after witnessing the failed counter-revolution in Prague in 1968,
he himself became a Republican
.
A Lisp program consist of a few basic building blocks:
- Symbols - basically text without whitespace, for example:
+,hello123,if,nil, etc. - Numbers, Strings, etc.
- Cons cells - a Pair, denoted as
(cons 1 2)or dotted(1 . 2) - Lists - a linked list of Cons cells with the final element being the symbol
nil.(list 1 2 3)is the same as(1 . (2 . (3 . nil))).
As you may have noticed, cons and list are inside the parentheses, thats because a function call like f(x,y) is written instead as (f x y). This is called a Symbolic expression and all Lisp code looks like this.
(+ 1 (* 2 3) 4)
;; multiply 2 times 3 => (+ 1 6 4)
;; add 1 6 and 4 => 11
;; the names 'car' and 'cdr' are ancient relics from some assembly instructions
;; basically first and second element of a cons cell
;; or head and tail of a list
(car (cons 1 2)) ;; => 1
(cdr (cons 1 2)) ;; => 2
This in turn means that any code can be turned into a list, so that it can be modified like data. I think thats quite neat and unique among programming languages (it even has a fancy word: this property is called homoiconicity).
Functions that operate on code are called macros.
;; generate a function 'name' that adds 'value' to the input
(defmacro defun-adder (name value)
(list 'defun name (list 'x) (list '+ 'x value)))
(defun-adder plus5 5)
;; define the function plus5(x) as x + 5
;; => (defun plus5 (x) (+ x 5)))
(plus5 10) ;; => 15
To make sure the interpreter does not try to evaluate a symbol, it needs to be “quoted”.
Since this comes up quite often, it gets the shortcut of ' at the beginning.
Theyre much nicer to work with than for example macros in C:
#define PI 3.14159265
this C macro just searches and replaces the string PI in the C source code before compilation and theres lots of ways to mess up, for example
#define DOUBLE(x) x + x
if x is a function call that does something else, like printing,
then that message will appear twice.
Operator prescedence is also not considered: DOUBLE(1) * 3 will expand to 1 + 1 * 3, so 4 not 6 like one would expect.
The last thing I want to yap about is Lisp1 vs Lisp2. This refers to the amount of namespaces any programming language has. if functions and variables are allowed have same names, then there needs to be a namespace for each.
for example in CL:
(defvar x 1)
(defun x () (+ 1 1))
x ;; variable => 1
(x) ;; function call => 2
is perfectly fine, while in other languages like Python or C or Scheme this wouldnt work.
Shoutout to respected comrades lilypad and sodium_nitride who are also true Lisp patriots.
___ Join our public Matrix server! https://rentry.co/tracha#tracha-rooms ___
As a reminder, please do not discuss current struggle sessions in the mega. We want this to be a little oasis for all of us and the best way to do that is not to feed into existing conflict on the site. Also, be sure to properly give content warnings and put sensitive subjects behind proper spoiler tags. It’s for the mental health of not just your comrades, but yourself as well.
Here is a screenshot of where to find the spoiler button.
spoiler

HELLO THIS IS THE MEGA SIGN UP POST/LIST POST
if you have a preferred week please tell me
SwitchyandWitchy* (10/05 - 10/11) Eco* (10/12 - 10/18) LoveSupreme* (10/19 - 10/25) Shaleesh* (10/26 - 11/1) Ceres (11/2 - 11/8) Disaster_of_Passion* (11/9 - 11/15) Carcharodonna* (11/16 - 11/22) BountifulEggnog* (11/23 - 11/29) sodium_nitride* (11/30 - 12/6) GenderIsOpSec* (12/7 - 12/13) Shaleesh* (12/21 - 12/27) * after name denotes someone who has posted before and will be skipped by first-time posters
I finally got hrt :3
(Edit: Today I have consumed hrt for the first time :3)
yippee

Congrats!
its good stuff
Let’s go congrats!


Yay!
congratulations!omg congrats :33
Omg yayyyyyy!!! :3 excitingggg!!!


People need to just like what they like
It’s official
I really genuinely fucking resent my parents and cannot stand talking to them at all
This was the natural end point of being in the closet for so long and there is no reconciliation. I refuse to even allow reconciliation to happen. I don’t care if it is possible for them to change in the future or what, but I do not forgive them and that’s my choice.
CW
Fellow trans woman I knew took her own life. Last thing I said to her was please stick around…fuck this shit fuck everyone who fails us I want to scream and rip and tear apart every inch of this awful machine that turns human lives into piles of bones and hollow fucking memories . Not the first time and I know it won’t be the last and all I can feel is disgust and rage.

Yak, somewhere in China
fancy yak
so pretty

looks like some cool nature god that would give you the greatest quest of your life in a video gaem
deleted by creator
Real. Throw in the depression years from the former and I may never recover
same

It’s been an entire year on estradiol for me.
deleted by creator
what if we had 20 traa pins on the front page and nothing else
down(to the second page) with cis
Good idea, except then the reading group couldn’t be pinned :/
ⓘ This user is suspected of being a cat. Please report any suspicious behavior.
trans reading group
I will hopefully do a reading group for some trans book in the future.
Edit: No idea which one though.
ⓘ This user is suspected of being a cat. Please report any suspicious behavior.
Make it just traa pins and reading group pins then!
I had a girl over, Ive seen her a few times for dates and stuff. She brought soup! We played cod zombies, she’d never done it. She turned to me with complete sincerity and asked “how do I do a headshot” and with all my might I stifled my laughter and said “you shoot them in the head”
My wife years ago: “You should talk to your guy friends about what you’re feeling to compare your experiences”
Me: “Okay. Hey guys have you ever thought about not being a man?”
My friends (massive eggs): “Yeah pretty often. That’s normal.”
Me: “Thanks this did not help”
What is this feeling of going from cis ally to like, card carrying member
It’s like I see all of… us 🙊… In this new warmer fuzzy light

Did my injection today. Two days late. But. I did it.
Mine was also two days late this last time, what is going on
2 day late virus be spreading roung these parts
I had such a peak trans comedy interaction at the hospital just now. I was examined by a doctor there for an upcoming eye surgery and she started asking me all kinds of questions about my medical history and stuff like that, and then she asked me what meds I’m taking:
Me: “Well, hormone blockers, estradiol and progesterone” takes a breath and then lists the rest of the meds I’m taking
Doc: “And why do you take those hormone blockers? Do you have any tumors?”
Me: “Uhh… I have testicles”

Doc:

Cis people are so oblivious lol. And lately I also started using my deeper voice again, so I sounded more masc than fem, so I’m really surprised my passing is that good (not that I give a single shit about it, but still good to know)






















