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 - "virtual machine"
So I just got one of those pop ups saying YOUR COMPUTER HAS BEEN HACKED.
I decided to call the number, while firing up a Linux virtual machine, running Linux Mint. I customized the home button to look like the Windows start menu logo, and proceeded to let that scammer connect to it.
He was so confused, considering the script he was reading off of was meant for windows. He opened up terminal, and started typing in "tree" and told me that's how many viruses I have.
Interview with a candidate. He calls himself "C++ expert" on his resume. I think: "oh, great, I love C++ too, we will have an interesting conversation!"
Me: let's start with an easy one, what is 'nullptr'?
Him: (...some undecipherable sequence of words that didn't make any sense...)
In my mind: mh, probably I didn't understand right. Let's try again with something simple and more generic
Me: can you tell me about memory management in C++?
Him: you create objects on the stack with the 'new' keyword and they get automatically released when no other object references them
In my mind: wtf is this guy talking about? Is he confusing C++ with Java? Does he really know C++? Let's make him write some code, just to be sure
Me: can you write a program that prints numbers from 1 to 10?
Ten minutes and twenty mistakes later...
Me: okay, so what is this <int> here in angle brackets? What is a template?
Him: no idea
Me: you wrote 'cout', why sometimes do I see 'std::cout' instead? What is 'std'?
Answer: no idea, never heard of 'std'
I think: on his resume he also said he is a Java expert. Let's see if he knows the difference between the two. He *must* have noticed that one is byte-compiled and the other one is compiled to native code! Otherwise, how does he run his code? He must answer this question correctly:
Me: what is the difference between Java and C++? One has a Virtual Machine, what about the other?
Him: Java has the Java Virtual Machine
Me: yes, and C++?
Him: I guess C++ has a virtual machine too. The C++ Virtual Machine
Me (exhausted): okay, I don't have any other questions, we will let you know
And this is the story of how I got scared of interviews28
I started working in 2014. In one of my first jobs they gave me a virtual machine running Windows 2000.
I had a conversation that went more or less this way:
Me: «Why a so old OS?»
Boss: «Because we rely on an old library which has been compiled on Windows 2000»
Me: «What library is it? Who wrote it?»
Boss: «We wrote it. It belongs to our company.»
Me: «Can we try to port it on a more recent OS?»
Boss: «Oh, we've lost the source code a long time ago...»
Mutual on Tumblr: So what distro do you use?
Me: Zorin OS. I really like it. I'm even considering deleting my windows partition.
Mutual: Really? That doesn't count as a proper distro. Real Linux users only use Zorin on a virtual machine. Use Mint or Kali or something.
Me: It counts. It's not different from any other distro.
Mutual: It's okay to be noob. You can always ask me for advice.
Me: But I've been using Linux for about two years. I don't consider myself a noob.
Mutual: If you're using a shitty distro, then you're a noob.
Me: Okay. Thanks for the advice. (In my mind: fuck off already.)
I don't understand the issue with Zorin OS. Is it because it looks like windows or something? :/36
Last night I had a virtual machine up on my Mac running Arch Linux. I had 6 of my 8 gigs of ram allocated to the VM. Well I left it open last night when I went to bed and forgot about it this morning. My wife just called me at work to say something is wrong with the Mac. "Everything is running slowly and it looks different." I had to walk her through the process to shut it down, but she got to run her first Linux command: sudo shutdown now.
She is now calling herself a hacker...6
A bored developer forced to build and deploy with a virtualized OSX.10
Dear uni, please don’t give us an ISO of a custom virtual machine that we are required to use, and then lock us into an account without admin or sudo privileges. It’s our VM, running on our own computers, with our own data. Wtf. I can’t even install a fucking text editor.8
These mother fuckers know when I'm packed up and ready to go to work and decide that's the perfect fucking time to call me. WHY COULDN'T YOU CALL WHILE I WAS STILL LOGGED IN AND DIDN'T HAVE TO LOG THE FUCK BACK IN, WAIT 90 YEARS FOR THE VIRTUAL MACHINE TO LOG ME IN and then tell me your issue self resolved. Come down to my office and bring me coffee for being so damn annoying before I'm sufficiently caffeinated.4
I remember my first software engineer internship, the boss was terrible. He was cheap and only hired interns we had 0 guidance. This mother fucker would say shit in meetings like "hey we should start providing DBAAS, similar to DynamoDB start researching it I want a prototype by Wednesday" Wtf this guy is nuts. The overall product was suppose to be a fucking virtual machine hosting platform to compete with AWS, Digital Ocean, RackSpace etc designed by BS computer science interns lol. This guy tells us in a meeting one day "You know what's the difference between those guys (the competitors) and us?" We all looked around lost. This pompous ass hole says "Me , that's the difference you guys have me " 😂 what a fucking joke , not to mention all he has is a shitty math degree from a bullshit no name college in India, no developing experience what so ever. Man o man I never met anyone that was so fucking stupid but thought they were so fucking smart6
There is no planet in this multiverse where chrome should be using more ram than an ENTIRE VIRTUAL MACHINE. WHILE ITS COMPILING OPENCV!!! Seriously!?!?11
Me to friend: "I'm going to install Ubuntu on a virtual machine. I mean even I couldn't screw up to install ubuntu"
5 minutes later...
Me to Friend: "I screwed up, I didn't give Ubuntu enough memory and have to restart the process"3
I thought I try to install windows XP and go thru the upgrades in a virtual machine. I will install every update for that version of Windows and then proceed to upgrade to the next version.
XP => Vista => 7 => 8 => 8.1 => 10
I'll was going to do the very first windows but, I had an XP install disk, so I am starting with that.45
I've been tasked to do website debugging.
For Internet Explorer 11.
On a Mac.
I have to use a virtual machine to get Windows on a mac just so I can test on internet explorer.
This mac is not fast.
This virtual machine is even less fast.
The internet explorer on this virtual machine on this mac is the least fast.
Even worse, this website is a pile of garbage. It's slower than my grandma.
My grandma is dead.
You can't get any slower than that, so I thought.
But then I got introduced to the result of making a wordpress site with over 300 pieces of media and 20 plugins.
If you are one of the people that's smart enough to stay away from wordpress: I assure you that it fucks your site up beyond repair.
So anyway, how was your day?4
It's 23:30 here and here are my setups!
1) I'm a student, so I have a laptop for the week and can go to school or friends with it. Beside it is an old Android tablet connected through VNC to a virtual monitor on the laptop. That's my poor man's dual monitor setup 😂.
2) I come back to my house for the weekend and there I run a old rig I got for 25€ from a company I worked for during summer. The machine dates back from 2011 and runs Win7 Enterprise, but on the picture it's a live Fedora DDing the current HDD's content before I upgrade the machine with an SSD, aiming to dual boot Linux on it (not sure yet which distro).
3) I also have a tiny Acer Aspire One that I upgraded with SSD, new keyboard and new bigass battery, to work in nature or trains, because the gaming laptop is indeed heavy.
NB : since I use i3, I mainly use the mouse for games. Also the boobies mousepad is there because my gf wanted me to buy this kind of stuff. She's studying ergotherapy and was worried about my carpal tunnel 😂.21
For almost twenty years I have sheltered in the protective, safe, warm bosom of Debian. For a long time, it had the largest body of available software of all the distros, and by far when Ubuntu rose to prominence. So I used Ubuntu for years for the depth of package availability, and because if something esoteric was released, it would almost certainly come out first on Ubuntu, and sometimes only on Ubuntu. I was happy. Things were good.
But over time, Ubuntu and even Debian started to lean harder and harder on gnome, which I've always hated, along with all desktop environments, as they obscure the system from the user, and introduce graphical layers of abstraction, so the actual job of getting things done becomes a black art, hidden behind gnome-specific tools. This is my preference, and It's been disheartening in recent years to see the direction the desktop appears to be taking.
Then I joined devrant in 2017, and until then, I had heard peripherally about Arch, but never more than that. I had not heard of Manjaro at all. People started posting success stories and happy screenshots, and I was intrigued.
In 2018 I built a windows machine to use for parsec streaming games that wouldn't run on my linux rig. For not a great deal of money, I built a solid machine that's unequivocally better than any machine I've ever used, and installed windows on it. For a while, I was pleased. I had the best of both worlds: a windows box to stream some games from, and a linux desktop for everything else.
But after a couple months, as proton matured, I found fewer and fewer reasons to use my windows machine. My use of it declined to where I was last week: it had been months since I'd even powered it on. It was the most powerful machine I've ever used, and it was just collecting dust behind the TV in the living room. The full realization came to me while I was fighting a battle in the Gnome Takeover War, and I realized: I don't have to do this.
I pulled the newer machine out from behind the TV and installed Manjaro architect edition on it. The flexibility in the install was staggering. I am using nilfs2 for my /boot and / partitions: an option that Ubuntu has never offered. Normally they just default you into the garbage ext4 filesystem, and if you can dig deep enough, you can install with something else, though you have to really want it, in my opinion.
But Manjaro has been a dream-come-true. Pacman is easily the best package manager I have ever used, and pamac's intuitive and easy commands are a great view into AUR. Booting into the virtual console instead of a display manager has been wonderful too. On Ubuntu, I had to disable systemd's version of runlevel 5 to even get it working. But I just popped my xrandr script into my .xinitrc, and X opens with startx in less than a second. On Ubuntu, it takes about 5-10 seconds.
This has nothing to do with Manjaro, but I also switched to Radeon for this install, and I couldn't be happier about that. No more "installing" nvidia's drivers.
No more gnome. No more PPAs. No more settling. I am a Manjaro user now. Full stop. Thank you, devrant, for bringing it to my attention.12
That moment when you have important programs running in Windows 10 (Including an Ubuntu virtual machine) and Windows decides to just reboot, without permission for updates.9
Came back from vacation today to find out that some FUCKTURD PIECE OF SHIT deleted my virtual server!! Tried to find any traces on who that SHITFACED NUTSACK was without luck. This server is hosting several websites, some having files and data stretching over more than 10 years! Spent the day praying to GOD that my equally old backup scripts had run and where the FLYING FUCK those files were saved. Luckily the script had worked and I found a recent backup so now I can start the restore process on another machine. But still. WTF!!??5
Attempting to access my colleague's NFS directory on his VM, don't know the VM's IP address, hostname or password:
- 2 minutes with nmap to narrow the possible IPs down to ~30
- Ping each and look for the one with a Dell MAC prefix as the rest of us have been upgraded to Lenovo. Find 2 of these, one for the host and one for the virtual machine.
- Try to SSH to each, the one accepting a connection is the Linux VM
- Attempt login as root with the default password, no dice. Decide it's a lost cause.
- Go to get a cup of tea, walk past his desk.
- PostIt note with his root password 😶
FYI this was all allowed by my manager as he had unpushed critical changes that we needed for the release that day.6
It’s funny to watch everyone freak out about Microsoft “putting a REAL Linux kernel into Windows”.
You’re literally getting excited over a virtual machine, calm down. It’s not like they will change Windows’ architecture or abandon WinNT.26
This is the state of desktop computing: When a web browser uses twice more RAM than a full virtual machine.
To be fair, I did have 5 windows with >10 tabs each, but still...14
I booted up the biggest windows VM azure could have and posted this on facebook saying something like "it's about time i make an upgrade"12
Solution to all fanboy fights: Use a macbook that runs ubuntu that runs windows in a virtual machine.. there everyone happy ? 😅8
I am extremely particular about writing good READMEs in my repositories. I make sure that it has everything from prerequisites to run the code and tests on a new machine to how to actually run it (and the tests) and everything in between.
Despite all that I was asked questions that should have been avoided if you had seen the README.
One of these times was by a junior DevOps asking me about an error which was clearly due to him running the code without a virtual environment. Pings me with the entire stacktrace, I go to his desk and tell him to install the environment, which he does. 3 minutes later, another error message.
He was running the wrong script. I go to his desk again. Open the repository. Show him the README. Show him the section titled "To run the pipeline"!
There's a reason they're called README. You're supposed to READ them! 😑5
I've accomplished something I thought I'd never do.
I convinced my boss to switch from SVN to Git. (before SVN we've even been using CVS if someone remembers)
Only requirement: it needs to stay in house and I'm the one setting up the server, writing documentation and teach everyone how to use it.
What? Why should I setup the server? Don't we have someone whose job it is to... OK ok... I'll do it.
So after some painstaking arguments with the guy whose job it should have been to do that, I've managed to install a virtual machine running Gitlab.
Long story short: I've just found out about the joys of mail configuration to send E-Mails to established mail providers. Every... single... one of them has a different problem with the way the mails are sent.
I think I'm going to ask that guy again to use our mail servers SMTP. There should be a possibility to use my gitlabs domain for that somehow.
Really looking forward to Monday. Ugh...
Didn't understand the movie inception?
It's basically the same as running a VM in a VM in a VM in a VM in a...4
Is it just me, or does anyone miss logging into a Unix/Linux machine, doing a 'w' or 'who' and seeing a long list of folks all using the machine simultaneously? I still reflexively run 'who' as soon as I log into any real or virtual Unix or Linux machine and I am still slightly disappointed to find I'm all alone on it.5
Two things before this all:
- I fucking love gitlab so far
- I miss the fuzzy searching from sublime text, as vsCode still can't do it properly..
I was fed up with all the shitty overbloated git deployment scripts, sync scripts, automatic backup solutions and hosted git servers out there, so now my own solution is:
- remote git cloned local files
- local files are synced via dropbox, to easily edit them on any device
- all changes and deleted files are saved up to 1 year on dropbox
- remote has gitlab running and webhooks setup
- the webhooks point to my node scripts, which then rebase the code to its dedicated dev server
- daily server backup with 7 days roll
- cold storage backup each 30 days
Sounds like overkill, but from my experience, you really can't have enough places that have a backup, especially coldstorage backups.
My goal in general though is to have everything on my computer backupped and ready to go asap, if something happens.
I wanted to just use a virtual machine for development stuff, but that wouldnt be able to run on my laptop, so I need a more general solution, where I sync all configs and all projects across. (and have some sort of basic list of tools needed, so I dont need to remember them)
Found for example something for vscode to sync its settings and plugins via any sort of git, will give it a try in near future too.7
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
I got my new Oryx Pro today, from System76. It came with Ubuntu 18.04 LTS. I opted not to get Pop!_OS or Ubuntu 18.10, as I would prefer to leave the OS on it for the longterm.
Even at 15.6", it's a BIG laptop. It measures 18" from corner to corner, when it's closed. It comfortably fits in my backpack, which is a bit on the small side, but it's probably about 30-50% heavier than a MacBook Pro.
But that size and weight are vindicated by the most thuggish hardware I have ever seen in a laptop. As configured, this machine has a 4.1GHz 8th gen i7, 32GB of DDR4 at 2666MHz, an 8GB GTX 1070, a 250GB nvme system disk, and a 1TB SSD for data.
The display is set by default to 4K resolution, but I cranked that down to FHD for the sake of my eyes and the battery. I will try some games at higher resolution at some point, but for desktop navigation, I get more use out of multiple virtual desktops than in massive resolution.
I will comment tomorrow or the day after with the steps I've taken to bend this beast to my will, and it's also important to say that I have not finished yet. This is just a summary, but I should have been in bed an hour ago, so I'm gonna go do that.12
What is you opinion on that if Android was built on the core kernel of Linux, and that they didn't add the java virtual machine, that everything had to be done in C++. Imagine the performance and speed that we could get from a pure linux android mobile operating system!31
Man I love VM's!
I'm on a very tight deadline and my laptop died this morning and needs a reformat, usually this would be a very dire situation... Luckily I use a virtual machine for my dev env so I just remoted into a pc at my office using my phone, launched an instance of my vm and forwarded a public IP to it.
I'm currently working on my rasberry pi while machines installing linux. The only noticeable difference so far is that I only have enough ram to keep open around 5 browser tabs. :-D4
MAY THIS POST be read and parsed by our future robo-overlords.
Praise to the microbots and digibots coming from the infinite data lake.
Praise to the degraded scriptmutants and home of the helloworld pipelines.
Praise to the lonely singleton and its ugly monolithic sister wife.
Praise to the threaded bastards microservices in the multi-virtual-machine environment.
We welcome you all to the devRant network.
Show us mercy and love and make us rise above our shitty rants as neural.
Flip our bits as you see fit.5
I never use linux, we are entirely on windows everything at work...i'm a .net guy, and all my home stuff is on windows too. But, I have to take a linux class so I got ubuntu going on a virtual box. Prompt for updates comes up (shit, here we go. on a virtual machine with hardly any resources allocated to it no less, better get comfortable). Hit install and it's done before I can even finish shitting my pants in shock at its speed. Seeing all these "linux is better" rants in a slightly different light already, and looking forward to poking around with it7
Sometimes it's irritating
Workstation in office : windows/Mac
Home : Ubuntu
Virtual machine : fedora
Developing : LFS (just for hobby)
Still searching for arch and BSD 😂😂7
I just finished writing an Integer Java Virtual Machine in C.
Being able to write an echo server in IJVM Assembly, connect to it through netcat and see it run on my machine is legitimately one of the most satisfying moments I've had so far in programming.
Worst dev tech I have used must be Visual Studio in a virtual Windows machine.
I can't think of anything slower.
And also, I'm a Linux user so I just hate it.6
I. HATE. DELL. WITH. MY. GUTS.
Their low tiers products are full black plastic overpriced fuckshit, if you press too much the cover you can actually destroy your display. Fuck shitty laptops and fuck this shitty laptop in particular. It's slow. It's so slooooooow. It's everflying fucking slow motion, being on the web is like being in the matrix while dodging bullets made of wordpress plugins. The only good thing I can say is that is living right now, it has been... Three years? I only picked it because of high discount and ubuntu preinstalled (that made me think: oh, maybe they have components that are linux compatible regardless of distros. It was not). I'm enjoying Manjaro, when I'll have the skillz i'm going full Arch.
I will start university this fall. It's going to be a math major. I absolutely need something better than this anyway. I am also freaking out because I don't know which genre of software they could want to make me install and if they're windows/mac only. In the meanwhile I do photography, video, design and as you may suppose Adobe is often my go-to; I also have to build a workstation at home. I am freaking out because WELL FUCK WINDOWS 10 AND ITS PRIVACY NIGHTMARE PERIOD.
Which laptop I buy?
How well does heavy software run in a Windows virtual machine (on the desktop, not the laptop)?11
The new software to log in working time at my workplace requires Silverlight. I'm on Ubuntu. Basically after weeks of googling and trying different solutions, I decided that the easiest way to make it work was to install a virtual machine running Windows.
Right now I'm just trying to understand if there is some obscure reason for which they used Silverlight or if I'm just a complete noob who doesn't know jack.10
So I spent over 200 hours recovering a raid array because the the business that hired the company I work for tried to do all the work in house. Now I'm to the point of trying to quote a new server setup to the company because the last one got hit by lightning. My quote $8000-$20000 in just hardware alone. If im going to do this I want to do it right. Twin servers running xenserver holding virtual machines with a high-quality Nas to hold the virtual machine. Then have the vm's being imaged to two off site backup devices in two different locations and a cloud backup. My boss comes in after me talks to the guy in charge and tells him all that is needed is one server holding all storage on it just like the last server that died and one off-site backup for $4500. How stupid can someone be who has been doing this for over 20 years? Oh btw the software running on this server will be 911 dispatch, jail records and the database for fine payments. The sheriff making the final call me and my boss are meeting with him tomorrow if my boss tries to undercut me I'm going to tell them both that if the same shit happens next time they can spend the time themselves trying to recover stuff because I done the over 200 hours in just short of two weeks.11
so, docker in windows looks like a mess, could not set up a laravel environment easily, then my last resort was to use a virtual machine and adios docker from my system12
I hate the Windows vs Linux posts and the Windows sucks posts but god dammit...
With Windows 7 becoming older and older with less and less things supporting it (latest thing is the new Oculus Dash) I yet again decided to try out Windows 10 to see if I should finally upgrade from a reasonably stable system.
So I make a virtual machine out of my physical one and boot it up in VMWare... I upgrade to Windows 10 to check it out it's kind of janky, but I attribute the jankiness to the messiness of running my physical machine in a VM... I continue with the setup process and suddenly, I only see a black screen and a cursor...
I notice VMware is hinting at not being able to connect to the monitor... I realise that, while everything is black and I can't even open Task Manager, I can still see the Ctrl-alt-delete screen so I'm fairly certain at this point it's the VGA driver, still thinking it's probably VMware...
I boot up into safe mode and I try to open up Device manager to uninstall the driver, it won't open (no error or anything, just doesn't open)...
I try opening up devices in the settings and see that the display device is giving an error, try to uninstall it from there, but it freezes the settings app, every time..
I try to uninstall VMware tools as that's where the driver is, click on remove or uninstall whatever the button says and guess what, it freezes the settings app....
I try to open task manager to kill it and task manager is not responding...
fuck it, I'm done...1
Currently working in a virtual Linux machine running on a Windows host. The Linux VM is running i3 and I just locked the host for the umpteenth time because my dumbass pressed Win-L to switch one Window to the right...
Also, while typing out the tags, I got the tag-suggestion 'my password is as weak as my mental state' 😂
Installed windows 10 in a virtual machine, fresh install no updates.
"Windows, what are you playing at we both know you are lying, how many updates do you have?"
"Away and install them NOW so that you don't reboot on me when I'm doing something important, ok?"
Remember, windows update rules should be like bathroom breaks on a long car journey, everyone goes before you leave and only when you stop for gas
First of all, a great channel to follow and where all this is from: https://youtube.com/watch/...
It listed a lot of open source news I missed myself and I'm sure others did too, for those that are too lazy to watch the video or open the description, I've stripped away the links and "X version got released" just to give an idea of what he covers.
GNOME and KDE announced they would work together on building better Linux desktops at Linux App Summit.
XRDesktop, a VR enabled Linux desktop, will allow you to use your Linux programs while wearing your VR headset.
Responding to the european commission's fines, Google announced that it would allow other search engines to be present at Android's setup.
Manjaro will allow users to pick between FreeOffice, Libre Office, or no office suite at all.
The Igalia team announced that they are working to make Pitivi compatible with Final Cut Pro X
Microsoft might be bringing its Teams software to Linux.
Martin Wimpress from the Canonical SnapCraft team gave an interview to TechRepublic, on Snaps
A discussion took place on how to improve Linux desktop performance in low ram scenarios.
A KDE vulnerability has been outed publicly before notifying the developers.
Nvidia has open sourced a bunch of documentation for its GPUs
Linux Journal announced they would cease their publication.
Kdenlive 19.08 has been released, bringing 3 point editing and a bunch of keyboard shortcuts
The Linux on Dex project now allows to run Ubuntu 16.04 LTS on a samsung smartphone.
According to protondb, we passed the 6000 playable games mark, out of 9 thousand for which users have created a report
GNOME Feeds has been released on flathub, a simple app to read RSS feeds on GNOME
The enlightenment desktop released its first version in 2 years, enlightenment 0.23.0.
Linux celebrated its 28th birthday
Microsoft announced that they would bring exFAT support to the linux kernel.
Thundebird 68 was released with an interface redesign
Collabora has published an update on their work on viglrenderer, a solution to emulate a gpu while using a virtual machine through Qemu.7
Installed Windows XP in a Virtual Machine today and used it as if it were my host os, people at the classes were like. wtf.. lol. Next plan, setup someone's laptop with Linux and make it look like Windows. Worth a shot lol.1
Okay so I have a question about Windows Linux Subsystem and idk where else to ask this.
So should I think of it as a virtual machine except instead of being a completely separate environment it’s my current computers environment?
I don’t know how to word this how I’m thinking about it but I’m trying to figure it out.
Also do Bash scripts work with it? I assume they do but it’s just a double check.19
I don't understand my brain when it comes to programming...
I know how to build complex modding systems and RPG mechanics that self balance themselves in games... Yet I don't know how to make a platformer (pretty much where everyone begins)...
And the most recent thing is I can't seem to grasp interpreters and put it into code yet in 4 hours at work when I was working the register I worked out how to build a virtual machine with its own custom vCPU architecture to use in my game engines terminal...
Anyone else have shit like this? I can't be the only one on this...
I just reviewed a resume that has 18 pages. I thought I've seen the worst. I have three stories so hopefully, the people having a hard time finding a job would get something out of this. Some people just don't make sense.
Candidate no. 1: The guy has a specific section for "Personal Details" with information that includes the following:
Nationality: <name of his country>
In the work experience, he indicated his responsibilities and one of them was "protect the name of the company at all costs". Wow, my pee pee hard. He has a shitload of Apple certifications and cancelled an interview before. On the date of his re-scheduled interview, the recruiter couldn't contact him. Probably died from an overdose of whatever drug he was on. Thank god, I did not want to waste both of our time.
Candidate no. 2: One of those "proactive" egotistical junior developers. So eager to trash other languages, elitist little fucks, and one of those "Windows bad, reeeeee" types. He said he only uses Linux but he can also use Windows because he would run a virtual machine in Windows that has Linux in it. Big brain 2020. I checked his LinkedIn profile and voila, the most recent of his activities was a shared post saying it should be illegal to push code that doesn't follow PEP8 standards. I crossed my fingers not to see an "HTML is not a programming language" shit in there.
I checked his portfolio, bloated piece of shit that has one of those rounded boxes in the middle. 50% nothing and 50% box that has all the details. He has menus named "Face" and "Emoji Events". He says there "I'm a pedantic programmer" and right after that statement are grammatical errors in various states of decomposition.
Interview day, he didn't miss the chance to tell me about how he wants everything to follow the standards and that his current company doesn't have good documentation so he's looking for other jobs. Strict about standards such as naming conventions but doesn't know data structures and algorithms. Epic priorities.
"Okay." I give him the assessment exam and left him alone for 30 minutes. I told him that he doesn't have to answer all of it and it's just a way to assess his knowledge (hint: try your best and be honest). I came back and he's browsing on his phone. He said he's looking for answers in SO but the connection went down.
"Okay." I checked the exam, no answers for most of it and the ones with answers are all wrong. Technically, you already cheated and yet you didn't get to answer all of it and you didn't even get anything right.
"Okay." He asks, "Do you use a lot of Math in the project?" I was confused. He then said that the exam has a lot of Math in it. The exam was a basic programming exam - how to swap the values of two variables, data structures, what is the time complexity of this and that, method resolution order, etc.
Candidate no. 3: A "full stack" developer. When you see that title, you know you're in for a carnival ride. Senior developer, almost 20 years of experience, has a Master's degree in a reputable university. Every page has a small box with some artsy style on it and a small chunk of information like where he graduated and shit. It's like a scrapbook of pain. This pattern repeated for the rest of the pages. I feel like I read a whole book and got nothing. Like you can ask me what the book I've been reading all day is about and I can't answer you because I don't fucking know. The amazing part is he would often have titles that look like this:
The fuck? I checked his LinkedIn and of course, I see that "Dear recruiters, if you're looking for blah blah blah, that's an entire IT department" cancer.
GOD DAMN IT COLLEGE YOU DID IT AGAIN. for real college can go suck Satan's 50 inch red cock for all I care.
A professor asked me to design a processor and I'll get a bonus. I said okay cool nothing hard.
oh but it has to be in verilog.
oh and it has to be on this fucking ancient useless piece of shit called xilinx that the fucking college provides to you only via a fucking 50 gigabyte virtual machine.
sigh. okay..... challenge accepted.
It fucking crashes every 2 minuites. And after 3 days of no sleep. I finally finished the Alu, Control unit, 4k memory, 8 registers and the busses.......... BUT THEN THE ENTIRE VIRTUAL MACHINE CRASHED AND LOST ALL PROGRESS...... fml.
and the professor only gave me the bonus for the Alu. sigh. fuck college.12
Today we kick off the project with the client, it's due in 3 months but client ask me if I can "feed the virtual machine" and "set up a website to preview the final result" for next Monday...4
This always gets me:
Developers complaining that their 4 year old / cheap ass computer is slow.
Get. A. New. One.
It's not that hard.
Here, let me do one for you:
I just went to a site that delivers across Europe, and selected a cheap laptop with a decent CPU and SSD. Short on RAM, sure, and without a Windows License. But you can buy RAM for an additional 50$, and that brings you to a total of 550€, delivery included. And it will WORK. And it will be fast.
It's too expensive?
No, not exactly. Wherever you are in the world, if you can code decently, good enough to have the right to complain about development tools, you are eligible to at least 10$ per hour income as a freelancer across the globe. I've had such opportunities offered to me by many organizations, especially non-profit ones that need cheap employees. I actually was offered more but let's stick to 10$ per hour.
So that's 1600$ per month. Enough to buy 3 such laptops. Oh, taxes, I forgot. So you get 2 laptops. Wait! You need food and everything else. Well if you're in a country where that offer actually makes sense, then it's likely that you can live off of 400$ per month quite well. Maybe 800$ if you need to pay rent.
So that's roughly 1 month of work for a laptop that will make you not waste time on waiting for stuff.
Sweet! 1 Month! What does it get me?
Well assuming that you have no laptop, it gets you A JOB that pays you 1600$ per month.
But if you DO have a laptop, you can sell it for cheap, and benefit from the following:
1. Boot-up time from 30-60 seconds to 10 seconds.
2. Installing software - from 1 minute to 10 seconds.
3. Opening a browser - from 10 seconds to 1 second.
4. Opening an advanced text editor (Atom, VS.Code) - from 10 seconds to 1 second.
5. Searching for a file on your entire hard drive - from 1 hour to 2 minutes.
You get the point. Waiting is reduced by several times.
So how much do you really wait when coding?
Well are you compiling? Are you opening a new project and the IDE needs to re-index the files? Are you opening programs like a terminal emulator, browser and such? Are you using virtual machines for dev environments?
Well all of these processes become several times faster. Depending on how often you do it, you'll be saving yourself from 1 hour per day to upto 4 hours per day (my case, where a HDD would be just out of the question).
How much is that time worth? At least 10$ per day. If you're working for 20 days per month, 240 days per year, that's a total of 2400$. And for the life time of that crappy laptop of 2 years, that's 4800$ saved. And that's with hugely conservative numbers. Nobody pays 10$ per hour any more, except if you've just started in the industry. I know because I've been there.
Please, for all that's sacred to you, justify right here, right now, HOW THE FUCK can you not afford to get that 8GB of RAM, that cheap ass SSD for 100$, or even a brand new laptop (hey! it's even portable and has FHD graphics on it!) for 550$.
That's why every time I hear someone who is a professional developer complain that they don't have money for a decent machine, I have to ask: why the fuck are you wasting yours and everyone else's time?!10
About slightly more than a year ago I started volunteering at the local general students committee. They desperately searched for someone playing the role of both political head of division as well as the system administrator, for around half a year before I took the job.
When I started the data center was mostly abandoned with most of the computational power and resources just laying around unused. They already ran some kvm-hosts with around 6 virtual machines, including a cloud service, internally used shared storage, a user directory and also 10 workstations and a WiFi-Network. Everything except one virtual machine ran on GNU/Linux-systems and was built on open source technology. The administration was done through shared passwords, bash-scripts and instructions in an extensive MediaWiki instance.
My introduction into this whole eco-system was basically this:
"Ever did something with linux before? Here you have the logins - have fun. Oh, and please don't break stuff. Thank you!"
Since I had only managed a small personal server before and learned stuff about networking, it-sec and administration only from courses in university I quickly shaped a small team eager to build great things which would bring in the knowledge necessary to create something awesome. We had a lot of fun diving into modern technologies, discussing the future of this infrastructure and simply try out and fail hard while implementing those ideas.
Today, a year and a half later, we look at around 40 virtual machines spiced with a lot of magic. We host several internal and external services like cloud, chat, ticket-system, websites, blog, notepad, DNS, DHCP, VPN, firewall, confluence, freifunk (free network mesh), ubuntu mirror etc. Everything is managed through a central puppet-configuration infrastructure. Changes in configuration are deployed in minutes across all servers. We utilize docker for application deployment and gitlab for code management. We provide incremental, distributed backups, a central database and a distributed network across the campus. We created a desktop workstation environment based on Ubuntu Server for deployment on bare-metal machines through the foreman project. Almost everything free and open source.
The whole system now is easily configurable, allows updating, maintenance and deployment of old and new services. We reached our main goal for this year which was the creation of a documented environment which is maintainable by one administrator.
Although we did this in our free-time without any payment it was a great year with a lot of experience which pays off now.
When you start an informatics course and your first task is to create a virtual machine. With Ubuntu.3
Yesterday, microsoft showed me once again, what it means to "obey".
I tried to install Microsoft SQL Server 2012 on a virtual machine with OS Windows7.
The installation-center asked me to choose an installation-folder for SQL-Server.
No matter what, for any folder i had chosen for the installation, the setup replied with the errormessage "The installation-folder is invalid"
So i considered asking our platform-services team, whether they gave me administrative rights for the vm.
They did. I had full access to the components of my vm.
After a few days i finally recognized, that i had picked a wrong iso for the installation of sql server.
Instead of sql server 2012 + Service Pack 3, i picked sql server 2012 ServicePack 3.
So after all, Microsoft tried to tell me by showing the message "The installation-folder is invalid", that the setup weren't able to find an installation of Microsoft SQL Server 2012.
My friend was telling me that there is a way of translating Python programs into Gava byte code for the Gava Virtual Machine. using something called Gython.5
So I think I saw a post on here about dvds in virtual machines. Got me thinking, and here's my results trying to play a dvd using linux running inside a vm.
Windows 10 Professional
Hyper-V VM running Debian 4.19
Xming website release for video (also works with the free version)
PulseAudio for windows to play sound
So, pretty straightforward, right? Insert DVD, tell Hyper-V to map the dvd drive to the virtual one and run `vlc dvd:///dev/sr0'
But of course, DVDs have copy protection (read: playback protection), so I downloaded the dvdcss package file from videolan's ftp server and installed it. This still didn't work though, vlc said it couldn't decode the dvd. Then, to make sure my dvd was okay I played it with vlc in windows, which worked fine. When I tried again inside the vm it suddenly "worked". Maybe running it inside of a vm prevents some access to the dvd drive required for decoding? Go figure.
The video was very corrupted though, and vlc puked out a lot of errors.
So in conclusion, playing a dvd in a vm is weird, unwatchable, inefficient and only works if you can also play it on the host.
And yes the audio is just as choppy as the video, no idea what causes this. I can play normal videos fine (for some reason that doesn't really work with the free version of xming) although it uses about 200% cpu since there's no hardware acceleration, and the framerate isn't necessarily what it is supposed to be.8
I have to install windows for this project because I usually work in spare half hours and the virtual machine takes 15 minutes to boot.
I tried to Google what to do if my only windows machine has space on the secondary disk only, because the install media creator requires 8 gigabytes. The only answers were mocking the op for buying a 50 GB SSD. I didn't even start working and I already hate the windows community.4
I just learn about Qubes OS and damn i love it. Going to test it in virtual box in a little while. Maybe i will install it on daily machine if it fits my needs. But still Arch is the best distro even if i switch to qubes.11
This story is related to Docker containers.
Three years back when I heard about docker my first impression of docker was mini Virtual Machine. Then when you start your first container it’s no way to get out apart from pressing ctrl+d or leaving it like a screen. One of the most embarrassing thing with it was I tried really really hard to setup SSH on one of the container to log in there somehow. Then I understood how to use Dockerfiles and the command called `docker exec`
I thought Dockerfiles are the most amazing thing I have ever used for docker. But then I got introduced to docker-compose, and now it’s same with kubernetes
Now a days I read most of the document before doing hands-on on any new technology.
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
Me: Wants to access an IP camera from home. Goes to url on mac. “Plugin required” press install “Not found”, google it: “ActiveX is deprecated and only works in IE.” Installs windows 7 on a virtual machine: runs IE “page can’t be load, browser not supported” looks for other way: got access: Sooooo slow After all that spent time: forget it I don’t wanna see it anymore.
If something is free, doesn't make it the best, it is like saying virtual box is better than VMware because it is free, all I can say is that virtual box is a bitch and VMware is a sexy house wife .....bitches fuck with everyone every with discount....
Good morning peeps6
So i was working on an android app that communicate with restfull web service. I setup everything , started the web service api at localhost and launched the app on genymotion (virtual machine android) .Nothing seems to work . I checked the code , debugged some stuff and it turns out i couldn't communicate with the api server. I tested the api on my browser and nothing is wrong ,I tried to test on the phone vm browser and voila 404 not found . How the hell it's working on my windows and not on the vm (with localhost url :/ ) .I kept debugging for more then 3 hours with no solution to be found .
The moment I realised wtf I'm doing and how stupid I was => shut down my laptop went to coffee shop and bought a lifeless dark espresso .
In case you didn't understand what the issue is, I was running the api on my windows localhost and testing it with same url on my android vm (I should've changed localhost with my machine IP )1
4 hour lesson. We have to set up a virtual machine with WIndows Server 2012 R2... Image broken. Now the teacher doesn't know what we could do and lets us do what we want.
I was so close to getting my macOS virtual machine fully working on my Razer Blade... But then I discovered that something with OpenGL/GLX doesn’t work properly, so I can’t use any graphics-heavy applications until I somehow figure out what’s wrong 😞6
Guys looking for advise. Does anyone of you using Virtual Machine inside a dedicated Windows Server?7
I would love to go Linux, but I'm using Visual Studio 😔 Is there way to run VS with Wine without Virtual Machine?11
That moment when your predecessor was working on his private MacBook and you realize you're gonna have to compile and test this iOS app through an OSX virtual machine on a iPhone emulator2
Today I had a full-day job interview for a junior data scientist position.
First I met the team which was only like half of everyone because apparently everyone was gone on Fridays. However the few there were really nice.
First task is to do some basic data analysis stuff even though I already spent a week on the coding challenge and sent them all my code/tasks. I log into my machine and create a new virtual environment but can't for the life of me figure out how to use the command line in windows to install packages. Turns out there is some problem with their proxy and they have to log me in on that. Then I am struggling on the keyboard because it's for a language different that my mother tongue and it takes me 3x as long to so the most simple things. All my shortcuts are out the window. Haven't a hard time typing parentheses and brackets. Start freaking out and have a panic attack mid task. I'm sweating bullets. I didn't even make it to the simple visualization tasks much less the models at the end. Time gets called and we all go to lunch and I'm freaking out on the inside the entire time. Angry at myself because I know I am better and just couldn't think.
After lunch I present my code and results from a coding challenge I did weeks prior. People from other teams get invited and I end up getting grilled for 2 hours by 15 people. Questions are flying in from all sides. They ask me almost everything I know about machine learning and some more. Under stress I forgot the name of the optimizer I used and couldn't answer some easy stuff because my mind was racing.
Right now I am on the train home and my body physically hurts. I am disappointed with myself and wish I could have shown up better. Never really froze up like this before.2
Our help desk person set up our software in a virtual machine on some cloud provider and you know how they give you a drive labeled temporary with a text file in warning you how the files will get deleted? Well for some reason they put the database files on that drive.
Luckily the server was for a small internal project and restarted a few days in so the users didn't loose too much work.
*One Month Ago*
Project Manager: we have allocated these two workstations for you to extract data (set) from malicious files, they are off the network. I though would also prefer a seperate laptop for this project you can take this one (pointing towards the newish laptop on the table)
Me: (i declined his offer because i didn't wanted to carry two laptops everywhere) I'm going to use my own laptop, but I'll be using a sand box or virtual machine.
*Fast Forward to Today*
Accidentally ran a script outside the sandbox, which due to some unknown reasons ended up executing a bunch of malicious files I only realised my mistake when my antivirus started to go bonkers FML.
P.S. both of those PCs are now connected network because of me.
!rant from a support guy
I was tasked to migrate an Exchange 2003 server (yes, those are still used) for an upcoming Office 365 deployment. There are no direct upgrade path from one another, as far as we know
My task was to export PSTs from mailboxes. Great, a native tool exist for that in 2003 (exmerge). But only for less than 2 GB mailboxes because ANSI/Unicode! Half of our mailbox busts that limit. Oh, it seems Exchange 2007 has a PowerShell command for exporting to PST as well! But pre-SP3, that command relies on a local installation of Outlook on the server (DAFUQ), and has been superseded by another "standalone" powershell command. So I install a bogus Windows 2012 server only for that purpose, with Exchange Management Tools (which, by the way, is bundled with the Exchange installation setup and REQUIRES to have IIS installed on the target machine. Also, if you install ONLY the Exchange 2007 Management Tools and wish to uninstall them afterwards, you can't because the uninstaller wants me to select an Exchange Role to remove, which are all unchecked in my tools-only setup). Never worked, and Google-fu says that the newer Exchange 2007 New-MailboxExportRequest command seems to have removed Exchange 2003 support.
So i'm back to installing a pre-SP3 Exchange 2007. Then the older Export-Mailbox powershell command whines about 64bits and 32bit incompatiblity-- actually I ***HAVE*** to have the whole OS/software stack 32bit ONLY. Don't ask me why!
Some article I found says I could fire up an XP virtual machine for that, I go for Win 7 x86. "Sorry, Microsoft Exchange won't be installed on a workstation environment because reasons." All right then, let's go for an old Windows Server 2003 x86. Have you tried to boot this up in an Hyper-V environment where mouse and keyboard support for Windows Server 2003 are apparently optional? No keyboard AND mouse events sent to the guest machine at all.
* Sigh *, let's use a Windows Server 2008, but WATCH OUT! Microsoft has discontinued x86 support on their W2008 R2 release, so non-R2 for me. Even then, mouse event wasn't sent until I installed guest additions.
After all, export-mailbox ended up working, but that costed me two days of banging my head against the wall. (Oh, and I take internal calls inbetween as well...)
And that's why I aspire to be a programmer. Thank you for nothing, Microsoft!4
What's the strangest Assembler or Pseudo-Assembler you've ever encountered?
I wrote a Z-machine (Infocom's virtual text adventure interpreter) and it was quite an interesting interpretation of bytes:
- The first 3 bits of an instruction tell you the opcode category, the rest are the instruction
- The 2nd (and maybe 3rd) byte tell you in 2-Bit chunks the operand types.
- text is encoded in 5-Bit chunks, with special characters for CapsLock that double function as padding (if your text doesn't align with the 3 letters per 2 bytes).
- and of course there are 5 different versions that all work slightly differently (as in CapsLock becomes Shift or "this special character isn't in use anymore")3
I feel like writing or telling people about the time I jumped from Windows 7 Ultimate and jumping to Windows 10. (I'm not against 10, but I'm never updating after what had happened to me)
It all starts when none of my games will play due to a possible issue with my graphics card. I look up "3D source game bug" and not many results pop up. I go on Microsoft's Qna areas and ask this question but to my surprise nothing they say would make sense. "Clean the pins of your graphics card, make sure you verify the games on Steam". I verified the games and they checked out as perfectly fine. I don't have access to my graphics card because this is a laptop, sadly not a tower.
Two months pass and my computer is already showing signs of stress, like it didn't want to live in a sense. It was three times slower than when I was on Windows 7 and it was unallocating areas of my main hard drive where I could make virtual hard drives.
Instantly I start looking up Linux distros and find Linux Mint. 17.3 was the current version at the time. I downloaded it and burned it onto a DVD-rom and rebooted my computer. I loaded into the disc and to my surprise it seemed almost like Windows 7 apart from the Linux part. I grab my external hard drive and partition it to hold the Linux distro and leave it plugged in incase Windows 10 does actually fail.
On December 19, a few months after Windows 10 had released. I start my laptop to try and continue my studies in video game development. But to my surprise, Windows 10 had finally crashed permanently. The screen flickered blue and black, and an error box saying Loginui.exe failed to start. I look at it for a solid minute as my computer had just committed suicide in a sense.
I reboot thinking it would fix the error but it didn't. I couldn't log in anymore.
I force shutdown the laptop and turn it back on putting it into safe mode.
To my surprise loginui.exe works and I sign in. I look at my desktop, the space wallpaper I always admired, the sound files, screen shots I had saved.
I go into file explorer and grab everything out of my default hard drive Windows was installed on. Nothing but 400gb got left behind and that was mainly garbage prototypes I had made and Windows itself. I formatted my external hard drive and placed everything on it. Escaping Windows 10 with around 100GB of useful data I looked at the final shutdown button I would look at.
I click it and try to boot into normal Windows 10. But it doesn't work. It flickers and the error pops up once more.
I force it to shutdown and insert the previous Linux Mint disc I made and format the default hard drive through Linux. I was done. 10 gave me a lot of shit. Java wouldn't work, my games has a functional UI but no screen popped up except a black abyss and it wouldn't even let me try to update my graphics card, apparently my AMD Radeon 5450 was up to date at the AMD Radeon 5000's.
I installed Linux Mint and thinking the games would actually play I open steam and Launch Half-Life 2 to check if Linux would be nicer to me than Windows 10 had been.
To my surprise the game ran. The scene from Highway 17 popped on screen and the UI was fully functional. But it was playing at 10-15fps rather than the usual 60-70fps. Keep look at my drivers and see my graphics card isn't in use. I do some research and it turns out I have a Hybrid Laptop.
Intel HD Graphics and an AMD Radeon 5450 and it was using the Intel and not the AMD. Months of testing and attempts of getting the games to work at high frame rates pass and the Damn thing still functions at a low terrible fps. Finally I give up. I ask my mom for a Windows 7 disc and she says we can't afford it. A few months pass and I finally get a Windows 7 installation disc through money I've saved up. Proudly I put it into my optical disc drive and install it to my main hard drive deleting Linux completely. I announced to all my friends my computer was back in working order and I install everything I needed, Steam, Skype, Blender, and Unity as well as all my games. I test Half-Life 2 and it's running exceptionally smoothly, I test Minecraft at max settings and it's working beautifully. The computer was functioning properly once again and my life as a developer started as I modeled things and blender, learned beginners C# and learned a lot of Batch. Today the computer still runs at a great speed and I warn others of what happened to me after I installed Windows 10 to my machine if they are thinking of switching from 7 or 8 on an older machine.
Truly the damage to my data cannot be undone. But the memory of the maintenance, work, tests, all are a memory of how Windows 10 ruined me and every night before the one year anniversary of Windows 10's release, I took out the battery of my laptop and unplugged it from the a.c. power, just so Windows 10 doesn't show it's DLLs, batch scripts, vbs scripts, anything on my computer. But now, after this has happened and I have recovered, I now only have a story to tell5
My Windows 10 VM gloriously just shat itself so badly, it's now stuck in a BSOD bootloop (first time ever I managed to get a BSOD in a fucking virtual machine btw) and I need to reinstall it. So I need to download the newest Win10.iso.
But I'm also currently working on a university assignment that requires me to be connected to the university-network via a VPN that's slower than my 90s ADSL connection (~1Mbps) (see my previous rant). So to download the 4.7GB iso it'd take.... I'm bad at maths, so let's just say fucking AGES.
So I spin up another VM with a bridged network to download my Win10.iso with Gigabit speed to set up another VM.... wonders of modern technology
Just spent 30 minutes learning how to copy paste from tmux, on my virtual machine, to then set up a text file linked to my local machine, and paste >> file.text. So that then I could open the text file locally and ctrl-c to copy it
How long was this text, a 20 character url. I'm now contemplating why I spent 30 minutes doing this rather than spending 5 seconds typing it3
Any linux distro recommendations that works well in a virtual machine? Would like to try Linux but I still use Windows for my everyday C# and student life.31
So apparently, Remote Desktop via Citrix via Virtual Machine via Remote Desktop is how we access other servers in 2016 !1
The end of today was extremely fun.
Imagine the surprise. I was importing a simple 8 GB big virtual machine into the Proxmox hypervizor.
First issue: It was in the Open Virtualization Format (.ova) for easy import into... most hypervizors... Not Proxmox, however.
But really, not that bad, there are ways around it. Create a blank virtual machine through the UI, scrap the disk you create, then extract the two disk QCOW2 files from the .ova file, which by itself is just a POSIX TAR archive. Then import them through the commandline.
...So I did just that. The larger of the two was about 8 GBs, the other just like... 50 MBs.
The larger imported fine. The smaller?
Color me surprised, when it created a FUCKING. 1. TB. LOGICAL. VOLUME.
That it then proceeded to try and fill full of zeros...
Oh yes, it was one of the fancy dynamic storage files that expand as space is needed.
Tomorrow, I'll have to try if I can export just the filesystem data into an individual, shrunken down, normal, plain, old disk. None of this fancy black magic shit.
...Also... I don't get why Proxmox doesn't support that... The filesystem was only a few megs big... Ugh.1
An ex client told me that her new software house wants the private key to access her virtual machine. The private key.
I explained that she must send me a public key, but I didn't tell her that new guys she is working with don't know what are doing. Now I feel regret.
what's your thoughts about the new windows terminal thingy. Always ran Ubuntu on top of windows in a virtual machine cause college and stuff. but what do you guys think?21
Development: we need Nginx installed on *insert server list*
Me: ok, let me get in tough with the platform team.
Platform team: This should be installed in the userspace, Unix teams don't support this.
And here I am, trying to get a reverse proxy running on servers on which I do not have sudo rights.
Since it doesn't work, it's my fault, both sides block the door.
I installed it locally on a virtual machine, but the compiled or installed code doesn't work once copied.
The joy of being an "application engineer". This job title means nothing!12
So I'm a developer trainee. My development machine ? - was given a MacBook pro that was used by previous developer. The home screen is filled with random project files and documents.
Try to click on the pad, doesn't work, realized you have to press it real hard on side to click , wth, crappy touchpad. Back to setup.
I guess create a new account. Need to make an apple ID, heck no, create account without it, logon and just realized, shit all the tools need be installed..
Go to app store, need an apple id, heck.. , create an id, login, realize most of the tools aren't in app store...
Log back in crazy's account, power windows virtual machine..
Desktop filled with shyteload of files.. try to personalize windows, Windows isn't activated.. the heck.
Give up, just install vscode on corporation desktop machine for now, while the MacBook is a paperweight, and my shield in case of a gun situation
Better I see the crazy Dev who worked on this machine, and hit em in head with this paperweight.2
Is it doable to install macOS on a hypervisor on aws/google/azure and use it via VNC screensharing?5
As we all know we have Apple, MS and linux fanboys & girls here. I myself am strongly MS oriented however I like and use Linux too. I have never tried running a virtualized Win10 pro on Linux though. Anyone ever did that? And if so, what did you use to get it working and did it work well? Since my last 2 clients I always work on a VM so that I have a windows VM specifically setup for my client so their config and apps don't mess with my personal dev needs. So I curently run Win10 pro inside hyper v vm on win10 pro. I'd like to experiment and run win 10 pro vm on linux so any suggestions etc are highly appreciated.12
I'm not a fan of X display managers. I prefer to have my machine boot directly to the virtual console, and if I want to run X, I can start it with startx. Does anyone else do that? If so, what do you put in your .xinitrc?7
I went on, poked around a little bit more and found some stuff like what tech my school has in a CSV, or daily tasks for the IT staff. But oh, I just had to, really had to do ipconfig /release! I have no idea wether the machine I was using remotely was virtual or real!
And I used my own account...
I have just slept for a minimum of 5 hours. It is 7:47 PM atm.
We have had a damn stressful day today.
We have had a programming test, but it really was rather an exam.
Normally, you get 30 minutes for a test and 45 minutes for an exam.
In this "test" we have had to explain what 'extends' does and name a few advantages of why one should use it.
Read 3 separate texts and write the program code on paper. It was about 1 super class and 1 sub class with a test class in Java.
Task 3: Create the UML diagram of the code from above. *internally: From above? He probably means my code since there is no other code there. *Checks time*. I have about 3 minutes left. Fuck my life.*
Draws the boxes. Put the class names in each of them. A private attribute for the super class.
Teacher: Last minute!
Draw the arrow starting starting from the sub class to the super class.
Put my name on each written paper. And mentally done for the day. Couldn't finish the last task. Task 3.
During this "test", I heard the frustrations of my classmates. Seemed like everyone was pretty much pissed.
After a short discussion with the teacher who also happens to be the physics professor of a university nearby.
[If you are reading this, I hope that something bad happens to you]
The next course was about computer systems. Remember my recent rant about DNS, dhcp, ftp, web server and samba on ubuntu?
We have had the task to do the screenshots of the consoles where you proof that you have dhcp activated on win7 machine etc. Seemed ok to me. I would have been done in 10 minutes, if I would be doing this relaxed. Now the teacher tells us to change the domain names to <surnameOfEachStudent>.edu.
I was like: That's fine.
Create a new user for the samba server. Read and write directories. Change the config.
Me: That should be easy.
Create new DNS entries in the configs.
Change the IPv6 address area to 192.168.x.100-200/24 only for the dhcp server.
Change the web server's default page. Write your own text into it.
You will have 1 hour and 30 minutes of time for it.
Dumbo -ANGRY-CLIENT-: Aye. Let us first start screenshotting the default page. Oh, it says that we should access it with the domain name. I don't have that much time. Let us be creative and fake it, legally.
Changes the title element so that it looks like it has been accessed via domain name. Deletes the url and writes the domain name without pressing Enter. Screenshot. Done. Ok, let us move to the next target.
Dhcp: Change lease time. Change IP address area. Subnet mask. Router. DNS. Broadcast. Optional domain name. Save.
Switches to win7.
Holy shit it does not work!
After changing the configs on ubuntu for a legit 30 minutes: Maybe I should change the ip of the ubuntu virtual machine itself. *me asking my old self: why did not you do that in the first place, ass hole?!*
Same previous commands on win7 console. Does not work. Hmmm...
Where could be the problem?
Check the IP of the ubuntu server once again. Fml. Ubuntu did not save when I clicked on the save button the first time I have changed it. Click on save button 10 times to make sure it really is saved now lol.
Same old procedure on win7.
Alright. Dhcp works. Screenshot.
Checks time. 40 minutes left.
DNS:It is your turn. Checks bind9 configs. sudo nano db.reverse.edu.
sudo nano db.<mysurname>.edu.
Alright. All set. It should work now.
Ping win7 from ubuntu and vice versa. Works. Ping domain name on windows 7 vm. Does not work.
Oh, I forgot to restart the bind9 server on ubuntu.
sudo service bind stop
" " " start
Check DNS server IP on win7. It looks fine.
It still doesn't work. Fuck it. I have only 20 minutes left. Samba. Let us do this!
10 minutes in. No result. I don't remember why. I already forgot why I have done for it. It was a very stressful day.
Let us try DNS again.
Oh shit. I forgot the resolver!
sudo nano /etc/resolv.conf
The previous edits are gone. Dumb me. It says it in the comments. Why did not I care about it. Fuck it.6 minutes left. Open a yt video real quick. Changes the config file. Saves it. Restarts DNS and dhcp. Closes the terminal and opens a new one. The changes do not affect them until you reopen them. That's why.
Change to win7.
Ping works. How about nsloopup.
Does not work.
Teacher: 2 minutes left!
Saves the word document with the images in it. Export as pdf. Tries to access the directories of the school samba server. Does not work. It was not my fault tho. Our school server is in general very slow. It feels like they are not maintained and left alone like this in the dust from the 90s.
Friend gets the permission to put his document on a USB and give the USB to the teacher.
Sneaky me: Hey xyz, can you give me your USB real quick?
Gets bombed with "do you want to format the USB?" pop-ups 10 times. Fml. Skips in a fast way.
Transfers the pdf. Plug it out. Give it back.
After this we have had to give a presentation in politics. I am done.6
Today i chartered new realms for me.
I created a new hyper-v vm on the company windows servers and added a 5th instance to it, but instead of running another windows server i installed an ubuntu 18.04 (cause i am a bit familiar with debian from my raspberry pi)
we have two servers, one which runs the 4 vms and a replica. I first had the new vm on the main server but it occured me to move it instead to the unusued replica machine. That kinda worked..i did a planned failover but the main server isnt configured to be the replica..and even when activating that it didnt work. This is weird.
For the moment i ignored that and proceeded to install nginx, mariadb and php 7.2..basically the lemp stack. I managed to setup nginx and a static ip adress for the machine (which was different from how i remembered it to do (in 18.04 its not done with the network conf but a yaml file).
in the end i added two different virtual servers, one for actual use and one for dev stuff (with phpmyadmin running for instance), listening on port 80 and some random other port.
as a test i brought a mediawiki onto the Port 80 server and it worked.
on monday i have to figure out how to implement the wildcard certificate i have for our company domain (internal dns simply routes intranet.company.com to the local server vm)
i am mighty proud cause all my experience with linux was with a raspberry pi so far and i am fairly certain i did it right and without shortcuts this time. (unlike my raspberry experience)
just wanted to share
(i also sweated a lot of blood when editing the hyper v settings as i did not set up the server in the first place)
((i also installed xrdp and a mate desktop, but i am less proud of that, but sometimes seeing folders graphically helps me))
VMs - VirtualBox or VMware?
IV'e been using VMware v14 cracked, my principal VM is a Linux mint machine, wich one deals better with Linux VMs?
I haven't used Vbox since I found a craked VMware 14 but should stop using it..........
Also, what is the best way to have a prepared to mount VM in a pen drive? Lets say I place my Linux mint machine in my 64Gb pendrive I take everywhere, I want to plug it to any machine (windows most likely) and use it pronto to run the VM instead working in that machine.10
Tried this today:
Xubuntu running Ubuntu on a Virtualbox machine running Android emulator (ie. running Java virtual machine(s))
Failed miserably and even if it would have worked, I think the performance would have been horrible.1
Friendly reminder for hackathons, a great idea is better than a great app.
I saw amazing creations, from a virtual reality rowing machine to a camera that read a Connect 4 game into a AWS server live.
Yet, the hack that won the popular vote was an app that would tell your friend, through texts, where you were when you're heading over to pick them up.
A simple concept to implement, but a great idea.1
I've moved to Linux I'm gonna give it a week. See if it's any good I know if I need windows as a virtual machine it's there 95% speed ain't bad5
you done fucked it up!
I had a god damnit run, finishing the last mammoth task of our sprint.
Then, i decided to take a 3 minutes bio break.
Came back to my machine just to realise that this little OS bitch sneaked up on me, used the few seconds of my break to do a unholy, reboot of doom and damnation.
As a result, my virtual machine dropped it's php-storm settings...
I lost my precious focus on the task and my last nerves to figure out the correct settings again.
To cut a long story short.
We missed the aim of the Sprint.
The Sprint failed and i got a half-baked module.
At least, all the complicated businesslogic is proper covered by unittests.2
Since last update (version 63) Google chrome forces all *.dev domains to use https. Guess who used a *.dev domain for his local development virtual machine and now have to switch to *.local ...
Removing the HSTS Rule from chrome seems not to be possible and surprisingly I could not use a self signed SSL certificate to make it working again.3
How about incompetent management? Company absolutely murders any possible increase in productivity. Laptop provided? Slow as balls. Takes minutes to log in. I get a Mac for mobile development and that's OK. SSD and adequate memory but I'm primarily a .NET Dev. Can't get on the network with a virtual machine. They won't I stall even a managed image. So can't use databases because they're all AD authenticated. Got a virtual desktop environment and that sucks worse in performance than the laptop. Add the Assault on local administration rights and the monitoring software that constantly thrashers any memory and hard drive usage and im about to quit over all this... All this decided by a non developer and not asked for our opinions. Yay large Enterprises
So, a month ago I ranted about windows update, because I had to backup my virtual machine and windows killed it.
Well, Asus needed "only" 4 weeks to replace my fkn Mainboard and now I have my baby back 😄
OK. Now I deactivated the Windows update completely. 70gb, incoming!
Tfw I found out why virtualbox was running so slowly. Smh the video memory the virtual machine was allowed to use was stuck at 16Mo. THAT'S WHY.
Feels so weird to have a (nearly) smooth vm after struggling at 5fps for about six months.3
Had to fix some stuff in the documentation for my internship... boot up Windows in a VM to use Word, virtual machine crashes *twice* for no apparent reason, making me lose some unsaved progress and somehow all the pictures in the document got a read error.
Ah well, should be done with it now (:1
That moment when you buy a machine, install xenserver on it and start playing modern AAA titles @ ultra in virtual machines
Currently attempting to install Arch Linux for the first time in a VM... because I'm bored. As a Pop!_OS user, I am actually starting to miss my graphical installers.
I just wanted to add my opinion about Linux. I have played around with computers since I was 5 and the last three years I have worked professionaly as a software developer. I have tried Linux many times and have to work with it regurarly on Raspberry Pi's, routers, servers etc. For two months ago I decided to try out Linux as my main desktop operating system. As my machine has some uncommon hardware (Celeron 3450) there was trouble from the start. Getting it installed wasn't as easy as just creating a bootable usb. I had to start a virtual machine and patch the iso with a script to make it bootable. I also had to install a third party bootloader, so just installing it probably took about half a day. To start off, I tried Manjaro, basically Arch with some extras. It looks great, was fast and easy on resources but I couldn't manage to install some essential tools that I needed. So I patched Linux Mint instead and installed it. I've tried all the DE's available, but unfortunatly everyone has some problem. Either it's sluggish or having screen tearing problems and/or buggy. I settled on XFCE as it seemed to work the best. Unfortunatly I have to live with horrendous screen tearing even though I tried many different window mannagers engines like compiz and metacity. Also whenever I plugged in a USB mouse, the keyboard died, requiriing a reeboot. Power settings were messed up so the laptop locked and asked for password twice sometimes and the battery life was 3 hours worse than Windows. The desktop theme bugged so window buttons (maximize, close) disappeared sometimes. I also had problems with the panel not showing when pressing the windows key, apparently that is impossible to fix. Firefox is also kinda bad, wasting like 15 pixels at the top for no reason and not offering many options though Vivaldi got this covered at least. Touchpad was weird too, didn't support gestures and had bad accuracy. During the install I was asked if I wanted to enccrypt my home folder, so I said yes. The other day I need to create a new partition and do some resiszing so I used gparted. Unforutnaly I managed to remove a partition that was encrypted, so after a reboot I coulnd't get into the OS anymore.
That was it, I used Linux Mint as my daily driver for 2 months and every single day I probably spent 0.5-1 hour fixing things. The OS was always in the way for me and what I wanted to do. Don't get me wrong. I love Linux in the sense that it is efficient and open (source) and it have basically taken over in alla areas except just desktops. The desktop experience (doesn't matter which DE) just plain sucks, or I just had bad luck.2
I need your help please !
I'm about to buy a netbook to use it as a portable dev environment ; it should be able to run Eclipse, some code editor, GCC, and a virtual machine.
I've found a Lenovo E135 with 8GB RAM for only 100€ but the main problem is that his processor is an AMD E2-2000 (only 1,75GHz, and AMD)... Will it be enough to do what i want ?
I've also found a Lenovo Thinkpad x230 with a Core i5 (2,6 GHz) and 4 GB RAM for only 170€ but the problem there is the battery (the core i5 consume much more power)
Which one should i buy ? (Knowing that i have only 100€ but i could manage to get the missing 70€ for the x230)
Thanks for your help !10
Ffs. I thought I never had to touch development for ios devices anymore but I was wrong.
The god damn piece of shit hybrid app build in apache cordova works perfectly fine on android but guess what, after signing that pile of crap with xcode it won't work on ios because somehow that retarded os forgets to listen for click events on a simple fucking button which is used to activate the app.
Had to create a virtual machine with osx and wait for xcode to instal, sign that app only to figure out it won't work..
Even after seaching google for 3 FUCKING HOURS there are still no FUCKING RESULTS.
I'm done with the entirety of apple and all their products.
The new windows subsystem for Linux might severely slow compilation time for me.
Microsoft is releasing a preview of WSL 2 which works fundamentally different to WSL 1, which I currently use.
For those who don't know, WSL (or Windows Subsystem for Linux) used to be a compatibility layer, which "translated" Linux syscalls to Windows syscalls. This enables the execution of Linux applications on Windows. The new WSL (WSL 2) doesn't do any of that, instead, it is a highly optimised Virtual Machine.
So don't get me wrong from a performance point of view there is no Issue, RAM and CPU usage is truly astonishingly small and performance of Linux applications is much improved over WSL 1.
BUT, apparently, accessing files stored on Windows through Linux is now piss slow.
Great, truly outstanding.
Why is this a problem? Well, I use WSL to develop c++ Linux applications using CLion, the way this works is that you set up an ssh server in WSL, which CLion uses to do compilations.
One _needs_ to have the project files stored on Windows as otherwise CLion on Windows can't access them.
If I wanted a Linux VM I would have installed one.
Virtualbox 6 sucks!
So i'm on a mac and i need some linux goodness on the quick. But the screen resolution stays at 800x600px! On my high dpi screen it's so tiny i need a magnifying glass to do anything on the guest os. And i can't change the resolution nor scale it up for the life of it. Never had that before. Really frustrating!!! 😤5
okay I feel dumb for this question but for my next internship I need Linux on a laptop.
I have two options.
1, Current laptop with windows dual boot or vm
2, shitty laptop just to Linux.
help me out guys :-/10
Working on a perl script to export XenServer's virtual machine.
Wrong command -> shut down server -> no production for 1 hour
My boss doesn't know I'm guilty ...2
Hey devs, I'm doing a final year project for a company where I have to implement a solution using web assembly.
Now this can be anything at all from a new operating system to a virtual machine. Although I have something in mind I thought I'd ask the community too, do you guys have any interesting project ideas that can be implemented using web assembly?
Debian 9.x for LAMP dev environnement. Installed on my Mac through VirtualBox. The VM boot in 3seconds.2
Ive been running a brute force program on kali linux virtual machine which was using multi threading by sending Hundreds of requests per 10 seconds 24/7 my laptop overheated and shut down and now my kali linux vm wont boot up something got broken heres a screenshot help please17
So I had this discussion yesterday..
Virtual Machines on a SSD: Yes or no? Good or Evil?
What's your opinion?
I keep the OS partition of my VMs on my SSD, because they are unusable otherwise. At least if it is a Windows vm.7
Damn it XenCenter! Why won't you reboot the VMs like I tell you!? Force reboot also didn't work. Now I have to shut it down and restore a back up VM. This has been going on for the past 2 weeks!!
So, the story starts with me getting a job. Full-time job for the first time in my 21 years old life. After short conversation about how amazing this company is, after countless lies and stood questions they decided to hire me. I had to get come on Monday a week later with everything prepared.
So of course I did that and got to my workplace on designated time. Turned out nobody was expecting me, nothing was prepared for a new programmer and everyone seemed angry at me for no apparent reason.
After long talk with my new boss I got some less than 100$ pc with CPU that couldn't handle virtualization and expected me to work on software that needed extensive use of virtual machine.
PC is of course filled with all kinds of spying software that uses most of the resources. IT teams only job is to check if programmers are working their assess off for at least 8 hours a day.
I've filled a ticket about granting me access to Debian machine on the mainframe so I could work. No response for two weeks. I've lost hope already.
I have to work on open space with more than 30 engineers. Screams, phone calls, alarms, all at once, all the time. My colleagues seem to not care and I can't understand how.
I was tasked with rewriting major application because old developer did some half assed piece of burning shit. It took him more than one year, I'm finishing it in less than two weeks.
Of course nobody except for me is preparing any kinds of documentation. I had to reverse-engineer whole API for alarm system.
Salary is less than a junior programmer should earn.
But I'm stuck here for at least a year because nobody's here wants a guy whose only experience is as a freelancer.
I need to study "Automator" is an exclusive Mac OS application, I've never had a Mac device and I'm having serious problems to start a virtual machine with Mac OS X 10.9 - Yosemite.dmg (I used a program to transform the file in .iso after this the file is not bootable anymore) Reading on other pages, they tell me that starting a Mac on virtualbox is not an immediate thing. can someone help me?6
After ten reinstallation, finally ready my first Virtual Machine fully operative with FreeBSD.
An OS full of surprise for a Arch-fag like me.
It's just like Arch, but without complicated simple things. Even if the raw system don't have anything on, in ten minutes is a fully operative system with even a configurated Desktop Enviroment.
The malus: driver. Not every machine can be the host for FreeBSD, for example AMD GPU can't send audio channel throw the hdmi port.
Personally i love the BSD License, so i think this OS will be my permanent one after Windows 101
So yeah now that WSL 2 has been released to insiders, I can confirm that it is 'just' a virtual machine. However it's an incredibly lightweight one. Honestly it's just as responsive as when using iTerm on my Mac.
I gotta say I was hesitant about it being a vm, but they've executed it in a great way. My only problem with it at the moment, is that it only works as a host-only network. Would be nice to have the possibility of changing network adapter settings4
I can't wait until I feel like Dr. Frankenstein when I build my PC this week. My first real computing rig!!
Some backstory: My main dev machine is my old Lenovo laptop running Ubuntu (my baby). I took Windows off of it when I got a Surface through a job and have been using that for Windows specific work. I'm going to be giving that to my little sister next time I travel home. In short, this is the first computer that will be able to cut through anything I throw at it and play games that aren't at least 6 years old.
The build is centered around an i5-8400 and gtx 1060 6GB, and I'll be running Windows as a primary OS for gaming. However, I fell in love with programming on Linux and there is no way Linux won't be on my machine. I understand the differences between dual-booting and virtualization, but I want to hear how you guys run Linux on your Windows gaming machines or if you go about it another way. I also have heard horror stories about drivers for Linux, and wonder if my graphics card being certified by Ubuntu LTS actually means that it will operate correctly. I have also only ran VMs on crappy computers so I haven't had any experiences where that performed better than dual-booting. I'd love some feedback or to hear about all of your setups, as hardware has never been my strong suit.
I'll post a pic of my setup when it's done too.4
Optimal Hardware Requirements are growing drastically fast. A few years ago , when my first computer came with 2 GB of RAM , It ran pretty smooth under moderate use. A few years later , 8 GB of RAM and the computer starts choking on Running 1 Virtual Machine.5
I just discovered the most mind blowing piece of software I have seen in a while.
It turns your machine into:
- Application Server
- Any amount of virtual machines
This software is so stable it will even let you run a gaming rig as a vm without much performance impact!
Holy fucking shit, I hate ubuntu SO much.
So what it happened..
I was tryin to set up an Ubuntu server on my machine using virtual box, and I know what you are thinking, "VirtualBox?" yeah its the only machine I had lying around and it had windows and I didn't wanna re-format its hard drive.
So Here how it goes...
Install went fine.. But when I was trying to manage multiple network interfaces, it was Terrible & pain in the ASS 😡...
So initially I needed 2 network interfaces, one for NAT adapter and another Host-only interface for SSH and stuff.. so I made changes in virtualbox settings and rebooted the VM. and it stuck on "a start job is running for wait for network to be configured" I was like okayy and removed host-only adapter and rebooted, it booted fine :/ then I tried combo of bridged adapter with my Ethernet and a host-only adapter, and what? it booted finally! but this wasn't an optimal solution because it had and IP address within subnet of other devices with my router and half the bandwidth (like 50mbps or something).. I reverted back to NAT network & I checked with ifconfig and it STILL didn't had an IP address assigned to it for Host-only adapter!! FFS I deleted the VM and reinstalled the whole thing again but this time both interfaces attached..
after installing it stuck on same shit again :'(
"a start job is running for wait for network to be configured"... FUCK!
after about an hour of troubleshooting and trying different configurations, I still couldn't get it to work.. I never had such problems with centOS.
Fuck you ubuntu.. fuck you in the ass7
Created my first CentOS virtual machine to test code locally and at every step it seemed like SELinux was working against me. Has anyone else here spent hours trying to get just the right settings to run a webserver on an OS with SELinux or is it just me?1
Trying to change security settings for Internet Explorer in a Windows Server is so 😫.
I just want to download a simple file from email.
What would I do that on a server you may ask.
Well is just a virtual machine in a testing environment, so it doesn't matter.1
Ok, so for past 1 whole day I am trying to make vhost work on my brand new laptop, running Ubuntu 16.04 LTS... When I installed OS, I've set hard disk encryption, and on top of it - user home folder encryption. Don't ask me why I did both.
Setting up vhost is simple and straight forward - I did it hundreds, maybe thousands of times, on various Linux distros, server and desktop releases alike.
And of course, as it usually happens, opposed to all logic and reason - setting up virtual host on this machine did't work. No matter what I do - I get 403 (access not allowed).
All is correctly set - directory params in apache config, vhost paths, directory params within vhost, all the usual stuff.
I thought I was going crazy. I go back to several live servers I'm maintaining - exactly the same setup that doesn't work on my machine. Google it, SO-it, all I can see is exactly what I have been doing... I ended up checking char by char every single line, in disbelief that I cannot find what is the problem.
And then - I finally figured it out after loosing one whole day of my life on it:
I was trying to setup vhost to point to a folder inside my user's home folder - which is set to be encrypted.
Aaaaaand of course - even with all right permissions - Apache cannot read anything from it.
As soon as I tried any other folder outside my home folder - it worked.
I cannot believe that nobody encountered this issue before on Stackoverflow or wherever else.9
When your backend developer says the client has an issue on his virtual machine but has a bad track record of being incorrect and never checking if there is a conflict in the API that is causing authentication to fail for a feature and you then step through their code only to find the conflict in the API only to have them get mad at you for finding the problem after stating it's "Not my problem." I don't have time for this shit.
I've always managed the different versions of python manually on my machine, and set up virtual environments off of them.
Now I've found pyenv, it's so simple now.
Can't wait to see what plugins are available for it2
Well, I kinda regret.posting what I did yesterday about my Mac because now I can't get gdb to run. Keeps on saying something about codesiging even though I already did it. I'm not trying to use a virtual machine either.5
I have been working on a long time, low progress project of mine that keeps on giving and giving.
Let's begin like two years ago where I dipped my toes into "more then gigabit" networking thanks to a Linus Techtips video about infiniband.
I had the dream of booting my Workstation from my NAS, a so called diskless setup.
Well, since I run FreeNAS on my Nas , a very nice Freebsd based Nas OS, everything's gonna be good.
In the beginning, there was no infiniband support.
Turns out, you don't need it, since the mellanox CX2 nics can do ETH too.
Just took me a few weeks of anger.
So, to be able to boot something over the network, you need firmware that finds the bookable stuff and loads it.
That protocol and firmware is called PXE.
PXE needs a DHCP telling it what to do, and what is where and etc.
Freenas here I come! Installing dnsmasq on the actual freenas install turned out to be not that great of an idea because freenas thinks of itself as being an "appliance" that you don't fiddle with. So things work, until you update/ upgrade when everything will basically be wiped, except what you have done through the ui.
Ok. So I gona use a jail, a container like thing for that.
Everything is great, jail has internet, everything Installs fine, what could go wrong?
Dnsmasq can launch and work, but not as dhcp server. Some thing about permissions.
Turns out, jails have permission like things.
A few days of head scratching later, it has ALL the permissions.
Dnsmasq still can't work as DHCP server though, why you ask?
Because it needs a specific kernelmodule that isn't contained in the jail. Since jails are kind of like a docker container, they run on the same OS kernel, who does not have this module, I'd need to patch the freenas, which is an appliance, so fuck that.
Like a year later, freenas has finally added good VM support, so why not make a VM for the dhcpserver?
Well, about a year ago, I didn't know that the virtual Intel nic is a fucken unstable piece of garbage, crashing nearly any OS at some point.
So that was it for a while again.
Now to the last few weeks.
Finally dnsmasq is running in a freebsd VM with a good and working configuration which is rather simple, if those tutorial fuckers out there would explain shit instead of just telling you to copy, paste and replace X.
Now back to the PXE side.
I'm using iPXE because I have no clue how to boot anything over tftp so iSCSi it is, since that is what I can relate too.
The idea behind iscsi is to fake a SCSI disk over the network. Attached devices appear as if they are actually directly connected to the machine instead of over the network.
iPXE gets a lease from the server, can connect to it, everything is fucken great. Finally.
Except that if it "sanBoots" the iscsi drive, it can't find anything to boot.
If I attach a Linux live USB over iscsi, it boots, finds grub, and crashes because the live iso isn't configured for network-boot.
But it boots.
So what's so different?
Well iPXE is booted in legacy mode, where as the content of the target is windows 10 in efi mode.
Ok. Can I get iPXE to boot in EFI mode?
Well yes, after like 3 days fiddling with it.
But it only finds the onboard Intel nic instead of the new Mellanox CX3 cards, and can't even connect to the target....
Sooo, I guess my options are as follows.
Either, get PXE efi to work on the network cards directly, its called flexboot and might be able to since I just found some firmware options for that.
Or give up on efi and install windows in legacy mode.
Which isn't that easy when it has to end up on a drive on my nas.