Pohon BBS: recent posts Anonymous https://bbs.gikopoi.com/recent 2026-09-13T16:35:36+00:00 HomePage revision https://bbs.gikopoi.com/thread/1717870466/#1:11 2026-09-13T16:35:36+00:00 2026-09-13T16:35:36+00:00 ----<br>**Special pages:** [All Pages](/w/all) , [Recent Changes](/w/recent) , [Popularity](/w/popular), [Random](/w/random), [Atom feed](/feed.atom)<br><br>----<br>Welcome to WikiWikiWiki, an<br>[open source](https://github.com/153/wikiwikiwiki/) project sponsored by the<br>GikoPoi community.<br><br>We are the original c2 WikiWiki [[cloan]] for the VipQuality community, being<br>a continuation of 4x13's ThisWiki. This is meant to be a wiki that can be<br>edited by nearly anyone who wants to, with little to no friction! The tone<br>is meant to be informal. After solving the CAPTCHA, check out the MarkUp<br>guide, and then have at it.<br><br>Please keep in mind that WikiWikiWiki is NOT a WikiWiki'Wiki. Go to<br>[Meatball Wiki](http://meatballwiki.org/wiki/) if you are into that kind<br>of thing. We are something more like TanasinnWiki back in its glory days. <br><br>Wiki discussion: [Pohon BBS](https://bbs.gikopoi.com/tags/wiki/)<br><br>Advice for writing: WritingPhilosophy New reply https://bbs.gikopoi.com/thread/1710882439/#1:12 2026-09-10T08:23:05+00:00 2026-09-10T08:23:05+00:00 %%testing different implementation of spoilers%%<br>%% test %%%<br>%%test test%%<br>%% %%<br>%% test%% exercise 1.3 https://bbs.gikopoi.com/thread/1788895112/#1:4:18 2026-09-09T20:55:03+00:00 2026-09-09T20:55:03+00:00 %%%<br>[(define (square a)<br> (* a a))<br><br>(define (smallest x y z)<br> (if (< x y)<br> (if (< x z) x z)<br> (if (< y z) y z)))<br><br>(define (procedure x y z)<br> (- (+ (square x)(square y)(square z))(square (smallest x y z))))<br><br>(procedure 7 10 10)]<br>%%% New reply https://bbs.gikopoi.com/thread/1710882439/#1:10:11 2026-09-09T16:32:09+00:00 2026-09-09T16:32:09+00:00 %%%<br>test spoiler again<br> <br>one two<br> <br>three four <br>%%% New reply https://bbs.gikopoi.com/thread/1710882439/#1:10 2026-09-09T16:31:09+00:00 2026-09-09T16:31:09+00:00 %%%<br>test spoiler<br><br>test<br>%%% epic phail https://bbs.gikopoi.com/thread/1788895112/#1:4:13:14:16:17 2026-09-09T15:35:08+00:00 2026-09-09T15:35:08+00:00 Fixed the fix<br><br>%%#lang sicp%%<br><br>%%(define (square x) (* x x))%%<br><br>%%(define (sicp_ex_1.3 x y z)%%<br>%% (+%%<br>%% (if (= x y z) 0%%<br>%% (if (< x y) (if (< x z) 0 (square x)) (square x))))%%<br>%% (if (< y x) (if (< y z) 0 (square y)) (square y))%%<br>%% (if (< z y) (if (< z x) 0 (square z)) (square z)))%%<br> <br>%%(sicp_ex_1.3 1 2 3)%%<br>%%(sicp_ex_1.3 2 2 2)%%<br>%%(sicp_ex_1.3 2 1 0)%% fix ex 1.3 https://bbs.gikopoi.com/thread/1788895112/#1:4:13:14:16 2026-09-09T15:27:28+00:00 2026-09-09T15:27:28+00:00 summed all 3 squares if x y z were the same. added a check to just force one variable to zero if all the numbers were equal so theres probably a more elegant solution :P. Code:<br><br>%%#lang sicp%%<br><br>%%(define (square x) (* x x))%%<br><br>%%(define (sicp_ex_1.3 x y z)%%<br>%% (+%%<br>%% (if (= x y) 0 (if (= x z) 0%%<br>%% (if (< x y) (if (< x z) 0 (square x)) (square%% %%x))))%%<br>%% (if (< y x) (if (< y z) 0 (square y)) (square y))%%<br>%% (if (< z y) (if (< z x) 0 (square z)) (square z))))%%<br> <br>%%(sicp_ex_1.3 1 2 3)%%<br>%%(sicp_ex_1.3 2 2 2)%%<br>%%(sicp_ex_1.3 2 1 0)%% corrected exercise 1.3 https://bbs.gikopoi.com/thread/1788895112/#1:4:13:15 2026-09-09T15:22:45+00:00 2026-09-09T15:22:45+00:00 %%%<br>Updated to catch PhatCat's fix -- if x, y, and z are the same<br>value, the code does not work<br><br>(define (square x) <br> (* x x)) <br>(define (sum-squares x y) <br> (+ (square x) (square y))) <br> <br>(define (sum-greater-squares x y z) <br> (if (> x y) <br> (if (> y z) <br> (sum-squares x y) <br> (sum-squares x z)) <br> (if (> x z) <br> (sum-squares y x)<br> (if (= x y z)<br> (sum-squares x x)<br> (sum-squares y z)))))<br>%%% Spoiler hack (temporary) https://bbs.gikopoi.com/thread/1704245584/#1:49 2026-09-09T05:15:06+00:00 2026-09-09T05:15:06+00:00 I am too lazy to make a proper "spoiler field" (similar to markdown's<br>code fences) to spoiler-ify multiple lines of text right this second, so if <br>you need to make an entire post a spoiler post, do it exactly like this:<br><br>%%%<br>The text you want to hide across multiple<br>lines -- the entire body of a post<br>%%%<br><br>That's 3 %'s at the very start of a post,<br>immediately press enter to break the line,<br>everything else,<br>enter,<br>3 %'s again with nothing following. <br><br>Later I'll probably just add a [ ] Spoiler checkbox but I've been up for<br>something like 30 hours and now is not the time for that. Be patient! <br>%%enjoy and use responsibly!%% New reply https://bbs.gikopoi.com/thread/1710882439/#1:9 2026-09-09T02:00:21+00:00 2026-09-09T02:00:21+00:00 %%%<br>%%%<br>test test<br>test<br>test<br>test<br>%%%<br>%%% New reply https://bbs.gikopoi.com/thread/1710882439/#1:8 2026-09-09T01:58:36+00:00 2026-09-09T01:58:36+00:00 %%%<br>Testing the laziest<br>possible implementation<br>of multi-line spoilers:<br>first line is EXACTLY %%%, newline,<br>last line is EXACTLY %%%, nothing else<br>%%% New reply https://bbs.gikopoi.com/thread/1710882439/#1:7 2026-09-09T01:57:31+00:00 2026-09-09T01:57:31+00:00 %%%<br>test<br>%%% Excercise 1.3 https://bbs.gikopoi.com/thread/1788895112/#1:4:13:14 2026-09-09T01:43:46+00:00 2026-09-09T01:43:46+00:00 My attempt at exercise 1.3. it took me a long time as most of my attempts made code that excluded anything that wasn't the maximum number, so i guess finding the "middle" number is what makes this challenging. my first attempts were checking each variable against the others individually (mistake). if x>y then output x otherwise 0, if x>z output x otherwise 0 then multiply both outputs, repeat for each variable (rather silly in retrospect). After this i decided to only compare to the third variable if the first check failed and directly compute the square if the variable wasn't the minimum. Code below:<br><br>%%#lang sicp%%<br>%%(define (sicp_ex_1.3 x y z)%%<br>%% (+%%<br>%% (if (< x y) (if (< x z) 0 (* x x)) (* x x))%%<br>%% (if (< y x) (if (< y z) 0 (* y y)) (* y y))%%<br>%% (if (< z y) (if (< z x) 0 (* z z)) (* z z))))%%<br>%% %% <br>%%(sicp_ex_1.3 1 2 3)%%<br>%%result was 13 so it worked%% exercise 1.3 https://bbs.gikopoi.com/thread/1788895112/#1:4:13 2026-09-08T21:50:10+00:00 2026-09-08T21:50:10+00:00 %% (define (square x) %%<br>%% (* x x)) %%<br>%% (define (sum-squares x y) %%<br>%% (+ (square x) (square y))) %%<br>%% %%<br>%% (define (sum-greater-squares x y z) %%<br>%% (if (> x y) %%<br>%% (if (> y z) %%<br>%% (sum-squares x y) %%<br>%% (sum-squares x z)) %%<br>%% (if (> x z) %%<br>%% (sum-squares y x) %%<br>%% (sum-squares y z)))) %%<br>%% %%<br>%% (sum-greater-squares 1 2 3) %%<br>%% (sum-greater-squares 4 2 3) %%<br>%% (sum-greater-squares 5 1 0) %%<br> New reply https://bbs.gikopoi.com/thread/1710882439/#1:6 2026-09-08T21:48:46+00:00 2026-09-08T21:48:46+00:00 test<br><br>%%%<br>test<br>test<br>test<br>%%% New reply https://bbs.gikopoi.com/thread/1788895112/#1:3:12 2026-09-08T20:11:17+00:00 2026-09-08T20:11:17+00:00 Famous article by a guy who used Lisp to become a billionaire :<br><br>> Graham, Paul. "The Roots of Lisp." (2001) 15pp <br>https://wiki.eecs.yorku.ca/course_archive/2014-15/W/6339/_media/jmc.pdf<br><br>discusses how 7 primitives became the meta language some sample lisp code https://bbs.gikopoi.com/thread/1788895112/#1:3:11 2026-09-08T19:51:10+00:00 2026-09-08T19:51:10+00:00 (define pi 3.14159265)<br>(define (square x) (* x x))<br><br>(define (volume-of-cone radius height)<br> (* pi (square radius) (/ height 3)))<br><br>(define my-cone-volume (volume-of-cone 1 2))<br><br>my-cone-volume<br>=> 2.09 outputs color based on stats (hopefully) https://bbs.gikopoi.com/thread/1788895112/#1:3:10 2026-09-08T19:37:11+00:00 2026-09-08T19:37:11+00:00 (define (clouds_color strength intelligence Defense)<br>(define red strength)<br>(define blue intelligence)<br>(define green defence)<br>(list red green blue))) % gives RGB color (idk how to/<br> if its even possible for lisp to output a color) Chapter 5 https://bbs.gikopoi.com/thread/1788895112/#1:9 2026-09-08T19:30:51+00:00 2026-09-08T19:30:51+00:00 > Computing with Register Machines<br><br>https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/book-Z-H-30.html#%_chap_5 Chapter 4 https://bbs.gikopoi.com/thread/1788895112/#1:8 2026-09-08T19:29:38+00:00 2026-09-08T19:29:38+00:00 > Metalinguistic Abstraction<br>https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/book-Z-H-25.html#%_chap_4 Chapter 3 https://bbs.gikopoi.com/thread/1788895112/#1:7 2026-09-08T19:28:36+00:00 2026-09-08T19:28:36+00:00 > Modularity, Objects, and State<br><br>https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/book-Z-H-19.html#%_chap_3 Chapter 2 https://bbs.gikopoi.com/thread/1788895112/#1:6 2026-09-08T19:27:34+00:00 2026-09-08T19:27:34+00:00 > Building Abstractions with Data<br>https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/book-Z-H-13.html#%_chap_2 phatcat power level formula (first scheme test) https://bbs.gikopoi.com/thread/1788895112/#1:3:5 2026-09-08T19:24:34+00:00 2026-09-08T19:24:34+00:00 (define phatcat_powerlevel 1200)<br>(define unlocked_potential 500)<br>(define (phatcat_bulky_transformation x y) (* 1.2 (+ x y)))<br>(phatcat_bulky_transformation phatcat_powerlevel unlocked_potential)<br> Chapter 1 https://bbs.gikopoi.com/thread/1788895112/#1:4 2026-09-08T19:21:18+00:00 2026-09-08T19:21:18+00:00 SICP chapter 1 <br>> Building Abstractions with Procedures<br><br>https://mitp-content-server.mit.edu/books/content/sectbyfn/books_pres_0/6515/sicp.zip/full-text/book/book-Z-H-9.html#%_chap_1 New reply https://bbs.gikopoi.com/thread/1788895112/#1:3 2026-09-08T19:20:17+00:00 2026-09-08T19:20:17+00:00 Random Scheme / Lisp / programming discussion that doesn't fit into<br>chapter discussion goes here....