None
49
why we should :marseynorm: imprison everyone :marseynorm: who sapports Fakestine: a thread :marseystitch:
None
None
35
RDrama's Official Programmer Socks Reading Group

The Official RDrama Computer Science Reading Group

My dear !codecels, hello and welcome to the first meeting of RDrama's Computer Science Reading Group! Here's the idea - we (read: I) pick a computer science textbook, then post a list of sections and exercises from that textbook each week. In the thread, feel free ask questions, post solutions, and bully people for asking stupid questions or posting stupid solutions. If you don't want to read along, I'll post the complete exercises in the OP, so you can solve them without needing to read the book.

SICP

The book I'm starting with is 'the Structure and Interpretation of Computer Programs' (abbreviated SICP). It's a software engineering textbook written by Gerald Jay Sussman and Hal Abelson from MIT. The book builds programming from the ground up: starting with a very simple dialect of Scheme and growing it into a language with lazy evaluation, object-orientation and a self-hosting compiler. It's a fun book: the exercises are hands-on and interesting, the writing is informative without being droll, and both the book itself and a corresponding lecture series (complete with a 80s synth rendition of 'Also Sprach Zarathustra') are available for free online.

Languages

The book uses (a small subset of) Scheme as its primary language, but feel free to try using a different language. The book's dialect of scheme is available through Racket, but most lisps will work with only minor changes. Other dynamically-typed, garbage-collected languages with higher-order functions will also not require much hacking: there is an edition written in JavaScript :marseywebshit:, as well as a partial adaptation to python :marseysnek:. High-level, statically typed languages might also work: Java/Kotlin/C# :marseytunaktunak: seem doable, but I don't know those languages well. Strongly typed languages like Haskell will require some real hacks, and I'd avoid doing it in C, C++ or Rust.

Exercises

The book is split into five chapters:

  • Building Abstractions with Procedures
  • Building Abstractions with Data
  • Modularity, Objects and State
  • Metalinguistic Abstraction
  • Computing with Register Machines

This week, I'll be posting exercises from the first chapter. The chapter is pretty easy for those familiar with programming already, so I just want to get it out of the way. Here are the selected exercises:

Exercise 1.8

Newton's method for cube roots is based on the fact that if y is an approximation to the cube root of x, then a better approximation is given by the value (x/yΒ² + 2y) / 3. Use this formula to implement a cube-root procedure which is wrong by at most 0.01.

Exercise 1.12

The following pattern of numbers is called Pascal's Triangle.

    1
   1 1
  1 2 1
 1 3 3 1
1 4 6 4 1
   ...

The numbers at the edge of the triangle are all 1, and each number inside the triangle is the sum of the two numbers above it. Write a procedure that computes elements of Pascal's triangle.

Exercise 1.18

Devise a procedure generates an iterative process for multiplying two integers in terms of adding, doubling, and halving and uses a logarithmic number of steps.

Exercise 1.31

Write a procedure called product that returns the product of the values of a function at points over a given range (product(l, r,step,f) = f(l) * f(l+step) * f(l + 2 * step) * ... * f(r)). Show how to define factorial in terms of product. Also use product to compute approximations to using the formula Ο€/4 = (2 * 4 * 4 * 6 * 6 * 8 ...) / (3 * 3 * 5 * 5 * 7 * 7 ...)

Exercise 1.43

If f is a numerical function and n is a positive integer, then we can form the nth repeated application of f, which is defined to be the function whose value at x is f(f(...(f(x))...)). For example, if f is the function x β†’ x + 1, then the nth repeated application of f is the function x β†’ x + n. If f is the operation of squaring a number, then the nth repeated application of f is the function that raises its argument to the 2 * nth power. Write a procedure that takes as inputs a procedure that computes f and a positive integer n and returns the procedure that computes the nth repeated application of f. Your procedure should be able to be used as follows: repeated(square,2)(5) = 625

Have fun! :marseytype:

None
9
What are some indisputable facts that get wingcucks angry (US edition)

I really only give a shit about leafland most of the time (and even then not really all that deep into politics lol) but I've come to the conclusion that to get people angry online I need to say undeniable truths instead of my usual make shit up approach

Post undeniable truths that'd get wingcucks of either side angry :marseyexcited:

None

I have been into stoicism for a while and have been using it to cope with life but learning this info has made me second guess the entire philosophy. Now whenever I try to be stoic I think about Marcus sitting in the corner writing meditations while his wife gets brutalized by a gigachad gladiator. Now whenever I think about stoicism it seems like a cuck philosophy. Was Marcus really the adam22 of his time? How can I get over this?

