« first day (1170 days earlier)      last day (2610 days later) » 

12:12 AM
I was trying to help someone else. Don't have it in from of me, so I probably won't pursue it further
 
0
Q: Making file associations launch a certain extension, but with a console program?

HostileForkIt is possible using the right click menu on "Open With" to get the option to choose an application to open a certain file extension. You can then say "Always Open With This". That works if the program is packaged as an OS/X bundle (which is actually a directory containing lots of stuff under t...

 
12:37 AM
@HostileFork Keep reminding me and I'll try my hand at it at some point
 
1:29 AM
Hello @klausnrooster
 
Hi, checking in after long absence
 
@klausnrooster What's new? Our "starred posts" feed over there shows some of what's new here.
 
@HostileFork thanks, i'll go read over there.
Oh, what's new is I haven't noodled around in Rebol in months. But no more lang hopping. Except from R2 to R3, that is.
I lie. Actually do some munging with it at work. Trivial stuff.
 
I'm doing a static website generator at the moment, finally trying to free myself from the WordPress debacle that I got locked into a while ago. It's one of those "bite the bullet and finally do something about it" situations.
I... hate... making... webpages.
 
I like the concept you sketched above. I haven't coded a webpage since a local ui front for vbs stuff. I hated even that.
 
1:41 AM
I knew nothing about PHP when I installed WordPress. Fractal of Bad Design sums it up. By the time the site went from not mattering at all to sort of mattering to me, it was kind of too late; and it was going to be a major overhaul I'd have to set aside some time and patience for.
 
 
"Now you have infinite problems." ... "No, I had those already."
 
Peter Norvig of google fame took this cartoon literally and created a python program to generate regex to solve this
Might be fun to do the same in parse
 
Be my guest. :-)
So I'm facing a question of in the "great page redirect" of when to use switch project pages to subdomains... when to use TLDs... etc. I currently have a hostilefork.com/rebmu page but I wanted it to be rebmu.rebol.net ... not rebmu.hostilefork.com
 
 
1 hour later…
3:10 AM
I just found you can read scripts from github using http, not https. Just change the url from the https://raw2.github.com/... form to http://rawgithub.com/...
4
@rebolbot do do rawgithub.com/rebolek/r2e2/master/r2e2.r regex "21/3/2006" "\d{1,2}\/\d{1,2}\/\d{4}"
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do rawgithub.com/rebolek/r2e2/master/r2e2.r regex "21/3/2006" "\d{1,2}\/\d{1,2}\/\d{4}"
== true
 
Goodness Apple is the devil. I have never experienced such idiocy as trying to manage an iPhone. Goodness knows anyone would every want to use more than ONE computer to do anything with an iPhone. [/rant]
 
It's kind of beautiful, I think, how an iPhone and a computer mate for life.
 
@johnk Nice!
@HostileFork yes....beauty...that was the word I forgot to mention
 
@kealist That has been bugging me for ages. The answer was on SO as always
 
3:19 AM
Impatient for Feeds and I feel the answer may not be too complicated:
0
Q: Client disconnect results in a out of range error

kealistUsing One of the cookbook examples, I am trying to make a server like so in Rebol2: listen: open tcp://:9999 waitports: [listen] forever [ data: wait waitports either same? data listen [ active-port: first listen append waitports active-port ][ incoming-from-remote: first...

 
That also means we could modify the bot to pull the commands live from the github repo so that any commit will instantly be available
It appears there is no load-thru in rebol 3. Is there an equivalent function?
 
@kealist I don't know, but if I were looking for a "working" example of Rebol 2 server code I might browse through cheyenne's source
 
3:49 AM
Vote for Red! in the open source contributions sidebar ads!
5
And also... star the "vote for Red" post.
 
4:25 AM
 
 
3 hours later…
7:37 AM
Playing with a new text editor and the logo is quite fitting - brackets.io
Open source, cross platform and configurable (but no rebol syntax yet ...)
 
150MB? Nice :)
 
@rebolek I thought I would start with the positives :)
 
:)
looks like it's very HTML/CSS/JS centric
 
