HNHacker News
TopNewBestAskShowJobs

movedx

2,540 karma · joined September 11, 2015

Systems engineer and educator.

YouTube: https://www.youtube.com/c/MichaelCrilly Discord: https://discord.gg/MTzBvSS

submissionscomments
movedx··on The future is not self-hosted
Very cool. Thanks for sharing.
movedx··on Japanese grandparents create life-size Totoro with bus stop for grandkids (2020)
> A quick Google search confirms tourism is the dominant industry in Venice. The claim that this fuels "little to no financial growth", is therefore first-order backwards.

How much of the money stays in Venice? Just because you handed over cash at a till in a cafe in Venice, doesn't mean a single local sees a lick of that money. They might not even see a lick of the taxes, neither. I've been to Venice... have you? Thanks for Googling about Venice, but try going and speaking to the locals, because I have.

movedx··on Japanese grandparents create life-size Totoro with bus stop for grandkids (2020)
How ignorant.
movedx··on The future is not self-hosted
Ah OK. So basically: life. Roger. Do you use paperless-ng and the likes?
movedx··on The future is not self-hosted
I'd be interested to know what you run on your home lab thats assisting with your professional life :)
movedx··on The future is not self-hosted
> includes stuff that documents my own individual history.

By this do you mean family photos and the like? I'd like to hear more about this. I'm building up a personal library like this too.

movedx··on We built an air-gapped Jira alternative for regulated industries
You'll always find that this industry of ours just goes around full circle.
movedx··on Japanese grandparents create life-size Totoro with bus stop for grandkids (2020)
Yes and no.

Yes, I agree, because life would get boring really quickly. People should be able to express themselves (in a civil, legal manner) so that the world can be more colourful and filled with art and beauty.

But also no, I don't agree. Have you seen the impact tourism in Japan has had on the local ecosystem as of late? They've literally banned tourists in some areas because frankly: more tourists act like animals. They litter, act rude and disrespectful, and are just obnoxious. Also, in a lot of cases, they provide little to no financial growth or benefit to the local economy. Look at Venice, for example.

So I think when making something like this, there has to be some degree of forward thinking around how it's going to divert (tourist) traffic to the area and what impact that's going to have on the locals.

movedx··on Lima Site 85: How a CIA Helicopter Defended a Secret U.S. Radar Facility
I couldn't agree more.

Just a slight point I think is more making:

> We never celebrate the Viet Cong for defending themselves successfully against the most powerful military in the world, against all the odds, over decades.

"During the Vietnam War, China provided substantial military and economic aid to North Vietnam, playing a crucial role in supporting their war effort against the United States. This aid included troops for infrastructure repair and defense, military equipment, and financial assistance."

But you are correct.

movedx··on Self-Host and Tech Independence: The Joy of Building Your Own
You can isolate and lock down services in systemd too! Not too hard at all, and again AI can help here.

https://www.redhat.com/en/blog/mastering-systemd

movedx··on Self-Host and Tech Independence: The Joy of Building Your Own
That sounds like a great option to me. The more functionality you can get out of a container without giving up privileges, the better. Podman is just a tool like any other - I'd happily use it if it's right for the job.

All I would say is: can you run that same thing without a containerisation layer? Remember that with things like ChatGPT it's _really_ easy to get a systemd unit file going for just about any service these days. A single prompt and you have a running service that's locked down pretty heavily.

movedx··on Self-Host and Tech Independence: The Joy of Building Your Own
> you must go way out of your way to ignore how containerization makes everyone's job easier and even trivial to accomplish

You'd have to go out of your way to ignore how difficult they are to maintain and secure. Anyone with a few hours of experience trying to design an upgrade path for other people's container; security scanning of them; reviewing what's going on inside them; trying to run them with minimal privileges (internally and externally), and more, will know they're a nightmare from a security perspective. You need to do a lot of work on top of just running the containers to secure them [1][2][3][4] -- they are not fire and forget, as you're implying.

This one is my favourite: https://cheatsheetseries.owasp.org/cheatsheets/Kubernetes_Se... -- what an essay. Keep in mind someone has to do that _and_ secure the underlying hosts themselves for there is an operating system there too.

And then this bad boy: https://media.defense.gov/2022/Aug/29/2003066362/-1/-1/0/CTR... -- again, you have to do this kind of stuff _again_ for the OS underneath it all _and_ anything else you're running.

[1] https://medium.com/@ayoubseddiki132/why-running-docker-conta...

[2] https://wonderfall.dev/docker-hardening/

[3] https://www.isoah.com/5-shocking-docker-security-risks-devel...

[4] https://kubernetes.io/docs/tasks/administer-cluster/securing...

They have their place in development and automated pipelines, but when the option of running on "bare metal" is there you should take it (I actually heard someone call it that once: it's "bare metal" if it's not in a container these days...)

