[tw] Re: CORS - Import from local tiddlywiki file

2012-05-30 Thread tejjyid
i have a similar problem, with curious twist... CORS is for cross-domain import, so I don't think that applies to local files. For me, I can't import tiddlers to a 2.6.5 TW downloaded from tiddlwiki.com, BUT I can import tiddlers to a TW - which also self reports as 2.6.5 - downloaded from

[tw] Re: CORS - Import from local tiddlywiki file

2012-05-31 Thread tejjyid
://xn--mns-ula.dk/TW/Gilles/ It replaces the standard import function - and it seems to work very well Cheers Måns Mårtensson On 30 Maj, 13:15, tejjyid andrew.x.w...@gmail.com wrote: i have a similar problem, with curious twist... CORS is for cross-domain import, so I don't think

[tw] getTiddlerText

2012-06-22 Thread tejjyid
A couple of things - maybe they should be separated: I was wanting to create a tabs based structure, where one tab would show a base text, and other tabs would show (programmatic) annotations of this base. I thought each tab could point to a macro with a parameter string which included the

[tw] Re: getTiddlerText

2012-06-22 Thread tejjyid
That way you have three tabs and each contains certain content. If I understood correctly what you wanted, of course. :D And I'm sure there are other solutions. (1) http://tiddlywiki.abego-software.de/#ForEachTiddlerPlugin w On Jun 22, 8:34 am, tejjyid andrew.x.w...@gmail.com wrote

[tw] Re: getTiddlerText

2012-06-23 Thread tejjyid
Ahhh - well, I am using TiddlySpace - thx. So I thought instead I'd just use the myTiddlerName as the parameter and then use the getTiddlerText inside the macro. Now I'm getting TypeError tiddler.fields is undefined whenever I execute the macro. Anyway, I'll keep playing around, all this

[tw] Re: getTiddlerText

2012-06-29 Thread tejjyid
Thanks mate, I'm onto it. On Monday, 25 June 2012 03:32:46 UTC+10, PMario wrote: Andrew, I did a little hello world [1] how to, that shows 3 different macros. If you start in the main menue, top to bottom, they get more features. The code is commented, so it should be possible to get,

[tw] html javascript not working in TW?

2012-06-30 Thread tejjyid
I have a couple of functions in the head of an html page, which work fine when called from a script elsewhere on that page. I wanted to implement the same functionality in TW, so I copied the JS which defines the functions to a sysConfig-tagged tiddler, then tried using the functions in another

[tw] Re: html javascript not working in TW?

2012-07-01 Thread tejjyid
I had a feeling it might be something like that - I understand that there is a TW handler involved, but it's a bit hairy trying to piece it together from the extant doco. Anyway, I'll work through all this here, and update as I go. Appreciate the scope of the detail in the response. Thanks,

[tw] Re: html javascript not working in TW?

2012-07-02 Thread tejjyid
Hi Mario - I'm working through your suggestions (intalled the #InlineJavaScript plugin, Firebug, done some debugging) and I've got a lot more to do, but sadly there was no easy win. I still get the same message. Feel free to ignore this, but if you have the time/inclination, here's the link to

[tw] Re: html javascript not working in TW?

2012-07-03 Thread tejjyid
, but I do appreciate your assistance. I'm an ESL teacher: my students probably feel about English the way I feel about TW -powerful, but a bit tricky! On Tuesday, 3 July 2012 10:10:19 UTC+10, PMario wrote: On Jul 3, 12:30 am, tejjyid andrew.x.w...@gmail.com wrote: http://code.google.com/p

[tw] Re: html javascript not working in TW?

2012-07-03 Thread tejjyid
://tiddlywiki.com or http://tiddlyspace.com On 3 Jul., 12:18, tejjyid andrew.x.w...@gmail.com wrote: Thanks again. I did check the supplied snippet and was struck by the similarity - standards,eh :-) q:-) I'm an ESL teacher: my students probably feel about English the way I feel about

[tw] Re: html javascript not working in TW?

