Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 04 2018 12:19

    catmando on noreset

    initial commit refactoring now (compare)

  • Oct 01 2018 13:19

    barriehadfield on edge

    Hyperloop point to master for JS (compare)

  • Oct 01 2018 13:08

    barriehadfield on edge

    Hyperloop 0.99.1 (compare)

  • Sep 08 2018 00:40

    catmando on edge

    got tests passing again Gemfiles point to released gems (compare)

  • Sep 07 2018 23:03
    catmando closed #20
  • Sep 07 2018 23:03
    catmando closed #19
  • Sep 07 2018 23:03

    catmando on edge

    closes #19 closes #20 Merge branch 'edge' of github.c… resolved gemspec merge conflict (compare)

  • Sep 07 2018 22:49
    catmando opened #20
  • Sep 02 2018 08:34

    barriehadfield on edge

    Update README.md (compare)

  • Sep 02 2018 08:33

    barriehadfield on edge

    Update README.md (compare)

  • Aug 31 2018 09:31
    mpantel commented #12
  • Aug 28 2018 07:15
    mpantel commented #12
  • Aug 22 2018 08:00
    mpantel commented #12
  • Aug 19 2018 21:12

    johansmitsnl on edge

    Move the libv8 to running depen… Remove webdriver Remove empty helper (compare)

  • Aug 19 2018 21:06

    johansmitsnl on edge

    (compare)

  • Aug 19 2018 21:02

    johansmitsnl on edge

    Download and install the chrome… (compare)

  • Aug 19 2018 20:51

    johansmitsnl on edge

    Remove the find for the webdriv… (compare)

  • Aug 19 2018 20:51

    johansmitsnl on edge

    Include the database schema (compare)

  • Aug 19 2018 20:46

    johansmitsnl on edge

    Use find to locate the webdriver Don't set the path directly (compare)

  • Aug 19 2018 20:42

    johansmitsnl on edge

    Update the gemfile.lock (compare)

Mitch VanDuyn
@catmando
The best first place to start would be to move Hyper-Model (the part that proxies active record on the client) into WebASM, since its large, but has a very narrow API to the rest of the system.
I assume you can do http requests from within WASM?
Nick Johnstone
@Widdershin
Currently none of the browser APIs are exposed by default to Wasm, you have to do it all yourself
So you could pass in a function to expose one of the browser HTTP apis, but there's no browser Wasm stdlib yet for that sort of thing
Mitch VanDuyn
@catmando
gotcha
So the nice thing about the Opal solution (which I don't know if it can be solved in WASM) is that as you edit files, you can hot-reload that file. Hyperstack that rewires it in, and uses React to redisplay the components effected.
about 100 MS from save to redraw. Very nice for debugging, and prototyping UX work.
Nick Johnstone
@Widdershin
Yeah I think it should be possible to hot reload the Wasm in but I don't think the tooling is there yet
Mitch VanDuyn
@catmando
sure... no technical reason why not.
what is the performance of the ruby code? I imagine its pretty good?
btw I was about to post a Hyperstack progress report on reddit r/ruby . I'm sorry if it steals any of your thunder.
Mitch VanDuyn
@catmando
i'm about out of batteries (human and computer) gotta go.
would be great to have you help us out!
Nick Johnstone
@Widdershin
Hey @catmando, performance of the ruby code seems pretty good but I haven't done any rigorous benchmarking
I imagine it will be best in class
No worries about posting the progress report, honestly I'm surprised my tweet got as much attention as it did
I'm unlikely to have much time to spare to contributing to your project directly, but once I open source my efforts I'll let you know and you're welcome to use whatever you like
If you want my help on hyperloop directly perhaps we could work something out on a contract basis
Mitch VanDuyn
@catmando
@/all as hyperstack nears release 1.0 I am trying to get as much feedback as possible, so I prepared this short video highlighting the key features:
pass it around to anybody who might like to give us feedback.
Mitch VanDuyn
@catmando
the video stinks there, so I also posted on reddit which works fine: Also any comments and thumbs up on reddit would be great!
peterlamber
@peterlamber
liked and subscribed :)
Barrie Hadfield
@barriehadfield
@catmando EXCELLENT video! I need tio write to thutorial on using a UI lib (as per the Redit comment) and I will do that as soon as I can (hopefully tomorrow)
Really like the param :foo becoming method foo - looks very natural and the H1 HTML constant arguement is mute as your description makes perfect sense. Really fantastic work!
Barrie Hadfield
@barriehadfield
@/all sorry for not arranging the Hangout earlier - the week got away with me. Are people about tomorrow (Friday) AM (EST time) - I know @catmando said he would be. That would be UK from (EST 8am / GMT 1pm) onward.
New SO question: https://stackoverflow.com/q/55508508/5308751 (I will provide the JSX -> Ruby) version myself, but have worried about the CORS aspect
peterlamber
@peterlamber
Barrie Hadfield
@barriehadfield
@peterlamber I have answered- BUT I have just noticed you are asking about Material UI and not Semantic UI, so I will post an answer for Material UI as well (little later today)
Barrie Hadfield
@barriehadfield
OK, replied for Material UI as well
BTW - this weekend I plan to drop Material UI icons and replace them with FontAwsome Icons so I will replay again once I have done that with an example that brings in the Icons vis Yarn (insread of via CSS)
Barrie Hadfield
@barriehadfield
@catmando I added your video to the Community page on the website which I think we should use more and more to bring all these blogs, videos and good SO questions and answers together: https://github.com/hyperstack-org/hyperstack/blob/edge/docs/tutorial/community.md
Barrie Hadfield
@barriehadfield
@catmando I have been working on the State docs (getting there), but I have a question - what is the difference between mutator and state_writer (and observer and state_reader) - is it just that mutator and observer take a block?
Mitch VanDuyn
@catmando
yep. state_reader/writer/accessor works exactly like attr_reader/writer/accessor except that is calls observe/mutate/observe&mutate before returning the value.
observer/mutator takes a block. They effectively define a method, wrapped in observe/mutate.
so
  state_reader :foo  # reads @foo

is short for

  observer :foo { @foo }

which is short for

  def foo
    observe @foo 
  end
Barrie Hadfield
@barriehadfield
thanks Mitch
Mitch VanDuyn
@catmando
note in the first case the name :foo tells us what variable to read (just like attr_accessor) in the next two cases there is no implicit relationship between the name and what you do in the method.
and just in case some performance minded individuals are reading this there is no penalty for using state_reader over directly defining a foo method, as it all gets mapped to the same underlying define_method in ruby.
@barriehadfield I just commented on reddit on the state stuff here: https://www.reddit.com/r/ruby/comments/b91taq/hyperstack_progress_report/ek4garl?utm_source=share&utm_medium=web2x in case that also helps
Barrie Hadfield
@barriehadfield
Perfect, I just saw that - will make it way into the docs. I will push tomorrow AM.
Mitch VanDuyn
@catmando
we are getting a little feedback, but all useful. I'm glad I did that post!
Barrie Hadfield
@barriehadfield
its a fantastic video - the best one you have done so far
Mitch VanDuyn
@catmando
thanks...
Barrie Hadfield
@barriehadfield
Ryan Bates v2
Mitch VanDuyn
@catmando
:-)
Mitch VanDuyn
@catmando
what I think is odd about reddit which I guess is a standard problem, is that people down vote you without saying why. We are running about 10% down votes, and not person has said why.