« first day (954 days earlier)      last day (2826 days later) » 

1:08 AM
I just logged into Altme
@rebolbot source who-is-online
 
url-encode: make function! [[text [any-string!]][
    either parse/all text: form text [
        any [
            some ch | end | change " " "+" |
            mk: (mk: percent-encode mk/1)
            change skip mk
        ]
    ] [to-string text] [""]
]]    speak-debug: make function! [[message /local err][
    if error? set/any 'err try [
        to string! write chat-debug-target-url compose/deep copy/deep [
            POST
            [(header)]
            (rejoin ["text=" url-encode message "&fkey=" bot-fkey])
 
hmm. Looks like there is a static reference there so that source keeps getting acrued
 
REBOL4 world restarted.
 
Thanks
@RebolBot faq for GreggIrwin
 
@GrahamChiu StackOverflow Chat FAQ @GreggIrwin
 
1:20 AM
Good idea to change the old avatar!
 
1:38 AM
I had the exact same problem logging into AltME, and I don't know how. I remember my password perfectly. I've got the same combination as on my luggage.
Don't ask why I'm on AltME, but Kaj didn't seem to be displeased with me. today.
I'm sure I'm going to do something. You just wait.
I have my music keyboard underneath my typing-keyboard, so my wrists rest upon piano keys. Usually this makes no noise, but sometimes I tinker in music programs and leave them running. Some of the sounds are these trippy synth things that just sort of evolve but have a kind of infinite sustain.
And I can actually sit down and write things for an hour, shifting my wrists and becoming very focused. But eventually completely forget that it's the variations in my wrists making the music. And I think "What is this crappy music I'm listening to?"
 
@rgchris no, i haven't tried. looks very promising, indeed. how did u find it?
 
I should've been recording it and make a CD cover and liner notes and such. Then sneak it into the the music store, wherever they have the Philip Glass albums. But first: I'll find the most expensive item that store sells, and print that on the UPC code.
I thought I was the one who came up with planting fake products in stores, then I learned there was a whole movement of people who do it for fun.
The Internet is depressing. It's like you never feel original.
 
1:59 AM
@onetom Came across it looking for a way to customise map tiles. Looks nice even if I haven't yet figured out how to make it go.
@HostileFork Yet for the most part, you can still say you thought of it and most people will believe you.
That's not an original idea either.
Any good synonyms for allowed ? — thinking as-is verbatim permitted unchanged
 
2:18 AM
@rgchris what's the context?
 
Characters not to be escaped in a given string.
 
2:56 AM
Does R3 handle UNC filepaths the same way as R2? Because if so, that can be a problem in some edge cases. For instance:
>> to-rebol-file "C:\"
== %/C/
>> to-rebol-file "\\C\"
== %/C/
@rebolbot do to-rebol-file "C:\"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> to-rebol-file "C:\"
== %/C/
 
@rebolbot do to-rebol-file "\\C\"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> to-rebol-file "\\C\"
== %/C/
 
@rebolbot do print system/version
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print system/version
2.101.0.4.2
 
2:58 AM
Yes, it looks like it is the same.
 
3:23 AM
It shouldn't act that way on that platform. The whole reason to-rebol-file was native in the first place is that it is supposed to be platform-specific. It was based on my Rebol-language original that was only platform-specific by default, but it dropped the /platform option (or whatever it was called, it was over 10 years ago).
 
Ah yes. Rebolbot is running on Linux, isn't it? In any case, I get the same results on Windows. I think it is ambiguous for a UNC path of \\C\ (a computer with the hostname of "C") to be converted to %/c/ (is it the Windows default main hard drive partition, or a UNC path to a computer named "C"?).
 
3:42 AM
@rebolbot do write console:// "Hi"
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/script-cannot-use.html
>> write console:// "Hi"
*** ERROR
** Script error: cannot use write on port! value
** Where: write
** Near: write console:// "Hi"
 
@rebolbot do help write
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> help write
USAGE:
    WRITE destination data /part length /seek index /append /allow access /lines

DESCRIPTION:
    Writes to a file, URL, or port - auto-converts text strings.
    WRITE is an action value.

ARGUMENTS:
    destination (port! file! url! block!)
    data -- Data to write (non-binary converts to UTF-8) (binary! string! block!)

REFINEMENTS:
    /part -- Partial write a given number of units
        length (number!)
    /seek -- Write at a specific position
 
So, the destination can be a port!, but write can't write to a port!?
 
4:08 AM
@Sgeo Yes, you can write to a port. It's likely console:// doesn't support 'write.
@RebolBot do parse "text/*" [thru "/*"]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> parse "text/*" [thru "/*"]
== false
 
Why would that be?
 
@Respectech actually, that's correct for Windows, at least as far as the behavior of to-rebol-file is concerned - it's supposed to generate the corresponding Rebol filenames, and it does. It turns out that the ambiguity is in the treatment of directory names within Rebol itself. And I just found another error with that.
@RebolBot do read %/
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> read %/
== [%bin %dev %etc %lib %tmp %sys %var %usr %Data %boot %proc %sbin %Depot %Files %media %users %System %documentation %Programs %system %resources %applications]
 
OK, that's legit for Linux. It's just wrong on Windows (8, at least).
 
4:21 AM
@RebolBot do parse "text/*" [thru ["/*"]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> parse "text/*" [thru ["/*"]]
== true
 
What should I use for reading and writing stdio, besides the oddly behaving console://
read console:// tends to try to always read one line if I do it interactively, even with /part
 
Hmm. 'thru requires block—incompatible with v2. @brett might want to note.
 
@rgchris thru doesn't require block, but it supports it in a way that is incompatible with R2.
@RebolBot do parse "text/*" [thru "/*"]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> parse "text/*" [thru "/*"]
== false
 
4:26 AM
And that's a bug. Works right locally.
 
@Sgeo What are you trying to accomplish?
@BrianH Not working 2.101.0.2.5
@Sgeo Have you tried system/ports/input or system/ports/output ?
 
@rgchris damn, I checked an older version. There was some work done on thru and I'm not sure how much made it into the build used by RebolBot. I don't have a current build (my building machine is still in Chicago at the moment).
 
I think my build is the same as RebolBot—i.e. gfc51038
@RebolBot do system/options/boot
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> system/options/boot
== %/users/try-REBOL/program/r3
 
@RebolBot do system/build
 
4:31 AM
; Brought to you by: tryrebol.esperconsultancy.nl
>> system/build
== 26-Feb-2013/18:14:32
 
Same date/time (off by 0:0:58) as mine.
 
That's an old build. Has @earl made any progress in getting the rebolsource builds up?
 
That's still the latest. I'd try the Saphirion build, but the latest one is back to 'Illegal Instruction'.
 
>> to string! read/part system/ports/input 1
abcdef
== "abcdef^/"
 
$ curl -o r3-saphirion development.saphirion.com/experimental/r3-osx; chmod 755 r3-saphirion; ./r3-saphirion
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  520k  100  520k    0     0   243k      0  0:00:02  0:00:02 --:--:--  260k
Illegal instruction
 
4:37 AM
>> write system/ports/output "Hi there"
** Script error: write does not allow none! for its destination argument
 
@Sgeo I don't know why that is—in a Rebol v2 console session, an insert to system/ports/output would be equivalent to 'prin.
 
I don't think that they're completely implemented yet.
 
Is read more predictable on R2?
The answer is apparently yes
Although not sure how to make it such that it doesn't need enter to receive it when running interactively
 
4:54 AM
I don't think that's currently possible.
 
5:17 AM
@rgchris I wonder if Rebellious Rebolers think it's childish or interesting to do sneak runs into stores and plant fake products w/UPC codes to see if anyone buys them. Your tracking of them could be as banal as the warranty card or if you felt like it, an embedded GPS and transmitter. I came up with the idea over a decade ago and proposed it to people, and I even made some sample products...but never had the guts to go in and put it in the store.
 
posted on June 11, 2013 by BrianH

[Bug] I did a READ %/ on Windows, expecting to see the list of drives ([%/C/ ...]). Instead, it returned the files in the root directory of the current drive, the way READ %// does (and is supposed to). Only affects Windows because other platforms don't have drive letters. I just tested on Windows 8, so it might be limited to that Windows version. Tested with 2.100.112 and r3/master.

 
I thought the best place would be in a discount bin, like clearance. Partly because I'm a cheapskate (the objects are cheap in those bins) but also because the names are fairly mangled on the receipt. I figured I could grab a few $1.99 items and see what printed out that wouldn't cause suspicion...pick the UPC that had the most incoherent name in the store's database. "MISC #72" or something.
I'm not sure whether to be irate that others have done this, or relieved so I don't have to. I forget the name... shop-something... shop-planting... argh. It's a kind of reverse theft terrorism to get people to buy products a store doesn't actually sell.
No one expects you to come into a store and PUT a product on a shelf with a price and UPC code the store will scan!
They're so busy looking for you to steal... condoms mostly, it seems. They put alarms on that, and the cashiers rarely disable the inductive tags. It has nothing to do with the expense of condoms vs. other items in the store, of course! Price isn't why. Metrics of human behavior... is... why...
Well, size of object also comes into play. It's still metrics, but a different angle. If something costs $500 and has to be lifted hydraulically to get it out of the store and into a truck, the equation changes. So they think.
 
Be hard to plant that though.
 
@RebolBot
print {"@HostileFork, this has nothing to do with Rebol. This has to do with you spending over an hour in WalMart today. And WalMart doesn't just annoy you, it annoys lots of people. http://www.peopleofwalmart.com/ "}
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print {"@HostileFork, this has nothing to do with Rebol.  This has to do with you spending over an hour in WalMart today.  And WalMart doesn't just annoy you, it annoys lots of people. peopleofwalmart.com "}
"@HostileFork, this has nothing to do with Rebol.  This has to do with you spending over an hour in WalMart today.  And WalMart doesn't just annoy you, it annoys lots of people. peopleofwalmart.com "
 
5:27 AM
@BrianH thru bug already noted.
@HostileFork My one and only WalMart purchase was a $60 bike. Can almost guess what happened...
(thankfully wasn't me riding it at the time) (unfortunately it was a neurosurgeon)
 
There is a 30 cent price difference between the generic brand contact lens solution in the embedded Eyeglass Center in WalMart, and the same product you'd buy if you were in Walmart proper. Guess which costs 30 cents more?
@RebolBot
print "Um, what's a cent, and why should we care?"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print "Um, what's a cent, and why should we care?"
Um, what's a cent, and why should we care?
 
@RebolBot do value? $0.01
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> value? $0.01
== true
 
File a bug.
@RebolBot
value? being-honest
 
5:34 AM
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/script-no-value.html
>> value? being-honest
*** ERROR
** Script error: being-honest has no value
** Where:
** Near: try load/all join %/users/try-REBOL/data/ system/script/args...
 
@RebolBot
value? being-fair-minded
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/script-no-value.html
>> value? being-fair-minded
*** ERROR
** Script error: being-fair-minded has no value
** Where:
** Near: try load/all join %/users/try-REBOL/data/ system/script/args...
 
A bot would have a dispassionate view of ethical concerns.
 
@rgchris This is an existential question that has troubled many people, and as computer scientists in the era we live in, it's starting to get a bit hot under the collar to pick a side on it.
 
posted on June 11, 2013 by WayneTsui

[Bug] When I run a spider programme, after several mininutes, the console would terminated abnormally. OS: Win7 Rebol Version: 2.100.111.3.1

 
5:40 AM
One of my good friends was a Ph.D student under Roger Penrose, and not that his thesis had anything to do with anything in the book, it was right about the time he wrote The Emperor's New Mind. I didn't read it, just summaries, so I'm unqualified to speak about the material.
 
@HostileFork A bot is only as able to determine, well anything, to the extent that its programmer has anticipated.
 
("he wrote" = Roger Penrose wrote that book, not my friend. He in fact didn't continue to pursue physics just programming for Getty Images. I have a number of jaded physicist friends who stopped gazing into that particular abyss, and don't blame them, but I kind of wish I knew more so I could speak on such matters with more authority.)
 
[a bot is] a glorified book when it comes to disseminating ideas.
 
Well the reviews didn't encourage me to read it
 
@Sgeo read is more thoroughly implemented in R2. Don't know about more predictable.
@rgchris thanks, saves me the trouble of researching whether the bug was reported or fixed :)
 
5:48 AM
@RebolBot
A: "Philosophy is as deep as engineering, or medicine, or anything else. And I find Ayn Rand and her followers often annoying."
is: func [value "QED"] [print value #[unset!]]

A is A
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> A: {Philosophy is as deep as engineering, or medicine, or anything else.  And I find Ayn Rand and her followers often annoying.} is: func [value "QED"] [print value unset!] A is A
Philosophy is as deep as engineering, or medicine, or anything else.  And I find Ayn Rand and her followers often annoying.
== unset!
 
Why does RebolBot print the unset? :-/
 
@RebolBot do do does [print 1]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do does [print 1]
1
 
Or, what I should be more worried about, is why it dropped the syntax that I apparently (in a fever dream, that I don't recall but @Ladislav does remember) called "construction syntax"? I really don't remember saying that.
If he says so, okay, but I'd like to see a transcript of that.
 
5:51 AM
@HostileFork that's less worrisome. The results print with MOLD, and construction syntax is generated by MOLD/all. There's a ticket to make this an option.
@RebolBot do do does [print 1 ()]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do does [print 1 ()]
1
 
@RebolBot do do does [print 1 #[unset!]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do does [print 1 unset!]
1
== unset!
 
Alright, that's just weird. Especially those last two should be the same.
 
It's the word datatype 'unset!, no?
 
5:54 AM
@RebolBot
type? #[unset!]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> type? unset!
== datatype!
 
Maybe our bot is not loading things right.
 
No—it's just returning the datatype.
 
@RebolBot do type? first [#[unset!]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> type? first [unset!]
== word!
 
5:55 AM
Definitely a bad load.
 
Well, Kaj was nice to me earlier today so... um... well, I guess that's the end of the statement.
 
@HostileFork yay?
@RebolBot do type? first [#[none]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> type? first [none]
== word!
 
Our bot is choking on construction syntax.
 
Oh I don't know, complicated people have moods. Don't get on his case that much. If you can show me a revenue sheet for RebolBot requests processed then you can yell at him
 
5:57 AM
Call it an intervention.
 
AFAIK we're doing this... uh... for the love
 
@rebolbot do print "and goodbye"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print "hello"
hello
; Brought to you by: tryrebol.esperconsultancy.nl
>> print "and goodbye"
and goodbye
 
slick huh?
 
Show off!
 
5:58 AM
restricted to the last 6 commands ... and of course the 2 min edit delay
 
How about...
@RebolBot do 1 + 0
@RebolBot delete silent
 
Impressive!
 
Nice!
 
and delete silent is now default
2
if you want to see a response, use delete loud lol
 
6:01 AM
@RebolBot
print {"You say Goodbye, and I say hello... hello hello... I don't know why you say Goodbye...I say hello (and I don't know why I can't do markdown; WAIT I do, it's a fixed font setting.  I say copy, you say paste: youtube.com/watch?v=99jVPJUeqr4 "}
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print {"You say Goodbye, and I say hello... hello hello... I don't know why you say Goodbye...I say hello (and I don't know why I can't do markdown; WAIT I do, it's a fixed font setting.  I say copy, you say paste: youtube.com/watch?v=99jVPJUeqr4 "}
"You say Goodbye, and I say hello... hello hello... I don't know why you say Goodbye...I say hello (and I don't know why I can't do markdown; WAIT I do, it's a fixed font setting.  I say copy, you say paste: youtube.com/watch?v=99jVPJUeqr4 "
 
Greetings @Tory. Welcome to... The Rebol Matrix. :-) Our bot says you can chat, so what's on your mind?
 
hmm.. where did the bot greet go?
 
Was busy?
 
@GrahamChiu Don't know, but delete silent default is starred by moi. Overdue.
 
6:03 AM
@HostileFork let me see...
 
Anything that lets me cover up mistakes is good! @Tory, we are on a crusade...ever hear of Rebol?
 
@HostileFork not yet
@HostileFork in fact, i only know C++, and only Windows
@HostileFork but i'm curious about it
 
@Tory I'll point to the obligatory introduction.
 
@rgchris thank you
 
Rebol is sort of similar to JSON (inspired by Rebol)—no commas, less quotes, more types and you can use it to share code and build your own languages.
 
6:17 AM
@rgchris sounds cool
 
@Tory As much as a language can be :)
The Rebol interpreter is but one way to get started. It'll run Rebol scripts or work by command at the console. Red will be a full stack system—compiler to interface.
 
@GrahamChiu Hi Graham, how is the wiki convertion going? Sadly I didn't have time this weekend, and it will be the same until after next weekend.
 
@ingo I am out of town at present working so it's on the back burner for the moment
 
 
1 hour later…
8:02 AM
@rgchris I think we have to work with a better pitch than "Rebol is sort of similar to JSON", for reasons besides the obvious (e.g. Rebol is credited with JSON's inspiration). But I do think we should remember that there is an aspect of Rebol which is a philosophy of uniform data exchange, but this does not--in itself--constitute a definition of what we think of as a programming language. But we shouldn't scare people like @Tory :-)
 
There is also the philosophy of using the language for anything for any problem domain. It doesn't fulfill it, but that is more of an implementation issue than with the language itself.
 
@HostileFork that's all right. thanks for you help. you are ready to help the novice
 
Tory, welcome to the world of REBOL. :-)
 
@Henrik yeah, thank you
 
@Tory I'm quite ready to help but I am starting to have to cut time as I am moving and integrating this move with the next Rebol conference, so, er, time is kind of short. But I do like being the room warden to say "hey, we've got this thing we spend time on and we'd like to share it". So I'd ask if you have experience with homoiconic languages like LISP before, because that's one angle to start at...
 
8:10 AM
@HostileFork I won't speak for @Tory, but I don't entirely agree (as you may expect). JSON is quite easy to relate to—I don't think it's a bad mindset to be in when you approach Rebol.
 
@HostileFork i have some experience with Windows PowerShell...
 
@RebolBot
print {"Hey @Tory," said {@RebolBot}, "You know there's lots of interesting design decisions in languages that people don't think about. Like {asymmetric string delimiters}. They're better than any kind of grotesque shuffle between 'single' and "double" quotes. If one just *thought* a little in your design, you'd have less escaping. But this is just a tip of an iceberg... and @rgchris wants to argue with me about what's important or not about it. :-P"}
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> print {"Hey @Tory," said {@RebolBot}, "You know there's lots of interesting design decisions in languages that people don't think about.  Like {asymmetric string delimiters}.  They're better than any kind of grotesque shuffle between 'single' and "double" quotes.  If one just *thought* a little in your design, you'd have less escaping.  But this is just a tip of an iceberg... and @rgchris wants to argue with me about what's important or not about it.  :-P"}
 
@Tory Well Rebol is kind of a literate LISP, it's old... like 18 years old. But only recently open sourced by the grumpy old guru who grew up in a world where you bought software in boxes and it had printed manuals, etc. :-) He converted, it's open sourced and quite an odd artifact.
@RebolBot
code: [print 1 +]
append code 2
print do code
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> code: [print 1 +] append code 2 print do code
3
 
8:17 AM
@Tory Rebol starts from that "code is data paradigm". The actual structure of the code itself is one of the data structures in the language. That's one of Rebol's inherited properties from Lisp, it's called "homoiconicity" in CS slang. But it takes things to some new and interesting extremes... including a very psychotic attention to keeping the interpreter itself small and have no dependencies: rebolsource.net
 
8:55 AM
0
Q: Getting/Setting File Permissions From Rebol

rgchrisIs it possible to change file permissions within Rebol 3 without relying on CALLing CHMOD? Rebol 2 had 'set-modes though doesn't appear to be available any longer: permissive-access: [ owner-read: group-read: world-read: owner-write: group-write: world-write: #[true] owner-execute: g...

 
Can call the windows or other API for this .. to change permissions
 
 
3 hours later…
11:56 AM
Hi @GrahamChiu - I have taken the updates I made to fix up the module based bot in the test room and I have merged them into my git hub repository. This includes all of the fixes we were testing.
I added in a read-message command to the api for the twitter client for when I can finally get that working
Thank you @rgchris and @BrianH for your discussion on modules. Very useful information (it is the same issue/lack of my understanding which is blocking me from integrating the twitter client and the bot)
Good night -J
 
12:29 PM
@rgchris Parse's Thru takes a special rule (pattern match) argument.
But it is incompletely implemented for example parse [[x]] [thru [quote [x]]] doesn't work.
Also parse [a b] [thru [?? end]] fails.
@GrahamChiu Still travelling. Have played a bit with modifying my call script to work with R3, while my wife was driving :-) , but have round R3 alpha to be fighting all the way. Granted my networking skills in R3 are rudimentary so that could be contributing. I've come to the conclusion that at this point though, that all I can aim for is to get R3 to call R2 to simulate the interactive redirection.
I'm not sure yet whether I can even get that to work as my initial trial at doing the R2 calls from R3 isn't doing what I expect. :-/
 
 
4 hours later…
4:23 PM
@Brett Yes, it was this bug that I hit.
 
 
3 hours later…
7:28 PM
0
A: Getting/Setting File Permissions From Rebol

BrianHAt the moment, no, you have to use call. It is planned to add back the port mode getting and setting capabilities, but the API needs a revamp first and we haven't started the discussion for that yet. The port model is mostly different in Rebol 3, so the port mode model is going to have to be dif...

 
 
1 hour later…
8:44 PM
@johnk can you do a pull request?
 
 
2 hours later…
10:43 PM
Okay, I'm about to pull the glass off the front of an older iMac, so I can un-torx the LCD out of position, so I can put a 260GB 2.5" SSD in an adapter bracket to 3.5" inside. Fingers crossed that I don't break anything in this process. geek.com/apple/…
 
get yourself one of the new Macbook Pros
 

« first day (954 days earlier)      last day (2826 days later) »