#clojure
---
RT @ikitommi
Clojure looking good with Malli + Cursive + Clojure Extras + Clj-kondo. Which syntax do you prefer? https://github.com/metosin/malli/blob/master/docs/function-schemas.md#defining-function-schemas
https://twitter.com/ikitommi/status/1480215765143932931
I understand how those foreign to Lisp and #Clojure can find things like this scary, but when it becomes associated with the ease of structural editing and scope clarity, you might actually find it beautiful.
Great pretty alternatives, but at the huge cost of losing composition capability
---
RT @threadreaderapp
@mwarkentin Bonjour, the unroll you asked for: Life is to short to use dated cli tools that suck Try these instead 🧵… https://threadreaderapp.com/thread/1479328649820000256.html Enjoy :) 🤖
https://twitter.com/threadreaderapp/status/1479815411948560386
As a keyboard-driving computer user, I have spent time customizing my cursor. I have often said I consider it the pulse of my computer. Apparently this writer heard me. https://www.inverse.com/innovation/blinking-cursor-history
RT @programmerjoke9
Works like a charm#100Daysofcode #javascript #programming #dev #linux #java #programming #CodeNewbie #python #reactjs #bugbounty #DataScience #infosec #gamedev #BigData @programmerjoke9
@xarvos I don't know that one
@cosas
Everything about this post is factually incorrect.
For starters wealth is not equivelant to planetary resources nor is the quantity of all resources fixed. For example if i buy a farm and breed cows im increasing the number of cows and therefore creating wealth/resources that didnt exist before. Further i might be a seller of farm tech and invented and sold some technology that enables a person to support more cows on less land. Wealth creation is not and has never been directly dictated by the quantity of resources as if it were a fixed value
Second the idea that most of the rich come from affluent backgrounds is factually false. The majority of the rich, in fact, come from poor and middle class homes, ive cited several sources on my page proving this in the past.
The reason the rich dont destroy world poverty is several reasons, one is that wealth can be destroyed just as it can be created. So if they truly dumped all their monry into the poor, since these people are for the most part people with bad monry habits, it would destroy most of the worlds wealth and put us all in poverty. Second, there wouldnt be even close to enough money to solve the problem long term anyway, at best it would fix the problem for a short time. The only way to fix the problem is to get the poor to have good money habits so thry become wealth generators rather than wealth destroyers, this is a complex problem to fix.
Updating a previous post. Things I've learned awkwardly late: display connections (like HDMI) take considerable power to operate the connection (not even the device), and arandr is an extremely easy and useful tool over raw xrandr. https://orys.us/t-
#HTML developing, editing dirty HTML produced by a Word Perfect export, is so much better with #Clojure hiccup and structural editing. This is a powerful, easy, much less repetitive solution. As someone who has done his fair share of HTML editing (even with good tooling!) I can definitively say, this is how HTML was meant to be.
- syntax far cleaner. `[:div.someclass ,,,]` instead of `<div class='someclass'> ,,, </div>`
- Clojure comment syntax, #_ for commenting out an entire branch of the dom, or just an arg of an HTML element
- Lisp structural editing: lisp syntax is ideal for manipulating trees like the DOM. Add, remove, translate DOM sections, easily moving a complex many-branched element to/from within another many-branched element, never worrying about missing a tag closing or misplacing an opening.
- Reagent bonus: have React.js' help informing you about problematic structures
- Reagent + Figwheel/Shadow bonus: watch your html changes instantly shown in your other browser an the side
RT @the_lazy_folder
I'm not going to do a year-in-review blog post. I'm just going to say.
#Clojure changed my life.
It was the one of the best decisions I made in my life.
My only regret is that I didn't learn it sooner.
RT @enigma2a
#Clojure has been life changing for me too. I’ve been on the Clojure path for 6 years and counting. The benefits of immutability run far deeper than I would have guessed when I first started. It changes how you solve problems, and that affects all aspects of development! https://twitter.com/the_lazy_folder/status/1476746158793900033
@veer66 @aeveltstra @yogthos@mastodon.social So, are functional languages the only ones that have immutability? I'm not sure...
@PsychoCod3r Yes, but Twitter does all kinds of occult stuff to factor those in to algorithms that determine which stuff is prioritized on your feed, with the end result that things retweeted by people are more likely to be seen by others, even discounting friend status
It isn't mentioned much, but Clojure's form comment syntax is absolutely fantastic. With a `#_` you can comment out a sexps which are valid #Clojure syntax, but no good for some other reason. It makes regexp find-replace great for removing things breaking my reagent (reactjs) manufactured code.
Full Stack Clojure web app engineer