HNHacker News
TopNewBestAskShowJobs

alexellisuk

7,439 karma · joined March 31, 2016

Founder OpenFaaS + inlets + actuated. https://www.alexellis.io/
submissionscomments
alexellisuk··on How to Read Books When You Have ADHD
In general, I think that the “one thing” approach is how I read any kind of reference or self-help/business book. I rarely go cover to cover, but know people who do. I’m more likely to take something way 1-2 things and apply it, then move onto another book.
alexellisuk··on Join the Grow Lab Challenge
> I want to invite you to join me and a few others in building your own Grow Lab.

> To make it more interesting, it'll be a contest with milestones that you can reach by completing different tasks and sharing the results with the community. There's no such thing as perfect here, and putting your own spin on the project is encouraged.

> The goals of the project are to bring the excitement of watching nature at work, directly in your own kitchen window sill and to give you a practical project, to get started with IoT and embedded electronics.

alexellisuk··on Changing How Updates Work with Docker Desktop 3.3
An interesting one here. Pay for PRO in order to avoid forced updates. Looking forward to hearing what people think here. I wonder whether this is something I could take into my own open source work.
alexellisuk··on The architecture behind a one-person tech startup
I was just reading the beginning of Arvid Kahl's Zero to Sold. He recommends using a tech stack that you already know and have lots of muscle memory with. I couldn't agree with him more. [1]

This tech stack looks over-engineered upon first glance, but I don't know much about the author or his product.

I use Kubernetes a fair bit whilst developing OpenFaaS and teaching people about K3s, but there is a whole world of development teams who aren't prepared to consider it as an option. One of the reasons we created "faasd" [2] (single-node OpenFaaS) was to help people who just wanted to run some code, but didn't want to take "Kubernetes mastery 101"

For a small app using a managed service like Cloud Run plus some cloud storage should get you very far. I saw that Heroku is still popular with the indie community, with the author of Bannerbear getting a lot of value from the managed platform.

[1] https://thebootstrappedfounder.com/ [2] https://github.com/openfaas/faasd

alexellisuk··on Build a budget IoT Grow-box with your Raspberry Pi (2017)
After a break with IoT and sensors, I've dusted off an RPi zero and a wide-angle 160 degree camera to start a new project, where I can take pictures directly over the top of the seed tray.

This is a cheap and easy project to set up and very satisfying. Try it out with some green beans, peas or a herb?

https://twitter.com/alexellisuk/status/1380227185894690823

alexellisuk··on The Unbound Bible Project has been discontinued
Are there more details about why the project closed?
alexellisuk··on Get Started with Tmux
Since tmux is on the front page of hacker news, I thought I'd post one of my videos from a couple of years ago where I demoed some of its features.

I always get overwhelmed by how much it can do, so focus on a few useful features.

Definitely prefer it to "screen"

https://www.youtube.com/watch?v=JeOSpnT29go

alexellisuk··on Show HN: inletsctl (0.8.4) Adds provisioning for HTTPS tunnels
This new release makes tutorials like the below easier to follow and quicker to set up. Rather than setting up a VM manually, inletsctl can do it for you.

https://inlets.dev/blog/2021/02/11/secure-letsencrypt-tunnel...

The idea of inlets is to set up a self-hosted tunnel which has no rate limits, port, domain or usage restrictions. Competing with a managed service (SaaS) tunnel means needing to automate the developer experience.

