Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
Get a devDuck
Rubber duck debugging has never been so cute! Get your favorite coding language devDuckBuy Now
Search - "vagrant"
Is this the code life
Another scrum meeting
Caught in the the Node life
No escape from reality
Open your eyes
Look up to the screens and see..
I'm just a dev boy
Doing some debugging
Because there's warnings here
Anytime you distract
Takes another hour from me
Mama. Just committed a bug
Merge the branch to production
Did it fast for milestones
Mama. The repo has just begun
But now they going to throw the stack away.
Mama. U u u uu
Didn't mean to code in LAMP
But it's the only stack i know how to setup
In Ubuntu. Without docker
I really don't get vagrant
It's too late
My team is done
Some dev is working in Nepal
A UX dev. Now what is that?
I've got to go
Gotta leave this lame meeting
And face the truth
Oh nooooo. I i interns
(they have questions)
I want to debug
I don't want to stay till 3 in the morning
I see a litlle dev over there
Let's code review, let's code review
Did he do the last commit?
Coding in the white board
Very very frightening me
That's bug(that's a bug)
That's a bug (that's a bug)
What the f*ck did you do that?
I was just coding and nobody liked it
He was coding and nobody liked it, spare his some time to do his debugging
Easy man. Here go. Will you let me code?
A meeting. No,we will not let you code. ( let me code)
A meeting. we will not let you code. ( let me code)
A meeting. we will not let you code. ( let me code)
We will not let you code
Never never let you go
Never let you code, oh
No no no no no no no
Oh mama mia, mama mia ( dude, you've gotta let me code)
Screw you guys, I'm gonna code and commit. Commit. Comiiiiitt!
So you think you can review me and spit in my eye?
So you think you can dump me and erase my branch?
Oh baby, cant do this to me baby
I've just have to log out.
I've just have to log outta here
*epic guitar solo
Nothing really matters
The users will not care
Nothing really matters
Any way this code blows10
Got to learn Shopware (the eCommerce thingy written in PHP) for the job.
Bought a book worth ~60$.
The author writes: "Use vagrant it's soooooo comfy and cozy and everything!".
Sure, why not.
Got to get online over my smartphone.
Cloned the repo with the Vagrantfile.
Did a 'vagrant up'.
Downloaded the Ubuntu box of around 1.5 GB (reminder: over my smartphone which has around 3 GB 'highspeed' internet connection).
Vagrant initialized and provisioned the box.
VT-X is not enabled. Hm. Strange. Wait...when it's not enabled, can it be that...
THIS SHITTY LAPTOP SCHMAPTOP DOES NOT SUPPORT VT-X AND I PULVERIZED JUST THE HALF OF MY INTERNET DATA FOR THIS SHITTY BOX IN ORDER TO JUST DOWNLOAD THE ZIP FILE AND INSTALL IT OLDSCHOOL-SCHMOLDSCHOOL INSTALL A APACHE VIRTUAL HOST.
Time for new hardware I think.15
teacher (me): for the next session, we will need vagrant, please use the command 'vagrant box add…' before coming to class.
student, one week later: I tried your command, but an error came 'vagrant command not found'
me: did you install vagrant?
student: no... why?
My boss codes shitty ugly fucking abominations.
These fucking piles of hacky crap are worth less than a penny puked out by a dog, eaten by another one and then shit out, grabbed by a vagrant, stuffed in his arse and then sold as raw metal by the cremation worker after the former's death.
Fuck this. I'm not gonna rewrite this. Fuck you.5
If you use vagrant, virtualbox and a mac os, don't update to monjave yet. Apple broke it without fix so far. Can't run my homestead 😣13
My brain when it's sunny, warm and all the girls in school are wearing skirts and hotpants
Twice... fucking twice trying to SSH into a Vagrant box that isn't online :/1
When dev who insists on using their own vbox rather the officially maintained vagrant package asks you to debug a non-code issue...2
36 hours here.
It wasn't really work, but I went to FOSDEM 2 years ago with a friend of mine that's also a hacker (hardware stuff mostly). So on Saturday we went to all the talks fully energised, when that was done we got back to his home to "sleep", but there's so many other projects to do!! At the time we felt like we really needed a weather fetching thingy in our IRC client (I think it was Hexchat) but that didn't exist yet. So we built it, kinda in a pair programming way, all night long. Oh, it's morning already?! Time to go to the Sunday talks! We were both complete zombies by then, but somehow I still remember a little bit of it.. some ass who was showing oh-my-vagrant (boring as shit) and some other stuff. All in all, 36 hours on the counter when I got in bed completely wasted, but it was so worth it ♥️
at the begin of the year I started working as contractor for a company which development environment was a shit machine in the basement...shared by all developers via ssh, that's right, no local development.
Who the hell needs virtual machines, Vagrant, Docker?
You break something while working? It's broken for everybody.
The other developers seemed fine with it.2
Could not live anymore without SSD, I’m running vagrant up since 5pm and I believe that I’ll not sleep before 3am (again)...1
Just when you walk away and hear your computer wind up its turbines again, you know, you forgot vagrant halt, before you sent it to hibernation..5
osu-web devs: we use PHP because it just works *stabs in vagrant*
My webdev friend + my crazy ASP.NET Friend: hold my beer
*proceeds to refactor everything to ASP.NET and stabs in Docker*
welp, thats enough social interaction for today
The computer lags, windows 8 lags, vagrant lags, chrome lags, phpstorm lags, EVERY-FUCKING-THINGS LAGS.5
Before I realized what a Vagrant Box was, I thought everyone was talking about cardboard boxes for homeless people.
So there I am thinking everyone was talking about homeless people and I finally understand that it's a service for quickly deploying VMs for local development when I get invited to a party after a convention with my hosting company and I look over the rail and see a vagrant man asleep on a cardboard box.
The new company didn't let me use Linux but instead forced to use Windows with custom Vagrant box to debug the software. Grrrrrrr2
How does a person learn all these Dev ops/backend/frontend/mobile apps technology? I've been using Vagrant + Django mostly and I feel I'm so behind when people talk about AWS EB, Node, React, SASS, Less. Whelp2
I'm a bit confused as to why people are re-imaging their machines from one OS to another?
Use Vagrant (or Docker) and just set up an OS in a Virtual Machine? Then if you break it you just destroy it and provision it again. You don't destroy your whole machine.14
So Pop!_OS is my primary OS for development and Windows is my primary OS for gaming. I have Pop!_OS installed on my laptop (alongside Windows but I almost never use Windows on my laptop) and Windows on my desktop gaming computer.
One of the things I love about Debian-based OSes like Pop is the apt package manager. One of the things I've always hated about Windows is the fact it was lacking a cli package manager like apt.
Then I did a Google search for one and found Chocolatey. Curious about it, I installed it on my laptop (I was in Windows at the time to use FL Studio, which I've found doesn't work very happily with Wine.) With Chocolatey, I installed VirtualBox and Vagrant, and I have to say, I'm not disappointed. I'm ecstatic I've finally found a cli package manager for Windows.
TL;DR: If you use Windows and you don't have Chocolatey, get it.1
Working with Vagrant be like:
Oh I see you've added new features all over the project files, all good, I'll sync that to the virtual folders. Oh now you've added a line to the css, would be a shame if I stop syncing now for no apparent reason and let you go insane figuring out why the minor change won't show2
When syncing node_modules via nfs to Vagrant it's an even better excuse than 'it's compiling' - it literally takes 2-3 hrs and the ssd request is pending for over a month now. Looks like nobody sees it as an issue...1
me@host $ vagrant init bento/centos-7.2
me@host $ vagrant up && vagrant ssh
me@vm $ ping google.com
error: unknow host
ARE YOU FUCKING KIDDING ME
I FUCKING REINSTALLED BOTH, VIRTUALSHITBOX AND VAGRANTFUCK; THIS IS FROM FUCKING SCRATCH, WHAT THE FUCKING SHITFUCK DO YOU MEAN WITH UNKNOWN HOST???3
**Installing Homestead for laravel**
Errors coming which are not understandable...
After couple of hours errors changed**
Maybe I did some progress.......still working on it12
don't you love that moment when you are trying to set up a test environment but end up spending 3 days trying to get one little service to work?
I can't seem to find any auto dns that works with minimal configuration to use with vagrant or docker...1
Tried to install WAMP manually to learn PHP. It almost put me off development altogether, but great when it worked and I learnt a lot doing it. The next time I used Xampp before moving on to vagrant & VMs.
Sometimes setting up the Dev environment is the hardest part of learning. But better to learn in dev than production!3
Fucking Vagrant... I know you prefer a Linux environment but pleeeaaase why does your VM always timeout?!?! Godamnit, it's a bad sign if you get bugs before you even start coding...3
Question about permission in `docker-compose`
So far, I've usually used vagrant for local dev. It was nice, as I was able to specify `wack:wack` as owner of all files. However with docker compose, if I connect with exec and use `/bin/bash` I'm logged in as `root`. When I then run composer, it kind of fucks with the file permissions, as after it all new files are owned by root and thus can't be edited with an ide on the "host" system.
One hack that I found suggested creating an user and a group with same uid as on the host and use that instead of root. This just doesn't sound right to me. Any advice on how to handle this situation?6
My code doesn't work and I don't know why.
I cleared cache, my code doesn't work, and I still don't know why.
I cleared cache, reloaded vagrant, my code doesn't work, and I still don't know why.
I left my desk, got some coffee, checked devRant, refreshed my browser, my code worked, and I still don't know why!8
Yay ! - A newer version of the box 'laravel/homestead' is available!
vagrant box update
Fuck... Estimated time remaining 2:00:001
I'm amazed how our Frontend team are able to consistently break our Vagrant builds, despite them only using Grunt...
Interviewer (project manager):
We are great company and we need high skill in lots of languages and technology like js, python, es6, docker, vagrant, linux and ..., we are always use new tech in fact we are on the edge of technology
Me: wow your company is the best
Forget about new tech
Just make this project alive with wordpress and plugins,do it man just do it
My ideal dev job, would be a job I can show compassion towards. A team I can be proud of and learn from. And a vibrant workspace with likeminded individuals who just want to improve themselves even if they feel their at their pinnacle.
My current office tries to make use of new technologies, we've embedded docker, vagrant, a few ci systems on an in need basis per team, and a lot of other tools.
My only real qualms are they feel indifferent towards new languages and eco systems ( Node.js, GoLang, etc ). Our web team is still using angular.js 1.x, bower, refuses to look into webpack or a new framework for our front end which is currently being bogged down by angulars dirty checking.
Our RESTful services are all using flask and Python, which become increasingly slow with our increase in services. I've pushed for the use of Node or GoLang with a GraphQL interface but I'm shot down consistently by our principle engineers who believe everything and anything must be written in Python.
I could go on, but tldr; I'm 21 and I have a ton of aspirations for web development. I'd like to believe I'm well rounded for my age, especially without any formal education. I'd love to be surrounded by individuals who want the same, to learn and architect the greatest platforms and services possible.1
Going to try Vagrant now. Spent half of the day deciding which one to start with; Docker or Vagrant. 😯
As Vagrant seems less fancier than Docker, gonna start with that. 😄5
So today my internship started and I'm to install virtual box and vagrant ok that's simple😊 now it's what comes after that's got me shitting myself laravel/homestead 😟 never heard of it 😨 themosis never heard of it and what the fuck is stylus... I got a lot of catching up to do3
IT always remove elastic search package and i can't migrate my database because of this package required to be run. I always reinstall this to make it run.
Sometimes vagrant itself don't run perfectly in windows.
I think i will move to UBUNTU to make it run smooth.
TODAY you made my task stuck.2
Should a developer be enrolled in a beta program on the same machine they develop with? I believe the answer is no simply because I was a part of Apple's Beta program and it gave me a lot of issues when trying to build applications or set up environments due to obvious compatibility issues. What do you think?3
A simple CSS change turned into me trouble shooting my local environment for hours...next time I'm just going cowboy 😑
is vagrant box VVV always this slow to up the first time? because I don't need most of this stuff and I could have started a WP environment by hand already.4
Sat here trying to decide and finalise my Dev process for Wordpress!
Roots.io clean, good code, deployment to staging and production through git
Vagrant then just push to live (which one?)
Docker then try and figure S*** out
Then decide where to deploy:
Digital Ocean or AWS Elastic with load balancers and S***!
1. Explain docker in layman's term (example to your Grandma)
2. Explain in detail why docker is good and fast compared to any related traditional virtualization like VirtualBox, vagrant, etc.
3. If you are going to migrate an existing Symfony application to Laravel from scratch, what will you migrate first in order to make it efficient. Model, view or controller? And why?3
So I was instructed today, after lunch, to spend an hour teaching a member of my team how to SSH, store keys, basic io routines, and create CRON jobs to auth our ECR registry by my team lead.. Why am I wasting dev time teaching someone how to use an operating system? Need I add, our primary Dev workspace is a spun up using vagrant using xubuntu. I just can't comprehend how this person has been using xubuntu as their primary OS for two months and doesn't know the SSH protocol. Much less how they landed a dev job without any prior experience with a *NIX based OS.2
I've been trying to push good practices at work, which includes migrating testing environment to vagrant.
Been trying to push it forward for months, and this week, a "genius"co-worker just started complaining we shouldn't overcomplicate and just provision a vm for testing for everyone to use, and boss agrees immediately!
Guess who'll have to maintain it whenever someone remembers to destroy it...5
Tried to learn Laravel using some video lessons. The first time I tried installing Homebrew, Vagrant crashed. The second time, Composer was down. I spent a day to configure it. And we front-end people still complain about wasting time with tooling.3
Spent almost an hour modifying Puphpet coz Vagrant kept throwing errors on startup. It turned out the error actually was caused by Vagrant itself... 😑😐
Fuck you PuPHPet 😒😣
php doesn't work in apache after all the trouble i went to get Puphpet to work with vagrant. Not sure how this supposed to improve the work flow if i have to spend a day trying to make it work.
Maybe I'm missing something coz I'm still new to vagrant stuff. But geez... Isn't these kind of things supposed to make your god damned life easier 😒
Making a hard switch to ubuntu on my desktop at home. Getting just a teeny tiny, tad, bit: absolutely fucking livid....
Trying to learn ansible, vagrant, and docker more in depth for both work and my personal projects. All that I’ve been doing is just spinning my wheels trying to figure out the stupid fuck-mothering quirks with running this shit on Windows. Yes you absolutely can use all of these tools on a Windows box. There’s plenty of ports, patches, and workarounds. But I have spent all day trying to build a few vagrant boxes and use ansible to set them up. Simple LAMP stack boxes on CentOS7. Nothing major... unfortunately I spent like 90-110 minutes trying to figure out why virtualbox wouldn’t run properly. Dumbass me forgot that I installed Hyper-V ages ago.
O...K.... whelp... hyperv provider it is...
Luckily it only took about 15 minutes to determine that Hyperv’s networking can’t be setup from vagrant because vagrant doesn’t know how to interact with the hyperv - vswitch. So networking config is ignored and all VMs run on default switch (NAT) which is annoying but workable.
Ran into other issues trying to stay SSH’ed into the VM. PowerShell core (6) ssh’es into the box perfectly fine, but every time I opened vi to edit configs my terminal color scheme and fonts got fucked harder than a 2 dollar hooker on nickel night.
I’m a bright-green text on black background kinda guy. However the terminal kept changing to bright-red text on white background! It was like getting skull-fucked by a minotaur.
After a while I said fuck it, let’s try putty. Vagrant was using it’s own ssh keypair for the boxes, at work on my mac. Works like a dream. Putty failed me hard and shit the bed, kept getting all kinds of keypair errors. At this point I was finished spent too long trying to make shit work correctly on this jankbox. With enough time and patience I probably could’ve figured all of these problems out. I’m certain that at least 70% of them were caused by user error. I’m known by many as the walking ID-10t.
But alas, I have no time left in the day to fuck around with shit that doesn’t work immediately for morons like myself. My only hang up for the longest time with a complete switch to Linux was gaming. But with Proton and WINE I’m comfortable with giving it the ol’ college try. (Shhhh, don’t remind me I dropped out of college...
The gamble here is that I’ll give more than 2 halves of a fuck about trying to get my games working. A Study environment and materials for certs and general training won’t be getting anywhere near my full attention.
So, at long last, I hope this attempt at a full *nix switch finally sticks!!!
Any one running Symfony on a Docker container in production? I currently try to migrate our dev env to a docker compose setup (from a "monolith" vagrant vm). I'm atually not stuck at a Symfony specific thing, but on a, I guess Docker specific one(?), The issue is, I need to read and write with two users to one folder (in my case the /application/var/cache folder). Since I mount my whole code into the docker container (to use an IDE on the local files), I've got a volume (not mounted to the outside world) for that folder. (As far, as good). Now this folder is owned by root and root is also the user I get when I enter the container. When I then run a cli script, that writes to this folder, every thing works (as it's run by root) and the resulting entries in the cache dir are owned by root. Trouble starts when the php fpm process tries to write stuff in there too (as it's run by www-data).
If I add `USER www-data` (or create a new user foobar and add `USER foobar`) the container exits with status 0
So I guess the question is, is anyone running an Symfony app on Docker in Prod, if so how do you solve this? Or another question would be what is the best practice to do this? Sure on dev I could just `chmod 777` the whole folder or run the php-fpm process as root, but if that thing ever goes to prod, I wouldn't sleep very well...
Think I will go for a quick fix and test it on my machine. Just reprovision the vagrant box I have created at work a month ago.
git pull && vagrant up
Some random error
Thanks to the guy who broke the vagrant box ~.~
I was getting frustrated with my 4 years old work MacBook with 8 GB of RAM, insufficient to run 2 Vagrant boxes simultaneously. Conveniently the letter E just stopped working and IT couldn't fix it, they now have to order a new one.1
Do public Product Roadmaps scare any other devs? They always contain too many features in a short time span and dev working environment changes (moving to git, moving to vagrant etc..) just get ignored because “we can’t sell thoes changes”!1
I think my mac is possessed,
closing my vagrant server due to low battery when I was doing my final test.
Why Mac why?! 😭
when windows 10 crashes and your vagrant takes AGES to get up after windows forced reboot on the crash.
Also found a stupid bug in some validation code I have written. SHAME.1
Fucking vagrant is supposed to streamline the fucking process and make everyone’s life easier, not ruin it with a shitload of bugs. Every fucking time!!! I’ll be better off using a USB, transferring the OS setup files at 2.0 speeds files, shoving it far up my rectum, shitting it the fuck out, and having the pipes transfer it over to you in the two fucking hours it’s taking me to fucking debug this clusterfuck.
i5 vs. i7?
My old laptop is dying and I've started to look for a replacement. I am used to have an i7 processor, my dev env consists of either vagrant and a VM or a docker-compose env. Plus I use JetBrains IDE. Mostly I do webdev, so not that much compiling going on, however often I need a VM with Windows to have Photoshop or Illustrator running...
So I guess the question is: Is there a notable difference between an i5 and an i7 for development?4
Developers on the same team who use Windows. Web dev even with Vagrant becomes a pain in the ass for everyone else who need to be interoperable with the Windows ways.
So this is more like an accident rather than a dissapointment but the thing goes like this.
I make multivariant stacks with vagrant, shell script loaded as stated in yaml config and every bit and piece done from there the only times it disapointed me was the first time i lost it and when i got asked to make it tomcat compatible, not that the person really needed tomcat but just because i called it a stack initialiser it must have tomcat support.
Recently replaced my motherboard and tried to run 'vagrant up' but kept receiving error.
Spent hours try to google and find out the issue.
Turned out, I forgot to turn on virtualization after getting a new motherboard.1
After fifteen minutes of explaining how and why I want someone using our custom vagrant box to work on something: "Alright cool." *opens MAMP*
WHAT THE BLOODY FUDGE COMPACTOR ARE YOU DOING?
Vagrant, VMware and CentOS.
The perfect storm to drive me mad all day.
If anyone knows how to get the shared folders working in this fucking shitstorm of arse rain let me know I'm slowing drowning in this fucking river of shit.4
I'm literally and truly done with Vagrant machines built using puphpet.com (Docker has since replaced Vagrant for me).
I just tried to spin up a project from about a year ago. The machine fails to work, spitting out loads of unhelpful Ruby related nonsense.
After an hour of buggering around and because I really need to get this update done I decided to try my luck and get scotchbox a go.
Within 10 minutes I had a working Vagrant machine and the said site up and running.
To me puphpet.com is like a single use Vagrant machine. It will work once but don;t expect me to work in a few weeks.
Machine built using puphpet.com can go to hell. So much time wasted.2
So this happens way too often;
you make some changes in your code and open your testing environment and expect to see results, but you don't. You wonder why, did I mess something up? everything seems to be correct?
aaand then you glimpse for a second at the url and realise you have the staging environment page up..
How to set up a proper development environment? I was thinking of using virtual box and vagrant on a digital ocean server and using an sshfs tool to map the drive so I can edit locally with vscode. Thoughts?7