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

151.

Show HN: Compare compute instance pricing and types from all the major providers(providers.stacksetup.com ↗)

2 points · by Fizzadar · 5y ago · discuss

comment 5y ago · link · parent

There's pywebview (https://github.com/r0x0r/pywebview/) which is a Python lib that uses whatever native webview implementation exists. Obviously means some compatibility work between each OS, but gives out very small apps what work very well on the whole. I'm using it on my cross platform email client (https://kanmail.io).

comment 5y ago · link · parent

I've been using NetGuard (https://netguard.me/) for this purpose for a few years now - works great for blocking apps off from the internet entirely but is/was a huge battery drain filtering all connections (blocklisting). Will definitely give this a go!

Edit: looks very much like this is based on Netguard or borrows some of its code - near identical settings/etc.

comment 5y ago · link · parent

Even disabled, if the other party has them enabled Apple still have access to that content.

comment 5y ago · link · parent

Aha, brings back memories. Had to implement SAML login as a Service Provider once - a true abomination of a protocol, will never go near it again, and that was the easier side of things.

comment 5y ago · link · parent

SSH can be quicker, I believe ansibles use of SSH processes is more the issue. An old but still relevant benchmark exists in my pyinfra project which uses SSH (amongst other protocols) but a Python implementation, and its significantly quicker and more scalable than ansible: http://docs.pyinfra.com/en/1.x/performance.html

comment 5y ago · link · parent

There's pyinfra (https://github.com/Fizzadar/pyinfra) if you like Python (disclaimer: I started the project), heavily inspired by Ansible just without the yaml/jinja2 hybrid stuff.

comment 5y ago · link · parent

Just released this major update to pyinfra, which has been enjoying a growth in popularity and new contributions <3.

159.

Show HN: Pyinfra v1.4(github.com ↗)

3 points · by Fizzadar · 5y ago · 3 comments

comment 5y ago · link · parent

This has reminded me of a weekend project I made that compares AWS/Azure/etc in a similar table (https://providers.stacksetup.com/).

comment 5y ago · link · parent

There is also "Swaggy Stocks" which tracks this, as well as a bunch of othere WSB related stuff! https://swaggystocks.com/dashboard/wallstreetbets/ticker-sen...

162.

Replacing ReadTheDocs with GitHub(pointlessramblings.com ↗)

1 points · by Fizzadar · 6y ago · discuss

comment 6y ago · link · parent

Did a double take at first reading the post as if from a 3rd party but on the ArcType blog - then saw the original link at the bottom!

While the ArcType screenshot looks cool the main website is absolutely unusable - I counted 7+mb of JavaScript before simply rendering "ERROR".

comment 6y ago · link · parent

Did not know about the pricing change (no email or any attempted communication it seems). Will be moving to GH actions immediately, bye bye Travis.

comment 6y ago · link · parent

I don't think it's impossible to have (relatively) lightweight hybrid apps. The article focuses entirely on electron, which ships a whole browser. There are other options, such as pywebview, that use the system native browser. Still means the underlying JS bundle has to perform, which goes the same for websites too.

That said, I normally seek native apps where possible (ripcord for slack, sublime), but that's also pretty hipocrytical of me ref Kanmail!

comment 6y ago · link · parent

I guess this means no updating to 5 or Big Sur then, I'll be keeping the kernel extension, thank you Apple.

comment 6y ago · link · parent

I've toyed around with this idea before[1], and am v.excited to see Multi.app as a packaged up/refined version, awesome stuff.

[1] - https://pointlessramblings.com/posts/why-always-electron/

comment 6y ago · link · parent

Came here to say this, in particular:

> This problem was never root caused, though we suspect an issue in the Celery workers themselves and not RabbitMQ.

So the problem wasn't Rabbit itself, but the usage/lack of understanding.

comment 6y ago · link · parent

There's pyinfra (https://pyinfra.com, full disclosure: I built it). Ansible, Salt have been mentioned already. Also CFEngine and Rudder might be worth a look.

comment 6y ago · link · parent

The saddest part about cases like this is that they in no way surprise me anymore.

171.

On the Consolidation of the Web(pointlessramblings.com ↗)

3 points · by Fizzadar · 6y ago · discuss

comment 6y ago · link · parent

> Is there any way to attach the deployement scenario in a Python object ?

It is possible to use pyinfra as a Python API, but this is not currently officially supported/may not follow semver, example: https://github.com/Fizzadar/pyinfra/blob/master/examples/api....

> How do I make a scenario pluggable? Reusable? Introspectable?

pyinfra comes with builtin support for packaging "deploys" as Python packages, see: https://pyinfra.readthedocs.io/en/v0.14.5/api/deploys.html, an example: https://github.com/Fizzadar/pyinfra-docker.

comment 6y ago · link · parent

I've not used salt very much at all but I believe both tools provide similar functionality. pyinfra is only agentless vs. salt can do both which makes it more scalable at huge numbers of hosts. The major difference is the configuration in Python vs YAML, which I personally think is a big advantage (but can see arguments the other way too)!

comment 6y ago · link · parent

So pyinfra itself won't do this - but because inventory/etc is written in Python it's possible to easily achieve this by using boto3 directly in the inventory file.

The use of Python for the inventory + deploy code makes it possible to integrate pyinfra with almost any external tool, without specific support in pyinfra (that's the theory, at least!).

comment 6y ago · link · parent

Very much this - pyinfra was heavily inspired by both Fabric & Ansible. Beyond POSIX, pyinfra now supports winrm (experimental) - https://pyinfra.readthedocs.io/en/v0.14.5/connectors.html#wi....

comment 6y ago · link · parent

It executes commands remotely, so no python/etc needed on the targets, just a shell!

comment 6y ago · link · parent

I wrote pyinfra! If anyone has questions/suggestions/issues I'm more than happy to answer :)

comment 6y ago · link · parent

I'm a big fan of this - to me containers is another hype train like cloud and serverless. There absolutely are good use-cases (we run a number of K8s clusters with great success at work) but it's absolutely not the solution to all (app deployment) problems. As said in the article, I think complex systems like K8s can often have a detrimental effect on productivity. KISS.

comment 6y ago · link · parent

I used to live in London and still read the subreddit regularly - it's nice to keep in the loop with London redditors. (Also now use r/Brighton).
1
567
14