World: r3wp
[All] except covered in other channels
older newer | first last |
Sunanda 30-Dec-2007 [2453] | print ["happy new year for" to-integer (10 ** 3) + (10 ** 3) + (2 ** 3) "to us all"] (There's a second way to do that as the sum of three positive integers cubed. Try it!.) |
Gregg 9-Jan-2008 [2454x2] | Has anyone done a "glossy tabletop" reflection effect in DRAW? That is, you have an image, it's full size is reflected 0x1, and alpha-grads away vertically. |
I'm thinking I'll have to have a reflection face and draw into that separately. | |
Reichart 9-Jan-2008 [2456x2] | There are many ways to do that. Show image Show image upside down below it. Put alpha gradiant of table colour in front of that. It will alos look a lot better if you add a feathered ellipse near the base of the highlight colour from the image. |
Another way is: Show image Show image upsaide down, but just the top 1/4 for example. Do an alpha fade on the image (if you have that funciton) Do the same shadow trick of the ellipse. | |
Gregg 9-Jan-2008 [2458] | I was hoping for existing code. :-) I already have the flip bit, but then couldn't find a draw command to let me alpha a four-point spec'd image. I figure I'll have to do it with two faces, which is OK. |
Oldes 10-Jan-2008 [2459] | Does anybody know where I can find some typographic rules where to break a line in english language? For example I guess that I should not leave A or AN at the end of line, am I right? |
Sunanda 10-Jan-2008 [2460x2] | Take a look at how TeX does it? http://defoe.sourceforge.net/folio/knuth-plass.html |
Or look up "word wrap" in wikipedia for some other pointers | |
Oldes 10-Jan-2008 [2462x2] | so there is no Rebol script yet? :) |
And the algorithm is not typographic... it's just breaking lines to have the best spaces left. I'm looking for typographically correct one. Or there are no such a rules in english? | |
Sunanda 10-Jan-2008 [2464] | As far as I know, no....English can break at any word. Most of the rules are for how to hypenate if a word needs to be broken at a line end, eg: http://www.bartleby.com/141/strunk.html#8 |
Graham 10-Jan-2008 [2465] | didn't Gabriele do some work on this with pdf-maker ? |
Gabriele 11-Jan-2008 [2466x4] | oldes, hypenation algorithms is what you are looking for. TeX has probably the best one (at least for english, but i think it works for most if not all western languages). |
line breaking comes *after* hyphenation. | |
(in TeX i mean) | |
so you should not look at how TeX breaks lines, but at how TeX hyphenates words. | |
Geomol 12-Jan-2008 [2470] | Gregg, it isn't DRAW, but do you mean something like: palms: load-thru/binary http://www.rebol.com/view/palms.jpg view layout [backdrop black image palms image palms effect [merge flip 0x1 gradmul 0x1 128.128.128 black]] or view layout [backdrop black image palms image palms effect [flip 0x1] pad palms/size * 0x-1 - 0x8 box palms/size effect [merge gradmul 0x1 128.128.128 black]] |
Gregg 12-Jan-2008 [2471] | That's pretty much what I'm doing now John. Imagine, though, if you want to build a coverflow style interface. |
ScottM 12-Jan-2008 [2472] | I have been looking for a tutorial or basic example on creating a calendar but have had little sucess. are there any others besides two I found in the script library? |
Brock 13-Jan-2008 [2473x2] | Other than one that was included with IOS, and modified by eFishAnt but I don't believe made available to the public due to it also being used in IOS, those are your only two options. |
It would be a good community project and would form the basis of a good tutorial though. ;-). Count me in if anyone wants to spearhead this. | |
Graham 13-Jan-2008 [2475] | Rebgui has a calendar and Allen has a calendar style for VID. |
Ashley 13-Jan-2008 [2476] | http://trac.geekisp.com/rebgui/browser/widgets/calendar.rand lines 183-231 from http://trac.geekisp.com/rebgui/browser/rebgui-widgets.r |
Chris 13-Jan-2008 [2477] | I made 'Organised' which was latterly available on Developer IOS. It took a diary-style approach to UI. |
ScottM 13-Jan-2008 [2478] | Ok thanks |
Robert 14-Jan-2008 [2479] | Does anyone know a good tool to make screen records? I want to capture a demo trail of my application which I can use for presentaitons. |
SteveT 14-Jan-2008 [2480] | roboDemo is quite cool |
Ckasso 14-Jan-2008 [2481] | http://www.debugmode.com/wink/ |
ChristianE 14-Jan-2008 [2482] | camtasia is my favourite when it comes to screencasts. Easy & intuitive and you can obtain previous versions (yet fully functional ones) for free. |
Reichart 14-Jan-2008 [2483] | We use Camtasia as well. |
Graham 14-Jan-2008 [2484] | camtasia - until a few days ago. I think their offer expired. |
GiuseppeC 15-Jan-2008 [2485] | Hello, I whish to create the DocBase group. Is there with admin priviledge that could do this thing ? |
Henrik 15-Jan-2008 [2486] | no, just create it |
GiuseppeC 15-Jan-2008 [2487] | Henrik, I just don't know how to create it. |
Graham 15-Jan-2008 [2488x2] | done for you |
See !DocBase | |
ScottM 21-Jan-2008 [2490] | Hi Izkata, I have been trying to use your calendar application. When I paste Scheduler.r in to view I get the following error message: ** Script Error: Interface has no value ** Near: view/new/title Interface "Calendar" do %NetworkingStuff.r when I click on the file it causes view to shut down. What am I doing wrong? |
Izkata 21-Jan-2008 [2491x2] | uhh |
I haven't looked at that for quite a while.. let me get back to you | |
ScottM 21-Jan-2008 [2493] | thank you |
Izkata 21-Jan-2008 [2494x3] | augh |
I made it under Windows, and now I use Ubuntu... so at the moment I can't even get to the error you're seeing (I'm segfault'ing) | |
I'll be back later | |
ScottM 21-Jan-2008 [2497] | no problem |
Izkata 22-Jan-2008 [2498x4] | ScottM, you're on Windows, right? |
I've figured out part of what's going on with the calendar - got it down to a single line of draw dialect that's causing Rebol to segfault, both on the most recent Windows and Linux versions: view layout [box 120x70 effect [draw [pen red white polygon 0x0 119x0 119x69 0x69]]] Something changed between View versions 1.3.1 and 1.3.2 that's causing this... It was working fine with 1.3.1 | |
ScottM, in the main Scheduler.r file, there are two lines in the MakeMonth function that use that, and are what are causing it not to work (when run from the file, at least). If you comment them out, you lose the nice borders that each day would have in the calendar, but it won't crash. I'll go update what's on Rebol.org, and see if I can make a quick workaround or something, so the borders stay. | |
Okay, it's been updated - and I found another place in it with the same problem, so that's been fixed, too | |
ScottM 22-Jan-2008 [2502] | wow thank very much it works well! |
older newer | first last |