« first day (845 days earlier)      last day (2935 days later) » 

12:03 AM
@SomeKittens I mean to say, Rebol is flawless and perfect! Welcome back! :-)
 
@earl 10-15% of the tests are hand-written. I wrote around 500 of them.
 
@DocKimbel there's no good reason for not having a common test framework, if some are red or rebol specific... ok
I want a common test framework so let's put that on the plan ok?
 
Hi all!
 
@SomeKittens Yo. :-)
 
Don't you just love testing?
 
12:11 AM
 
@HostileFork I'm not against it, but in practice, it might be not that easy to achieve. Also, the QuickTest framework built for Red is very simple on purpose, that helps us write tests faster. I haven't looked at the one @Ladislav wrote yet, so I can't really compare.
 
@DocKimbel Well I'm not the best Rebol/Red coder or anything but I think there is value in unification on this. And @BrianH made it sound almost like he would be willing to let function be what's called funct in R3 ,so... maybe anything is possible here.
R2's function is point-less.
 
0
Q: How can I show the cents with R3 money?

JinaThe online documentation promises this probe to-money 123 $123.00 http://www.rebol.com/r3/docs/datatypes/money.html I get this probe to-money 123 $123

 
@DocKimbel Ladislav's test framework, which is used by rebol-test, is far simpler than Quick-Test :)
 
@earl Yup.
rebol-test also works in R3. :-/ Don't worry I fixed quick test for R2. Er, am fixing. i'm mostly into the problems with the tests themselves.
 
12:21 AM
R2's function has its fans (like @Ladislav and Gabriele), but it is rarely used by others. OTOH, funct is a plan horrible name, but will probably become the most used function constructor, so it makes sense to break compatibility now, and re-assign the names.
@earl That's good news! :)
 
@DocKimbel Then Ladislav and Gabriele have to get outvoted. No, I refuse and I will drive a van full of explosives into... um... well, whatever, if funct is not taken out of circulation.
 
@earl @Ladislav Does it allow separating regression tests from unit tests used in a TDD manner?
 
I guess you can't drive a van full of explosives into a mezzanine.
 
@DocKimbel Don't mistake it's simplicity for artlessness, though. The framework is very capable.
 
Well, you might be able to if it's a literal "mezzanine", but I don't care much about shopping malls and escalators, but I do care about this funct thing. I'm not fooling around.
I really hate it.
 
12:24 AM
@earl I wouldn't expect less from @Ladislav. :-)
 
Name has to die. It has to.
 
@DocKimbel If you could expand on what you mean, then maybe I could answer :)
But basically, the test framework just executes test vectors which are code blocks and assumes failure if they don't return a truthful value.
 
I have made my offer. For Rebol to adopt Red's idea. func with no scan of body for locals, function means it scans.
Which is similar to what I was suggesting; that's what I wanted for function, but I wanted to axe func.
But if func is just... funky... a low level thing that first timers don't use but experts tend to use... okay. I'll get over it. I liked "inline" and "lambda" but I guess I don't care if function isn't terrible.
 
@earl Sorry for not being more clear. I would like to use a more TDD approach, but I need to keep the new tests separated from the regression suite (all the other tests) while coding until all the new tests pass. Then I need a simple way to "move" those new tests to the regression tests suite.
 
And you want the failing tests for TDD already committed?
 
12:29 AM
I like funct.
 
@earl I don't get what you mean by committed in that context?
 
@rebolek Okay, we're not friends now. :-)
Any friend of funct is an enemy of mine!
Worst... name... ever.
 
:) It's shorter than function and that is a good thing.
 
Can't someone with enough reputation edit @rebolek 's message and add the missing ion? ;)
2
 
@DocKimbel Sadly no, but I can star you :-)
Non-diamond moderator privileges do not allow you to edit people's chat messages.
 
12:32 AM
@DocKimbel Hmm, so you'd basically need an "expected fo fail" flag?
 
I don't need any free ion s, I'm pretty neutral right now :)
 
For anyone who was worried.
 
@earl Well, if that's how your framework works, probably yes.
 
0
A: How can I show the cents with R3 money?

