Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 05 2017 17:37

    sakamies on master

    todos (compare)

  • Mar 03 2017 18:37

    sakamies on master

    formatting (compare)

  • Mar 03 2017 18:36

    sakamies on master

    different color for attr/value … deleting empty items added usel… notes and 1 more (compare)

  • Mar 03 2017 18:11

    sakamies on master

    Update README.md (compare)

  • Mar 03 2017 18:10

    sakamies on master

    Update README.md (compare)

  • Mar 03 2017 17:42

    sakamies on master

    keep values tied to their props (compare)

  • Mar 03 2017 16:56

    sakamies on master

    less confusing tag/txt editing … (compare)

  • Mar 03 2017 16:47

    sakamies on master

    some very basic copy & paste sa… (compare)

  • Feb 28 2017 16:49

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:49

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:25
    sakamies closed #6
  • Feb 28 2017 16:23

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:22

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:22

    sakamies on master

    Update README.md (compare)

  • Feb 28 2017 16:22

    sakamies on master

    Update README.md (compare)

  • Feb 27 2017 19:04
    matthewfcarlson opened #6
  • Feb 27 2017 16:32

    sakamies on master

    clean up (compare)

  • Feb 24 2017 18:35

    sakamies on master

    rudimentary copy paste (compare)

  • Feb 23 2017 17:59

    sakamies on master

    styling fix error when trying to add pr… implement additive selection vi… and 1 more (compare)

  • Feb 22 2017 18:46

    sakamies on master

    todo (compare)

Risord
@Risord
Btw is typescript setup more complex than babel?
Since we are using at least ES6? Are we? @sakamies?
Ville V. Vanninen
@sakamies
setup is probably not, but typescript is custom stuff to learn while js is just js
Risord
@Risord
yeah
Ville V. Vanninen
@sakamies
I'm using whatever the latest version of electron supports, but babel would be fine for me if you really want it
chrome is already pretty good with es6 and gets updates on a pretty good pace, so my preference is using the least possible amount of build systems and setup
Risord
@Risord
I would think that for electron there is no matter what we use but I don't really know about that world.
Ville V. Vanninen
@sakamies
a single engine to target makes stuff so much easier
so, I think let's only start using babel if there's some cool thingy that makes life much easier, but that's not yet supported in electrons chrome version
Risord
@Risord
Personal opinion is that hopefully webasm will conquer the world quickly and "real programming languages" have it as build target and we can leave this JS dictatorship era behind...
But that's what I am doing for my food today so it's ok :P
Risord
@Risord
There seems to be some ES6 - Electron example project https://github.com/edge/electron-cycle-media
Risord
@Risord
@sakamies Btw have you idea how electron development should be done?
Ville V. Vanninen
@sakamies
as simply as possible :)
no, not really, other than what I've done with the proto so far
the browser part is pretty much the same as buildin any web app, so we can go any way we like with that
I'd love to have the html/js part modular enough so that we could swap the app shell if we need to
Risord
@Risord
yep
I am still quite noob with these modern JS tools
Risord
@Risord
I took some example which supports hotreloading. I have still no idea how to integrate that with electron.
I started with that for now. It's out of the box more dev friendly. After I have some usefull base we can think how to migrate that with electron. What I am doing isn't communicating to out world so migration shouldn't be any harder to do afterwards.
Risord
@Risord
@sakamies Is webpack used usually with electron?
Ville V. Vanninen
@sakamies
probably, I don't have any stats
but that's popular with regular web apps, so works with electron just the same
Risord
@Risord
But now the hard part starts... actually doing things :D
(from my side)
Plans will be tested
Risord
@Risord
I am now handcrafting some test data which I will use for actual development. This again takes some time.
Risord
@Risord
"Data" contains some piece of imaginary editable html piece... aaaaand our html metamodel. All this with json-ld.
Ville V. Vanninen
@sakamies
👍
Ville V. Vanninen
@sakamies
whoooa, that looks interesting!
Ville V. Vanninen
@sakamies
lots of links to some amazing stuff in that thread
Ville V. Vanninen
@sakamies
that's very similar to what I had in mind when I made that gif at the footnotes of the foolproof article
Ville V. Vanninen
@sakamies
i love the questions & answers writing style of that page
Risord
@Risord
Yep.
Btw I think that if we build something like that invidual frame is single microeditor instance
Risord
@Risord
I would like to see what kind of possibilities there are for programming more far away from "text mindset"
Risord
@Risord
And how to edit / visualize expressions
Risord
@Risord
My plans took one one step back...
I misunderstood that json-ld contexes are more like types but seems that these are two separated things there. So we don't have schema/meta model tech right now.
Risord
@Risord
If multiple domains and (potentially) domain independent micro editors are wanted that model is essential.
Risord
@Risord

So just for reminder what options we have:
A: Json-schema: simple schema model
B: RDF based schemas
C: Invent our own
D: ???

So A is simplest but too simple. Also I think we should minimize reinventing wheel so I don't prefer C. So this B... Problem is that there are now JS based implementations available.

I think what I start doing next is create html metamodel based on RDFS.
Risord
@Risord
When example data exists I continue crafting backend
JSON-LD stays still around but its primary usage is to be just standard format
While backend requires understanding about metamodel I craft incrementally minimal JS implementation for RDFS
Goal is not to create full RDFS support but just very minimal set that enables to move forward.
So that we can reuse standard and maybe later if required switch to some more advanced (java based?) library...