- 5 Posts
- 29 Comments
I absolutely cannot relate to using a ton of libraries in production code.
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.
there is no purpose other than legacy of having replaced other commands
terraform(really is just a injection of a file() into a shell script)
I don’t think I did(though sometimes I do accidentally because of the Jeroba app UX)
No, because neither of those are the inputs. The input was the systemd file in the image. The whole command was not printed in the error, only surrounding context. The single-quote was indicating the ending of that context(because it was the end of the line) printed by the error.
The same thing was done with
`)'
on the first line of error
I don’t disagree, but this time its my fault
To avoid having it hosted separately its injected into a shell script as a string
dsygraphia, I meant to say escape the quotes(you can see that because the comment wasn’t about comments but was instead about quotes)
The same is true for JVM bytecode, and C operations really are just aliases for ASM operations, and ASM (sometimes) is just aliases for microcode operations
aidan@lemmy.worldto Programmer Humor@lemmy.ml•A week of fprintfs has me wanting to code rust next week1·1 year agoInteresting
the script stopped running when the SSH session ended so never unblocked the ports
aidan@lemmy.worldto Programmer Humor@lemmy.ml•A week of fprintfs has me wanting to code rust next week1·1 year agoYea and C++ is the same thing, you just need to enable all the warnings on clang-tidy
aidan@lemmy.worldto Programmer Humor@lemmy.ml•A week of fprintfs has me wanting to code rust next week1·1 year agoNobody who has seen a yellow jacket nest in person would argue they’re pretty.
Catia
I’ve been slightly involved in the CAD space, have tried Fusion, Inventor, AutoCAD, OpenSCAD, and Blender- even edited some G-Code by hand. But, I have never once heard of that.
Yep
I like w3 css
Or be me, and have a great commit history, 4 years ago, when I just committed random garbage.
Exactly, I don’t understand why languages have decided that every keyword needs to be as randomly minified as possible.
fn
,def
,rune
(ok that’s not minified, just a dumb name),fmt
,std
. Many of these things aren’t new, but programmers recognize descriptive variable names are important, the same should be true for keywords.
I can’t relate to this feeling at all, writing code using a library I’ve found is almost always the source of bugs. Miscommunication between the library developer and their documentation, or my ability to read the documentation. And that’s on top of how many big libraries I’ve seen with extremely simple exploits. Sadly I have to use a few, but I wince every time I install a package.