8,333 karma · joined December 8, 2017
I read recently that Ukraine was producing a lot of drones and ramping up production too, as well as using fibre-optic controlled drones to overcome electronic warfare/jamming.
count - Creates multiple instances of a module from a single module block.
for_each - Creates multiple instances of a module from a single module block.
providers - Passes provider configurations to a child module. If not specified, the child module inherits all of the default (un-aliased) provider configurations from the calling module.
depends_on - Creates explicit dependencies between the entire module and the listed targets.
I hope this doesn't come across as snarky, I just wanted to share the doc link :)
Thank you for replying though, I appreciate it :)
module "cool_name" {
count = var.create_cool_name ? 1 : 0
}
I've always wanted a simple enable/disable syntax for modules in tf.Simply stating an opinion, by itself, is not trolling no matter how much you may disagree with the comment. If you're open to advice, I suggest that you look at a user's comment history to determine if they're the type of person who trolls others.
TFC uses workspaces, which annoyingly aren't the same thing as terraform workspaces. I've divided up our workspaces into dev, qa, staging, and prod, and each group of workspaces has the OIDC setup to allow management of a specific cloud account. So dev workspaces can only access the dev account, etc etc. Each grouping of workspaces also has a specific role that can access them. Each role then has its own API key.
The issues I've run into are mostly management of workspace variables. So now I have a manager repo and matching workspace that controls all the vars for the couple hundred TFC workspaces. I use a TFC group API key for the terraform enterprise provider, one provider per group. This prevents potential mistakes where dev vars could get written to qa, etc etc.
Manager repo
- dev TFE provider
- qa TFE provider
- staging TFE provider
- prod TFE provider
Workspace variables are set by a single directory of terraform, so there's good sharing of the data and locals blocks.I use lists of workspaces categorized by "pipeline deployers" and "application resource deployers", along with lists of dev, qa, staging, and prod workspaces. I then use terraform's "setintersection" function to give me "dev pipeline" workspaces, "prod app" workspaces, etc. I also do the same with groups of variables, as there's some that are specific to pipeline workspaces, and so on. It works well, and it's nice to have an almost 100% terraform control of vars and workspaces.
I split app and pipeline workspaces based on historical decisions, I'm not sure if I'd replicate that on a new project. The workflow there is that an app workspace creates the resources for a given deployment, then saves pertinent details to a couple of parameters. The pipeline workspace then pulls those parameters and uses them to create a pipeline that builds and deploys the code.
Unfortunately I can't share code from this particular setup, but I do intend to write about it "someday".
There was an osx/macOS app that did something similar to the habits in org-mode, but I've forgotten the name of it. Was around from the mid 00s and had a colourful grid showing those times you missed the habit, habits on track, etc. I'm writing this in case anyone remembers it, I hate forgetting stuff!
I don't remember the quote, but something about them only learning from catastrophe.
The utter indifference is very distressing.
putin.
We'd use a Dockerfile, install nodejs or use a source image to build from. How does that work for wasm? Does it have layers to reuse?
That seems pretty benign compared to what a neural implant could be made to do to someone.
It may actually be a good thing that it's not replicated. That forces me to really make sure I have a separate backup elsewhere.
Thank you very much!
Can anyone recommend a European based alternative with a roughly similar cost?
I kind of figured SpaceX or similar would cater to the billionaire class more by now.
It is a crisis. Discarding any political leanings, just the economic fallout from this is going to be felt for years. Do none of these supporters have a 401k or savings?
Basically I'm not a great programmer so when I see stuff that I am unsure of, I ask so I can learn.
I'm mostly OK at programming, but I like to learn, and HN is full of people who are much, much smarter than me who also like to share their knowledge.
Thank you for replying. I wasn't trying to make a point, I was just trying to learn why a seemingly utility function wasn't in some shared /lib/timestamps.ts or whatever.
I won't bother you further.
Do you track people who frequently flag stories and/or comments?
Do you collate those results against particular subjects? i.e. Any musk related story always gets flagged by $group
Do those groups/people always flag within X minutes of each other?
Do those groups/people match the general location of a random sampling of HN users, or do they differ in a statistically significant way?
Musk can ask the speaker of the house directly, he can speak to the president directly.
You or I do not have the access that musk has, nor do we have the amplified speech that he has.
Please don't whatabout. That does nothing for any kind of conversation.
https://thehill.com/policy/technology/5134725-elon-musk-impe...
This should be mandatory reading for everyone who argues this is just fine: https://www.amazon.com/They-Thought-Were-Free-Germans/dp/022...
I wonder if it's possible to use video as an input to an algorithm that displays using Voronoi? Probably at that point it wouldn't be a Voronoi diagram, but it might look cool :)