2012-07-04 Thread tejjyid
Hi Mario - with the amount of help you are providing, you can work anywhere you like. I reckon I can 'port' anything you do in Tiddlyspace back to Tiddlywiki file if necessary. I'll certainly be playing around with it a LOT before using it as a teaching aid. You are absolutely right, all

[tw] Re: INTRO: Part Of Speech tagger TiddlyWiki/TiddlySpace

2012-07-06 Thread tejjyid
Thanks very much - I've started to play around with it. I'm curious as to why what you've done solves the problem, but maybe I don't need to know. Can you tell me, does that big lexicon variable get loaded once, for the page, and then re-used? Is PMario your id? I'll add it to

[tw] ToggleFullScreen in Tiddlyspace

2012-07-11 Thread tejjyid
I can't get ToggleFullScreen to work in Tiddlyspace - it's fine in Tiddlyspot and/or file-based versions. I have the inlineJavaScript plugin - any ideas? -- You received this message because you are subscribed to the Google Groups TiddlyWiki group. To view this discussion on the web visit

[tw] Re: ToggleFullScreen in Tiddlyspace

2012-07-12 Thread tejjyid
On Wednesday, 11 July 2012 23:41:11 UTC+10, PMario wrote: TS uses a different page layout. So ToggleFullScreen needs some adjustment to work with TS. Do you use the TS default theme?? -m Hi PMario - I feel like I'm causing you a lot of bother :) Maybe I should switch back to

[tw] Re: INTRO: Part Of Speech tagger TiddlyWiki/TiddlySpace

2012-07-13 Thread tejjyid
You can find my attempt at color coding in the demo* tiddlers. Definitely the basic code is too dense for any typical presentation purpose; I think it's more intended to illustrate the POS tagger results (which are quite flawed in some ways). Anyway, for teaching purposes I will pretty much

[tw] Re: INTRO: Part Of Speech tagger TiddlyWiki/TiddlySpace

