Is Rebol still under active development? Is Carl S still involved with the project?
Looking at the Rebol GitHub, it seems there is not much activity going on. Some web sources point to Red language as the most active implementation in development, but is it an approved fork that stays true to Rebol?
Just trying to wrap my head around current development and the way forward, so to speak.
I will be hosting a Rebol Developers Conference in Philadelphia this summer (July 6th-7th). I've a great location lined up just around the corner from the Independence Mall (across the street from Ben Franklin's Post Office) and have some great talks lined up (more on this to follow—some epic projects: some you'll know about, one or two you won't).
I'll have registration up shortly, for now I've a wee questionnaire to get an idea of what kind of interest there is. Aside from the featured talks, I'd like to now issue a call for participation for anyone that would like to talk about their Rebol, Red or Ren-C projects. We'll have streaming and will record the talks for posterity.
If you're in the northeastern US, Philly is very accessible (great rail/bus access) about 90mins from NYC and DC. If not, it's a culturally rich city that is very much worth a visit even without a Rebol conference as an excuse, and we'll be here for July 4th at the very location where July 4th became a thing. Our hosts will provide co-working space on July 5th for any conference participant arriving from out of town.
I made this little app which is basically a front end for ffmpeg to convert TS files to MP4. It works, but I would have liked to do something like HTML5's form validation for certain fields (like if there was no ffmpeg.exe found). I couldn't really find or at least understand a way to do it though (not at least with my search results). Could someone show me an example of some kind of input validation upon submission or something similar?
Thanks.
REBOL [ title: "TS Ripper"]
ffmpeg: ""
msg-log: join "Info goes here: " newline
ts-loc: ""
filename-default: join now/year [{-} now/month {-} now/day { } replace/all to-string now/time ":" "-" {.mp4}]
load-db: func [file] [
either exists? file [
load/all file
][
append msg-log reduce ["Warning: File Not found - Creating file settings.r" newline]
write %settings.r {ffmpeg: ""}
copy []
]
]
get-set-ffmpeg: func [] [
ffmpeg: request-file/only
write %settings.r reduce [{ffmpeg:} { "} ffmpeg {"}]
]
set-ts-loc: func [][
either equal? ts-loc "" [
request-file
][
ts-loc
]
]
; functions return the last value upon evaluation
set-filename: func [] [
either equal? filename-field/text ".mp4" [
filename-default
][
filename-field/text
]
]
reduce load-db %settings.r ; imports settings from settings.r
; check if the length of ffmpeg (which has been trimmed) is equal to 0 (or no value)
either equal? length? trim ffmpeg 0 [
append msg-log reduce [ "FFmpeg not found - requesting ffmpeg path." newline ]
get-set-ffmpeg
][
append msg-log reduce ["Path to FFmpeg is:" ffmpeg newline]
]
; search for FFmpeg
either find/last ffmpeg "ffmpeg.exe" [
append msg-log reduce [ "Found FFmpeg." newline ]
][
append msg-log reduce [ "FFmpeg not found - requesting ffmpeg path." newline ]
get-set-ffmpeg
]
; GUI
window: layout [
h2 "Welcome to TS Ripper"
text "Fill out the fields - Note: requires FFmpeg." font-name "Microsoft Sans Serif"
text "Download FFmpeg from https://ffmpeg.org/" font-name "Microsoft Sans Serif"
across
label "Filename" font-color black shadow 0x0
tab
filename-field: field ".mp4" edge none
return
tab
text "If you want to change the location of FFmpeg, click the next button."
return
tab
button "Locate FFmpeg" edge none shadow 0x0
[
get-set-ffmpeg
]
text ffmpeg
return
tab
button "Locate TS file" edge none shadow 0x0
[
ts-loc: request-file
ts-loc-display/text: ts-loc
show ts-loc-display
] ; show the name of the selected file
ts-loc-display: text ts-loc
return
label "RIP quality" font-color black shadow 0x0 tab
rip-quality: field "1200" edge none
return
tab
button "Rip" [
ffmpeg: to-local-file to-string ffmpeg
set-ts-loc: to-local-file to-string set-ts-loc
set-filename: to-local-file to-string join pwd set-filename
call/console
join
{"} [ ffmpeg {" -i "} set-ts-loc {" -b:v } rip-quality/text {k -vcodec libx264 } {"} set-filename {"}]
]
return
label "Log" black shadow 0x0 tab
area msg-log black font-color white edge none wrap
]
View window
Updated: 07/28/22 Hi, if you are interested in Rebol like languages, especially if you also know/like Golang, this project I keep working on might interest you. It's not Rebol but it started from the same core ideas of Rebol, replaced [] with {} and added optional left to right code flow.
This little convoluted Rebol's example:
a: 1 loop 10 [ prin either even? a [ "*" ] [ "." ] a: a + 1 ] ; prints .*.*.*.*.*
Is in Rye exactly the same:
a: 1 loop 10 { prin either even a { "*" } { "." } a: a + 1 } ; prints .*.*.*.*.*
But something like:
cities: ["Eureka" "Ukiah" "Santa Rosa"] foreach city cities [print city]
Is in Rye:
cities: { "Eureka" "Ukiah" "Santa Rosa" } for cities { :city , print city }
Or rather:
{ "Eureka" "Ukiah" "Santa Rosa" } .for { .print }
And Rebol 3's:
map-each 'x [ 1 2 3 ] [ x + 10 ] ; which returns [ 11 12 13 ]
Is Rye's
map { 1 2 3 } { + 10 }
If this piqued your interest, there are plenty of examples and development updates on Rye's blog, and there are multiple examples and w-i-p documentation on it's github repo. Rye is written in Go and thanks to easy yet capable language development is not that complex, Go has tons of libraries and adding them to Rye is not really hard either.
I am aiming for a practical and useful language. Focus right now is on the server side, backend, Linux shell types of tasks, data preprocessing, not on GUI. Any feedback is welcome!
Update: To show that this is not just an academic or outdated effort :) ... this is the latest example of sending email with attachment through Amazon's AWS SES service.
Hi, I have been wanting to learn Rebol (or its newer variant Red https://github.com/red/red ) for quite some time. I wanted to know if there are any project based tutorials that a member of the Rebol community has written. Something that also highlights the benefits of using Rebol. Something like the articles on this site http://howistart.org/posts/erlang/1/index.html