HNHacker News
TopNewBestAskShowJobs

francis-io

581 karma · joined April 20, 2017

submissionscomments
francis-io··on Fake it until you automate it
Agreed. I like keeping make as my universal abstraction for all commands in a project. I keep a template to use on each new project with all the best practice fixes I've found over the years. I keep my own documentation as comments for things I often forget about how to use make. I have the same for bash scripts too.

I like to also use the same commands in by build pipeline. It ensures I'm running the same commands as I do locally, with the added benefit of abstracting the deployment logic from what ever CI system you use.

Some issues I've found with this approach is having to install make on a build system, which these days is a slim docker container.

Some devs still run windows, but I think you can install some kind of equivalent.

francis-io··on Ask HN: Indoor air quality sensors and other IoT that's local-first and not DIY?
Where would you start if you knew nothing about electronics but wanted to create this as a way to learn?
francis-io··on My Overemployment Story
I'd love this, but I even have close friends who wouldn't want to have that stress.

If we got a critical mass of people to want this, things would change, but no company is going to change it's practices for just me.

francis-io··on My Overemployment Story
Twitter contractors got holiday pay? Maybe it's an American thing, but here in the UK I've never heard that. You either work or don't get paid.
francis-io··on Improving code review time
I have found that when you pair it's easy for both people to lose sight of some greater context. You become one big mind and become susceptible to as many blindspots as an individual.
francis-io··on The Golden Rule of Personal Finance
I can also recommend moneydashboard.com. I load in multiple banks and credit cards, it will update all my banking transactions via api into a central view. I can set a budget for each type of expense and it all just seems to work.
francis-io··on Why everything looks the same
I did cancel my delivery plan a while back and noticed you had to go via support. No excuse for this in 2022 with such a modern setup. Obviously it was to retain me as a customer.
francis-io··on Why everything looks the same
These days I try to avoid physical shops as much as possible. Here in the UK, we have a "supermarket" called Ocado. If you haven't heard of them, please look them up on Youtube[0]. They don't have any physical shops I know of, but have recently started stocking M&S products. They are known in the UK to usually be more expensive, but good quality. It might be the Whole Foods of the UK.

They run warehouses with a grid of rails and seem to be on a mission to automate as much of the logistics and delivery of products as possible. The website allows me to set up a regular weekly order, I can edit it up until the evening of the day before to add any last minute items. I think I pay £10 a month for unlimited deliveries over £40. Having someone bring a weekly food shop to your door for £2.50 is a great deal.

Not only is this a super easy to get food shopping done each week, I can do it from the comfort of my desk (great for when Retros get a little boring!). It also stops me impulse buying things.