You should never confuse "trivial" with "good". ORMs are "trivial", but often a raw SQL statement (done correctly) is best. Docker is "good", but it's not a silver bullet that just solves everything. It comes with its own problems, as seen above, and they heavily outweigh the benefits.

> Explain in detail how being able to run services by running "docker run" is "overkill". Have you ever went through an intro to Docker tutorial?

Ah! I see now. I don't think you work in operations. I think you're a software engineer who doesn't have to do the Ops or SRE work at your company. I believe this to be true because you're hyper-focused on the running of the containers but not the management of them. The latter is way harder than managing services on "bare metal". Running services via "systemctl" commands, Ansible Playbooks, Terraform Provisioners, and so many other options, has resulted in some of the most stable, cheap to run, capable, scalable infrastructure setups I've ever seen across three countries, two continents, and 20 years of experience. They're so easy to use and manage, the companies I've helped have been able to hire people from University to manage them. When it comes to K8s, the opposite is completely true: the hires are highly experienced, hard to find, and very expensive.

It blows my mind how people run so much abstraction to put x86 code into RAM and place it on a CPU stack. It blows my mind how few people see how a load balancer and two EC2 Instances can absolutely support a billion dollar app without an issue.

> You're just publicly stating your ignorance. Do yourself a favor and check Ubuntu's microk8s. You're mindlessly parroting cliches from a decade ago.

Sure, OK. I find you hostile, so I'll let you sit there boiling your own blood.

movedx··on Self-Host and Tech Independence: The Joy of Building Your Own
Absolutely everything they said makes sense.

Everything you're saying is complete overkill, even in most Enterprise environments. We're talking about a home server here for hosting eBooks and paperless documents, and you're implying Kubernetes clusters are easy enough to run and so are a good solution here. Madness.

> I have news for you.

I have news for _you_: using Docker to run anything that doesn't need it (i.e. it's the only officially supported deployment mechanism) is like putting your groceries into the boot of your car, then driving your car onto the tray of a truck, then driving the truck home because "it abstracts the manual transmission of the car with the automatic transmission of the truck". Good job, you're really showing us who's boss there.

Operating systems are easy. You've just fallen for the Kool Aid.

movedx··on Changing Directions
Have you settled on something yet?
movedx··on Changing Directions
I have hundreds of videos on YouTube, and even the old tech tutorial ones around Terraform and Ansible, which are super dated now, get comments thanking me for my time. It's interesting to see videos from 5+ years ago getting positive engagement and making a difference to someone.
movedx··on Changing Directions
I feel the same way as the author. I wrote tonnes of Terraform, Ansible, Go, YAML, Bash, Python code years ago at <company-name> and I often think, "Who knows what that code is doing now. Who cares? Does anyone care?"

I have a few answers for the author and anyone willing to give me their time:

1. Go part-time in the tech field (contract or consult for a few hours per week) and reduce your involvement whilst capitalising on the high income

2. Produce (digital) goods that are closer to the consumer: videos, books, etc. on anything that takes your interest

3. Use your free time to do something like cleaning up your local community of trash

For (2), what I'm doing is getting back into making YouTube videos. Even then, I've fallen into a trap for weeks now. A trap of thinking: "What should the format look like? What amount of work should go into it?" And so on. In the end, I decided to turn on the web cam, record, throw the footage in Canva and do some basic editing and overlays, and publish. Quick, simple and, to get back to your point (or rather to attempt to counter it): I'll have produced something that I can see, through stats, is being observed and having a positive impact on people. That's hopefully going to help too.

For (3), go into your local community, even just your street, or a neighbouring street, and clean it. Take a thick bin bag, a pair of pinchers for picking up trash, and clean up. Do that once or twice a week, and the impact will be massive for you and everyone around you. You'll feel better for it because it's physical and "real".

It's a tough position the OP is in, but I'm getting there my self as well. I can feel it.

movedx··on Changing Directions
> doing “janitorial” work is rewarding in that it is, um, real work.

> ... it’s really easy to have a multi decade career in tech and look back, realizing that not only is none of the code you worked on still running anywhere, but none of the companies even exist.

Precisely. I feel the same way. I wrote tonnes of Terraform code years ago at XYZ/ABC Ltd and I often think, "Who knows what that code is doing now. Who cares? Does anyone care?"

I have a few answers for you:

1. Go part-time in the tech field (contract or consult for a few hours per week) and reduce your involvement whilst capitalising on the high income

2. Produce (digital) goods that are closer to the consumer: videos, books, etc. on anything that takes your interest

3. Use your free time to do something like cleaning up your local community of trash

