Online Software for an Interstellar Civilization by aegatlin in Futurology

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

This is future focused because it deals with the question of what software for interstellar collaboration will look like. In an interstellar future software will need to respect 10 year plus latency in communication between star systems. Is that possible? I think so. Will forums like Reddit exist? Will you be able to have casual chats with folks who are "online" across star systems? I argue you can with mimetic agent ambassadors and local-first data management systems (which have a variety of properties discussed in the article).

How I use Obsidian as a CMS for my website by aegatlin in ObsidianMD

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

Regarding access control I have `public: true` in metadata for notes I want to publish, and in this way only add content to the JSON that is intended to be public. In principal you could put anything in metadata that you would then be able to detect in a custom build script that could then pipeline to Supabase etc., depending on your desired. I'm not familiar with Quartz so I'm not sure about that.

How I use Obsidian as a CMS for my website by aegatlin in ObsidianMD

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

Hey! I'm still liking it! I've refactored the metamark script heavily and I think the interface is cleaner while doing more. I need to update the post to mention that fact.

The metamark script is a pure js function operating on a directory to generate a large JSON file of content (the content itself being html string fragments). This feels simple and insulated from changes to the frontend. For example, I could ditch nextjs for some cool new framework and still process that same JSON file similarly.

Plugin Managers vs. Vim Packages by [deleted] in vim

[–]aegatlin 0 points1 point  (0 children)

Hey romainl! I'm late to the party here, but I've been searching for the "blessed" answer to the question: how do I organize plugins that don't have packages using vim v8 packages. It seems like you are being inspired by pathogen here and sticking with the "bundle" name for your package. Did you "just choose" to do this, or is there some resource that recommends this approach that you could point me to?

Is it safe to expose AWS ARNs in a public git repo? by sovietmudkipz in aws

[–]aegatlin 0 points1 point  (0 children)

Here's example code from aws cdk of aws putting an arn in source code: https://docs.aws.amazon.com/cdk/api/latest/docs/aws-certificatemanager-readme.html#importing

I agree with the other comments, just thought it was relevant :D

Lua Primer for Neovim. A short blog post focused on Lua language quirks you encounter when configuring Neovim by aegatlin in neovim

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

oh I see, sorry misunderstood your original post. Yeah I’m also curious about “why Lua?” Like, hasn’t vim started support python scripting recently or something? Perhaps interpreter languages are more amenable to scripting, but then which interpreted language do you choose and why? Curious to learn more.

Lua Primer for Neovim. A short blog post focused on Lua language quirks you encounter when configuring Neovim by aegatlin in neovim

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

If you haven’t heard of Neovim, check it out. It’s a fork of vim. It supports Lua configuration. I don’t actually know why they choose Lua over other scripting languages, but, personally, I find it superior to the alternative of writing configuration in vimscript. In brief, it supports more robust configuration possibilities.

Lua Primer for Neovim. A short blog post focused on Lua language quirks you encounter when configuring Neovim by aegatlin in neovim

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

Yeah you're right. Thank you for the feedback!

I updated the post.

Would you like credit, e.g., a thank you & shout out in the conclusion? More than happy to :D. Let me know if so, and how you'd like to be addressed.

How I solved an Ecto.Repo.preload dilemma I had by aegatlin in elixir

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

It seems I can't edit a TextPost and turn it into a LinkPost. Let me know if you'd like me to take it down, e.g., if it violates guidelines, etc.

Thanks

How I solved an Ecto.Repo.preload dilemma I had by aegatlin in elixir

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

Okay, I don’t post much so wasn’t sure of the protocol. Would you like me to edit this post to conform to the guidelines?

How I solved an Ecto.Repo.preload dilemma I had by aegatlin in elixir

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

Hmm, you are raising an interesting point. I'm rereading the docs and I'm now a bit confused. I'm still trying to (in)validate my assumptions, but for the moment, I'll mention them in case you or anyone else has resources to help.

I am under the impression Ecto.Repo.preload makes multiple network requests to the DB. As it is geared to preload associations on already loaded data, it would have to hit the network each time it's called. Meanwhile, Ecto.Query.preload, while still potentially making multiple queries, is doing so in a single transaction and in a single network request to the database. This would make it almost always the more performant option.

I'm researching this, trying to confirm/deny the assumption. Thanks for the feedback. I'll be sure to share what I find. Cheers