Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Fizzadar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
Fizzadar
2y ago
> “Pointlessramblings.com”? What a fitting name for a blog no one's reading – just like your stargazer count suggests. The only thing "pointless" here is trying to find any relevance in your GitHub contributions while thos
92.
▲
by
Fizzadar
2y ago
Twice! First through who’s hiring fresh out of university in 2013 and more recently via a submission (Kanmail).
93.
▲
by
Fizzadar
2y ago
pyinfra supports executing on the local machine (@local connector: https://docs.pyinfra.com/en/2.x/connectors/local.html ). If you store the operation files on the machine that’s basically an agent when execut
94.
▲
by
Fizzadar
2y ago
Definitely possible! Not familiar with the ansible Python API so partially guessing but the pyinfra op could yield a callback function that then calls ansible at execution time. Alternatively you could just yield ansible cli and execute fro
95.
▲
by
Fizzadar
2y ago
Yes! https://docs.pyinfra.com/en/next/performance.html
96.
▲
by
Fizzadar
2y ago
Not rude at all :) When I first started (not sure if this is still the case?) Ansible would push Python code to the target machine and execute there, meaning it wasn’t actually agentless. I always thought of pyinfra as copying what a human
97.
▲
by
Fizzadar
2y ago
Heh yeah this is very true, I updated the perf test repo earlier this year to confirm https://docs.pyinfra.com/en/next/performance.html
98.
▲
by
Fizzadar
2y ago
I would love to see any macOS facts/operation code if you can/would be willing to share! We also managed a bunch of macs using pyinfra but mostly stuck to shell commands.
99.
▲
by
Fizzadar
2y ago
Extremely aware of this (see pyinstaller attempt): https://github.com/pyinfra-dev/pyinfra/pull/768 ) I chose Python because it’s what I was writing all day back in 2015. Which makes me realise pyinfra is almos
100.
▲
by
Fizzadar
2y ago
Conceptually I think it’s much nicer to define the state of the system rather than the steps to get there, and tool of choice figures it out. But there’s always edge cases and situations that doesn’t work which is why pyinfra supports both
101.
▲
by
Fizzadar
2y ago
Interesting, not heard of CDK before! Kind of similar? As long as the language is Python I suppose! Would be possible to integrate with other languages too I guess, not something I’ve ever looked into though. Totally agree on templating whi
102.
▲
by
Fizzadar
2y ago
Yes... and no. It depends on the operation (the docs explicitly state if an operation is _not_ idempotent "stateless operation"). Operations are either: - state definitions, "ensure this apt package is installed" (apt.pa
103.
▲
by
Fizzadar
2y ago
I think I tried to shy away from specifically being "Ansible does this bad so pyinfra does this" and instead focus on the features that differentiate like "Instant debugging with realtime stdin/stdout/stderr output
104.
▲
by
Fizzadar
2y ago
> Agree with those saying the landing page needs work. Any & all feedback much appreciated! It's basically just a very rough copy of the README at the moment.
105.
▲
by
Fizzadar
2y ago
This alone is the entire reason I started working on pyinfra, loops in YAML is just evil.
106.
▲
by
Fizzadar
2y ago
You'd need to create the EC2 instance outside of pyinfra (ie in Terraform). This could be done as part of the inventory itself, but wouldn't self-delete afterwards. If using Terraform there's a connector that allows you to pl
107.
▲
by
Fizzadar
2y ago
> It is a configuration management tool, like Ansible? Yes > Is it meant for running one-off commands across the infrastructure, like Salt? Also yes. > It says it integrates with Terraform, so it's not a provisioning tool... T
108.
▲
by
Fizzadar
2y ago
Hey all, I'm the creator/primary maintainer of pyinfra! Super excited (a little terrified) to see this on the frontpage, happy to answer any questions :) I also hang out on the Matrix room: https://matrix.to/#/
109.
▲
by
Fizzadar
2y ago
Heh, saw the UK in the headline and expected another leap towards our 1984 inspired future. Nice to see a change that actually benefits us that live here! Small step in the right direction.
110.
▲
Ceph SQLite VFS
(docs.ceph.com)
16 points
by
Fizzadar
3y ago
|
2 comments
111.
▲
AT&T confirms data breach and resets customer passcodes
(theverge.com)
60 points
by
Fizzadar
3y ago
|
21 comments
112.
▲
by
Fizzadar
3y ago
Both Terraform and Pulumi differ slightly I think provisioning cloud resources - pyinfra can be used alongside to setup instances/etc, I’ve used the pyinfra/Terraform combo with great success. For ansible/chef, etc the main r
113.
▲
by
Fizzadar
3y ago
Missed this comment apologies! - ops are (mostly) declarative, but some (server.shell) will always execute the command given - inventory is just that, basically a list of hosts to target plus associated data, docs page: https://d
114.
▲
by
Fizzadar
3y ago
Thank you for posting this! Happy to answer any questions anyone has :)
115.
▲
by
Fizzadar
3y ago
I say all this as a MacBook, iPhone and AirPods user (:
116.
▲
by
Fizzadar
3y ago
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.
117.
▲
Everything Is an Abstraction
(pointlessramblings.com)
1 points
by
Fizzadar
3y ago
|
0 comments
118.
▲
by
Fizzadar
3y ago
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
119.
▲
‘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
|
0 comments
120.
▲
by
Fizzadar
3y ago
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.
More ›