Re: (share)Lazy self-installing Python scripts with uv

2024-12-26 Thread 'rengel' via leo-editor
Thanks for the links! Very useful information. On Saturday, December 21, 2024 at 6:11:46 AM UTC+1 iamap...@gmail.com wrote: > - > https://treyhunner.com/2024/12/lazy-self-installing-python-scripts-with-uv/ > - https://simonwillison.net/2024/Dec/19/one-shot-python-tools/ > - > https://packaging.

Re: 🚀 LeoJS 1.0.6 & Website: Ready for Launch! 🌐

2024-09-19 Thread 'rengel' via leo-editor
On my machine this works: From the menu on the home page (https://boltex.github.io/leojs/) select: *Advanced Topics -> Leo Scripting Guide* On Thursday, September 19, 2024 at 4:05:16 AM UTC+2 Félix wrote: > > *> I don't see how to access the example scripts from the main page. * > > Oh I meant

Re: LeoJS vs. VSCode

2024-09-18 Thread 'rengel' via leo-editor
To put it succinctly: As far as programming is concerned, LeoJS is a general-purpose IDE within another general-purpose IDE (VSCode). On Wednesday, September 18, 2024 at 11:50:33 AM UTC+2 rengel wrote: > I admire the great intellectual effort and accomplishment behind LeoJS! > &g

Re: 🚀 LeoJS 1.0.6 & Website: Ready for Launch! 🌐

2024-09-18 Thread 'rengel' via leo-editor
Thank you for your excellent documentation website! Especially the *Leo Scripting Guide* is very helpful. On Wednesday, September 18, 2024 at 4:07:48 AM UTC+2 Félix wrote: > Paul, > > Thank you so much for your kind words and encouragement! > > I'd Like to also mention to the readers of this th

Re: Need help with opening a Leo file

2024-09-17 Thread 'rengel' via leo-editor
;>> Doesn't that kind of defeat the whole purpose of having an outliner? >>>> >>>> Strings of the pattern `<>` occur with some frequency in >>>> bash scripts as well, for example: >>>> >>>> ``` >>>> l

Re: Need help with opening a Leo file

2024-09-16 Thread &#x27;rengel' via leo-editor
, September 16, 2024 at 2:33:31 PM UTC-4 gates...@gmail.com >>> wrote: >>> >>>> Doesn't that kind of defeat the whole purpose of having an outliner? >>>> >>>> Strings of the pattern `<>` occur with some frequency in >>

Re: Need help with opening a Leo file

2024-09-16 Thread &#x27;rengel' via leo-editor
So basically that means you can't reliably use Leo's @file nodes for Elixir adn Erlang source code? On Monday, September 16, 2024 at 4:46:09 PM UTC+2 Edward K. Ream wrote: > On Mon, Sep 16, 2024 at 9:05 AM Thomas Passin wrote: > > Looking at the test erlang file, I see that the "<< ... >> " syn

Re: Need help with opening a Leo file

2024-09-16 Thread &#x27;rengel' via leo-editor
This is the Erlang test file: On Monday, September 16, 2024 at 2:40:41 PM UTC+2 rengel wrote: > Let's see if I can demonstrate this: > > Given is the Erlang file 'erlang_test.erl' that I import in a fresh Leo > outline (first image, erlang_test1.png). > Then I c

Re: Need help with opening a Leo file

2024-09-16 Thread &#x27;rengel' via leo-editor
onday, September 16, 2024 at 7:32:39 AM UTC-4 Thomas Passin wrote: > >> I haven't tried it but Leo has an alternate JSON file format. That ought >> to work for the erlang files. >> >> On Monday, September 16, 2024 at 6:41:37 AM UTC-4 rengel wrote: >> >>

Re: Need help with opening a Leo file

2024-09-16 Thread &#x27;rengel' via leo-editor
BTW: Is there a safe way to include "<<...>>" structs in source code in the body pane? How can Leo be prevented from looking for such structs in the body pane? On Monday, September 16, 2024 at 12:38:32 PM UTC+2 rengel wrote: > Thanks for your suggestion! > > Bu

Re: Need help with opening a Leo file

2024-09-16 Thread &#x27;rengel' via leo-editor
ir was just removing the t nodes that contained Erlang code. I was just about to report this solution, when I saw your answer. Thanks again! On Monday, September 16, 2024 at 9:33:08 AM UTC+2 Edward K. Ream wrote: > On Mon, Sep 16, 2024 at 12:56 AM 'rengel' via leo-editor < > l

Re: Need help with opening a Leo file

2024-09-15 Thread &#x27;rengel' via leo-editor
Maybe I should add a screenshot of the situation:[image: leo.png] On Monday, September 16, 2024 at 7:56:12 AM UTC+2 rengel wrote: > I have a leo file stored in 'D:/dev/.leo/Dev.leo'. > > When I open this file with Leo (on Windows 10), I get > > '@edit D:/dev/.le

Need help with opening a Leo file

2024-09-15 Thread &#x27;rengel' via leo-editor
I have a leo file stored in 'D:/dev/.leo/Dev.leo'. When I open this file with Leo (on Windows 10), I get '@edit D:/dev/.leo/Dev.leo' in the outline pane while the complete leo file is shown in the body pane. This is the only node in outline pane. I have no idea how this node '@edit D:/dev/.le

Some cross-pollination

2024-06-19 Thread &#x27;rengel' via leo-editor
https://forums.thebrain.com/post/request-basicoutlining-features-13389449?pid=1339720062 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@go

Re: Leo as a Database

2022-04-01 Thread rengel
cod (tiddler) as a pure text file. Firts, fields/attributes as key-value pairs, then a blank line, then any contents of the text field. Internal links in double brackest [[..]]: "" author: [[Dave Thomas]] class: Book created: 20220110171706686 creator: rengel modified: 20220401151854239 modi

Re: Leo as a Database

2022-04-01 Thread rengel
What if there were such a tool that fullfills all of your requirements? Have a look at https://tiddlywiki.com/ On Thursday, March 31, 2022 at 6:45:34 AM UTC+2 tbp1...@gmail.com wrote: > Thanks for the comments. I don't disagree with most of them, but of > course, "reasons". I had some user req

Tangled tree visualization for DAGs

2022-03-29 Thread rengel
I just stumbled upon a technique for visualizing DAGs: https://observablehq.com/@nitaku/tangled-tree-visualization-ii -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: Personal take-aways from a rust video

2021-10-30 Thread rengel
On Saturday, October 30, 2021 at 12:49:33 PM UTC+2 Edward K. Ream wrote: > My challenge is to try to understand how one might profitably use very > large outlines. I have no clear pictures in mind :-) > > Some things come to my mind: What questions do you have to ask to get a clearer picture

