Re: @jupytext: final touches

2024-11-01 Thread HaveF HaveF
On Friday, November 1, 2024 at 4:37:50 PM UTC+8 lewis wrote: Received a message in Leo log pane: *NotSupportedNBFormatVersion: Notebooks in nbformat version 3.0 are not supported by Jupytext. Please convert your notebooks to nbformat version 4 with 'jupyter nbconvert --to notebook --inplace'*

Re: New Script To Render @jupytext files With VR3

2024-11-01 Thread HaveF HaveF
> > When I incorporate the conversion code into VR3, there won't be a need for > this script - or for creating a new node - but until I do that, this script > allows you to view the rendered file. Getting the script out there to be > used can also help me make sure the conversion is solid when I do

Re: New Script To Render @jupytext files With VR3

2024-10-31 Thread HaveF HaveF
Thank you, Thomas. The script works. The command will create a new node below your @jupytext tree and will select it. But I don't quite understand why you need to do this? Why do we need a new node? Is it because you don't want to put the `#` logic in the jupytext node into vr3? In addit

Re: @jupytext improvements ready for review

2024-10-30 Thread HaveF HaveF
> > > I don't love seeing the leading "#"s in the headline, though. E.g., ## 1. > Specifying element type. > The starting point of my suggestion is that since all our nodes are at the same level, we can only know which level it is through the `#` in the markdown heading, which is convenient for qu

Re: Jupytext - Script To Split Into Child Nodes

2024-10-28 Thread HaveF HaveF
On Tue, Oct 29, 2024 at 12:31 AM Thomas Passin wrote: > I need some guidance on edge cases before I can get the script to indent > beyond one level. > > Ah, there are so many edge cases. My suggestion is to only extract nodes at the markdown heading level without smaller subnodes. That is, ``` j

Re: Jupytext - Script To Split Into Child Nodes

2024-10-28 Thread HaveF HaveF
Oh, I forgot about this edge case ``` jupytext # %% [markdown] # ### header 1.1.1 # content balabalabala 1.1.1 # header 1.1.1.1 # content balabalabala 1.1.1.1 # %% [markdown] # header 1.1.1.2 ``` In this case, only two nodes should be generated: ``` ### header 1.1.1 header 1.1.1.

Re: Engineering Notebook - Jupytext The Leonine Way

2024-10-27 Thread HaveF HaveF
I didn't mean that round-tripping could be a problem. I meant that it imposes extra steps, incurs a time delay, and adds distraction. These things get in the way of the work of composing and thinking out a notebook. As an example, here is how I typically develop Sphinx documents, which use

Re: Leo 6.8.2 coming soon. Please test devel

2024-10-26 Thread HaveF HaveF
How often have I wished for a monitor with a greater height than width! There are many monitors that can rotate. For example, the one I use now is dell u2422 . There should be many

Re: Engineering Notebook - Jupytext The Leonine Way

2024-10-26 Thread HaveF HaveF
6. There should be a way to show a view of adjacent or nearby nodes so that the user can make sure they work together as intended. Showing a fully rendered view of nodes' Markdown is a desirable bonus to avoid round-tripping to Jupyter. Thank you Thomas for such a detailed thought. I prepar

Re: Leo's jupytext code works!

2024-10-25 Thread HaveF HaveF
> > Well, yes, execution ability will be limited, that's right. VR3 won't know > about magics, and all the needed libraries will have to be imported in the > outline. Also graphics that Jupyter would embed won't work. So execution > capabilities would be limited, but there will be some outlines th

Re: ENB: Re-designing Leo's IPython bridge

2024-10-25 Thread HaveF HaveF
On Monday, October 21, 2024 at 12:49:27 PM UTC+8 george.z...@gmail.com wrote: There are two issue that I have with iPython / Jupyter notebooks where Leo can be of immense help: Hi, George! Thanks to Edward's genius ideas, we can use Leo's powerful outline function with Jupyter so quickly. If

Re: Leo's jupytext code works!