LadislavThe documentation you see is a copy of R2 documentation. It still does not reflect the current state in R3. In R3 you can have both $123 as well as $123.00, have you tried? This looks like a more accurate documentation: http://www.rebol.net/wiki/Money

0
A: How can I show the cents with R3 money?

Graham Chiu>> round/to to money! 123 $.01 == $123.00

 
@DocKimbel I am a fan of function because some of my code is R1, which had to use function for local variables. However, I would not regret it too much if it vanished, since I am actually not using it in my new code.
 
12:39 AM
@DocKimbel We have recently added a pretty nice feature which can also help with these cases. It basically allows you to "diff" one test run against another.
 
Ashley is a big fan of make function! but I haven't used it either since R1 days
 
@earl But if that means adding a specific flag on each new tests, then having to remove it one by one, that's not the way I want it. Basically, a folder-oriented approach would suit me more, e.g. two folders: %new/ and %regression/ and the ability to move files freely from one to another would be nice.
 
@DocKimbel You'd basically establish a "baseline" with the new TDD tests, and then regress against that baseline.
 
@earl Exactly.
 
@DocKimbel For example, here's the actual output of testing my "fix-unwind-passing" branch against current r3-master:
new-successes: 0
new-failures: 0
new-crashes: 0
progressions: 65
regressions: 0
removed: 0
unchanged: 4536
total: 4601
I use this lovely little feature all the time :)
("Progressions": tests which failed in the reference, but no longer fail in the subject under test.)
 
12:49 AM
With the Rebol sandbox, is it safe to execute arbitrary commands?
 
@SomeKittens Read the big warning about no guarantees... about anything... and it's alpha software... and no legal contract... and...
R2 has a sort of security model. w.r.t. filesystem and such R3 is unfinished, but it has awesome capabilities with protect. At run-time you can just point to something and protect it..either to make it read only, or to hide it so all pre-existing bindings work but future ones don't "see" the values...
 
@earl I'm not sure to understand what all entries mean...what removed: and unchanged: mean?
 
@SomeKittens I use protect for what you might call "memory breakpoints" in other languages.
@SomeKittnes Try for instance fruits: [apple banana orange] then protect fruits then append fruits [pear] :-) updated so you don't think it's duplicate fruit name that blocks the append...
 
@DocKimbel removed: tests that are no longer being performed, unchanged: tests with unchanged results
 
@DocKimbel "unchanged" means the test status doesn't differ between baseline and subject-under-test. "removed" means that a test which baseline was run against was since removed from the test suite and therefore was not executed for the subject-under-test.
 
12:55 AM
Darn, I was looking for a universal sandbox. Oh well. Rebol still is pretty sweet.
 
@earl Ok. How do you declare a new baseline?
 
@SomeKittens Well, doing a good job of sandboxing is definitely on the list, just saying I wouldn't trust some things further than I'd throw them... it's not been audited by Bruce Schneier or anything.
 
no need to declare, just run the log-diff.r script supplying two test logs to it - the first one being handled as "the baseline log"
 
@SomeKittens You can restrict files and network accesses with the sandbox settings. What else do you miss?
 
@SomeKittens R2 does an okay job. Not really ready in R3. I'd advise making sure all the code you run is code you wrote...the general "don't eval if you can avoid it" principle.
 
12:59 AM
@SomeKittens 'secure offers the hope of a good sandbox. but secure is immature to date rebol.com/docs/words/wsecure.html
 
@Ladislav So I need to manage log files from the tests?
 
manage? Not exactly, what do you mean by that?
 
It's actually related to a class project. We wanted to create a tester that checked programs from intro to CS students. Problem is, that requires executing arbitrary Python code. I tried the only Python sandbox (pypy) and got absolutely nowhere.
 
@Ladislav Keep them around to provide them to the log-diff.r script?
 
@SomeKittens Well if you want a working sandbox AFAIK R2 is the best bet, but give us a minute... R3 will work soon enough.
 
1:01 AM
How soon, do you think?
 
@SomeKittens 3 months?
 
Semester's over, but thanks.
 
That's back-of-the-envelope, I'm having to do lots of projections in my mind these days.
 