Re: Personal take-aways from a rust video

2021-10-29 Thread rengel
Addendum This may help: https://thenewstack.io/why-erlang-joe-armstrongs-legacy-of-fault-tolerant-computing/ https://news.ycombinator.com/item?id=23888497 On Saturday, October 30, 2021 at 5:25:06 AM UTC+2 rengel wrote: > > > On Wednesday, October 27, 2021 at 2:12:30 PM UTC+2 Edwar

Re: Personal take-aways from a rust video

2021-10-29 Thread rengel
On Wednesday, October 27, 2021 at 2:12:30 PM UTC+2 Edward K. Ream wrote: ... > *Speed* > > One of Leo's "grand challenges" is to re-imagine Leo with an outline > containing millions of nodes. Whether this challenge even makes sense is an > open question. But one thing is clear: a speedup of

Re: SB: What I'll be studying

2020-11-09 Thread rengel
For an example of a Phonix web application see for instance https://phoenixframework.org/blog/build-a-real-time-twitter-clone-in-15-minutes-with-live-view-and-phoenix-1-5 directly from the horse`s mouth. Reinhard (PS: Sorry, couldn't edit my previous post, and don't know why.) -- You received

Re: SB: What I'll be studying

2020-11-09 Thread rengel
JavaScript might be commonplace, but the exciting action is in functional solutions: i.e. Elixir (https://elixir-lang.org/) and Phoenix (https://phoenixframework.org/). Why? Because JavaScript does not teach new ways of thinking. Yes, I know, this is very opinionated... Reinhard On Sunday, Novem

ENB as model

2020-07-31 Thread rengel
@Edward You might be interested to know that I took you ENB posts as a model for some of my own post on another forum: https://elixirforum.com/t/yacco-yet-another-calendar-converter/33457/2 I hope you don't mind. Reinhard -- You received this message because you are subscribed to the Googl

Re: Leo for organizing notes? [Comments Item 9]

2020-02-17 Thread rengel
Hi, I just stumbled upon this particular post, but didn't read the whole thread. But from what I sense here, you are talking about problems that have been solved by another product that has been dicussed cursorily elsewhere on this forum: *TheBrain* (i.e. see the tutorials https://www.thebrain.

Re: Status report and a big Aha

2019-12-07 Thread rengel
Thanks for sharing your insights into your thought process! Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To v

Re: ENB: About tokens and related commands

2019-11-03 Thread rengel
On Friday, November 1, 2019 at 6:37:42 PM UTC+1, Edward K. Ream wrote: > > On Friday, November 1, 2019 at 11:51:47 AM UTC-5, Edward K. Ream wrote: > > > What is the point of unit tests if they are fudged? I'll have to think > on this... > > Wow. Here >

Re: Error in rendering reStructuredText

2019-11-02 Thread rengel
On Saturday, November 2, 2019 at 10:41:12 AM UTC+1, Edward K. Ream wrote: > > > > On Sat, Nov 2, 2019 at 12:36 AM rengel > > wrote: > > The screenshot I posted is straight out of LeoDocs.leo; so I supposed that >> there shouldn't be any errors. >> &

@image Example

2019-11-02 Thread rengel
The documentation of the directives is lacking a *complete* @image example to display an image in viewrendered? Complete means: - node with header: @image ... - body text I have file named D:/Projekte/Leo/DependencyLabelScheme.png that I want to display in viewrendered. I tried in vain: header:

Re: Error in rendering reStructuredText

2019-11-01 Thread rengel
On Friday, November 1, 2019 at 5:18:43 PM UTC+1, Chris George wrote: > > 1. Here is a link to a rst example page. > https://www.southampton.ac.uk/~fangohr/computing/rst/rst.txt > 2. Paste into a body node and use @language rest at the top. > > Viewrendered does its thing. > @Chris Thanks for t

Re: Error in rendering reStructuredText

2019-11-01 Thread rengel
No suggestion? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.go

Re: Trying to install Leo

2019-10-30 Thread rengel
On Tuesday, October 29, 2019 at 5:17:54 AM UTC+1, Matt Wilkie wrote: > > thank you for the follow up report Reinhard. I'm glad something worked! > > Under Settings menu there is a new item called "Desktop Integration". It > contains scripts which will create Menu and Desktop shortcuts to launch Le

Re: Guide to writing better software documentation

2019-10-28 Thread rengel
On Monday, October 28, 2019 at 4:16:32 PM UTC+1, Offray Vladimir Luna Cárdenas wrote: > > ... > > For me how-tos and tutorials are kind of mixed and I think that the > examples don't work well to create a good boundary (teaching a small child > how to cook and a recipe in a cookery book can do k

Re: Guide to writing better software documentation

2019-10-28 Thread rengel
On Saturday, October 26, 2019 at 11:35:57 PM UTC+2, Matt Wilkie wrote: > > Found by way of Guido von Rossum in python discussion forum: > https://www.divio.com/blog/documentation/ > > Basically: recognize there are 4 kinds of documentation, serving different > functions. Design, write and store th

Re: actual required version of PyQt

2019-10-28 Thread rengel
On Monday, October 28, 2019 at 7:43:24 AM UTC+1, Edward K. Ream wrote: > > > > On Sun, Oct 27, 2019 at 11:50 PM Matt Wilkie > wrote: > > Our minimum is v5.12, following from #1202. >> Is Leo using any >> v5.13 features? (or wanting too?) >>

Re: Trying to install Leo

2019-10-28 Thread rengel
On Monday, October 28, 2019 at 5:33:56 AM UTC+1, Matt Wilkie wrote: > > Thanks Reinhard. I've not tested on full Anaconda and from your report > that shows. > > conda create --name leo-dev > activate leo-dev > conda install pyqt5 > pip install --editable D:\bin\leo-editor > >- We create a new

Re: Trying to install Leo

2019-10-27 Thread rengel
@matt Today, I did a clean install of Anaconda. Then I cloned leo-editor to my desktop (D:\bin\leo-editor) But when I want to install Leo in Anconda following your steps, I get the following errors: (base) C:\WINDOWS\system32>pip install --editable D:\bin\leo-editor ... Requirement already sati

Leo documentation

2019-10-02 Thread rengel
Have you ever thought of publishing Leo's documentation on ReadTheDocs (https://readthedocs.org/)? This might help 'mainstreaming' Leo. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from

Re: I can't recommend black

2019-09-07 Thread rengel
On Saturday, September 7, 2019 at 11:07:31 PM UTC+2, Edward K. Ream wrote: > > ... > So you're saying that I/we should rename dozens/hundreds of ivars and > globals to work around black's notions? > Sorry! I'm not saying that you (or anybody else) *should* do anything. I'm saying that if variable

Re: I can't recommend black

2019-09-07 Thread rengel
On Saturday, September 7, 2019 at 6:30:25 PM UTC+2, rengel wrote: > > > >> self.batchMode = False >> # True: run in batch mode. >> self.debug = [] >> # A list of switches to be enabled. >> self.diff = False >> # True: run Leo in diff

Re: I can't recommend black

2019-09-07 Thread rengel
> > self.batchMode = False > # True: run in batch mode. > self.debug = [] > # A list of switches to be enabled. > self.diff = False > # True: run Leo in diff mode. > > Imo, dedenting these comments is simply wrong. > > Wouldn't it be better to do without comments? IMO its a problem of

Re: An excellent new code pattern: reprs compatible with g.printObj

2019-09-06 Thread rengel
On Friday, September 6, 2019 at 12:58:29 PM UTC+2, Edward K. Ream wrote: > > > > On Fri, Sep 6, 2019 at 5:25 AM rengel > > wrote: > >> BTW: >> >> >>> It's a matter of preference, and I'm pretty stuck in my ways. >>> >&g

Re: An excellent new code pattern: reprs compatible with g.printObj

2019-09-06 Thread rengel
BTW: > It's a matter of preference, and I'm pretty stuck in my ways. > 'Matter of prefence', ok, but the second part isn't even an excuse - given the pace you embrace one new technology after another... ;-) I'm a little older than you and made the switch a year ago - easy, and quite a relief.

Re: An excellent new code pattern: reprs compatible with g.printObj

2019-09-06 Thread rengel
Faster or not faster? As programmers we don't need to speculate, do we? We can benchmark... https://cito.github.io/blog/f-strings/ Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

Re: An excellent new code pattern: reprs compatible with g.printObj

2019-09-04 Thread rengel
Why not go for f-strings (Python 3.6+). See for instance: http://zetcode.com/python/fstring/ The code: def __repr__(self): # Better for g.printObj. val = str(self.val).replace('\n', ' ') return 'GS: %20s %7s = %s' % ( g.shortFileName(self.path), self.kind, g.truncate(val, 50

Judging and improving one's own code

2019-04-22 Thread rengel
When judging one's own code, it often helps to read what others have written about best practices, design patterns, anti-patterns, and refactoring. I just stumbled upon an excellent website that does just this very clearly and concisely, even with code examples in Python (where applicable, i.e.

Unicode in headlines/text

2019-04-16 Thread rengel
The following site might be useful if one wants to use Unicode characters in headlines and/or text when the code or name of the character is unknown: http://shapecatcher.com/ Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubs

Just stumbled upon WorkFlowy

2019-04-04 Thread rengel
Might be interesting to see how others handle hoisting and dehoisting... https://workflowy.com/ https://www.youtube.com/watch?v=cCBnQxOAW98 Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receivin

Re: Is Pyzo in Leo risky?

2019-04-04 Thread rengel
Which version of Python do you want to require at least (3.6, 3.7)? If you make such a major decision, why not go one step further and choose PySide2 exclusively? It is now the official 'Qt for Python'. It won't pay for PyQt4/5, to do any further development, after Qt chose PySide2 as its 'offic

Re: Who should be using Leo

2019-01-19 Thread rengel
On Saturday, January 19, 2019 at 6:46:32 PM UTC+1, Xavier G. Domingo (xgid) wrote: > > I'm a programmer, but are not yet using powerful scripts (although it's on > my plans), so I don't qualify for the first reason yet. > > I don't think TheBrain can compete with those... > > You are right, The