2024-10-25 Thread HaveF HaveF
A very small addition to VR3's code will allow the notebook to be rendered, and even executed. Hi, Thomas, I believe the rendering is great --- although I can't imagine how this thing works with the @jupytext node. I think execution may be a bit troublesome, because my usage scenario is tha

(share)Everything I built with Claude Artifacts this week -- Simon Willison

2024-10-24 Thread HaveF HaveF
Title: Everything I built with Claude Artifacts this week https://simonwillison.net/2024/Oct/21/claude-artifacts/ What surprised me most was: > Most of these tools took less than five minutes to build. A few of the more involved ones took longer than that, but even the OpenAI Audio one took 11

Re: ENB: @jupytext will simplify everything

2024-10-24 Thread HaveF HaveF
> > It's probably been five years since I have had such a significant and > productive day of programming. > I can feel your emotions across the screen and I'm happy for you :-D -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from

Re: ENB: @jupytext will simplify everything

2024-10-23 Thread HaveF HaveF
> > I have to say @jupytext is an amazing idea. I wonder if it would be > better to let the user choose whether to write to an external file or not? > I rethought this question and I think it might be easier to support it only in Leo instead of writing it to an external file. - jupytext supports

Re: ENB: @jupytext will simplify everything

2024-10-23 Thread HaveF HaveF
> This Engineering Notebook post describes a breakthrough that will radically simply #4117 support jupytext. I elided some important details: > When Leo *reads *an @jupytext x node, Leo will use jupytext to re-create that node and all it

Re: ENB: Re-designing Leo's IPython bridge

2024-10-21 Thread HaveF HaveF
> > > With jupytext as an > inspiration, Leo might *pair .ipynb with corresponding outline nodes*: > > - Update the paired outline node when the corresponding .ipynb file > changes. > - Write the paired .ipynb file when the corresponding outline node chan

Re: ENB: Thought experiments re IPython

2024-10-20 Thread HaveF HaveF
On Sun, Oct 20, 2024 at 9:59 PM Thomas Passin wrote: > That's very interesting. The Jupyter ecosystem is expanding so fast that > there is always something new. I don't actually use Jupyter-* so I'm not > in touch with it at all. I always think I should be using Jupyter but I > don't do much wo

Re: ENB: Thought experiments re IPython

2024-10-20 Thread HaveF HaveF
Leo gains nothing by attempting to work closely with IPython. I agree with Edward that complex integration does not bring any benefits. If I imagine, the combination of Leo and Jupyter may only be a combination at the file level. Maybe Leo will parse the ipynb file and turn it into blocks, a

Re: ENB: Re-designing Leo's IPython bridge

2024-10-19 Thread HaveF HaveF
Honestly, it would be great if Leo was used to organize jupyter, but I think this problem is too complicated. Maintainability may also become a big problem in the future. I usually synchronize the source code and ipynb through https://github.com/mwouts/jupytext, and then use Leo to organize the

Re: Embedding An External Program In Leo - Proof Of Principle

2024-10-11 Thread HaveF HaveF
On Sat, Oct 12, 2024 at 10:07 AM Thomas Passin wrote: > By "embedding" here, I mean that we take a non-Qt program window and embed > it into a certain kind of Qt widget. Then we can put that widget where > ever we want in our Qt program. Side by side, whatever. With a Qt widget > A, we can att

Re: Embedding An External Program In Leo - Proof Of Principle

2024-10-11 Thread HaveF HaveF
On Thursday, September 12, 2024 at 7:30:31 AM UTC+8 tbp1...@gmail.com wrote: Here is a screen shot of the corrected version of the embedded calculator program. Notice that the calculator's native menu is now available, which is a pleasant improvement. In this version, the calculator program onl

(share)uv resources

2024-09-22 Thread HaveF HaveF
astral-sh/uv seems to be very popular recently. Of course, this is also part of the rust everything trend. Because uv is used very quickly (and speed changes a lot of things), I was very surprised to see this example. 🐍 Python UV run with shebangs - Jeff Trip

Re: Another vitrectomy