All config is javascript and is basically a browser based editor wrapped in an application hence the size - it is pretty much a web browser (at a guess - I haven't played much past installing it)
It does at least run on mac/linux/win which is what tempted me as I was not getting along with sublime as much as I thought I would
 
 
3 hours later…
11:22 AM
Found a python script which can authenticate to stackoverflow using openid. Should provide a way forward for getting the bot to generate her own cookies
 
 
4 hours later…
3:46 PM
Morning @DaviddenHaring , @WayneTsui ... did you vote for the Red ad? If we get 6 votes it starts getting shown on the site.
I didn't know MarkDown had a logo. It's not bad:
 
:14038802
@HostileFork I just tried to vote for the Red ad but discovered that Meta StackOverflow is almost like a separate account. It won't let me vote yet.
 
@DaviddenHaring Ah, I forgot about that. That will change once you get to 100 points... then you are "trusted" enough that when you make another stackexchange account, you can at least vote. There are quite a few sites!
Originally, they had a revenue concept that they would host Q&A topics for people who paid them. But it created fragmentation and a bunch of garbage, so they canceled that and created Area 51 as a site staging zone where there has to be a critical mass of buy-in and definition of what makes a good question and bad question. Each one is its own community, so your points don't transfer (beyond the 100).
 
4:04 PM
The sites (and account summary) are so similar, my first reaction was that something bad happened in their database. My reputation suddenly rolled back to 1 and I couldn't do anything. Not a good user experience. There should be some message reminding you that you've moved to a different site (and account). If only for the first time.
Oh, well. I'm obviously still a low ranking peon to even have this difficulty. :)
I do like the ad.
 
Yes, it needs to create yet another account. This whole system looks so desintegrated. Gee, why separate account for each of SO services?
 
@pekr Well, it does replicate your information if you want, but the idea is you might want a different identity in different communities.
They do want to avoid people who get high reputation in one thing having moderation powers in an unrelated topic; as dedicated and topic-aware moderation is part of the key toward what makes these sites less spammy than most of the Internet.
 
I must be really stupid - I don't know, what does the system want from me ...
stack this, stack that ... meta stack etc.
They tell me I can sign-in using StackExchange. When directly on stackoverflow.com, i can see myself being logged in. But maybe it is a different account name?
I enter my email and it tells me, that my email is not known ...
 
@pekr I use OpenID from before they had such a thing as a "StackExchange account". As of 2011, they decided they'd become an OpenID provider. So if you created an account with them and didn't log in with Google or something, then that's what they mean.
@DaviddenHaring One thing you can do that doesn't require any points is set your avatar. We watch for the default patterned icons to greet new users, so it helps to recognize people we know. (Note that it takes some minutes for the icons to propagate to chat.)
 
4:23 PM
@HostileFork I am trying to do it in UniServe now.
 
4:40 PM
@HostileFork My reputation is not enough either. :-/
 
Oh well. :-/ Hopefully we'll get some more votes somewhere!
Speaking of life not being fair, DocKimbel can't access blogger from Beijing, it's blocked; so he can't update the Red website.
 
Having a VPN is necessary in China. although internet is awful there in general
How much longer is Doc in China?
 
He is in Beijing right now. Just saw the news.
 
4:56 PM
@draegtun Hey, you can vote on the ad... :-)
 
Can I link to those pics on facebook?
 
@Henrik Sure.
 
@WayneTsui Are photos of him being passed around on Weibo? ;)
 
@WayneTsui Thanks, how about a caption? What's he doing on the pics?
 
@kealist Yeah.
 
5:02 PM
@WayneTsui I should get an account
 
I'll just add that he's explaining Red. :-)
 
@Henrik He is introducing Red in a Chinese Startup named "友ē›Ÿ" , a mobile developer service platform.
 
Thanks
 
@WayneTsui Does that name have a rough English "translation"?
 
@HostileFork umeng
umeng.com from the offical site
It seems that he also visit another company AVOS.com , but there was no picture.
 
5:19 PM
@WayneTsui Are you meeting / have you met up with him?
 
No. I read the news from Weibo.
@kealist I think I can help you ;-)
 
@WayneTsui Trying, but it's not texting my cell number. I will try a bit later on. My wife can help if I can't get it :)
 
:-)
 
 
1 hour later…
6:42 PM
posted on January 13, 2014 by kealist