Re: Who should be using Leo

2019-01-19 Thread rengel
On Saturday, January 19, 2019 at 12:55:27 PM UTC+1, Edward K. Ream wrote: ... > I suspect that TheBrain is based on a DAG, but I do not know for sure. > > Definitely not. You can construct circles like: PARENT1 -> CHILD -> GRANDCHILD -> PARENT1 (closing the circle) Although there is a single

Re: Who should be using Leo

2019-01-18 Thread rengel
On Friday, January 18, 2019 at 5:45:13 PM UTC+1, Edward K. Ream wrote: > > On Fri, Jan 18, 2019 at 7:42 AM rengel > wrote: > > If you *aren't* a programmer and use TheBrain *you don't need clones*, >> because an entry/item in TheBrain can have any number of

Re: Who should be using Leo

2019-01-18 Thread rengel
On Thursday, January 17, 2019 at 7:13:21 PM UTC+1, Edward K. Ream wrote: > > > So if you *aren't* a programmer, and you *don't* use clones, then why, > exactly, are you using Leo? You would be much better off with TheBrain > . Really. > > If you *are

Qt and Python Qt Versions

2019-01-10 Thread rengel
I don't know if this is known already. There's a way to unify all Python Qt Versions: Quotes: "Qt.py enables you to write software that runs on any of the 4 supported bindings - PySide2, PyQt5, PySide and PyQt4." "Qt.py is a Minimal Python 2 & 3 shim

