Skills Are the New CLI
https://dev.to/helderberto/skills-are-the-new-cli-225eOpen linkView original on programming.dev
https://dev.to/helderberto/skills-are-the-new-cli-225eOpen linkView original on programming.devI’m trying to convert a blog into an EPUB and keep running into issues with existing tools.
I first tried blog2epub, but it fails during parsing with:
lxml.etree.XMLSyntaxError: Opening and ending tag mismatch: meta line 10 and head, line 17, column 8
I then tried WebToEpub on Firefox, providing:
.article-content.titleIt generated an EPUB, but the file wouldn’t open in any reader.
What I’m looking for is a tool where I can point to a blog’s base URL, define CSS selectors for the article title and body, and have it automatically fetch all entries and create one chapter per post. Or something similar.
Does anyone know of a reliable tool, script, or workflow that does this well on Linux?
I’ve been switching from Vim to Helix recently. I did the built-in tutor, and whenever I need to configure something, I look it up in the docs. The problem is, I only find what I already know to look for. Without reading the documentation more broadly, I don’t really know what I can configure in the first place.
So I’m curious, do you sit down and read documentation to understand a tool, or do you just search it when you hit a specific problem?
I’d like to be able to navigate text in a pager with Vim-style modal editing (moving with hjkl and yank/paste with y/p). Is there a way to enable this in the default pager, or is there an alternative pager that supports this kind of modal behavior?
I want to improve my touch typing skills on Linux. I’m curious:
I'm looking for a way to generate a single Markdown (.md) file that includes all the file names, function definitions, and docstrings from my Python files. Ideally, this should traverse a directory recursively while respecting the .gitignore rules.
Does anyone know of a package that accomplishes this?
Use ln -sf to update a symlink after each cron run:
0 */8 * * * TIMESTAMP=$(date +\%Y-\%m-\%dT\%H;\%M;\%S) && LOG="$HOME/logs/${TIMESTAMP}_job.log" && /path/to/script.sh >> "$LOG" 2>&1 && ln -sf "$LOG" "$HOME/logs/latest_job.log"
Any active communities where I can learn more cool things like this?
Does the NewPipe YouTube client expose RSS feeds for my subscribed feed, individual channels or playlists? If so, where can I find the RSS URLs (or how do I generate it) for a given YouTube channel or playlist?
I have a list of communities, each with total votes, upvote percentage, and the community name. I want to sort the list by 'engagement,' which would be some combination of total votes and upvote percentage. What is the best way to do this? What would be the best measure of 'engagement' with each community given this data?
Hi everyone,
I’m trying to write a Python script to fetch all the communities a specific Lemmy user is subscribed to, with one community per line.
I’ve seen examples using raw requests (like this post), but I’d like to do it using Pythorhead instead.
Has anyone done this before or can provide a simple example of how to list a user’s subscriptions using Pythorhead?
Similarly, I'd also like to get the list of communities that the user has blocked.
Thanks!
I'm looking for federated Q&A forums specifically focused on Linux and software-related issues. I'm not referring to platforms like NodeBB, Discourse, Lemmy, Kbin, PieFed, etc. I'm asking for specific instances that focus on Q&A about Linux and other software related issues. I know of some popular non-federated platforms like Stack Exchange, AskUbuntu, Arch Linux Forum, etc. But I'm particularly interested in federated sites.
If you have any recommendations for such forums, please share them! Thank you!
edit: nevermind this, it's just a subset of what a dictionary extension could do. I'm just stupid.
If those became popular it would be a privacy nightmare, specially if the company share all gathered data with the government and other companies.
Is there also a way to find out which are the most popular dark themes besides slant.co and reddit.com ?
https://draculatheme.com/Open linkView original on programming.devI've often heard that China is authoritarian, particularly due to events like the suppression of student protests in Hong Kong. However, I'm curious about more recent examples. Conversely, I've been hearing about the UK's Online Safety Act being used to target Wikipedia editors and silence protests, which raises questions about authoritarian tendencies there as well. What specific examples do you have that demonstrate whether these countries are authoritarian or not?
For example, I know that sites like duck.ai let you use LLMs for free, but they limit input to 16,000 characters, so you can't actually leverage models like Llama 4 Scout, which supposedly has a 10 million token context window. Are there any platforms or tools (preferably without a paywall or input cap) where I could use models with context windows in the millions, as advertised? Or are all the free tools similarly restricted by much smaller limits?
Imagine having access to an AI system like the "What-If Machine" from Futurama that could instantly generate any type of media content. What would you create with such power at your fingertips?
Personally, I'd be tempted to remake the Star Wars sequel trilogy. With AI, we could explore some of the unused ideas from George Lucas' original vision, like Darth Maul returning as a crime lord or Luke rebuilding the Jedi Order.
What about you? Would you recreate existing franchises, generate entirely new content, or use it for more practical applications? Share your ideas below!
Some potential uses to consider:
Have you ever wondered why so many religions share themes of death, resurrection, and renewal? One fascinating connection lies in the Sun and its behavior during the winter solstice.
Around December 21, the Sun reaches its lowest point in the sky (in the Northern Hemisphere) and appears to "stand still" for three days. Then, on December 25, it begins to rise higher again, marking its "rebirth." Ancient cultures noticed this phenomenon and interpreted it as the death and resurrection of the Sun—a powerful symbol of hope and renewal.
This solar cycle influenced many religious traditions. For example:
The symbolic "three days" is also worth noting. Across cultures, three days often represent transformation or renewal—whether it's Jesus in the tomb or the Sun's pause before its upward journey.
It’s fascinating (and a bit ironic) how much modern religions owe to ancient astronomical observations. The Sun’s predictable cycles became a powerful metaphor for life, death, and rebirth—one that still resonates today, even if its origins are rooted in natural phenomena rather than divine intervention.
What do you think? Are these parallels just coincidence, or do they reveal how human beings have always looked to the cosmos for meaning? Let’s discuss!
Hey, I've been pondering the Dead Internet Theory (DIT) lately and how it might impact society. For those unfamiliar, the DIT suggests that the internet has been mostly abandoned and that the content we see today is generated by AI and curated by large corporations. While this theory might sound far-fetched, I've noticed a significant portion of the content in my feeds appears to be AI-generated, making it difficult to distinguish between human-generated and AI-generated content.
As someone who was initially excited about the prospect of having an AI assistant, I'm now concerned about the potential for AI to be used to brainwash people and extract money from them. I can't help but wonder if most people will even notice or care, as they continue to use social media and other online platforms, oblivious to the fact that they're being gaslighted into believing what the companies that own the AI want them to believe.
With this in mind, I'd love to hear your thoughts on the DIT and how it might affect society. Do you think it's a real possibility, or is it just a conspiracy theory? How do you think it will impact the way we use the internet, and what can we do to protect ourselves from the potential negative effects of AI-generated content?
Thanks in advance for sharing your thoughts on this topic!