QuickTest does simply overwrite the last log, we only look at the log file when they are failures (the log file is detailed, while we get only a short report on screen).
 
@HostileFork Comes with the territory
 
1:04 AM
@DocKimbel it is not that bad, you have got two options - either don't remove the log file you want to reuse for log-diff or remove everything always and just compare two interpreters letting them produce two files and compare them "on the fly".
 
Doc thinks Red needs to bootstrap super soon and throwaway Rebol and he'll make a big mistake doing it too soon. BrianH thinks Rebol is really advanced in design due to decades and can't be possibly caught up with. I'm averaging their estimates and putting it together, I say Red takes pole position 2 years.
But even after that flag is taken, Rebol matters.
@SomeKittens Red is the future it's just a timing thing.
All we're arguing about is the timeline.
And names, brands. Rebol kind of sucks as a name. Sounds like "COBOL". But what's in a name anyway?
 
@DocKimbel - I am pretty sure that this approach needs much less "management" than what you are describing
 
Hullo @copy. What's up?
 
@Ladislav ...compare two interpreters... Can this fit a compiler model like Red?
 
I just pressed the wrong button ... but now this sounds interesting
 
1:09 AM
@BadgerGirl Humorously I was going to greet you with the flash animation for badger mushroom. Then I saw... you're already aware of this. :)
 
"compare two programs"
 
@HostileFork I always get that.
 
@DocKimbel Sure, it would just need some adaptation in how the tests are actually run.
 
@copy Well we're really, er, interesting people. I had an English teacher who insisted one should never use the word "interesting"
She considered it to be a "noise word"
 
@HostileFork But even after that flag is taken, Rebol matters. It will surely do as Red will probably diverge a lot on new features from R3, like concurrency handling. So having a tool with a different approach is always good for everyone.
 
1:11 AM
@DocKimbel Well I hope I can force some sense into focus on spec and design and throwing out Rebol task!, there are bigger fish to fry at a design level, but we'll see how much clout I have. I have a little. :-)
@DocKimbel The Red R3 port has many lessons, almost poetic.
@BadgerGirl Ever been to Kenya? They've got lions... (and tigers) Forget Norway!
 
@earl It would be good to discuss it with @PeterWood in the first place, as he wrote the QuickTest framework, so he is in the best position to see the gaps between both testing frameworks and if/how we could bring them closer to share the same test suite.
 
The JavaScript room is leaking.
 
That's super cute. Kenyaaa <3
@SomeKittens You're right.
 
@SomeKittens C++ room went totally effing insane tonight, I don't know what's up with them.
They all took crack simultaneously apparently.
 
@HostileFork What happened?
 
1:15 AM
They were super mad at rlemon.
 
Was he trolling again?
 
Not quite
He defended himself ... and lost, but then said he was just trolling before
But it was about a ridiculous thing
 
@SomeKittens I just work here. You can read the log, I honestly don't know where to point you. how bout Jesus. Jesus is way cool.
Anyway, notice... guys who know the C++11 spec backward and forward seemingly losing their minds, all simultaneously.
@BadgerGirl sorry, well, I use guys generically, it's online, y'don't ever really know.
"people"
 
@HostileFork Nice addictive song! :)
 
@HostileFork That's okay. I'm a guy too.
 
1:19 AM
@BadgerGirl Well proving my point, I guess.
I always tell people to use female icons and female names if they want prompt answers to technical questions. It's just practical advice, sorry.
 
Yeah, works for me.
 
I'm a genderless cartoon character, so... yeah.
 
@BadgerGirl Wait, what?
 
@copy I'm sorry, you had to know.
 
Who cares? We're programmers. It's just pixels.
 
1:22 AM
She is my girlfriend
 
^boyfriend.
 
It matters if and when it matters. And I'll believe you if and when I meet you until then I don't care.
In the meantime, LET ME SELL YOU THE BEST LANGUAGE EVAR. Until Red replaces it. :-)
 
Give me your phone number and I'll give you a call.
 
Haskell?
 
