prologic

twtxt.net

No description provided.

Recent twts from prologic
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

Also, just as an aside, your assertion that Docker is too “fat” and too “corporate” is untrue IMO. I’ve been using Docker for a very long time (since ~0.7 or so) and if you take a closer look:

root@proxy:~# ls -lah /usr/bin/docker /usr/bin/dockerd
-rwxr-xr-x 1 root root 35M Jul 21 20:35 /usr/bin/docker
-rwxr-xr-x 1 root root 96M Jul 21 20:35 /usr/bin/dockerd
root@proxy:~#

Compared with Podman:

$ ls -lah /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote
-r-xr-xr-x 1 prologic admin 39M Jul 21 06:13 /opt/homebrew/Cellar/podman/4.6.0/bin/podman-remote

As you can see the Docker docker client (CLI) and the Podman tool is roughly the same “weight”.

The difference is that Docker is a Server<->Client with a daemon architecture, whereas Podman runs containers directly, which is why only Linux is supported. Podman is a bit like my box project.

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@abucci@anthony.buc.ci The only problem with supporting this is the API. I’d hate to have to write a whole new filtering/mutating proxy ust to support Podman 😅 I hope Podman can talk to a Remote Docker API – Because that’s all that needs to happen 🤞 – As you’re no doubt aware TLS certs are used to authenticate to the proxy as well.

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

I don’t see anything from you 🤔 Nor in the service logs 🤔

Download

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@abucci@anthony.buc.ci Hmmm

I ran some containers using podman and I think they are running remotely but I don’t know the right juju to verify. It looks right though!

Let me check…

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@abucci@anthony.buc.ci Hmmm I’ve actually (funnily enough) been researching Podman … As far as I can tell, it is not compatible at all with the Docker API. It is only compatible with the Docker CLI. That means you can alias docker=podman, but cannot use podman as a “client” to a remote Docker API engine 😢

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

I also (btw) just put up a quick hacky website for it just now (dogfodding the service itself of course):

https://cas.run/

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@abucci@anthony.buc.ci Yes @jmjl@tilde.green is right. This service uses the Docker API as one of its core components and thus relies on the Docker client, namely the docker CLI. You don’t obviously need to have anything else but the CLI to use it as the containers are running remote form you. The install of the CLi is pretty quick ‘n easy on most (if not all?) systems.

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@abucci@anthony.buc.ci Ahh, do you have your Github account with SSH keys? Does https://github.com/${GITHUB_USER}.keys return keys for you? That’s what its using to do auth right now.

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

if podman “just works”™ awesome 👌

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

Worth giving it a go 👌 I’m not really willing to support multiple backends though, as that’s a terrible lot of work 😢

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@jmjl@tilde.green No problems! Looks like maybe it is API compatible?

Podman commands are fully compatible with Docker, so you can replace one with the other: alias docker=podman . The core Podman runtime environment can only run on Linux operating systems. However, you can use a remote client for other operating systems to manage containers on the machine running Podman.12 Apr 2023

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@jmjl@tilde.green Is podman compatible and uses the same Docker API? 🤔 I’m not sure myself.

In terms of breaking it, yes please, by all means, do try and of course let me know. I’m not sure how good any of this is just yet… Still seeing what’s possible. I’m actually trying to set-up some ingress and default routing so folks could host simple stuff. Tricky to get right 😅

⤋ Read More
In-reply-to » My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There's still heaps to do, lots of "features" missing, but you can run stuff at least 😅

@abucci@anthony.buc.ci Haha you’re right! I didn’t 🤦‍♂️ I just assumed anyone would use the same alias/username as their Github on their local machine or vice versa 🤣 It was ~3am when I wrote that and toddled off to bed, so sorry 🙏

⤋ Read More

My proof-of-concept Container as a Service (CAS or CaaS) is now up and running. If anyone wants to have a play? 🤔 There’s still heaps to do, lots of “features” missing, but you can run stuff at least 😅

ssh -p 2222 cas.run help

⤋ Read More

But if you want to run a few small things that consume a few MB of memory, bugger all CPU and whatever storage, then you’re looking at only paying mere cents

