HNHacker News
TopNewBestAskShowJobs

usrme

1,373 karma · joined November 8, 2016

https://usrme.xyz/
submissionscomments
usrme··on Where has all the Chartreuse gone?
I once tried a cocktail based on chartreuse and it was definitely something. Can't say I would recommend anything based on chartreuse to anyone. It's a really, really peculiar taste, though if you are adventurous then by all means!
usrme··on Google Python Style Guide
To those that wish to automate a subset of these conventions, there is a tool called Sourcery[1] that I, personally, am a huge fan of! Not only does it have a large set of default rules[2], but it can also allow you to write your own rules that may be specific to your team or organization, and as mentioned it can enable you to follow Google's Python style guide as well[3].

There are some refactorings that Sourcery suggest that I don't agree with myself, namely the usage of 'contextlib.suppress'[4] as I don't like to introduce an additional 'import' statement just to do something so trivial. I wish Sourcery would add the relevance of having possibly too many 'import' statements as a heuristic.

---

[1]: https://sourcery.ai/

[2]: https://docs.sourcery.ai/Reference/Default-Rules/ (expand the sub-pages)

[3]: https://docs.sourcery.ai/Reference/Optional-Rules/gpsg/

[4]: https://docs.sourcery.ai/Reference/Default-Rules/refactoring...

usrme··on Gofumpt: A stricter gofmt
In the roadmap section[1] the author says it's more of an experiment with a possibility that some of the rules might end up in the original 'gofmt' tool. While I agree that Go having a de facto formatter built in is wonderful, there are some absolutely fantastic additions in 'gofumpt' that I do hope wind up in 'gofmt'

---

[1]: https://github.com/mvdan/gofumpt#roadmap

usrme··on Ask HN: Programs that saved you 100 hours? (2022 edition)
You are very welcome! Please spread the word about this magical bit of software to anyone else using Ansible. Together we can make iterating on Ansible configurations great again!
usrme··on Ask HN: Programs that saved you 100 hours? (2022 edition)
If you use Ansible at any larger amount, then you're doing a disservice to yourself if you're not using Mitogen[1][2]. The amount of waiting it has spared me is innumerable at this point.

---

[1]: https://scribe.rip/@einarum/speed-up-ansible-with-mitogen-b3...

[2]: https://mitogen.networkgenomics.com/ansible_detailed.html

usrme··on What “work” looks like
I, personally, feel that instead of two it would need to be three to have a more diverse set of opinions and to break any stalemates. I've worked for many years with just one other person and the number of times where we had ideological differences and not enough exposure to alternatives are innumerable.
usrme··on Pocket Casts goes open source
These same stats are also present in Podcast Addict[1]! As an aside: my own listening stats show that since 2017 I've listened to 149 days worth of podcasts.

---

[1]: https://www.podcastaddict.com/

usrme··on Pyinfra automates infrastructure super fast at scale
I'm on 'ansible==5.5.0' / 'ansible-core==2.12.3' and am using Mitogen with no issues whatsoever.
usrme··on Pyinfra automates infrastructure super fast at scale
At what point are you just re-inventing what Ansible already does if you're going down the DSL path? I sometimes feel like I'm in the minority, but I truly do like Ansible and if you slap Mitogen[1] in front of it makes the whole process even more enjoyable!

I'm honestly trying to understand whether this hating on Ansible is more of a bandwagon thing (similar to how people shit on the Python dependency management ecosystem) and stems from having bad experiences that have completely turned them off of it.

Honest questions in response to your points:

1. What are you deploying where you would need static analysis?

2. If you did end up writing your own DSL on top of Python at what point would you concede that it's probably better to use someone's else creation as opposed to forever iterating on your own thing for the sake of using your own thing?

3. Why would you want "custom arbitrary operations" and how custom are they that Ansible and Jinja2 can't do that for you in usage patterns that are far more common than your own creation would be?

---

[1]: https://mitogen.networkgenomics.com/ansible_detailed.html

usrme··on Write better error messages
Here's another link for how to write useful error messages: https://www.bbc.co.uk/gel/features/how-to-write-useful-error....
usrme··on Lychee – Self-hosted photo-management done right
I haven't (yet) used this myself, but it seems Lychee is also available as an application[1] that can be installed for those using YunoHost[2]. This should make trying this out even simpler.

---

[1]: https://yunohost.org/en/app_lychee

[2]: https://yunohost.org/en/whatsyunohost

usrme··on Dating Other Task Managers
Actually, we're right in the same ballpark as our son takes his sweet time to fall asleep, and we are in bed by 22:00 at the latest ourselves, so we want to start the process earlier to have some time of our own.
usrme··on Show HN: Refurb – A tool for refurbishing and modernizing Python codebases
Are the authors aware of Sourcery[^1]? I've been using it for a long time to clean up and modernize my Python codebases, and am wondering how Refurb can either supplant Sourcery or augment my usage of it?

---

[^1]: https://sourcery.ai/