I heard about this phone call thing, no, I don't talk to strangers on the Internet unless it's typing on the Internet. I have people I talk to on the phone and it's not you. :-)
BUT let's talk about Rebol now that we're all here.
Favorite language?
(that's a polling question so I can target my speech)
 
1:24 AM
Haskell.
 
@copy for real? Cool.
 
Haskell.
 
Maybe Python
 
@BadgerGirl for real? Cool. Okay you're in the right place. I'm a formalist.
 
Go on
 
1:25 AM
3
Q: Is Rebol a functional programming language?

Benjamin GruenbaumI ran into Rebol and I was wondering about it. I ran into the following script from here: use [feed questions answers][ feed: load-xml/dom http://stackoverflow.com/feeds/tag/rebol questions: map-each entry feed/get-by-tag <entry> [ find/match entry/get <id> "http://...

Well that's a Q&A and it will ground you a little.
Especially in the relative aspects. But Rebol is a Lisp child.
Just evolved to the max.
And it will blow yo mind.
 
I was just asking copy if it was a functional language. You read my mind. :)
 
Do you guys do Lisp at all?
 
It's on my todo list
 
I do Scheme.
 
@BadgerGirl Well same difference.
Okay so you are not surprised much by things like code: [1 +] ... append code 2 ... do code printing 3. That's pedestrian, eh?
 
1:29 AM
Probably more turned off by the mutability shining through :)
 
@earl Shut up!
Jeez man.
Stop raining on my parade.
 
Yeah.
 
Yes
 
Trying to send everyone to the Erlang or Haskell or Clojure room?
 
Sure, that's where the cool kids are.
 
1:31 AM
Bleh.
 
Maybe not the Erlang room, anymore :)
 
Wait... there's a Haskell room?
 
@copy @BadgerGirl So the cool part is we can actually explain this to you because you would be hella shocked how many kids today don't know Lisp.
 
@HostileFork Now this will get interesting :)
 
I don't know Lisp.
 
1:32 AM
@BadgerGirl Scheme is close enough.
 
Okay.
 
Before we play, I'm going to ask you a question... you know how Lisp and scheme use parentheses for the delimiters of symbolic groups? I guess you might say C uses... braces?
 
Yeah.
 
Okay well let's say you were designing a computer language and you had to pick the asymmetric delimiter for "symbolic groups"
And you looked at your keyboard
Is there an obvious "best choice"?
 
I cannot think about one.
 
1:36 AM
@HostileFork The up arrow key
I use that all the time
 
@BadgerGirl Well, the square brackets, at least, don't need you to push shift. :-)
 
But on a german keyboard you have to.
But yeah, I can see where you're coming from.
 
@BadgerGirl Technicalities okay, you got me there. :-)
But in general
Now let's talk about strings.
You ever see a language that has "Hi I'm a string" and '<a href="foo">' alternates? Like you're supposed to decide if you use double quotes or single quotes, and it's based on the content, and you kinda rip your hair out over it?
Like "well there's no single or double quotes, so which do I use?" or "Hm, I have both apostrophes AND quotes so which do I use".
Just B.S. stress that raises your blood pressure and not like I need that because I'm already half dead.
 
It keeps me up all night.
 
@BadgerGirl I tend to pick single quotes all else being equal, it just feels cleaner.
In those crap languages.
 
1:43 AM
Go on.
 
But Rebol has chosen (gasp) asymmetric string delimiters! So you say print {"It's really better to use asymmetric string delimiters," said {Fork} to {BadgerGirl}, "because look, if they match up, the parser doesn't need to escape. It's cool and multiline. Screw those other languages."}
This is the beginning of realizing the genius of decades of design. And after that the tragedy that causes us to argue but let's.. let's... not talk about that. Let's talk about the joy of discovering the universe of design that is Rebol. Then you can yell at us :-)
It's like every.. single... decision... was made on purpose.
Sort of, except when I go hit BrianH with a frying pan.
And say "nooooo!"
And look who's here. Hi @KK. :-)
 
KK.
@HostileFork Good morning.
 