Re: Leo in 2019

2019-01-08 Thread rengel
@Matt > > > Well if we're going to talk about expanding languages proficiencies, I'll > take the opportunity to lob one onto the court (pun intended) that's been > on my list for awhile: Racket . > > There might be a slight misunderstanding here. I'm not suggesting to u

Re: Leo in 2019

2019-01-07 Thread rengel
On Monday, December 31, 2018 at 4:32:43 PM UTC-6, Edward K. Ream wrote: > > > - It's time to expand my programming horizons with stuff like prolog and > haskell. > > Haskell is said to be more 'academic'. Maybe you should have a look at Erlang instead. Erlang has grown out of Prolog. There is a

Re: Wasm, rust, progressive web apps, etc.

2019-01-03 Thread rengel
See: Qt for WebAssembly -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to

Re: Leo in 2019

2019-01-03 Thread rengel
On Friday, January 4, 2019 at 2:49:44 AM UTC+1, Joe Orr wrote: > > Hmm... yet another mind mapper. Not impressed. > > I don't need another hairball to deal with. Leo forces me to put things in > order, but allows multiple orders. > > Ignore to your own detriment! I've been using outliners as PIM

Re: Coming: live coding in python

2019-01-02 Thread rengel
On Wednesday, January 2, 2019 at 5:44:48 PM UTC+1, Offray Vladimir Luna Cárdenas wrote: > > Hi, > On 2/1/19 7:22, Edward K. Ream wrote: > > In another thread Offray suggests adding live coding features to Leo and > python. This would be very cool. > > Googling "live coding in python" yields a Do

