[-] aidan@lemmy.world 1 points 4 days ago

B. If we accept a Chinese version of Google then there's no reason we can't accept a Brazilian version of X.

You understand Google is banned in China because they wouldn't accept censure right?

[-] aidan@lemmy.world 8 points 4 days ago

They're talking about Bolsonaro. But yeah when you use the same insults against all the people you disagree with it makes it hard to tell them apart

[-] aidan@lemmy.world 1 points 6 days ago* (last edited 6 days ago)

Well it makes sense, the modern form of aliens is from American mythology. It's like complaining that all the spottings of the Loch Ness monster are around Loch Ness

[-] aidan@lemmy.world 2 points 6 days ago

It's true for a lot of these minor complaints about America. Of course there are valid complaints about the US, but some of them are very petty and not a real representation.

"American food quality is bad" because you go to fancy restaurants on vacation, and/or when visiting the US don't know where to find quality food because it's in different places.

"but quality food is cheap" yeah when you have to pay half as much or less for labor it can be

"people are less fat because the food is healthier" no, people are less fat because they are addicted to cigarettes instead of soda. also walk more.

"america has no culture" ... this should be obvious

"Americans are so loud" this very much depends on the country you're comparing too, but at least where I've lived Germans, Dutch, and locals(Czechs) are the loudest

[-] aidan@lemmy.world 1 points 1 week ago

No, you're still misunderstanding what's being done. ${server_service} is an injected string, the string is the whole contents of the file. That file is not stored locally on the server, except through being injected here(by a terraform file template). And no, printf won't be any better than echo because its not format string, and I don't want any formatting from printf applied to it.

[-] aidan@lemmy.world 1 points 1 week ago

I’m reading this and interpreting that line 27 of that script is

And your interpretation is wrong. Line 27 is actuallly

sudo echo "${server_service}" > /lib/systemd/system/server.service

${server_service} is read from the file I posted in the 2nd image. Since it was a test script I hadn't bothered implementing any escaping tools, I wanted to make sure terraform allowed this first.

[-] aidan@lemmy.world 3 points 1 week ago

there is no purpose other than legacy of having replaced other commands

[-] aidan@lemmy.world 2 points 1 week ago* (last edited 1 week ago)

terraform(really is just a injection of a file() into a shell script)

[-] aidan@lemmy.world 2 points 1 week ago

I don't think I did(though sometimes I do accidentally because of the Jeroba app UX)

view more: ‹ prev next ›

aidan

joined 1 year ago
MODERATOR OF