2012-07-13 Thread tejjyid
I'll check out the Natural node project, thanks... On Monday, 9 July 2012 03:23:15 UTC+10, PMario wrote: On 8 Jul., 19:12, PMario pmari...@gmail.com wrote: I'm sure, there are many possibilities. ... To create the mouse over tooltips, I did use a legend.json [1 tiddler. This tiddler is

[tw] Re: ToggleFullScreen in Tiddlyspace

2012-07-13 Thread tejjyid
to do this...primarily to get better sharing of ideas and resources around the group, and secondarily to try to build up, over time, corporate knowledge of good practice. So it turns out that the things I don't know are the most important. On Wednesday, 11 July 2012 19:50:33 UTC+10, tejjyid

[tw] Re: ToggleFullScreen in Tiddlyspace

2012-07-16 Thread tejjyid
Another thing, and the reason I opened this thread originally, is that I think the ability to do presentations from //within// a space is very useful. I don't want to have to separate presentayion and knowledge. -- You received this message because you are subscribed to the Google Groups

[tw] Re: INTRO: Part Of Speech tagger TiddlyWiki/TiddlySpace

2012-07-16 Thread tejjyid
BTW, the lexicon.js_ plugin won't load in IE8, I assume because of size? Is that a known feature of IE8? Can it be disabled? Thanks On Friday, 13 July 2012 16:08:08 UTC+10, tejjyid wrote: I'll check out the Natural node project, thanks... On Monday, 9 July 2012 03:23:15 UTC+10, PMario

[tw] Re: TiddlySpace First Time User Experience

2012-07-21 Thread tejjyid
I created a tiddler called tsjuly as per some posting related to this...should I repost here? I have never had a clear idea of how Tiddlyspace is supposed to work, nor its relation to Tiddlywiki. Pretty much every time I try to use some plugin - painfully tracked down - it turns out to be TW

Re: [tw] Re: TiddlySpace First Time User Experience

2012-07-21 Thread tejjyid
On Saturday, 21 July 2012 21:40:15 UTC+10, Chris Dent wrote: On Sat, 21 Jul 2012, tejjyid wrote: I created a tiddler called tsjuly as per some posting related to this...should I repost here? The idea was to tag the tiddler tsjuly, so if you add that tag, it will show up

Re: [tw] Re: TiddlySpace First Time User Experience

2012-07-26 Thread tejjyid
comments: On Sat, 21 Jul 2012, tejjyid wrote: TiddlyWiki specific; that is, there are a number of plugins that work in the TiddlyWiki file format that don't work in Tiddlyspace. True. But there are plenty of TiddlyWiki plugins that don't work in TiddlyWiki when other plugins

[tw] multi-line output from macros

2010-12-08 Thread tejjyid
I wanted to write a macro to take a bridge hand (could be any game) in a format like, say, ((a,k,q;j,t,9;8,7,6;5,4,3,2),(j,t, 9;8,7,6;5,4,3,2;A,k,q),(8,7,6;5,4,3,2;a,k,q;j,t,9),(5,4,3,2;a,k,q;j,t, 9;8,7,6)) and reformat is as the classic newspaper column diagram, with the four hands arranged

[tw] Re: multi-line output from macros

2010-12-09 Thread tejjyid
I'm using wikify to write out a string X|X|X|X|X|X|br/ - the br/ is breaking the line, but the | is not turning into a table separator. What I get looks like a table in edit mode, rather than display mode. Thanks, Andrew On Dec 9, 10:05 pm, Eric Shulman elsdes...@gmail.com wrote:

[tw] Re: multi-line output from macros

2010-12-09 Thread tejjyid
I used wikify() to write out a string variable like ||A|K|Q|||br/ - and that's what I see, it doesn't turn into a table row. Thanks, Andrew On Dec 9, 10:05 pm, Eric Shulman elsdes...@gmail.com wrote: My plan is to parse the input bung it into a table; what I can't work out is how to

[tw] Re: multi-line output from macros

2010-12-09 Thread tejjyid
missing something here. Andrew On Dec 10, 1:42 pm, tejjyid andrew.x.w...@gmail.com wrote: I'm using wikify to write out a string X|X|X|X|X|X|br/ - the br/ is breaking the line, but the | is not turning into a table separator. What I get looks like a table in edit mode, rather

[tw] Re: multi-line output from macros

2010-12-09 Thread tejjyid
linebreaks, but how does wikify(0 know that |||br/ isn't a single row? I tried that, in fact, and it doesn't split the lines. Sorry for thinking out loud. Andrew On Dec 10, 2:42 pm, tejjyid andrew.x.w...@gmail.com wrote: OK, I chucked out the br/ from the string, now I have one table for each line

[tw] Re: multi-line output from macros

2010-12-10 Thread tejjyid
Well, that's embarrassingly simple! And after all my ingenious (and futile) attempts Thanks a lot On Dec 10, 5:54 pm, Eric Shulman elsdes...@gmail.com wrote: Presumably I have to add some linebreaks, but how does wikify(0 know that |||br/ isn't a single row? I tried that, in

[tw] Re: javascript macros in TW5

2017-02-20 Thread tejjyid
In fact, by making the browser full-screen in Firefox, I was able to get to the close button. On Monday, 20 February 2017 18:09:33 UTC+11, tejjyid wrote: > > Scrub that - if you find a really BIG screen (although not in Firefox) > there's a close button. > > On Monday, 20 Februar

[tw] Re: javascript macros in TW5

2017-02-20 Thread tejjyid
2017 19:05:11 UTC+11, BJ wrote: > > > that should be module-type > > On Monday, February 20, 2017 at 2:07:40 AM UTC+1, tejjyid wrote: >> >> Thanks very much. >> >> Can I update the online documentation of Javascript macros? Because I >> thin

[tw] Re: javascript macros in TW5

2017-02-19 Thread tejjyid
Excellent, thanks for that. The TW5 macros will need some thinking about. On Sunday, 19 February 2017 07:19:20 UTC+11, BJ wrote: > > > bridgeHand.test - I dont see this - only your twc tiddlywiki > > > On Saturday, February 18, 2017 at 9:03:41 PM UTC+1, tejjyid wrote: >

[tw] Re: javascript macros in TW5

2017-02-19 Thread tejjyid
t 9:03:41 PM UTC+1, tejjyid wrote: >> >> I see. How can i identify that necessity in a given TWC macro? > > > macros should not modifly tiddlers or the dom, only return wikitext > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki&

[tw] javascript macros in TW5

2017-02-18 Thread tejjyid
I finally decided I had to bite the bullet and deal with converting all my old JS macros to TW5 so that I can move forward on what will hopefully prove to be a more stable platform. I can't find a document describing how to convert TWC JS macros, but looking at the sketchy documentation & a

[tw] red screen of death TW5

2017-02-23 Thread tejjyid
I'm working on the conversion of my TW's from TWC -> TW5. I was fiddling with one of my new macros (converted & functional, but improveable) and I introduced a syntax error. Bingo, RSOD and I can no longer access the tiddler to repair the damage. In fact, I can't access the wiki. Fortunately

[tw] The look of tables TW5

2017-02-23 Thread tejjyid
I have a table produced by a macro that looks slightly wonky under TW5. You can see the odd spacing in the North cards; most clearly perhaps in the contrast

[tw] Re: The look of tables TW5

2017-02-25 Thread tejjyid
fier in TWC & TW5 converts the string to different HTML. On Friday, 24 February 2017 20:44:48 UTC+11, BJ wrote: > > Its difficult to say what the problem might be without see the code... > > all the best > BJ > > On Friday, February 24, 2017 at 4:42:38 AM UTC+1, tejjyi

[tw] Re: The look of tables TW5

2017-02-25 Thread tejjyid
Thanks David, I've had a bit of luck playing around with the padding. I'll try these out as well. On Friday, 24 February 2017 15:19:43 UTC+11, David Szego wrote: > > Try putting a non-breaking space between cards: > > > > or setting CSS word-break and word-spacing properties: > >

[tw] Re: red screen of death TW5

2017-02-24 Thread tejjyid
I had one at least that produced the RSOD during the initial load. -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To

[tw] Re: javascript macros in TW5

2017-02-18 Thread tejjyid
https://www.dropbox.com/s/luya0x3dl0q57l8/bridgethunk.html?dl=0 bridgeHand.test contains the attempt at a new TW5 version of the TWC version in bridgeHand.old. Winnipeg is one of tiddlers trying to use it. Thanks -- You received this message because you are subscribed to the Google Groups

[tw] Re: javascript macros in TW5

2017-02-18 Thread tejjyid
I see. How can i identify that necessity in a given TWC macro? -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+unsubscr...@googlegroups.com. To post to

[tw] Re: javascript macros in TW5

2017-02-19 Thread tejjyid
go away, which makes editing the tiddler with the code in it impossible. What next? On Monday, 20 February 2017 12:07:40 UTC+11, tejjyid wrote: > > Thanks very much. > > Can I update the online documentation of Javascript macros? Because I > think it can be made more clear for th

[tw] Re: javascript macros in TW5

2017-02-19 Thread tejjyid
Scrub that - if you find a really BIG screen (although not in Firefox) there's a close button. On Monday, 20 February 2017 18:06:10 UTC+11, tejjyid wrote: > > But before I do... > > I made the suggested changes (did you mean "modules-type" or > "module-type",

[tw] Re: javascript macros in TW5

2017-02-19 Thread tejjyid
> "modules-type" with value "macro", save and reload, then your macro works. > > BJ > > On Sunday, February 19, 2017 at 10:21:10 AM UTC+1, tejjyid wrote: >> >> Ahh... OK, this should be better. >> https://www.dropbox.com/s/fk28f37vlj5gqjp/bridgethunk5.h

[tw] Re: TW5 - replacing all my old inline JS

2017-03-01 Thread tejjyid
the content and not the machinery. Andrew On Wednesday, 1 March 2017 03:36:36 UTC+11, BJ wrote: > > > I have had a quick hack to indicate what I think may be the best approach > - see attached, > > all the best > BJ > > > On Tuesday, February 28, 2017 at 12:04:57 PM UT

Re: [tw] TW5 - replacing all my old inline JS

2017-03-01 Thread tejjyid
e "standard"; bibliography, for example, so copy/modify was easier) Probably I should offer to share it with you. Cheers, Andrew On Tuesday, 28 February 2017 23:21:08 UTC+11, Jeremy Ruston wrote: > > Hi tejjyid > > I've managed to update many of my simpler macros, but now I'm m

Re: [tw] TW5 - replacing all my old inline JS

2017-03-02 Thread tejjyid
OK, I think I have it 90% sussed. I'll try writing it up when I've done some stuff with it. Thanks again. On Wednesday, 1 March 2017 20:28:31 UTC+11, tejjyid wrote: > > Thanks Jeremy - I don't think the lack of refresh will be an issue (as I > understand the limitation), but I c

Re: [tw] TW5 - Another RSOD suggestion

2017-03-15 Thread tejjyid
"We are sorry!" is better than "This is embarrassing", although I would omit both myself. I guess that depends on how often the RSOD is seen as a result of user activity, vs system bug appearance. Obviously in the latter case, if feels right to apologise. I prefer "To protect your data you need

[tw] Re: Voicing Futures ...

2017-03-14 Thread tejjyid
Nothing I enjoy more than being patronised. Thanks for letting me know my inconveniences are minor. Cheers On Monday, 13 March 2017 01:01:50 UTC+11, @TiddlyTweeter wrote: > > *Here is a discussion I and Jeremy Ruston started, privately, on Twitter. > We realised that it could just as well be

[tw] Re: Voicing Futures ...

2017-03-20 Thread tejjyid
On Friday, 17 March 2017 03:14:39 UTC+11, A M Alfaro wrote: > > Arlen, > > > I'm a part of the minority which cannot use USB sticks at work. Security > recognizes and blocks flash drives. The more restrictive my environment > becomes, the more I dread the day I can't even get TW at work. I

Re: [tw] TW5 - Another RSOD suggestion

2017-03-16 Thread tejjyid
for taking the time over this. Andrew On Wednesday, 15 March 2017 21:33:39 UTC+11, PMario wrote: > > On Wednesday, March 15, 2017 at 11:03:52 AM UTC+1, tejjyid wrote: >> >> "We are sorry!" is better than "This is embarrassing", although I would >> omit b

[tw] Re: Voicing Futures ...

2017-03-16 Thread tejjyid
I'll try again, but my posts keep getting deleted...if anyone can help me that it'd be appreciated... I don't think it's right to characterise the problems as being with the single file architecture, because I don't really see TW as a single file architecture, any more than Excel. TW is a

Re: [tw] TW5 - Another RSOD suggestion

2017-03-09 Thread tejjyid
Thanks Jeremy. It's a good idea to expain *reason* in messages. "As a result of an error, you need to restart Tiddlywiki to protect your data" would be more communicatively effective. Or if you feel "need to" is too coercive "should" conveys the notion of recommendation nicely. If you are

[tw] TW5 - Another RSOD suggestion

2017-03-09 Thread tejjyid
Roughly half the time when I get the RSOD, when I click on the offending tiddler to amend it, I get another RSOD telling me Node is not defined. I know that; I don't use it. I do my development in the browser. Why do I need to see this message, and more particularly, why is not having Node - I

[tw] Re: TW5 Red Screen of Death suggestions

2017-03-07 Thread tejjyid
You can move the button fairly easily, I found. In boot.js, find this line: form = dm("form",{children: [heading,prompt,message,button], "class": "tc-error-form"}); document.body.insertBefore(form,document.body.firstChild); and move the button higher in the list. If you

[tw] Re: TW5 JS macros

2017-03-13 Thread tejjyid
ario wrote: > > On Saturday, March 11, 2017 at 6:50:06 AM UTC+1, tejjyid wrote: >> >> It seems that when I execute a JS macro with an unsupplied parameter, >> it's set to "" rather than undefined. Is that always the case? >> > > Yes. > > Macros return text a

[tw] TW5 JS macros

2017-03-10 Thread tejjyid
It seems that when I execute a JS macro with an unsupplied parameter, it's set to "" rather than undefined. Is that always the case? Thanks -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails

[tw] Re: TW5 JS macros

2017-03-13 Thread tejjyid
e. According to my reading on JS, what I should see is undefined undefined. If I understand you correctly, what you are saying is that TW overrides JS default behaviour in case someone tries to return p2; incorrectly? On Monday, 13 March 2017 20:33:38 UTC+11, PMario wrote: > > On Mon

[tw] Re: Voicing Futures ...

2017-03-13 Thread tejjyid
I develop my TW code inline; currently from a file, as there's a lot to do handling the upgrade to TW5, but hopefully, in the future, from the browser again. I would routinely save & reload a TW tens, and possibly hundreds of times in a coding session. This is going to be an much more

[tw] TW5 Red Screen of Death suggestions

2017-03-06 Thread tejjyid
I feel I have particular expertise in the matter of the RSOD. I have some suggestions that would ease my pain, improve my productivity and I feel sure generalize to others: 1.) A cancel button on the top of the ?modal box? so that I can get rid of it without changing my screen size / scrolling