⤋ Read More

@movq@www.uninformativ.de What I’m talking about here is something like this:

CPU: $0.01/month per 1% of CPU cores
RAM: $0.01/month per MB
Local Storage (_not guaranteed to be persistent_): $0 for up to 1GB
Persistent Storage: $0.01/month per GB

Throw in $0.10/month for “access feeds” and either $0 (community), $10 or $20 per month for support.

⤋ Read More
In-reply-to » Just been playing around with some numbers... A typical small static website or blog could be run for $0.30-$0.40 USD/month. How does that compare with what you're paying @mckinley ? 🤔

Hmm I was a bit wrong here. I forgot to dive storage costs by another 1024 🤣

⤋ Read More
In-reply-to » Just been playing around with some numbers... A typical small static website or blog could be run for $0.30-$0.40 USD/month. How does that compare with what you're paying @mckinley ? 🤔

This pod would cost $9.56 to run on this model 🤔 (most of that is storage)

⤋ Read More

prologic/docker-proxy: docker-proxy is a transparent HTTP proxy that proxies requests to a Docker Remote API via a local UNIX socket. It also support filtering requests and responses to enforce policies - docker-proxy - Mills – This little proof-of-concept now works 👌 And is the basis of something I was talking about, a “Container as a Service”. Now I just have to figure out billing, build some APIs and find someone with better UI/UX skillz than me to put a swank UI on it 🤣

⤋ Read More
In-reply-to » @abucci Sort of. But, if you look around, and I mean look really hard, no-one really officer this kind of "small slice" computing anywhere. Docker tried to do this once and failed. Containers as a Service -- CaaS.

@jmjl@tilde.green Wellt o my knowledge, no-one has every run such a service before. And to be specific, I mean where you pay to run containers and only for the resources the container uses. Normally anyone that claims to do “container hosting” essentially just rentes you a VM of some size and runs an OS on it with supporting tools and services that are designed for running containers. Not quite the same thing, becuase the price comes out at well either at VM prices or higher.

⤋ Read More
In-reply-to » Mobile Development and doing any kind of Android CI sucks ass 🤦‍♂️ Been trying all weekend to set-up some CI (self-hosted of course) for Android builds. The fucking goddamn build gets OOM killed at 2GB of memory 🤣 Goddamnit, this whole Mobile space is just utter rubbish 😅

@apex@twtxt.net Oh nice! How cool 😅 Yeah there has to be some fine-turning we can work out for Android/Gradle builds that don’t consume a tonne of RAM 🤣 Under normal circumstances in Github Actions I’m sure this is fine, 3.8GB, but on your own much more constrained hardware, I’d have to shutdown a tonne of services just to run CI? 😳

⤋ Read More
In-reply-to » When I talk about twtxt with friends, usually that question emerges. What's the difference between Federated, Distributed, and Decentralized?... And also the difference between platforms, systems, services, and such. I remember we discussed that a few months ago.

I would define things these terms like this:

  • Decentralised systems are those in control of the data and its locality.
  • Distributed systems are systems with participating nodes in a network that cooperate in decisions with data locality over the whole network.
  • Federation enables systems and users to communicate across boundaries using identities.

The key differences come down to data locality and control.

⤋ Read More
In-reply-to » Got contacted on instagram from someone who wanted to buy some of my images (NFT), I have been putting the images I liked the most into a collection (and add new ones when I take Images I think is good enough) into the collection. Just letting it sit there to see if I can make a sale one day. Not sure yet if the person is serious or not - but If I could make a sale - then I'm all for it. It's much easier to put things up for sale as NFT then other ways. I sell them as a 1 item thing. And put a price that I think is fair (Fixed price on all, but based on the amount of time I actually spend getting to all these locations). One thing I have not liked about NFT is all the crap art stuff that there that takes 0 effort, but I do at least spend time picking out where we go. And each image has a memory attached to it, a trip with my family to that exact place..

@stigatle@yarn.stigatle.no Interesting attempt but kind of lame 😆

⤋ Read More