@KK. bad news in India today I saw :-(
What the hell are these people thinking.
 
Does everything in Rebol have a graphical interface?
 
Murderers and bombers and terrorists, what rational person could ever think that's the answer?
 
1:51 AM
Just looking at the examples.
 
@BadgerGirl Well, Rebol is "symbolic". It's best to think of it as a box of tinker-toys or LEGOs or what have you. (Do kids today even know what tinker toys are? Should I stop saying that?)
 
KK.
@HostileFork Yes. I am just looking at it now.
 
I answered my own question: yes. I need to stop referencing tinker toys. Kids today have no clue what those are.
 
KK.
@HostileFork We are a lot of people here, with different mentalities etc. When you can't get what you want, you resort to violence.
 
@KK. I don't like it.
 
KK.
1:53 AM
And then there is the geopolitics in the subcontinent.
 
Not the answer.
 
KK.
@HostileFork You would expect Gandhi would have taught us that.
 
@KK. Well Gandhi also was missing a piece of the puzzle, he wasn't a programmer, just a good guy. If you are a good guy and a programmer, you know that you cannot have a nonviolent response to a machinery onslaught... like a machine gun tied to a motion detector...
Wishing for your enemy to become enlightened won't work if your enemy is just a simple machine. You have to think a little higher.
 
KK.
@HostileFork I would say he was a very intelligent guy first, and then a good guy.
He was like a programmer of men (said from a strictly neutral perspective)
 
@KK. His opinions did say that fighting Hitler was a valid cause for fighting.
He wasn't a "roll over for anyone" sort of pacifist.
 
KK.
1:57 AM
@BadgerGirl @copy Sorry for overshadowding your discussion.
 
@BadgerGirl @copy We'll be here regardless, just catching up with @KK.
 
That's okay, we're talking about it in private, like a couple.
 
@KK. So yeah, it's neat to have new people stopping by and inquiring about Rebol, it puts the pressure on us to fix the bugs though :-/
"It's like people care, all of a sudden." hehe
And we only got the source in December, and we're sifting and deciphering, and Red is going off on its path... it's enough to stress one out.
 
KK.
@HostileFork He started his satyagraha ideology first in South Africa, where he went as a lawyer, and saw the treatment of Indians and other colored people there. Since they were not in a position to fight, Gandhi simply started passive resistance: We won't accept your laws, and we won't resist arrest or any punishment for breaking them since we broke a law that was null-and-void in the first place.
@HostileFork I think the best thing for Rebol right now is eyeballs
The more we chat here, the more people will end up in this room by mistake
 
First we had programming by coincidence, now there's marketing by accident.
 
KK.
2:03 AM
 
We ended up here by mistake, but I have so many things to try and so few time :-(
 
@HostileFork still no CC ticket from you for redefining function...
 
I showed up just for @HostileFork's awesome avatar
 
0
A: Cannot upload file with ! in name using Rebol

RespectechThat's a bug in Rebol v2.x with the network protocols. It is a valid URL! type. Normally, you could do a trick like this: >> type? http://user:pass@myserver/test%21file.txt == url! See, it's a valid URL! >> read http://user:pass@rtibackup/test%21file.txt ** User Error: URL error...

 
KK.
@HostileFork @SomeKittens See the image I uploaded, ours is the fourth room. People are here to talk, and they will mostly enter any room.
@SomeKittens @HostileFork You gotta get me one of those. :-)
 
2:05 AM
That's something I really like about SO's chat: it makes it easy to find communities.
2
 
I draw icons for people. In my spare time. Lemme know what you want.
 
@HostileFork Some kittens. Let your imagination go wild. I like my current avatar, but it's not original.
In exchange, I'll make you a real-life hostile fork.
 
But you've gotta have a "brand" or a "vision"... you have to be thinking of where you are now, and where you want to go.
 
KK.
@HostileFork I was just joking :-)
 
@SomeKittens My business card was going to be an engraved fork, and I worked it all out, but it wasn't economical to produce what I wanted.
I found the 3-tined forks, looked into how to do engraving and paint, thought about toxicity of the eyes if they were painted white...
 
2:08 AM
Can I have your business card, HostileFork?
 
Could've been done. Costly. Like $10/fork at the scale I was looking at.
@BadgerGirl If you promise not to call me, yes.
 
