World: r3wp
[View] discuss view related issues
older newer | first last |
Henrik 25-Jun-2008 [7810] | Janeks, have you checked the download directory for win32 here: http://www.rebol.net/builds/031/ |
Graham 25-Jun-2008 [7811] | http://www.rebol.net/builds/index.html |
Janeks 25-Jun-2008 [7812x2] | Thanks! Now with version cmdview2706.exe it works. Looks like I had an too old version before (rebcmdview13131.exe) |
Is it possible to unview console window in rebol-view? F.ex. if I want to show some output and then close it so that program still continues. But it looks like better is to use some custom window face, so that there will be no risk, that user will close/quit accidentaly program by closing console win. | |
Henrik 25-Jun-2008 [7814] | no, you can't. |
Janeks 27-Jun-2008 [7815x3] | I have one slow connection to nySql database by using ODBC. Why operations on that pauses also my face events? If I have many sql queries to be done than interface of my application stays unresponsive ( no reactions on any clicks on buttons, tray menus etc.) |
Ah - it's clear - it is waiting on when they will be finished. | |
Hm... but is it possibe to do so that interfaces is keeping to be responsive while another function/task is running? | |
Dockimbel 27-Jun-2008 [7818x2] | Not easily. You have to launch another REBOL process, send it the request, let it do the blocking calls to ODBC then send back the results. |
Btw, why are you using ODBC to connect to a MySQL server ? | |
Janeks 27-Jun-2008 [7820x2] | Yes - know that you will answer that! ;-) |
Quite old story, I had command version and not yet knowledge about Softinov mySql driver, and I used it to access also MsSql | |
Dockimbel 27-Jun-2008 [7822] | And you had some issues with the /Command version, I guess ? |
Janeks 27-Jun-2008 [7823] | What issues you mean? |
Dockimbel 27-Jun-2008 [7824] | /Command has a MySQL driver built-in, as you're using ODBC, I'm just guessing that the MySQL built-in driver didn't fit your needs. |
Janeks 27-Jun-2008 [7825] | I needed it for very simple tasks, so it does what I need. But I did not yet tested f.ex. speed. |
Dockimbel 27-Jun-2008 [7826] | ODBC adds some overhead compared to a direct driver. |
Janeks 27-Jun-2008 [7827] | But I used Softinov in other apps. The new version is very nice. Very easy to code extraction of values from field names. |
Dockimbel 27-Jun-2008 [7828] | Glad to hear that it serves you well. |
james_nak 27-Jun-2008 [7829] | While you're there Dockimbel, I've always wanted to know how one checks for the mysql port being open. Occasionally my apps meet with a closed port and die. |
Janeks 27-Jun-2008 [7830x2] | good question - the same interest me too |
try? | |
Dockimbel 27-Jun-2008 [7832] | answer in MySQL channel |
Gabriele 28-Jun-2008 [7833] | Janeks, you may have missed it, but /Command also has a native MySQL driver (so you don't need ODBC for MySQL). (That's what Doc was trying to say :) |
Janeks 28-Jun-2008 [7834x2] | Yes - I was wrong in my sitation description - I actualy used native MySql driver. I just messed it with MsSQL ODBC. |
Doc, Question about another process launching - did you mean launch process and comunicate with them by using some network protocol? | |
Geomol 2-Jul-2008 [7836] | With struct! I can get a binary representation of an IEEE float from a REBOL decimal. But what if I wanna go the other way? The script ieee.r in the Library has such a function, but can't it be done with just using struct! somehow? So I've got the binary representation of an IEEE float and want the REBOL decimal. |
BrianH 2-Jul-2008 [7837x2] | For a binary float value in the variable binfloat, try this: a: make struct! [x [float]] none change/part third a binfloat a/x The third a accessor returns a reference to the binary data of the struct. Modifications to the value returned affect the struct. Be sure to keep the length of the returned binary the same. |
Whoops, the change line is: change/part third a binfloat 4 | |
Maarten 3-Jul-2008 [7839] | Do you know how to handle (and compute with) 64 bit unsigned ints? |
Geomol 3-Jul-2008 [7840x2] | Brian, you're the man! :-) That's exactly, what I'm after. Thanks alot! |
Maarten, I can't think of a short-cut way to do, what you want. I guess, you have to do the bit-manipulation manually. struct! might help with something like: unsigned: make struct! [hi [int] lo [int]] [0 0] You can then get to high and low 4 bytes with unsigned/hi and unsigned/lo, and you can see all 8 bytes with: third unsigned I made some bit operations, that might help you further: http://home.tiscali.dk/john.niclasen/libs/bit.r | |
Graham 8-Jul-2008 [7842] | Has anyone done anything to build graphical decision trees, or algorithms? |
Henrik 8-Jul-2008 [7843] | Can you link to something that shows how that works? |
Graham 8-Jul-2008 [7844x4] | http://www.youtube.com/watch?v=JGSFJX7HEvc |
skip to half way thru | |
clinical maps are ways of achieving outcome driven medical treatments | |
I guess a vector drawing program is needed ... but there needs to be a way to select items and selectively remove them. | |
Henrik 8-Jul-2008 [7848] | so it's not entirely for illustrational purposes? the trees are interactive? |
Graham 8-Jul-2008 [7849x2] | Looks like it |
well, I suspect they are static images once completed .. but they can be edited | |
Henrik 8-Jul-2008 [7851x2] | graphviz allows something like that, although I don't think it can produce complex boxes like that. |
so the point is that once they are done, they are not changed after government review? | |
Graham 8-Jul-2008 [7853] | I don't think so ... I think anyone can alter them to suit changing treatments |
Henrik 8-Jul-2008 [7854] | so it's not really an instruction manual? is it patient specific? |
Graham 8-Jul-2008 [7855x3] | anyway, I think it's a vector drawing package with the ability to change elements afterwards and to attach elements to nodes |
Bit like a standard idea processor | |
or mind mapping sottware | |
Henrik 8-Jul-2008 [7858x2] | hmm.. I'm still not sure where it fits or how it's used. But if we stick with the chart drawing aspect: It would be possible to do as a dialect, and I think it should be inspired by graphviz. |
once you have it as a dialect, you can build an interactive editor around it, or code graphs up by hand. | |
older newer | first last |