(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
ody.wrapper > self.editor = w.widget > # . > > # Install the highlighter in all commanders > for cc in g.app.commanders(): > cc.hiliter = Hiliter(cc) > > cc.hiliter.editor.cursorPositionChanged.connect(cc.hiliter.highlightCurrentLine) > an interesting fu

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-edito

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
s.com > <https://groups.google.com/d/msgid/leo-editor/870fc38b-e9c8-462c-9988-fb95d684caaen%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- -- Sincerely, HaveF -- You received this message because you are subscribed to the Google Groups "leo-editor"

[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 -- -- Sinc

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
if there is a section reference like << title section >> {title_name='title_1'} $$title_name: title: $$title_name display: mark: type: bar color: red Do you have any solutions to this problem? Thanks! Best regards, HaveF -- You received this message

quick note for plugins active_path.py

2023-08-06 Thread HaveF HaveF
witch configuration item. Like: exc=hello.csv It is used to exclude 'hello.csv', if use re, it just means that the content after exc/inc will be parsed with regular expressions... re exc=hello\.csv exc=^.*\.json$ Best regards, HaveF -- You received this message because you are subs

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

Re: Why gnx-based unls are important

2023-07-06 Thread HaveF HaveF
> I noticed myLeoSettings.leo file has node structure: > @settings > UNLs > >@string unl-status-kind = gnx > > What is the reason for using clones in leoSetting.leo file? > I guess this is just Edward's cff workflow :D It's just not cleaned up -- -- Sincer

Re: Why gnx-based unls are important

2023-07-06 Thread HaveF HaveF
947ea935f5 works for me. MacOS -- -- 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...@googlegroups.com. To

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-06 Thread HaveF HaveF
> > I'm using another function, *g.execGitCommand*, as the basis for #3423 > <https://github.com/leo-editor/leo-editor/issues/3423>. > Thanks, Edward, I'll check it later -- -- Sincerely, HaveF -- You received this message because you are subscribed to the Googl

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-06 Thread HaveF HaveF
< -- > Plain" button for every separate FW window? -- -- 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..

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
Btw, I believe making some FW windows always stay on the top and set opacity of windows are also useful. https://stackoverflow.com/questions/19097323/setwindowflagsqtwindowstaysontophint-hides-qt-window https://doc.qt.io/qt-6/qwidget.html#windowOpacity-prop -- -- Sincerely, HaveF -- You

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
t node-locked. > That makes FW more sense to me. These words should be in the doc of plugin. Thanks! Thomas! -- -- Sincerely, HaveF -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop rec

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
here I tried to show ways I used it. > Thank you for providing a detailed explanation. By the way, I discovered the `add-editor` command, although it is not as versatile as the FW. -- -- Sincerely, HaveF -- You received this message because you are subscribed to the Google Groups "leo-ed

Re: Why gnx-based unls are important

2023-07-05 Thread HaveF HaveF
Everything will work provided you define *@data unl-path-prefixes* in your *myLeoSettings.leo* file *on each platform*. These data should define an absolute path (platform-specific) for various .leo files. Does that means I can set @data unl-path-prefixes in my current leo file @settings no

Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread HaveF HaveF
On Thu, Jul 6, 2023 at 10:51 AM Thomas Passin wrote: > Just so. I like some custom buttons, but you can only have so many. > I have a small trick where I can place the iconbar vertically on the side of the leo so that I can fit a little more buttons. XD -- You received this message because yo

Re: Custom Menus Can Be Very Useful - An Example

2023-07-05 Thread HaveF HaveF
I create a custom menu for Leo that is located just before the *Help* menu. Thanks for sharing. It just like grouped buttons. If I really can't stand my numerous buttons I'll consider using menus. XD -- You received this message because you are subscribed to the Google Groups "leo-editor"

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
gin look like a panel + viewrender combination? Its functionality could be replaced by the powerful 'free layout', wouldn't it? Or is there anything else I missed? -- -- Sincerely, HaveF -- You received this message because you are subscribed to the Google Groups "leo-editor&q

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
andle private repo issues. And also thank you, Thomas. Especially your explanation of your workflow. In addition, I found the freewin plugin, although it is in the codebase, but it is not written in the documentation, I will take a look later. -- -- Sincerely, HaveF -- You received this message

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
ieve your daily workflow is an invaluable asset, as well as Edward -- -- 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-edito

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
> > In most cases reading a .json file into a single file is a good enough > *start*. You can then convert the node to @clean and reorganize as you > like. > OK, it seems like a reasonable solution. Thanks Edward -- -- Sincerely, HaveF -- You received this message because you

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
(@auto) is reading all the content in JSON into a single node -- -- 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+unsubs

Re: Proposal: abandon support for .json files and jupyter notebooks.

2023-07-05 Thread HaveF HaveF
Of course, .ipynb files are not worth to support. But it's bit sad to see that the JSON file is not supported, after all, json and yaml are two main configuration file formats. Sometimes, I have to read hundred lines of JSON file, often tortured by indentation. I wonder if there are any wor

Re: Transliterate mypy into rust? Using ChatGPT??

2023-07-02 Thread HaveF HaveF
Just a quick note for this question: Base on the https://github.com/0xpayne/gpt-migrate > Easily migrate your codebase from one framework or language to another. > > GPT-Migrate is currently in development alpha and is not yet ready for production use. For instance, on the relatively simple be

Re: Edward K. Ream, Could you record some of your daily workflow?

2023-07-02 Thread HaveF HaveF
wledge — as opposed to formal knowledge — is knowledge that is difficult to express or extract, and thus more difficult to transfer to others by means of writing it down or verbalizing it. This can include personal wisdom, experience, insight, and intuition. -- -- Sincerely, HaveF -- You re

Edward K. Ream, Could you record some of your daily workflow?

2023-06-29 Thread HaveF HaveF
like riding a bicycle, we can't really learn it by reading books about how to ride a bicycle. We need to practice, we need to see how other people do it. Best, HaveF -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe fro

Re: how to get all the content of the body?

2023-06-28 Thread HaveF HaveF
by Ville M. > Vainio, and I applaud him for it. > Thanks for your detailed way. Maybe I need to take the time to get a general idea of what all these functions are doing... -- -- Sincerely, HaveF -- You received this message because you are subscribed to the Google Groups "leo-ed

how to get all the content of the body?

2023-06-27 Thread HaveF HaveF
an't find it anyway, can anyone tell me about it? Thanks! Best, 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...@goo

Re: Discuss: option for short file names in unls?

2023-06-27 Thread HaveF HaveF
I don't know the meaning of short url, is it just for easy look? I use wikiview.py plugin for easy viewing now :D I think we can just use long url directly, show it shortly (no matter what it is). But when press alt and hover the mouse, or edit that line, show the long url On Wednesday, June 28,

  1   2   3   >