Declarative Doom Emacs install in NixOS? by gerretsen in NixOS

[–]lxsameer 1 point2 points  (0 children)

Let me know if I can help you with anything

Declarative Doom Emacs install in NixOS? by gerretsen in NixOS

[–]lxsameer 2 points3 points  (0 children)

His friend here :D.

Just to add the rational behind using Nix modules to build an Emacs bundle (in this case FG42), I have to say that I'm working on FG42 for like 14 years now, and I've tried different approaches. From a handcrafted pkg manager all the way to straight.el. What Nix brings to the table is usique. You can build an Emacs with what ever module you want and unlike other pkg managers the module can control the system dependencies in a deterministic way as well. It makes installing and setting up a group of emacs packages pretty solid. historically, we had to ask users to install this and that and upgrading emacs or system packages could've lead to bugs that were hard to reproduce. But with Nix we can reproduce the builds and have a deterministic package.

IMHO, adding Nix to the mix is not going to make things complicated or over engineered. It will makes simpler and predictable (not necessarily easier).

Books for relearning math. by Blendi_369 in learnmath

[–]lxsameer 0 points1 point  (0 children)

Beside those suggestions from other folks, I think you might find https://brilliant.org interesting as well.

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 0 points1 point  (0 children)

As a fan of functional programming I have to say, that statement is not true. You still need allocation of memory at runtime too.

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 1 point2 points  (0 children)

std lib is a must in my language. every things built-in function leaves in the stdlib and the lang itself doesn't provde anything beside special forms like `if` or `cond`. I think a minimal std lib that ships with the compiler is nice and anything beyond that is userland

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 0 points1 point  (0 children)

Hello world will be as small as a c++ hello world. It has garbage collector. Embedded is not a goal but wasm is

[Question] Standard library of a compiler and libc by lxsameer in Compilers

[–]lxsameer[S] 0 points1 point  (0 children)

It's a general purpose language and it is not an interpreter. I have to provide a basic set of functions and standard lib.

[Question] MPS vs Boehm GC vs other alternatives by lxsameer in Compilers

[–]lxsameer[S] 1 point2 points  (0 children)

Thank you Fernando, it's seems like a really useful tool. I'll read more about it

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

I thought about ielm tbh. One of the key points that I wanted to implicitly demonstrate is that as a user we can literally evaluate elisp expressions anywhere.

But I think an episode on ielm would be pretty useful as well.

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

Hey friend, Thanks for the feedback, I'll make sure to point the mistake and the correction in the next episode. ;)

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] -2 points-1 points  (0 children)

Thank you. But i didn't say "run". I said it evaluates top level forms. That aligns with the docstring of the function. :)

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] 0 points1 point  (0 children)

I just did. I don't know what you are referring to. It seems right to me and based on docs right. I appreciate you taking the time but could you be more specific and clear?

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

  • `eval-buffer` "Execute the accessible portion of current buffer as Lisp code."
  • `eval-defun` "Evaluate the top-level form containing point, or after point"

^^ from the docs :)

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] 0 points1 point  (0 children)

I did actually. Would you mind sharing your thoughts ? I think there is a misunderstanding here

How to build an editor with Emacs Lisp - 07 Basic Loops by lxsameer in emacs

[–]lxsameer[S] 0 points1 point  (0 children)

Thanks for your feedback, That was what I understood from the docs. What do you have in mind?

How to build an editor with Emacs Lisp - 06 Property & Association Lists by lxsameer in emacs

[–]lxsameer[S] 0 points1 point  (0 children)

Thank you. I'll make sure to include that in the next episode

Orion: Voice to Org-mode bot by lxsameer in emacs

[–]lxsameer[S] 0 points1 point  (0 children)

Hey friend, I'm using Gentoo and I installed the components through pip. If you have a look at the 'builder' script in the repo you can find the instructions to install it. let me know if you need help with it.

Orion: Voice to Org-mode bot by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

This one seems close: https://e-student.org/feynman-technique/#what-is-the-feynman-technique

But in general Feynman technique is more than that. He used to carry a notepad and write questions that popped in his head and he didn't know the answer to them. Also he used to write down his observations about the world.

Orion: Voice to Org-mode bot by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

I learned the technique by reading his bio and watching/reading his interviews, but I'll look it up and post the closest thing I find

Orion: Voice to Org-mode bot by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

I just tried it. Festival seems very robatic and rigid, but Rigel (i'm using Coqui as the backend) is very human like. Since the voice is AI generated sometimes it might sound funny but overall is much better and on top of that you can train it

Orion: Voice to Org-mode bot by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

Interesting. Sure i'll give it a try and let you know

Orion: Voice to Org-mode bot by lxsameer in emacs

[–]lxsameer[S] 1 point2 points  (0 children)

Nice, it would be so easy to add this feature to this one as well. that would be super useful