I know I already have a December 23rd order coming full of Christmas food and I get to avoid the packed Christmas food shoppers and the depressing Christmas decorations and music in store (I'm a scrooge).

I don't want a better shopping experience, I want the best food, at the cheapest prices, delivered to me in a reliable way. I don't want to think about buying food any longer than I have to each week.

[0] https://youtu.be/ssZ_8cqfBlE

francis-io··on The minimum viable fan control script
I've some a similar thing with my NAS on a Supermicro X10 (I think) on Linux. I have had all kinds of trouble getting quiet fans on this board under Linux. I think it's a mix of BIOS fan control and other things that I ended up sinking days into trying to solve. Right now my solution is flaky at best, but eventually the fans spin down after a reboot.

Supermicro could be so good for "prosumers" but I feel like they are bogged down by historic garbage. I had to pay (crack) something in the BIOS just to use a feature.

francis-io··on A serverless architecture for high performance financial modelling
Yea, as I get better educated and more experienced at my job, I'm thinking more and more that the lessons of the past 5-10 years are less "serverless is the future" an more "the real gains are things like immutability for deployments and reproducibility". As a general rule, I try to reduce as many "moving parts" as possible.
francis-io··on Ask HN: Generalist contractors, what is your hourly rate?
in the uk, everyone wants to work on daily rates. 600pd-650pd as a devops engineer.

So, £75, or $86 an hour. This is 5 days a week, 40 hours a week. I bill around £14k a month and after taxes i walk away with about £7k a month.

francis-io··on How to pay your rent with your open source project (2020)
No one is forcing you to rent in a specific place. Go buy a flat or house yourself.
francis-io··on Ask HN: Depressed, need to leave web development, what can I do?
I think you have to take a break. Step back for a bit. When you come back, find out what really interested you in tech in the first place and follow that.

The fact you think 300+ people are applying to the same jobs means the market might be saturated with those skills. Do you think you might have let your own skill set stagnate?

francis-io··on Making podcasts from Project Gutenberg e-books (2021)
As someone who is neurodivergent, reading is exhausting. I like audiobooks played at 2x speed.
francis-io··on Being on call sucks
The problem with oncall teams that are different to the usual SRE/DevOps teams are the lack of understanding of the system. This can obviously be fixed with good documentation, but in reality, no one has good enough docs. The second problem is actually building that team with the skill needed. Someone with the skill to fix complex systems is not going to want to stick around as 1st line on call support.
francis-io··on GnuCash – Open-source personal and small-business accounting software
theres some third parties that give you an API directly I believe. Firefly III lists salt edge and nordigen.

https://docs.firefly-iii.org/data-importer/

francis-io··on EU Digital ID wallet is coming
"...reminding Lucy of her mandatory vaccination" is very chilling.
francis-io··on Ask HN: How does HN manage to be always online?
As someone who does this day to day, I think k8s is worth it for anything non-trivial. If I didn't already have this understanding, then it might be a different trade off.
francis-io··on Show HN: Terragen.dev – Automagically Generate Terraform for AWS
People have a finite amount of bandwidth to focus on certain things.

A DevOps Engineer should be a programmer focused on infrastructure, but we share toolkits.

francis-io··on Show HN: A friend and I spent 6 years making a simulation game, finally released
Looks great. I don't play games much, but when I do it's things like Factorio and Rimworld, so this looks really fun to me.

Does it run on Linux?

francis-io··on Plain Text Calendar
Have you tried https://github.com/bgregos/foreground or https://github.com/theunraveler/taskwarrior-web
francis-io··on A decade of dotfiles
This might show my ignorance, but can Nix replace something like asdf (https://github.com/asdf-vm/asdf)?
francis-io··on A decade of dotfiles
Thank you. As someone who uses containers a lot (even to run local programs, shout out to https://blog.jessfraz.com/post/docker-containers-on-the-desk...) this makes some sense to me.

I'm a little way into the Nix Pills document (https://nixos.org/guides/nix-pills/why-you-should-give-it-a-...) which seems to start the explanation from a place where I can understand.

francis-io··on A decade of dotfiles
No one asked, but I feel like I've been down this road before. Heavily customizing a system with obscure lines plucked from strangers dotfiles. These days I use VS Code and Firefox for almost everything.
francis-io··on A decade of dotfiles
Currently I use Ansible to deploy my dotfiles, along with anything else needed to setup a workstation. I keep seeing people mention Nix. Would it give me anything that Ansible and Git can't give me?
francis-io··on Long-Chain Omega-3 Fatty Acids Improve Brain Function, Structure in Older Adults (2014)
I also can't eat dairy or wheat for intolorence reasons. Its hard to live live a normal person sometimes. You try to date but can't go to a restaurant confidently (big cities are better though). Most sauces and prepped food have either wheat or dairy. Alcohol in in UK doesn't need an ingredients list either.

I would have sworn blind that I have a physical reaction to these two ingredients. I recently got prescribed some melatonin (it's only available on prescription in the UK) and noticed it had lactose in. I fought for the NHS to perscribe me my usual brand, which has worked fine for me in the past. When I looked, it had the same amount of lactose in as this new prescription.

This really shook me. I know the mind is powerful and can manifest physical symptoms, but to have been "tricking" my self for so long was very eye opening. I'm going to try to get someone to crush up and randomise the new and old meds to see if I can tell the difference blind.

I'm starting to think this has been a mental condition this whole time. I would have bet all I had that it was a real illness a week ago.

francis-io··on Long-Chain Omega-3 Fatty Acids Improve Brain Function, Structure in Older Adults (2014)
As childish as I know this sounds, as a white male in my early 30s, I don't really eat fish. I like the occasional can of tuna, but thats it.

It might be an aspergers thing with me about texture, but I don't like the bones. I also can't really eat solid fat on steaks for the same reason.

I think chia seeds have a good source of omega 3, along with good quality grass fed meat, but not close to optimal amounts. These days I supplement with whole foods, desiccated and/or freeze dried and put in pill form. The cronometer app is great for seeing a whole day breakdown and looking for deficiencies, which showed me nearly 0% daily omega 3 without supplementation.

I did hear somewhere that certain populations of people might not get the benefit of omega 3, and that the usually cited studies were done on populations with a long historical trend of eating mainly fish (I'm sorry, I don't have the study to hand, so I can't link it)

francis-io··on I Accidentally Deleted 7TB of Videos Before Going to Production
This was taught to me in my first linux admin job.

I was running commands manually to interact with files and databases, but was quickly shown that even just writing all the commands out, one by one gives room personally review and get a peer review, and also helps with typos. I could ask a colleague "I'm about to run all these commands on the DB, do you see any problem with this?". It also reduces the blame if things go wrong if it managed to pass approval by two engineers.

While I'm thinking back, another little tip I was told was to always put a "#" in front of any command I paste into a terminal. This stops accidentally copying a carriage return and executing the command.

francis-io··on Ask HN: What’s a good laptop for software development at around $2k?
The professional (T series) line of the Thinkpads are my go to.

I've been running ubuntu 20.04 for the past few years. You can have hot swap batteries and an inbuilt SIM slot if you choose. Not sure if the fingerprint is working (I didn't select that option) but everything else works flawlessly.

Side note: I have been maintaining an Ansible playbook for years now that sets up my developer workstation. I do know Ansible already, but I think it's a worthwhile weekend project if you are starting from scratch. You just need to be consistent and have all changes go through Ansible.

francis-io··on Lenovo announces the first Arm-based ThinkPad
I know nothing about ARM, but I think it's time to learn.

Am I right in saying you need to compile the OS and all applications to run on ARM? If so, I bet at least one thing I use daily wont work, and I don't want to commit to a laptop like this unless I know it will be a full replacement for my Intel machine.

Whats the state of this in Ubuntu?

← PreviousPage 2 of 5Next →