Fork me on GitHub
#off-topic
<
2023-03-29
>
Cora (she/her)00:03:49

does anyone here have any experience with writing simulations and then visualizing them? in particular I'd like to do different queue and scheduler simulations and show their different pathologies

👀 2
hiredman00:03:44

https://brooker.co.za/blog/2022/04/11/simulation.html might be a good start, but that blog (and other stuff by the same author) talks about coding up simulations, but is light on how to generate visualizations

2
2
phronmophobic00:03:08

I've worked on games (non-clojure) and regularly build visualizations in clojure. I'm partial to https://github.com/phronmophobic/membrane, but I don't actually think it makes that much difference what you use. I've seen folks find success with #clerk, #humbleui, swing/java2d, #portal, html/css/javascript/cljs, #quil, and others. You might be interested in @U6VPZS1EK’s couch simulator series, https://www.youtube.com/watch?v=pbFIjsgYd0E Happy to answer any questions. You might also be able to get some tips over in #visual-tools.

Cora (she/her)00:03:15

oh sweet, a channel for it

Cora (she/her)00:03:30

I haven't played much with visualization in clojure

Cora (she/her)00:03:40

so this is sort of step 0

phronmophobic00:03:47

Depending on what info you're looking for you might get more help from the tool specific channels. They tend to be more active.

Cora (she/her)00:03:14

I wonder why you're partial to membrane 😂

😁 2
phronmophobic00:03:06

If you're more familiar with web tech, http://www.quil.info/ is a good option.

Cora (she/her)00:03:02

looks like vega and vega-lite might be options, too?

👍 2
Cora (she/her)01:03:00

although probably not exactly for what I'm looking to do

phronmophobic01:03:19

A lot of the options have a way to embed vega lite so you can do some custom stuff and also show a graph of progress over time or whichever.

Cora (she/her)01:03:41

that's true, a lot can be simulated by adjusting inputs and then showing graphs of measured outputs

genekim02:03:37

It was amazing to be able to put Vega/Vega-lite graphs into membrane, thanks to @U7RJTCH6J adding SVG support. I found the experience of using membrane to be nearing sublime — exactly why it defies easy explanation, but hopefully the videos show how easily and quickly you can build things in membrane.

genekim02:03:45

I really want to write a blog post of my reflections of the whole experience. Maybe this will be the impetus!

👀 4
eggsyntax19:03:16

I will 100% use membrane if it makes all my UIs look like this 😍

Aleed15:03:18

I latest Juxt article, an essay on “Why Software is So Expensive” was linked. I thoroughly enjoyed reading it. On par with a Rich Hickey talk. It’s fun, informative, and affirming to have good explanations on nature of software design. Is there any other, favorite articles, books, or talks people recommend?

enn15:03:23

I can’t find this article, would you mind posting a link?

Pablo19:03:40

Hello everyone 🙂 Have you ever read an article with metrics that Github was sending a lot of repeated information? Those were images, style sheets, unused JS, etc. and the article describe that the really important information (the code and so on) was really little. I remember once reading into something like this several years ago, but now I can’t find anything about it.

Daniel Jomphe11:03:10

There is this tonski post about how he'd make GH's UI much more useful, but I suppose it's not the one you're seeking?