2024-06-27 Thread HaveF HaveF
When you are bored, you can consider listening to some podcasts or something. It can also be regarded as a vacation. Take more rest and hope that the recovery will go smoothly. On Friday, June 28, 2024 at 1:35:01 AM UTC+8 Félix wrote: > Hoping this heals well and quickly! > > On Thursday, June

Re: Leo 6.8.0 progress report

2024-06-19 Thread HaveF HaveF
error: package directory 'leo/doc/_static' does not exist Does it related with this? https://github.com/leo-editor/leo-editor/issues/3853 -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving

Re: Learning About Leo's Options

2024-06-16 Thread HaveF HaveF
A good addition to the documentation . I just review my custom settings, in addition to font-related configuration, I have @bool log-pane-wraps = True @bool show-tips = False @bool highlight-body-line = True @enabled-plug

Re: Status report re PR #3911

2024-05-27 Thread HaveF HaveF
> For those who haven't defined a custom menu in *myLeoSettings.leo* > before, here is a screenshot of what I've got in my setting tree. It > defines a menu named "Local", which displays just before (to the left of) > Leo's standard "Help" menu. The string after the *@item* in each > headline is

Re: Status report re PR #3911

2024-05-26 Thread HaveF HaveF
The 6.8.0 docs will mention the show-qt-widgets command. That should suffice. > Nice. Thanks, Edward, For commands that I think I might use often enough, I add them to my "Local" menu, which I define in myLeoSettings.leo. It's a handy way to deal with those things that don't rate a button or key

Re: Status report re PR #3911

2024-05-26 Thread HaveF HaveF
Thanks Edward and Thomas. Btw, do we need to put Leo's Qt Widget hierarchy Code to the doc? I believe it is very useful. I let AI add some nice `|` or `-`, it works, but it remove Edward's useful 'if 1, else' part 🤭 ```python

Re: Status report re PR #3911

2024-05-26 Thread HaveF HaveF
I haven't kept up with the latest progress. In my previous code, I created a textedit panel to output something. ```python w = c.frame.body.widget while not isinstance(w, NestedSplitter): w = w.parent() something_log = w.find_child(QtWidgets.QTextEdit, "something_log")

Re: A Script To Display The Viewrendered3 Pane in the Same Place s The Body

2024-05-13 Thread HaveF HaveF
Thomas, your private email on this topic was a Eureka moment for me. I realized that we Leo devs aren't aware of the hierarchy of Leo's Qt widgets. Yes, we don't know...here is a nice version of the output . I'll say more l

Re: Leo 6.7.8 released to pypi

2024-04-25 Thread HaveF HaveF
> > > When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for > newest code. it throws: > >error: package directory 'leo/doc/_static' does not exist > > > after `mkdir -p leo/doc/_static`, it works as before. > > Maybe we need an empty .gitignore file in that folder? > > Why would

Re: LeoJS - How To Write To File System And Run External Programs

2024-03-31 Thread HaveF HaveF
> The video tutorial is now available! :) > > https://www.youtube.com/watch?v=M_mKXSbVGdE > Félix, Nice video, I like it! -- 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 ema

Re: I just had successful eye surgury

2024-03-30 Thread HaveF HaveF
Successful surgery, sounds great. But still pay attention to get more rest On Friday, March 29, 2024 at 8:31:21 PM UTC+8 David Szent-Györgyi wrote: > Heal, heal! > > On Thursday, March 28, 2024 at 4:03:52 PM UTC-4 Edward K. Ream wrote: > >> A vitrectomy >>

Re: Leo 6.7.8 released to pypi

2024-03-28 Thread HaveF HaveF
When I using `pipx inject leo /Users/mac/Desktop/proj/leo-editor` for newest code. it throws: ╰─$ pipx inject leo /Users/mac/Desktop/proj/leo-editor 141 ↵ error: subprocess-exited-with-error × Getting r

Re: FYI: Simplified installation instructions

2024-03-04 Thread HaveF HaveF
> > pipx install leo > > pipx is a general approach to install python applications, not only for Mac. I like it because it is not messing up my python environment, if I also need to install something in this environment, I just need pipx inject leo That's it. update cmd is: > pipx inject leo >

