SkillsJS, html, css, React, php, c#, python, bash, nodejs
Joined devRant on 3/23/2018
Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
So i recently inherited some legacy code.
Its actually not to bad. Just a few thousand locs which are mostly stretched across a handfull of functions lmao (800lines per function yay).
So the main thing i wana ask. Does someone here know of good techniques to gradually reimplement all of this.
Since im not gonna apply bandaids to this mess anymore than is needed.
Unfortunately this is a very important system and it only runs on production xD.
Idealy i would somehow be able to duplicate the tcp traffic to the reimplementation but that doesnt seem feasible.
Also what the individual modules classes and so on do wa snever documented and no one even knows how or why certain things even exist.
If anyone has any idea of what i can do. Apart from hoping to god i dont miss any weird quirky edge cases. Do let me know7
How do ppl just keep coding. I can't stay on it for shit. Anything that comes to mind will distract me and keep me from starting or working on.... It sucks, its not even like i dislike coding. I actuay enjoy it once i start but games wirh friends n shit always take Priority for some reason :(8
Fuck my integration tests. They fail everytime in another way. Every computer restart other gremlins get into the machine and fuck up the tests another way. I've got no fuckin idea where to even start....2
It was a shit idea to try and get async to work in my first ever real programm meant to be used in production.
Unit tests are a bitch to make.
And now everything just kinda falls down on its own.
At least i learned a ton and got a lot of firsts out of the way.1
Was wondering why my builds/tests were taking so long. OH HEY THERE KASPERSKY WHY YOU TAKING UP 80% OF MY RESOURCES?!!
Just fuck this pile of shit. Cant it do a low intensity scan without completely blocking me from doing any work?!2
Whats the fucking purpose of our companys dev test and prod env. Dev always only has a single instance. Sometimes clustered services run as cluster on test. Producing headaches because the clustering behaviour couldnt be seen on a single instance and Prod lacks all the nice deployment tools off dev/test. Fuck thinking you could dev then test and prod without any major reconfiguration and headaches. And all because the Storage costs is RETARDEDLY expensive because the backup EVERYTHING with ridiculess overkill. That results in headaches when requesting new servers. Took an old Workstation from the shelves and made it my vm slave so at least i could reliably deploy to test.. Fuck this process
Reworking old java apps. Holy shit im gratefull i can use spring boot.
But this code is handsdown awfull. Every file contains more ifs than other words. upto 6 layers deep. Thank god its at least properly commented.
But seriously how did this shit ever pass any QA. All legacy apps around here are a massive pile of if statements.1
Oh boy. 2.5k loc of legacy bash code. The task is to give every function its own script since that is literally what this script is. Cha8ned together individual scripts . Fingers crossed its actually just breaking out functions :x
How in the world can one lang have so much problems with date conversion, and chars like üöä. Its so funny how they get through just fine sometime when u specify encoding utf8 but other times it has no ides wha5 these chars are.
Honestly fuck powershell
Anyone here know of a crossplatform note taking app that is free and opensource. maybe even with the option to selvhost the synch server12
Week2 day 1 of beeing in the database team to learn more sql. Turns out the task they want me to complete is rather easy. So this is day 2 of doing exactly nothing.
Also im not allowed to do the task all on my own since the other apprentice has to learn it too.
These short blocks never have any challenging tasks to do *sigh*
Man i realy need to get of my windows host.
My productivity takes a nosedive whenever im on windows idk why.
I'd love to use linux fully but my fav game Overwatch has shit performance running on linux.
So the best solution would be to pass through my gpu to a windows vm for gaming.
But that would require a new gpu for the host system as the ryzen 7 1700 does not have a gpu.
I dont have any experience with passing thtough gpus. But could i make 2 vms that acces the same gpu, ofc not at the same time. So that i could have a gaming vm and maybe use another linux vm if i wanted to do something which profits off gpu acceleration.11
Im looking for audiobooks i can listen to on my way to work. About 40mins per ride. Preferably anything that has to do with personal development or other insightfull/ skill enhancing books.9
Today marks the day that i finally get to do stuff on a production server.
Its just installing the elasticsearch cluster. But i still feel honored by the trust im given even tho im still an apprentice.7
I'm currently planning to set myselv up with some vps/dedicated server's for a project. What i plan to do to secure these servers is.
*Use centos 7
* Setup Wireguard and join all of the servers +1 client (my pc) to that network
*Disable SSH Access from outside that VPN
*Only allow RSA Key login to the Servers
*Install Cockpit for monitoring
*Intall docker/kubernetes for the applications i plan to run
What do you guys think of that as a baseline? Im not sure if my lower powered VPS (VPS M SSD from Contabo) will work as Kubernetes Nodes, does anyone have experience with that?
In general these Servers will be used for my projects and other fooling around.
If you guys have other suggestions for Securing/monitoring or other software i could put on to have more control without eating up to much of the Servers power, let me know :D13
For work i need to learn the java Spring framework . In doing it at work since im an apprentice. Im wondering where to start, i have written a lil bit of java and in familiar with c#. Im currently doing the guides on spring.io are there other resources you ppl can reccomend for learning the spring framework? Thanks in advance :)14
My setup. Not much but im proud to say that i didnt overspend in parts (ok mwy the mastercase 5 was not necessary but it looks sick imo). Just need a proper 2nd screen and then a 3 rd and a 4th....5
Feels awsome to have earned a higher standing as an apprentice in the eyes of my Supervisor. I dont get more money but they now let me fix/add stuff that was made by fancy Uni students as theyr project. Appart from the mandatory apprenticeship stuff im treated like a normal dev at the company :D. I'm very happy about that
Im facing an issue with my schools network.they block almost all ports. Ssh isnt open and a lot of websites are blocked. Cant use a vpn to surpass that sadly. Tho a vpn with sstp support works. Can someone reccomend a vpn that allows sstp or can i somehow make mullvad use sstp?4
So i was looking around for a VPN service. Ppl here seem to like Mullvad. I was looking at Mullvad NordVPN and PIA . I dont know a lot about NordVPN but PIA seems to be going opensource with theyr clients which i think is great. So can anyone say anything about the VPN services above. Good and bad stuff woul be appreciated!13
Nothing beats beeing allowed to pick when i come in for work. Also today is pretty chill. Building is halv empty and i only have to write a lil documentation for kubernetes :D
Started writing down what i wana do and what comes to mind. Everything that bigs me about my system and so on and make tasks out of the things to complete the days following.
Since i did that i feel less stressed and i can focus more on the stuff since my phone reminds me of thiee tasks all the time so i dont get weird ideas.
What does everyone else do to keep them on track?
Easily machine learning. A lot of stuff thst was bevore thought to be impossible or just plain was to hard suddenly gets reachable. My fav example is the dota ai. Just love it
Great just wwnted to update my antergos install when it crashed mid update. Duno where exactly but now i cant acces iz anymore. Seems like my encrypted partition is somehow not beeing found. Any one any idea wherr i should start sesrching. I jave no backuos of this and there is some dats on it that id rather keep.1
I've been wanting to take on some freelance work in my free time. As I have a lot of free time.
So does anyone know a site more geared towards amateur to intermideate dev's who want to gain experience and are willing to work at lower rates because of that ? Or any site where i can just hop on and find some work. I've been suggested upwork but that seems to be more for more experienced devs.4
Ah the joy transitioning from the unrestricted apprentice network to the tightly restricted prod and dev network and environment. U can be sure thst the corporate proxy will give you a dropkick to ure face when trying anything that was released in the last 5 years...