Skip to Content Skip to Navigation
Profile image for Álex Córcoles (coding)

Álex Córcoles (coding)

@coder@alex.femto.pub

This is the profile where I talk about coding and technology in English.

91 Posts Posts & Replies 33 Following 10 Followers Search
Pinned post

My "production stuff":

- github.com/festivus-es/festivu - public holidays calendars for Spanish cities
- github.com/remote-es/remotes - companies hiring in Spain for remote positions

Usable WIPs:

- alexpdp7.github.io/selfhostwat - track self-hosting package updates (such as YunoHost)
- github.com/alexpdp7/ubpkg/ - package manager for "upstream binaries"
- github.com/alexpdp7/termflux - Miniflux terminal client

"If it's free you are the product" is up there with "you know Google once said 'don't be evil'" in the list of vapid clichés in 'critical' tech writing. Open software is free. Are users of any given open source system the product? Not really, eh? How about readers of free books and articles? Yeah, just stop repeating that. Being free isn't the problem. The business model of the entity offering the good is the problem.

I made a thing. Please do not hesitate to point me in the direction of more forms to fill. wtf-8.xn--stpie-k0a81a.com

I feel this in my bones.

Well, Visual Studio Code is in the Pop!_OS repositories as a .deb too. Only defaulting to that in the Pop!_Shop is an issue. Once you install the JDK and VS Code using the terminal and apt, there are few issues.

Graphical applications to install software on Linux have always been a source of pain.

At least, once installing JDK 21 from the Pop!_OS package repositories, the Visual Studio Code "Extension Pack for Java" that is offered has a decent experience in getting a Spring Boot application started using Spring Initializr.

(Not ideal because it creates a completely empty application that just displays an error, but otherwise the process is reasonably intuitive.)

Visual Studio Code offers a wizard to set up Java. It detects there's no JDK and prompts to download one. This means invoking the browser to download a .tar.gz and... that's it, 0 indication of what to do with the download.

Pop!_OS, in the latest supported version 22.04 has a valid OpenJDK 21 package that could be easily installed instead.

I like Flatpaks in principle. But precisely the *only* problems I have had with them is in "development" tools, which often require breaking out of the sandbox.

Computers are unnecessarily complex. My perception is that Linux is a viable operating system for general purpose computing (and even offers perceivable advantages over macOS and Windows), but for introductory software development I still run into too many papercuts.

Preparing to help to work with Java to someone that uses Pop!_OS and Visual Studio Code. The Pop!_Shop offers by default Visual Studio Code as a Flatpak. The Flatpak does not seem to provide reasonable instructions to install the JDK in a Flatpak situation. I revert and install Visual Studio Code through their official website, which offers a .deb package (which in my experience is easier). The integrated package installer hangs indefinitely installing the package.

@coder I created Django views to publish the scraped data. However, I did not want to expose this to the Internet.

So today, I set up a daily Kubernetes job that scrapes the website from the same cluster, and pushes it to GitHub Pages.

24 years later, I managed to top myself with an even more janky setup, by adding Kubernetes and GitHub Pages.

Around 2000, my university provided web hosting for students. This was static web hosting, of course. I wanted my website, and setting it up using HTML was too tedious. So I decided to create my website using PHP, run wget --mirror to scrape it, and upload it to the static web hosting service.

(I don't think that was a novel idea even back then.)

My current personal project is implemented with Django and I run with Kubernetes. This project scraps data and stores it in a PostgreSQL database.

@drewdevault@fosstodon.org I don't think it's such a hot take. My observation is that many successful big open source projects have "megacorp" contributors that do not intend to profit from the project *directly*. When they intend to benefit *directly* is when it tends to get messy.

Open source project governance is still a hard problem, of course. But a lot of software needs to be so large that megacorps are kinda required for sustainability.

OK, I think I have most of the YunoHost catalogue "scraped"; I have the version history of the applications on YunoHost, and the matching Git tag history for the related repos. Daily scraping should get this updated.

Next step is to set up publishing of the data for use by others, and some static website for easy browsing of this information.

@technomancy in IRC, you better not have a nickname that can accidentally be a substring in a message, for instance. I kinda see the point of "tags as explicit objects", although no solution satisfies me completely.

Just added jj support to my package manager ( github.com/alexpdp7/ubpkg ).

It took me a long time to finally switch from Subversion to Git. But once I did, I never looked back. It will likely take me another very long time to switch to jj, but installing it is a first step :-p

I have some doubts about jj's governance, but I'm crossing my fingers the situation improves.

oh no! Carmen Sandiego has stolen your: ability to resist posting a take about encrypted messengers

Perhaps it's time to use this last hour before dinner to fool around with making a Visidata video. I learned it has interesting JSON support recently.

Small milestone of github.com/alexpdp7/selfhostwa ; I have a deployment on my Kubernetes test host that scrapes daily the versions of YunoHost packages. The idea is to make it easy for people to assess how well updated systems like YunoHost are.

(For example, if you want to self-host Nextcloud, you could visit selfhostwatch, search for Nextcloud and view a timeline of updates across different self-hosting solutions.)

@technomancy I have played with github.com/boxdot/gurk-rs in preparation to moving to Signal (if it gets WhatsApp interop. few of my contacts are on Signal, and I'd rather nag them to move when there's interop with the ecosystem in my neck of the woods).

Gurk worked pretty well in my limited testing. I'd prefer to bridge to IRC, but my experiences bridging Telegram with IRC make me think bridges are not ideal.

@zephyrfalcon I'm lately thinking that it's about making self-hosting easier. There's a ton of OSS feed readers, and there's stuff like YunoHost (and many others), but I feel nowadays it's harder for some reason for regular people to self-host. Many years ago I knew a lot of people who got shared hosting and ran Wordpress.

Nowadays, it feels that self-hosting your own blog for normal people is a fractal of complexity.