Re: FYI: Simplified installation instructions

2024-03-03 Thread HaveF HaveF
Nowadays, I always use pipx install or update leo(instead of conda env) install like: pipx install leo update from the source: git clone ... cd ... git pull pipx inject leo /Users/mac/Desktop/proj/leo-editor -- You received this message because you are subscribed to the Google Groups

(share)fastai/nbdev

2024-02-08 Thread HaveF HaveF
https://github.com/fastai/nbdev It is another way of literate programming. I watched the video in the readme, interesting -- 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

Re: Leo Command To Convert To Title Case

2024-02-04 Thread HaveF HaveF
Thanks, Thomas, I like these little scripts :-) It can study the api bit by bit, like, I didn't use undoer before On Sunday, February 4, 2024 at 4:50:15 AM UTC+8 tbp1...@gmail.com wrote: > Converting to Title Case means to make the first letter of every word in a > string capitalized, and all th

Re: LLMs as Collaborators

2024-01-14 Thread HaveF HaveF
> > Jon Udell continues to learn how to make use of LLMs - > 7 Guiding Principles for Working with LLMs > > These tips are very useful. As I continue to use it, I find that LLMs can easily help me learn the contents of the librar

(share a tool)Zero-ETL for SQLite: Live-query cloud APIs with 100+ new extensions

2023-12-31 Thread HaveF HaveF
Zero-ETL for SQLite: Live-query cloud APIs with 100+ new extensions | Steampipe Blog Steampipe build software that lets you query different APIs directly from SQL databases. Their original product only worked with Pos

Re: (share a post)Working With Discovery Trees

2023-12-27 Thread HaveF HaveF
> > There are a number of text-to-diagram tools that can potentially produce > diagrams like these. Some of them are Graphviz, Plantuml, and d2. I know > there are others. I have been able to use Graphviz to produce a > line-of-descent diagram from a Leo outline of family history trees. > I bel

Re: how to write tests in Leo?

2023-12-27 Thread HaveF HaveF
I understand what you're saying, but I still can't seem to explain my problem well. But for now, that's it. I'll wait until I read more LeoPyRef. Thank you so much -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group

Re: how to write tests in Leo?

2023-12-26 Thread HaveF HaveF
> > Take a look in the *leo-editor\leo\unittests* directory. For example, > *test_gui.py* imports g. etc. Maybe that will be enough to get started. > >> >> My intuitive thought is that there are two types of tests in Leo, >> >> >> 1. Testing of common Python function script nodes, >> >> >> 2. Tes

how to write tests in Leo?

2023-12-26 Thread HaveF HaveF
Hello, there, My intuitive thought is that there are two types of tests in Leo, 1. Testing of common Python function script nodes, 2. Tests that require a Leo context, such as g, c, p, etc. 2.1 Test with Leo already open, because there are already g, c, p 2.2 Testing without Leo open

(share a post)Working With Discovery Trees

2023-12-26 Thread HaveF HaveF
https://www.industriallogic.com/blog/discovery-trees/ The node structure is like Leo(or any mindmap tools), but display in graph and vertical way. The nodes in the graph similar Leo's normal nodes or marked nodes. Interesting -- You received this message because you are subscribed to the Go

Re: Issue #3710: EKR's last lecture

2023-12-26 Thread HaveF HaveF
> > > Some people say that societal changes are happening too quickly, and > there's a need to rapidly acquire new skills. > However, some things are not that easy, which causes a lot of anxiety. > What is your perspective on this issue? > > > Maybe Edward can talk about how to evaluate Rust thing

Re: Issue #3710: EKR's last lecture

2023-12-25 Thread HaveF HaveF
> > Some people say that societal changes are happening too quickly, and > there's a need to rapidly acquire new skills. > However, some things are not that easy, which causes a lot of anxiety. > What is your perspective on this issue? > Maybe Edward can talk about how to evaluate Rust thing with

Re: Issue #3710: EKR's last lecture