usrme··on Linux by No Starch Press
While I definitely won't be picking up the entire bundle, the titles "How Linux Works" and "Practical Linux Forensics" pique my interest... Has anyone read them and have any thoughts about them?
usrme··on Hacker News stylized as a retro 90s macOS desktop
Love this to bits! One minor improvement is to add spacing between the user name and the "logout" text. Based on my own user name "usrme": https://imgur.com/M8PHS6g
usrme··on Show HN: I made a web-based notepad with a built in unit calculator
Might not be as comprehensive as Soulver, but here's something I've been using in a browser to fiddle with: https://cruncher.io/.
usrme··on Show HN: Scribe, a Go library for writing, running, and generating CI pipelines
Congratulations on releasing! What are the key differences between this and something like Dagger[1]?

---

[1]: https://github.com/dagger/dagger

usrme··on Job interview questions engineers should ask, but don't
I was actually recently discouraged from applying to GitLab after seeing their public on-call weekly reliability newsletter[1]. I've been on-call in all of my positions, but the level of incidents they seem to go through in a week seems like it would be very stressful. This isn't to throw shade on GitLab though, I absolutely adore what they do and use it on a daily basis <3

---

[1]: https://gitlab.com/gitlab-com/gl-infra/reliability/-/issues/...

usrme··on Dentistry is less scientific and more gratuitous than people think (2019)
If you find yourself relying on Archive.today a lot then I also recommended the "Bypass Paywalls Clean" add-on for Firefox: https://gitlab.com/magnolia1234/bypass-paywalls-firefox-clea....
usrme··on Show HN: Offline voice messages transcription in Signal Desktop
I always thought this was an iPhone feature, not strictly WhatsApp. Back when I used WhatsApp I tried this with my Android phone and couldn't get it to work. Definitely possible that I overlooked something crucial though.
usrme··on Architecture Notes: Datasette
Thanks for doing this! The only things I noticed is that in this image (https://architecturenotes.co/content/images/2022/05/Datasett...) the word "acquire" is misspelled and near the end GitHub is written as "Github" with incorrect casing, despite it being correct earlier on.
usrme··on Show HN: Hatch 1.0.0 – Modern, extensible Python project management
Where does the difference between the PyPI release, which is 1.0.0, and the GitHub release, which is supposedly 0.23.0, come from?
usrme··on Effective Go
I'm just starting out with Go, but how has the official guide[1] failed you? Genuinely curious as it seems to cover both new installations and the management of multiple versions.

---

[1]: https://go.dev/doc/install

usrme··on Learn Go with Tests
As someone who has just started learning Go I'll definitely take this on. Kudos for writing a book, definitely something to be proud of!
usrme··on Ask HN: What are you using for a RSS Reader?
I've been using the free version of Feedly for what I think is around 10 years. It does everything that I need it to, though I may not be enough of a power user for that to matter to anyone else, and I've never once felt that they're shoving the paid version down my throat.

There have been times where the service was down, but it's been extremely rare, and luckily RSS feeds aren't that critical to me.

usrme··on Show HN: HN Avatars in 357 bytes
The other way is to just navigate to your own profile page and apply the script there.
usrme··on Show HN: HN Avatars in 357 bytes
There's actually a slight difference between the golfed and un-golfed version: the un-golfed adds the avatar to the beginning of the line with the username, whereas the golfed version adds it right next to the username. I actually find it to be more visually appealing at the beginning of the line, so I'm sticking with that in my Greasemonkey script.

To anyone interested, I've added links to how the un-golfed version looks with Dark Reader enabled[1] and how it looks without Dark Reader[2]. To clarify, I've set my zoom level for Hacker News to 150% as I find the default to not be conducive to reading.

---

[1]: https://i.imgur.com/hw9pn0l.png

[2]: https://i.imgur.com/z3jV2NZ.png

usrme··on Putin may be planning to pummel Kyiv into submission
I really wish Putin would give a long and hard think over the letter[1] that Nikita Khrushchev sent to John F. Kennedy during the Cuban Missile Crisis. An excerpt:

"If, however, you have not lost your self-control and sensibly conceive what this might lead to, then, Mr. President, *we and you ought not now to pull on the ends of the rope in which you have tied the knot of war, because the more the two of us pull, the tighter that knot will be tied*. And a moment may come when that knot will be tied so tight that even he who tied it will not have the strength to untie it, and then it will be necessary to cut that knot, and what that would mean is not for me to explain to you, because you yourself understand perfectly of what terrible forces our countries dispose."

---

[1]: https://microsites.jfklibrary.org/cmc/oct26/doc4.html

usrme··on Show HN: Berkeley Mono Typeface
Wholly agreed in regards to the author's website, it's absolutely fantastic!
usrme··on Finland or Sweden joining NATO would spark Russian response, Russia warns
At this point is there anything substantive any country could do at all that wouldn't irritate Russia? It seems as if the powers that be have become so utterly delicate that even something as innocuous as Sweden joining NATO is deemed to be advancing far beyond the "proper" limits.
← PreviousPage 3 of 6Next →