Fork me on GitHub
#cljsrn
<
2017-05-25
>
nikki00:05:14

@raspasov mostly that it biases toward rn elements and mobile gestures

nikki00:05:55

i'm trying to get at building an ipad / tablet interface for building virtual worlds and this would be some essential component

raspasov00:05:33

hmm my head still can’t understand how “datastructures” is React Native specific 🙂 are you talking about something like a WYSIWIG editor for buttons, etc?

raspasov00:05:40

like Dreamweaver for HTML?

nikki00:05:50

yes, i mean an editor for edn

nikki00:05:57

it has to be seen and touched

nikki00:05:03

which is what RN does

raspasov00:05:07

ok but … isn’t that like Cursive/CIDER/et al ?

nikki00:05:20

do those work on a mobile device and are made for touch?

raspasov00:05:51

basically you want IntelliJ or Emacs for mobile? 🙂

nikki00:05:51

"lisping" on app store was an attempt at this

nikki00:05:11

no i just want what i asked :) which is an edn editor component that is touch-oriented

nikki00:05:16

intellij is a whole ide...

raspasov00:05:24

ok got it, I see

nikki00:05:27

so also does building and project mgmt

nikki00:05:41

but imo that stuff is boring and old if you can effect changes back into a db and eval live

nikki00:05:59

just a generic component

nikki00:05:06

think RN's TextInput or Slider

nikki00:05:15

But for any EDN

nikki00:05:30

Maybe it looks at ^{} metadata of object to be extensible

raspasov00:05:13

so like to edit a vector, let’s say [“alice” “bob” “chris”]

raspasov00:05:31

and you can just drag, let’s say “bob”

raspasov00:05:46

and it can become [“alice” “chris” “bob”]

raspasov00:05:23

basically paredit-style functionality but optimised for touch?

raspasov00:05:57

basically what we do with keyboard in IntellIJ/Emacs/etc but optimized for touch?

nikki00:05:03

yah 😮😮

nikki00:05:19

But then you can eval any selection and result is a new window

nikki00:05:21

All draggable

nikki00:05:22

And so on

nikki00:05:28

Make query to db and transact back blabla

nikki00:05:31

could be so fun

raspasov00:05:43

@nikki yea that’s ambitious 🙂 I’m kinda skeptical that even the best implementation will get big adoption though… but I could be proven wrong by a good demo that I can play with 🙂

raspasov00:05:14

would the goal be for it to be used as a primary editor?

nikki00:05:01

If u do it over om / reagent stuff then boom you have a visual ui editor

nikki00:05:11

If it autocompletes from spec could be cool

raspasov00:05:17

but like… why on mobile?

nikki00:05:19

Ambitious i know 😅

raspasov00:05:31

what’s the benefit over Cursive or Cider?

nikki00:05:35

Because dynabook is a tablet ;O

raspasov00:05:42

what is dynabook ? 🙂

nikki00:05:55

What Alan Kay was getting at

raspasov00:05:07

ok! but it has physical keyboard 😄

raspasov00:05:11

as far as I can see

nikki00:05:21

I mean ipad w/ keyboard attached :D

raspasov00:05:38

ok! then I’m sold 🙂 ofc it can work…

nikki00:05:42

I think some edits may be easier with structured view

raspasov00:05:49

I mean modern iPhone/Android is def powerful enough

nikki00:05:01

yea i want to live code a game on tablet... lol

raspasov00:05:57

I assume you know about Parinfer?

nikki00:05:57

but thats later

nikki00:05:06

i wrote a GL impl for RN

nikki00:05:14

That was one of the steps

raspasov00:05:48

I mean basically you need Paredit/Parinfer implemented in JavaScript?

nikki00:05:25

That sounds like sidestepping a bit -- makes more sense to write recursively in cljs and push edits up imo

nikki00:05:37

om / reagent are v suited for that

raspasov00:05:43

iPhone 7 CPU is faster than Mac Pro CPU in a single threaded context, so I don’t think you’ll have (too much) of a problem

raspasov00:05:43

nikki: absolutely great demos, great work!

nikki00:05:53

Thanks! :D

jimmy15:05:22

hey nikki. Great demo!

nikki00:05:08

something i made (talk by my friend) :)

nikki00:05:14

u can see demos in the end

nikki00:05:37

but with kovasb gamma and this editor and datascript stuff can get close to smalltalk etc

raspasov00:05:38

oh I know James 🙂

nikki00:05:48

i work with james 😮

raspasov00:05:10

we’ve met around Expo, etc

nikki00:05:19

cool 😮

raspasov00:05:21

(with James) maybe even with you haha

raspasov00:05:29

but maybe not

raspasov00:05:33

are you in the Bay Area?

nikki00:05:52

i'll try hacking on this ui idea in free time; i havent done a lot of cljs ui before so may ask for tips

nikki00:05:55

yup in sf now

nikki00:05:59

but i south bay often

raspasov00:05:10

wait … are you one of the guys that he kept saying “one of our guys does ClojureScript” 😄

nikki00:05:22

hahaha probably!

nikki00:05:31

we should meet up

nikki00:05:46

gotta go for 15 min...

raspasov00:05:51

cool, I’m in SF as well, might as well take this off the main chat 🙂

raspasov00:05:43
replied to a thread:https://youtu.be/OY-qfgHBcCg

nikki: absolutely great demos, great work!

carocad18:05:20

@nikki maybe you should take a look at this: https://github.com/omcljs/ambly

nikki19:05:53

@carocad nice! I'm doing something similar but over RN that works for both Android and iOS