Better HN
topnewbestaskshowjobs
Log inSign up

qbasic_forever

10,505 karma · joined Feb 3, 2021 (5y ago) · 2,505 submissions

Submissions

comment 4y ago · link · parent

k8s ecosystem tools are fast changing and native package repos are woefully out of date. Minikube in particular has a habit of just straight up breaking and requires a lot of reading long github issues only to realize there's a fix in a version just pushed 24 hours ago.

comment 4y ago · link · parent

Skaffold is in my experience the best tool in this space, but there are ton of promising options. There's a really nice VS Code plugin from google that basically adds a whole workflow based on skaffold to the IDE: https://cloud.google.com/code/docs/vscode or https://marketplace.visualstudio.com/items?itemName=GoogleCl... Despite a lot of focus on Google's hosted k8s offersings, the cloud code extension happily works with minikube and other local clusters.

comment 4y ago · link · parent

It's a frankenstein system of provisioning though. You have to write a config file in Ruby and embed bash scripts, which may or may not do things like invoke ansible scripts (written in YAML). The layers of complexity are immense, and that's before you have to start janitoring virtualbox's always half broken state. The inner loop of change vagrant config -> see result in VM is painfully slow too, waiting for the VM to tear down and setup again.

Docker is much, much simpler. Write a Dockerfile that's mostly just bash or shell code. Build and run in seconds to immediately see the results. Once it's working push the container image to a public registry and you can distribute it to anything.

comment 4y ago · link · parent

IMHO with fly.io their use of containers is more for the dev experience. It's incredibly easy and popular to whip up a Dockerfile, test it locally, ship it to a registry, etc. Anyone can learn the Dockerfile syntax and be productive with it in an afternoon.

The tooling for proper VM creation on the other hand is in the stone-age comparatively--there are just a few tools like packer or a frankenstein of ansible scripts and neither are as nice or easy as Dockerfile creation.

comment 4y ago · link · parent

This has a little auth system with web UI where you can login in, create users, give them access to certain subdomains, etc. for a simple single sign on experience. Traefik and Caddy just give you the reverse proxy and auth but none of the user management or login UI.

comment 4y ago · link · parent

It's database-backed so not really a static site generator. Think of it more like a Wordpress competitor--it's a nice CMS and publishing platform you can host yourself or pay someone to use a hosted version. Ghost is known for having a great editor with a huge focus on ease of writing. Lots of bloggers and writers swear by it.

comment 4y ago · link · parent

The Corsi-Rosenthal design is legit--it uses paper filters which are quiet effective at removing pollutants from the air in a few air changes.

It's the filter-less / ion / electrostatic air cleaners that have quite questionable or non-existent air filtering qualities.

comment 4y ago · link · parent

The movie came out 15 years later and I doubt anyone remembered or knew about titanium balls falling on New Zealand. Spaceballs was always meant to be a direct parody of Star Wars.

I remember from that time people were more freaked out about Skylab falling down to earth--there were novelty t-shirts with a big target and "Skylab target" printed on them, all the late night TV hosts joked about it, etc. Skylab falling back to earth was a big event: https://www.youtube.com/watch?v=zoVXuKQ__0s

comment 4y ago · link · parent

In the US unauthorized access of a private system, particularly with financial records or other protected data, is a crime: https://www.law.cornell.edu/uscode/text/18/1030 Doesn't matter how you got access, it just matters that you did it. It is very broad and very vague, but a lot of hackers in the 90's were put in federal prison for some time under this and similar laws.

I would stop posting about this on the internet.

comment 4y ago · link · parent

Yeah the whole k8s ingress world is a moving target that has changed substantially even in the last year or two. I don't blame you for not spending a ton of time on it. Caddy is still an awesome option to run inside a pod that needs to have a simple static file server, do some reverse proxying to services in the pod, etc.

comment 4y ago · link · parent

In the context of kubernetes ingress caddy isn't really there yet, at least compared to nginx (which has two major k8s ingress implementations, one maintained by the core k8s devs themselves).

comment 4y ago · link · parent