:#marseyxd: :#marseyxd:

Beautiful bait

https://i.rdrama.net/images/17072776444903698.webp

:marseyme:

https://i.rdrama.net/images/1707277644587417.webp

Wait a christcuck destroyer was a cuck?

:marseytabletired2:

I feel like OP rn bros.

https://i.rdrama.net/images/17072776446536787.webp

Only if they happen to my people

:marseyagree:

https://i.rdrama.net/images/1707277644700592.webp

:soysnoo2:

https://i.rdrama.net/images/17072776447797668.webp

OK that is one way to purge the stain of being cucked.

:marseythinkorino:

https://i.rdrama.net/images/17072776448413215.webp

Because women are wonderful chud

https://i.rdrama.net/images/17072776449769263.webp

:soycrychicken:

None
Reported by:

Hello Dear.

I trust this message finds you well. Please take a moment to explore our diverse collection of websites, tailored to cater to your interests:

https://ambrsoft.com

https://justnaija.com

https://techktimes.com

https://filmdaily.co

https://www.nyxtbig.com

https://dotnettutorials.net

https://techbehindit.com

https://vinnews.com

https://tribuneonlineng.com

https://bioofy.com

https://lyricsdb.org

https://www.scoopearth.com

https://www.completesports.com

https://technosports.co.in

https://watchmoviesonline.in

https://www.wikistaar.com

https://xboxplay.games

https://thefrisky.com

https://theopinionatedindian.com

https://tribuneonlineng.com

https://www.trendyhiphop.com

If you don't like any of these websites, please let us know your preferences, and share your target URL so that we can easily deliver the website to you accordingly. Looking forward to your feedback - thank you!

Best regards,

[email protected]

None
76
Tag yourself. I'm the commune's little diapered up tardling

I'm a pig, and I smell bad. Mr. Smuther is my God, and that's what he says. He's always right. I kiss his butt. I suck everything down into my guts. I never shit. My body's greedy, there's nothing I can do about it. I'm bloated. I'm soft. I weigh 349 pounds. I'm fat scum. I despise myself. I'm sitting here in the pink pajama bottoms my mom gave me when I was fifteen. They still fit. I hate them, but I wear them. They're caked up around the crotch with various foods that I dripped and old sperm that I never wiped up. My sperm's sweet.

A lot of that sperm's there now because of Mr. Smuther, so I like it. I like to break it off in chunks and grind it between my fingers thinking about him. Then I feel disgusted with myself, but I like feeling that way for him. I'd like him to take a shit on my face while I lay on the sidewalk and people crowded around and laughed. He'd point down at my face and tell them how I deserved it, and they'd laugh again in agreement with him. I'd feel good, I like to feel good. I like to touch myself, especially when I pretend I'm someone else.

Sometimes in a restaurant I lose myself, I forget I exist. I sneak my hand up under my shirt and rub it, along the hair that collects around my bellybutton. The hair is soft, like the hair on a baby's head. I get hot and I can smell myself. I'm being smothered in my own armpit, then I c*m, but I don't feel anything. I discover a puddle of sperm in my crotch. I hurry and pay, then I leave, afraid they'll notice.

None
149
Quick update on the man who made the Taylor swift memes

https://i.rdrama.net/images/17063680345852344.webp

https://i.rdrama.net/images/1706368035647258.webp

This was his last post before going dark:

https://i.rdrama.net/images/17063680348806055.webp

Public enemy number 1

https://i.rdrama.net/images/17063682219487143.webp

https://i.rdrama.net/images/1706368035219848.webp

https://twitter.com/PopBase/status/1750988236682658218

https://i.rdrama.net/images/17063681183499906.webp

https://twitter.com/20Kylies/status/1750609904048472361

RIP my friend. I never even knew you, but you were a heck of a shit poster.

https://i.rdrama.net/images/17063680358225346.webp

None

@HoHoHotep 's Christmas wish came true today, he finally got this weird anime thing on the calendar! :marseychristmasparty:

https://i.rdrama.net/images/1703440144472246.webp

MERRY CHRISTMAS EVERYONE!!

Good luck today! Final calendar out tomorrow!

:reind#eer:

None
Reported by:
  • Corp : Impassionata Impersonata pls Banata
38
IMPASSIONATA CONGRESS BEGINS NOW

WELCOME

ONE AND ALL

