Better HN
topnewbestaskshowjobs
Log inSign up

blacklight

1,132 karma · joined Nov 16, 2017 (9y ago) · 262 submissions

https://fabiomanganiello.com

Senior software engineer @ Booking.com

Creator and main developer @

- platypush.tech - yonder.social - songhive.org - madblog.dev

openpgp4fpr:FE0976245CA4F7B2F976C6A2EEFB38879BDC9FC7

Submissions

comment 1mo ago · link · parent

A music streaming service (with support for Subsonic API and mopidy)

A catalog manager (with support for several external storages and music services)

A platform for musicians (with integrated Stripe support both for instance admins and artists who want to sell their music)

A live radio platform (with support both for Icecast and native HTTP mount points)

An ActivityPub-compatible social media to share music to the Fediverse.

All in one AGPL-licensed package.

comment 8mo ago · link · parent

As an engineer and self-hosting and self-coding enthusiast, I would agree with a lot of the points. I have spent most of my life in IT advocating for decentralization and democratization.

However, as someone who has had enough experience in the real world to notice how different time and skill constraints lead to different requirements for outsourcing, I think that it sounds elitist. Even an LLM is not sufficient for people who don't even know the difference between backend and frontend or what an API is, and therefore don't stand a chance to craft a proper prompt, let alone properly test the code that the LLM produces.

For context, I could also tell Mr. "Having a fucking website" that they're a hypocrite because they run a blog on Wordpress and have a social media account on mastodon.social. Those who really believe in decentralization run their own stuff, or code their own blogging platform like I did. They don't just brag of how morally superior they are just because they deleted their Facebook and Instagram accounts.

Of course I would sound elitist. And that's exactly how their stance sounds to the average bakery shop owner.

comment 8mo ago · link · parent

Madblog allows you to run a federated blog from an Obsidian vault, a git clone or your Nextcloud Notes.

Now that support for author replies and reactions has been added, you can also reply or like posts and articles through simple text files:

``` # This is a like

[//]: (like-of: https://mastodon.social/@user/1234 ```

4.

Madblog: Turn a Markdown folder into a federated blog(blog.fabiomanganiello.com ↗)

2 points · by blacklight · 8mo ago · discuss

5.

Webmentions with batteries included(blog.fabiomanganiello.com ↗)

4 points · by blacklight · 9mo ago · discuss

comment 9mo ago · link · parent

You know that you are dealing with a fascist scumbag the moment you hear "terrorist", "antifa" and "law and order" in the same phrase. Flock is a disgrace for the industry, and this fascist sociopath is a disgrace for mankind.

comment 1y ago · link · parent

I don't get it.

If you hate Windows just use Linux, BSD or whatever.

I'm sick of all the "Windows 11 sucks" folks that yet keep using Windows.

Just boot your laptop from a Linux ISO and you've got the best way to bypass Windows 11.

Boycott Microsoft and everything it touches.

8.

Simulating wealth distribution in an agent-based system(notebooks.manganiello.tech ↗)

5 points · by blacklight · 1y ago · discuss

comment 1y ago · link · parent

Or just use the Surfingkeys extension - it has a bit of a steep learning curve to customize it, but it's worth every piece of effort.

comment 1y ago · link · parent

My advice is to build such solutions around open products like Signal, XMPP or Matrix if possible. Or even Telegram.

On top of providing a better developer experience compared to Meta's ultra-locked and limited APIs, they aren't subject to the whims of a giant faceless company that can kill your product for no apparent reason with no chances of appeal.

Especially if you're doing these projects for folks in the developing world. Let's not lock them in proprietary American spyware like the whole West has already done :) from a user's perspective, if things are done properly, it'll just be a matter of installing another app.

And btw using a Matrix server with a WhatsApp bridge could also be a temporary solution to bypass the ban. But I haven't tested it with business accounts.

comment 1y ago · link · parent

As the developer of a GPS tracking app that relies a lot on OpenStreetMap, I've faced many of these problems myself. A couple of learned lessons/insights:

- I avoid relying on any generic location name/description provided by these APIs. Always prefer structured data whenever possible, and build the locality name from those components (bonus points if you let the user specify a custom format).

- Identifying those components itself is tricky. As the author mentioned, there are countries that have states, others that have regions, other that have counties, or districts, or any combination of those. And there are cities that have suburbs, neighbourhoods, municipalities, or any combination. Oh, and let's not even get started with address names - house numbers? extensions? localization variants - e.g. even the same API may sometimes return "Marrakesh" and sometimes "Marrakech"? and how about places like India where nearby amenities are commonly used instead of house numbers? I'm not aware of any public APIs out there that provide these "expected" taxonomies, preferably from lat/long input, but I'd love to be proven wrong. In the absence of that, I would suggest that is better to avoid double-guessing - unless your software is only intended to run in a specific country, or in a limited number of countries and you can afford to hardcode those rules. It's probably a good option to provide a sensible default, and then let the user override it. Oh, and good catch about abbreviations - I'd say to avoid them unless the user explicitly enables them, if you want to avoid the "does everybody know that IL is Illinois?" problem. Just use "Illinois" instead, at least by default.

