Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • Oct 20 2019 22:59
    @dockimbel banned @SmackMacDougal
  • Dec 03 2017 05:53
    @PeterWAWood banned @matrixbot
  • Sep 28 2016 12:19
    @PeterWAWood banned @TimeSeriesLord
  • Aug 13 2016 03:23
    @PeterWAWood banned @Vexercizer
Abdullah Yiğiterol
@abdllhygt
is this about utf-8?
hiiamboris
@hiiamboris
Compiler is written in Rebol, and Rebol knows nothing about unicode.
Abdullah Yiğiterol
@abdllhygt
is unicode problem about not-crossplatform?
GiuseppeChillemi
@GiuseppeChillemi
@abdllhygt Unicode is not supported by Rebol which is used during for compiling. It simply can't read Unicode characters. You have to wait until Rebol will be replaced and change your file name to English language. (LATIN-1)
Abdullah Yiğiterol
@abdllhygt
So, when i compile my files with turkish chars, the compiler change turkish chars to english chars?
Abdullah Yiğiterol
@abdllhygt
i think you already replied this if i understand
GiuseppeChillemi
@GiuseppeChillemi
@abdllhygt The compiler is not able to handle filenames with Turkish chars, so it does not find them. When Red will remove Rebol from compilation, using its own compiler, this problem will disappear. Until then you need to user english chars.
Petr Krenzelok
@pekr
I think it is a least of a problem- just keep your files in english, or strip the special chars. Your app in Red can actually support Unicode, so why to complicate the situation with the infrastructure itself?
GiuseppeChillemi
@GiuseppeChillemi
I have seen fixings in sort/stable, thank you.
Abdullah Yiğiterol
@abdllhygt
by the way this problem doesn't apper on linux
GiuseppeChillemi
@GiuseppeChillemi
Is there a way to have partial binding? I mean binding only one or more words of a context to a block.
Luis
@luis-rj

Hello, with lastest build, draw on panel shows all panel black:

view [canvas: panel 150x150 draw [line 10x0 160x50]]

No problem on 08jan21 build

Toomas Vooglaid
@toomasv
Which platform? On W10 this problem doesn't appear (build June 6).
Luis
@luis-rj
W10 Home...
Toomas Vooglaid
@toomasv
Hmm, W10 Pro here.
Luis
@luis-rj
Tested en another W10 Home and W10 Pro without problem.
Perhaps need an clean install.
hiiamboris
@hiiamboris
Could be your theme.
Luis
@luis-rj
Nop, different themes same result.
Luis
@luis-rj
What are the instructions for get a fresh installation?
hiiamboris
@hiiamboris
of Red? download & run
use nightly build, as the stale one had some bugs with colors
Luis
@luis-rj
Ok, but .red files remain associated to old versions.
Luis
@luis-rj
Perhaps the problem are new Red versions and the Notebook hardware.... Someone has W10 with AMD Ryzen7 CPU chips ?
hiiamboris
@hiiamboris
Red does not change file associations, so you're in full control of that.
Luis
@luis-rj
Ok, the problem persists with the today Red version.
ne1uno
@ne1uno
would running a debug version of red show an error maybe?
hiiamboris
@hiiamboris
unlikely, as panel is a native control
@luis-rj what is the red version? (that is, output of about - to exclude a possibility of your mistake) and what does system/view/metrics/colors/panel tell?
ne1uno
@ne1uno
update graphic drivers? might be a d2d ryzen bug?
Luis
@luis-rj
@ne1uno Hi
-c -d compile with no output errors
About Build shows 13-Jun-2021
system/view/metrics/colors/panel tell: 240.240.240
Driver are updated and Lenovo diagnostics no report problems
Luis
@luis-rj
Build 8-Jan-2021: NO problem
Build 23-feb-2021: black panel problem.
Luis
@luis-rj
Black panel problem appear related to Draw on panel.
If not set draw shows ok.
hiiamboris
@hiiamboris
well, dates suggest it's D2D-related
hopefully @qtxie will be able to guess what the problem is
François Vanzeveren
@fvanzeveren

Hello, it has already been probably noted in the past, but I want to know if it is normal behaviour that repend and append reduce do not behave the same?

c1: context [
    h: make hash! []
    repend h ['obj1 make object! [a: 1 b: 2 c: 3]]
    repend h ['obj2 make object! [a: 4 b: 5 c: 6]]
]

c2: context [
    h: make hash! []
    append h reduce ['obj1 make object! [a: 1 b: 2 c: 3]]
    append h reduce ['obj2 make object! [a: 4 b: 5 c: 6]]
]

print mold c1/h/obj1
print mold c2/h/obj1

print mold select c1/h 'obj1
print mold select c2/h 'obj1

The select statement returns none on the repend version.
Note that with Rebol, repend and append reducebehave the same

Gregg Irwin
@greggirwin
What build of Red are you running? I get the same results here. There is a general ticket related to red/red#4109, but that's not in play here.
François Vanzeveren
@fvanzeveren
red-064
Maybe I should try the nightly build.
Gregg Irwin
@greggirwin
Please use about/debug in the console to show the details.
Always best to use the nightly builds. We're moving to a new release model soon, so those will be the default.
François Vanzeveren
@fvanzeveren
-----------RED & PLATFORM VERSION-----------
RED: [ branch: "HEAD" tag: #v0.6.4 ahead: 0 date: 22-Nov-2018/0:40:38 commit: #755eb943ccea9e78c2cab0f20b313a52404355cb ]

PLATFORM: [ name: "Windows 10" OS: 'Windows arch: 'x86-64 version: 10.0.0 build: 19042 ]

Gregg Irwin
@greggirwin
Yeah, that's really old. :^)
I can confirm that the behavior is different in that old build.
François Vanzeveren
@fvanzeveren
indeed... but I am back to rebol/red after a break of 2 years almost... I learned Python... but it does not simply come close to red/rebol :)
Just tried the nighly build... and this is working as expected... Thank you!
François Vanzeveren
@fvanzeveren
And divide is behaving properly now :) On the old version, divide 5 2 returned 2 and it was necessary to to-floatone of the operands...
Gregg Irwin
@greggirwin
Yes, integer divide was a big discussion, with modulo changes still to come. :^)