mastodon.ie is one of the many independent Mastodon servers you can use to participate in the fediverse.
Irish Mastodon - run from Ireland, we welcome all who respect the community rules and members.

Administered by:

Server stats:

1.6K
active users

#racket

0 posts0 participants0 posts today

Did you know python 3.5 has a "math.isclose()" function that lets you get "close enough" for values? Relative and absolute tolerances.

I was reading about Racket which has a similar function called "check-=" and thought - huh, I wonder if Python has that.

And it did, but with a more "sane" pythonesque function name (sorry LISP you guys are fucking weird. I lova ya though)

It also turns out I needed this for my project right now - so serendipity!

Replied in thread

@susam coincidentally, I've been learning #racket and really, really liking it.

I like their focus on Racket being "a programmable programming language" or "a language-oriented programming language". And it does seem delightfully suited for writing DSLs.

Also, I think I am starting to understand macros! I have seen the light, I think...though I still don't have many ideas for how I'd use them in my own coding.

What kinds of macros have you written?

#Goals2025

Moving away from the constant upgrade cycle & moving closer to the ideals of #PermaComputing #MalleableSoftware

Design and setup a redundant system of old/used, cheap, low-power devices running ia: #Guix, #Linux, #FreeBSD, #macOS, #HaikuOS, #Plan9Front, #X11, #P9, #NFS, all working together

Become an expert on #MicroControllers #ESP32 #STM32 #RP2040 #MIPS #RiscV

DIY sensors which sing like birds to communicate their status

DIY robots "drones"

Move as much as possible of my computing needs to the #Terminal, #Emacs, #Rio #CLI #TUI #P9

Get an #3DPrinter and learn to use it

Design and build my own portable 8dot #braille terminal & try out if 3x3 or 3x4 dots is also workable.

Design and build my own low-power computers, their OS, and tools

Writing more of my own tools #DIY

#SmallTalk #ObjectPascal #Prolog #Scheme #Racket #CommonLisp #Haskell #Rust #Go #ObjectiveC #Swift

Deploy #LoRa #ReticullumNetwork #RNodes #MeshCore #Meshtastic

Start an #InternetResiliencyClub

Add #Tor, #I2P support by #WebProxy

#SolarPowered #SelfHost over #I2P, #OnionService #Blog #Wiki #Repositories #GopherHole #Darcs #Mercurial

#SelfHost my own #EmailServer, which will only accept email from #KnownServers #CommunityEmail #MutualEmailAcceptance

Share files via #BitTorrent over #I2P

DIY #HomeAutomation
DIY #GardeningAutomation
DIY #GreenHouse

Get a house cat, train the cat, use voice and gestures

Start asking money for advice & technology support

Build/program my own opportunistic and strange cryptocurrency miners #BTC, #XMR, #ZEC, etc #Art

#MakeMoreArt #LearnToDraw #Learn3DModeling #LearnGenerativeArt #LearnToComposeAmbientMusic

#ReCreateJottit #ReCreateInstikiWiki

#WriteMore #PublishMore #Letters, #Essays, #Missives, #Reports, #Treatise

Incessant pickleball pops infuriate some.

“It’s not a continuous noise, like the sound of the furnace in your house. That’s a continuous, background noise that we can get used to,” said acoustical engineer Ryan Skoug, with ESI Engineering in Minneapolis.

“Pickleball creates what we call a highly impulsive noise. It startles us. It triggers a fight-or-flight reaction in us.”

“I sort of jokingly compare it to a prehistoric man out walking in the woods, worried about lions or something else that might attack him,” he said. “He listens for that ‘crack’ of a twig or a stick, alerting him someone is getting close to him. It’s that ‘crack’ that we hear that makes it so alerting to us.”
startribune.com/pickleball-noi

www.startribune.com · Pickleball noise serves up drama, police calls in Twin Cities suburbsAs pickleball has exploded in popularity, it has sparked noise complaints, petitions and neighborhood feuds.

Racket folks: so I hear that Racket is good for making DSLs, and that it's a "programming language programming language".

For example, there's Scribble, for writing documents -- which I'd describe as "Racket's TeX": docs.racket-lang.org/scribble/

I want to learn a bit about this, and have an idea for a little DSL I'd like to make: it would describe hikes, walks, bike routes, etc -- any sort of 1-d path. It would describe waypoints, landmarks, elevation, directions, maybe alternate routes, and so on.

The neat thing would be "compilers" for such a DSL: imagine "compiling" such a hike/path into a regular map with the path...or an elevation profile...or a textual list of directions...or a GPX file.

#racket folks, what are some good resources for getting started? I'm poking around but would like to hear your thoughts.

docs.racket-lang.orgScribble: The Racket Documentation Tool