I can't promise that. :(
 
@HostileFork Psh, do you have any idea what it costs to have kittens engraved?
 
@SomeKittens a bonzai kitten takes patience.
@BadgerGirl if you look hard enough in the chat transcript, you'll find among other things, a PNG of my business card. If you're going to harass me then I ask at least you read a lot of Rebol stuff as the price to pay.
 
KK.
I just wanna go back to sleep but seeing 17 people in this room is so damn exciting.
 
2:13 AM
@KK. Oh give it a month, this will make you yawn
 
KK.
@HostileFork Great way of thinking :-)
 
Popular !== good. See the JS room.
 
@SomeKittens Truth spoken.
 
At least here I know I'm the dumbest one in the room
 
But we have a little magic wand called moderation, and we haven't had to use it yet...
 
2:14 AM
no place to go but up
 
@SomeKittens The dumbest people are always the people who don't know they're dumb.
 
KK.
@SomeKittens You sure? I think I am the "one"
 
Ready To Learn = Genius
 
I'm a genius!
 
Was that your phone number?
 
2:16 AM
It's also really cool to watch the development of a language in action
 
And Rebol is a goldmine. We've got decades of cool stuff. I feel almost miserly, like... we give it out one sentence at a time... and I feel so horrible about how miserable the rebol.com site is. It's like, we've got this magic crystal and we're sitting here doling it out one little tiny splinter at a time.
 
This is why I want to be rich: So I can help build really cool things (like Rebol) and not worry about money.
 
KK.
@SomeKittens You and @HostileFork think alike, not same, but along the same lines. You do not want the normal things in life to get in the way of doing better things.
 
Just had a little incident that makes me ask about "porting phone numbers"
Do you guys know what that means?
 
Moving your number to another carrier?
 
2:23 AM
@SomeKittens Well, do they HAVE to let you do it, or are they doing it out of the goodness of their hearts?
 
KK.
@HostileFork @BrianH @DocKimbel @rgchris @earl @GrahamChiu @Adrian @pekr @rebolek any ideas about When would using a scripting language Rebol within a larger program be useful?
 
@KK. Rebol's missing what I keep calling "bindings". That's all.
There are some, just not enough, Red is being rather aggressive.
 
KK.
@HostileFork Looks like I annoyed a lot of people without any reason.
 
@KK. Well you at-ed people. I think they'll live. :-)
Do it 20 times a day, well, maybe someone is going to complain. :-)
 
KK.
@HostileFork I know, but I am in the habit of annoying people (you) at least once every 2-3 days.
 
2:26 AM
@KK. Haven't annoyed me yet, I consider your enthusiasm and interest one of the better things happening to me lately.
 
KK.
@HostileFork Maybe our definitions of annoying are different.
@HostileFork Is it fine/ethical if I ask people in this room to go and upvote questions?
 
@KK. I find this annoying for reasons perhaps obvious.
 
@KK. It's a fine line
 
The only system-gaming I'm in favor of is getting people to 20. Just because Stack is being a bit of a jerk about that. Beyond that, no upvote requests IMO.
20 ain't anything anyway.
Easy, it just should be easier than it is.
 
KK.
@HostileFork I thought of requesting people to upvote the functional language question at P.SE yesterday.
 
2:32 AM
@KK. Nice thought but no, I'm happy with how we're doing it, playing by the rules.
No (minimal) cheating.
 
KK.
@HostileFork Ok.
 
Don't upvote anyone > 20 points "for the sake of the upvote". Upvote them if what they said is not just coherent, but compelling.
 
@KK. I find that there are a lot of times that I need to do something within a program that the program itself doesn't have the ability to do. For programs that can pipe their data through a file, you can use Unix-like file techniques - the same goes for collections of objects and Windows scripting. But some applications choose to provide an extension model instead, and for those you have to make Rebol/Red into an extension.
R3 has support for this, in theory, but we haven't seen people trying this much yet.
As for the question linked, for cases where you would want to design your program to use a scripting language, it might be helpful to think of Rebol as being a really powerful library that does a lot of stuff. By using it in your program, you don't have to write that stuff yourself.
 