- Localization of addresses is a tricky problem only on the surface. My proposed approach is that, again, the user is king. Provide English by default (unless you want to launch your software in a specific country), and let the user override the localization. I feel like the Nominatim's API approach is probably the cleanest: honor the `Accept-Language` HTTP header if available, and if not available, fallback to English. And then just expose that a setting to the user.

- Bounding boxes/polygons can help a lot with solving the proximity/perimeter issue. But they aren't always present/sufficiently accurate in OSM data. And their proper usage usually requires the client's code to run some non-trivial lat/long geometry processing code, even to answer trivial questions such as "is this point inside of this enclosed amenity?" Oh, and let's not even get started with the "what's the exact lat/long of this address?" problem. Is it the entrance of the park? The middle of it? I remember that when I worked with the Bing in the API in the past they provided more granular information at the level of rooftop location, entrance location etc.

- Providing localization information for public benches isn't what I'd call an orthodox use-case for geo software, so I'm not entirely sure of how to solve the "why doesn't everything have an address?" problem :)

comment 1y ago · link · parent

The irony of watching this 2017 TED video in 2025, and find out that my NoScript extension reports half a dozen of JS trackers and ads providers on this page - including Google, doubleclick.net, sail-personalize and sail-track.

Oh, and if you navigate to this page without NoScript, AdBlocker or a PiHole DNS you'll probably be presented with a cookie consent banner, a bunch of ads on the page and before watching the video, and your data being shared with at least half a dozen partners (a number that can increase dramatically if you visit the page of any news outlet instead of ted.com).

So yeah, I guess that the message of this video aged like fine wine.

comment 1y ago · link · parent

Of course, I'm not saying that one size fits all.

There are cases like media apps, camera apps, videogames, terminal emulators, clipboard managers etc. that won't become Web apps any time soon.

Either because they need to operate closer to the OS, or for performance expectation reasons.

But I've just had a quick scroll through the apps on my phone, and I can confidently say that 90% of them are basically HTTP clients that interact with an HTTP server.

And even those that do more could probably be wrapped into a WebAssembly artifact with comparable performance in a near future.

The reason why they are not PWAs, and why engineers are often expected to do triple work (iOS, Android, Web), and why there aren't more products released as PWAs, keeps eluding me.

Sure, you have to tell folks how the "Install/Add to home screen" process works from a mobile browser, but is it that really that much more friction compared to an App Store paradigm to justify the abuse of native apps that either reinvent the wheel multiple times, or are just unglorified Web browsers running an Electron app just to show you the discounts at the supermarket near your house?

comment 1y ago · link · parent

All the features you mentioned can also be achieved by a well developed PWA. Of course, minus the widgets or some deeper system integration (like controlling phone calls etc.)

comment 1y ago · link · parent

It doesn't sound like anything that a PWA (paired with some a sync mechanism like Websockets) can't solve. And with WebAssembly the convergence is even more compelling.

comment 1y ago · link · parent

I'd assume that self-hosting is not an option for this user?

Otherwise the alternatives would be pretty much a nobrainer for me:

Microsoft Office 365 -> Nextcloud Bitwarden -> self-hosted Bitwarden/Vaultwarden GitHub -> Sourcehut/Codeberg/Gitea/Forgejo Google search -> Searxng Reddit -> Lemmy Hackernews -> Lobsters Twitter/LinkedIn -> Mastodon / any Fediverse software

comment 1y ago · link · parent

This got me genuinely interested - until I cloned the project and saw the docker-compose file.

Minio + Celery + 4-5 services just for the main app + Keycloak?

I'm sorry, but this isn't something that "anyone can run".

This is something that requires a beefy server and someone who can manage microservice architectures with 10+ services.

I'm not sure why all of those services are requirements for the app.

I don't know why you need an S3 provider and a federated identity manager to run something that looks like Notion.

I don't know why you need to split the app into 5 microservices.

And I honestly don't think that all of this overhead is needed.

I'll give Docs another look if it decides to trim some of this bloatware.

comment 1y ago · link · parent

It depends on how much Firefox enshittifies. If it's just about removing some telemetry configuration from upstream, then a couple of downstream patches will still do the job. If, say, Firefox decides to fully embrace the spyware business model and drop support for Manifest V2 in order to kill adblockers, then LibreWolf will probably have to maintain their own fat piece of logic built on top of Firefox. Keeping it as a soft fork would then be a lot of work (you'd basically have a patchset of tens of thousands LoC to keep porting through different versions of Firefox). And making it a hard fork would be even more work (it basically means that the LibreWolf folks are on their own and they have to maintain their own independent browser).

comment 1y ago · link · parent

The thing is that, in a platform based on link sharing, it should be known which domains point to URL shorteners.

Even if you automate their handling, the algorithm should know that, if it bumps into a say signal.me, bit.ly or goo.gl URL, it should first do a GET and then apply the algorithm to whatever is provided in the Location header.

Not doing this for a widely used URL shortener like signal.me is just a show of technical incompetence.

12345
9