2023-12-24 Thread HaveF HaveF
I have finished #3710 : EKR's last lecture. personal goals > What's your goals? Does that changed? Just a remind. Whenever I discover something I think I "should" do, I ask myself two questions: - Do I *need* to do it? - Do I *wa

Re: FYI: Two new LeoU/devinfo items

2023-12-24 Thread HaveF HaveF
Issue #3729 tells how to read Leo's code. I wondered, is it possible and necessary to make a simple learning path based on low difficulty, medium difficulty, and high difficulty? For example, there are three examples of plugin recommendat

Re: question about code organization issues for personal common libraries and multiple plug-ins

2023-12-24 Thread HaveF HaveF
Here is the easy (and flexible!) way: - Define a shared @command f1 node in your myLeoSetting.leo for your function f1. - Execute the function with: c.doCommandByName("f1"). I'm going to do a bit of a balance between plugins or the way which you said. For now, Thomas's approach to 'place a .

Re: question about code organization issues for personal common libraries and multiple plug-ins

2023-12-23 Thread HaveF HaveF
> > One thing you will have to decide is where the plugin should live. You > don't want it to be in the Leo codebase since it's personal. Leo will load > plugins from sys.path if you list them in the @enabled-plugins setting if > you give the module name without the ".py" extension. So you have

Re: question about code organization issues for personal common libraries and multiple plug-ins

2023-12-23 Thread HaveF HaveF
> > You can put all these function definitions in a node or nodes and install > them by running the node with CTRL-b. Or if there are so many that you > want to put them in a module, you can import them from the module, but it > doesn't have to be a plugin. You could put it into, for example, > ~

question about code organization issues for personal common libraries and multiple plug-ins

2023-12-23 Thread HaveF HaveF
Hi, Leo Lovers, Upon your suggestions to learn more about Leo, I examined the LeoPyRef file, and learned the g.pdb() method for an in-depth exploration, which was great. I like it! I now have an idea and seek your input. I realized that in various Leo files, I frequently employ same specific f

Re: ✨LeoJS beta 0.2.0 Released!

