Better HN
topnewbestaskshowjobs
Log inSign up

Fizzadar

1,319 karma · joined Jan 11, 2012 (14y ago) · 402 submissions

Infrastructure & DevOps @ Beeper.

Blog: pointlessramblings.com Email: nick@<username>.com

Submissions

comment 2y ago · link · parent

Thank you for posting this! Happy to answer any questions anyone has :)

comment 2y ago · link · parent

I say all this as a MacBook, iPhone and AirPods user (:

comment 2y ago · link · parent

Honestly Apple’s response to the DMA changes is pathetic, they’re acting like a petulant child. I really hope the EU throws the book at them. Will believe it when I see it, fingers crossed.

124.

Everything Is an Abstraction(pointlessramblings.com ↗)

1 points · by Fizzadar · 3y ago · discuss

comment 3y ago · link · parent

Really good write up. Been using gevent in pyinfra[1] for years and swear by it. Had some pains with setup, and am usually very wary of such magic, but it’s just really solid. Mostly write go these days though which has taken the shine off for sure!

Twisted, however, is a different beast. Have spent s decent chunk of time working on Matrix synapse homeserver[2], written in twisted, and oh my it just sucks.

[1] https://github.com/Fizzadar/pyinfra

[2] https://github.com/matrix-org/synapse

126.

‘If I left, I’d have to go without a word’: how I escaped China’s mass arrests(theguardian.com ↗)

13 points · by Fizzadar · 3y ago · discuss

comment 3y ago · link · parent

Another huge Tinc fan here. Used it in prod for 5 or so years before switching to zerotier for easier management as we grew. Tinc is rock solid and dead easy to configure.

comment 3y ago · link · parent

Used to live a 15 minute walk away with my (now) wife and we would spend every Saturday walking through different routes ending up at The Stag (great pub). Such a wonderful place, really felt like the countryside yet in the city… fond memories.

comment 4y ago · link · parent

Yes! I know of people that have connected to systems without any traditional shell/unix stuff. You can change the shell (or have none) used if needed using the global `_shell_executable` global arg (https://docs.pyinfra.com/en/2.x/arguments.html#shell-control...).

Most operations rely on various Linux/similar tools but the `server.shell` operation plus shell flag above should get you connecting and executing commands. Please do reach out if this doesn’t work for your setup!

comment 4y ago · link · parent

I wrote pyinfra so am biased but we used it at my previous company on a fleet of roughly 1.5k physical boxes (including deploys spanning all of them at once) extensively, so it scales to that level well. We had probably 30 groups within that each with their own deployments as well and all tied together using a single Jenkins box.

I would love to test beyond that but haven’t had the opportunity sadly! Performance and scale is a headline feature so will always look to push this further.

comment 4y ago · link · parent

> Only downside is I couldn't make it work with my SSH agent, but that might be a problem with Paramiko and not Pyinfra.

Interested to hear more about this, might be something that can be added to paramiko (or on top of).

comment 4y ago · link · parent

Way back when I started pyinfra my only goal was performance I recall turning a 40 minute ansible run on 500ish hosts into 5 minutes. Big caveat: anecdotal and pretty old information there.

It’s been too long since I did perf testing but I still believe pyinfra Will significantly outperform ansible for the same tasks, you’ll have to try it ;) (also if perf is not good please raise an issue perf is absolutely a feature I wish to maintain)

comment 4y ago · link · parent

Hey all, I (& many amazing contributors) built pyinfra! Crazy to see it on the homepage I’ll do my best to answer any questions!

comment 4y ago · link · parent

Not sure where this is from but there's a critical part of the quote missing here:

> Every app that requests access to restricted scope Google user’s data and has the ability to access data from or through a third party server is required to go through a security assessment

An email client that only transmits data to/from Google's own IMAP/SMTP servers does not have the ability to access data through any third party server, and thus does not require the audit.

Source: https://support.google.com/cloud/answer/9110914?hl=en#zippy=...

comment 4y ago · link · parent

The OAuth verification FAQs state:

> Ensure your app complies with the Google APIs Terms of Service, Google's API Services User Data Policy, and the Additional Requirements for Specific Scopes, which includes undergoing an annual security assessment if your app accesses restricted scope Google users data from or through a third-party server.

In the case of an email client data is transmitted directly from/to Google's own IMAP/SMTP servers and not a third party, and is thus exempt from the assessment.

comment 4y ago · link · parent

I’ve gone through this process for my email client Kanmail [1]. The third party audit is not required for email clients that run on end users computers and store credentials locally.

By the looks of it Pegasus falls into this category and should not have any issues getting approved (still need the YT video and such but the Google team are surprisingly responsive and helpful in my experience).

[1] https://kanmail.io

comment 4y ago · link · parent

Author here happy to answer any questions about pyinfra!

comment 4y ago · link · parent

I actually find it better in recent times! Gmails spam filter has become noticeably worse for me (false positives and false negatives) whilst Fastmails is OK. Doesn’t catch everything but it never puts legit stuff into spam either.

139.

Show HN: pyinfra v2(github.com ↗)

4 points · by Fizzadar · 4y ago · 2 comments

comment 4y ago · link · parent

Thank you!

So far the project hasn't cost anything directly financial, just my time which I intend to keep putting into the project because I enjoy it :). I use pyinfra day to day and it's great to see others getting use out of it!

There's a small but growing list of excellent contributors who really help drive things along and I'd love to grow that. A lot of time I put into the project recently and going onward is more around documentation and community to help with this.

I suppose another thing to note here is at it's core pyinfra is a pretty small codebase that doesn't require massive (time/money) effort to work on. The majority of code is in the operations themselves which I don't foresee expanding much (in favor of 3rd party packages).

Hope this provides some detail!

comment 4y ago · link · parent

(I wrote pyinfra): So nice to see pyinfra on HN, happy to answer any questions!

comment 4y ago · link · parent

Does this mean running a VPC in each AZ connected via Transit Gateway is 100% cheaper than a single VPC w/subnets in each AZ?!

Regularly see EC2 interzone account for 1/3 of EC2 cost this would be a huge win if so (albeit totally ridiculous).

143.

Tears in the Rain: The 2002 Überlingen midair collision(admiralcloudberg.medium.com ↗)

19 points · by Fizzadar · 4y ago · 3 comments

144.

Ssort: Python Source Code Sorter(github.com ↗)

2 points · by Fizzadar · 4y ago · discuss

comment 4y ago · link · parent

Fascinating story that highlights the issues with privatised transport systems (or worse: mixed private/public). Reminds me of the clusterfuck that is the British rail network.

That said, the Northern and Central tube lines (London) are often crowded/hellish like this and are public, I dread to think how awful the tube would become if privatised!

comment 4y ago · link · parent

I’m building a desktop email client [0] that has $45 lifetime licenses. Made to scratch my own itch I’ve been using it as my only client for 4 years now, barely makes any money though!

[0] https://kanmail.io

comment 4y ago · link · parent

Go! Dabbled a bit this year (https://github.com/Fizzadar/clash-prometheus-exporter) and looking forward to getting into it properly this year.

comment 4y ago · link · parent

Totally agree, I’ve always insisted myself and/or my team are called “infrastructure”[1], who provide the platform for the rest of engineering to deploy stuff to (devops). But when hiring for this team, have always used devops as the title because it brings in the right type of candidates.

[1] platform is probably a better name :)

comment 5y ago · link · parent

I use pyinstaller for my Kanmail email client [1] and it’s fantastic, but at creating Mac app bundles or Windows exes. Tried making actual standalone binaries for another project and, as others have mentioned, they’re incredibly slow to startup.

Still, I am a huge fan of the project and it makes it possible to make webview desktop “apps” (like or hate them) with Python.

[1] https://kanmail.io

1
456
14