Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "yml"
-
Discussing some files with manager and he sees a *. yml file and says:
"Isn't this supposed to be *. uml"4 -
Started with C, then C++...forgot some C. Then on to java forgot some C++, then on to Objective-C, learned some swift...forgot some Objective-C...do you see the pattern. 😎2
-
Ugh, ansible and yml formats. I thought to fix a small issue fast and commit it directly.. but noooo2
-
Have you ever presented an idea and been told it was dumb/ it won’t work?Only to have someone else present the same idea and everyone be amazed. 😂🤷🏾♂️10
-
ripgrep is AMAZING!
It's a CLI tool to search your code quickly, and here's the kicker: it uses your . gitignore to only index your source.
It is fast, powerful, and highly flexible and I'm MARRYING IT
`brew install ripgrep`
`rg 'your new bicycle' -g '!*.yml' `4 -
I had someone reject me the follow me to the parking lot and ask me to teach them Jira in their spare time. 😂😂😂2
-
Elasticsearch, from the bottom of my heart...
How can one ecosystem be so batshit crazy inconsistent?
Seemingly every agent does the same (e.g. filebeat vs journalbeat vs packetbeat)… yet there are subtle changes in configuration everywhere.
Plus YML. The most shitty markup language one can use and the cockslubbing durps used it fucking everywhere.
Makes fun to have complex stuff and requiring a python Jinja to JSON to YML converter to be able to write the complex stuff without having the fucking migraine to count like a stupid 4 year old whitespace with both hands...
To make it even more absurd: the ingest pipelines which contain a lot of regular expressions / grok and are thus very prone to quoting issues... Yes. Let's do this in YML too.
If you need to add an fucking manual section how to debug YML errors you should have realized what a fucking stupid idea it was, morons.
Now I have the joy of having a python script regex quoting the shit for a Jinja template which then generates JSON which then generates YML.
Why the JSON part?
Yeah... Because ECS and changes in the upstream YML files / GitHub.
To be able to run diffs in a sane way because in YML distinguishing thing is pretty much impossible, so JSON as an intermediary format solely for the purpose of converting upstream YML to JSON to diff it against modified JSON ingest pipelines downstream.
I fucking hate elasticsearch8 -
I am scratching my head since 2 days cause a rather large Dockerfile doesn't work as expected.
CMD Execution just leads to "File not found".
Thanks, that's as useless as one ply toilet paper...
Whoever wrote the Dockerfile (not me…) should get an oscar...
Even in diarrhea after eating the good one day old extra hot china takeout from dubious sources I couldn't produce such a dumpster fire of bullshit.
The worst: The author thought layering helps - except it doesn't really, as it's a giant file with roughly 14 layers If I count correctly.
I just found out the problem...
The author thought it would be great to add the source files of the node project that should be built as a volume to docker... Which would work I guess....
Except that the author is a clueless chimp who thought at the same time seemingly that folder organization means to just pour everything into one folder....
Yeah. That fucker just shoved everything into one folder.
Yeeeeeesssssssss.
It looks like this:
source
docker-compose.mounts.yml
docker-compose.services.yml
docker-compose.yml
Dockerfile-development
Dockerfile-production
Dockerfile
several bash scripts
several TS / JS / config files
...
If you read the above.... Yes.
He went so far to copy the large Dockerfile 3 times to add development and production specific overrides.
I can only repeat what I said many times before: If you don't like doing stuff, ask for fucking help you moron.
-.-
*gooozfraba*
Anyways...
He directly mounts this source directory as a volume.
And then executes a shell script from this directory...
And before that shit was copied in the large gooozfraba Dockerfile into the volume.
Yeeeaaah.
We copy stuff inside the container, then we just mount on start the whole folder and overwrite the copied stuff.
*rolls eyes* which is completely obvious in this pit latrine of YML fuckery called Dockerfile.
As soon as I moved the start script outside the folder and don't have it running inside the folder that is mounted via volume, everything works.
Yeah.... Maybe one should seperate deployment from source files, runtime related stuff from build stuff.
*rolls eyes*
I really hate Docker sometimes. This is stuff that breaks easily for reasons, but you cannot see it unless you really grind your teeth and start manually tracing and debugging what the frigging fuck the maniac called author produced.1 -
Warning long rambling story cause sleep deprivation
I never really bothered with ssh outside of using putty to remote into my servers and rpi's from my desktop to run updates, install something, or whatever else.
But today I was on a call with my cousin bored cause she was just rambling, so I opened vscode to clean my install of unnecessary extensions I installed and haven't used more than once or twice.
I saw Remote - SSH and as I was bored listening to a teenager complain about high school just like I used to (lol) and responding when she asked me something. I scrolled through the page, then the documentation just casually skimming the text
I setup an ssh key on an rpi I threw manjaro arm following the instructions on their tips and tricks page
I then moved the key to my desktop using winscp (cause lazy)
leading to having a minor hicup of rsa not being an accepted keytype (thanks 'your favorite search engine' for the help)
Finally, I was able to connect using the private key
at this point my cousin went to bed cause she has school tomorrow. But I was still doing stuff with ssh, I created a new ssh connection in VSCode, but had to go to the documentation to figure out how to make it use my fancy new key file, not hard took 30 seconds of looking to get it working.
Now that I was in, I moved to my development folder, created a folder for PiHole, created a compose yml, created a pihole-data folder.
I opened the yml and pasted in a compose from dockerhub.
at this point I thought 'i can't just run this from terminal can I'. and Obviously it worked cause there's literally no reason it wouldn't I'm just stupid to think it might not.
So I created folders and files on a remote system, launched a docker container, checked for package updates after on a linux machine. All from VS-Code on a windows machine.
I know this is simple for some people, i know some people are like 'where's the interesting part'. but ehhh I thought it was cool to get it setup, I now really regret not getting into ssh sooner, and I'm definitely going to uninstall vscode on all my smaller graphical VM's in favor of doing this. and this will definitely help with my headless vm's.
I also will have to thank my cousin, might not have done this if I wasn't stuck at my computer on messenger call with her lol
I'm gonna go to bed now, But I feel accomplished for the first time in a while even if it's for something so simple as setting up anssh key for the first time3 -
Can we please make a Over Engineered Section....
This happened a couple of weeks ago...
Hey platform engineer team, we need a environment spun up, it's a static site, THATS IT!
PE Team response.. okay give us a 2 weeks we need to write some terraform, update some terraform module, need you to sign your life away as the aws account owner, then use this internal application to spin up a static site, then customize the yml file to use nuxt, then we will need you to use this other internal tool to push to prod...
ME: ITS a static site... all I need is a s3 bucket, cloudfront, and circleci9 -
At work everybody uses Windows 10. We recently switched from Vagrant to Docker. It's bad enough I have to use Windows, it's even worse to use Docker for Windows. If God forbid, you're ever in this situation and have to choose, pick Vagrant. It's way better than whatever Docker is doing... So upon installing version 2.2.0.0 of Docker for Windows I found myself in the situation where my volumes would randomly unmount themselves and I was going crazy as to why my assets were not loading. I tried 'docker-compose restart' or 'down' and 'up -d', I went into Portainer to check and manually start containers and at some point it works again but it doesn't last long before it breaks. I checked my yml config and asked my colleagues to take a look. They also experience different problems but not like mine. There is nothing wrong with the configuration. I went to check their github page and I saw there were a lot of issues opened on the same subject, I also opened one. Its over a week and I found no solution to this problem. I tried installing an older version but it still didn't work. Also I think it might've bricked my computer as today when I turned on my PC I got greeted by a BSOD right at system start up... I tried startup repair, boot into safe mode, system restore, reset PC, nothing works anymore it just doesn't boots into windows... I had to use a live USB with Linux Mint to grab my work files. I was thinking that my SSD might have reached its EoL as it is kinda old but I didn't find any corrupt files, everything is still there. I can't help but point my finger at Docker since I did nothing with this machine except tinkering with Docker and trying to make it work as it should... When we used Vagrant it also had its problems but none were of this magnitude... And I can't really go back to Vagrant unless my team also does so...10
-
Working on my first Android app. 🤔🤷🏾♂️
I've heard mixed reviews about building Android apps. I've used Xcode to build apps before, I'm sure it's the same lol 😂20 -
Daft Punk in my headphones and I’m ready to gooooo! This makes writing code so much more enjoyable 😬
-
Client never will install the text editor I want even if I send the link to him s hunded times, and will always answer me he can't open the yml file I'm sending.2
-
So I'm at this gaming event to enter in a small game I have been working on with fellow teammates. As an OOP, does anyone find the following conversation hmmm, odd?
Guy: I program for Microsoft!
Me: That's great! What's your favorite syntax?
Guy: I don't want to get into that? Me(inMyHead): 🙄😂😂😂👍🏾4 -
After a couple of days reading bout CI/CD i find it really compilated for my usecase. Server for jankins server for rancher server for anything and a lot of configurations to make it work. So i gave up and decided to build my own CI tool which turned out to be easiear than all of this. So i wrote a simple cli tool in go which listens on master branch of every directory specified in a .yml file and everytime a new commit is done it pulls the repo and rebuilds the container. Pretty easy without having to deal with all the bullshit15
-
OH MY FUCKING GOD. I HATE
H A T E
ACQUIA SITE STUDIO.
"Let's make a low-code 'solution' for developers who barely can stand working on Drupal as it is, and make the completely easy and perfect process of styling a website, COMPLETELY UNBEARABLE!"
Yea this is a great idea, experienced developers can now spend hours trying to fucking find where a single style is coming from. Oh it was too easy to cmd+f a stylesheet or a codebase to find something particular? Yea FUCK THAT. Lets turn EVERY SINGLE STYLE into a unsearchable .yml file where every style definition is now a machine hash. WAY easier to use. Isn't it so cool to fucking click on styles from a dropdown where they come off the edge of the screen. FUCK whichever stupid fuck came up with this dog shit nonsense. I fucking HATE this soul crushing work.2 -
Spent a little more than an a hour trying to figure out why an octopus deployment tool isn't picking up my project definitions.
Called a colleague to help me, as I explain the situation to him I find out that I created *.yaml files instead of *.yml
Wtf brain! Y u do this brain?1 -
TeamLeader : "Come two seconds"
TL : "I'd like you to check that out when you do that"
Me: "But it's your job to do this"
TL: "Yeah, but I'd like you to just check in case I forgot"
THEN DO YOUR FKING TASK PROPERLY WHATS THE POINT IF YOU FORGOT AND I DO IT
Edit my english sucks1 -
I worked with a guy who paid someone to build an app for him. I went home that night and started reading. Books, online tutorials, hackathon at what some consider the number one tech college in the country. Most of all, A LOT OF PEOPLE TELLING ME, NO!
-
I had a gentleman tell me I was overqualified, and then proceed to ask me for help with Agile software (jira)! 😂 I gave him my card!
-
What the hell kind of tool is Gitlab? I just want to automatically backmerge hotfixes from master to development. Even fucking Bitbucket had a checkbox to enable this. But not Gitlab, no, you better create a pipeline job in your already unreadable, overcrowded pipeline yml, but oh, the checked out repo in the pipeline is a detached head and you cant push with the user that checks out there. So what, just use a project acess token which revokes after a year breaking your task and then switch origin amd branch manually. But your token-user can't push to protected branches, so create a merge request instead, which requires approvals, making the automated step no longer automated.
But dont worry, you can just use the gitlab api to overwrite the approval rules for this MR so it requires 0 approvals. But to do so you must allow everyone to be able to overwrite approval rules therefor compromising security.
And so you made a feature that should effectively be a checkbox a 40+ line CI job which compromises your repo security.
which nuthead of an architect is responsible for the way gitlab (and its CI) is designed?6 -
Hey Java Devs, Snakeyaml is trolling us all. For their parser you must use spaces for indentation.
We say TAB, they say TOO BAD. #ForcedConvention1 -
Creating a partition for Kali or new version of Ubuntu. I know a lot of devs say Ubuntu is the Windows of Linux, but I kind of like it2
-
Does anyone else run to their desk to just put their headphones/AirPods on?
…I’m not a morning person. -
Working on fixing a problem and broke something else! HOW? 😩😭😭
...and I still have not fixed the new problem
🤦🏽♂️4 -
It's hard to remember someone's name here on devrant at times when trying to reply. I wish there was a feature that started to auto fill in the name. @dfox5
-
Hi, Anybody can help me do this? I'm trying to build Golang from source using the github actions. I'm new to github actions and golang both. So, github actions keep failing. I'm trying to follow this: https://github.com/golang/go/...
Anybody can write me a yml file for this? Thanks a lot2 -
That feeling you get when you enter in a piece of code for a bug fix...#aweekofbangingmyheadonakeyboard
-
When someone starts of the conversation with...do you know anything about iOS SDKs 😒😒😒😒? You want me to do your project? No Thank you!1
-
Fuck you Drupal 8
How complicated can it be to dynamically change the title of a page?
No I don't want to write another custom module, which requires two fucking .yml files?? and initiate another controller for something that simple...
Fuck it! JavaScript it is....3 -
Anyone who has worked with travis-ci for building their python project git branch? Seems that my yml is not configured properly and don't know how to create one correctly. The current build error is attached. Any leads are helpful.
Ps: Have not pushed any unit test cases in this project
FYI: deliberately marked branch and stuff in astresik. you can assume it is correct.4 -
Newt OS is a fucking abomination
1. stack apis are fucked up
2. Abstraction architecture is horrible
3. Have to configure 50 different yml files with 1000 different vars to make if work for the target it already say it supported
4. Was up for last 32 hours to make a simple application work, such poorly made documentation !!!!
Looks like some web developer made whole thing
Ewww..... horrible
Also don’t think they follow spec at all!!4 -
Can you like SEO my website?
Me: What?!? 🐼📱 this is why im currently putting up Panda emojis on devRant 😂😂😂😂😂😂 -
Github actions are so complicated, why they don't set up something like a simulator. I keep pushing my updates everytime I make changes to my yml file only to know it errors.1
-
Hi, I'm currently an intern and building a web application with react. I'm only doing frontend and have no access to the backend.
After some development we want to host the website and the backend guy is building a pipeline.yml for me. Fast forward website doesn't work because of missing environmental files in the pipeline. I added them on azure but somehow you need to do that in the pipeline.yml as well. I have no idea how to do that and he said: "Find out for yourself and tell me later"
How should I work from here? I feel left alone with that backend stuff. Why should I fix this pipeline, isn't it his job or is it frontend?6 -
I was told it was one brave squirrel that led the attack on our internet today...I hope that squirrel is up and running because we are.
-
been working on this docker thing for 2 weeks. 3 containers each running a different aervice (mariadb, nginx, wordpress) using debian as the base image (not the app image itself). Got all the configs down, all the dockerfiles down, the docker-compose yml down. Run docker-compose up, everything goes up all nice without errors.
Try to access the wordpress website. Only reachable from localhost, no atyling is served, all redirections fail… because it can’t find the local domain it is supposed to bind to. Tried editing the hosts file, didn’t worked. 3 days of googling, havent been able to find a fix. I don’t know what am I supposed to hate anymore. Is it nginx ? is it wordpress ? is it just the host machine’s dns/hosts config ? is it docker ? myself ?
I swear theres nobody in this world who wakes up one morning and happily cracks their knuckles to go write some dockerfiles.1 -
Trying to migrate an app from Dropwi Card to Spring Boot but can't get the YAML config read in correctly.
It's not reading the objects/lists/maps
Just treating each line as a key value.
Spring Boot says it sorts YAML configs and one seen some projects use this without issue.
But don't know how to turn it on.
Tried a lot of @*Config* all over the project but doesn't work.
Eventually just checked what Main.java loaded in the App context and well basically it never parsed it correctly...3