2023-12-20 Thread HaveF HaveF
> > 1- LeoJS *is *"Leo Editor for Visual Studio Code". Not 'based on'. > I thought you also developed a low-level library called LeoJS, and the "Leo Editor for Visual Studio Code" extension was developed on top of this low-level library. (I even wonder if this LeoJS library could be used to integr

Re: ✨LeoJS beta 0.2.0 Released!

2023-12-20 Thread HaveF HaveF
- Like its predecessor, LeoInteg, LeoJS employs VSCode's robust GUI to host a variety of panels and controls, offering a smooth and familiar user experience. Hi, Félix, Congratulations! I have two questions: 1. "Leo Editor for Visual Studio Code" is based on LeoJS, while "Leo Editor Int

Re: Félix Malboeuf is my GitHub successor

2023-12-19 Thread HaveF HaveF
Hi, Edward, You have contributed so much to this world. We hope you stop early, rest more, and enjoy using Leo with us for long time. Thanks to Félix Malboeuf. It seems that you have to bear all kinds of problems of us, and open source software is really difficult to maintain. Also, I'm wonder

Re: vs-code v1.85: GitHub Universe and the state of AI in programming

2023-12-13 Thread HaveF HaveF
Hi, Edward, I don't know if you have free access about the GitHub Copilot, but you should check... https://archive.is/UCe2v#selection-801.0-802.1 GitHub Copilot for Maintainers of Open Source Projects > popular open source projects While this definition of popular is a bit vague, it's not nec

Re: recommend an approach or path to learning more about Leo

2023-12-11 Thread HaveF HaveF
> > My Last Lecture will probably say surprisingly little about programming. > That's good, we're curious about anything about the father of Leo -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving em

Re: recommend an approach or path to learning more about Leo

2023-12-11 Thread HaveF HaveF
> > Leo's info items > collect such knowledge. Be sure to check the closed items. > Wow! > This thread has inspired me to create my own Last Lecture > as an info item. Stay > turned. > Lookin

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread HaveF HaveF
On Mon, Dec 11, 2023 at 3:06 AM Thomas Passin wrote: > Another big benefit of using a second Leo session is if you are working on > core Leo code and you make a mistake that prevents Leo from running. If > you only used the one Leo window, you are in trouble because you won't be > able to start

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread HaveF HaveF
> > > I forgot to say that I run the second Leo session using a theme with a > different color scheme from the first one. That way I don't get mixed up > and make a change in or close the wrong window. You can set a specific > theme with the --theme= command line parameter. > Nice tip! Thanks! -

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread HaveF HaveF
> > On Sunday, December 10, 2023 at 8:23:53 AM UTC-5 Edward K. Ream wrote: > > To see these in action, run a test program in *another* console. > > > This little tip is remarkably useful. Whether you are working on Leo code > or your own, each time you want to test a change run a new copy of Leo an

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread HaveF HaveF
> > I meant to say, *breakpoint*(). > It does not work well on my Mac. It constantly output: QCoreApplication::exec: The event loop is already running [image: image.png] -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this

Re: recommend an approach or path to learning more about Leo

2023-12-10 Thread HaveF HaveF
Nice. Thanks for your advice, Edward, Thomas, and Jake! -- -- Sincerely, HaveF -- 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...@googlegro

Re: recommend an approach or path to learning more about Leo

2023-12-09 Thread HaveF HaveF
only > be interacting with the parts of Leo's code you really need for your > intended functionality. Unfortunately there's no real way to avoid reading > Leo's source code, but you definitely don't have to drink from the firehose > to get a better understanding of

recommend an approach or path to learning more about Leo

2023-12-09 Thread HaveF HaveF
Hello, I have mastered the basics of Leo and am using it daily this year. I can use Leo to manage contents, write commands, create buttons, and even develop a small interface on the Log/Find/Tags/Nav panel. However, I'm not satisfied and wish to delve deeper into Leo. I have an idea to create

Re: jupyter notebook use issue

2023-11-27 Thread HaveF HaveF
> > It occurs to me that it should be fairly easy to create a Leo plugin that > would display an .ipynb file. I'm not sure if this one is of much use, don't get me wrong, Thomas, I just want you to maintain a little less code. For me, the common way to use a notebook is mainly to change the cod

Re: jupyter notebook use issue

2023-11-26 Thread HaveF HaveF
Ok, it seems jupytext is the right choice. It can pair notebook with python file. I just use Leo to handle the python files :-D Great! https://github.com/mwouts/jupytext#paired-notebooks On Monday, November 27, 2023 at 11:21:52 AM UTC+8 HaveF HaveF wrote: > There used to be some support

Re: jupyter notebook use issue

2023-11-26 Thread HaveF HaveF
> > There used to be some support for Jupyter notebooks, but over time it > became clear that it didn't work well. You could read them but not > interact or modify them effectively. Since you can read them better in a > browser, the support was removed. > I see, Thomas. Reading the notebook is f

Re: jupyter notebook use issue

2023-11-26 Thread HaveF HaveF
> > You might try using leoInteg in vscode. vscode probably has pretty good > support for Jupyter notebooks. > Thanks for your advice, Edward -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails

jupyter notebook use issue

2023-11-26 Thread HaveF HaveF
Hello, Has anyone told me how you are currently using jupyter notebooks in Leo? Jupyter notebooks are usually long(example: https://github.com/pycaret/pycaret/blob/master/tutorials/Tutorial%20-%20Regression.ipynb), but they are sometimes segmented by md file's header tags, which feels like a

Re: [share] Cursorless - Structural voice coding at the speed of thought

2023-11-10 Thread HaveF HaveF
It depends on Talon . Even if you have a color blind problem, you still can play with it using voice control along with mouse/keyboard. I remember trying to control my computer with my voice a long time ago, and I'm going to try it again :D Talon aims to bring programming,

[share] Cursorless - Structural voice coding at the speed of thought

2023-11-10 Thread HaveF HaveF
I never heard this before: https://marketplace.visualstudio.com/items?itemName=pokey.cursorless Title: Cursorless - Visual Studio Marketplace https://xeiaso.net/notes/cursorless-alien-magic/ Title: Cursorless is alien magic from the future - Xe Iaso -- You received this message because you are

Re: Moving beyond Leo

2023-10-01 Thread HaveF HaveF
:-) It should be easier than it sounds. There are tools like lilypond and macros like MusiXTEX . As I said, the challenge is finding the easiest pipeline. I hope to help create my music teacher's next book. About 10 years ago, I used LyX |

Re: ENB: Moving on from Sherlock

2023-09-21 Thread HaveF HaveF
> > I find that resonant with Bret Victor's Future of Programming talk [1] and > the hypothesis of 70's innovation mostly driving by an exploring attitude > distant from truisms. > > [1] http://worrydream.com/#!/TheFutureOfProgramming > Interesting, thanks for the link -- You received this messag

Re: how to stop leo stealing focus when file changes outside leo

2023-09-18 Thread HaveF HaveF
before git stash save (or whatever), focus is in console window. After git stash save, leo takes focus with the 'something has change outside leo' dialog. I'm happy for the dialog to appear, but I'd really rather it did not take focus away from the console window that I'm working in In this s

Re: ENB: Moving on from Sherlock

2023-09-14 Thread HaveF HaveF
Regarding the gap between static text and dynamic data, its explorers and possible bridges, I think that the Smalltalk tradition makes a good case for writing dynamic data instead of static text. Some years ago, I talked about Pharo[1], my own, Leo inspired, outliner called Grafoscopio[2] and

Re: Read the history of Leo

2023-09-09 Thread HaveF HaveF
> > I have kept the new entries *brief* and have removed some extraneous > details (logs) :-) > Thanks for the update, Edward. History is not history only, it is also a clue for what's important commands which readers can't miss, like `cff`, `git diff` etc. :-D -- -- Sincerely, HaveF -- You r