For (2), what I'm doing is getting back into making YouTube videos. Even then, I've fallen into a trap for weeks now. A trap of thinking: "What should the format look like? What amount of work should go into it?" And so on. In the end, I decided to turn on the web cam, record, throw the footage in Canva and do some basic editing and overlays, and publish. Quick, simple and, to get back to your point (or rather to attempt to counter it): I'll have produced something that I can see, through stats, is being observed and having a positive impact on people. That's hopefully going to help too.

For (3), go into your local community, even just your street, or a neighbouring street, and clean it. Take a thick bin bag, a pair of pinchers for picking up trash, and clean up. Do that once or twice a week, and the impact will be massive for you and everyone around you. You'll feel better for it because it's physical and "real".

It's a tough position the OP is in, but I'm getting there my self as well. I can feel it.

movedx··on Japan's IC cards are weird and wonderful
You raise a good point here.

There's a degree of trust here, too. Trust placed on the consumer to do the right thing and pay. I'd also say there's an additional consideration being put forward by the operator: sometimes people just need a ride every now and then. I've been Japan three times now and I've seen several incidents of the guards letting people just walk through without a ticket because they explained some situation.

movedx··on Goravel: A Go framework inspired by Laravel
And what's wrong with any of that?
movedx··on Goravel: A Go framework inspired by Laravel
> My bigger issue was with the claim that you can't build an application bigger than arbitrary size X without an ORM, which is empirically untrue.

I never said that. I said that it's harder to do and there's no reason not to use an ORM to make it easier.

movedx··on Goravel: A Go framework inspired by Laravel
> ... and not long ago, I increased performance of some ActiveRecord queries 1000x by simply rewriting them in SQL.

But it was ActiveRecord that got you there in the first place, as a business, and enabled you to even build anything quickly enough to meet market demand and therefore make money. Moving to a few raw SQL statements today to improve performance is called optimising and everyone in every industry does that... _after the fact_. No one should be (pre-)optimising from day 1. That's a good place to start with an ORM.

Our industry is about balancing engineering knowledge with business knowledge and market forces: we have to accept that we can't write perfect code today otherwise you won't have a job tomorrow. You have to get up and running now and optimise later, which might look like replacing some parts of an ORM's job with an optimised SQL statement.

(And again: no ORM is stopping you from running raw SQL. You can have both. It's foolish to throw out an entire ORM and everything it gives you because, "Remember when I optimised that one statement that one time?")

movedx··on Goravel: A Go framework inspired by Laravel
I too used to believe those were valid points not to use an ORM back in the day. That was easily 2013/2014. Since then I’ve never found an ORM that gets in the way letting my just run raw SQL. And not just run raw SQL as complex as I’d like: it’ll also still give you all the magic once the response comes back.
movedx··on Goravel: A Go framework inspired by Laravel
SQLAlchemy doesn’t get in the way of anything you might want to do. In fact, you can do a “textual” query and then have the response mapped to classes for you :-)
movedx··on Goravel: A Go framework inspired by Laravel
> One of the things I would discard would be the use of an ORM library ... In my opinion, it is better to create some simple methods for each object that implement the CRUD operations and build the SQL statements directly.

Have you done this for any complex system? I'd love to see you do this for the AzerothCore: it has 298 tables, 3,010,875 rows across those tables, and one table (quest_template) has 105 columns.

Instead I've thrown SQLAlchemy in front of it and now I can query it without writing a single line of SQL.

I think tools are tools, and using the right tool at the right time is an important skill I think you've yet to develop.

movedx··on It's still worth blogging in the age of AI
The age of AI is the very reason it's even more important that we blog. AI in it current form ingests and repeats what we train it to. I don't think new ideas will "organically" come out of current generation models.
movedx··on A secret poker game you can play on the subway
The other day I was playing a game that let me project fire from my finger tips and fly. It was a lot of fun, but in reality it made no logical sense...

> The most obvious issues with...

... your comment is that you're trying to analyse everything instead of just having fun. Not everything is a math' problem. It's OK to have fun things that don't make sense. I don't think the author is trying to create a perfect gaming experience. I think the author is just trying to have fun.

movedx··on Half-Life 2 and Dishonored art lead Viktor Antonov has died
His work and impact on both games is still fresh in my mind. You'll be missed, Viktor. RIP.
movedx··on Go 1.24's go tool is one of the best additions to the ecosystem in years
What’s wrong with copying from other projects if they’re indeed offering good ideas worth copying? You say it as if the Golang community MUST only ever have unique ideas no one else has ever thought of — something that’s increasingly rare and unlikely.
movedx··on Go 1.24's go tool is one of the best additions to the ecosystem in years
What solution would you propose?
movedx··on How I Use Home Assistant in 2025
Actually, I’d have them come on to at the same time the cleaner is due. Or the dog walker. I DO intend on a smart lock for the front door.
← PreviousPage 3 of 34Next →