home.social

#org-babel — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #org-babel, aggregated by home.social.

fetched live
  1. I don't know why I'm patient with emacs, but I am.

    org-babel using :results replace raw: "Oh, that just doesn't work and it's undocumented that it doesn't work. raw doesn't provide enough hooks for Babel to know where the output ends. Use drawer instead.

    Me and other environments: "That's bullshit, that's stupid, how is this not documented, I can't deal with this."

    Me and emacs: "Oh, yeah, I can totally see why that is. Teehee."

    #emacs #orgbabel

  2. Slowly coming around to using org-babel for most of my config files in emacs.

    Here's where it's helpful: putting down context of why I added something or what I was trying to accomplish when I did. The trickiest part of using my own emacs config is that it's over twenty years old now and half the things I put in there I put in to support a very specific use flow that I don't even necessarily do anymore.

    #emacs #orgbabel #orgmode

  3. Really enjoying this month’s #Emacs Carnival on #orgmode — especially the focus on #orgbabel!
    Huge thanks to @donaldh for curating the topics.

    For me, #orgbabel is where documentation, data, and computation truly meet — it turns notes into living, reproducible workflows.

    I’ve written down why I think org-babel is a *ROOT technology*:
    lukascbossert.de/posts/org-bab

    #Emacs #ROOT #LiterateProgramming

  4. The source poster shows the guts: Emacs/Org-babel + LaTeX; noweb tangling; minted listings; multi-column layout. The complete source code! The poster is both publication and working research object. Example flow: query Zenodo via curl, download dataset, compute checksum, compare, then proceed with scripted transforms—transparent steps you can re-run. Everything is fully specified, so you can regenerate all of it from source. #Emacs #OrgBabel #TeXLaTeX #orgmode
    doi.org/10.5281/zenodo.17157588

  5. @ctietze Yes, #Emacs has #org-babel thanks to #orgmode - I could see this being incredibly useful for non-Emacsians.

  6. Once you start looking at #aws #costoptimization in your #s3 #buckets you start seeing #opportunities #everywhere across your accounts. But I have #scripts to tell me the biggest #opportunities now. Bonus that I have a better handle on #orgbabel #jq now, I guess?

    Let's see how quickly we can put 457M objects and 161TB of data into cheaper storage tiers. I'm guessing the answer is more "eventually" than "quickly."

  7. Learning #Hy for fun. Got it to work with #Org-Babel on #Emacs. I like it when the language officially supports #Emacs (i.e no community packages).

    #Hy #Hylang #Lisp #Python #Scheme

  8. @kentpitman @limneticvillains @etherdiver @prahou
    I execute this #orgbabel to start and connect to #ecl with #mcclim with #emacs #slime, and to define cl:ed
    codeberg.org/tfw/slimeclimorg
    There's a reasonable amount of helpful #commonLisp commentary.
    Bootstrapping clim interfaces and symbolic processing to eventually fake a moo
    codeberg.org/tfw/climmoon-lisp
    This will be my fake moo
    codeberg.org/tfw/moonclimb
    now broadcasting my got commits on codeberg
    codeberg.org/tfw?tab=activity
    we'll gophergit eventually (link?)

  9. So, for a few weeks, I tried to replace #orgmode with @OmniOutliner . I just couldn't make it work. There are too many advantages to inserting tables, exporting to #markdown , #LaTeX , and evaluating code with #OrgBabel

  10. I migrated my system setup from and to . Not a perfect fit, but there were some friction working on the configuration, and having some dotfiles as plain files makes some things easier.

    Would have loved a better solution, but I need something which works on Windows too which limits the selection.

    simendsjo.me/blog/202405132005

  11. What do other #OrgMode #OrgBabel users do in #emacs when they need to create a new block very similar to the previous one while #LiterateProgramming? 🤔

    Do you have a function or do you just do it manually like:

    C-c C-v C-p ;; org-babel-previous-src-block
    M-h ;; org-mark-element
    M-w ;; kill-ring-save
    C-x C-@ ;; pop-global-mark

    I find I run into this case a lot, do others?

  12. #emacs #orgmode #orgbabel #phloggersgarage #gopher
    A silly phost in which I try to use ansi escape codes in orgmode, ultimately not really succeeding (well, I produced a form that could be C-j'ed that used ansi-color and insert that technically did it, temporarily). How?

    Shows printing in shell, C, cpp, lisp, elisp too.

    gopher://tilde.club/0/~screwta
    proxy
    gopher.tildeverse.org/tilde.cl

    #100daystooffload 013/100 catchup edition

  13. I am processing a large diff so I stuffed it into a #+begin_src diff block. It's really nice to leverage org-babel-demarcate-block to split the block at each point where I want to make some comments.

  14. I love Howard Abrams article "Literate DevOps" using and . It's so far beyond my own usage that I can probably read the article time and time again for years, and still learn something new each time!

    Highly recommended!

    howardism.org/Technical/Emacs/

  15. Seems like with ob-scheme working just fine, also any previous issues I had with org-sbe and using Scheme in org-mode tables/spreadsheets is gone! This is great! I can now write functions in Scheme, for example GNU Guile, and use them in table formulas. Next step might be to deal with time, calculate time diffs and put them back in a table. And then maybe library of babel?

    For example see [1].

    [1]: notabug.org/ZelphirKaltstahl/e

    #orgmode #emacs #scheme #programming #orgbabel #spreadsheet #plaintext

  16. I created a PR that prevents node title completion from happening in #OrgBabel source blocks when using #OrgRoam with =org-roam-completion-everywhere= set to =t=.

    Fixing one of my biggest annoyances just in time for me to wonder "Do I prefer auto completion or do I prefer more manual tab complete"... really feeling like an #Emacs user :D

  17. #emacs package/blog/literate program of the day: `ob-p5js`

    I wrote this package during an afternoon in a #LiterateProgramming fashion, maybe some people have never seen how to write #OrgBabel packages in #OrgMode. Also if you don't know #processing, #p5 or #p5js it might be a good resource to get motivated!

    What I like about this is that I can write many interactive visualizations in the same html file with #OrgMode seamlessly.

    alejandrogallo.github.io/blog/

    github.com/alejandrogallo/ob-p

  18. @tytr just messing with it for a little bit.. it looks like i really on LOTS of stuff that isn't a thing in #logseq .. #elisp #orgagenda #orgbabel #orgtables .. etc.. dang..

  19. @dsyzling @dto @sachac

    At work we use jupiter notebooks. At first it's nice, but then you realize how poorly that can be keyboard driven. So I checked to use jupiter notebook from within #emacs seems not trivial.

    I may try to use #orgbabel

    I wonder if there are projects for converting jupyter notebook <-> org-babel. Maybe a nice project to work on. 🤔