« first day (3543 days earlier)      last day (237 days later) » 

3:45 AM
This is a library containing "magic numbers" for identifying file types, there's a whole directory of detection "plugins". If you look at the Windows one for instance, it knows .hlp files, .lnk shortcuts, .reg regedit files etc.
 
 
6 hours later…
10:07 AM
@HostileForksaysdonttrustSE I got a Perl script connecting to the testdatabase now.
 
 
1 hour later…
11:35 AM
So this is possible (using DBI module from perl) still, except it is not known at the SD of my hostingprovider. These people only stay on the paved paths that were laid out before.
Now to find out is if I can call perl script from renc and pass some variable on the way.
If I suddenly stop in between messages, probably got an Urgent Attention Call. Where the urgency is likely not class 1 (a real issue like fire in the house, something) ;-)
 
 
4 hours later…
3:15 PM
@rgchris Something I have been going back and forth on (a few times) is whether BLANK! acting as a space in DELIMIT is a good idea. It can improve readability in the UNSPACED specialization, e.g. unspaced [foo bar _ "value:" mumble _ "time" t]
The downside is that if you are in a situation picking things out of blocks that might be BLANK! (because you had no other way to represent nothingness) then it can be puzzling when it acts like a space. You have to opt value it.
Another possibility is to say that source-level BLANK! acts differently than a BLANK! fetched via evaluation. So x: _ | unspaced ["foo" x _ x "bar"] gives "foo bar". That may seem like it's confusing, but is it more confusing that having a WORD! act evaluatively...differently than a LIT-WORD! that reduces to a WORD!, which acts as its spelling?
 
3:43 PM
I am repeatedly convinced that "newpath" is needed, to help sort out the preventive logic of dealing with structured filenames and slashes. People are way too lax with strings and whether there is a slash in the path or not in each segment, and how these are joined together.
It seems to me the world is hurting for something that is easy to use and regular but that does not have the full weight and feel of a data structure that makes you write things like boost::filesystem in C++, as object vectors. If PATH! is done right I think it can be that sweet spot that lets you write normal-looking stuff but keeps everything in line.
 
 
1 hour later…
4:48 PM
Instead of "SKIP" it seems 0-arity skip in PARSE should be NEXT, with BACK as a complement...and SKIP should take a parameter of how much to skip by. :-/
 
 
1 hour later…
5:53 PM
Well contacted the servicedesk to inform about the ODBC driver if present.
In the meantime I found this https://github.com/kronwiz/r3-mysql , don't know if it is(was) any good.
 
 
5 hours later…
10:23 PM
@HostileForksaysdonttrustSE I am for it rendering as nothing: "" — the main case for blanks not dissolving in DELIMIT is for CSV-like composition.
 
10:57 PM
What is the equivalent for R2's TRY? TRAP returns NULL if it's not an error, ENTRAP puts the product in a block—I either want product or error.
 
11:07 PM
I can do TAKE BLOCKIFY ENTRAP [...], seems circuitous.
 
11:25 PM
@rgchris There is a patch for a /result that takes a WORD! or PATH! that fits in with multiple return values so you can say [err value]: trap [...]. The general discussion of the reason for changing is in this forum post
R3C does not have multiple return results, but it could have the /result argument if it is desired. But it would come back as setting a variable.
If you really want a construct that conflates the two it should be possible to build, but the more foundational piece needs to separate them. I can update R3C's TRAP and CATCH to offer a /RESULT and then you can make TRAPX or whatever that collapses the error together into a single value how you'd like.
Also linguistically, I think trap [...] then [...] or catch [...] else [...] referring to "if you trapped" or "if you didn't catch" is the most sensible.
 

« first day (3543 days earlier)      last day (237 days later) »