HNHacker News
TopNewBestAskShowJobs

nrvn

1,577 karma · joined May 15, 2019

submissionscomments
nrvn··on Moving from Macbook to Linux
Before I moved to macbook in 2014 I had had pretty positive experience with linux on the desktop.

I don’t want to disclose the reasons for that move since here is discussed the opposite but I have a question.

I absolutely loved my laptop and dwm instead of bloated desktop environments and I would be happy to move back to this universe.

BUT.

I got trapped to the apple’s ecosystem. I find it convenient to be able to share copy-paste buffer between my devices at hand. I find it useful that when I take a photo it gets uploaded somewhere and then I can see it on my laptop screen. Reminders, notes, music, phone backups.

I have a 7 year old tablet that still receives critical OS security updates.

If something turns my laptop, phone or tablet to ashes I can get a new one and get it back to the working condition pretty quickly. Laptop will require a bit more hassle because I don’t do backups and I haven’t created a provisioning script for it but still it is a matter of hours.

I don’t care about the logo and the company behind tools that I use. I just want a tool that fits my needs best and allows me to focus on things that are really important for me.

I want a phone/tablet that will still get official love and support from the vendor even 7 years after release.

I want my day to day getting things done be synced across my devices flawlessly.

I want smooth user experience and I don’t want spend my motherfucking time on choosing across multiple options related to the tools I use. Or at lease I am ready to spend some time in advance in order to forget about all that crap for a long while to focus on really interesting stuff.

Apple is very good at selling stuff to you. They are effing effective. Once you get one of their devices you will get used to it and will try more. And then out of a sudden you are surrounded by their shit. And it seems like you are happy about it.

Linux is fun. And the open source is fun. I am allergic to Android to the point of disgust. But what is the alternative to apple’s “ecosystem” in the open source world? Like phone, tablet and laptop/desktop + cloud sync among all three. I am ready to jump. Just tell me where.

nrvn··on Validating Kubernetes YAML for best practice and policies
using a "real" Turing complete language for configuration is overkill.

But there are two promising projects that could finally make a difference (at least one of them).

https://cuelang.org

https://dhall-lang.org

nrvn··on How we got our AWS bill to around 2% of revenue
Words of sense are rare to be heard.

There has been a lot of comparisons and benchmarks and there will be even more.

After some point monthly bills grow to the scale where it makes perfect sense to invest money and time into your own infra. Yet People will still be throwing money into the hype oven.

nrvn··on Updating Dictionary in Python 3.9
There should be one-- and preferably only one --obvious way to do it.

“There is not too many ways to initialize and merge dicts in python. Let’s add one more!”

Which one is idiomatic now?

Imagine a large codebase where all these possible ways of doing one thing are inconsistent and misaligned. I remember myself replacing % string format notation with .format() everywhere. Just for the sake of consistency. And then they introduced one more way to format strings...

[0]: https://www.python.org/dev/peps/pep-0584/#motivation

nrvn··on YAML: Probably not so great after all
The points in the article are pretty solid.

But here is a big question.

Imagine you can influence the switch of the configuration formats for projects like Ansible, Kubernetes, Docker Compose, AWS CloudFormation, Google Cloud Deployment Manager, et al.

You can take any project with huge user base and all of those project will have one thing in common: JSON-based configuration with an option to write this configuration in YAML.

Since basically anyone talking YAML in the context of JSON is talking about a JSON superset.

So here's the task: propose a JSON-compatible alternative to YAML.

Things to keep in mind:

- backwards compatibility

- easy migration from YAML to a new format

- full JSON compatibility

- relatively cheap to get supported by the project of interest.

← PreviousPage 6 of 6