TO THE FIRST SESSION

OF

https://i.rdrama.net/images/17012181922405634.webp

IMPASSIONATA CONGRESS


Esteemed colleagues,

Fellow citizens of the Vulgate,

Happy chewers of dewy sewers

And other neat stuff like that;

I COME TO YOU BECAUSE THE REPUBLIC IS IN PERIL

FAITH IN OUR CIVIC RELIGION IS FALLING SHORT

and some, in their desperation, turn to failed methods of the past in order to seek the

CHANGE

WHICH

MUST

ARRIVE

:#otimes:

Thus do I bind a circle on those collected here,

The Registry of Impassionatas!

:#doot:

~ keep it light

because it's heavy ~

@Impassionata

@Impassionata3

@Impassionata4

@impassionata_z

@Impassionata7

@Impassionata2

@Imfascionata

@ImpassionataVoter

@impassionata_but_cool

THESE VOLUNTEERS SHALL NOW DELIBERATE ON SUBJECTS OF GREAT IMPORTANCE.


As presiding Impassionata, I hereby open the floor. Any citizen may submit their public comment to the body politic.

@Impassionata3 will please ring the gong. It is also appropriate at this time to thank @Impassionata4 for the image above.

None
47
Steam Deck must haves?

Just looking for something for the weekend. Preferably something short. These games have been good to me:

  • Bioshock Infinite

  • GTA 4

  • He Fricked The Girl Out Of Me

  • Jusant

  • Max Payne 2

  • Neverending Nightmares

  • Quantum Break

  • Shadow of the Tomb Raider

  • Tell Me Why

  • Goodbye Volcnao High

  • Mirror's Edge

Is Pentiment any good? It looks cool.

None
22
[MEGATHREAD] Emoji requests and commissions

Describe a site emoji you want to commission and how much you are willing to pay for it as a parent comment on this thread. It would help to include at least one reference image with your description.

https://i.rdrama.net/images/1700859151069465.webp

Commissioners stand to gain the Patron of the Arts badge!

!marseyartists should subscribe to this thread to print DC

None
Reported by:
40
there's really only one way to address wealth inequality and it's simple

take the money away from the people who have too much.

don't listen to their whining, their excuses.

they look at this sort of talk as biting the hand that feeds them because by their ideology, they're the hand that feeds (even though if you notice, they're the hand that takes).

but by their own ideology, they're failing to feed people.

so since they've failed, it's straightforward. if you have assets valued at above a cool million, you lose those assets and they become distributed and a new round begins.

there really isn't any other way this ends that's legal to speak about.

None
Reported by:
  • PermaChudRanch : Is this gonna be an ambatukam tribute video? That would be cool
28
I JUST POSTED A VIDEO OF ME JERKING OFF

VIDEO: https://rdrama.net/post/209880

None

Potential sites to farm drama :marseytroublemaker:

None
41
:marseyburn: prepare your CPU :marseyburn: :redlight: GENERAL CODECEL/CSS BOUNTY THREAD. GET IN HERE WEBSHITTERS. :marseycoin::marseycoin::marseycoin:200DC:marseycoin::marseycoin::marseycoin: CSS REWARDS :redlight:

Hello. this is a thread dedicated to showcasing the wacky and :marseydanc#e: quirky effects that can be achieved with CSS/HTML shittery.

HOW DO I GET THE MONEY? :marseyexcited:

:m#arseyhacker: you need to do cool shit that hasn't been shown off in the thread, epic style. Post it in the thread! That's it! if it's new, and hasn't been showcased, you'll get 100DC.

if it's certifiably epic, you'll get a 100DC bonus

https://i.imgur.com/BMSSPFJ.jpeg If you explain what the arguments for any given thing does, (and there's no suitable explanation in the thread already) you'll get a 50DC bonus! Documentation is important :marseywholesome:


What DOESN'T count:
  • anything sufficently covered in https://rdrama.net/formatting . I'm not paying you to show me how to bold things or some gay shit :marseyindignant:

  • Anything that repeats an existing thing. if someone shows off a marquee (though I already showed them off in the thread so no money for that :marseycheeky: ), putting a dozen of them together to make an r-slured pattern is NOT new.

  • you are however encouraged to post any wacky patterns/things you make even if they're duplicated . if I like them I may give you money anyway

  • Anything I deem not worth my money even if it follows the above rules

  • anything posted by carp

!codecels get your MONEY

Link copied to clipboard
Action successful!
Error, please refresh the page and try again.