abcdw, to random
@abcdw@fosstodon.org avatar

Lack of a built-in associative array/map in Scheme regularly hits and bothers me. It's so generic and so useful, maybe we will add it in r8rs?

Alists doesn't work here not only for performance reason, but because we can't distinguish empty list and empty alist.

daviwil, to scheme
@daviwil@fosstodon.org avatar

In this video, I'll give you 5 reasons why I think you should learn Scheme this year! Regardless if you are a programming beginner or an expert hacker, there is a lot to be gained from learning this language.

Would love to hear your thoughts!

https://www.youtube.com/watch?v=3eXK9YZ0NjU

rml, to programming
@rml@functional.cafe avatar

I think something the scheme community could learn from Haskell is to lean-in on it's prestige. I see so many people post about how they were never able to figure out how to use scheme in any practical way, and most schemers I've spoke to said it took them about a year to get really compfortable. But I think the #scheme community has traditionally advertised it as "so easy, you can learn it in an afternoon!", and so people, often times already coming from some other #lisp like #clojure, expect to be able to just pick it up, and when they fail to they think the language is lacking. But nobody comes to #Haskell with such expectations, and the Haskell community never advertised it as super easy and quick to learn. In my experience, Haskell has always been sold as "takes time to learn, but is worth it".

rml, to programming
@rml@functional.cafe avatar

Cue quarterly community meltdown

To be fair, I think Haskell will continue to fill the niche it filled ~10 years ago, around the time it started to get mainstream hype. Small teams of skilled devs delivering robust products that would normally require much larger teams to maintain will continue to prevail. Purely functional lazy programming was never bound for world domination in an economy which is antagnostic to curiosity, creativity and truths.

On the other hand, I have the feeling that we're going to see more and more Haskellers-turned-Rustaceans come to realize that does little to alleviate the primary barrier to Haskell's wider success -- fast and predictable turnaround time for projects developing cutting-edge technologies -- and will wind up going the same route as some major Haskell projects such as and have in recent years, which is to try Scheme, only to discover that it allows them to release blazing fast functional programs on a generic foundation where major breaking changes are practically non-existent, providing incredible flexibility while significantly reducing dependencies by dint of the ad-hoc tooling that falls out of the bottom of . Not to mention the joys that come from near-instant startup times, some of the fastest compile time you've ever encountered, fully-customizable interactive development and a surgical that rivals Haskell in scheer fun. Yesterdays naysayers will become tomorrow's enthusiastic bootstrappers. Or a at least a boy can dream.

That said, in all seriousness I don't think Scheme will ever reach the heights of Haskell's moderate commercial success. But I do think that projects built on Scheme, like Unison, will get a leg up and eventually surpass it, and interest in will only grow.

https://nitter.net/graninas/status/1656519682822746113?cursor=NwAAAPAoHBlWgoCxgZ7Grf0tgsCz2c64l_0tjIC2pczQo_0thIC9xfeLvv0tgoCx4eq3tv0tJQISFQQAAA#r

daviwil, to emacs
@daviwil@fosstodon.org avatar

If you've got questions about Emacs, Guix, Guile, or other related topics and want a friendly place to ask them, come check out the new System Crafters Forum!

https://forum.systemcrafters.net

Things are a little bare for now, so feel free to come introduce yourself and tell us about something cool you've been working on lately :)

More information in the news post: https://systemcrafters.net/news/new-system-crafters-forum/

masukomi, to Lisp
@masukomi@connectified.com avatar

I miss lisp.

I'm writing these hashes of hashes of whatever in ruby and thinking.... golly i wish i was using lisp.
...
That being said, i !@#$! hate every hash/dictionary implementation i've ever encountered in a lisp or scheme.

100% writing macros to give me ruby/pythonish dictionary interactions.

If you know of a lisp that does this well PLEASE let me know.

rml, to random
@rml@functional.cafe avatar

McCarthy is like the of , while Sussman & Ableson are his & Engels.

"Means of abstraction", "means of combination"... substitute the dialectical method with the substitution method...

...they were brewing up a revolution, and they knew good & well what they were scheming.

rml, to random
@rml@functional.cafe avatar

