andrewzhurov / brawl-haus Goto Github PK
View Code? Open in Web Editor NEWAn ultimative brawling experience! (yet to be developed) UPD: An example of how not to write a p2p app. Hint: don't have a server. Check out "local-first".
An ultimative brawling experience! (yet to be developed) UPD: An example of how not to write a p2p app. Hint: don't have a server. Check out "local-first".
We've got editor fields: hiccup, garden
And result fields: compiled hiccup, compiled garden, render
๐ฟ Problem is: components inherit styles,
e.g. editors use class .collection, which also comes with materialize.css
e.g. render would inherit and we would not get pure Garden compile result to be our styles
๐ Desired behaviour: components get their own clean boxes
For writing view people would need to know:
Simple and enough:
So for a start we'd go with pure Clojure material
Material would be in format: theory, tests, practice
๐ค integrate theory in practice - one editor field with eager evaluation, theory as comments
๐ฎ we can integrate tests in a fashion:
;; Lisp is a family of languages, having one characteristic in common:
;; :homoiconicity - language constructs we write and underlying AST presentation being the same...
;; :logical - ...
;; :easily-scaled - ...
(answer-a :easily-scaled) => {:result false :description "It's not necessarily, many languages have this trait, though you would know on the spot they are no LISP :), e.g. Erlang. It's about something else..."
Need to move names.txt
from public
directory to another place. This file used on server side.
Place oriented approach, where we re-write the same cell of memory with new value
vs.
fact oriented approach, where all that happens are facts (data + point in time) and when something had changed - it's a new fact, it doesn't revoke the previous one.
E.g.
Fact1: Message added at time T1, with text X1
Fact2: Message edited at time T2, text now X2
Those two do not collide, they coexist.
So we could demonstrate this approach with 'message edit' feature:
Make local Clojure environment setup easy
Current approaches I see it can be done:
I think local setup prevails because of:
Polish contributions and other UX suggestions are in need!
We could capture a vid on this topic also
Use query-string to represent position details, no place-semantics a-la
/patient/323abc/edit
go for
?resource=patient&patient-id=323abc&tool=edit
It's labeled format, so no need to go look routing cheatsheet and parse semantics in your head
Hickey talking about 'place semantics are evil':
https://www.youtube.com/watch?v=2V1FtfBDsLU&feature=youtu.be
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.