diff options
-rw-r--r-- | 2020/info/31.md | 58 | ||||
-rw-r--r-- | 2020/info/34.md | 118 | ||||
-rw-r--r-- | 2020/info/35.md | 76 |
3 files changed, 136 insertions, 116 deletions
diff --git a/2020/info/31.md b/2020/info/31.md index 99d3b03f..7f2a6134 100644 --- a/2020/info/31.md +++ b/2020/info/31.md @@ -5,7 +5,7 @@ Grant Shangreaux [Download .webm video, 720p, 380M](https://mirror.csclub.uwaterloo.ca/emacsconf/2020/emacsconf-2020--31-lakota-language-and-emacs--grant-shangreaux.webm) [[!template id=vid src="https://mirror.csclub.uwaterloo.ca/emacsconf/2020/emacsconf-2020--31-lakota-language-and-emacs--questions--grant-shangreaux.webm"]] -[Download .webm video, 720p, 66MB](https://mirror.csclub.uwaterloo.ca/emacsconf/2020/emacsconf-2020--31-lakota-language-and-emacs--questions--grant-shangreaux.webm) +[Download Q&A .webm video, 720p, 66MB](https://mirror.csclub.uwaterloo.ca/emacsconf/2020/emacsconf-2020--31-lakota-language-and-emacs--questions--grant-shangreaux.webm) <https://mirror.csclub.uwaterloo.ca/emacsconf/2020/emacsconf-2020--31-lakota-language-and-emacs--grant-shangreaux.org> @@ -35,37 +35,45 @@ support ongoing oppression against indigenous descended peoples. <!-- from the pad ---> - # Questions - ## Q4: Did you write the company backend to complete on Lakota words? - -With a Lakota dictionary file, one could probably leverage other company methods for completion. - -seems to be company-dabbrev, it happens automatically when typing in org-mode at least. unfortunately the only digital Lakota dictionary I'm aware of is non-free, so I'm not sure what to do about that. - -- yeah, I'm not sure, but the dictionary files needed would really just be word-lists, so maybe there is a way to find or produce something of this sort. - - -## Q3: Why did you decide on e.g. a' for á? In my country's input method (which is Dutch, and in french, german, etc.) the default is to put the accent first, so 'e -> é. - -for me, this was my first experience with it and it made more sense in my head to have the modifier come after. its possible i read about postfix notation in a tutorial i found (and lost) that demonstrated Quail input modes. The X11 input has it as a prefix, so I may change it in the future. I'd like to consult with other Lakota speakers and tribal members, however, as it seems worthwhile trying to get consensus from native speakers on usage. - - -## Q2:Can you give us a demo of you typing in either Lakota input method?+1+1 - +With a Lakota dictionary file, one could probably leverage other +company methods for completion. + +Seems to be company-dabbrev, it happens automatically when typing in +Org mode at least. Unfortunately the only digital Lakota dictionary +I'm aware of is non-free, so I'm not sure what to do about that. + - Yeah, I'm not sure, but the dictionary files needed would really + just be word-lists, so maybe there is a way to find or produce + something of this sort. + +## Q3: Why did you decide on e.g. a' for á? In my country's input method (which is Dutch, and in French, German, etc.) the default is to put the accent first, so 'e -> é. +For me, this was my first experience with it and it made more sense in +my head to have the modifier come after. Its possible I read about +postfix notation in a tutorial I found (and lost) that demonstrated +Quail input modes. The X11 input has it as a prefix, so I may change +it in the future. I'd like to consult with other Lakota speakers and +tribal members, however, as it seems worthwhile trying to get +consensus from native speakers on usage. + +## Q2:Can you give us a demo of you typing in either Lakota input method? +The demo starts at 02:06 in the Q&A video. ## Q1: Advantages of using Emacs Input Methods over something like xcompose? - → Compose <https://wiki.archlinux.org/index.php/Xorg/Keyboard_configuration#Configuring_compose_key> -ah yes, i found something about this when making the X layout, but it was not immediately apparent. Emacs was easier for me to inspect and learn about than X, easier to iterate on as i was learning how it all worked. Emacs can re-eval the layout definition and give live feedback, while X required a restart to try different things. Emacs is also cross platform, so anyone can easily install this. also, sharing an X config seemed more difficult to me, I don't know how to tell someone to install it properly :( - +Ah yes, I found something about this when making the X layout, but it +was not immediately apparent. Emacs was easier for me to inspect and +learn about than X, easier to iterate on as I was learning how it all +worked. Emacs can re-eval the layout definition and give live +feedback, while X required a restart to try different things. Emacs is +also cross platform, so anyone can easily install this. also, sharing +an X config seemed more difficult to me, I don't know how to tell +someone to install it properly :( # Notes - - -- Quail +- <https://www.gnu.org/software/emacs/manual/html_node/emacs/Input-Methods.html> +- Quail: + [lisp/international/quail.el](https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/international/quail.el?h=emacs-27.1) - <https://git.sr.ht/~shoshin/lakota-input.git> - diff --git a/2020/info/34.md b/2020/info/34.md index 6ea80464..5bcee9a9 100644 --- a/2020/info/34.md +++ b/2020/info/34.md @@ -11,75 +11,91 @@ project, and demonstrate some of its most useful applications: modern browser, PDF viewer, video player, etc. <!-- from the pad ---> -- Actual start and end time (EST): Start 2020-11-29T16:05; Stop 2020-11-29T16:28 +- Actual start and end time (EST): Start 2020-11-29T16:05; Stop 2020-11-29T16:28 # Questions - ## Q9: Do you think that this tecnology could to be on core of Emacs any time? or fork of Emacs? - -Not yet and I don't know if it ever will, since EAF uses many other dependencies that one needs to install themselves (see README); and I don't think all of them is GPL (though using open source licenses) - - -## Q8: I use pdf-tools currently for my pdfs inside Emacs, would you consider this a better alternative to that and if so why? Although I am definitely trying it because the browser looks incredible, possibly the best implementation of an Emacs browser I have seen, I would love to hear your opinion on the pdfs compared to something like pdf-tools. - -PDF-tools is great, it would be an awesome option if you can't run EAF on your machine. However EAF PDF Viewer is just **a lot faster and smoother** as it uses PyMuPDF as its backend. -- Oh, thats great actually, I have noticed it being a little choppy at times, I am excited to try EAF in general because it looks awesome and if its faster than pdf-tools I will probably also switch to it for my pdfs. Thanks a lot for the talk, one of my favourites in this EmacsConf, it gave me a lot of great tools to try inside Emacs!! -- Thank you!!! - -Also because pdf-tools is much older than EAF, it had more attention and more people working on it, so there are definitely more features than the current EAF - +Not yet and I don't know if it ever will, since EAF uses many other +dependencies that one needs to install themselves (see README); and I +don't think all of them is GPL (though using open source licenses). + +## Q8: I use PDF-Tools currently for my PDFs inside Emacs, would you consider this a better alternative to that and if so why? Although I am definitely trying it because the browser looks incredible, possibly the best implementation of an Emacs browser I have seen, I would love to hear your opinion on the PDFs compared to something like PDF-Tools. +PDF-Tools is great, it would be an awesome option if you can't run EAF +on your machine. However EAF PDF Viewer is just **a lot faster and +smoother** as it uses PyMuPDF as its backend. +- Oh, thats great actually, I have noticed it being a little choppy at + times, I am excited to try EAF in general because it looks awesome + and if its faster than pdf-tools I will probably also switch to it + for my PDFs. Thanks a lot for the talk, one of my favourites in this + EmacsConf, it gave me a lot of great tools to try inside Emacs!! +- Thank you!!! + +Also because PDF-Tools is much older than EAF, it had more attention +and more people working on it, so there are definitely more features +than the current EAF. ## Q7: Can you use the PDF viewer as a viewer for LaTeX files, with reverse search support with e.g. AucTeX? +You could do that with some simple Elisp functions, and EAF PDF Viewer +now updates itself automatically whenever there is a change to the +file. -You could do that with some simple elisp functions, and EAF PDF Viewer now updates itself automatically whenever there is a change to the file - -Reverse search is currently not available, we need more people to help us work on it! :-) - - -## Q6: What javascript engine is the web browser in EAF using? Also, what web browser engine is it using? +Reverse search is currently not available, we need more people to help +us work on it! :-) +## Q6: What JavaScript engine is the web browser in EAF using? Also, what web browser engine is it using? QtWebEngine,. (from the Qt Wiki: ) -- Qt WebEngine uses code from the Chromium project. However, it is not containing all of Chrome/Chromium; -- Auxiliary services that talk to Google platforms are stripped out (nice) -- The codebase is modularized to allow use of system libraries like OpenSSL -- Binary files are stripped out - - -## Q5: Does the web rendering happen in a subprocess, or can loading a big page cause emacs to lag? - -Not at all! And that's one of the biggest advantage of the EAF project, it utilizes all the powerful Python features, like multithreading. - - -## Q4: Do you have control over the javascript that runs on these pages? Also is there a blocklist feature? (True ad blocking might be impossible, I understand) - -As my talk just (or will be shortly) mentioned, you can disable javascript altogether. So far there isn't a blocklist implemented, but I don't see a reason not to be able to implement this feature in the near future. EAF itself uses Javascript (free code) to implement some browser features (like the Vimium binding), so turning off Javascript will make the feature stop working as well. - +- Qt WebEngine uses code from the Chromium project. However, it is not + containing all of Chrome/Chromium; +- Auxiliary services that talk to Google platforms are stripped out + (nice). +- The codebase is modularized to allow use of system libraries like + OpenSSL. +- Binary files are stripped out. + +## Q5: Does the web rendering happen in a subprocess, or can loading a big page cause Emacs to lag? +Not at all! And that's one of the biggest advantage of the EAF +project, it utilizes all the powerful Python features, like +multithreading. + +## Q4: Do you have control over the JavaScript that runs on these pages? Also is there a blocklist feature? (True ad blocking might be impossible, I understand) +As my talk just (or will be shortly) mentioned, you can disable +JavaScript altogether. So far there isn't a blocklist implemented, but +I don't see a reason not to be able to implement this feature in the +near future. EAF itself uses JavaScript (free code) to implement some +browser features (like the Vimium binding), so turning off JavaScript +will make the feature stop working as well. ## Q3: (Feel free to ignore this one if it is off-topic) How big is free software movement in China? Is there any organisation like FSF there? +Very recent years there are A LOT of open source movement in China, +however not free software strictly speaking; -Very recent years there are A LOT of open source movement in China, however not free software strictly speaking; - -There are a lot of open source clubs in the chinese unversities now that people actually starting to get interested about open source in general, that's a huge improvement than decades ago i'd say. There are still many places to improve. - -Although not Free Software Foundation, literally this year the first ever open source foundation is established in China, called OpenAtom Foundation: <https://www.openatom.org/#/> (in chinese) +There are a lot of open source clubs in the chinese unversities now +that people actually starting to get interested about open source in +general, that's a huge improvement than decades ago I'd say. There are +still many places to improve. +Although not Free Software Foundation, literally this year the first +ever open source foundation is established in China, called OpenAtom +Foundation: <https://www.openatom.org/#/> (in chinese). ## Q2: Is there anyway to implement EAF without the reparenting behavior from X11? - -That's one of the challenges right now to get EAF working on other platforms. We're always looking for people to help out. -- Are there any ideas on this at all? I can try to help out but don't know what's even been tried (and perhaps has already been ruled out) - - So EAF is currently using \`QWindow::setParent \`, not Xreparent, so it in theory should be able to support at least Windows (iirc it provided API for setParent function to interact with) - - However QWindow::setParent doesn't work on native wayland, you can get more context in here: <https://github.com/manateelazycat/emacs-application-framework/issues/449> - +That's one of the challenges right now to get EAF working on other +platforms. We're always looking for people to help out. +- Are there any ideas on this at all? I can try to help out but don't + know what's even been tried (and perhaps has already been ruled out). + - So EAF is currently using `QWindow::setParent`, not Xreparent, so + it in theory should be able to support at least Windows (IIRC it + provided API for setParent function to interact with). + - However `QWindow::setParent` doesn't work on native Wayland, you + can get more context in here: + <https://github.com/manateelazycat/emacs-application-framework/issues/449>. ## Q1: Have you experimented with using Hy (aka Hylang, a Lisp that compiles to/runs in Python) for EAF, to avoid having to write "real Python"? - Not yet! Will have a look into it later :-) - # Notes - -<https://github.com/manateelazycat/emacs-application-framework> - +- One of the admins of the [Emacs China + forum](https://emacs-china.org/). +- <https://github.com/manateelazycat/emacs-application-framework> diff --git a/2020/info/35.md b/2020/info/35.md index 0effe3ca..68b8dd08 100644 --- a/2020/info/35.md +++ b/2020/info/35.md @@ -17,65 +17,61 @@ through Emacs text properties, font rendering, the .WAVE file format, and music theory. And hopefully at the end, we'll have something worth listening to. -There are extended notes, references, and links at [https://zck.me/emacsconf2020](https://zck.me/emacsconf2020). +There are extended notes, references, and links at +<https://zck.me/emacsconf2020>. -The source can be found at [https://hg.sr.ht/~zck/zmusic/](https://hg.sr.ht/~zck/zmusic/). -<!-- from the pad ---> - -- Actual start and end time (EST): Start 2020-11-29T16:29; Stop 2020-11-29T16:46 - - -# Questions (note that we don't have audio out from Zachary's computer in BigBlueButton, so any music demos will need to wait for a recorded video) - - -## Q9 : Any MIDI mapping possibilities? (Sorry Q8) +The source can be found at <https://hg.sr.ht/~zck/zmusic/>. +<!-- from the pad ---> -## Q8: What were some of the challenges with writing a special-mode for Emacs? I'm interested in getting into this in the future, but I'm not really sure where to start. - -That'd be awesome, thanks! Will do - -I used define-derived-mode (<https://www.gnu.org/software/emacs/manual/html_node/elisp/Derived-Modes.html>) to make this mode. It's really useful! For more information, I recorded a talk about making major modes (<https://www.youtube.com/watch?v=gk39mp8Vy4M>) a few years ago, at an EmacsNYC (<https://emacsnyc.org/>) meeting. - +- Actual start and end time (EST): Start 2020-11-29T16:29; Stop 2020-11-29T16:46 -## Q6: Do you think would be possible to add a set of recorded sounds in order to use those? +# Questions -Yes! Part of zmusic is tooling to make wave files, so it should be possible to slice-and-dice input data, and output valid wave files. +## Q9: What were some of the challenges with writing a special-mode for Emacs? I'm interested in getting into this in the future, but I'm not really sure where to start. +I used define-derived-mode +(<https://www.gnu.org/software/emacs/manual/html_node/elisp/Derived-Modes.html>) +to make this mode. It's really useful! For more information, I +recorded a talk about making major modes +(<https://www.youtube.com/watch?v=gk39mp8Vy4M>) a few years ago, at an +EmacsNYC (<https://emacsnyc.org/>) meeting. +- That'd be awesome, thanks! Will do. +## Q8: Any MIDI mapping possibilities? +Should be! Would just need to change the low-level. -## Q7: have you written any actual songs (in RRRM/WAVEing)? Can you play one ? +## Q7: Do you think would be possible to add a set of recorded sounds in order to use those? +Yes! Part of zmusic is tooling to make wave files, so it should be +possible to slice-and-dice input data, and output valid wave files. +## Q6: Have you written any actual songs (in RRRM/WAVEing)? Can you play one? +Nothing super or well put together as of now. ## Q5: Are there any open source musical instrument sample libraries that could be used? E.g. "play A 440 on Piano sample 1" to provide better quality notes than built-in tones - -Experimentation would be fun. However, the nice part about Emacs is that it doesn't have any external dependencies, you only need a way to play WAVes. - +Experimentation would be fun. However, the nice part about Emacs is +that it doesn't have any external dependencies, you only need a way to +play WAVes. ## Q4: What is your musical background? Do you play any instruments? - -Random instruments, started with recorder, played cello for a long time, now playing guitar. - +Random instruments, started with recorder, played cello for a long +time, now playing guitar. ## Q3: Any chance for an Emacs tracker/mod player? (plays several samples arranged in the same top-down fashion with effects applied to them for chiptune and keygen music) - +I don't really know what a tracker/mod player is. ## Q2: Will you play us another song? (RIP ears — who needs 'em, this is awesome! it is!) - UPDATE: can confirm, it was easy to play a song myself :-) Very nice! However git clone <https://hg.sr.ht/~zck/zmusic> didn't work, I wonder if I'm doing it wrong -- Had to browse to <https://hg.sr.ht/~zck/zmusic/browse/zmusic.el> and copy/paste. -- It's mercurial! (I have Opinions about version control systems). Try \`hg clone\` instead, or copy/paste from the link directly. -- BAM! hg clone works fine - - Hooray! - - -## Q1: Why do you go top-to-bottom for time progression and left-to-right for low-to-high in stead of doing it pivoted? (e.g. higher is higher tone, left-to-right is time progression). This is awesome by the way!(+1) - -The initial app (the inspiration) worked this way. It is definitely something worth looking into. +- Had to browse to <https://hg.sr.ht/~zck/zmusic/browse/zmusic.el> and copy/paste. +- It's mercurial! (I have Opinions about version control systems). Try + `hg clone` instead, or copy/paste from the link directly. +- BAM! hg clone works fine. + - Hooray! +## Q1: Why do you go top-to-bottom for time progression and left-to-right for low-to-high in stead of doing it pivoted? (e.g. higher is higher tone, left-to-right is time progression). This is awesome by the way! +The initial app (the inspiration) worked this way. It is definitely +something worth looking into. # Notes - -notes, references, and links at <https://zck.me/emacsconf2020> - +Notes, references, and links at <https://zck.me/emacsconf2020> |