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)

Nick Johnstone
@Widdershin
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.
Barrie Hadfield
@barriehadfield
drive by shooters
Mitch VanDuyn
@catmando
I guess it makes sense that there is a small segment of population that "self selects" to hang out on some place like reddit, and get their jollies, down voting stuff, and being grumpy.
just weird how people choose to spend to use the precious 80 years they have on this earth.
Barrie Hadfield
@barriehadfield
well, some things you just don’t need to understand
Anyway, im off to bed - docs to finish in the early morning… thanks for doing that post @catmando - its really great work! Gnight
benburkle
@benburkle
Does anyone have instructions or advice on adding hyperstack to an existing rails app?
Barrie Hadfield
@barriehadfield
@benburkle I can help you with that...
Actually, we need docs for that, so in helping you wit that we can work on the docs to overcome any issues you face and questions you have during the process
BUT - the good news is - its easy! :-) You can start small (by just adding some Components) and you can evolve parts of your application over time - yiou will find it hard to want to stay in a non-Hyperstack world once your going though… (ie health warning - this is addictive)
Michail!
@mpantel
@benburkle @barriehadfield in my case I started I diffed my application with the one that comes from the generator which points out the necessary changes and additions. There are mostly additions...
Barrie Hadfield
@barriehadfield
@mpantel you are 100% right, there is an additional consideration if the Rails app is a traditional MVC, you might want to add Components to existing Rails views and then buildup from there - there is a Rails view helper method (which I cannot remember at the moment) which does this
benburkle
@benburkle
@mpantel @barriehadfield Thanks for the info! I will keep you posted, but it will be sporadic, since I don’t have much time each day. I walked through the install file and did each step manually and was mostly successful. I’ll do the compare suggested next. I kept a list of issues, which are Webpack and old Rails app cruft related. Right now, foreman starts the web server (switched from puma to make transition easier. Will switch back later.) landing page works!When I login the page hangs for a while loading , then gets an error on /hyperstack/models/application_record.rb on the require line. Feeling good that it’s really close after an hour’s work. I do have a warning about no route for /cap-violation-report-endpoint. In fumbling around, I added a content security policy file with a policy.connect_src line. Maybe someone could suggest some links for reading up on the underlying technologies used?
Barrie Hadfield
@barriehadfield
@benburkle the /hyperstack/models/application_record.rb issue is an odd one. I have found that I have to include it there and not again in my app/models folder - for me, duplicating it in development mode is fine but I get an issue when deploying to Heroku is there is a duplicate. My version looks like:
# /hyperstack/models/application_record.rb
class ApplicationRecord < ActiveRecord::Base
  self.abstract_class = true
  regulate_scope all: true
end
Barrie Hadfield
@barriehadfield
From the underlying technologies, these are the ones to know about:
Mitch VanDuyn
@catmando
@benburkle can you push your repo as it was before you started the conversion? I am trying to get the installer working again (not the template) and need examples...
if you can't I'll let you know when I have an updated installer and you can try