Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jul 01 2018 17:34
    @greggirwin banned @BIjeuca_twitter
  • Dec 03 2017 05:53
    @PeterWAWood banned @matrixbot
  • Sep 28 2016 12:20
    @PeterWAWood banned @TimeSeriesLord
Senenmut
@Senenmut
i mean the dangerous programmer named : iArnold
ok. its a programmers joke. really. Thanks and see you again here. Regards BP
rpherman
@rpherman
@9214 Thanks about pointing out there is no 64-bit Red! There are no beginner RedCV instructions on what you need to do to set it up. I am familiar with OpenCV in Python, but I am lost in knowing what I need to compile and how and where to put things in the folder structure in order for this to work. Thanks again!
Senenmut
@Senenmut
You can develop modern android apps with win XP. #Its possible. Anyway , a little bit like barbarian.
Luis
@luis-rj
Vladimir Vasilyev
@9214
@rpherman, perhaps @ldci can chime in and help with your issue. Instructions are pretty straightforward, it's a missing DLL that causes the trouble.
phrmoy
@phrmoy
wow 0.6.4!
do we expect v1.0 by 2020?
Vladimir Vasilyev
@9214
There's no ETA for releases, so no one expects anything. Please stop speculating and making blind estimations.
phrmoy
@phrmoy
Thanks for the answer and apologies for asking, the language looks amazing. Keep up the good work!
Gregg Irwin
@greggirwin
No need to apologize @phrmoy. Sometimes we can't tell, with new people, when someone is being sarcastic, because they want things to go faster.
PaulBanks
@PaulBanks
hi, just joined - been using or rather trying Rebol for a while, and now on Red, really nice language. few problems but still great stuff.
Boleslav Březovský
@rebolek
@PaulBanks Hi! What problems do you see?
Semseddin Moldibi
@endo64
@PaulBanks Hi, Red is actively developing, if you found bugs please report them on GitHub, before doing that you can discuss about them in bugs room on gitter.
PaulBanks
@PaulBanks
@rebolek @endo64 Hi, sorry, no i meant as a beginner just getting started with Red. Am enjoying learning about it. The problems were my own, in getting used to it. I seem to be doing ok now. thanks.
Boleslav Březovský
@rebolek
@PaulBanks I see. Don't be afraid to ask, someone will always help you!
Christopher Ross-Gill
@rgchris
Wee Red update to an old HTTPC experiment. Tested on Terminal on Mac (your colour experience may vary).
PaulBanks
@PaulBanks
I get how to get the screen size, but how can i get a gui window size and then split the co-ordinates - I know about as-pair but is there an un-pair ? - thanks.
Greg T
@gltewalt
You can refer to x and y values with /x and /y
>> p: 800x600
== 800x600

>> p/x
== 800
>> p/y
== 600
PaulBanks
@PaulBanks
yes thank you @gltewalt - but how can i get the gui window size ? not the screen size.
apologies for being so slow, just am enjoying this language.
Greg T
@gltewalt
Off the top of my head, I don't know / remember about gui window size
Toomas Vooglaid
@toomasv

@PaulBanks

view win: layout [button "Win size" [probe win/size]]

or

view [button "Win size" [probe face/parent/size]]
Gregg Irwin
@greggirwin
Or even
>> win: layout [button "Win size" [probe win/size]]
== make object! [
    type: 'window
    offset: none
    size: 82x47
    ...
>> win/size
== 82x47
Toomas Vooglaid
@toomasv
Interesting. Without rendering the window size is smaller. It hasn't got its default smallest size yet? After rendering the size is 130x47.
Gregg Irwin
@greggirwin
Ooooh, yes, good catch.
Toomas Vooglaid
@toomasv
:smile:
Greg T
@gltewalt
too bad size isn't settable
s: size 300x200
Jenny
@justjenny
hi, I did know this a while back, but can't recall it - I've been asked how to get the 'enter' keypress - the other keys are pretty straight forward, but the 'return' key is different ? help ! - Jenny.
Gregg Irwin
@greggirwin
@gltewalt view [size 300x200]
>> win: layout [button "OK"]
== make object! [
    type: 'window
    offset: none
    size: 82x47
    text: none
    image: none
    color: none
    me...
>> win/size: 300x200
== 300x200
>> view win
Gregg Irwin
@greggirwin
@justjenny have you looked at https://doc.red-lang.org/en/view.html#_events for event handling details?
In the simplest case, you can use on-key-down, rather than on-key. e.g.
view [field on-key-down [print mold event/key]]
Jenny
@justjenny
Gregg - yes- got i t -thanks - the simple stuff always gets me - thanks again .
Nathan Douglas
@nd9600
Are closures possible at all in Red somehow?
f: function [x] [function [y] [x + y]] 
g: f 1 
g 2
something like this
Nathan Douglas
@nd9600
thanks
Alan
@virtualAlan
Had loads of messages about sizing an image and keeping its aspect ratio after adding my slideshow script, so have explained it and updated it .... You will need to scroll down a ways to my example 36 - http://www.mycode4fun.co.uk/About-Red-Programming - hope it's useful - Regards Alan.
Alan
@virtualAlan
sorry, it's example 46
BONNAURE Olivier
@solisoft
Hi, there is a way to run red within ubuntu 18.10?
./red              
/home/soli/.red/console-2018-11-22-8164: error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory
Boleslav Březovský
@rebolek
@solisoft Hi, you need to install 32bit libs.
BONNAURE Olivier
@solisoft
Yes I tried ... but no success
Boleslav Březovský
@rebolek
On Ubuntu you need 32bit libculr4 instead of libcurl3
BONNAURE Olivier
@solisoft
sudo apt install libcurl4:i386 fixed it
Boleslav Březovský
@rebolek
yup
BONNAURE Olivier
@solisoft
oh still no view on linux :)