Re: Leo in 2019

2019-01-01 Thread rengel
> > - A breakthrough in visualization and simplicity. ... > For inspiration, have a look at https://www.thebrain.com/. Happy new year! Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

PySide vs PyQt

2018-12-18 Thread rengel
In December 2018, the official Version of 'Qt for Python (https://www.qt.io/qt-for-python) has been released. Probably this will kill PyQt. Which implications does this have for Leo? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe

Re: Having difficulty with WIndows 10

2018-12-11 Thread rengel
I case somebody is interested: In PyCharm, I created a new project and imported the Leo version that contains leoflexx. After that I just could start the program with the inbuilt 'Run' function. (The only thing I changed were the background colors.): [image: leoflexx.png] -- You received th

Re: How important is LeoWapp to you?

2018-12-11 Thread rengel
> > > Err, I don't think Edward is suggesting taking away the option of running > Leo 'fully standalone', if that is your use case. It is more for extending > it when the other configurations make sense. > No, I never thought of that. This question is engaging me because I'm working on an appl

Re: How important is LeoWapp to you?

2018-12-10 Thread rengel
On Monday, December 10, 2018 at 10:02:46 PM UTC+1, Matt Wilkie wrote: > > I'm picking out a single element to comment on, just because that's > something I have a thought on right now. The rest of the sentiments are > worth pondering too, especially the point about the difference between and > u

