hyperfiddle

http://hyperfiddle.net
danieljomphe 2019-01-07T17:34:03.044Z

:fiddle/type ::: Which Datomic query API was not self-explanatory to me. Does it refer to either of #{:pull :query}?

danieljomphe 2019-01-07T17:35:50.044200Z

hyperfiddle #{:archived :deprecated :starred}: why boolean? Why not a date, to be a bit more informative?

2019-01-07T17:37:57.044400Z

fair question, i am generally in a hurry and wanted checkboxes 🙂

2019-01-07T17:38:58.044600Z

You could probably convince me that boolean is wrong

2019-01-07T17:45:00.044800Z

Yes, fiddle/type is query or pull (or nothing) - it would be pretty cool if the spec was listed there

danieljomphe 2019-01-07T18:28:41.045Z

I'm not religious against boolean (yet?). hydrate... seems especially good as a boolean. Unless one would want to attach an expression to adapt the hydratation, in which case string might be better.

danieljomphe 2019-01-07T18:29:55.045200Z

Oh and yes, you'd need a "render Date as checkbox with auto-date of last change in a UI tooltip" - I see where hurry goes here. 🙂

danieljomphe 2019-01-07T18:30:44.045400Z

I've also "always" wondered if boolean isn't better in Datomic, since you can query the tx instant to reach a proper date.

2019-01-07T18:31:53.045600Z

i toyed with :published-date vs :published on my blog and ended up having both, because they are different

2019-01-07T18:32:11.045800Z

sometimes you want to unpublish

danieljomphe 2019-01-07T18:32:35.046Z

yes, as soon as we make our information systems uninformation systems, we regret it

danieljomphe 2019-01-07T18:33:55.046200Z

but you still have to ask the question: what's it meant by a not published post which has a published-date. (I think you can live fairly well with the answer in your case: it reminds me that I had it published for some indeterminate length of time - good enough)

2019-01-07T18:41:54.046400Z

Having thought about it a little longer, i think the honest answer is that i have no idea what the semantics are, and i dont really care, it can be fixed later. The goal is to make apps by fiddling with them for twenty minutes here and there. I have made a lot of very bad apps in hyperfiddle, which is pretty interesting spot to be in compared to making 1-2 big apps without hyperfiddle

2019-01-07T18:44:20.046600Z

That said, the date-as-checkbox is definitely a widget we should have, and hopefully soon we will be in a spot where that is something that can be made from scratch in a couple mins

danieljomphe 2019-01-07T20:10:26.046800Z

haha great - and I'm with you - I keep dreaming about how I could use HF here and there and maybe even in some very big business projects at work

Adrian Smith 2019-01-07T21:01:48.047Z

I remember that rich hickey talk and came away with the idea of "what if you could merge databases?", is that what this post is about? I can't tell as a beginner, from my naive prospective I'm more interested in learning the basics (maybe the post is not aimed at me?) i.e. brew install hyperfiddle or apt install hyperfiddle then maybe a bootstrap themed setup page that asks for my datomic details etc required for install, then a list of templates or blank template, like a wordpress experience , then I feel like I would ask questions like how to paginate things, how to use datalog, how to import other cool things? then how to edit in code via local editor, then eventually after I can prove it works to other people in my business how to move it into datomic cloud, where hyperfiddle is just a line item on top of that bill. I say this as someone with little idea of what is planned or what is feasible so apologies if it seems presumptuous and or derailing to the thread, tldr went over my head a bit

2019-01-07T21:02:32.047200Z

Thanks for the feedback

2019-01-07T21:06:40.047400Z

I’ll write the blog post you want soon - we are working now on the ability to self-host

danieljomphe 2019-01-07T21:14:52.047600Z

The post helped me see much better your vision for truly mix-and-match-able APIs. The one where you wrote that all HF-using businesses could very easily call other HF-using business APIs, and vice-versa: one business imports the ontology (and a bit more) of the other one, and it's now consuming data from the other one quite natively.

danieljomphe 2019-01-07T21:15:30.047900Z

(I spotted a few typos and decided against the noise of reporting them)

2019-01-07T21:33:31.048100Z

Typo reports welcome. Yes! And maybe even we can ingest foreign APIs by manufacturing the proper metadata. Lots of fun things to come in this area!