AltME: Liquid

Messages

Maxim
hi guys, sorry was out for the week-end.   :-)
Maxim
Doc, GLayout was pretty ordinary stuff basically just a big layer over VID.
in, Glass links between a few plugs creates the algorythm which keep scrolling and face offset in sync.  this is one of the most advanced setups in Glass because there are 3 values in sycn through a bridge plug.  basically, you have pixel offset/range of the faces, pixel offset/range of the scroll bar and value offset from the scrollbar.   Its all done within the scrollface group style.
Josh, wrt distribution, there is that project ( https://github.com/moliad/slim-complete-set ) which basically allows you to get all of the sub repositories, but that might be removed at some point because you still need to know how to get all the sub libs and its a pain through Git.
in my next release push (which I'm working on right now) I will fill up a new repository with a throve of tools and stuff, one of which is a script to Get and update all slim libraries from Git, all you need is a version of Git installed and available from CALL .
Arnold, to search for my stuff, write REBOL as the first keyword and then the project you want (ex: "REBOL GLASS") ... in general its pretty on-topic.
note that the releases I am going to be doing in the next few weeks should help all of you get to grips with my complete framework, which includes A LOT of tasty code to build apps which more polish in very few steps.
Maxim
john, I'm giving a little look at your schedule example...
(oops, I meant josh... hehehe)
Josh
Thank you for checking into it.
Maxim
so, gone over it and found the issue in you code.... it's not related to liquid.  the idea is that the data you give is not what you expect.  
in your table, true and false are words... not logic! values.   So, either you use #[true] #[false]  or you reduce the block before searching within.
btw, I'm having fun re-writing it quickly.
Josh
Sweet, thank you.  Not sure I fully grok it, but I'll keep an eye for that in the future.   Love to see your version
Josh
I think I got ya:
>> if true [print 2]
2
>> if false [print 2]
== none
>> b: 3
== 3
>> b: [3 true]
== [3 true]
>> if (second b) [print 1]
1
>> c: [3 false]
== [3 false]
>> if (second c) [print 1]
1
>> if (do second c) [print 1]
== none
>> if (do second b) [print 1]
1
Kaj
Yep
The difference is not so much DO, but BIND

Endo
c: [3 false]  ; this should
c: reduce [3 false]  ; to get desired result
Maxim
Endo yes, that is the prefered method.
Josh
Got it.  I have a better working version now! Generates a new schedule that shows for each hour who is available

Josh
Can generate crappy HTML even:  https://raw.github.com/kealist/rebol/master/slim/libs/liquid-libs/calendar.html
That's one of my week areas.
Anyways, to keep on topic with !liquid, I have a !plug that generates the schedule of availability, it's of a particular type, can I just link it to another type to process data from that?  I ask this because I'm not sure what the following line does at the end of the Process(plug,inputs) function
  plug/liquid: available
week=> weak
Cyphre
Endo, IMO the best method is to use :
c: [3 #[false]]
Endo
But it leads problems when encapping the script.

Last message posted 308 weeks ago.