SkillsJava <3 Some Python Arduino, ESP32 & Raspberry pi
Joined devRant on 2/1/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
I am not a php dev and I have nearly 0 knowledge of php. All I know about php is that xampp is your friend and you have to write that $ everywhere. But that one day I had to setup phpLDAPadmin on apache2.
I have nothing against php, but I just don't want to have anything in common, since I'm just perfectly fine with my java.
So I had to make it work. Fought my way through different incompatible versions of php and phpldapadmin only to see "not found" on phpldapadmin.
I thought, like, wtf?? Especially when index.php of apache2 is displaying just fine? I mean, I can "edit" some php code, but configs and php setups are just something like out of my world. Tried setuping it on different vms - same result. I've buried way too many hours into this with no result. Finally I gave up and contacted a friend of mine which is like php god for me. He did same thing as I did in ~ 10 mins, but the result was the same. Tweaked some configs - same. Scratched his head, sat for 5 more minutes, did something and boom - it works!
I've asked him, what is that php magic and the answer killed me:
"Index.html was missing"
At that moment I just wanted to exit through the window. Sadly, there were no way to open it.
Yes, I am this stupid in php. But I still miss all these wasted hours...2
Fuck FE development. Tweaking or adding some stuff is OK, but making the whole FE from zero is a pain for me. Vanilla JS is OK, but I need to use Angular, which I don't know how to use properly. Generally, right now I find FE as a big confusing mess... Why Angular? Because fuck React - it is even more confusing. I just can't keep all these things in my head... You want to add something? Fine, add a dependency, import, export it, import again, that shit does not work alone, so you import another shit... IDE says it's all good, look it's up and running! But you open the app and it's not even loading because of errors. Another module missed, ffs. IDE can't really save you here, sigh...
I am a BE dev, I am straight out bad at FE. I don't hate FE, but I hate that I am forced to do it and I need to do it fast, without having time for learning it.
Ughh... I feel somewhat better now :\ Now back to making there modules work...14
My whole finished Java project with database & gui - 277 files in source
Simple JS project nodejs & react - 15k files???
What the fuck?
I tried to like JS, but maybe later... Someday...25
Cry myself to sleep in the corner of my ofgice table and have a dream about how to solve all my issues
Forget the solution
I am working as a junior in a company that pays me minimum wage and doesn't give a single fuck about my existence.
"Change the job", you say?
Well, that's what I am trying to do for, like, 3rd month now. No one wants to invest into junior...
Every day I go to work with thoughts about quitting, but I need a job... Even if it's like this...
A story about an Android TVbox which decided to become an iPad
Several years ago we've bought an android tv-box.
It served me and my family well for several years.
Specs are not that important in this story, but there they are:
Amlogic quadcore 1.4HGz
This device served us well - online TV, browsing, music, file sharing and so on. But recently cheap Chinese memory deciteed to take a break and damaged ROM. Because of that device won't boot. The only option was to take it apart and "short circuit" certain legs on memory chip and make it boot from SD card and install new firmware. After such operations tv-box worked well again.
Hoverer, memory glitched again and again and this algorithm was repeated for several months.
But that is not what is this story about.
One day memory went completely crazy and there was no way to install new firmware on it. It just hanged on install. (BTW, it was official firmware for this device)
But after countless attempts it finally worked! It installed the firmware and booted into launcher and connected to WiFi!
But now comes the most interesting part.
It was not android anymore.
It decided to became an iPad.
My dad logged in to his Google account via tv-box and got mail that someboby connected from our IP via iPad (we don't have an iPad) and using safari browser! Stock browser is not safari browser.....
"Ok, nvm, crazy glitch." - we thought.
But preinstalled play marked wont launch. Because he told us, that we're trying to connect from iPad.
And Google chrome page suggested to download chrome for iPad
And everything was acting like it is an iPad.
OK, downloaded iTunes, why not??? ._.
Tried to install elixir for android via apk from flash, but then memory glitched one more time, everything went black and tv-box had damaged ROM again...
After that we decided to not torment it anymore...
That's it. Poor Android TVbox that all his life dreamed to become an iPad. Rest in peace.2
A friend is trying out linux and I am helping him with it. Helped him to install and configure linux on his laptop. Tried several Arch distros and different Ubuntu flavours. But it is not about distros,but about strange glitch...
Imagine, you are having 2 monitors. One is your laptops and second is plugged in via VGA. You're dragging windows from one screen to another, doing you things, etc..
You can see and configure VGA display in display settings and so on.
So situation is exactly the same with my friend, but here comes the plot twist:
There is no monitor connected to VGA.
I can't explain it, but linux is always detecting a non-existent display. So you can drag windows to nowhere. You can see resolution on 2nd monitor and so on. Luckily, you can disable it.
When I am telling non-tech people that I am studying Software Engineering:
They: What do you study at university?
Me: Software Engineering
They: Oh, so you're an engineer! My *some random person* is also an engineer!
Me: No, not that kind of engineer. I am a SOFTWARE engineer. I don't build things.
Me: I write code. Programs. For computers. I a programmer.
They: oh, great, very perspective! Will you fix my *PC/printer/whatever has on/off button on it*?
WARNING - a lot of text.
I am open for questions and discussions :)
I am not an education program specialist and I can't decide what's best for everyone. It is hard process of managing the prigram which is going through a lot of instances.
Speaking about schools: regular schools does not prepare computer scientists. I have a lot of thoughts abouth whether we need or do NOT need such amount of knowledge in some subjects, but that's completely different story. Back to cs.
The main problem is that IT sphere evolves exceedingly fast (compared to others) and education system adaptation is honestly too slow.
SC studies in schools needs to be reformed almost every year to accept updates and corrections, but education system in most countries does not support that, thats the main problem. In basic course, which is for everyone I'd suggest to tell about brief computer usage, like office, OS basics, etc. But not only MS stuff... Linux is no more that nerdy stuff from 90', it's evolved and ready to use OS for everyone. So basic OS tour, like wtf is MAC, Linux (you can show Ubuntu/Mint, etc - the easy stuff) would be great... Also, show students cloud technologies. Like, you have an option to do *that* in your browser! And, yeah, classy stuff like what's USB and what's MB/GB and other basic stuff.. not digging into it for 6 months, but just brief overview wuth some useful info... Everyone had seen a PC by the time they are studying cs anyway.. and somewhere at the end we can introduce programming, what you can do with it and maybe hello world in whatever language, but no more.. 'cause it's still class for everyone, no need to explain stars there.
For last years, where shit's getting serious, like where you can choose: study cs or not - there we can teach programming. In my country it's 2 years. It's possible to cover OOP principles of +/- modern language (Java or C++ is not bad too, maybe even GO, whatever, that's not me who will decide it. Point that it's not from 70') + VCS + sime real world app like simplified, but still functional bookstore managing app.
That's about schools.
Speaking about universities - logic isbthe same. It needs to be modern and accept corrections and updates every year. And now it depends on what you're studying there. Are you going to have software engineering diploma or business system analyst...
Generally speaking, for developers - we need more real world scenarios and I guess, some technologies and frameworks. Ofc, theory too, but not that stuff from 1980. Come-on, nowadays nobody specifies 1 functional requirement in several pages and, generally, nobody is writing that specification for 2 years. Product becomes obsolete and it's haven't even started yet.
Everything changes, whether it is how we write specification documents, or literally anything else in IT.
Once more, morale: update CS program yearly, goddammit
How to do it - it's the whole another topic.
Thank you for reading.2
*Writing JS validation*
step1: testing for the 1st time
Chrome: all good
Firefox: with bug
IE: ugh... it's hard to explain
step2: fixing script
Chrome: all good
Firefox: all good
IE: with bug
step3: fixing script for IE
Chrome: with bug
Firefox: with bug
IE: with bug
step4: revert to step 2
Sorry, IE, but I don't know what you disliked there...
I FUCKING HATE IT when you have a free day and you are so happy about it, because you can work on your projects, study things you want
you sleep a little bit longer, wake up
And suddenly you find out that you need to go to the other fucking side of the city in 3 hours and spend there half of the day.
There goes my free day...5
I hate when I it's night, I have ideas/want to work on my projects or study, but I'm way too tired..
I can't work, because I will only develop new bugs
I can't study, because I can't receive information anymore
And I can't fucking sleep either because I am constantly thinking about how much I WANT to do.
Absolutely hate it...4
Today was just marvelous. Locked up my car with keys inside and with engine on.
I was driving back home from work. I drove to a parking near home, which is really long, narrow and impossible to turn around. So I decided to get out of a car, for like, 30 secs and go check, if there were any unoccupied parking places. Parking brake; I stepped out of the car and closed the door. Click.
I knew, that I needed to change contacts in the driver door, that sometimes were triggering central car lock, but I didn't expecting such outcome.
So, I am outside.
Engine is on.
My backpack and phone were inside.
Luckily, one neighbor wanted to drive somewhere, so I explained, why he can't donit, why my car is here and asked to watch my car for 5 mins while I will run home.
So I ran home in home to find a second pair of keys.
After some time, LUCKILY, I found them, went back and unlocked my car...
Moral: don't delay things.. Small fixes to prolong life of some object will eventually fail in very, very uncomfortable manner.
I'm glad I found spare keys and there were no need to break my own car window... And I DO care about my car and do lot of things by myself.1
At work they assigned me to another project.
Now I need to work with JS instead of Java.
Plot twist: I have 0 experience with JS and about the same amount of knowledge.
GL to me5
Once in university I needed to write a simple program in c++ and upload it to online complier which would pass test inputs. It was homework, but I was bored during the next lecture, so I wrote the program.
On my phone.
Directly into the "paste" window in browser.
It wasn't comfortable at all, so I wrote everything in one line.
And got bonus points from lecturer later.
After some questions, ofc, like "wtf why everything is in one line"3
What is keeping you up at nights?
I'm not a coffee person. I can drink it and go to sleep :)
For me it's Pepsi. Fast shugar for energy, I guess. Strong green tea on 2nd place.5
This community really motivates me to master my skills and learn new stuff to become a great dev. Thank you!4
Literally everone were advertising me LinkedIn as something awesome and life-changing.
So I've registered as well, filled it up with a lot of info. It's been about 6 months since then - still silence.
Recently I tried to apply for a job and the company sent me a task to complete. It was on Java, write an app to sort input file with ability to choose a method and dislpay it. GUI with Swing or JavaFX. They said normally it will took 8-10 hours to complete it and they wanted to see, what I can do in 4hrs. So after 4 hrs I've done~75% and sent it and after 2 more I've sent the whole app with monkey-proof protection (validations, prompts, etc). So total of 6hrs. I've followed MVC structure and implemented OOP principles.
They liked it and this Thursday I'm having an interview 😊
Wish me good luck :D6
Atother story about PC hardware and being... Not so careful.
A friend complained about his PSU fan being too loud. I said "well, maybe bearings are dying already".
The next day he messaged me and asked to suggest a new PSU. Ok, I threw him some links.
Leter, he told me what happened:
He decided to clean the PSU, because he thought the noise could be because of dust. So he turned off his PC and removed PSU cover with a screwdriver. While doing this, he accidentally hit the circuit board itself. Then "Puff", black smoke and smell of sth burning. Turned out he didn't switched the PSU off. Luckily, the screwdriver handle was rubberized. I'm glad he is alive ._.1
I've found a job as a junior developer several months ago, but I really want to find another job...
I know, my knowledge and skills aren't superior yet, but I am tired of that feeling of being useless.. I constantly self-educate myself after work and university, but still, I often need to ask co-workers "where's this form?", "wtf is that", "how do I access this"... Plus, their projects are HUGE, but no matter how big the project is, there are 2 to 4 people working on each at a time. And 1 person may work on 2-3 projects. And we are usually late for deadlines :/
Also code quality is meh..
Me: Why do we implement it here?
Co-worker: oh, we don't actually use it, it's just to hide warnings and pass the test.
Holy shit, wtf, I've spent half day trying to figure out wtf is this and why is it not working :/4
*Back to the school days* Once a friend of mine successfully defended a simple program written in whitespace. Yes, he had to explain the source code to the teacher.2
A story about RAM and being... well... not so clever...
I've built a mid-range gaming PC for a friend, based on skylake, with 8GB DDR4 RAM. So I filled up only 2 slots to leave 2 more for upgrade. So he decided to do so.
Later he calls me and says "Hey, can you visit me? My PC won't boot".
So I came and he told me what happened: he found a random RAM stick and decited to put it in. He somehow(wait for it) managed to do it and PC refused to boot. He removed this stick, but PC won't boot anyway.
Soo, when I came, he showed me a stick he found: a random ddr2-533mhz 512 mb stick. Ofc, MB was shocked to see "grandfather" and refused to boot. I looked at the post code, which said ram error, cleared the cmos and it booted just fine.
Check compatability, young builders, and use Google if you're unsure :)10
Used Ubuntu for like more than a year now, liked its Unity DE. Now they have gnome, which is "meh" for me. So I moved to Kubuntu. (Also trying out Manjaro)
Omg KDE plasma is so awesome o.o it's a whole new world, I am amazed. And everything is working just fine! And it is beautiful.