If you use inlets or have heard of it (there's ~ 8k GitHub stars now), let me know how you get on with the new feature.

alexellisuk··on XQuartz 2.8.0
Nice to see a new release. The first since 2016.
alexellisuk··on Netbooting Workshop with Raspberry Pi and K3s
I've just launched my netbooting workshop for Raspberry Pi. It was previously only available to sponsors.

The new version includes a PDF, scripts and a community Slack channel as part of the package.

You'll: setup your server with NFS and TFTP, configure filesystems for each of the RPis, get them booting up, measure the speed, then setup K3s in a HA configuration. From there you can learn what to deploy on the cluster, and find a few jump off points for going further.

Hope you enjoy it, and if you're a k3sup.dev user, thank you for the support!

alexellisuk··on How I test OpenFaaS changes with Kubernetes
You would be surprised what trends on Show HN, not everything is a link to a GitHub repo.

This blog post is not a thought piece, it's something for people to play with, it's the whole point of the post - a practical set of steps to literally fork and deploy a custom version of openfaas.

To me flagging just seems a bit off, like it should be for inappropriate or lewd content. The way HN works, if content is not a good fit, people don't upvote, and it doesn't get seen.

alexellisuk··on How I test OpenFaaS changes with Kubernetes
> There are several ways to test changes in OpenFaaS with Kubernetes. I wanted to outline an approach that I find useful, so that new and potential contributors can get started quickly and experiment. I'll also give you a very brief overview of what OpenFaaS is, and what gets deployed when you install it.

Absolutely beyond me why someone flagged this post when submitted yesterday.

alexellisuk··on Docker Raises $23M
Interesting to see this called a Series B. Did Docker hit reset after the split?

Here's a separate thread for "Docker Series B: More Fuel To Help Dev Teams Get Ship Done" - with a bit more info on what the plan is from Scott.

Interesting to see this news on the same day that "We don't need Docker" was also on the front page of Hacker News. I think we absolutely still need Docker in 2021.

https://news.ycombinator.com/item?id=26478669

alexellisuk··on I bought 300 emoji domain names from Kazakhstan and built an email service
As a self-confessed "indie dev" and have perfected the art of giving away value for free so I love to see stories like this. In a short period of time you've tried out a "crazy" idea that might catch on and you've earned some money already. I hope you can get 10x that income before long.

With regards to VAT - when you sell to B2C customers in Europe (which I'm sure you do), you need to charge them VAT in the state they reside in. The easiest way to do this is with something like Paddle [0]. After that, probably registering in Ireland for VAT MOSS [1].

It alarms me how many people start taking payments from Stripe for their new platform without spending any time to get sales/VAT tax compliance in place.

Remember when this [2] blew up on the front page of Hacker News about GitHub Sponsors delivering a B2C service, without any VAT applied? That's the same reason that just taking payments with Stripe isn't enough.

[0] https://paddle.com/support/how-does-paddle-handle-vat-on-my-... [1] https://www.gov.uk/government/collections/vat-moss-vat-on-sa... [2] https://news.ycombinator.com/item?id=26293050

alexellisuk··on 1980: MUD
Who remembers nightfall? It still seems to be up at nightfall.org

It's how I learned that telnet isn't encrypted many years ago :)

alexellisuk··on Exploring the Kubernetes Operator Pattern
I like that one too. I'm sure Ivan would be pleased to hear your feedback, he spends a very long time putting them together.
alexellisuk··on Show HN: Store MQTT messages in S3 (code example)
This sample uses an OpenFaaS MQTT-connector along with a Python function to receive JSON messages from MQTT and to store them in an S3 bucket.

The use-case could be ingestion of IoT sensor data from edge devices. I put this example together to show people a starting point, that could be modified and extended for your own use.

alexellisuk··on Introduction to Serverless Golang with OpenFaaS [video]
I was joined by Taylor Dolezal for this live stream and was surprised to learn that Taylor has not only tried OpenFaaS before, but used it in two jobs - including at Disney.

After the intro, we talk a bit about Go features like testing and newer features like generics, before going into a bit of a deep dive coding session, building up functions from scratch in Golang.

The functions built with OpenFaaS are actually containers with a HTTP server inside, so they can be deployed to Kubernetes, Cloud Run or Knative in a similar way. They would probably also work with fly (but I haven't tried that yet)

The "workload" definition is HTTP on port 8080 and a health check (configurable) https://docs.openfaas.com/reference/workloads/

For folks starting out with FaaS and not ready to go full-on K8s, faasd might be a good option to explore - https://github.com/openfaas/faasd - it has containerd and CNI (just like K8s) but no clustering so it's faster and has a sub-second cold-start.

alexellisuk··on MacBook Pro M1X benchmarks have leaked
I was surprised how well the 5800X holds up to the new M1 and M1X. Given the boost I felt with my MBA M1, I thought my NUC8i7HVK felt sluggish in comparison and was considering a new PC build - or moving off a "Linux Desktop" to M1X if it was dramatically better than incumbent desktop processors.

Seems like I can keep Linux and build a 5800X, and have > 32GB RAM to boot.

For those happy with MacOS as a daily drive, the Mac Mini is incredible value vs a full PC build.

alexellisuk··on KubeStack: Towards Full-Stack GitOps
Do you have any plans to include helm support?
alexellisuk··on Exploring Serverless Use-Cases
We get asked this question a lot, and also ask this question of users even more. Hope you'll enjoy some of the examples shared in the blog post and the video too.
alexellisuk··on Skyline – Your GitHub story in 3D
For the curious, it weighs 370 grams.. I just put it on my coffee scales this morning.

https://twitter.com/alexellisuk/status/1362710626385207297?s...

Thanks again for all the messages on Twitter - and to GitHub for this token.

You can find out more about my journey through the interview or blog post on my GitHub profile - or get weekly emails through GitHub Sponsors (another thing I appreciate about GitHub) - https://github.com/alexellis/

alexellisuk··on My first eBook launch – results and feedback (10k USD in 27 days)
I am running a program called Insiders' Updates - which emails sponsors each week and gives them access to a portal, to get recurring revenue and offer more value.

https://github.com/sponsors/alexellis/ https://github.com/sponsors/openfaas/

The "Treasure Trove Portal" has discounts, and updates since 2019 now, as a user of openfaas or any of my software, there's definitely value here that shouldn't be passed up.

The weekly features are not about my OSS projects, but about the industry, marketing, business and Open Source - so that there's something for everyone.

The comment about companies not using open source is not really valid, them not valuing the time of maintainers would be more accurate.

alexellisuk··on Skyline – Your GitHub story in 3D
Here's a 3D-printed steel version of mine, that I was sent by GitHub - https://twitter.com/alexellisuk/status/1362363460688961536?s...

And the flat version - https://twitter.com/alexellisuk/status/1362369733052551168?s...

alexellisuk··on My first eBook launch – results and feedback (10k USD in 27 days)
This post was updated over the weekend and I'm happy to share that the eBook has now reached 10k in sales in just under a month.

This is more money than corporate users have paid in sponsorships in 4 years to the OpenFaaS project, which says something about the current state of funding.

It's not going to solve the funding problems of open source, but I decided to try something else and it had better than expected results.

alexellisuk··on Learn how to share and promote your work as an engineer
I've learned a lot over the past 5-6 years about sharing and promoting my work and projects. I hope you'll find something you can take away and apply today for your own business, blog posts or articles.

This post covers: social sharing, meta tags, channels, books you could buy and benefit from, examples from the community, how to generate social sharing images, and much more from my experience.

alexellisuk··on Kubernetes Failure Stories
Disclaimer, I am a CNCF Ambassador (voluntary) - so it's in my interest to promote CNCF projects like Kubernetes.

It seems like a good time to mention my blog post from last year "Then he asked me “Is Kubernetes right for us?" -> https://alexellisuk.medium.com/then-he-asked-me-is-kubernete...

Some of the feedback I've had so far is that it was refreshing to get "permission" to consider alternatives vs. the current hype. I use K8s and K3s quite broadly myself, but increasingly see consulting prospects and customers who are not comfortable to make the leap, but are very happy on managed services with their chosen vendor - Azure / AWS / GCP.

GitLab recently released a bunch of terraform to show you how to run side projects in the free tier of a cloud - https://gitlab.com/gitlab-org/5-minute-production-app/deploy...

The OpenFaaS project again is very coupled to Kubernetes, making it easier to use and more reliable is important to the community and project's future. However, we created a version called faasd that works more like docker-compose. It's received much more traction than we expected and companies and individuals are putting it into production. It does't have clustering, and supports only 1 replica per function, so it's surprising. https://github.com/openfaas/faasd

I'll keep doing my bit to promote solutions that make K8s easier to understand like K3s (see also https://k3sup.dev) and to look into alternatives. But as you will see in my blog post - I don't think it's right to assume Kubernetes is the right solution for every team, and every project, without first talking about the problem being solved.

alexellisuk··on Show HN: My first eBook – results and feedback
Hacker News often celebrates wins big and small - from large VC-backed companies to teeny SaaS companies.

This is what I learnt writing and publishing an eBook - something that I had heard could earn me money to support my open source contributions and software.

Hope you get something out of this - and note the blog post is not for people who would buy the book, but people who are curious about going independent or building wealth.

I'm now approaching 10k USD, at that point I'll do a second write-up on the technical how-to and long-tail vs initial launch marketing.

https://twitter.com/alexellisuk/status/1359061133093720065?s...

alexellisuk··on I discovered FaaS and what it changed for me
Funny you say that because I was talking to an openfaas customer who was using V8 isolates and is moving away from that because have their own issues with mutability.

They are likely going to use kata containers - which can be configured on either Kubernetes or faasd.

The alternative which I've not tried yet is firecracker-containerd

https://katacontainers.io https://github.com/firecracker-microvm/firecracker-container...

alexellisuk··on I discovered FaaS and what it changed for me
OpenFaaS has a rest API, so no that's not accurate - you can scale to zero and back again.

You may have been "toying" - many people do, but here's some examples of end users https://www.github.com/openfaas/faas/tree/master/ADOPTERS.md

faasd uses pausing of containers so there's barely a noticeable cold start unlike with Kubernetes where it can take a couple of seconds.

Up until 2018 everyone just used a min scale of 1, and was very happy because it meant never having to bear a Kubernetes Pod being scheduled. This is one of the reasons that faasd is quicker - no distributed state to manage.

Feel free to ask for help on Slack if you are unclear about scaling. I'm sure the community would be happy to help.

← PreviousPage 11 of 27Next →