Fork me on GitHub
#off-topic
<
2021-04-30
>
bherrmann13:04:42

FYI: I rewatched Rich's talk recently, Design, Composition, and Performance https://www.youtube.com/watch?v=MCZ3YgeEUPg&amp;ab_channel=ZhangJian (I think it was on HN) In this talk, he compares programming languages to instruments. And makes the point that making them easy to learn is not the point. Making them useful for the experienced person is. That kind of hints that clojure isnt especially focused on the beginner... Perhaps logo or (god forbid BASIC?) are good "starter languages" or Scratch?

borkdude13:04:37

It might be worth noting that there were a lot of musical instruments in history which never became mainstream because they were too darn impractical or hard too learn.

👍 4
bherrmann13:04:22

Clojure faces another hurdle in that being hosted, it presumes you know the host system as well.

borkdude13:04:45

it's like playing in an orchestra where it makes sense to know a little bit about the other instruments

borkdude13:04:09

analogies only go so far :)

😀 4
sova-soars-the-sora16:04:47

Holophoner from Futurama

jcburley18:04:40

Yeah, musical analogies often fall flat.

borkdude18:04:26

B-flat?

😂 1
dvingo16:04:40

I am having a terrible time trying to locate a clojure talk. It's a vague memory... Posting here to hopefully trigger someone's memory. If I remember correctly: the speaker takes a piece of clojure code and refactors it 3 or 4 times with the final version being a functional pipeline where there is a single try-catch wrapper to deal with errors in one place. I believe the majority of the talk is a demonstration in a REPL, and pretty sure it was a male speaker... I think it was hosted on youtube (where is the semantic web??)

Thomas Moerman16:04:46

Long shot attempt: Tim Baldridge on core.async?

Alex Miller (Clojure team)16:04:23

that has the right shape, but maybe not that much on the error handling so probably not

dvingo16:04:58

thanks for the replies! was definitely not a core member.. I've been trawling through all the conference playlists... ><

dvingo17:04:58

closest thing I've found.. https://www.youtube.com/watch?v=JvGXyNXky0Q still think there's another one in clojure though... hopefully i wake up tomorrow and have it pop into my head..

genekim04:05:57

Is it this one? solving problems the Clojure way by @U0CLNM0N6 Rafal Dittwald — who does it in JavaScript. One of my favorite talks! https://youtu.be/vK1DazRK_a0

dvingo12:05:34

thanks Gene! I think this may be it! I was pretty sure it was in clojure, but that's just a feature of human memory 🙂

Oliver13:05:48

Excellent talk. 👍:skin-tone-3:

noisesmith20:04:26

I've been trying to learn Mortal Kombat, and I found a spreadsheet of detailed move data for all characters, turns out clojure is a great way to query datasets who knew

user=> (->> moves (filter (comp #{"Kombo Attacks"} #(get % "category"))) (map #(select-keys % ["move_name" "notation"])) clojure.pprint/print-table)                                                                      
                                                                                                                                                                                                                                     
|        move_name |  notation |                                                                                                                                                                                      
|------------------+-----------|                                                                                                                                                                                                              
|    Yellow Jacket |       y,x |                                                                                                                                                                                                              
|      Black Widow |     y,x,y |                                                                                                                                                                           
|          Bot Fly |     ⇨+y,b |                                                                                                                                                                                                 
|     Assassin Bug |       x,y |                                                                                                                                                                                                 
| Wandering Spider | x,y,x,x,x |                                                                                                                                                                               
|            Siafu |     ⇨+x,x |                                                                                                                                                                   
|      Bugging Out |   ⇨+x,x,a |                                                                                                                                                                                                            
|       Killer Bee |     ⇦+b,a |                                                                                                                                                                          
|          Lonomia |       a,a |                                                                                                                                                      
nil                                 

🐉 3
😎 7
🥷 3
noisesmith20:04:01

(this is after heavy preprocessing to do things like replace the notation with my consoles button names and replace F,B,U,D with actual arrows)

Stuart20:04:35

Man, I haven't played Mortal Kombat since the first one. It was quite something when it first came out!

noisesmith20:04:18

with the visible "frame data" (info about startup times, active times, vulnerability on block etc.) exposed in the game UI, it becomes a very nerdy thing

noisesmith20:04:56

then you have to actually input the things lightning fast of course

noisesmith20:04:47

but anyone whose observed my here knows I can push buttons fast haha

naomarik20:04:28

great way to get fit is to do a set of pushups/squats/situps when you lose a match

💯 2
noisesmith21:04:50

yeah, it's definitely not a good game to play if you dislike losing

naomarik21:04:55

check out guilty gear as well, it looks pretty cool

noisesmith21:04:06

but can you download all the timing delays, base damage, combos, block disadvantage etc. etc. in a form easily consumable by clojure?

naomarik21:04:13

haha no idea