Email or username:

Password:

Forgot your password?
243 posts total
(λ. borkdude)

Good morning and get ready for another day of hard work transforming those pesky hash-maps! #clojure

(λ. borkdude)

Steven Wilson: The Modern Rock Producer youtu.be/03vThmG46A8 via @YouTube

Fun and inspiring interview on Rick Beato's channel

(λ. borkdude)

It turns out writing a commit message with back-ticks (`) on the command line is an extremely bad and dangerous practice.

tomekw

@borkdude like “added `rm .git/config` to the README”?

KingMob

@borkdude

Did you name your son "Robert `rm -rf /`"?

Oh yes, little Bobby Removal, we call him.

onetom

@borkdude that's a backwards way of thinking.
copy-pasting user input into shell commands without proper quoting is what's dangerous.
same would happen with `echo`, if you want to print markdown snippet with it, yet we don't portray markdown dangerous.
let not bash control how we write commit messages.
it would be very much like a tail wagging the dog situation.
racing to the bottom, where the weakest tool is the common denominator and determines how to use the rest of the tools?

(λ. borkdude)

It's quite amazing that in #clojure we can develop tools like #cljKondo and clojure-#lsp using (n)REPL to change the behavior while they running in our editor.
Here I enable navigating from a quoted CLJS expression in a #clerk notebook to the #clojurescript namespace + var.

(λ. borkdude)

I went over the text of this tweet like 5 times and still there is a typo 😠

(λ. borkdude)

RT @jarredsumner
Writing good error messages is hard because being precise helps people with context but explaining as simply as possible helps everyone else

(λ. borkdude)

babashka/process {:mvn/version "0.4.13"}
Clojure library for shelling out / spawning sub-processes

Revised the way process and friends are called:

(process opts? & args)

And shell is now the most emphasized function in the README:

github.com/babashka/process

#clojure #babashka

(λ. borkdude)

Make that babashka/process {:mvn/version "0.4.13"}

(λ. borkdude)

Any Windows 11 users out here? What output do you get when running:

curl --version

and

curl --compressed clojure.org

I'm trying to figure out if the default Windows 11 cron supports compression now. It's about time?

/cc @bagder

Martin

@borkdude

curl 7.83.1 (Windows) libcurl/7.83.1 Schannel
Release-Date: 2022-05-13
Protocols: dict file ftp ftps http https imap imaps pop3 pop3s smtp smtps telnet tftp
Features: AsynchDNS HSTS IPv6 Kerberos Largefile NTLM SPNEGO SSL SSPI UnixSockets

curl: option --compressed: the installed libcurl version doesn't support this
curl: try 'curl --help' for more information

Bobbi Towers

@borkdude @bagder In WSL or Powershell? In WSL, I pasted my output here: gist.github.com/BTowersCoding/ In Powershell (installed with Scoop) it gives an error because it must use a different syntax:

curl : The remote name could not be resolved: '--version'
At line:1 char:1
+ curl --version
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invo
ke-WebRequest], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.Invoke
WebRequestCommand

@borkdude @bagder In WSL or Powershell? In WSL, I pasted my output here: gist.github.com/BTowersCoding/ In Powershell (installed with Scoop) it gives an error because it must use a different syntax:

curl : The remote name could not be resolved: '--version'
At line:1 char:1
+ curl --version
+ ~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invo
ke-WebRequest], WebException
...

(λ. borkdude)

It's great split pea soup weather (almost freezing)! To make the soup taste better, make it a day before consumption and let it starchify overnight. I do it in an InstantPot (electric cooker). Add smoked tofu for smoky vegan flavors and texture!

keithmantell

@borkdude I have just remembered that you first told me about instant pots. My family now think I am on commission for them!!

(λ. borkdude)

RT @pappapez
Solving Advent of Code puzzles using VS Code and the Joyride extension. Demo at the @agical office. Joyride is lets you hack VS Code like Emacs users hack Emacs. youtu.be/0rJvOtbJDyI #clojure #opensource #repl

(λ. borkdude)

RT @CynthiaSavard
I asked OpenAI to write a letter to my son explaining that Santa isn’t real and we make up stories out of love. This is making me slightly emotional 🥹

LouD

@borkdude indeed, nice piece of art this ai wrote

(λ. borkdude)

A little trick to have conditional code for #babashka in a .clj file without resorting to .cljc reader conditionals

#clojure

Go Up