I have the following protocol defined for UniServe (in the protocol directory saved as exec.r): REBOL [ Title: "Exec protocol" Author: "Joshua Shireman" File: %exec.r Version: 0.0.1 Date: Jan-13-2014 ] install-protocol [ name: 'exec port-id: 9999 scheme: 'tcp stop-at: #"." on-connected: does [ print ["connecting to:"

 
@kealist Sort ofā€”Starting Scripts via Finder. I have some bundling notes here.
 
^Sorry, that was a dumb typo I had made and deleted the question
 
@RebolBot
foo: t
 
; Brought to you by: tryrebol.esperconsultancy.nl
; rebol.com/r3/docs/errors/access-cannot-open.html
>> foo: t
*** ERROR
** Access error: cannot open: %test.r reason: -3
** Where: read either read-decode case load -apply- do t
** Near: read source if find system/options/file-types type [data: de...
 
@HostileFork I have stumbled on that before. and complained about it!
someone has a shortcut (like q dt) for testing
@RebolBot delete
@RebolBot delete
@RebolBot source t
 
6:53 PM
t: make function! [[][do %test.r]]
 
Because noone ever regularly uses variables like t for useful things...
 
@HostileFork My MakeDoc script is more than just a text-to-whatever formatter, it's a collection of functions that are there to assist in building and analysing documents. As I've said before, you can skip the parser and go straight to working with Rebol blocks. The only stipulation to the block structure is that the core document is a series of [word value] pairs where word is the paragraph type. If the content of the paragraph is a block, you can (don't have to) use a useful FSM to format it.
I'm not pressing you to use it, just pointing out that it seems to solve some of the problems you're trying to solve...
@RebolBot do do reb4.me/r3/makedoc make-doc [para [<b> "Foo"]]
 
; Brought to you by: tryrebol.esperconsultancy.nl
>> do reb4.me/r3/makedoc make-doc [para [<b> "Foo"]]
== {
<!-- document begin -->
<p><b>Foo</b></p>
<!-- document end -->
}
 
The rules for this particular handling of, say 'para and <b> are all set in one external file.
@RebolBot do do reb4.me/r3/makedoc make-doc "Rebol"
@RebolBot delete
Arg, MarkDown preformatting fail!!
@RebolBot
do http://reb4.me/r3/makedoc
make-doc "[Rebol](http://rebolsource.net)"
 
7:09 PM
; Brought to you by: tryrebol.esperconsultancy.nl
>> do reb4.me/r3/makedoc make-doc "[Rebol](rebolsource.net)";
== {
<!-- document begin -->
<p><a href="http://rebolsource.net">Rebol</a></p>
<!-- document end -->
}
 
7:22 PM
@rgchris I will be interested to look at the convergence of the approaches. Last night I worked on a "munger" which took away the blocks from naked strings.
Now that the munger is written, I want to go through and convert all the basic HTML stuff (links, italics, bold) to Markdown so that markdown is the default, and you get html only if you say [html {something something <i>foo</i> something something}].
It isn't that hard to transform it around now that it's set up, so the hope is to not get "locked in" to anything.
 
7:47 PM
UniServe is quite nice for implementing clients/servers. Much nicer than tackling the details oneself
 
 
2 hours later…
9:17 PM
Hey @graph. Vote for Red! One more vote we get into the sidebar ad cycle...
 
I'm logged in at Stackoverflow yet need to log in again for Stackexchange
I don't have 15 reputation on stackexchange so no vote :(
I would have, though
 
@graph Oh, I thought you had more rep than that. C'mon, answer some questions. You learn things doing it.
 
a lot of work for a meager upvote and some other projects seem way ahead
@HostileFork do you have a Raspberry Pi? I'm guessing yes, and I guess you've done a very nice project with it
 
@graph An incorrect guess, but I did help my former roommate set one up. He was very excited about it. I don't have all that many ideas for what to do with a very cheap computer off the top of my head, actually. But @Respectech builds security camera products with them...which helps keep Red exercised on it.
 
ah very interesting
 
9:27 PM
I did mess around some with the NDK and the vector instructions on ARM just to see what they were about on Android, but that's about as ARM-y as I've gotten.
 
I like the idea of true personal computing, a machine you can do what you want with. The trend goes towards iPads you know
 
It may be that with all the spying and increasing problems with software that you can't understand and that the NSA is hacking, that the draw toward simple-yet-powerful systems like Rebol and Red will seem appealing. Even if you sacrifice "flashiness" at least you don't have some 150MB install that could be carrying who-knows-what-payload.
Perhaps similar on the hardware side. Build it yourself, know what you put in it.
 
It just feels lame to use one of those tablet. Like eating too much sugar at once. At some point you want a salad
 
My previous comments on Apple earlier today aside, I don't mind using my iPad for watching videos and such, it is good for that. I also have a lot of PDFs on it that I use
I think it is not well know, but Calibre has opened the door to totally open illegal ebook downloadiing
Need to hook up an e-ink display to my RaspberryPi
 
legality aside, what about the overall consumerist attitude. On such a device you just consume all of that media, obtained legally or not. So you use calibre but "they" probably detect that and shrug it off, knowing that their closed platforms win and people are happy consumers, buying things one way or another.
 
9:42 PM
Apple has effective marketing. They make shallow products just like Google. Marketing is the trump card I think.
I find it difficult to "create" on such a device for sure. Aside from making random notes in evernote for blog topics or whatnot
 
10:02 PM
Liberating one's content from handwritten freeform HTML is a very refreshing feeling. The Rebolization even better.
I have found, though, that there really are weak points on processing Rebol files with Rebol to do source-to-source transformations. I hadn't thought about it, but you really sort of do have to fall back on traditional text editing and search-and-replace; you don't get as much mileage as I'd thought.
It's as if Rebol learned how to read, but not quite how to write. :-)
 
10:19 PM
@kealist In fairness to Apple and Google, they build products that scaleā€”for all the challenges that entails. Marketing is easier when you can deliver as broadly as they can.
 
10:32 PM
@HostileFork Can you elaborate a little? Where is it breaking down?
 
@rgchris Well, we've already spoken about the fact that it's tough to do source-to-source transformations and preserve comments or formatting. There's not really a turnkey solution to that. But another issue is that sometimes you want to do your analysis with objects, but ultimately you want to manipulate and output blocks.
For instance, let's say you load a header-like thing and you want to examine the properties of it, remove some, add others. But it's an object. You'll have to use body-of to get the data.
It throws lots of information away, but even simple examples have things like what were once lit-words are now words.
If you keep it as blocks and don't make objects you don't wind up with this problem... but, things like looking to see if something has a certain key become awkward... you can't just use FIND in the same way
If you want to do something like double the spaces, that's awkward...you can't MOLD and then replace/all molded-data "^/" "^/^/" because then you can wind up messing with newlines in multi-line strings.
So you have to first walk the data and put some special token to replace the newlines, then mold, then replace the newlines, then put the special token back.
However, this "special pattern" you put in the string must contain a newline itself... because if it doesn't, then mold may falsely try and put quotes around what should have been molded as a multi-line string... leading to an invalid string constant when you restore the newlines in the molded data.
Anyway, what I have is good enough for my purposes. Started with single-fying things that were alone in blocks, next I'll try a mass conversion to simplified markdown. But it's not exactly for the faint of heart, and I think a lot of pickier people would be displeased with the lack of control.
 
In essence, what you're looking for is a more finely controlled LOAD and SAVE/MOLD? I don't see why there shouldn't be one (there possibly should be one for meta-purposes), but how important would it be to have this inside the box rather than as a module?
 
10:47 PM
@rgchris Well, it's not important if there is a good solution in the box; a module is fine. But like I say, I don't really see how to get around it. Even if I just load something header-like and want to analyze it, if it's a block the primitives don't work the key/value way I like. [a: b c: d b: f] behaves differently if I want to know "does the b key have a value, and if so what is it" unless I make it an object. Once it's an object and I mold it back out with body-of there is loss.
Which is okay, but it's just something that people might not expect that you have to do your metaprogramming at a purely structural level.
You might find very little common code shareable between your usual routines and the meta-code. The meta code will have to use entirely different techniques to understand what it has in its hands.
 
Perhaps, it really depends on how you model the data you're loading.
You'd be facing the same challenges as, say loading/saving JSON, or REN.
 
Yes, I'm not saying it's a new problem. Just saying that Rebol's particular advantage isn't as big as I first thought. There's an advantage, just... a tricky one. And it seems people aren't doing this a lot.
(using Rebol to manipulate "source"...as opposed to not-intended-for-human-editing "data")
 
But then, it wouldn't occur to anyone to save JSON in an expressive way that Rebol can inspire...
 
I was surprised when I found out that JSON didn't allow comments.
 
Explicitly.
 
11:47 PM
I want to complain about Kernel Lisp on the Klisp (a Kernel implementaton) mailing list, but the mailing list requires approval to join
Maybe someday I'll actually praise a language to people who actually like it... instead of proselytizing to everyone else and nitpicking to the people involved in it
 
@Sgeo Well, you could also work on the problems yourself.
 
I'm ... not sure how? I tend to mostly have issues with language concepts and less implementations, so the most I can really do is suggest alternatives
 
@Sgeo Well the simple solution is to stop using Lisp, because it's ugly, and see if we can't solve what you need in Rebol. :-)
 

« first day (1170 days earlier)      last day (2610 days later) »