hyperfiddle

http://hyperfiddle.net
2018-01-05T18:46:41.000699Z

sup

2018-01-05T18:46:55.000373Z

just configuring linux man 🙂 and reading hyperfiddle

2018-01-05T18:52:16.000183Z

I was thinking about spending 6k for a 64gb mac pro, think i should run linux instead?

2018-01-05T18:53:14.000383Z

Maybe.

2018-01-05T18:53:25.000228Z

I am disenchanted with the recent iteration of macs

2018-01-05T18:53:37.000252Z

you might want to consider :spits: windows

2018-01-05T19:28:03.000090Z

is it crazy that i want hyperfiddle to manage my lamdas?

2018-01-05T19:28:12.000521Z

like if all of my code is in it's database

2018-01-05T19:28:24.000055Z

why am i managing where it's deployed

2018-01-05T20:24:31.000021Z

@ericfode I added a bunch of screenshots. Do you think I wrote too much?

2018-01-05T21:03:41.000557Z

https://github.com/hyperfiddle/hyperfiddle is rewritten again

2018-01-05T22:04:18.000184Z

reading

2018-01-05T22:05:43.000333Z

is "higher layers" layers that are closer to the top of the list or layers with a higher index?

2018-01-05T22:10:34.000502Z

getting much clearer. I like the UI examples. I would still like a diagram of how it works... I'm not sure my mental model is correct.

2018-01-05T22:11:17.000008Z

The pictures you added really illuminate the renderer

2018-01-05T22:11:38.000180Z

Idont understand your question

2018-01-05T22:12:00.000142Z

a the top of the document you have a list of layers that hyperfiddle consists of

2018-01-05T22:12:10.000377Z

app-as-a-function: managed data sync, userland is a function app-as-a-value: data-driven CRUD model, userland is EDN automatic dashboards: dynamic forms/UI library, customize markup with functions structural editor: edit EDN app-values and store them in Datomic

2018-01-05T22:12:12.000189Z

function is the bottom

2018-01-05T22:12:35.000343Z

maybe reverse the order of the list

2018-01-05T22:12:51.000426Z

hm ok

2018-01-05T22:13:04.000361Z

after reading the rest of the document and understanding what the structure editor does it was clear that was the top

2018-01-05T22:13:27.000579Z

but starting at the top of the document I was not entirely sure.

2018-01-05T22:14:09.000472Z

I’ll think about how to clarify that sentence, thanks

2018-01-05T22:14:32.000103Z

by automatic dashboards do you mean like metrics about how the app is performing?

2018-01-05T22:14:43.000576Z

or do you mean like inspecting the values that are currently in your app?

2018-01-05T22:14:49.000020Z

or both?

2018-01-05T22:15:32.000357Z

given edn of {:fiddle/query “[:find blah blah]” …}, hyperfiddle will render a UI for it

2018-01-05T22:15:59.000029Z

Ah I understand your question now

2018-01-05T22:16:17.000293Z

Admin dashboard might mean, what are the things that an administrator cares about as to the operation of the app

2018-01-05T22:17:04.000107Z

I just mean every fiddle edn can be rendered as a working ui

2018-01-05T22:17:42.000163Z

Swagger UI doesn’t use the word dashboard or admin, interesting

2018-01-05T22:18:29.000440Z

makes sense

2018-01-05T22:18:35.000345Z

“Generate UI from fiddle edn” or something would be a better header

2018-01-05T22:20:04.000422Z

:nods:

2018-01-05T22:20:19.000137Z

Also important is that, if you fuck it up by overlaying broken custom rendeerers, you can get back to the auto ui

2018-01-05T22:21:02.000066Z

that is an important tidbit

2018-01-05T22:23:49.000292Z

is your state reducers basically a state machine implemented as a reducer?

2018-01-05T22:24:52.000137Z

no

2018-01-05T22:24:58.000080Z

that would be cool though

2018-01-05T22:25:22.000432Z

well, actually, i dont really understand that stuff, Karl did all that, I do see some parallels to a state machine, and im honestly not clear on exactly what reducer even means

2018-01-05T22:25:44.000260Z

I was assuming he was reffering to clojure.reduce

2018-01-05T22:25:58.000200Z

reducer is a javascript ecosystem concept from redux

2018-01-05T22:26:28.000196Z

lol you implemented re-frame

2018-01-05T22:26:34.000256Z

Yeah, basically

conaw 2018-01-05T22:26:47.000466Z

very interesting work @dustingetz

2018-01-05T22:27:03.000015Z

Reframe doesn’t support SSR, and they don’t seem to care, so it’s a non starter

2018-01-05T22:27:07.000359Z

Thank you @conaw!

2018-01-05T22:27:28.000267Z

A good distinguishing point...

2018-01-05T22:29:01.000182Z

makes sense given it's original use case was on electron apps

2018-01-05T22:29:11.000012Z

Oh really? I nver knew that

2018-01-05T22:29:33.000455Z

(i'm implying this from re-com being made by the same group and appearing about the same time and explicitly stating that)

2018-01-05T22:29:53.000388Z

This is cool thing about statecharts https://news.ycombinator.com/item?id=15835005 Easy to imagine userland apps using a state model that looks like that, it would fit nicely with our vision

2018-01-05T22:31:08.000172Z

very interesting

2018-01-05T22:34:13.000069Z

Actually; the fiddle EDN captures a lot of the application state. Another way to say that is, the web browsers URL bar is a perfectly good state atom

2018-01-05T22:34:40.000092Z

So you could structurally analyse a graph of hyperfiddles and probably render a statechart for it

2018-01-05T22:35:01.000211Z

We had loom hooked up to hyperfiddle at one point (https://github.com/aysylu/loom)

2018-01-05T22:36:20.000474Z

You could totally write a datomic query that renders as a sitemap

2018-01-05T22:37:45.000316Z

Its actually kind of necessary; because if you stage up a bunch of edits all for one transaction, you want a nice visual way to say “Okay, what’s dirty, what is this huge transaction changing so i can double check it”

2018-01-05T22:38:12.000281Z

And catch dangling fiddles that nobody links to anymore , that kind of thing