Posts by m455b@tiny.tilde.website
(DIR) Post #9tuFlRXTyhzpBkXV7Q by m455b@tiny.tilde.website
2020-04-10T16:11:14Z
0 likes, 0 repeats
anyone know the best way to handle #scheme vectors that contain dotted pairs like the ones in this pic?edit: this is what the json-read procedure from #chickenscheme 's json egg converted json to.i feel like abstracting using a bunch of `vector-ref`s and `car`s and `cdr`s probably isn't the right way, but i'm not sure.#advice
(DIR) Post #9tv5NPGdy398oGWTQ0 by m455b@tiny.tilde.website
2020-04-10T16:40:08Z
0 likes, 0 repeats
@clacke yeah i was hoping for hashes! i was able to use racket's json library because it just converts everything to hashes.thanks for the tip! i'll investigate assq :Di'm trying to retrieve values by the way
(DIR) Post #9tvHe8jTtbpbttkz0i by m455b@tiny.tilde.website
2020-04-10T18:35:44Z
0 likes, 0 repeats
@rain1 so in scheme it's idiomatic to adjust your procedures to different data structures?this isn't supposed to sound like i'm being a smartass, i genuinly want to know, because i'm a newbie at this stuff! <3
(DIR) Post #9tvLMh8tcbPDE1a784 by m455b@tiny.tilde.website
2020-04-11T03:39:13Z
0 likes, 0 repeats
@clacke thanks!!
(DIR) Post #9tw3IxlwFMR9cssFjk by m455b@tiny.tilde.website
2020-04-11T13:11:39Z
0 likes, 0 repeats
@clacke @rain1 thank you so much! Naming conventions and dealing with nested data in scheme is exactly when I have been scratching my head over for months, like I knew how to do it messily, but for being idiomatic, I couldnt find anything!This is so valuable to me!
(DIR) Post #9uY3DMGweKIiMgjAxM by m455b@tiny.tilde.website
2020-04-29T17:06:20Z
0 likes, 0 repeats
if you're gonna be a dick replying to someone's harmless post, then don't fucking reply, and most importantly, don't be a dick
(DIR) Post #9uYlG3IC4JBCLsPGYC by m455b@tiny.tilde.website
2020-04-30T01:45:18Z
1 likes, 0 repeats
@amic you two are adorable <3
(DIR) Post #9uhudPD7am9XnWb1EW by m455b@tiny.tilde.website
2020-05-04T14:33:51Z
8 likes, 6 repeats
what have i done to emacs
(DIR) Post #9uhvzRUdszrJCarZs8 by m455b@tiny.tilde.website
2020-05-04T15:52:17Z
1 likes, 0 repeats
@Meeper hahaha
(DIR) Post #9ukj0D8A3UtF17GPIm by m455b@tiny.tilde.website
2020-05-05T23:27:20Z
0 likes, 1 repeats
im making some cute af recursion
(DIR) Post #9uwPF7sovy949xlzEG by m455b@tiny.tilde.website
2020-05-11T15:00:16Z
1 likes, 0 repeats
@siina yesss
(DIR) Post #9uwdtuJvfCRrKJnDzU by m455b@tiny.tilde.website
2020-05-11T18:03:19Z
0 likes, 1 repeats
ahh i figured out how to shorten a bunch of hash-refs using the `map` and `hash-keys` procedures
(DIR) Post #9uwdtufuLU1sQU4mFU by m455b@tiny.tilde.website
2020-05-11T18:09:50Z
0 likes, 1 repeats
@technomancy friends don't let friends write bad lisp code
(DIR) Post #9uxGIeFIMXdyyAqkcK by m455b@tiny.tilde.website
2020-05-11T19:07:02Z
0 likes, 1 repeats
i love that you can have multiple bindings in racket's `for` procedure!using it to populate multiple files with different contents!
(DIR) Post #9uxeLCY4C7ROpwNe9g by m455b@tiny.tilde.website
2020-05-12T03:05:50Z
0 likes, 1 repeats
racket-mode's `racket-base-requires` command is technology's gift to people
(DIR) Post #9v4y2Py2bX2CsMdg80 by m455b@tiny.tilde.website
2020-05-15T18:23:23Z
0 likes, 0 repeats
hold on, let me program my personal computing device
(DIR) Post #9vE85WHkJqCNIrc4Ho by m455b@tiny.tilde.website
2020-05-20T03:53:09Z
0 likes, 0 repeats
Hmmm okay, so quasiquote quotes things like quote, but if an unquote exists, it will evaluate it, and if an unquote-splicing exists, it will evaluate a list and "break it apart", which is how flattening probably works? i think i'm getting this stuff!!
(DIR) Post #9vE88tobI9fB9Hal0q by m455b@tiny.tilde.website
2020-05-20T03:57:50Z
0 likes, 0 repeats
oh god you can also make cons with this too`(,@some-list "new item") holy shit brain expansion meme
(DIR) Post #9vMP30rZRM9tjis7Xs by m455b@tiny.tilde.website
2020-05-22T03:44:31Z
0 likes, 0 repeats
this is definitely generated from an @insom markov chain
(DIR) Post #9vVvolXKfkUN3frKMK by m455b@tiny.tilde.website
2020-05-27T23:43:12Z
1 likes, 0 repeats
the fediverse should just make a bunch of low key shit-posting accounts on linkedin, it's way too professional right now