I don't have any extra users, other than like a few oauth app keys for random integrations. I just use it for my personal gmail and custom domain, and (unfortunately) all of my Android purchase history over a decade plus of mobile phone usage. Everything seems to be working just as before.

comment 4y ago · link · parent

I seriously doubt GSuite legacy was a huge spam vector. You still have to send mail through Google's gmail infrastructure and be beholden to all the spam, abuse, etc. mitigations in place there. GCE is probably a bigger source of spam with people spinning up a VM, cranking out millions of SMTP requests, and dipping out.

comment 4y ago · link · parent

Oh I was, and I still have never forgiven them for it lol.

comment 4y ago · link · parent

Just moved my legacy plan over to the 'new' personal use/free plan and it seems fine. Good grief how this wasn't the plan from the very start is just beyond me. I hope the complete trashing of trust and perception with the earliest and most tech connected users was worth it, Google.

comment 4y ago · link · parent

But that's the opposite of what's being argued here. Their claim is that pulling down package 'ansible' should only give you the ansible binary, not ansible binary plus all the plugins and stuff to use the tool and ecosystem.

comment 4y ago · link · parent

Should users care?

comment 4y ago · link · parent

When would you ever want to install just the core without any plugins? It seems like what they have now, 'pip install ansible' and you get a working distribution, is exactly what users expect.

comment 4y ago · link · parent

For Go start with A Tour of Go (https://go.dev/tour/welcome/1) and then read Effective Go from start to finish (https://go.dev/doc/effective_go) and you'll have a very good grasp of the language. Both are extremely high quality and maintained by the core language group/team.

comment 4y ago · link · parent

Loitering anti-tank munitions are basically just that--a drone with shaped charges that fire down. Russia actually has a mine that detects the seismic profile of a tank rolling nearby, launches a drone (of sorts) into the air, and shoots a shaped charge right down into the tank (where there's very little armor compared to the sides): https://www.youtube.com/watch?v=zqtFhqSNubY

comment 4y ago · link · parent

The simple fix for this is to carefully pick the pepperoni off the pizza, and replace it with pineapple chunks.

comment 4y ago · link · parent

Is the twitter deal actually happening? Elon had to get a loan using Tesla stock and if the price of Tesla drops a lot then the whole loan and deal falls apart. I don't know if we know the exact stock price number where it happens, but it's seeming pretty dicey with Tesla continuing to drop in value IMHO.

comment 4y ago · link · parent

Check out micromamba, it's a single binary conda environment manager with no dependencies (not even on python itself): https://mamba.readthedocs.io/en/latest/user_guide/micromamba... It's great in my experience.

comment 4y ago · link · parent

There's probably still some value in it for darknet activities like sales of illicit goods, ransom payments, etc.

comment 4y ago · link · parent

I'd look at Qt or Electron if you need to do cross-platform desktop apps, if for no other reason than accessibility. Sure you can make wacky midnight commander like GUIs in the console, but no screen reader is going to be able to make heads or tails of them and you'll shut out users.

comment 4y ago · link · parent

Deis labs has been experimenting with rust (via WASM) on the edge, particularly in the context of a kubernetes cluster. Check out https://krustlet.dev/ and https://github.com/deislabs/hippo

comment 4y ago · link · parent

Why just one? I think diversity in this space is good.

comment 4y ago · link · parent

I agree Richard Hipp should be compensated but he explicitly licensed and releases SQLite under a public domain license: https://www.sqlite.org/copyright.html Not Apache, not MIT, not GPL... public domain. You can do almost anything with it and not be beholden to any demands. You can tell people you built your business on SQLite... or not. It's public domain.

That said SQLite has a business model of selling support and premium features like encryption: https://www.sqlite.org/prosupport.html

comment 4y ago · link · parent

It's no different or worse than the security model of any other text editor or IDE. It runs as your user (unless you're doing something zany like running an admin account), and it can do anything your user can do like launch programs or subprocesses you have access to execute. A vs code extension isn't going to get some unexpected power like root privilege to start messing with your system, opening low ports, etc.
1
444546
84