[tw] Re: TW5 Red Screen of Death suggestions

2017-03-07 Thread tejjyid
Scary is a different question, Mario. Maybe it needs to be scary, maybe not. Personally I believe in trusting users to act well with good information. However: "This is embarassing" is not scary. It's annoying. If the problem is as serious as you say, then the error message needs to warn

[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)

2017-03-06 Thread tejjyid
Edge cases I can see that you might be able to do a lot with the wiki-text macros, but ... for anything complex they get pretty *unreadable pretty quickly! And it's not like they use a language you might use somewhere else. IMO, more, not less, use should be made of JS macros. I'm just

[tw] Re: TW5 - replacing all my old inline JS

2017-03-01 Thread tejjyid
On Tuesday, 28 February 2017 22:04:57 UTC+11, tejjyid wrote: > > I've managed to update many of my simpler macros, but now I'm moving on to > the more complicated ones. > > There are two scenarios that I used to have: > > 1.) a list of words stored in one tiddler t

Re: [tw] Using TW as a professional webpage

2017-03-01 Thread tejjyid
I think all they mean by "static" is "not using Nodejs", in other words, what the most of us who came from TW classic would think of as bog-standard TW. But I could be wrong. What exercises me about TW a a website is, how do I turn off all the authoring functionality? Maybe that's what "static"

[tw] Re: TW5 Red Screen of Death suggestions

2017-03-07 Thread tejjyid
That was for Thomas, Mario. I know you know :-) Thanks On Wednesday, 8 March 2017 11:47:36 UTC+11, PMario wrote: > > On Tuesday, March 7, 2017 at 9:28:05 PM UTC+1, tejjyid wrote: >> >> You can move the button fairly easily, I found. In boot.js, find this >> line:

[tw] Re: TW5 Red Screen of Death suggestions

2017-03-07 Thread tejjyid
Will do. On Wednesday, 8 March 2017 11:55:16 UTC+11, PMario wrote: > > PR: https://github.com/Jermolene/TiddlyWiki5/pull/2799 > +1 vote for it, if you want to push it. > > -m > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from

[tw] Re: Simple Javascript insertion in tiddlers (text/vnd.tiddlywiki)

2017-03-07 Thread tejjyid
On Monday, 6 March 2017 22:23:58 UTC+11, PMario wrote: > > On Monday, March 6, 2017 at 11:20:58 AM UTC+1, tejjyid wrote: >> >> Edge cases >> > > There are 11 js macros in the core and 860 macro \define statements in the > UI and templates. ~200 of th