Me on the fediverse

rml, to scheme
@rml@functional.cafe avatar

Why calculating is better than scheming

A critique of Abelson and Sussman
Philip Wadler

https://www.cs.kent.ac.uk/people/staff/dat/miranda/wadler87.pdf

rml, to scheme
@rml@functional.cafe avatar

I wanna say that the magic of is that it allows you to rapidly develop toy models of novel programs that you're unlikely to encounter without it (due to its unparalleled flexibility), but I worry that risks perpetuating the idea that its a toy language, which is anything but the case.

toy models are at the heart of many of modernity's greatest breakthroughs, and I'm yet to encounter another language that offers the flexibility of thought required to live up to the name.

rml, to Lisp
@rml@functional.cafe avatar

Whats a good server with cool hackers who are accepting of BDS activists? I just found out thats off topic here, with lots of ppl complaining. I 90% just post about & , but when political events involving movements im apart of crop up, I dont want to want to hold my tounge.

abcdw, to scheme
@abcdw@fosstodon.org avatar

One more reason why it's hard to use alists as associative data structure: There is no built-in destructuring capabilities for it. It seems (ice-9 match) is no help here. Situation becomes even worse if we have a nested data structure.

Going to stack a bunch of let+assoc-ref's I guess.

rml, to haskell
@rml@functional.cafe avatar

: composable code
: decomposable code

ryuslash, to guix

Feeling silly, so I'm replacing all lambda' occurrences in my #guix home configuration with λ' because nobody can tell me what to do! :ac_happy:

I would feel awkward doing this in a project shared with anyone, but I'm not sure why... I feel like this will break things somehow, or present unforeseen challenges...

rml, to rust
@rml@functional.cafe avatar

size: 343Mb*
size: 1Gb
size: 1.4Gb
size: 1.7Gb

size: 5mb

[ * ] all based on the results of using size, removing common and documentation-based dependencies such as ncurses, bash, and zlib

rml, to scheme
@rml@functional.cafe avatar

a month or so ago I posted that the compiler is only 5mb. it turns out that I was wrong, so I want to correct the misinfo.

chez is actually 315kb

avp, to scheme
@avp@fosstodon.org avatar

I'm pleased to announce Guile-PNG version 0.7.2:
https://github.com/artyom-poptsov/guile-png/releases/tag/v0.7.2

Guile-PNG is a pure Scheme PNG (RFC 2083) format parser for GNU Guile.

The library allows to create, read process and write PNG images.

#gnu #guile #png #parse #scheme #library

abcdw, (edited ) to random
@abcdw@fosstodon.org avatar

During the following month I want to make a few pair programming sessions (one, maybe two per week) with different people.

  1. To work more focused on particular tasks and projects.
  2. To see how other people work and learn from peers.
  3. To share some experience.
  4. To cleanup and optimize inefficient workflows.
  5. To talk with folks in person, not only via toots/emails.

Like 2 hours informal coding session.

Toot if you would like to hack with me on your task or mine! :)

Preferably .

abcdw, to guix
@abcdw@fosstodon.org avatar

One of the most popular distributions based on GNU Guix turned 3000 commits, wow!

https://sr.ht/~abcdw/rde/
https://github.com/abcdw/rde

abcdw, to emacs
@abcdw@fosstodon.org avatar