Re: How important is LeoWapp to you?

2018-12-10 Thread rengel
I'm still struggling with the question 'Why should I want to run Leo in a Browser?'. IMO, LeoWapp is mingling two issues that are only remotely related: - The ability to remotely access Leo files that are stored somewhere on some remote server. Any number of apps or programming languages

Re: Why should I want to run Leo in a browser?

2018-11-12 Thread rengel
PS: There is a whitepaper 'Qt vs. HTML5' on the topic with a nice summary. It's free, but requires registration: https://www.qt.io/html5?utm_campaign=Qt%20QML%20vs%20HTML5&utm_source=Social%2C%20Qt%20v%20HTML5%20landing%20page&utm_medium=Social Reinhard -- You received this message because you

Re: Why should I want to run Leo in a browser?

2018-11-12 Thread rengel
On Monday, November 12, 2018 at 4:35:50 PM UTC+1, Matt Wilkie wrote: > > Sorry, if my question might sound heretical, but why should I - as a user >> or as a devoloper - want to run Leo in a browser? What would be the >> benefit, the value added? >> > > For me the attraction as a user is possib

Why should I want to run Leo in a browser?

2018-11-11 Thread rengel
Sorry, if my question might sound heretical, but why should I - as a user or as a devoloper - want to run Leo in a browser? What would be the benefit, the value added? I tried to find the answer in the recent threads. If I've read them correctly the idea of a LeoWapp came up around mid of Octob

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread rengel
Both the CSS and the inline style honor the color settings, but not the with and height settings. > > My guess is that the VBox() and HBox() layouts override the width and > height settings. > > Thank you for all the detailed answers! I might have found the answer in one of the examples (in case

Re: Learning flexx, part 2, and LeoWapp status

2018-11-08 Thread rengel
Thanks for sharing! How did you run LeoMainWindow, in the browser - app.launch('browser') - or as a desktop app - app.launch('app')? If you tried the second variant, did you set some window parameters using a CSS stylesheet? If so, how? Right now, I couldn't figure out how to set the parameters

Re: Might be interesting for Leo WebApp

2018-11-05 Thread rengel
JavaScript tree datastructures - an overview: https://stackoverflow.com/questions/8640823/what-javascript-tree-data-structures-are-available -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

Re: Might be interesting for Leo WebApp

2018-10-31 Thread rengel
Maybe a look at the page source helps. In the Javascript world litte is hidden... On Wednesday, October 31, 2018 at 11:56:56 AM UTC+1, Edward K. Ream wrote: > > > > On Wed, Oct 31, 2018 at 5:18 AM rengel > wrote: > >> I just stumbled upon a web outliner: >> >>

Might be interesting for Leo WebApp

2018-10-31 Thread rengel
I just stumbled upon a web outliner: https://dynalist.io/ I don't know if this might be interesting for the new webapp effort... -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, se

Re: my 2 cents to embedding Leo into other editor or vice versa

2018-10-12 Thread rengel
> > My conceptual solution to this was/is "What If Topics Were Folders?", > topics being the twiki version of Nodes. Basically: every topic is a > container, within the container if the default file exists, display that > using the filetype's default rendering mechanism (think web servers and

Re: ENB: About the speed of lstrip

2018-07-09 Thread rengel
Just in case - a little less work: import random from timeit import timeit lines = [' ' + str(random.random()) for i in range(10**6)] t = timeit('for line in lines: line.lstrip()', number=1, globals=globals()) print('%s lines in %5.3f sec' % (len(lines), t)) Reinhard -- You received this mess

Re: Big progress re IPC

2018-06-30 Thread rengel
On Friday, June 29, 2018 at 1:51:31 PM UTC+2, Edward K. Ream wrote: > > I did considerable research yesterday. The breakthrough was David > Beazley's superb slideshow > . > Rarely have I seen any topic explained so well.

Re: Prototype and its purpose

2018-06-12 Thread rengel
> > ... > > More than once in this forum it was pointed out that Leo's outline is like > a database. Let us accept this analogy for now and let me use some database > terminology. > > At the moment Leo keeps its data in the form of interconnected VNode > instances. The result of reading outl

Re: Inspired by Vitalije's prototype

2018-06-12 Thread rengel
On Tuesday, June 12, 2018 at 9:04:18 AM UTC+2, jkn wrote: > > > > Vitalije has replied with great thoughtfullness and dignity. It's a pity > that your contributions seem consistently at the trollish end to me. > > Sorry, you see it that way. I don't want to argue with you, but these have been my

Re: Inspired by Vitalije's prototype

2018-06-11 Thread rengel
What an eloquent heart-breaking account. Reading it, just makes me sad. It will never be known how many just walked away silently... Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

Re: Inspired by Vitalije's prototype

2018-06-01 Thread rengel
+++ Well said! A Not-Invented-Here-so-let's-redo-it attitude is prone to block motivation and creativity. Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email

Re: ENB: Why I think keyword args are benign

2018-04-24 Thread rengel
On Monday, April 23, 2018 at 10:58:08 AM UTC+2, Edward K. Ream wrote: > > ... a discussion about programming style ... > ... 2. The meaning of each kwarg is clear: - reassignIndices: distinguishes between paste-node and paste-retaining clones. - redrawFlag: suppresses calls to c.redraw when F

Re: Basic Layout of the Leo GUI

2018-04-17 Thread rengel
Leo uses tabs to switch workspaces (contexts). Each .leo file can define or redefine what menus, settings, plugins and so on are available within it's context. So tabs are the highest level of containment. IMO this is only partly true. There are always menus, menu items, and functions that ar

Re: Basic Layout of the Leo GUI

2018-03-20 Thread rengel
> As far as flaunting convention, Leo isn't really like any other program. > I am not sure if the tyranny of the marketplace should apply to it. > Yeah, that's great, isn't is? This is a free world. In an open source world, nobody is forced to follow any conventions or standards or customs.

Re: Basic Layout of the Leo GUI

2018-03-20 Thread rengel
... Leo doesn't use tabs to switch files... Well, I do. 'workbook' in one tab, 'Settings' in a second tab, and some application-specific Leo file in a third tab. But thanks, for trying to explain. Reinhard -- You received this message because you are subscribed to the Google Groups "le

Re: Basic Layout of the Leo GUI

2018-03-20 Thread rengel
On Sunday, March 18, 2018 at 3:23:40 PM UTC+1, Terry Brown wrote: > > Firefox / Chrome / and I think at least one of the MS browsers have tabs > on top. Admittedly they don't really have menu bars, but they have > similarly critical elements under the tabs. In both cases (Leo and > browsers) t

Basic Layout of the Leo GUI

2018-03-17 Thread rengel
One thing I never understood about the Leo GUI : Why is the tab bar with the open files right below the title bar, but above the menu bar and the tool bar? Imagine a car where the accelerator and the brake were switched. In almost every other application (I know of) the order is: title bar men

Re: Font settings are not honored

2018-03-15 Thread rengel
Figured it out. For anybody interested: Open 'Breeze Dark Theme.leo' in Leo. Copy the node '@theme Breeze Dark'. Open 'myLeoSettings.leo'. Paste the node as the

Re: Font settings are not honored

2018-03-15 Thread rengel
On Thursday, March 15, 2018 at 1:33:12 PM UTC+1, Edward K. Ream wrote: > > > > On Thu, Mar 15, 2018 at 4:23 AM, rengel > wrote: > >> >> What would be the correct storage place and syntax? >> > > ​At present you have to copy the entire @theme tree to the

Re: Font settings are not honored

2018-03-15 Thread rengel
t; This is the result of a Qt bug. > > I have attached a new theme that incorporates the workaround. > > Load the @theme Breeze Dark node as the very last node of your > myLeoSettings.leo. If this theme works for you, let me know. > > Chris > > On Wed, Mar 14, 2018 at 12:5

Font settings are not honored

2018-03-14 Thread rengel
Leo 5.7 final, 2018-02-17 I wanted to change the font-size, but the changes are not honored. -- You received this message because you are subscribed to

Re: The first, urgent task: show people what Leo already has

2018-03-03 Thread rengel
> > > ​> ​ > If the Python console should be used, make it visible in the menu; don't > bury it in the documentation. > > ​Actually, my intention is to make key features visible *directly*, not > just in menus.​ > > I am going to enable the python_terminal plugin today, in both master and >

Re: The first, urgent task: show people what Leo already has

2018-03-02 Thread rengel
If you haven't done so already, you might want to study the user interface of PyCharm (https://www.jetbrains.com/pycharm/), especially their wording of menu entries and their 'Tools' menu. Leo's menu entries are way too much developer-oriented. They express, what's available, not what can be don

Re: Leo 5.7 final released

2018-03-02 Thread rengel
Thanks! This lowers the hurdle to try leo a little bit. > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroups.com. To post to t

Re: Leo 5.7 final released

2018-03-02 Thread rengel
Indeed, it does, if I know how to get there. Many GitHub packages have very convenient README.md files that are patterned like ... *Installation* ... *Usage* ... Who would be hurt, if you just add: *Installation*.. pip install leo *Usage* Run leo in your terminal to try how it works. -

Re: Leo 5.7 final released

2018-03-02 Thread rengel
'pip install leo' now works fine. What's missing in the 'README.md' on GitHub is a short note on how to start Leo, after it has been installed with pip -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop rece

Re: Leo 5.7 final released

2018-02-28 Thread rengel
pip installs leo-5.7b2.dev27-py2.py3-none-any.whl Doesn't look like the final version. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@goo

Re: OT: (Kinda) "Learning How to Learn" from Coursera

2017-08-14 Thread rengel
Thanks for the tip! I just started the course, because I don't want be crazy ;-). Looks very promising... Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email t

Re: Changed outline font-size not honoured?

2017-04-24 Thread rengel
> > I assume you're using Qt 5.8.x? > Yes, PyQt 5.8 Thanks, Terry! Reinhard -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to leo-editor+unsubscr...@googlegroup

Changed outline font-size not honoured?

2017-04-24 Thread rengel
I just installed Leo 5.5 and tried to change the font-sizes of the outline, the log, and the body panes. To do that, I copied the 'Appearance' node of the settings into m

Re: Unified views? Unify the outline and body panes?

2017-03-25 Thread rengel
> > @ekr > Imo, adding p.drawer to each node will give the user to add text metadata > to any node. The choice will be entirely up to the user, and will be > independent of whether outline and body pane(s) are unified. > Is this name 'p.drawer' set in stone? Why not call it 'p.userdata' or

Re: Unified views? Unify the outline and body panes?

2017-03-25 Thread rengel
First, you have to decide if you want to use Leo as a data store/editor or a metadata store/editor or a combination of both. To understand the difference, let's look at a case study and use Leo for storing books or articles. How would yould you store metadata (author, title, publisher, etc.), a

  1   2   >