Re: LLMs as Collaborators

2023-09-08 Thread HaveF HaveF
Learning While Coding: How LLMs Teach You Implicitly Very interesting, I like it. thanks for sharing! Here is the list of posts for someone who want read more :D https://blog.jonudell.net/2023/09/07/how-llms-teach-yo

Read the history of Leo

2023-09-06 Thread HaveF HaveF
https://leo-editor.github.io/leo-editor/history.html Leo's history is intriguing. I thoroughly enjoyed reading everything except the change log section. Leo's history goes beyond the mere development of LEO; it encompasses a journey of discovery, enlightenment, and abstract transformation. I lo

Re: @auto-md: multiple vnodes with gnx

2023-08-24 Thread HaveF HaveF
> Imo, `@clean` is a better option for most people than `@auto`. > I see. But like @auto-md can generate section heading of the appropriate level, this feature is indeed more convenient. If I use @clean, I have to generate my own structure << ... >> by hand -- You received this message because y

Re: @auto-md: multiple vnodes with gnx

2023-08-23 Thread HaveF HaveF
@bool create-at-persistence-nodes-automatically Everything works for me if this setting is True. (The default in leoSettings.leo is False). How about set the setting to True as default? -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To u

Re: LeoInteg Log Pane Apps

2023-08-22 Thread HaveF HaveF
> > RPCalc > > Very interesting, Thomas. I'll try it later :D Btw, I found your gf4-project is also an interesting topic, but I haven't had time to play with it recently.(It is stays on my todo list) -- You received this messag

Re: LeoInteg Log Pane Apps

2023-08-21 Thread HaveF HaveF
and the RPCalc plugin. Hi, Thomas, I'm curious what's this :D -- 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 vie

Re: LeoInteg 1.0.14 released

2023-08-20 Thread HaveF HaveF
*I'll now focus on LeoJS which is near a first beta release! Stay Tuned! * *🦁* Thanks for your work! Looking forward to seeing LeoJS -- 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: a question about section reference

2023-08-08 Thread HaveF HaveF
> > > The script could create or update an @file tree, creating section > references from some input data. > I see. Thanks! Edward -- 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: a question about section reference