I fought FOMO (fear of missing out) so hard that I missed my Q&A for EmacsConf 2023 (:

The talk was about Guile Scheme IDE:
https://emacsconf.org/2023/talks/scheme/

I would really love to hear your feedback and questions, so if you have some, post it here or reach me out via https://trop.in/contact

Kudos to @sachac and the organizers team for making such a great conference.

ramin_hal9001, to random
@ramin_hal9001@emacs.ch avatar

"Oh good, finally some free time! Now I can try writing that code in that I have been wanting write for months!" I say to myself.

(Opens new ".scm" file, M-x geiser-guile<RET>)

"...There. Now I will just open the Guile info-docs in and oh yes, there is the section on HTTP servers..."

(4 hours later...)

  • 40 sections down the reference manual rabbit hole
  • 10 tabs open at Akku
  • 0 lines of code written

"Oh, cool. the guile-lib package has an asynchronous message queue! I can use that... Hmm, it seems there are a few different efforts on Akku to pull in a bunch of portable code into a single library. I had better bookmark these... oh, wow, Guile 3.0 has SRFI-171 (Transducers) built-in now! Amazing! I need to rewrite that algorithm I wrote last time to use Transducers... Oh wow, so when you parse XML you don't need to parse the whole structure into memory, you can use Oleg Kiselyov's SSAX framework and just supply callbacks that are triggered as each part of the tree is parsed, discarding the parts you don't need... so now how do you... oh, NOW I get it! So the (cond ((VALUE GUARD => LAMBDA))) syntax specified in SRFI-61 lets you test the value then applies it to a function if the test passes! So you can combine that with things like Transducers and SSAX to create super-advanced queries over various data structures... now this is starting to make sense..." (falls asleep at desk)

rml, to random
@rml@functional.cafe avatar

me watching #clojure talks as a schemer

#lisp #scheme

rml, to programming
@rml@functional.cafe avatar

"The focus of my research is applying , in particular , to low-level problems — the type of situations that usually call for or #c"

— highly recommended talk on programming with serialized data from @vollmerm @

https://www.twitch.tv/videos/1803057942

mjgardner, to webdev
@mjgardner@social.sdf.org avatar

Ouch @gruber. “Browser rendering is surprisingly resource-intensive — partially because modern , , and are remarkably complex, and partially because most web are remarkably untalented and careless .” https://mastodon.social/@daringfireball/111365357800033072

Glad I’m mostly . We sweat the cycles because they’re on our dime.

FYI I’ve done since before lured @BrendanEich with the false promise to “put in the browser.”

rml, to CSS
@rml@functional.cafe avatar

I'm a book learner. I feel like I can learn anything that there is at least one incredible book dedicated to, but without literature I can sink my teeth into, I will never succeed in picking up a new skill distinct from those I already possess.

TLDR: looking for a genuinely good book that gets into the meaty bits and doesn't treat the reader like toddler.

Around the time of covid, I decided I was going to tear down my react website that I hated ever since it went up, and build it with just HTML & CSS. So I did what any yak shaver would do, and built an ad-hoc CSS preprocessor in , without knowing anything about modern CSS. And it worked well enough at first, but in the process I started to learn about all the new features of CSS (I'm not a webdev), and so I figured I should first dive in and then design a DSL that enables "Graphic Design By Wishful Thinkful", originally intending to use for relational styling & generative design patterns. But every CSS book I tried was simply "do this example and another one, and another, accumulate lots of examples without any insight into CSS design strategy", and my AuDHD can't handle that — I need something worth fixating on or I'm doomed. And thus I've gone without a website for years, and accumulated lots of blog entries in my zettlekasten which I still have yet to share.

But I also can't let go of the idea of creating a system that would make a JS-free website enjoyable for me to maintain, and I've always found writing CSS to be painfully tedious and time consuming, a google oriented configuration process, while I also recognize how powerful it is.

And I also have genuine aesthetic/design skills! I've been hired to create installations for Hermes, Adidas, Nike, and countless others, all around the world. My "art" has been shown at the Venice Biennale, Art Basel, and countless major venues from Pioneer Works to the Brooklyn Museum (before public funds became illegal to grant to BDS activists, and I subsequently dropped out of an art world that will readily obey and tally the State's red lines we cross and work to keep us in check, excluding not only BDS activists but also Marxist-Leninists, Korean unification activists and other uncompromising dissidents). But I havent found any good book that makes CSS interesting, although I believe that it genuinely is.

So what is the best resource for getting deep with modern CSS? Does it even exist?! I feel like it must.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • modclub
  • everett
  • rosin
  • Youngstown
  • slotface
  • ethstaker
  • mdbf
  • kavyap
  • osvaldo12
  • DreamBathrooms
  • anitta
  • Durango
  • ngwrru68w68
  • tester
  • khanakhh
  • love
  • tacticalgear
  • cubers
  • GTA5RPClips
  • Leos
  • normalnudes
  • provamag3
  • cisconetworking
  • JUstTest
  • All magazines