@BrianH Is that akin to ARexx?
 
There's the old saying: Any sufficiently advanced program ends up reimplementing a large subset of Lisp, badly.
3
@rgchris yup, though that was a little more platform-specific. That was more like Windows ActiveScripting or Powershell, or AppleScript. For a more general platform agnostic example, the most widely used one now is Lua, mostly because it was specifically designed for this kind of thing.
 
2:44 AM
Somehow or another I'm finally yawning. Took long enough. Yaawn.
Catch y'all later.
 
In a C# program (the subject of the question) I'd not pick Lua though, because Lua was more designed for extending C programs. Instead, it might be better to pick one of the DLR languages like IronPython or Javascript, or better yet making it possible for your users to use any DLR languages.
 
@HostileFork Sleep well.
 
KK.
@HostileFork I am gonna go with family to a religious pilgrimage called the Kumbh Mela , so will catch you on Monday or tuesday. Sleep well. GN.
 
@Adrian, I bookmarked that Clojure article. I've been looking at other languages that have been dealing with concurrency, to see if they've figured anything out that would be applicable to a language with Rebol's core semantic model. Clojure was on the evaluation list already, but thanks for the handy link :)
 
3:24 AM
I am writing a dialect (based on user input) for business opening hours. I have it pretty much mapped out, but thought I might leave it out here for anyone wanting a challenge learning 'parse or datatypes.
The basic premise is, user input is provided as a string to be loaded. The format is as follows: {monday: 8:00am - 5:00pm weekends: 9:00am - 4:00pm}
 
no military time?
 
All the days of the week would be represented, as would weekdays and weekends.
@GrahamChiu That's the beauty of Rebol—it'll convert the time for you, you can do military time if that's your bag.
{weekdays: 07:00 - 18:00}
 
this is the dialect I use
working Friday period 30 start 9:00 finish 18:00
 
That's a little verbose for this purpose.
 
working Tuesday period 30 start 9:00
block 10:00 to 10:15 for "morning tea"
block 12:00 to 13:00 for lunch
block 15:00 to 15:15 for "afternoon tea"
finish 16:00
so my appt slots get populated for 30 min intervals
 
3:31 AM
But similar idea.
 
away from 25-Dec-2005 to 9-Jan-2006 on "Summer Holidays"
 
How do you denote time spent Rebolling/Chatting?
 
( southern hemisphere )
the dialect just creates slots for appointments in my diary
so the rule is applied to any day
didn't your diary have a dialect as well?
 
Nothing so fine-grained.
create appointment popped up a dialog box and could pre-populate with date if provided.
 
@Mark.L welcome to the Rebol chat room .. sorry you can't talk until you reach 20 reputation points as per the global chat rules
 
KK.
3:42 AM
@Mark.L Hello.
 
@Mark.L, read the FAQ to get an idea what all this is about. If the subject catches your interest post a question and we'll get some answers going - enough to bump you over the rep requirement.
 
@KK. @moliad has loaded the R3 interpreter inside a larger program so this can be done. I would presume he is using it for parsing.
I use the GUI dialect which I have opened up to users so that they can create their own GUI screens to customize my app.
@Adrian A rebol question preferably!
 
@GrahamChiu almost missed this—I believe that's twice as much time than MDs at my current clinic.
 
KK.
@GrahamChiu @moliad would any of you want to answer ?
 
@rgchris me = specialist
 
3:52 AM
Ah, right.
@KK. 'fraid I don't have much expertise in this area—it seems @moliad has the best actual example of why I'd use Rebol within a compiled program (no pressure Max).
 
KK.
@rgchris btw, I am following some of you guys, you, @earl, @HostileFork, @moliad and @DocKimbel (red_lang) on twitter. Hope its not a problem to any of you. :-)
 
Well, I think that you'd do this if the core language lacked some facility that the guest language had.
I think you'll find that the question of what characterises a "scripting language" has been asked before and there is no real difference.
 
@KK. No problem at all. I'm a little quiet there at the moment, I'll get back to it soon enough.
 

« first day (845 days earlier)      last day (2935 days later) »