2023-08-08 Thread HaveF HaveF
The workarounds include writing scripts to generate references. Thanks, Edward. Can you give me a general idea about the scripts? -- 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

a question about section reference

2023-08-07 Thread HaveF HaveF
Hi, there, How are you today? There is a question about section reference. I find section reference useful when organizing profiles, as it logically divides profiles into sections. But in some cases I find it a bit troublesome. For example, I want to generate the following configuration fil

quick note for plugins active_path.py

2023-08-06 Thread HaveF HaveF
Hi, there, I just wanted to share some difficulties and final solutions I encountered with this plugin, and if someone comes across it later, I hope to search for this result. This plugin is a very useful plugin that can organize files in the form of Leo outline. There is not much to say ab

Re: ENB: Momentous Ahas re vnodes

2023-07-29 Thread HaveF HaveF
> > leo/core/fail-leoPy.leo is a temporary measure. For now, it is > essential for testing. > I see. -- 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+u

Re: ENB: Momentous Ahas re vnodes

2023-07-28 Thread HaveF HaveF
Maybe this file should not be in repo? leo/core/fail-leoPy.leo On Saturday, July 29, 2023 at 4:36:51 AM UTC+8 Edward K. Ream wrote: > On Friday, July 28, 2023 at 9:27:28 AM UTC-5 Edward K. Ream wrote: > > > I have just merged the unified PR into devel. This merge will require > some cleanups

Re: Press ⌘ then click node

2023-07-27 Thread HaveF HaveF
> > file:path/to/a/file/or/directory > > and have your file manager come up. That doesn't seem to be working > though. Maybe I have forgotten something about it... > It works on Mac. -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsub

Re: Press ⌘ then click node

2023-07-26 Thread HaveF HaveF
Thank you for your addition, Thomas. I know the CTRL-Click (or the Apple equivalent) on the highlighted URL. I want to emphasize that in the GitHub Issues node, this is really convenient. Because the default github issues node is like ``` p.h = f"#{n}: {title}" p.b = f"{html_ur

Press ⌘ then click node

2023-07-26 Thread HaveF HaveF
When I was using the features related to Leo and GitHub issues, I discovered... When the first line of the body of a node contains a URL, you can conveniently open that URL by pressing ⌘ and clicking the node. Leo boasts an abundance of hidden features. -- You received this message because yo

Re: Interesting Post on The Old New Thing - Do Nothing At First

2023-07-25 Thread HaveF HaveF
Just saw this in HN: https://news.ycombinator.com/item?id=36863094 -- 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

Re: Interesting Post on The Old New Thing - Do Nothing At First

2023-07-25 Thread HaveF HaveF
Of course, it emphasizes the importance of taking baby steps - doing nothing. On Wednesday, July 26, 2023 at 7:13:07 AM UTC+8 HaveF HaveF wrote: > It looks like TDD. It's somewhat like BDD, but it also includes the > process of building some infrastructure around the final use

Re: Interesting Post on The Old New Thing - Do Nothing At First

2023-07-25 Thread HaveF HaveF
It looks like TDD. It's somewhat like BDD, but it also includes the process of building some infrastructure around the final use. I'm a bit curious, isn't everyone doing this? Build a larger framework first, make sure the program runs, then refine the content. On Tuesday, July 25, 2023 at 11:36

Re: More on LLM-Assisted Programming

2023-07-20 Thread HaveF HaveF
Oh, it should be `n` parameter. This should be the parameter to increase diversity. https://platform.openai.com/docs/api-reference/chat/create#chat/create-n On Friday, July 21, 2023 at 8:51:06 AM UTC+8 HaveF HaveF wrote: > Very interesting. Thanks for sharing. > > Most of ti

Re: More on LLM-Assisted Programming

2023-07-20 Thread HaveF HaveF
Very interesting. Thanks for sharing. Most of time, I use temperature parameter. But follow the idea of the post, It appears 'top-p' to be an underestimated parameter. https://platform.openai.com/docs/api-reference/chat/create#chat/create-top_p By the way, in many cases, I found that the LLMs do

  1   2   >