Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Search - "which one and why?"
-
One time my co-worker put a tiny piece of tape inside the USB receiver of my mouse which apparently makes any USB device stop working. It took me a while to figure out why my damn mouse wasn't working even though everything was properly plugged in and it had new batteries.
When I found the tiny piece of tape I was instantly knew who it was and it was pretty funny.6 -
I have a couple of stories that I think are memorable from co-workers quitting in funny/interesting ways.
1. At one of the first companies I worked at, they gathered everyone to make an announcement that began with, “this is just a reminder, any heavy objects/packages need to be removed through the freight elevators, and cannot be taken through the main lobby.” We’re all thinking OK... why are you telling us this. Next part of the announcement was, “so and so (co-worker) is no longer with the company.” Apparently, which we found out later, the guy either quit/and/or got fired and wheeled his desk chair out the front door through the lobby (keep in mind this is an office on one of the busiest avenues in Manhattan). The whole thing was crazy. That’s the last we ever heard about him.
2. This one was strange. A really quiet dev at one of my previous companies was clearly constantly bored at work (he barely had any responsibility and was pretty much ignored) but the job was pretty cushy. One day, he was out from work, and no one thought much of it. Then he was out another day, then another, and before we knew it, it was like a week. No one knew where he was. Eventually, he sent an email saying he got stuck out of he country or something and he wouldn’t be coming back. Ok... weird, but kind of made sense.
But, one of our ops guys was able to see the ip/location of where he logged on to send the email, and it was right from NYC! So pretty much this guy was just fed up, left one day (with no notice), and just never came back. And then lied that he was out of the country when trying to explain is hasty departure.11 -
How to kill a lot of Linux users in one go without being accused of murder:
1) Write on social media "which is the best Linux distro and why?"
2) Watch them fight and kill each other
3) Profit23 -
This was at my previous and last internship. At previous ones i never got serious tasks so i was pretty used to that but one day my guider (lead backend programmer) called me over to help him out with a server issue (in all seriousness he said that i was probably the best Linux guy at that company at that moment). So i fixed it quickly and just out of curiousity i asked what kinda server it was and how many visitors it got monthly!
"it's a prod server and about one million at least i think"
I was just standing there for a minute and then asked why the hell he let me, an intern, work on that to which he replied: because you know what the fuck you're doing. I think I succeeded in hiding the tears of happiness that came up at that moment :) i fucking miss that place.12 -
A group of ten top software engineers is sent to a class for aspiring managers. The teacher walks in and asks this question:
"You work for a software company which develops avionics (software that controls the instruments of an airplane). One day you are taking a business trip. As you get on the plane you see a plaque that says this plane is using a beta of the software your team developed. Who would get off?"
Nine developers raised their hands. The teacher looked at the tenth and asked, "Why would you stay on?"
The tenth said, "if my team wrote the software, the plane would not get off the ground, much less crash.4 -
"Personalized Advertisements":
No Amazon, I'm not interested in buying any of these phones, I just bought a new one five days ago, remember? You sold it to me! And stop recommending the same book I already got five YEARS ago!
YouTube, why are you always showing me the same ad about an app I already own and use regularly? And why the FUCK do I you show me the new trailer of Star Wars Ep8 as an ad video before the actual video of the new Star Wars Ep8 trailer?
Audi, I am an university student, barely able to pay my rent, why are you telling me to buy your newest car? How do you expect me to afford this?
Monster, why exactly are you showing me job offers as "Technical Product Designer at company X" for which I'm not remotely qualified or even interested in?
Neither do I have 5000£ (I live in Germany, at least match the currency, ffs) to invest in some suspiciously promising stock market schemes, nor am I in any need of rheumatism pills or a hearing aid (I am 19). I cannot afford or want any Rolex watches and PLEASE, I don't know why you think I would, but I really do not need a special new and innovative brand of tampons, my dick is doing fine, thanks.
"Hot local singles near {my actual location} want to fuck!
Click here!!!"
At least there are still some ads you can trust to be relevant...14 -
Who Is Who
➡ A Project Manager is the one who thinks 9 women🙍 can deliver a baby in 1 month.👶
➡ An Onsite Coordinator is the one who thinks 1 woman can deliver 9 babies in 1 month.👶
➡ A Developer is the one who thinks it will take 18 months to deliver 1 baby.🙇
➡ A Marketing Manager is the one who thinks he can deliver a baby even if no man and women are available.👷
➡ A Client is the one who doesn’t know why he wants a baby.👶
➡ A Tester is the one who always tells his wife that this is not the right baby. 🚶
Don't be shy.. Comment which 'who' are you..😂17 -
A: Why did you leave your job?
B: To pursue my passions.
A: Which passion?
B: Jobs. I leave one and get another.
Software Engineers I tell you!2 -
WhatsApp, freaking WhatsApp.
How did this thing become such a standard. How? Why does everyone EXPECT you to have it. They assume that you have it installed on your phone.
'Why don't you respond to my messages? '
'Which messages? '
'The ones I sent you'
'I didn't get any messages. Wait, how did you send them to me? '
'WhatsApp'
'Ah, yeah I don't use that. Wait, where did you even get my phone number from? '
'What? You don't have WhatsApp? Freaking weirdo. '
'bye'
How did an app(lication) become such a standard and why does everyone automatically assume that you have it? And whenever I explain them why I don't use it (Facebook = bad), they just react with 'install it again' (most ridiculous answer) or 'what is wrong with you' or they just give me a confused look and walk away.
A lot of them also act like there were no alternatives (some even better than whatsapp). One of them and probably also the best one is signal. It has all the necessary features a messaging app needs and is also very secure.
Luckily a few of my friends have installed signal and I am currently trying my best at my parents. They have threatened to 'take my phone away if I don't install WhatsApp again' or 'if you don't use WhatsApp then you also don't need a phone'.
Okay finale:
Fuck whatsapp, fuck facebook, fuck ignorance24 -
Was writing a first product for my best friend and my first company/startup. (that one is on hold now by the way).
Spent about a month doing a full-time internship and also programming after that the entire day. Weekends full of programming as well and after a few weeks I noticed that when turning around/walking quickly, I lost my balance.
Went to the doctor who immediately asked if I worked loads and loads to which I answered yes.
He took a look at my daily patterns in general and then told me that I was having a thing which you were only supposed to get at old age and that I was heading towards a burnout because my body was highly not used to/ready for this.
Continued for a little and people started asking why I looked so white (my face lost color) and unhealthy.
Started to take care of myself and voilà, within weeks I was getting better :)6 -
Smart India Hackathon: Horrible experience
Background:- Our task was to do load forecasting for a given area. Hourly energy consumption data for past 5 years was given to us.
One government official asks the following questions:-
1. Why are you using deep learning for the project? Why are you not doing data analysis?
2. Which neural network "algorithm" you are using? He wanted to ask which model we are using, but he didn't have a single clue about Neural Networks.
3. Why are you using libraries? Why not your own code?
Here comes the biggest one,
4. Why haven't you developed your own "algorithm" (again, he meant model)? All you have done is used sone library. Where is "novelty" in your project?
I just want to say that if you don't know anything about ML/AI, then don't comment anything about it. And worst thing was, he was not ready to accept the fact that for capturing temporal dependencies where underlying probability distribution ia unknown, deep learning performs much better than traditional data analysis techniques.
After hearing his first question, second one was not a surprise for us. We were expecting something like that. For a few moments, we were speechless. Then one of us started by showing neural network architecture. But after some time, he rudely repeated the same question, "where is the algorithm". We told him every fucking thing used in the project, ranging from RMSprop optimizer to Backpropagation through time algorithm to mean squared loss error function.
Then very calmly, he asked third question, why are you using libraries? That moron wanted us to write a whole fucking optimized library. We were speechless at this question. Finally, one of us told him the "obvious" answer. We were completely demotivated. But it didnt end here. The real question was waiting. At the end, after listening to all of us, he dropped the final bomb, WHY HAVE YOU USED A NEURAL NETWORK "ALGORITHM" WHICH HAS ALREADY BEEN IMPLEMENTED? WHY DIDN'T YOU MAKE YOU OWN "ALGORITHM"? We again stated the obvious answer that it takes atleast an year or two of continuous hardwork to develop a state of art algorithm, that too when gou build it on top of some existing "algorithm". After listening to this, he left. His final response was "Try to make a new "algorithm"".
Needless to say, we were completely demotivated after this evaluation. We all had worked too hard for this. And we had ability to explain each and every part of the project intuitively and mathematically, but he was not even ready to listen.
Now, all of us are sitting aimlessly, waiting for Hackathon to end.😢😢😢😢😢25 -
I was asked to present a code I wrote previously. This was not planned. I shared my screen and presented. Things went well.
One employee asked me to search a particular term which was possibly related to an advance topic in the domain we were working on.
I opened Chrome and the first page had a Quora post: "Why my dull co-workers try to act smart and are not yet fired?".
[silence]3 -
M: Me
FAC : Fucking annoying colleague
1.
FAC: Hey how did you set up your microservices?
M: I used docke...
FAC: But docker is hard to setup, i want an easier option
2.
FAC: Which services do you have?
M: I have one service for the api, one with redi..
FAC: Redis is not a service
3.
FAC: Do you use AWS API gateway?
M: No, in set up my ow..
FAC: why would you set up your own? I just use the one from AWS.
4.
FAC: How many instances are you have running
M: I have 5 replic...
FAC: 5 replicas? That's why i hate microservices,they are costly
5.
FAC: How did you divide up your app?
M: Since I am starting, its better to run the monolithic and then break it up lat...
FAC: I knew it,you don't actually use microservices
6.
M:(thinking)* Fucker, if you know it well why are you fucking disturbing me?? *2 -
Everything was going fine in the Interview, then:
Company X's HR: "So if you are selected in both X and Y, which one would you choose 😊?"
Me: 🤔🤔🤔 Long deep thoughts...
HR: "😒 I know your answer is X, But why X 😑?"
Me: Oh.. X! Hmm.. 🤔🤔
Result:
Successfully Rejected
#BeingHonest
Moral:
If you are sitting for X's interview, you have to always choose X with no lag, even if Y= Google.
All well; Ends Well: Placed in Y👍
PS: Here, X, Y and Me are real-life entities.13 -
Wrote 800-1200 LOC
It went through code review which was apparently my first code being reviewed
Took me 1 month and more to fix most changes (per day more than 10-12 hrs of effort)..
That 1 month was a nightmare. Every day I thought of giving up programming. I shouted to myself every night why did I never considered these myself. How can I be so dumb.
Half of the reviews I didn't even know how to implement. Didn't even know what to Google.
I consider it as one of my toughest phase as a developer till date.
I still get goosebumps remembering those days.9 -
A group of ten top software engineers is sent to a class for aspiring managers. The teacher walks in and asks this question:"You work for a software company which develops avionics (software that controls the instruments of an airplane). One day you are taking a business trip. As you get on the plane you see a plaque that says this plane is using a beta of the software your team developed. Who would get off?"Nine developers raised their hands. The teacher looked at the tenth and asked, "Why would you stay on?"The tenth said, "if my team wrote the software, the plane would not get off the ground, much less crash."
-
Okay it's called devRant - so I'll rant...
Why the fuck do people write comments like that:
$savesThisStuff = "stuff"; # does save stuff
Why are here 1500 lines from which there are 700 outcommented code and 300 dead functions which aren't called anywhere?
Why the fuck is here PHP code which generates JavaScript inline which itself generates STATIC (!!) HTML.
------
"Always code like the one maintaining your code next is a violent murderer with an axe and you'll still be save."
... Where's my axe again?9 -
God dammit, my ISP fucked up.
I have a 400 Mbit/s Internet connection, which I pay a lot for it. I live in the central of a average city and we got 18 Appartements here with a banque and a wellness shop underneath.
There is a new shop under our block and 1 month ago a tecnician was here and made some recabling, so the shop would get enough performace.
Now since 1 week ago I have a bad output, laggs in games and just get about 250 Mbit/s, when not on high traffic times.
That fucking multipler in our house is over 10 years old and around 18 households are connected to it.
WHY THE FUCK ARE YOU NOT CHANGING IT, WHEN YOU SEE IT'S NOT ENOUGH?
We all here in this building are paying a lot for it, and now that fucking thing is overused and broken and you're just grabbing our money you shitbags!!!
YOU HAD ONE JOB! ONE FUCKING JOB!!!23 -
Started working on a pihole alternative a while ago.
I like pihole a lot but one of the features I am missing is to be able to define a list of mass surveillance related domains (Snowden leaks; PRISM program and such) and show statistics based on dns queries containing blacklisted domains, prases/words and surveillance-related domains/words (google/facebook/microsoft/apple etc).
Started working on one based on an existing (php based) dns server which is open source and slowly but surely developed something which worked.
Then, I found out that the php resolving function (dns resolving) uses the system default, which can, of course, be google's dns as well. Changing this would be ideal but while the documentation suggested that it could be done some way, it didn't work for me so I chose a library which can do it with specific dns servers (to use as external dns servers).
This library used a different way of showing the retrieved dns query results and really wasn't in for converting everything by hand so i kinda quit the project a while ago.
A few days ago I thought fuck it and started again.
Now have a working version based on the new dns resolving library and made some other good improvements.
For those who are wondering why I chose PHP for this: why the fuck not?
Happy happy happy.rant php fuck mass surveillance fuck microsoft fuck google dns server yes i love php fuck facebook dns16 -
When your classmates are such lobotomites, that they manage to fry 11 fucking IC's within a day! And I am the one who has to find and replace all the broken stuff. FFS it says 9V right there on the board NOT 12V! No, your board should not draw 1.7AMPS! This chip is getting kinda hot. What is wrong? ONE OF YOUR FUCKING PROBES IS BRIDGING ONE OF THE PINS!
Why isnt this working correctly? You adjusted the wrong fucking potentiometer!
I know I have far more experience than most of my classmates, but man, atleast try to not break things by just thinking: "I dont know dis. (Its actually written in the docs!) So imma assume it will be fine if I do dis. It wasnt fine!"
Also IF something doesnt work, DO NOT TURN UP THE VOLTAGE ON THE CIRCUIT BECAUSE IT APPEARS TO BE THE CLOSEST POSSIBLE ERROR. Which in most cases it is not!7 -
All web developers should support up to IE9 without any problems.
Why? Because in Korea, it is normal.
Every person uses that damn Win7, which has either IE9 or IE10. Without IE support, no one will browse your webpage.
Now you would ask us, why don't you use other modern browsers?
We would then ask you, why would you install a new browser that is
1. Buggy
2. Heavy
3. Takes up ram
4. Has so many features
when you have an awesome minimalistic browser that is preinstalled, and works in all Windows? No thanks.
So, if you put a message saying you will soon drop support of IE, it means that you won't target Korea. Just after the support drop, there won't be traffic to your web site.
So what is the point of this rant?
1. We love IE. Lol
2. IE is lightweight, minimalistic, and the fastest browser in the world.
3. All websites should NOT drop support for IE.
4. We don't care whether web devs will have a hard time. We just think websites are built with Wix and Wordpress, and they work in IE, meaning, IE support is the number one priority.
5. If you ever start a business in Korea, and has a website, make sure to hire an senior Korean web dev who has worked with IE for a long time.
6. Here is the tl;dr
Hate us. Period.25 -
So;dfjkhijasdfkjq;sdfhjkl;asdf
I copy a line from one spec (to create a user) and paste it in another spec. It works just dandy in the first, and throws MySQL missing column errors in the other.
Fucking what.
This codebase is full of shit like this. Things work in one place but not another, and it’s never obvious why. Tens of thousands of gotchas and quirks. The only way I can get an answer to things like these is to either beg my boss for an explanation, which I’m sure he’s long since tired of, or spend a full day (or more) wading through several rabbit holes filled with raw sewage.
I wasted two hours today trying to get a simple fucking factory to work. And you know what? I just gave up and used the existing admin user. Yeah it’s a bad idea, but it’s fucking good enough.
They can yell if they want.
I have no cares left.rant non-deterministic this train went off the rails long ago so done so tired trainwreck idc puffing billy15 -
Friend asked me to help with his HTML5 form validation. His back-end work was decent, but whoever did the front-end... Oh boy.
They used media queries for mobile etc, which was fine. Until I saw what the queries did. Instead of resizing the form accordingly, they hide the visible one and make another one visible.
WHY WOULD YOU DO THIS7 -
Ok so I started doing Minecraft development because why not and it's super easy to jack the prices up on projects...
THEESE COMMUNITIES ARE SO TOXIC!! I have worked on ~ 13 servers in the past month and have built myself a pretty good reputation. Recently I was hired by a network who wanted a few plugins made and I agreed. There were two owners, one who was paying me and had already paid me and paid for everything and another who is a very popular YouTuber and streamer (~100k subs). Both owners were in a disagreement and the one who was paying for everything including my second paycheck which I thankfully recieved requested that I erased the server so the YouTuber couldn't steal the server files.
I hesitantly copied the files and sent them to the person paying me. The YouTuber then got furious and blamed the server not working out on me and now I have a bunch of 8 year old fan boys destroying my rep. I swear to god I'm going to destroy this kids YouTube channel if it's the last thing I do.10 -
Stack Overflow. Everyone uses it but everyone seems to hate the community. I very often read about someone getting down voted and they all say the same thing - "I have no idea why".
I have spent a lot of time moderating SO posts, which gave me a lot of reputation and medals. I find it fun to help people and it feels good to give back to the community.
I have asked a bunch of questions and I've never gotten a single down vote, which leads me to believe everyone of you that is constantly getting down voted are doing something wrong. Because the posts I see getting down voted are fucking stupid questions that either lack information or contain too much information.
Example 1:
Server java error
Why is my server not working? I am using Tomcat, port 8080 and I'm getting IOException.
Example 2:
Webpack configuration not working
My webpack is not a working, why?
[entire webpack config]
End examples.
What the fuck are you expecting asking questions like these?? No one gets paid for answering your questions, so the least you can do is write a CLEAR AND UNDERSTANDABLE question. I'm not gonna tell you how to do it because there's A LOT of information on how to do it.
People devote hours and hours to helping others on SO, and of course they get fed up with the stupid and lazy questions. That community is not about being nice, it's not about making people feel welcomed, it's about QUALITY OF CONTENT. No one is crying when they find a superb question + answer, right? That's the result of a community not accepting low quality content.
So please, the next time you get a down vote on SO - do not come here whining about it but instead take a look at what you have posted there and ask yourself if it could have held a higher quality.
Thanks!8 -
I am fed up working with unskilled software developers. Or to be more specific, working with people who have no idea of sofware architecture.
Most people I've worked with have simply no idea what they are doing in the broad picture, they can only follow patterns they see and implement their feature in the same way. They can't think about the abstract concepts which should be the foundation of the project.
They fail to write unit tests which are maintainable. They write one fucking test per method which is testing 50 things at the same time, making it often impossible to understand what is being tested.
They think putting stuff in private methods makes their class better and is some kind of separation of concerns.
They write classes and afterwards create interfaces for these classes named {Class}Interface, shoving all the methods into that interface. They think it's good design to do so.
They are unable to think about the reasons why things are done the way they are done and that you don't do stuff for the sake of doing stuff, but to achieve certain goals like interchangeability.
They don't undestand how to separate business logic from the application code.
They have no sense for naming things beautifully. They don't see how naming things is a major part of good software architecture.
They get layer concepts wrong and then create godlike {EntityName}Service classes, which do everything related to a particular entity.
They fail to shape the boundaries within a software project, entangling stuff which should live in individual modules.
All I want is to work in a team with professionals.2 -
The fuck did you think was going to happen?
User: ITs dragging their feet which is why x hasn't gone out yet.
PM: Why hasn't this gone out yet?
Me: They sent me a template then another and then said wait that's wrong too I'll send you the correct one.
I've yet to receive this and no one's provided me the data to check over.
PM: Well that's not what x said.
Me: Well my email chain says so. (Proceed to show them the emails)
PM then walks off and blasts the users. Your #blamegame ended the moment you emailed me knob shits. -
Almost ever day I am the first one at office in the early morning. Other devs arrive at least one or two hours later. I don't mind. I just want to have a bit of sun left, when I go.
But why the heck...everytime I go, one of those other fucktards (which I normally really like), mumbles something like "you go this early today?"
Yes I do you dipshit!! You could arrive earlier, too!
And then, those late birds get credit for staying longest!!!
I mean, sure... If you start to work at 11pm, you have to stay long...
Meeeeh7 -
So I'm going to get married next june. I made an app for the guests where they have all information available, can send music wishes and can share images of the wedding with other guests.
Here is my story on publishing it in the App Store:
Me: "Hey Apple, I made a small app for my wedding. Mind putting it in your store?"
Apple: "Yeah, whatever" *publishes it*
One month later:
Me: "I made really small changes, please take this update."
Apple: "Ha no, its not interessting for enough people." *rejects it*
I panic, because the app is mentiont in the invites to the wedding which are already printed.
So one day later:
Me: "Ok ok, I added a button in the intro where people can send me a mail if they are interested in using the same app for their wedding."
Apple: "That changes everything! We will accept the update."
I'm happy, that they accepted it in the end, but really?!? There are so many shit apps in the store, why do you reject any not-fart app, because it is not interesting enough??? And why the fuck do you accept it in the first place?15 -
Fuck that bitch of a mother of mine. After what she's done to me, I would totally just fucking electrocute her (lawyers, this is a rage post not a real one, I've learnt from that previous psychiatrist that these rages can be taken improperly!) or just send a fucking EMP to her fucking "schermpkes" (EN: screens, displays, whatever! Technology!) or whatever. FUCK THAT FUCKING WHORE!!!
Yes she gave birth to me. Should I be thankful for that, in this world where for some fucking reason Flat Earthers still exist, Despastico and those goddamn fucking Paul brothers became a thing? FUCK NO!! I wish I wasn't born in the first place! Or rather, a thought that's been playing for a long time in my head. Why the fuck can't I just cryo myself and be reborn in the next millennium?! No, that's not possible because as it is now, humanity will likely have fucked up the planet by then. Majority of the people are still no more than self-jerking fucking monkeys. With their Instagram geotagging shit all over the place, nametests and shit like that. FUUUUUUUUUCKKKKKKKKK!!!!!!! Why are people like this?!!!! Why can't people be a tad more intelligent, why can't people actually learn about what this reality is all about?! Why is the burden of all this on scientists, no those who spoonfeed information into the mouths of the masses, like fucking Hashem Al-Ghaili (which is an amazing person but he's doing too much spoonfeeding IMO). WHY?!!! WHY AM I BORN IN THIS FUCKING DYSTOPIA?!!!!
WHY AM I BORN IN THIS FUCKING WORLD WHERE PEOPLE ARE INDOCTRINATED INTO "NOTHING TO HIDE, NOTHING TO FEAR"?!!!!! WHYYYYYYYYYYYYY?!!!!!!!! You've got a fucking brain, USE IT!!!!
I fucking hate this world. Someone hire a hitman on the darkweb to kill me and that fucking whore that gave birth to me, NOW!!!40 -
I found a new hobby: coding in many text editors (or IDEs) at the same time, because "I want to find out which one is better" (I don't know why I'm actually doing this, but I can't stop)
Wait, it's not a new hobby ... I already did this with C++ with using atom and Visual Studio at the same time, then I installed Clion too and VS and Clion were both running along with atom ...question gedit text editors brackets notepad++ vscode eclipse clion intellij wordpad atom visual studio31 -
Disclaimer: searching for a self hosted Spotify alternative but haven't found one yet so suggestions are very welcome!
I really don't get how spotify's music algorithms or whatever the fuck you'd call those (you get what I mean) work.
- Whenever I click on the button which should make a song not appear in my daily mix anymore, I hear it again within a fucking day.
- how the fuck does the getting you new songs which you might like work?! I'm a huge rawstyle fan and mostly listen to, surprise surprise, rawstyle.
Then why in the living fuck keeps Spotify coming up with euphoric/melodic hardstyle tracks?! I like those sometimes but only *sometimes*.
More and more often I have to skip through 20-30+ songs to get one raw song instead of a fucking euphoric one.
Replies from their support are non existent.
It's getting so fucking annoying.17 -
If I have to give one advice to new developers, it would be - Don't assume that you are smarter than the other person and you know everything about why the other developer has implemented a system in a particular way. Don't assume. Ask your doubts. Clarify the pros and cons of a strategy. Learn from it.
Don't create a bias in your mind about a technology or a way in which things are done.
Having healthy discussions with a fellow developer is the one of the great ways to grow in this field.4 -
Ok wtf? How is it that I can give myself admin access to almost any Apple computer just by turning it on, holding down two keys, and then removing one file called “.AppleSetupDone”, without any kind of authentication? And I get access to all of the data on the device too. Within two minutes of having physical access to the computer.
This is a company with millions of devices in use, why is this even possible? And the only way to prevent it is to have a firmware password, which, by the way, is not a default option...are you serious9 -
Have you guys heard about blind coding?
I had been to competition, first round was quiz.
That was quite easy, though most of the questions were incomplete and didn't make any sense.
They have provided an app. We use that to check the result.
So first round is over, 1 hour later my friend called me asked whether I'm qualified for the next round . I checked the results and my name wasn't there. I was very disappointed.
I left that place after I saw my result. I got a bus which goes to my place.
After 10 minutes, I got a call from the event head asking why I didn't attend second round 😑. I asked why name wasn't there on the result, for which he replied with "database updatation error".
I got down in the next stop and took a bus again to that place.
I reached there, second round was started, First part was debugging. It was easy, I debugged the given program and got the desired output.
Second part was coding. A guy showed a problem to solve and told me to read it quickly . I did as he told.
He opened Dev C++ and gave me a paper to write the program .
When I was about to start typing, he turned off the monitor and told I should write it on paper first and type the program having monitor turned off. 😨
I wrote and typed the program without seeing.
After 30 minutes a college lecturer came to give marks. He told me to compile the program.
TBH, there were many typing mistakes. As header file spelling was wrong it showed only one error.
Him: Huh, cool only one error, well done. *noted that and walked to a guy next to me*12 -
Saw some cheapie little radio in the dollar store, bought 2 of them for reverse engineering. Powered it from my lab bench power supply as usual, and tested whether it actually works before doing anything else.. then I noticed that the tunes were actually quite catchy, so I just ended up listening.
Then I started to notice that the audio wire I was using (the one I've spent a couple of days building earlier) had intermittent audio issues where the right driver would drop out when the wire was held in certain positions. Oscilloscope probing showed that there was some sort of disconnect, with only the 50Hz noise from the power lines showing up. Opened up the connector and noticed that the ground wire had detached. An 28AWG electrical wire that was inside a jack that was meant for stress relief! Yet the copper strands must've detached one by one regardless. What do I need then, huh?! 18AWG which wouldn't even fit on the connector, only to see the strands in that eventually detach as well?! You know what, let's go fancy.. 1AWG which is meant for extremely high current applications!!
At that point I was literally shouting "FUCK!!! Why does this shit always happen to me?!! ONE FUCKING PROJECT THAT FINISHED SUCCESSFULLY, YET STILL BROKE?!!!! WHY!!!!!!"
Clearly I need some fresh air to cool down. On my way to the fast food restaurant to get some Bicky burgers. More shit, humans. One stupid driver who slowed down on me, which of all things I hate the most. GO FASTER ALREADY YOU SLOWFUCK, AND GET THE FUCK OUT OF MY SIGHT!!! Next a pedestrian with a dog.. I swear motherfucker, if that dog comes anywhere near me I'll personally turn it into fucking fricassee.
Ah and then comes the killer.. in this stupid fucking summer, all that's needed to fix any issue is a fucking stupid DESPACITO, right?! More like DeSPASTICo!! FUCK!!!!
.. Back home, rather tired. So essentially a wire that was specifically built to have high endurance broke on me. Back to Bluetooth I guess.rant fuck the planet fuck humanity fuck everything fuck despacito fuck despastico fuck life fuck me fuck humans fuck the world fuck this shit fuck society2 -
The newest IPhone (Which specwise is good) is more expensive than the newest graphics cards that are coming out... h.o.l.y. s.h.i.t
and you know what? THE BEST MODEL IS 400 BUCKS MORE EXPENSIVE THAN A FUCKING 2080TI!
And you know what?
WHATS UP WITH STORAGE!
you go from 64Gb to 256 and 512 GIGABYTES OF DATA!!
Its like, Midrange storage to a Ton of Storage to HOLY SHIT WHO NEEDS THIS MUCH?!
and you know WHY they are doing this?
Because most of the people will buy the 256 or 512 model GUARANTEED! People behave like this! you dont believe me?
What if you gave a Big Popcorn box for 15 Bucks and the smallest one for 5 bucks, which one would you buy? The smaller one. (Most of the time) and why? because you only have 2 choices! If I gave you 3 choices: 5 for small, 10 for medium and 15 for large?
You wont buy the smallest one, because it doesnt make sense! THATS WHY AND NOW FUCK OFF AND YOU TOO APPLE GO SUCK COCKS OF YOUR FUCKING FANBOYS WHICH WILL PAY MORE!4 -
One of the biggest reality checks you will run into when starting your first dev related job - and which they don't teach you about in school - is that a lot of the time will be spent working with other people's code, and rewriting it into "your own" is rarely an option.
You might be super into making things, but not everyone manages to maintain that same spark while taking over a 15 year old project with fundamental issues that have to be triaged "for now" because you need a hotfix on this other specific thing out in prod before lunch.
There are no gods now. They left the company years ago and nobody knows why they used the windows registry as a user repo.3 -
One day at a meeting I proposed a solution and explained it to everyone and everyone agreed to it. And then comes in this motherfucking Mr. shithole who starts talking about a piece of shit approach which had apparent drawbacks and everyone could see it but no one mentions. Why, becuase that bigger asshole is the boss of these smaller assholes. When I mention the drawbacks, all I get in return is, you are right but we think you should go this way. No fucking explanation why should I or any son of bitch should go that way. And every single one of those fuckers in the meeting suddenly became ok with his approach without any question or doubt. I mean WTF! What kind of developer you are if cant fucking express your views.10
-
Dear fanboys (and probably past and I hope not future me),
Just because I use alternative product doesn’t mean you can attack me personally. And because you use some service/product doesn’t mean it’s automatically fitting for all people or it’s perfect and doesn’t have any cons.
Just because you use X thing and you’re happy with it (which is perfectly OK), doesn’t mean I can’t be perfectly happy with Y thing.
Imagine if only legal haircut was yours favorite. Wouldn’t be that boring if everyone wore exact same haircut? That’s like some 1984 shit.
I’m not saying that criticizing things is bad - it’s great actually, but in civilized way.
Don’t attack a person using something and automatically assume that they are an idiots, but rather point out why that something is bad.
And please, be different. If you’re happy with that phone which you use, don’t go buy a new one just because someone told you that your current one is bad without pointing out why.
Sincerely,
Athlon
No one is gonna care anyways...8 -
"Change your algorithm"
Answers like this are why Stack Overflow almost becomes worthless when asking questions. I asked for some clarification why my code, which reads some files and outputs another, was hitting System.OutOfMemory exceptions. And that was the response I got.
"Change your algorithm"
How? In what manner should I be seeking to change my algorithm? OBVIOUSLY I SHOULD CHANGE MY ALGORITHM YOU WASTE OF OXYGEN. That was a given by the exception my program threw!
I swear to god, SO has got to be one of the most unwelcoming, condescending sites on the internet.5 -
I spent four hours just getting my dev environment working again today.
Whenever I switch branches on this project, I keep to run a script that does migrations, seed data, test db setup, static test info, etc. etc. etc. It takes 12-15 minutes to run.
Today, that script failed.
Apparently one of its steps requires running some of the project's code to produce valid objects. Makes sense. However, my ticket involves breaking a crapton of models (removing accessors) which I've already done, and then patching the behavior, which I haven't. Which means a lot of things are currently broken. Makes sense why the script fails.
However, I can't run the script on a different branch and then switch back because that simply doesn't work (for reasons), so I needed to find some workaround. I eventually did, but every attempt cost me 12 minutes.
Today was not fun, and certainly not productive.
I wonder when they're going to fire me 😅7 -
I heard scary thing.
A tester found an issue yesterday. He came to the dev and reported about it. Apparently the only feedback message was "something went wrong". They spend almost an hour hunting down the cause for that. It turned out the error message was from one of the try-catch. I do not know much details apart from that. At the end, the dev lead said this (which he had said before).
"That's why I don't like to catch exception."10 -
Every now and then I see neovim being mentioned here, which sparked my interest. Currently I use vim, vi and the likes. Given that I'm at least somewhat familiar with these, what are the differences between them and neovim, benefits of one or the other, and ease of migration?
As for why I'm not going to Stack Exchange to ask this question - I understand that this will be very opinionated, which I find desirable. There's nothing like actual user experience. But Stack Exchange being the way it is, such questions would be shot down immediately :')8 -
I wish I knew for sure I wouldn't offend certain people if they read this. I'll be vague for a reason..
WHY THE FUCK ARE. PI WRITING A PROGRAM IN A LANGUAGE OF YOUR LIKING AND THEN TELLING ME YOU DON'T KNOW WHICH FILE TO UPLOAD?!,!,!? How about the ones that make it work?
And why did you send the program, unformatted? This hurts.
I'm trying to teach these children how to fucking be professional in their jobs and this is what I'm working with.
How hard is it to know your tools and pick one that shows you know what you're doing????
And all this after the deadline, and the language written wrong14 -
My manager is a "you don't know shit" kinda dude.
This one time while guiding us on how to operate on databases which existed and somehow, he deleted the whole database.
Ofcourse, to save his ass at once he claimed "This is why I was telling you all this, see!? The whole database got deleted"
And yes, we had a backup of that database. And yes we weren't able to control our laughter too.
You should have seen his face.3 -
every day I get phone calls from some idiot to moan about something I fixed.
I had a job to copy a site and use it for another company, with everyone's consent. I do it and found the original was garbage. hard coded functionalities. limited control over which pages appear in the menu and so on.
problem is the site administrator doesn't understand the system and made pages visible on the menu that shouldn't be and so on. these never showed up before because it was broken.
now she phones every day because she setup her pages wrong originally and tells me stuff like, why did you change this, it worked before and crap.
I never expected she would have setup the pages incorrectly so I never thought this would happen.
lesson here is if it's broken and you're the only one that's noticed, just bloody leave it.1 -
Told by Gerald Weinberg in various incarnations:
A group of ten top software engineers is sent to a class for aspiring managers. The teacher walks in and asks this question:
"You work for a software company which develops avionics (software that controls the instruments of an airplane). One day you are taking a business trip. As you get on the plane you see a plaque that says this plane is using a beta of the software your team developed. Who would get off?"
Nine developers raised their hands. The teacher looked at the tenth and asked, "Why would you stay on?"
The tenth said, "if my team wrote the software, the plane would not get off the ground, much less crash." -
Today I learned in a cafe why (some) users think that Facebook doesn't allow them data control. Due to drunkness I'm paraphrasing here, but it went something like this:
- I don't trust Facebook, because my posts that I make are visible to people that I didn't want to have it be seen to.
> Audience controls. Use them.
- This guy in town sent me a friend request, why would he be able to??1!1
> He and you share hometown. So probably friend suggestions based on you both explicitly sharing location, or he just visited your profile on name and wanted to get in touch with you. Socializing on the internet, it exists.
That's the kind of user that's roaming the facebooks on the internets and the googles I guess? The type of user that's surprised that their Facebook games and nametests expose information that they explicitly consent to? Give me a break. I care deeply about privacy, but this is just ridiculous.
On a different note, why the fuck is not a single one of those very same fucking Facebook users worried about 25-ish% of websites running their JavaScript (which you can check and block using NoScript and co.), which is the *actual* privacy threat? But muh nametests!!!
Fuck ignorant users!!!10 -
I told a guy to implement an algorithm in cpp. He wrote this weird 600+ lines of code which contains only global variables and void functions then I told him to make it object oriented and he just put all those garbage in the class and gave me back and on top of that class name is Template and file name is template.cpp. I don't have words to describe his code. May be this picture can help you understand my state. Oh, if you think this matchOn_r1, r2,r3 are different then you are mistaken they are just different with one argument (one global argument). This is just part of the code. He has this shit all over the place. Why the fuck this kind of people exists?13
-
I'm writing my bachelor thesis in LaTeX. As people who use LaTeX might know, it generates shitloads of files while compiling (like 10 files per .tex file).
To unclutter my project folder, I wrote a simple one-liner bash script that deletes all files which are not .tex or .bib files (literature references) and of course it will not delete itself (although that one also took me longer to figure out why my script 'kept disappearing for no reason after I ran it' than I'd like to admit).
However, I forgot that images are also files which are stored in the project-folder.
And this is how I suddenly lost all of my images for no reason at all, resulting in my PDF not building anymore. Luckily we all commit and push all regularely, right...
Edit: I just figured out that I'm even stupider than originally thought... My .gitignore ans more importantly, the '.git' folder also neither end in .tex nor .bib. Guess I'll just go fuck myself.10 -
...i just remembered why I have a MasturbatorPattern repository on my bitbucket, why is it named that way, and what it does.
It's one of the core abilities of that magical AI i've mentioned in my previous rant. And it's called that way, because of how it works:
The Agent has some objects (as in, class instances) available to it, and wants to get some other kind of object. So it inspects by reflection ("touches") all objects around itself, inspecting their public functions, building up a plan/path/tree of "this function takes the object I have as input, and returns this other object which this other function of other object takes as input and returns this different object, which...." etc, etc, until the final function returns the object the Agent wanted to get in the first place.
And then it goes and "does" all those functions, in that order piping the parameters through.
So first it touches them (second layer of metaphor - linux finger command), and then it does those which output (ejaculate =D) something useful to it.
Therefore, MasturbatorPattern =D
Not sure if my sense of humor is just weird or outright unfunny.8 -
We are a small size product based company. There was a change in management a year back and the new management decided to fire the entire engineering team one by one. I was hired as full time back-end developer (C++). Just after I joined they removed the last 2 engineers from the previous regime and handed over devops and Python API development to me as well.
There was no documentation for the main product which was a sophisticated piece of software. There were no comments in the code as well. I had to go through line by line (roughly 100,000 lines of code).
Then they decide to hire more devs.Turned out to be false hope. They hired interns who had no programming knowledge.
Now they got two clients who are interested in using the service. They lured them using empty promises. The product is not stable. The cloud infrastructure is not at all ready. The APIs are a mess. I don't know which one to work on.
Worst part is that there is no other technical person in the office.
I'm thinking about quitting now. I don't know why I haven't already.😖😖4 -
Why is starting a C++ project so overly complicated and annoying?!
So many different compilers. So many ways to organize the files. So many inconsistencies between Linux and Windows. So many outdated/lacking tutorials. So many small problems.
Why is there almost no good C++ IDEs? Why is Visual Studio so bizarre? Why are the CMake official tutorials literally wrong? Why can't we have a standard way to share binaries? Why can't we have a standard way to structure project folders? Why is the linker so annoying to use?
Don't get me wrong, I quite like the language and I love how fast it is (one of the main reasons I decided to use it for my project, which is a game almost comparable to Factorio)... But why is simply starting to write code such a hassle?
I've been programming in Java for years and oh god I miss it so much. JARs are amazing. Packages are amazing. The JDK is amazing. Everything is standardized, even variable names.
I'm so tempted to make this game in Java...
But I can't. I would have a garbage collector in the way of its performance...11 -
Got contacted by "cosmicjs" ( https://cosmicjs.com ) to build apps using the platform and blog about said apps.
Googling them, they got articles spread all over medium, by either the co-founder or the developers, praising it to be the better wordpress and how some seemingly paid twitter posts praise it too.
Apparently "Deutsche Bank" and Volkswagen, Apple, Microsoft, IBM, JPMorganChase use it, which I highly doubt, maybe somebody here can figure out if thats actually false claims, since googling any of those together obv. doesn't return anything, nor makes it sense why they would spend such a large amount on... nothing?..
That one might be just me, but then theres those comments from themselves on producthunt, praising it, though it seems they failed to logout or something? the one co-founder seems to be praising how easy it is to install, by talking about it like an external user?.. (screenshot in comments)14 -
DEAR CTOs, PLEASE ASK THE DEVELOPER OF THE SOFTWARE WHICH YOU ARE PLANNING TO BUY IN WHAT LANGUAGE AND WHAT VERSION THEY ARE WRITTEN IN.
Background: I worked a LONG time for a software company which developed a BIG crm software suite for a very niche sector. The softwary company was quite successfull and got many customers, even big companies bought our software. The thing is: The software is written in Ruby 1.8.7 and Rails 2. Even some customer servers are running debian squeeze... Yes, this setup is still in production use in 2022. (Rails 7 is the current version). I really don't get it why no one asked for the specific setup, they just bought it. We always told our boss, that we need time to upgrade. But he told every time, no one pays for an tech upgrade... So there it is, many TBs of customer data are in systems which are totally old, not updated and with possibly security issues.9 -
The new mobile app codebase i'm working with, was clearly written by someone who just read a book on generics and encapsulation.
I need to pull out 2 screens into a separate library to have it shared around. The 1 networking request used is wrapped up in a 'WebServiceFactory' and `WebServiceObjectMapper`, used by a `NetworkingManager` which exposes a generic `request` method taking in a `TopLevelResponse` type (Which has imported every model) which uses a factory method to get the real response type.
This is needed by the `Router` which takes a generic `Action` which they've subclassed for each and every use case needing server communication.
Then the networking request function is part of a chain of 4 near identical functions spread across 4 different files, each one doing a tiny bit more than the last and casting everything to a new god damn protocol, because fuck concrete types.
Its not even used in that many places, theres like 6 networking calls. Why are people so god damn fucking stupid and insist on over engineering the shit out of their apps. I'm fed the fuck up with these useless skidmarks.3 -
Certified Enganeers: 0, Internet Connectivity Issues: 1
Those idiots couldn't even understand why I'd connected a second router (a DLink DIR 816) for better WiFi than their default garbage modem/router. And one of them told me that he'd login to the router by "putting the address in Google" (and proceeded to type 192.168.1.251 in the search bar, after I explained to him that Firefox was a browser too, just like Chrome -.-)
And they didn't even fix the problem, which is most probably on their end since everything checks out here. Brilliant. More shitty 3G/4G for me.
YOU CERTIFIED PIECES OF CRAP4 -
I managed to get a new dell XPS 15 with uhd display, 16GB RAM and a nice i7 for work.
My boss previously asked for advice from me for which laptop to get, he ignored my advice which was for him to get a nice surface book pro for his excel activities
Instead he got a shitty Mac book air (who are these people who like the airs?). As his cto I was upset he didn’t trust his tech guy to choose him a powerful laptop that was useful.
Anyway, he saw my new laptop this week and a contractor was admiring it. My boss then said why didn’t you tell me to get this one? (The surface pro is the same spec but with tablet and pen ability).
What a dick. I’m still mad he didn’t listen to me. And now he is saying I never told him.
Macs are shit btw. This dell is great and I don’t know how we lived without uhd screens before.14 -
I like complainers... So... Someone who works 9-6 (and is often late by half hour and leaves at 6 sharp also takes extended lunch break) complained to my manager that I'm late for work , which I am , no denying , but , I take no lunch break and I work until 7:30-8 . Why on planet earth would you even care to make a complaint about someone whose manager you don't even know ? What the fuck kind of a person even does that ?! No one in my office has any kind of direct interaction with me , no idea of the work I do yet someone found it fitting to complain . Anyway , manager didn't even listen to the guy so I'm good...just pissed at haters .6
-
I am angry. Do you know why? It's a rhetorical question, because you don't know why I am angry, which is why I'm going to tell you why I'm so. I Followed my friend, " Jane Doe" ( you don't need to know her actual name) to this store in my town. Then these 14-15 years old girls came up to me, and started asking me about my braces. "Where'd you get it?
" How much did it cost ?"
I get these questions like almost every single, and it's annoying. 😒
This one question got me angry. "What 'if' her braces are fake?" A girl said whispering to her friend.
Fake??? My braces are realer than you could ever be, jealous bitch. I said that in my mind, I don't have the guts to say it out loud, besides these girls look like they could tear me to pieces, and I wanted no conflict. I walked away as soon as my friend got her stuffs from the store.
My friend couldn't help but to tease me that I'm a doormat. I guess she's right. 🤔☹😤😟😖26 -
Am I the only one who can't take the IT nonsense in TV SERIES (especially crime series) anymore? ANY UI shown on an arbitrary screen looks like garbage! And in addition to the f*cked up screen designs, every damn action of course makes weird beep noises, which would be totally annoying after like 3 secs IRL. How the heck are we supposed to take such BS seriously? This totally destroys so many TV series for me!
(Also, I have to explain to my wife why I'm laughing all the time! :p)8 -
We have this incredible Jira system that allows anyone with half a brain to report anomalies, add some screenshots in it, a description, links, everything.
Then WHY THE FUCK would you add a fucking docx file in which there are 2 lines and one screenshot? What blocked you to add the fucking content of your docx shit to the fucking Jira?
I swear to god, some people should be medically forbidden to come close to a computer4 -
These bloody form designers.
I was filling in this form earlier and there were some fields which were not marked mandatory so I didn’t fill them in (because why should I ?)
And then later, I received a dozen automated e-mails one for each non-mandatory field I did not fill asking me to provide them that information.3 -
Ok, so I'm one of the new folks here, and spent some time looking around.
And I've read so many of you write about levels of insanity at work that just baffles me.
Why do people do that to themselves? And no, I don't mean you sales-manager, or your boss who hired the wrong kind of dev, I mean YOU.
You are a developer, currently the market for devs is so large you can literally pick your jobs. And if you don't know how to find a new job, just Google (easy mode, search on LinkedIn) a company which specializes in recruiting, there are tons of them, and they will gladly search an employer for you.
Don't get stuck in a job that sucks - you will kill your motivation, and you deserve better.3 -
Recently I disassembled this Remington beard trimmer that I have, right. Thinking that I probably just depleted the battery or something like that, and that that's why the fucking thing would turn off after 10 seconds, with a miserable motor speed that could only be caused by what.. 2.5V or something like that? So I kept up with it for a while, and then a few days ago, I finally disassembled the fucking thing.
New 4.2V LiPo battery of my own attached, wicked! The thing has a 2Ah capacity and is fully charged, so fuck all in a big ship, I'ma shave my fucking hair without protection, who cares with 2Ah anyway, given that motors at 4.2V consume only 800-ish mA, right. So I shaved my head, and figured.. holy shit mate, I fucking beat this fucking cunt, fuck you Remington! Planned obsolescence my ass!!!
Just now @xewl sent me a request that made me reconsider this shaver. Some PS3 controller, should be easy enough to fix. But I referenced my shaver so I figured that I might actually check it beforehand.
The original fucking battery has 4V left on it. 4 fucking volts! That ain't gonna trip shit for an overdischarge protection circuit!!! WHY THE FUCK REMINGTON, WHY THE FUCK DID IT (IF ANYTHING) TRIP?! And more importantly, why did you make the motor turn for only 10-ish seconds after charging, 1 year after purchase, despite the fucking cell having 4 fucking volts in it, which is more than plenty to get the thing turning for at least a 60% charge?! Planned obsolescence perhaps, hmm?
But let's say that it was bad contacts or something like that. After all, my probing was a bit intermittent, showing 1.5V (if it's shorting, shouldn't it be in the mV range?) and then 4V at times, until I separated the nickel connectors from the 16500 cell. Why the fuck should that thing short, considering that it's unprotected?! The fucking cell is unprotected, and you Remington are going to let it short? What kind of fucking engineering is that, you fucking braindead morons?!!!
And why do you use a 16500 cell which isn't very standard over a 18650 cell, which is? Again, planned obsolescence? Fucking vile pieces of shit.
Now what's more.. I tried to power on the shaver for a picture for this fucking rant, using a LiPo cell of my own that I used to shave my hair with the other day, to get a nice picture of my little hack. But the fucking thing, despite having 3.89V left in it after that fucking shave, which is more than plenty for a lithium cell, the fucking unit doesn't power on. WHAT THE FUCK REMINGTON?!! That's planned obsolescence at its best, init?!! You vile fucking pieces of shit.
So I guess that this rant is no more one of "I beat these Remington cunts". It is one of "you can bet your fucking ass that planned obsolescence is a thing!!"7 -
Remember my rant about having to write a newsletter which works with MS Outlook?
Remember that rant by @EclipseMain about teachers teaching how to build a website in MS word?
Well. The two just became united. I had finished the fking newsletter and was waiting for approval. They kept on introducing last minute changes, a commata here and there and whatnot. I literally was waiting for 2 weeks to send that shit out.
My boss gets the glorious idea that if I complain so much about Outlook and Microsoft, lets have the secretary design the newsletter from scratch, literally copying my design, in ms word... argument: one can send an html email out from word.
...
Then they ask me which one should be send out. I say I can apply the design suggestions to my newsletter but if we sent theirs, with all the weird fonts and being even less responsive then my suggestion, it would be even worse.
What the fuck.
Also: they let me waste a lot of time on this thing to tell me later oh we have money left lets hire a designer. Why not do that from the start? Ffs... <.<5 -
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 -
So I have this 13 year old cousin who's pretty determined to follow my footsteps as a developer someday. He really likes gaming and all internet stuffs. His future plans makes me happy since I may finally have a relative that is a developer. But darn it! He's kinda weird coz he still throws tanrums. One of his major tantrums(which happened again last night) is that he wants the wireless Karaoke machine to be turned off because he thinks that it's slowing down the internet. It was his sister's birthday party and the guests are partying. I've told him many times that the signal for the karaoke is different from that of the router which has nothing to do with the internet slowing down. It must be caused by q device that is updating some apps or whatever. We live in the philippines and our internet provider is quite fast but it has this stupid fair usage policy that caps our bandwidth to a minimum speed if we reach a certain amount of data usage. Since he goes to youtube everyday in 480 and 720p, I explained it to him that it was one of the causes.
Last night, I almost got triggered because I wanted him to believe about the wifi being different to that of the karaoke machine's radio and that it is not connected to the wifi and not using data. I also told him about different kinds of wireless signals which I studied as a Software Engineering student back then and yet he still doesnt believe me. And what almost triggered me is that i saw his steam client updating while watching youtube. I told him that was it. But instead of agreeing, he refused to believe me and just told me that steam is just updating and he's not downloading anything which made me think why he keeps going to youtube, because...he's not downloading. Oh God! Good luck to this kid. 😂5 -
A group of ten top software engineers is sent to a class for aspiring managers. The teacher walks in and asks this question:
"You work for a software company which develops avionics (software that controls the instruments of an airplane). One day you are taking a business trip. As you get on the plane you see a plaque that says this plane is using a beta of the software your team developed. Who would get off?"
Nine developers raised their hands. The teacher looked at the tenth and asked, "Why would you stay on?"
The tenth said, "if my team wrote the software, the plane would not get off the ground, much less crash." -
FUCK ALL THOSE MONKEYS THAT WROTE ALL THE SHITTY CODE WHICH I'VE SPENT THE MAJORITY OF MY DAYS HAVING TO FIGURE OUT WHAT THE SHIT IT DOES AND WHY I CAN'T JUST BURN IT....
AND WHY THE FUCK DO BUSINESS USERS SEEM TO THINK THAT DEVELOPERS CAN UNDERSTAND ALL THEIR BUSINESS TALK...
IF I UNDERSTAND ALL OF WHAT YOU DO, YOU WILL BE OUT OF A JOB....
P.S. APPARENTLY ONE OF MY MEDS SIDE EFFECTS ARE INCREASED IRRATIBILTY. THE SLIGHTEST ANNOYANCES NOW PISS ME OFF...
SO APPARENTLY THAT MEANS I HAVE A FREE LICENSE TO BLOW UP N RANT ON THE JOB RIGHT?
... 🖕12 -
Why the fuck does Arduino use C++ macros for min, max, abs, etc. ???????
---
For those who don't know what a macro is, basic example:
#define abs(x) (x > 0 ? x : -(x))
Which looks like a function, but instead abs() will be replaced by the expression and all x will be replaced literally with what you pass to abs
So
abs(i++)
would evaluate to
(i++ > 0 ? i++ : -(i++))
which would call i++ twice
---
I guess I will have to double check every built in function and rewrite it if it's a macro -_-. Not taking any chances. Btw all Arduino functions are in one big file, so now I have to pollute my code with namespaces.
Macros can be great but what the fuck.16 -
So here is what happens. I have new guy in the office. He thinks he is a big shot or something. Our office time is 9 to 6, but no one comes in at that time.
This guy, he comes at 10:30 and I come at 11. I have been working as a senior dev for 2.5 years now and he is a fresher who joined as a manager which I am still wondering why.
And he tells me you are late and I inform the CEO about this.
One of these days I will tell him that brother the day you show the same commitment I have shown to the company or anything close to it, we will talk.
Waiting for the exact day.5 -
Welp. That was fun.
Just had an interview I wasn't even expecting. Basically the company emailed me saying that the role has been filled and as such the interview has been canceled.
And I'm like ok. Thanks for letting me know.
Then at literally the same time someone sent me a skype request asking me if I'm ready.
I get another email saying they're sorry about the inconvenience and hope my front end interview goes well... like. Wtf.
Why didn't they specify which? And why wait so long ffs.
I had two interviews with them. They stood me up on the last one and i emailed and never heard back.
So now I just had the most awkward interview in my life.
I was so rattled I forgot the answer to a simple af question. What's a JavaScript closure.
I wanna cry but it was so bad I wanna laugh3 -
Damnit...
I'm kind of a perfectionist, which is one of the reasons why I don't post here very often.
I think that my posts have to be the most hilarious or creative ones to even be bothered to be read by anyone.
Now.. I'm kind of not sober, so I'll just write some idéas, jokes and rants in notes on my iPad.. Sleep, and get drunk again tomorrow and maybe post them...
Or maybe just delete this post and be ashamed tomorrow?
I at least posted this under the "Joke/Meme" tag so that people won't be offended, hopefully, by this "none-rant".5 -
Boss: "do you have a minute?"
Me: "sure"
Boss: "I have this problem, can you just stop doing whatever you are doing and fix it for me?"
Me internally: *no I don't, what I'm doing right now is fixing another one of your problems for which you've interrupted other work already"
Me: "Yeah sure, gimme some time"
Can't afford to fail my internship and I don't want a shitty work environment which I why I don't speak my mind...
But man this is tiring...2 -
Okay karma, why?!
I made some backup scripts, it should dump our MongoDB every 30 Minutes... Nope I didn't test if there's something in the tar and yes it's my fault but now we needed this backup AND THE ONLY BACKUP SCRIPT WHICH DIDN'T WORK WAS THE ONE WHICH BACKUPS THE DATABASE...
COME OOOOON8 -
Time to time I do some Hard- and Software repairs for neighbors and get some little money for it.
My neighbor let's call this one "Bob".
Bob has a new printer and a old one which is over 15 years old.
First: Holy shit 15 years old printer works still. WTF? Is this thing Hulk or what?
He ask me why he can't print a 128 site Doc with pictures in it from the old printer. It always stop at around 50 pages.
I tell him that it has only 32 MB Ram/Flash and can't print more. Before the Doc's were much smaller and could print that, but today you got files with more than 10 MB and on a printer it need's atleast 128 MB Ram to process and print it.
Guess what? One week later he asks me the same questions.
Why don't you print it on your new shiny expensive printer and why do you need still that OFFICE WAR VETERAN OF PRINTER to print it???
Seriously just use the new and better one!! Bob please give that old one a burial. He deservs it!5 -
Security lifehacks 101
Why pay for password managers? Just use one secure password for every service you use! Password managers are really designed for fools who don’t know that you can just use one password for every service and who are ready to pay for that shit.
The best practice is to use your name starting with a capital letter + your main credit card number + CVC code from the back of that card as your go-to password. It’s long and hard to bruteforce and you can remember everything that way! You just need to remember that one password and you’ll always remember your payment info! No need for apple’s bad Apple Pay which is not so secure after all like everything else that Apple offers.19 -
Common Lisp code has (imo) one of the cleanest syntax possible in programming language. I really would like for Lisp dialects other than Clojure to make a heavy comeback. And we now hace Quicklisp which is a package repo for CL code.
I really want to see more people into Lisp, it really is a great language man you just need to get past the (()) and it makes sense I promise.
Guys please try CL. If you already have awesome code skills and have some free time try going throughe the gigamonkeys book. Completely free online and setting up an Emacs environment with SBCL or CLISP is a breeze. I use Lisp to experiment and it gives a lot of room for exploring new concepts.
Another cool language that is emerging is Smalltalk in the form of Pharo. If you have been casting asside OOP because of the way many mainstream languages do it then maybe you will like Smalltalk as a pure OOP form.
I just want more people in this shit and this community sure has some awesome programmers, so why not?
one of the leading dudes in CL is currently Eitaro Fukamachi, one dude...doing amazing things. My aim is to give him a hand.8 -
Running a fucking conda environment on windows (an update environment from the previous one that I normally use) gets to be a fucking pain in the fucking ass for no fucking reason.
First: Generate a new conda environment, for FUCKING SHITS AND GIGGLES, DO NOT SPECIFY THE PYTHON VERSION, just to see compatibility, this was an experiment, expected to fail.
Install tensorflow on said environment: It does not fucking work, not detecting cuda, the only requirement? To have the cuda dependencies installed, modified, and inside of the system path, check done, it works on 4 other fucking environments, so why not this one.
Still doesn't work, google around and found some thread on github (the errors) that has a way to fix it, do it that way, fucking magic, shit is fixed.
Very well, tensorflow is installed and detecting cuda, no biggie. HAD TO SWITCH TO PYHTHON 3,8 BECAUSE 3.9 WAS GIVING ISSUES FOR SOME UNKNOWN FUCKING REASON
Ok no problem, done.
Install jupyter lab, for which the first in all other 4 environments it works. Guess what a fuckload of errors upon executing the import of tensorflow. They go on a loop that does not fucking end.
The error: imPoRT eRrOr thE Dll waS noT loAdeD
Ok, fucking which one? who fucking knows.
I FUCKING HATE that the main language for this fucking bullshit is python. I guess the benefits of the repl, I do, but the python repl is fucking HORSESHIT compared to the one you get on: Lisp, Ruby and fucking even NODE in which error messages are still more fucking intelligent than those of fucking bullshit ass Python.
Personally? I am betting on Julia devising a smarter environment, it is a better language already, on a second note: If you are worried about A.I taking your job, don't, it requires a team of fucktards working around common basic system administration tasks to get this bullshit running in the first place.
My dream? Julia or Scala (fuck you) for a primary language in machine learning and AI, in which entire environments, with aaaaaaaaaall of the required dlls and dependencies can be downloaded and installed upon can just fucking run. A single directory structure in which shit just fucking works (reason why I like live environments like Smalltalk, but fuck you on that too) and just run your projects from there, without setting a bunch of bullshit from environment variables, cuda dlls installation phases and what not. Something that JUST FUCKING WORKS.
I.....fucking.....HATE the level of system administration required to run fucking anything nowadays, the reason why we had to create shit like devops jobs, for the sad fuckers that have to figure out environment configurations on a box just to run software.
Fuck me man development turned to shit, this is why go mod, node npm, php composer strict folder structure pipelines were created. Bitch all you want about npm, but if I can create a node_modules setting with all of the required dlls to run a project, even if this bitch weights 2.5GB for a project structure you bet your fucking ass that I would.
"YOU JUST DON'T KNOW WHAT YOU ARE DOING" YES I FUCKING DO and I will get this bullshit fixed, I will get it running just like I did the other 4 environments that I fucking use, for different versions of cuda and python and the dependency circle jerk BULLSHIT that I have to manage. But this "follow the guide and it will work, except when it does not and you are looking into obscure github errors" bullshit just takes away from valuable project time when you have a small dedicated group of developers and no sys admin or devops mastermind to resort to.
I have successfully deployed:
Java
Golang
Clojure
Python
Node
PHP
VB/C# .NET
C++
Rails
Django
Projects, and every single fucking time (save for .net, that shit just fucking works on a dedicated windows IIS server) the shit will not work with x..nT reasons. It fucking obliterates me how fucking annoying this bullshit is. And the reason why the ENTIRE FUCKING FIELD of computer science and software engineering is so fucking flawed.
But we can't all just run to simple windows bs in which we have documentation for everything. We have to spend countless hours on fucking Linux figuring shit out (fuck you also, I have been using Linux since I was 18, I am 30 now) for which graphical drivers for machine learning, cuda and whatTheFuckNot require all sorts of sys admin gymnasts to be used.
Y'all fucked up a long time ago. Smalltalk provided an all in one, easily rollable back to previous images, easily administered interfaces for this fileFuckery bullshit, and even though the JVM and the .NET environments did their best to hold shit down, and even though we had npm packages pulling the universe inside, or gomod compiling shit into one place NOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO we had to do whatever the fuck we wanted to feel l337 and wanted.
Fuck all of you, fuck this field, fuck setting boxes for ML/AI and fuck every single OS in existence2 -
It's rant time again. I was working on a project which exports data to a zipped csv and uploads it to s3. I asked colleagues to review it, I guess that was a mistake.
Well, two of my lesser known colleague reviewed it and one of the complaints they had is that it wasn't typescript. Well yes good thing you have EYES, i'm not comfortable with typescript yet so I made it in nodejs (which is absolutely fine)
The other guy said that I could stream to the zip file and which I didn't know was possible so I said that's impossible right? (I didn't know some zip algorithms work on streams). And he kept brushing over it and taking about why I should use streams and why. I obviously have used streams before and if had read my code he could see that my code streamed everything to the filesystem and afterwards to s3. He continued to behave like I was a literall child who just used nodejs for 2 seconds. (I'm probably half his age so fair enough). He also assumed that my code would store everything in memory which also isn't true if he had read my code...
Never got an answer out of him and had to google myself and research how zlib works while he was sending me obvious examples how streams work. Which annoyed me because I asked him a very simple question.
Now the worst part, we had a dev meeting and both colleagues started talking about how they want that solutions are checked and talked about beforehand while talking about my project as if it was a failure. But it literally wasn't lol, i use streams for everything except the zipping part myself because I didn't know that was possible.
I was super motivated for this project but fuck this shit, I'm not sure why it annoys me so much. I wanted good feedback not people assuming because I'm young I can't fucking read documentation and also hate that they brought it up specifically pointing to my project, could be a general thing. Fuck me.3 -
Estimate for writing a custom WordPress plugin:
1 hour - Learn the API the plugin will support
1 hour - Review how plugins are written
60 hours - Set up XAMPP only to find that the version with PHP 7 no longer supports MySQL but something called MariaDB which my host doesn't support and then uninstall XAMPP and install MAMP only to get really frustrated setting it up and beat myself for not just buying that $99 Windows Pro upgrade so I can install Kalabox with HyperV which is much easier than all of this and why doesn't Kalabox have a way of supporting Windows Home because not everyone buys Windows Pro or can afford a Mac or has time to screw around with 100 possible Linux distros to figure out which one will work best and then buy gasoline and matches and set it on fire and watch it all buuuuuuurn such pretty fire.8 -
decided to participate in a short c++ curse at uni, just to refresh my memory about it since it seems rather important.
Got sidetracked at the preparation task, which was the usual hello world...
I'm running this in emacs now...
Like, one view is the program and under it is the shell run from inside emacs...
I dunno why... send help?
Now I'm considering how can I configure the emacs shell in a fun way.. oh dear.7 -
So enlighten me here. Am I the only one that doesn't lose his absolute shit when it comes to privacy?
I know that some companies are collecting data, and to a certain extent, I'm fine with it as long as the trade-off is good.
I like that Google is "learning" who I am and what I like, cause now, I only see news and articles relevant to my interests, and search predictions are much better. Same with targeted Ads. On an off chance that I'm not using Adblock I like seeing products that I might like, which I otherwise probably wouldn't even know existed.
Except for Microsoft. I have no idea why, but that's where I draw the line.96 -
Holy fucking shit... this didnt happen! IT FUCKING CAMT HAVE! NO NO NO NO! IMPOSSIBLE!
I LOST MY FUCKING BAG! RIGHT BEFORE ONE OF MY MOST IMPORTANT FUCKING TESTS! Ok, a little backstory, everyone in Switzerland or (due to alice's request) german can skip this part:
Here we have something called a "Lehre" (I think its called an apprenticeship or sth?) which usually goes 3-4 years, and in the middle, (end of 2nd) we have a "Teilprüfung" Which is basically a test which you HAVE to pass, if you dont, wait another year, and do it with the Final exams... and if you dont pass, your fucked. very very deep in the ass. And guess where I am? Yes. end of 2nd year. And guess what happened?
I LOST ALL OF MY STUFF! GONE. LOST. IM SO FUCKING SCREWED RIGHT NOW! (I have a small backup tho) BUT THIS IS JUST BAD! VERY FUCKING BAD!
OH GOD...
WHY THE FUCK ISNT THIS A DREAM!
I cant sleep...
send help.
fucking srsly.
send help.4 -
Why I don't use Stack Overflow 99% of the time:
Me: I'm not a ruby developer, but I have to write a small script in ruby. I ran into a problem where i'm getting behavior I don't expect. I have a method which expects an array, and when multiple items are passed into it from the command line parser, behaves appropriately, but when only one command line argument is passed, the method breaks because it was passed a single element, not an array of one element. Here's my code, how do I get my desired behavior?
Most highly voted answer: your problem is your passing it a single element and not an array
Question downvoted into oblivion. As if i'm a pleb for not immediately having a perfect grasp of dynamic typing because when I have the choice I stick with strong nominative typing.8 -
A server application pulled off some sort of listings as table. Problem was, it crashed with some thousand data files after one and a half hours. I looked into that, and couldn't stop WTFing.
A stupid server side script fetched the data in XML (WTF!) and then inserted shit node-wise (WTF!!), which was O(n^2) - in PHP and on XML! Then it converted the whole shebang into HTML for browser display although users would finally copy/paste the result into Excel anyway.
The original developer even had written a note on the application page that pulling the data "could take long". Yeah because it's so fucking STUPID that Clippy is an Einstein in comparison, that's why!
So I pulled the raw data via batch file without XML wrapping and wrote a little C program for merging the dumped stuff client-side in O(n), spitting out a final CSV for Excel import.
Instead of fucking the server for 1.5 hours and then crashing, shit is done after 7 seconds, out of which the actual data processing takes 40 bloody milliseconds!4 -
Me: I majored in Computer Science & Engineering
Someone: Are you the eldest son of your parents?
Me: Yes, why? and How did you know?
Someone: Your parents must have forced you to study CSE, right?
Me: No! They never forced me! I chose CSE by myself, because I loved science & technologies
( and a long boring conversation between me and someone, which is not that important )
In my country, usually parents force their children to become something they want ( Though, my mom still says from time to time, "I really wished, one of children to be a Doctor", as my siblings are also not interested to become Doctor :/ ), but my parents never really forced me anything like that, which I'm really thankful for.5 -
Windows decides to finish faulty programs whenever it likes. İt's so annoying, I did just one small mistake in c++. I wrote "new char(length);" instead of "new char[length];" and I have been dealing with this shit for three days. Then I run the program on Linux and boom it failed in the same spot, which I fixed. But in Windows it sometimes runs, sometimes fails or sometimes even fails on unrelated places. Wtf windows? How about security and shit. There was literally a buffer overflow and you still keep running the program. And why GCC didn't even popped a warning. I hate developing c :(8
-
What is it with people just blindly fucking copy pasting from a different project, seeing it work and then submitting it for review.
You copy 2 lines, one of which fixes the thing, WHY KEEP THE OTHER USELESS IRRELEVANT PIECE OF FUCKING SHIT IN THE FUCKING CODE WHY BOTHER WITH KEEPING IT IN IT'S MORE TECH DEBT BECAUSE NOBODY WILL KNOW WHY IT'S THERE
WHY DO I CONTINOUSLY HAVE TO POINT THIS OUT IT'S SO FICKONG TIRING TO CONSTANTLY HAVE TO BE THE ANNOYING REVIEWER WITH +20 COMMENTS ON SMALL PRS IM SO FUCKING TIRED OF BEING 'THAT GUY'
In my language it's called being 'slordig'. Whenever I submit sometning for review I always go over the diff to see is I missed anything that is no longer required and remove it WHY DONT THEY DO THAT TOO
And then their PR stays open for 2 weeks like they forgot about it and during standup they say 'its in review' like I havent already looked at your piece of shit code
FUCK2 -
about 2 weeks ago my mom's friend's family visit our house. one moment they introduce their brilliant son going to take Computer Science Major, and they didn't understand why, and apparently they are some kind of ignorant family. So my role here are to advertise and promote the world of CS (since i know their son are good at programming). one moment i am diving to deep into my own speech, i am like :
"I believe you guys using facebook, and Whatsapp all the time **give a smirk and sarcastic look* (which they actually did), that is our work there. and maybe you (my mom's friend) love to play candy crush with my mom, yes that is also our work, and we got a lot of money from you buying the candy to unlock the hard level (the microtransaction thing) MUAHAHAHAHA !" ---
and yes i am laughing like a monster in a film. and suddenly that becoming the most awkward thing i ever had.
and i don't know should i feel bad or not introducing CS like that.3 -
Why is the interviewing process becoming worse over the years?
About 2 years ago I applied for a company and got into 2 interviews: one with the hr to see if I am bsing them and one with the tech people, to be sure I am not using buzzwords without context. Pretty straightforward, could be done in a single interview IMHO, but it's making me waste max 2 weeks.
Fast forward to one year ago: 1 interview with the hr, 1 interview with the tech people, 1 interview with CEO (why? Just.. why?)
Fast forward to today: 1 interview with hr, 1 interview with tech people, 1 interview with the CEO (again... why?), 1 coding assignment which "it's only going to take a couple of hours" and punctually has either poorly documented APIs to rely on or has trick questions/points. So "it takes a couple of hours", but if you want to pass it you need to spend a day on it... (and let's add that they may be using old docker versions so if it doesn't work cause they are using docker 1.0 and it fails too bad, you lost time for nothing, we are not trying to solve it, you just don't pass!).
Not kidding the last assignment I took and dropped required: external API, testing, don't use CSS libraries and make your own CSS, you must use TS and it was supposed to take "3 hours max".
My question is: why? Why is the interviewing process slowly becoming less of a: "I understand that your code may not be perfect for us but that you are a human being able to reason and adapt your code to our standards" and more of a: "You must do everything PERFECTLY and we don't give a sh*t about your time, start giving us your free time and then we see if we want you."
I just keep giving up after I analyze the assignments, cause a part of my brain thinks that if this is the way a professional relationship starts it's too easy to foresee weekend shifts and lots of overtime cause some manager thinks that "come on, it just takes a couple of hours!"10 -
i asked my senior "why we need a develop branch" and his reply was "-_-" , literally an emoji.
Ok ,well this might be a stupid question, but i have been in this organisation for 6 months and all this time these guys have not been able to make a proper release. either they miss commits while cherry picking, or they end up reverting stuff, or they are delaying the releases due to QA disapprovals, backend issues or management issues.
i proposed a simpler vcs :
1. `uat` is the source of truth
2. for every release we create a temporary branch `release-x.y.z` from `uat`
3. then we develop every feature in a branch cut from `uat` as `feat-abc`, code in it , and merge it back to `release-x.y.z`
4. finally we merge `release-x.y.z` into `uat`
where is develop branch supposed to be cut?
which branch is supposed to be cut from develop?
which branch is supposed to merge into develop?
where is develop supposed to be merged?
no one has answers to these fucking questions. but still they wanna confuse the whole team of 15+ android and ios devs about how to use which procedure
fml :/10 -
Let's talk a bit about CA-based SSH and TOFU, because this is really why I hate the guts out of how SSH works by default (TOFU) and why I'm amazed that so few people even know about certificate-based SSH.
So for a while now I've been ogling CA-based SSH to solve the issues with key distribution and replacement. Because SSH does 2-way verification, this is relevant to both the host key (which changes on e.g. reinstallation) and user keys (ever replaced one? Yeah that's the problem).
So in my own network I've signed all my devices' host keys a few days ago (user keys will come later). And it works great! Except... Because I wanted to "do it right straight away" I signed only the ED25519 keys on each host, because IMO that's what all the keys should be using. My user keys use it, and among others the host keys use it too. But not by default, which brings me back to this error message.
If you look closely you'd find that the host key did not actually change. That host hasn't been replaced. What has been replaced however is the key this client got initially (i.e. TOFU at work) and the key it's being presented now. The key it's comparing against is ECDSA, which is one of the host key types you'd find in /etc/ssh. But RSA is the default for user keys so God knows why that one is being served... Anyway, the SSH servers apparently prefer signed keys, so what is being served now is an ED25519 key. And TOFU breaks and generates this atrocity of a warning.
This is peak TOFU at its worst really, and with the CA now replacing it I can't help but think that this is TOFU's last scream into the void, a climax of how terrible it is. Use CA's everyone, it's so much better than this default dumpster fire doing its thing.
PS: yes I know how to solve it. Remove .ssh/known_hosts and put the CA as a known host there instead. This is just to illustrate a point.
Also if you're interested in learning about CA-based SSH, check out https://ibug.io/blog/2019/... and https://dmuth.org/ssh-at-scale-cas-... - these really helped me out when I started deploying the CA-based authentication model.19 -
Okay, I usually don't rant about Windows.
But why the flying fuck does it automatically pick a driver for RNDIS5 for a RNDIS6 device (USB tethering on Android devices)? It's hanging many parts of the systems until I change it to the right driver (which is not shown as compatible and warned against whilst being the only one that works). Seriously, I usually never have problems with Windows, but this is the only thing that annoys the fuck out of me with it.6 -
A group of ten top software engineers is sent to a class for aspiring managers.
The teacher walks in and asks this question:"You work for a software company which develops avionics (software that controls the instruments of an airplane).
One day you are taking a business trip. As you get on the plane you see a plaque that says this plane is using a beta of the software your team developed. Who would get off?"Nine developers raised their hands.
The teacher looked at the tenth and asked, "Why would you stay on?
"The tenth said, "if my team wrote the software, the plane would not get off the ground2 -
my teacher genuinely asked the class, which one is better GUI or CLI? everyone said GUI except me, he asked why? (the reason he was expecting from me was something different) i said, "CLI differentiate us from those who just click and realise that how simple is this to operate and why are we being heavily paid?"1
-
Just now... Got a job to create patch files for a couple of jars, which may or may not have varying class files. In total, I have to decompile, check, add and synchronize about 30 class files in 6 jars with a new functionality (that I didn't write). 🙂
FUCK PRODUCTION! WHY CANT YOU MAINTAIN ONE MOTHERFUCKING JAR?
OH? YOU'RE SUPERSTITIOUS THAT ONE TINY, ANT-SHIT SIZED CHANGE IN ONE SIMPLE FUNCTIONALITY WILL FUCK UP *OUR* PRODUCT?
FUCK MANAGEMENT! YOU DON'T HAVE CONFIDENCE IN YOUR *OWN* PRODUCT!
OH? CUSTOMER COMES FIRST? HAVE THE BALLS TO DEFEND YOUR OWN FUCKING SELF AND PRODUCT TO THE CLIENT OR THEY'RE GONNA MAKE YOU YOUR BITCH AND TIE A GAGBALL DIPPED IN HOT SAUCE AROUND YOUR MOUTH! HOW.. THE FUCK.. DID YOU MISS THAT LOGIC??????
Best part, they want it by tomorrow, and they don't wanna test it. Guess who's gonna get slaughtered after a week? ME! 🙂5 -
The company I work for used to be hosted on 3dcart. One day the site went down and their support couldn't tell us why. After over 24 hours of downtime they restored service but left 5 days of all records and customizations across the entire store, from the DB to the damn templates. Their support apologized for the outage blaming the disaster on a combination of hard disk failure and a bad update to their backup script. They were not willing to assist us in any way. We were forced to manually enter 5 days of orders (which gave them new order numbers and caused more problems), products and template changes, with order data coming from an internal email which was luckily CC'd on the order confirmation email. Thank God for whoever setup that CC, it saved our asses. In the end it cost our company thousands of dollars and 3dcart never composited us in any way.2
-
I really love Mr Robot.
The show though... not the guy...
But there's one thing that bugs me since the beginning:
For security reasons Elliot destroys all his drives and puts his RAM into the microwave which of course is effective but why would you even consider frying volatile memory?
Sure... the data can remain for some time but not that long that he would risk anything...
Any ideas?
Oh and btw... SEASON 3 IS NOT THE END??? LIKE WHAAAAAT?4 -
Last year I had to program most of my projects in Python. I like the language, don't get me wrong. But man oh man if you indent your line of code one too many fucking times, it can be such a pain in the ass to find your error...
Even if it may clutter your code (not in my opinion), that's why I love them curly brackets and languages which use them <39 -
Warning: This contains spoilers for Silicon Valley S4 E10:
.
.
.
.
.
.
.
.
.
.
.
.
.
At 5:35 Gilfoyle says: "In order to hold that much data we would have to go RAID 0. [...] If we lose even one platter, we lose Melcher's data. Permanently."
But my question is: Why use RAID at all? Just storing the data without RAID would reduce the complexity, and if one disk fails, only the data on that one disk is lost. Also, I doubt speed is a priority at that point, since the whole thing is running on a home broadband connection, which something like a WD Gold data-center-harddrive (200+ MB/s) can easily max out.
Also, wouldn't it be easier to pay the broadband bill out of their own pocket, instead of moving tons of server equipment to Stanford?4 -
I hate leaving work when in the middle of something, I tend to obsess over it all night lamenting that I didn't finish.
Today I was in a similar position but I needed input from our Finance directorate before I could finish. So I sent them an email which would mean that I'd done everything possible and could go home knowing there was nothing more I could do tonight as surely no one would be working this late.
However five minutes later they replied giving me the exact details I needed.
So yet again, I'm going home frustrated.
Why can't they be that useful the rest of the day?!3 -
Finally made good use of my RPi and setup pi-hole on it. After a painful 4hour long dist-upgrade and picking the right filters it is working like a charm. Why didn't I make this work earlier.
I've also wrote a little script which queries the api and displays different info on the AMOLED screen that was lying around unused for some time.
In case you are interested (from left to right and bottom), the traffic in the last 10 minutes with the max value on a graph, the most active clients query and blocked ratio as lines relative to the top one, and an overview of the total queries/ blocked queries and total clients.
At least I've finally spent a weekend useful not just playing games and watching anime.5 -
I've seen a lot of hate to Macbooks and Apple products in general, and although I agree that iphone could be dramatically improved in terms of hardware I think that OSX is the best platform to do Web development.
Which one would you pick and why? Windows, OSX or Linux.27 -
So, the other day, I was working on a Angular Web app which included the YouTube Api. In the event listener, I wrote that when a video ended, a next one would start (from our database).
Guess what. It didn't work.
Then, I wrote a console.log();
It freaking worked! Then, I removed the console.log. It didn't. I tested cases for like half an hour and it still baffles me, why the hell would an output change everything?
devGod works on mysterious ways...7 -
WTF IS WRONG WITH ASSEMBLY LANGUAGE?!
I was just modifying an existing program for adding a sequence of numbers from the data section and through console input. I studied the code and started modifying it one step at a time. I needed to modify it into a multiplication program. So I started by changing the ADD functions, replaced the result and buffer registers with bigger size and thought I completed it. WELL GUESS WHAT? SHIT JUST GIVES ME SEGMENTATION FAULT! NOW I HAVE TO REDO THE WHOLE THING! WHY DOESN'T IT TELL ME WHICH LINE OF THE CODE I FUCKED UP AT?! STUPID NASM COMPILER.9 -
Elasticsearch, from the bottom of my heart...
How can one ecosystem be so batshit crazy inconsistent?
Seemingly every agent does the same (e.g. filebeat vs journalbeat vs packetbeat)… yet there are subtle changes in configuration everywhere.
Plus YML. The most shitty markup language one can use and the cockslubbing durps used it fucking everywhere.
Makes fun to have complex stuff and requiring a python Jinja to JSON to YML converter to be able to write the complex stuff without having the fucking migraine to count like a stupid 4 year old whitespace with both hands...
To make it even more absurd: the ingest pipelines which contain a lot of regular expressions / grok and are thus very prone to quoting issues... Yes. Let's do this in YML too.
If you need to add an fucking manual section how to debug YML errors you should have realized what a fucking stupid idea it was, morons.
Now I have the joy of having a python script regex quoting the shit for a Jinja template which then generates JSON which then generates YML.
Why the JSON part?
Yeah... Because ECS and changes in the upstream YML files / GitHub.
To be able to run diffs in a sane way because in YML distinguishing thing is pretty much impossible, so JSON as an intermediary format solely for the purpose of converting upstream YML to JSON to diff it against modified JSON ingest pipelines downstream.
I fucking hate elasticsearch8 -
Kubernetes is a breeze they said. Now I‘m sitting here for several hours trying to find out why my pods randomly fail to resolve domain names.
Coming along my adventure: broken systemd configs, systemd-resolved stub causing loops, broken k3s modules and finding out that busybox‘s nslookup is broken for versions greater than v1.28.4.
50 issues later, I figured out that the dude who setup the corporate network (where the machine in question is located) uses two nameservers: one to resolve the internal routes and one for all the external domains. Luckily, coredns randomly picks a nameserver for each request. Therefore, sometimes queries for external domains reach the nameserver dedicated to the internal network which then answers with NXDOMAIN.
I hate networking so so much...4 -
In highschool, I was looking around for schools and universities at which I would start my student career. I went to a grad school one day, to see what it was like to be a student there. The first class I visited was programming for embedded systems. We got the assignment to write Java code to control a boom barrier. The teacher had written the template. And I kid you not, the template had a method of around 20 lines of code - without comments - with the purpose of carrying out a logical OR operation. An operation that literally can be done using an operator in Java: |
Why oh why do they let these people teach, with the result that the students will get used to these bad practises...5 -
"This is ridiculous, why don't the docs explain this? This is absurd, it seems like thousands of people should be having this issue. Why do maintainers fucking not get it? Why write software if you don't intend for anyone else to use it?"
versus
"Hey, could you explain X to me? I'm having trouble understanding it."
"Sure, here: ..."
"Thanks - maybe we could add it to the docs, that's the first place I looked."
"Absolutely, good idea."
<closed in a8b7cb8d>
Which one was easier, folks? It's not this difficult. 100% going to help you if you ask - to me, at least, there's no such thing as a stupid question (seriously, I'll answer the most inane questions 100 times over if I need to). However, there's definitely a stupid comment, and unfortunately they seem to be the majority I receive on Github.6 -
Windows makes me genuinely angry. Why is it that when I boot my computer, I am expected to wait 10+ minutes for windows to launch 5 startup applications, most of which are already patches for things that should be there to begin with, before I can even begin to use explorer to open GeForce experience because for some reason, windows said "Graphics drivers?! Who needs those?!" And threw them out the window! And then I get notifications about apps needing permissions to things, BUT IT WONT TELL ME WHICH ONE! I clicked the update driver notification 5 minutes ago and the installer literally just now opened up. This is a computer with a r3 processor and gtx970! It may not be the best, but it is by no means underpowered! Why must Halo online not have a Linux version? :(4
-
Why is it always THIS freaking user??? Yes, this is the same one from my previous rant. ALWAYS emails me with a subject line composed of whatever random, vaguely-related-to-the-topic words happen to be jiggling around in his arsehole at the time of writing, vomited out in no particular order. Email body full of typos, wildly incorrect punctuation, and the actual content is completely nonsensical. Accompanied by a screenshot which is always cropped down so small as to be useless. And from what I can gather from this latest one, it looks like he's fallen for yet another phishing email. I SWEAR if that's what happened again......2
-
I decided to learn Flutter, because the idea of a common code base between Android and iOS sounds nice. I'm late to the party, I know.
So I install everything and start typing in the tutorial. TAB... two spaces. I absolutely hate that so let's change it. In the settings, it sends me to a FAQ which more or less says this is the way it is, deal with it. But I want my tabs to be four spaces, every code editor since the dawn of time could do this... I'M PAYING FOR THIS SHIT!!!!!!!
Ok, let's check the JetBrains website, I'm starting to lose my patience, but let's do it. At this point I should also mention that I'm feeling pretty stupid. I mean, I'm checking on the internet about how to do something which obviously must be obvious, why am I not seeing it?
I find a page on the official website. JetBrains' replies are along the lines of "Why would you want that?", "The holly wars between tabs and spaces are over", "Most people like it this way", "The overlords said this is the coding style to be used" (Ok, the last one was me reading between the lines). At the end of the thread, they provide a "hackish solution" (their words, not mine). Which doesn't work. Because why should it?
Not even when PyCharm's debugger randomly shat itself and I had to use print statements I got so angry. That was relatively fine, bugs are a fact of life, and the overall package is good, so I kept paying.
But now you're telling me that I cannot use what should be a common feature of every code editor just because you and the overlords know better?
Well, fuck you and the horse you came in on JetBrains, you've just lost a customer.16 -
I don't care for Slack. There's nothing wrong with Slack. I just don't find a need for it when I already had email + IM. You know what I hate, though. People who show up one day and force Slack down the throat of an organization because "collaboration". Now, every day I hear "I didn't see that. Oh, you put in on Slack? Which channel?", "I put in on Slack", "I don't ever check my email, I just have Slack open", "Instead of filling up your inbox, I'm going to post this on 15 different slack channels" (which is why I have all the channels muted). All from people who can't type 10 words in a row without an emoji.3
-
Fucking managers
Now I know why companies with shitty managers don’t grow
Me conversing with my senior as to how to make one of our functions scalable which around 10k devs would be using.
Manager walks in
Manager: how’s function x going
Me: great , will be done soon
Manager: you need to finish it by today
Me: can’t do it , too many sub functions need to be reconfigured( which was his job)
Manager: take *insert some managers asslicker’s name*’s help
Me: okay
We will finish it by today , but everybody know how “robust” the output will be
P.S. I didn’t argue because I’ve done that before and it’s like hitting your head on a wall. If you have read my previous rants, you would know1 -
Just compleeeetteellyy messed up a technical interview.. stupid theory.. I can apply all that stuff but when I get asked to explain then . Well.. I messed up.
And the coding part, I had the right approach but had one big brainfart in it making the whole thing useless (pseudo code so couldnt test it). I realized just after the interview was finished..
I hate the feeling of failure.
Was a really nice position which is why I applied. Ah well, tonight is whiskey night I guess.8 -
Fuck you Steam, just fuck you and your price politics.
I have a Swiss and one Russian Steam account. I have on my Swiss account over 450 Games and on the russian one around 4.
I have a friend in Russia and to play some games with him, I need a russian account.
Guess what? Since the last change to Steam Shop I cant use my Swiss Credit Card anymore to buy games in Russia.
Now when I want to test a game first on the russian account and when it's good to buy it after on my main Account, I can't.
Why should I pay for a game in Early Access the full price, when the game is bad and will be abadoned in a half year?
Sure they are some good early access games, which I payd the full price for (Switzerland has the highest Steam Game prices). As example ARK or Battlegrounds. I love these games and like to support the Devs.
But I get really angry when I have to pay for a Game which is worth 5 $ and sold in my Country for 20 $ and will be unsupported after a year.
Really fuck you Valve and Steam 🖕🏻🖕🏻😡
Atleast refund the people the money, when the game is abadoned! But sure, you're just in for a Cash Grab...4 -
Impressive.
I just went through more old PRs, of which 3 were for https://github.com/doldecomp repos, I cleaned up the formatting and the PRs and @ maintainers.
I'm greeted with 'please stop raising these',
from someone that I apparently made a PR to
( one of their personal repos ) in the past.
In the flow of the conversation and as an argument why the PRs do fit threir repos I mention that they were accepted three times in the past.
Guess what one of the maintainer responds with?
'That reminds me, I'm reverting every one of your accepted PRs when I get home. Thanks for reminding me.'
Now isn't that fun. -
F**king hate Windows for its insanely confusing proxy setup required for software development...
> Setup proxy in Windows network settings
> Then, setup HTTP_PROXY & HTTPS_PROXY environment variable at the system/user level.
> Followed by separate proxy settings for java, maven, docker, git, npm, bower, jspm, eclipse, VS Code, every damn IDE/Editor which downloads plugins...
> On top of everything, find out the domains which does not need to go through proxy and add them to NO_PROXY.. at each level..
> It does not end here. Sometimes, I need to setup proxy for SSH connections... like, if I have to use git with SSH and not HTTP/S... Uhhh....
More than half of the problems me and my dev team face is related to setting the right proxy. Why can't it be like, set in one place and everything picks up from there, like in any linux machine or for God's sake, a Mac ?
Worst of all is, my org uses a configuration script, which resolves into a list of proxy servers, from which one of them will be used. So, I need to download that script, find out which is the right proxy server and then, use it in all the aforesaid places... WTH ?????
Is this a common workplace problem for all developers ??? Will this be solved by Windows Subsystem for Linux ???9 -
Which keyboard layout do you prefer for programming and why?
Qwerty, Dvorak, Colemak, Workman, or even another one ?13 -
I was working on a thing at work which routes http requests from one endpoint and port to several local services.
I was halfway done when I noticed I just wrote a primitive reverse proxy.
Anyway, I'm calling it GRID, Gateway for REST Interface Distribution.
It's capable of dynamically attaching new routes and services and removing those during runtime via inbuilt typescript compilation service.
Each "runtime module" defines several routes which may have a middleware function (express.js style), which gets executed before forwarding the request to the local service.
I don't know why, but I'm kinda proud of this one; Feels like I made something actually useful for once.
Gonna maybe add a webUI with the monaco editor to write typescript modules without needing VSCode...
Also I may implement a load balancing system for scalability.
It comes with a cli too.
Gonna put it on github and post it here once I'm done with v1.19 -
you have two computers:
a desktop and a laptop, but one has to run windows
which do you put linux on and why?16 -
Dev: Hey this library you are mandating the use of doesn’t do one of the things you assumed it does
Non-Tech Manager: Well I think it does because I looked at it and that’s what it seemed like and the only reason you can’t figure it out is you are a bad developer and have attitude issues that’s why you are failing. You need to look on the bright side of things more often. This library has over 100k downloads which means it must do what people want it to. I think the problem is you. We can’t spend anymore time on this we have to just fix it and move on.6 -
Using the company's desktop computers to solve cryptographic puzzles (like mining) on the company's computers while the boss and someone from the IT were asking to have a look on the machine after one guy already snatched my keyboard.
Very scary moment indeed but surprisingly it turned out: the real reason why they came was because a techadmin recently removed a shared system account but some faulty clients kept flooding the servers with outdated login credentials which also triggered mass SMS on the mobile devices.
Luckily I could somehow take an opportunity to remotely call the script which pulled the emergency brake which I prepared to shut down everything. Close call.
Nowadays I think it itsn't worth to take the risk just to do something that could also be done with the own home computer even it takes five times longer. -
I don't understand Laravel...
I'm just a software undergrad in my final year. Coming from JS side of things (Express, NextJS), I find Laravel so complex, and maybe unnessecarily complex?
Like, when I wanna learn Laravel, I understand the MVC structure. However, going deeper into it, there are libraries/names like
1. Vagrant
2. Facade
3. Artisan
4. Guard
5. Gate
6. Policies
ALL OF THESE
WHICH I DON'T UNDERSTAND HOW IT TIES TO THE FUCKING MVC STRUCTURE
I'm seriously giving up... My courses forces us to learn this framework, and I feel more and more inadequate because I have so many things to learn, including things for my FYP, which involves the use of NextJS. And can I mention HOW EASY AND MINIMALISTIC JS FRAMEWORKS ARE?
LIKE, I JUST WANNA MAKE A STUPID FUCKING APP MAN, WHY MUST I KNOW SHIT LIKE ARTISAN MAKE, WHAT THE FUCK VAGRANT IS, HOW GATES ARE RELATED TO POLICIES, HOW POLICIES RELATE TO VIEWS, WHY THE FUCK DOES FACADE EXIST, and other fucking stupid questions I need to ask in order to utilize Laravel correctly?
Don't even get me started on JETSTREAM, FORTIFY, LARAVEL/UI, BREEZE. Like, WHY THE FUCK CAN'T YOU JUST HAVE ONE SINGLE PATTERN, AND THEN HAVE GOOD TUTORIALS RELATED TO THAT ONE SINGLE THING?
I don't know, am I just stupid? Looking at Laravel, I feel like my braincells die more and more looking at the words used, the unusual terms, and the pain that comes with trying to learn it, because I don't have time. I'm going to fucking fail this subject because I have too much other stuff in my life to learn about.
I'm fucking tired man...35 -
Why is it so difficult to copy paste in an editor which is considered as one of the most sophisticated editor ? I use VIM for almost everything except for copy pasting . All those internal buffer ..external buffer things are complicating things..
And the sad part is ..once i was editing a bash script using sublime ..I pressed escape :wq .. and tried executing that for a long time .. I was clueless for sometime after which i realised i didnt save the document..
If at all VIM had easy ways to copy paste..😥8 -
Am I the only one who think there should be a separate option for providing reason for downvoting called as i-live-under-the-rock-hence-i-post-old-1950era-jokes-and-memes-which-i-copied-directly-from-facebook.
Like why would you do that. Why?
And more over those plagiarized work have astronomical ++ :(
PS: I hate those memes with laughing emojis 😂 stamped over image. No its not funny. Remotely.4 -
I've had a Xiaomi Mi 8 for a few months now. Although I'm impressed by what I got for the amount I paid (a phone that cost about $250 for 6GB RAM, Snapdragon 845, Android 9 and premium build quality is quite a steal), it definitely comes with a consequence.
MIUI (specifically MIUI 11) is godawful. It is single-handedly the worst Android ROM I've ever used since my shitty Android 2.2 phone back around 2010. If you're gonna buy a Xiaomi phone, plan to install Lineage OS on it (but even that's a pain which I'll explain why later).
- Navigation buttons don't hide while watching a video.
Why? God only knows. The ONLY way to bypass without root this is to use its garbage fullscreen mode with gestures, which is annoying as all hell.
- 2 app info pages?
Yeah, the first one you can access just by going to its disaster of a settings app, apps, manage apps and tap on any one.
The 2nd one you can access through the app info button in any 3rd party launcher. Try this: Download Nova launcher, go to the app drawer, hold on any app and tap "app info", and you'll see the 2nd one.
Basically, instead of modifying Android's FOSS source code, they made a shitty overlay. These people are really ahead of their time.
- Can only set lock screen wallpapers using the stock Gallery app
It's not that big an issue, until it is, when whatever wallpaper app you're using only allows you to set the wallpaper and not download them. I think this is both a fuckup on Xiaomi and (insert wallpaper app name here), but why Xiaomi can't include this basic essential feature that every other Android ROM ever made has is beyond me.
- Theming on MIUI 11 is broken
Why do they even bother having a section to customize the boot animation and status bar when there's not one goddamn theme that supports it? At this point you're only changing the wallpaper and icon pack which you can do on any Android phone ever. Why even bother?
They really, REALLY want to be Apple.
Just look at their phones. They're well designed and got good specs, but they don't even care anymore about being original. The notch and lack of a headphone jack aren't features, they're tremendous fuckups by the dead rotting horse known as Apple that died when Steve Jobs did.
Xiaomi tries to build a walled garden around an inherently customizable OS, and the end result is a warzone of an Android ROM that begs for mercy from its creator. Launchers integrate horribly (Does any power user actually use anything that isn't Nova or Microsoft launcher?), 3rd party themes and customization apps need workarounds, some apps don't work at all. People buy from Xiaomi to get a high end budget Android phone at the price of some ads and data collection, not a shitter iOS wannabe.
They really, REALLY want you to have a sim card
If you don't have a sim card and you're using your phone for dev stuff, you're a 2nd class citizen to Xiaomi. Without one, you can't:
- Install adb through adb
- Write to secure settings
- Unlock your bootloader and get away from this trash Android ROM
What's the point? Are they gonna shadow ban you? Does anyone contact them to unlock their bootloader saying "yeah I wanna use a custom rom to pirate lizard porn and buy drugs"? They made this 1000000000x harder than it needs to be for no reason whatsoever. Oh yeah and you gotta wait like a week or something for them to unlock it. How they fucked up this bad is beyond me.
So yeah. Xiaomi. Great phones, atrocious OS.11 -
"Hey guys, what's up?" 😡😡😡
Why do so many people on YouTube begin their fucking videos with a pointless question noone is able to answer and which no one would acknowledge even if they did somehow manage to answer? What's up is an automatic thumbs down and fuck you.5 -
...another (probably about fourth) completely futile attempt at making MASM compiling pipeline work...
...what the fuck... seriously, i've spent together about two weeks of time trying to make a fucking default hello world compile... ml64 problems, then rc.exe problems, apparently i was missing some dumb CommonService.dll which not only doesn't exist anywhere on my computer, but it doesn't even seem to exist at all in this fucking dimension. After several hours I had the bright idea of "fuck MS rc, let's just grab any other random resource compiler that I can find, and see if that one works".
Funnily enough, it does. Except Visual MASM can't run it from it's build process because it fucks up the commandline call, so I need to run it manually, and then when I run the build from V-MASM, the rc call still fails, but then it checks for the resulting .res file and finds it, so it happily continues with success...
...and now fuckin... what even is it? *goes to check*
oh yeah, now linker is shitting itself:
LINK : fatal error LNK1104: cannot open file 'user32.lib'
And I'm just completely defeated, just searching system-wide for the lib intending to copy it into the linker folder because fuck this fucking bullshit, I've had enough of drowning in MS BuildTools versions and installations and uninstallations and fixes and modifys and repairs and all that FUCKING BULLSHIT.
HOW. THE. FUCK. is this in any way usable for anyone. I suspect nobody ever actually tried to build an assembler project in the last 30 years, so nobody noticed it DOESN'T. FUCKING. WORK.
THIS.
THIS is why I hate anything that's not a proper IDE where I install ONE thing, and do everything in that ONE IDE and let IT figure out all this linuxy-soft-coupled bullshit of twentyfuckingthousand fucking useless commandline apps threwn around the whole fucking system where I'm fucking supposed to know where the fuck what is and which version and GO FUCK YOURSELF.
GIMME. FUCKIN. ONE: IDE. WHICH. WILL. INSTALL. ALL. THAT. IT. NEEDS. TO. BE. FUCKING. ABLE. TO. FUCKING. WORK. AND. COMPILE. SHIT!!!
FUUUUUUUUUUUUUUUUUUUUUUUUUUCK.10 -
Got some detailed feedback from Booking.com, upon asking.
I answered all the questions right. But they said I am not ready for a Sr PM role (which might be true).
Here are three points that I captured from the feedback:
1. Focus on details
2. Clear and better reasoning for WHY
3. Realistic over idealistic scenarios
While it makes me feel low that I didn't make it but this feedback will surely help me overcome the challenges and clear interviews in future.
On to the next one now. Let's see what comes my way..
One thing for sure, there is lots and lots to learn for me yet.
One thing I surely lack is articulating my thoughts and keeping things crisp while conveying the information aptly.
Anyone has any tips/resources on how to improve in this area?12 -
I would like to present new super API which I have "pleasure" to work with. Documentation (very poor written in *.docx without list of contents) says that communication is json <-> json which is not entirely true. I have to post request as x-www-form with one field which contains data encoded as json.
Response is json but they set Content-Type header as text/html and Postman didn't prettify body by default...
I'm attaching screenshot as a evidence.
I can't understand why people don't use frameworks and making other lives harder :-/3 -
PM looking at Concept Design: "There were checkboxes and now you have radio buttons"
Me: "Those are two separate screens. One is the user inventory, the other populates an add"
PM: "So which is it? Are we using checkboxes or radio buttons?"
Me:"...both? Each where it makes sense?"
PM: "So what's the point of the radio button? If the user can only click one row, why do we need a radio button?"
Me: "Visual representation of what they selected. We could use row highlighting as well, it doesn't really matter"
PM: "But what's the point?"
Me:"...."7 -
I figured out why FS2020 crashed all the time.
One day when I was just casually playing FS2020, I bluescreened with a watchdog violation. For some reason this corrupted a DLL which was part of my graphics driver which is not required for the output to come out of course. The DLL is “atidxx64.dll”.
Somehow, this went unnoticed.
After digging into the extremely well-hidden crash log I found out that it accuses this DLL file, dug up on it and I saw that it is made by AMD.
Reinstalled the drivers and now it works fine.
FUCK MY LIFE I REDOWNLOADED THIS 95GB SIMULATOR 4 TIMES BEFORE DIVING INTO THIS6 -
We accepted a property listing project for a client.
I have been looking online for references and inspiration regarding design, features, plugins etc.
And this is what I just found. I shit you not. $20 and you get everything. WTF.
May be I will just buy it and give it to my client. $20 and you have like 40 lines of features, if not lied, which are more than enough to meet my client's requirements.
Why the heck am I working?
Am I the one who is charging too high to my client?11 -
You made a very important device used in pharmaceutical labs which stores important data, but for some fucking reason you decided to write the communication protocol so poorly that I want to cry.
You can't fucking have unique IDs for important records, but still asks me for the "INDEX" (not unique ID, fucking INDEX) to delete a particular one. YOU HAVE IT IN THE MEMORY, WHY DON'T USE IT?!
How the fuck you have made such a stupid decision… it's a device that communicates using USB so theoretically I could unplug it for a moment, remove records, add them and plug it in again and then delete a wrong one.
I can't fucking check if it's still the correct one and the user isn't an asshole every 2 seconds because this dumb device takes about 3 for each request made.
WHY?
Why I, developing a third party system, have to be responsible for these dumb vulnerabilities you've created? -
Well, this one was very satisfying.
When I resigned from my previous job, there was this one last task I had to finish. The task was to implement an identity and access management system that would work across three different platforms they had. I used to work on one of them which had nothing of the sort but the other two had something of their own. Here lies the kicker, it had to work with existing authorization system in other two platforms. After explaining multiple times why that is a bad idea, I gave up. I created an interface, no implementation, documented how the interface was meant to be used and got the hell out of there. -
guy taking one of my courses is wondering why bitbucket can't reach his local machine address at 192.168.0.13 😂
🤡
(and inb4 annoying rubes like sidtheitkid or whoever), in the lesson I CLEARLY explain the steps of local IP -> router -> public IP -> internet, as well as the port forwarding / routing needed
probably like 5 of you on this site anyway who actually understand routing, the rest argue about which is better, vanilla javascript or <insert framework of your choice here> yawn. i grow weary
farewell4 -
People keep asking me the reason why I am still using my 9 years old laptop which has Pentium b940 and 4 GB of ram. I should say Its enough for me!
All hard work is on the server side. I just need an SSH client, VS Code, Chromium, and Spotify, all running on a light weight Ubuntu. why should I buy one of those brand new laptops which has lights more than a UFO.6 -
*laughing maniacally*
Okidoky you lil fucker where you've been hiding...
*streaming tcpdump via SSH to other box, feeding tshark with input filters*
Finally finding a request with an ominous dissector warning about headers...
Not finding anything with silversearcher / ag in the project...
*getting even more pissed causr I've been looking for lil fucker since 2 days*
*generating possible splits of the header name, piping to silversearcher*
*I/O looks like clusterfuck*
Common, it are just dozen gigabytes of text, don't choke just because you have to suck on all the sucking projects this company owns... Don't drown now, lil bukkake princess.
*half an hour later*
Oh... Interesting. Bukkake princess survived and even spilled the tea.
Someone was trying to be overly "eager" to avoid magic numbers...
They concatenated a header name out of several const vars which stem from a static class with like... 300? 400? vars of which I can make no fucking sense at all.
Class literally looks like the most braindamaged thing one could imagine.
And yes... Coming back to the network error I'm debugging since 2 days as it is occuring at erratic intervals and noone knew of course why...
One of the devs changed the const value of one of the variables to have UTF 8 characters. For "cleaner meaning".
Sometimes I just want to electrocute people ...
The reason this didn't pop up all the time was because the test system triggered one call with the header - whenever said dev pushed changes...
And yeah. Test failures can be ignored.
Why bother? Just continue meddling in shit.
I'm glad for the dev that I'm in home office... :@
TLDR: Dev changed const value without thinking, ignoring test failures and I had the fun of debunking for 2 days a mysterious HAProxy failure due to HTTP header validation... -
Argh fuck you Microsoft for blocking my precious mail server. I can't believe that you were the only one. Even google accepts my mails with every fucking test passed...
Oh and not to mention that in the no delivery report you are referring an error code which is not present on the linked troubleshoot page. Thank you once more, you piece of shit.
Should have listened to the articles about why I don't want an own mail server...15 -
Jesus fucking christ how can the latest Macbook be such a piece of crap? I'm currently travelling and wondering why I'm getting such an atrocious 40% packet loss and round-trip time up to 3 seconds.
Then I remember having Wi-Fi issues in the office with certain adapters, one of which I'm currently using, while I'm tethering over Wi-Fi ... disconnecting the adapter yields a perfect 0% packet loss and 30ms RTT. It Just Works® my ass. This is _one_ of the things that suck about the macbook.10 -
Interesting password recommendation here...
Translation:
- A form with to fields: Surname and password.
- Below the form is a text: "For signup please enter your name and a password (e.g. your email address). With your name and password you can change your data anytime and may get access to the memberlist."
Bonus: There is a "help"-button (outside of the cutting) which even *recommends* the use of the email-address as the password!
Extra bonus: The password field is a normal text one.
IF THE EMAIL ADDRESS HAS TO BE SUBMITTED, WHY NOT JUST ADD ANOTHER FIELD OR AT LEAST LABEL THE FIELD CORRECTLY!
Update: After this form, you get to another form, to enter you email address...3 -
a bet:
this birthday, i will get:
lemon glutenfree cake (if any) because mom can't have gluten and sister likes lemon cake. i hate both of those. but that's irrelevant as it always was.
if any, then gifts will be anything except cigarettes which is basically the only thing within price range they're willing to spend, that i would actually be happy about.
birthday is just an artificially glorified ordinary day. and i'm not the type to do hysterics to artificially glorify it. and it's fine. but then, why are they artificially glorifying it while unwilling to actually glorify it properly, as in, glorify it for me?
pick fucking one. artificially glorify it, in which case, FOR ME, or just don't give a fucking shit same as i don't.
but why are you artificially glorifying it for the purpose of ignoring me and glorifying everything exactly in spite of me, without even being aware that you're doing that?
like seriously, what? make your "i love not you, but my daughter" day, as an extra to her birthday. i don't give a shit, i'm happy you have a nice relationship. but doing all of the "i love my daugther day" shit on my birthday, AND PRETENDING IT WAS DONE FOR MY BIRTHDAY, FOR ME, and being sad about me being sad that all you did "for me" was in fact for yourself and for everyone else, that's the combo that gets me.
"oh why u making me so sad by being so sad that i ignored everything you like and kept telling me you like for the past X years and i just ignored it because it's not my nor your sister's preference?"
guess why, you fucktard. how about you ignore the day next time instead of making it an unconscious (that's the worst, that they don't even realize it) mockery of the day.
"oh why are you sadand shitty feeling that we made this bullshit ignorable "celebrate you" day about ignoring everything that celebrates you, and made it into the opposite instead? why are you so demanding and cruel?"
SHUT. THE. FUCK. UP.
go have a walk with your beloved daughter and please ignore me as you always do.
just leave me the fuck alone.5 -
I remember our PM/GM used to give us a website name and one line of website description, then he disappears to attend meeting outside the company. His phone is switched off most of the times and he doesn't reply to messages or emails.
2 days later, which is our fixed deadline for a website, he comes and says why the website is not up yet!
Note: One developer for one website and the developer has to design, write content and code frontend & backend.1 -
When you realize your professor who programs since the 486 era names all variables as such ad "vd_gr" (Validation date grant renewal), doesn't know what encapsulation is and writes his own cryptography algs, which basically replace one letter by another
**Facepalm
**then I still I have to tolerate all the critics for why I dropped college5 -
Not my story, but something that my friend did which inspired me a lot. So, a friend of mine who just graduated with a bachelor's in physics, had a month off after one of his semesters, and while most of us ended up doing internships in companies, he decided to do something else. He decided to go up to a local mechanic and ask him to teach him how to repair bikes for a month. Now in India, a mechanic is sadly one of the least reputed jobs, so for him to go there and work for free was unusual. After working there, he told me about the things he learned and to what an amazing extent he could apply that practical knowledge he gained. It was truly impressive. Which is why I have decided to do something like this in the future as well. With enough savings, I'm sure all of could survive a month. I can't even begin to imagine the potential of this, you could learn so much practically.
-
So one day I got an email from a client just before I'm about to go home saying she wanted to update some images on the homepage slider. "No big deal" I thought. So she sends me the images and two of them are squares and the other is a portrait. All of which have phone camera quality and are way too small for the desktop version of the slider. I trim and rearrange the two squares so that fit but the other one was hopeless. I cropped it poorly and hoped she didn't care about it too much.
Of course it was the most important picture she wanted.
I ask the client to send me a higher quality picture which would fit in the slider and she sends me a picture which is even taller and less wide.
"Great," obviously at this point I figure she must be checking on just her cell phone and that's why a tall picture makes more sense to her.
And of course now she needs this before tomorrow morning so now I'm staying late to edit images.
Since she's obviously only looking on her cell phone and she's made me stay so late to do this I just take the tall image and mirror it so that it looks like there are two products side by side and it fits well on mobile screens.
Ugh. -
I know this topic is tired and this isn't supposed to be a pure "REEEE SPACES BAD" kinda rant but I still don't understand why people would ever use spaces over tabs for indentation. I'm genuinely curious so please give me your arguments in favor of spaces because I just don't understand
So here's my position:
Tabs are objectively better than spaces in every single way
(I know that IDEs also do some of these for spaces, more on that later)
1. They are typed with one key press
2. They can be removed with one keypress
3. They allow for individually configurable width (some people prefer 2 and some 4 width)
4. They take up less memory (kinda irrelevant, but still)
5. You can properly navigate your code using the arrow keys which is much faster than using the mouse while typing
6. You don't have problems with accidentially having one too much or one too little
7. You don't have problems when copy pasting or moving code around (e.g. refactoring)
8. Code is much easier to select with the mouse, and
9. it's much easier clicking the right spot with the mouse where you want to continue typing, which is often at the start of a line
Apart from specific alignment, where spaces are fine (but which also almost never comes up), I just can't see a single thing where spaces are better at. So much so that most IDEs have to *pretend* that they're tabs when typing and removing them. It's so ironic yet people still defend it and big companies still use them.
I feel like I'm going mad 😨56 -
Lady comes over to my cube and stands silently until I notice her in the mirror. She cheerfully asks that I help her reset her password.
Okay...one, I'm buried up to my balls in work that needs to be done, and here she is camping, expecting me to feel a disturbance in The Force to help on her whim, when our company has an issue system for shit like this. 👊
Two, I'm 👏 a 👏 developer 👏! My sign says Software Engineer on it, which might give some context as to why she forgot her password.
Look, I was nice to her. But it seems like I'm getting more and more phone calls and surprise visits lately from people that I shouldn't be.1 -
My family don't even know what dev is, one day my mom sat with me and I was working on my project using sublime. She watching monokai theme and asked me:
Why are these words in different color everywhere?
And I told her that which color means its a variable and which color means its a function, constant.
even though she didn't get a thing but I told her -
What a shit day, wasted 5 hours because the fucking temperature sensor of this goddamn turbine engine won't work, which in turn prevents the engine from starting up at all.
Why does shit fail whenever you need it the most? We had 45L of kerosene we had to burn, and now we'll have to move it somewhere else for the whole summer instead, and send the engine away to have it fixed (which means a whole lot of time and money wasted).
Fuck's sake, the one thing that had never let me down so far... we even made a brand new test stand just for the occasion :(3 -
I wrote three posts for a tech writing website - all of which were well researched, well formatted, and I figured, pretty relevant to most people working in software, right
The website decides hmm, we won't promote the posts at all - no retweets, nothing. So they all get about 100 views each within the first few days. Sad.
Meanwhile, one article written in basically BULLET POINTS gets pinned to the frontpage, and another article written in the most pajeet English I have ever seen containing factually wrong information (HTML is not a fucking programming language) gets retweeted and publicized and ends up with thousands of views
Why even fucking bother11 -
Spend 2 hours migrating my old NASs ubuntu zfs pool to the new freeBSD NAS, which has new fancy stuff like a crossflashed raid card new hyper efficient psu and so on. Sadly, the pool just wont import, many drives are missing. I debug. For hours. Trying to test cables. Interesting. No matter which SATA cables i switch, this one drive always starts... Hm... Must be the controller then. Maybe the controller doesnt spin up the other disks, because i removed the boot rom! That must be it! Wait... Why is this cable lying in here... Wait, this is the power cable attached to all missing driv ARE YOU FUCKING KIDDING ME?! I WASTED SO MUCH FUCKING TIME ON THIS SHIT HOW COULD YOU DO THIS TO ME!
Unfortunately, one power cable become loose (i dont know how, these cables have plastic thingies to prevent this...), but it works now. And its better than before. -
"Reviewer 2 is always a bitch"
Aaaaaaaand I'm looking at gloomy reviews which means my paper is gonna get rejected soon. Why oh god why!
(Actually, I know why, and maybe this is for the best, since I pulled the method out of my arse because I found out environments were unstable and had to nag about it to not fully lose a year's worth of investigative work. But also, this is my first conference rejection. Literally. 😐)
... There's a slight chance one of the reviews might save me tho, so keep your fingers and toes crossed for me, pleaeaeaeaeaeaeaaeaease! 🙏🏻8 -
Why the fuck nobody talks about Multi-page apps?! We went from a Web where everything was Multi-page server-rendered, and now everything for Web developers is "Single-page apps".
What about websites who can't do that? Not everything can be a single-page app. Only my uncle's restaurant website, or something which is TRULY a full app. No half choices.
If your website is a multi-page app/portal which actually PRELOADS data, instead of doing 100 fetch to an API within a page that is full of loading bars, well, your life is a pain.
When you want a first contentful paint which isn't a white page, well, your life is a pain.
What are React, Vue, Ember, Angular (let's exclude Svelte and Marko) going to do about Multi-page apps and SSR?
React-router sucks to me. It's performance is weak and it's useful only when you have an SPA with multiple sections which can be treated as pages (e.g. A single SPA divided in tabs).
Server-side rendering is the worst pain ever made by humanity, in React (and prob Vue, I didn't try but I can bet). And even when made easier from libs like Svelte and Marko, I (personally) can't get it to be faster enough compared to a traditional website without a JS framework and with a templating engine.
Anyways, if there's anything that I learnt from React, is to stay away from Next.js. Perfect, beautiful, mess.
All JS frameworks just seem to bloat the code and make it worse and slower, even though they're REALLY helpful.
Why? Why everyone loves them if their downsides are so clear? Why 3 projects out of 3 I made (1 React SSR, 1 Vue, 1 Marko SSR) are and will stay painfully slow and bloated, full of shit, even if in 2020 we should have evolved with the famous three shaking, with the famous lazy loading, etc.?
I am just frustrated.
And let's not even talk about Webpack, Rollup, Lasso, those module bundlers shit which are harder to configure and understand than finding a needle in a haystack.
Lasso was the easiest to configure but I anyways can't understand it. Webpack seems it was made to handle SPAs, as any tool in this freaking world, and not even considering an easy way to integrate multiple bundles for multiple pages (I know it's pretty easy, but with component sharing between pages and big unique bundles Next.js handles it soooo bad it feels like hell).
Am I the only one?
Sorry for the long rant. I just needed to rant right now.17 -
I was told to build a logging app for one of the work streams on my project. The lead briefly brainstormed about the data fields they'd need to log and told me to go make it.
I am handing off the app and they ask me what they are supposed to put in each field.
Me: oh [team lead] just told me to put in these fields, but you guys are going to use it so why don't you tell me which fields you need and I can change it easily.
They refuse to tell me how to build the app they're going to use and will definitely complain about it not doing what they want later. -
FUCK ME IN MY INDICES.
FUCK THE GPUS IN THEIR INDICES.
I mean... I understand (roughly) why the meshes are sent to gpu in this form, but at the same time...
...there's a reason why first thing I did when I was coding my procedural geometry generation library, was abstracting away all of that stuff...
...sadly, as many useful things, when I was looking for that lib on the start of this contract, I couldn't find it. and I was like "doesn't matter, this is a simple thing, using the library would be just a lazy overkill anyway".
well, fuck.
two hours of playing around with two fucking triangles, trying to figure out which indexes are pointing to the correct vertices in a list containing FOUR outline paths.
(lower inner, upper inner, lower outer, upper outer, exacly in this order).
i mean, yeah, it's actually pretty straightforward stuff... for someone not as dumb as me =D
you just have two offsets, one that jumps you to start of the upper path, another that jumps you to the start of the outer path, then it's just
0 + upOffset to get the vertex extruded upwards from the zeroth of the inner path, or
0 + outOffset to get the zeroth from the outer outline, or
0 + outOffset + upOffset, to get the one extruded from zeroth outer vertex...
and so on.
simple stuff, then you just replace the zero with loop control var, put them in the right order, and voilá! walls!
except... whatever, why am I describing in such detail, not necessary, you're not my rubber duck =D
in short, figuring out which fuckin vertex is which, when the list contains ...well, any number of points, and you need to plug the gap between last and first points of the paths, where you need to wrap around the list...
...has proven to be surprisingly hard for me.
funny how much I love doing these things with meshes, despite how bad I am at doing them, which makes me hate doing them despite loving it =D2 -
Why the fuck is Seagate's official bootable HDD/SSD toolkit 32-bit??? It's bad enough that it's TinyCore, but it's 32-bit, so even while booting it tells you to fuck off if a drive has >2TB worth of LBAs, but it's meant for ALL their drives! Their Twitter support was predictably useless, too, and was just "we don't support running the bootable disc off of anything larger than 32GB" and "we don't officially support Linux formatted disks in our tools" (neither of which were even remotely close. The first one I can understand, it was an untrained knee-jerk reaction to a number they recognize, but the other one...)6
-
Okay so one of my friends got an offer for a more powerful server with 128GB RAM, ok processor because the current server load is high. When they got the offer of the new one I saw there was in the licenses part, Windows Server 2016. Which to me seems worst thing you can do for just using PHP, MySQL and nothing active directory or really windows specific. Can some of u please write in short why use linux for servers instead of shitdows. And it would clearly cost much less. Because I guess if other tell it they, the client, will agree...16
-
If you could solve *one* of the major unresolved problems in computer science, which one would you choose and *why*?14
-
For the love of god, why in the world are coworkers so prone to overflow with pointless informations? I don’t care about which db you use when I am a frontend, just tell me the f*cking endpoint to use ffs! Nor I care about the FE framework when I’m working on the be and most of all I don’t care about the reason behind a formula you use to calculate a freaking param, give me the goddamn formula or its name 🙄
Please tell me I’m not the only one getting triggered by coworkers explaining useless things, cause lately it’s so annoying3 -
!tech
i am too young and want to understand this: what's with tip culture?
its one of those things that i saw my parents and other people do and started doing the same but don't fully understand.
why do we need to 'always' tip the people who serve us? a waiter has a job to go on each table to take order, bring it when ready and take cash. i know that's a service that i should be grateful for, and i could showy gratitude with a tip, but isn't it same as the actual job for which they are being paid a salary?
same with a barber. same with a car repair guy. i don't understand why some professions have a variable gratitude money as one of the ctc components?5 -
Calling any Python programmer here (especially package maintainers)
I run Gentoo, so am responsible for maintaining the dependency tree (to a degree). When it comes to Python I have 2.7, 3.4, 3.5, 3.6 available. I'm always running into some package needing one version or another, and I can't just set a single version and forget it (which is fine. I'm running Gentoo).
I know that this is because python changes rapidly and so different libraries need different versions. Fine.
Why does this happen with Python and not C++, JavaScript, php, ruby, or any other languages on my system? I don't have 3 different versions installed to cover any other languages, and I don't spend time adding installation rules to cover them.
Why does Python need to be a pain in the ass about it?3 -
I love devrant so much for how I feel it's the one social network in which I feel part of the community, and I hate it for letting me realize how alive all of the stereotypical behaviours the IT crowd is usually shunned for are amongst us.
Users and managers aren't stupid, processes in a company are usually there for a reason, and if your boss is really that much of a dimwit, then why the hell are you even there?
This has to be one of the most recession proof professions out there. Change jobs. Stop blaming everybody else for your shortcomings, damn it.
But, yeah, much love to all of you making us look good and being humble about it.10 -
I was trying to build a simple 2D (drag the fish to eat other fish) game in JavaScript, cause why not there are already many libraries i will certainly find one for my use.
I'm already familiar with p5.js thanks to Daniel Shiffman and his coding train sessions.
I thought to build the game with p5.js with the play and 2Dcollide libraries, but it turns out they don't have a custom irregular sprite collision detection neither the other thousands libraries which are rotting on github.
Guess, I need to build somethig own my own.
And I also hate it, cause I have to design those fishes, the main game logic, this collision detection function and levels
I need a coffee with a coding partner2 -
Does anyone else think some of the Sonar rules are actually crap?
In particular the Put all you variables above methods one?
I have some static methods and variables and some object ones.
Apart from creating a new class for them which I think is over kill for just a few helper methods, don't you feel you should keep all static stuff separate?
Clean code shouldn't be about following arbitrary debatable rules, it should be preventing the horrible crap that any experienced developer would instantly call shit... If he didn't write it.
And I'm pretty sure I'm experienced so if I'm not calling a price of code shit...I don't see why Sonar should...1 -
You have the power to kill a technology/language for the eternity, and make one more powerful and evident, which ones would you choose and why?11
-
Story time!
I was with some friends, one a CS student and the other one's a mechanical engineer student with coding like a hobby.
I was listening to a song from which the band released the stems (individual tracks) of a song, and this dude made an anime version of it.
Me: Oh God, this is awesome
Mech: how did he do that?
Me: What? The song?
Mech: Yeah, how did he split the voice and everything, is the music like an Ajax request and he queried for the voice
Me and my other friend lock eyes and began to laugh so fucking hard.
Me: that's not how it works, why did you though that?
Mech: I don't know -
I often wonder why JS is the only language that has the native support from browsers and native built in DOM apis?
The world has come up to a saturation point for so many techs:
- if a software is needed to be created for mobile, it must go through 1 layer of java (aka JVM) or objective C (i guess? for ios) before being understood by the CPU
- if a software is needed to be run via browser( which itself is made to run on jvm, objective c or machine language), it must go through one layer of js interpretters before being understood by the CPU
all the OS are made on C but the application and application platforms are made on specific languages. I wonder why can't there be a single application platform, if all of them(browser, JVM,objective C and whatever .exe apps run on) are doing the same thing and are equally mature to handle every usecase?13 -
Some Java code I looked through to figure out how to accurately rework a mapping of value intervals to status colors:
• 16 levels of indentation
• Calls an instance method one line before a null-check
• Assigns that same value to a new variable and null-checks it again
• Insistently loops over existing HashMaps' entry sets to find a value by key
• Stringifies a Gson object, parses back the string and then null-checks the result.
• Mixes up the 'leq' and 'geq' comparison operators twice, which is why I went to check the implementation in the first place.
And this wasn't even legacy code. It's from last year.1 -
I just downloaded a bunch of code editors. Ive been using VSC for a long time, and im looking if I should switch. Which one are you using, and why? 😊22
-
At my company we have half annual discussions between supervisor and employees for development and knowledge stuff.
End of last year I had a very emotional discussion for over half an hour as somebody with a year of experience on why my stuff can be considered under knowledge. He never yielded in the slightest and tried to push me down in every way.
The outcome also reflects on the payment and therefore I tried to argue that we would need a third party, like HR, to help, which was debated down as to me not being able to communicate.
This is just one of the bad things I have/had to deal with.
Sadly I am still at the company mostly for legal reasons...
Still don't know if it was the right thing to debate and not getting in touch with HR :/
Worst3 -
I still wonder which one is better to fully learn/understand. I know to code something in both, I know about the different way of how they handle memory and I know about some of their use-cases, but then again... this stupid question still pops out:
C or C++ and why?2 -
One of my commits today:
“Corrected a file path for view as it’s causing issues within the live environment”
What I actually wanted to put:
“Changed letter to uppercase in file path for view because live is being a fucking bitch about it”
Why do my Dev and Live environments have to differ 😞, I kept my cool though, which is a first for me 🙂4 -
Why project manager use group chat to discuss an issue which is related only to one developer, meanwhile other getting messages and notifications which they have no idea and putting their attention something they have no business?
Sometime I did not read message cause I think they are not related to me then I get personal message please check group.
Now other team members are using group chat when they want to discuss something with manager.
Why you people think scope of message before send it???1 -
Amazon rejected me twice, idiotic people think only dsa people can succeed. I ain't bad at DSA, it's just that I was being interviewed by an idiot who had crammed the problem from LC prior to interviewing. I could also pick a problem from LC which is unsolvable. If he was so brilliant why didn't he invent one algorithm of his one and rather use solutions by using other's algorithm(like Dijkstra). Absolute Idiots being manufactured. I may not be good, but I accept that. These idiots think coding from other's soln makes them brilliant.11
-
Messing with three.js library. Now imagine I have a letter in 3D, from which I removed all the faces and replaced vertices with white dots (plexus effect), and all around are like thousands of dots. Now I wanted to put single sprite somewhere on that letter. So I wrote a short script doing that. Fast forward an hour. I am figuring out, why the FPS significantly dropped to like 0.5 fps or what. Checking various browsers, even downscaling image from 512x512 sprite to 64x64, checking whole stackoverflow why is just one fucking sprite causing a lot of trouble and such an fps drop. Trying everything except... I wrote that function inside loop rendering those thousands dots all around. Lol my computer almost catched in fire rendering that shit.
Must to say, in chrome it had 0.5fps, mozilla had around 15-20 fps which is A LOT better.1 -
Between android studio and Unity, which one si better to make a adventure text game? Why? (i'm learning, dont kill me please)8
-
why is outlook so fking painfull... designing a newsletter. thunderbird: shows everything fine. Outlook: brakes design complelty.
Design was made with Microsofts own Publisher, which claims to be usable for creating newsletters...
Then outlook cannot send out massmails like publisher can...
what the fuck is wrong with them! You are developed by the same fking company! How can one tool show something one way and another display it completly differently... whyyyy
(since I am not the webadmin I cannot use a fancy newsletter designer tool and integrate it into our website since we first would need to talk with the entire project about it...)8 -
TLDR; My laptop's CPU temperature becomes +90 C when I compile stuff.
I have two different laptops that have the exact same configs and OS. I use one as a desktop and the other one is just for school stuff and homework. As you might think, the one that I use as a desktop is looking like a mini desktop. I was into DIY stuff while ago so I made a custom case and separate the LCD as well. Don't ask me why though.
Today I was working on a personal project that has relatively complex build config. Since the compilation always took 3 to 5 mins I went to the kitchen for some coffee. Bumm. My laptops fans are working in a way that one can think they're in the airport. Seriously. All 8 cores are +90 C when I checked them.
The next thing I did was compiling the same project on the other laptop which I used for school projects. It took like 20 mins to compile but the max temperature was like 50 C.
So, in the end, I'm still trying to find the reason for that behaviour.4 -
Failed to make a decent demo for client because spaghetti code. I want to work on the project to sort out codebase to avoid same thing happening again, boss wont hear it and switches me to another project of which I have little knowledge of the stack when we have another guy who has experience in it.
My main project (the one I want to sort out) is so big it should have 4 people full time on it, but it has me and one part time outsourced contractor. I was hired as a meteor dev and he makes me work on an angular project like its totally easy to switch from meteor to node+angular+Jade.
I am a junior dev, boss has no idea how to project manage and ignores advice I give him.
This is going to be hell when we miss deadlines and have to explain to the client why their product has so many bugs.2 -
Fuuuuuuuck!!
CR estimates:
Part 1: 2h including testing
Part 2: 2h-2days-maybe never (small changes on horrifically fucked up project noone understands with tons of tech debt)
Managed to pull off the part two in one day.. //yay me?!
Additional day to unfuckup git fuckups (including but not limited to master head not compiling because a smartass included *.cs in .gitignore file which he also pushed..don't ask, I have no clue why..) which was a huuuge deal for me as I usually use only local repo and had no idea how to tackle this.. coworker helped out.. seems I was on the right way, but git push branchy was acting up & said I had to login & ofc I had no clue what the pass was set to (first setup was more than 2yrs ago)..so new key, new pass.. all good.. yay!
Back to the original story/rant: Now I'm stuck with writing jira explanation why it was done this way & not the way customer suggested. They offered only vague description anyways which would require me to do a hacky messy thing, ew.. + it most probably would require major data modifications after deployment to even make it work..
Anyhow, this expanation is also easy peasy in english..
BUT...
I must write it in my native tongue.. o.O FML! Spent almost 40mins on one paragraph..
Sooo.. if anyone will petition to ban non english in IT, I'm all for it!!2 -
This week has been a good week, work wise at least.
My projects are coming along, I’m getting a CI-CD server spun up so we can start making use of Gitlab runners for builds and testing (deployment is next on my list)
The boss gave good feed back in the gitlab issues I raised after a demo yesterday (new features, nothing major but it’s nice to have positive feed back)
My focus has very much been on the technical side of things, testing and de-bugging web services,
The boss is very keen for me to start implementing apis, starting with one of the apps I’m working on, so we can start writing apis for other systems which integrate with third parties.
I’m actually excited about my work again, and I think it shows, which is why they’re steering me this way.
I’m going to give it 6 months and then ask for a pay review, as I think my responsibilities have increased enough to warrant at least asking about a pay rise -
So I've received a link to Figma for the new mobile app from our designer. It looks great and all but...
Each fucking piece of text is styled independently. Half of the cards in the layout are simple rounded rectangles, the other half are some components with a gradient. Icons are a mix of vector graphics and line elements. Even buttons aren't components. Consistence anyone? Please?
And now comes the best part. How am I even supposed to reach half of the screens? There are four variants of a screen with very similar functionality, but only a single button in the main screen which would at least remotely correspond to one of them. The guy who invented the wirescreens just kept adding things which would be nice to have in the final app, without revising it and making clear use case flows out of it?
After a few days of implementing this clusterfuck of a design, I have finally settled on a consistent set of font and element themes. Just please use components in Figma. You are paid to work in this tool which can make it super easy for the developer AND for you as well to make the design come to life, so why don't you learn to use it?
At least the designer is a nice guy, but god, could he learn to use his single tool?3 -
Bro I fucking hate Flutter and android studio. I have just started android development and oh my god the bunch of errors i’m getting is crazy af. Like I don’t get one point, flutter was created by google and android studio was also created by google… then why tf they don’t focus on normalizing the development process. Why so many errors ???????? And no easy fix for it like whyyyyyyyyyyy?????
Anyways sorry for the rant but there’s more to it. I just built a fuckin app which was running fine in my AVD and then when I sent it to my friend he was seeing a grayed out screen and then I searched for the error and then I was like bruh, I was sitting for sooo long building the first app of my life and here we are. My app can’t even run on someone else’s phone because of a fuckin gray screen error (i’ll fix it tomorrow)10 -
TL;DR
I just got a mail from our universities tech support for a ticket I openend a fucking year ago... They didn't respond for a whole year and are now working on it?
One year ago I had problems connecting to eduroam on my Linux machine. No matter what settings I tried I never got it to work.
So I decided to open a ticket at my universities tech support. Fairly fast they answered me and tried to find what the problem was. Somehow only half my username made it to their server which means their is no way I can log in.
The conversation went on for a few mails but we never managed to solve the problem...
Now after one year they send me a mail stating that I can call them if I still have this problem.
Wtf? Who answeres to a ticket from one year ago? Why is the ticket still open? Did they work on it or just randomly decide to reply to old mails? Why didn't they write anything in the meantime?2 -
It's time to say goodbye...
... to PacRom.
//(PacRom?
//PacRom is a custom rom which has tons of //unique features. Problem: It's supports only a //few devices, like my good old OnePlus One.)
But why do I want a change now?
1. I don't get any updates or security patches any more. Yes, it hadn't stopped me to change for a longe time, but I think now that my device has more holes than a cheese.
2. I have an old Android Version (5.1.1) so I have some problems with performance and compatibility in general and with some apps.
3. I want something new, a change.
Which Custom Rom will I use next?
I want to try Ubuntu Touch for a while and then I want to go to LineageOS, but I am open minded for other ideas or suggestions.4 -
Dependency injection and RX java and all are cool.
But I like to do good object oriented programming.
And now there are kids in start ups who see devs doing good object oriented programming as retards.
Android as a platform provides everything that you need. Why abuse a simple app with all fancy stuff when you can accomplish stuff with simple oops which takes the same amount of time ?
Am I the one feeling this way ? -
Hell of a Docker
One application in c++. 4 in c# targeting Linux. Several logging places, Several configuration files , dozens of different folders to access (read/write). Many applications being called from just one that orchestrates everything.
OS is Linux. Installation is to be made inside a docker image and later placed in a container by means of several bash files and python scripts. All these are part of a legacy set of applications.
They’ve asked me to just comment out one line which took 3 days to find out because they didn’t remember where it was and in which application it was and what was in that line.
After changing it, I was asked to create a test environment which must have resemblance to the current server in production. 12 days later And many errors, headaches, problems with docker, I got it done.
Test starts and then, problems with docker volumes, network, images, docker-composer, config files and applications, started to appear.
1 month later, I still have problems and can’t run all applications at least once completely using the whole set.
Just one simple task of deploying locally some applications, which would take one or two days, is becoming a nightmare.
Conclusion: While still trying to figure out why an infinite loop was caused by some DB connection attempt in an application, I am collecting a great amount of hate for docker. It might be good for something, that’s for sure, but in my experience so far, it is far worse than any expectations I had before using it.
Lesson learned: Must run away from tasks involving that shit!5 -
Recently I started to study app development (I am frontend/backend developer) and I noticed unlike when I was younger, I have a focus limit of about 6 hours. After 6 hours I become super distracted... I am slowly getting back to normal but recently I got so distracted I decided to play a breve game and which one better than half life alyx?
Well, if you have a vr headset play it: I swear I spent 2 hours just fucking around and looking at the environment... in one scene you enter a house and I went full detective trying to understand why the house was messed up: picked up stuff, looked in the corners and so on... it really gives you an impression of what vr could be4 -
I wonder why devs care so much about which programming language will die soon, so they keeping jumping from one language to another every year, while what I think is you will die before the language or you will be old by then and writing one line of code will be nightmare for you. Stop jumping languages jut get shit done.4
-
Android Development. Question to those who are experienced:
There is IntelliJ and AndroidStudio. I know that IntelliJ is mainly for Java Desktop Development but I've heard that it can be used for Android development too. Android Studio is clunky. Which one is better for lightweight Android development? Oh, and why is AndroidStudio not in the JetbrainsToolbox?2 -
Oh god why!?
Somehow I decided that it would be nice to have a proper spell&grammar checker in VS Code for me and my friends to write our reports in Latex with.
Decided I wanted multiple language support, so I turned to language tool.
GOD is this thing slow as a very unmotivated snail!
3s to process 9 phrases!? And then add one second to pack the results in a JSON string!? An option that I'm still very grateful exists, but why the fuck would you disallow line-by-line processing, which you expressly recommend for IDEs, and which cuts processing time by 30%, when JSON output is asked!?
Well, serves me right for thinking for even a second that a Java program could have decent performance...
This whole thing is starting to look like it's not gonna be nearly as fun ss I anticipated it to be.2 -
After doubting Deepin OS for 4 days and slangs to Windows, it turns out, ISP is blocking the port 22, which is why I was not able to communicate to my instance through SSH.
One of the major Cellular company and Fastest 4G in the whole country, 'Idea', is blocking the vital port 22. The same company promoted it's Internet service through chain of adv. calling it's Cellular Internet network, "Idea Internet Network (IIN)". Only to make it sound like IIT, IIMs ( elite indian colleges). Check on YouTube, IIN, if available3 -
I hate that when developing on Windows I need like four different terminals. CMD, MINGW64/Cygwin/MSYS2, PowerShell. Each one has different functionality:
CMD - basic Windows commands
MINGW64 - emulates Linux terminal with frequent Linux commands and great support for Git
Powershell - access Windows COM, .NET etc.
Now there are solutions that attempt to solve this like Cmder (which is just more user-friendly ConEmu). These are console emulators which wrap all these in one window (with multiple tabs). But they are slow as hell. I have to wait like 10 seconds each time I start a terminal in Cmder, because the emulators need to run some huge startup scripts. But I just need to run one command from this one freaking folder!
Eventually I end up having like 30 different terminal windows open, each one different in functionality and each time I need to do something I must think about which terminal I need and in which folder. Furthermore I have to think about whether to run the terminal as administrator, but I usually forget that, so I have to close the terminal and reopen as admin. Why don't you just add something like su or sudo, Microsoft?9 -
Ok devs, need your help a little bit. Planning on buying a laptop. I'm confused between these two:
1) System76 Serval WAS
2) MacBook pro
Which one should I get and why? Need your opinion. Also, open to any other suggestions.4 -
I hate that I love electronics. You can be an absolute god in the technical world but on the other hand its like whose fault is it? The hardwares or the softwares???
Been debugging a DRA818v for 3 days now and havent found any answers towards why there is no transmission just noise and stuff.
FFS JUST GIVE ME AN ANSWER!
Also if you just happen to get one thing wrong, you just fried 5$ worth of components. (Which cant really happen to a software dev)1 -
Macbook pro is - at least where I live - considered expensive. Some of my friends have cheaper cars. I really hesitate to buy even a 2015 version, as thats the one I want. Im thinking about buying a used one ffs.
Now yesterday im chatting with this girl, exchanging nudes and so, when on one of her pictures I saw the apple logo, a macbook, I bet its an air, no its a pro, god damnit. So I asked her, that laptop is that yours? She said yes, she buyd it a few years ago with money she collected, because she photographs a lot (dah) and its really good to photoshop on that thing.
Ffs I want one for my work, which pays well, actually I can buy a brand new macbook with one month salary, why am I having these problems deciding? Am I the only one, again?
Wtf is wrong with me5 -
Lately I read post from democracy developer how we are unable to run democracy in direct way. We know something in some fields and are si fucking dumb in others. Sure we could make research, but it takes time which most of us don't have, so we could chose as we feel which could be more less correct, but even doing research could lead as nowhere. But it isnt only fucking democracy, same goes with medication, food, raising children and there goes fucking shopping. We ass people don't like shitty things or more correctly we don't want ti fucking know it and don't want expensive things, middle is the best, but when you could afford best quality it us easy to associate it with price which is so fucking lie. There is this ios and android battle and a lot of others and it is fucking insane. Why? Because everything is advertised as fucki.g awesome, cocksucking shit which could you eat, shit and eat again. It makes you full, well feed and slim, also makes you boobs, penis, ass of whatever bigger than average (always bigger no matter how much average is).
You want to buy coffee? Our brand is fuckj.g best roasted, best seeds from best plantation and costs only 7$ per kg, fuck you because it tatses like shit and makes me vomit. sure obvious scam, but what with 20-30$ coffee? It is well roasted, freshly roasted and do they fucking know how to do that?
Fuck coffee, go to buy t-shit which one isnt fucking cut off efficiency which also make t-shit stretched as ass after naked night in prison?
Laptop? Fuck you each one is fucking best for everhtbing, 4GB of RAM, slow HDD, shitty CPU and windows 10 onboard? Beast of performance and also mobile, the best laptop ever. Obvious scam, sure, but 1000$ laptop? could be decent? Fuck you, shitty hinge and case so it is like fuckenstein monster.
Why couldn't we have honest advertising? because noone will buy it, shitty shit. Even fucking numbers don't always tell you which is better... fucking shit.
Have a nice day ;)4 -
Why do I always get attached to dead/dying platforms 😖😫😭
I mean, I got the PSP Go a mere year before devs dropped support. (Still awesome for emulation because of the physical buttons)
I was really interested in windows phone for a while that I almost bit the bullet and bought it.(you obviously know what happened to the beloved windows phone platform)
And now suddenly a blackberry passport video pops up on my YouTube recommended feed and now I really want one.
The problem is the lack of apps, I was hopeful because it supported android runtime.
Then my hopes were crushed after I knew that its based off KitKat.
Which means one of my favorite apps doesn't work there (my beloved termux, I get a boner whenever I think about using it with an actual keyboard 😂)
Should i just bite the bullet? I'm too broke and that 200$ is kinda of a major purchase for me (I'm 17 in a third world country, so the piggy bank is empty AF)
God, why do I always get introduced to platforms too late...6 -
tl;dr Which new laptop + Linux distro combo should I get when seeking for minimal configuration and maintenance hassle?
Hey devRant gang!
I'm looking for a new laptop: which one is supported out-of-the-box by Ubuntu based Linux distros like Elementary OS?
Why Elementary OS you ask? Well, I want to move away from macOS and/but keep the minimal (and pretty) design/interface!
But: I don't want to waste time configuring stuff after install or a kernel update. I don't have time for that: I need to get shit done.
As much as I dislike closed source/evil corporate stuff the fact of the matter is that my MacBook Pro Just Works (and lets me get shit done).3 -
So I'm currently working on a chat app that deals with astrology..dealing in the sense we are building an AI which gives prediction based on ones date of birth, time of birth and place of birth, you can ask it questions (currently only career related) and you get some prediction..it's an in-house project, we have a client who is an astrologer who gives us the logic to compute the predictions ..it's still a long way from being an AI ...so our CEO walks in one day with his huge plans for the product...decides to ditch the app completely, on which we have invested 4 months of our time and instead make an appointment scheduling webapp for our client as he felt that would fetch us some green stuff..so I was like why ditch the app when we can have the same module in the app itself and ask the astrologer to make his clients install if they want to book future appointments, he completely disregarded my idea and said that is bad marketing and all other shit and he went on to explain his other ideas ...I didn't think much of it at that time , then the CEO and the director of technology had a separate meeting where the director has made the same points which I had told him(ceo) that it is a bad idea to ditch the app (I wasn't aware of this meeting untill later)...so after a week we have a team meeting with the CEO, director of technology ...where he starts telling how it is not so wise to Chuck the existing application and build a new one which is totally unnecessary and we can have it as a module in the existing one...and I'm like sitting there thinking to myself da fck is he talking about...so i decided to stay silent and listen to his bs...my marketing lead leans over and ask y so silent ....I tell her whatever he is talking now is the same thing I told last week which he rejected blatantly... And then he had the nerve to ask me any inputs to this plan...I couldn't hold back ...I told him that this is the exact same thing I told u last week , to which his reply was focus on the future and forget the past ....I was like mother fckr woooooot ...I realised the power of position !! Fuckol man3
-
Why do companies have a competitive coding round when at the end, they want the person to develop things. I know most of them want software engineers instead of developers but the persons developement skills also matters and at the end when the person does not have any developement skills, how is he gonna help.
In one of the program ran by one of the biggest MNC of the World, I was selected from a hackathon and there are some peoples who are selected by a competitive coding round. Now, we are given an assignment in which we have to make a tic-tac-toe game which is AI driven. During one of the meetings with other group members and mentor, many of the persons who got entries by competative programing round does not know any bit of HTML. Out of the 5 weeks of program, they have spent more than 4 weeks in just learning basic HTML, CSS and still they are learning. I don't know even they can complete the program in given timeline or not but this has been a major flaw in recruiting process which I thought is now good.4 -
So we had a requirement to build some email templates and the guy who was working on that was unable to make some good one.
And I build kinda one and ........... They liked it.
(I'm not good at frontend things and they still liked it lol)
And now they are flooding me with loads of templates to make, and I must say building RESPONSIVE email templates is a fucking pain in the ass and takes a huge amount of time if you're new and your client has provided complex designs with shit loads of fonts which are not supported by half of the inboxes. Maybe I'm not familiar with it that's why.2 -
C is one of those languages that I have no idea why I really even mess around with it. It's cool, and useful, and all that jazz. But holy hell messing up one little line of code is the death of everything.
One forgotten semi-colon, and you whole program is gone. It will mess up other lines of code, which will mess up other lines of code, so on and so forth. I've even had times where I have to almost rewrite little programs I'm playing around with because of how much little errors can mess it up.
Don't even get me started on compiling. I don't even want to get into it now.1 -
The SIM card saga goes on:
To verify yourself, you need to go to some postal office and show them your ID and stuff. Not that this is complicated or anything (well actually, it is. Welcome to 2018 in Germany. We use more papers than potheads for the simplest shit), but you need to have a valid ID. Valid as in NOT EXPIRED. What the fuck. Why does my ID expire. Do I stop existing 3 years after getting it? What does it mean if it is, why is it culpable to have your ID expired. And who gets charged for having none, I mean obviously my ID doesn't identify me anymore?
What the hell man. I don't exist for 6 months now. Am I law free as not identifiable entity or how does it work?
And now the real question:
We got something called Bafög in Germany. Basically you get a bit money while studying. (I still work tho, I don't get really much from it.)
To apply for it, you need some tax number, which seemingly can be seen as a proof of my existence and my identity.
Why is this enough, why don't I need a valid ID there?
Germany is weird man. On the one hand government is all social and you get help if you need it but on the other hand you need to sacrifice 17 virigins to apply for said help..2 -
Why are those little plastic toy soldiers called "Army Men"?
Because "Leggy Men" sounds weird.
(This is one of the jokes that got me shadow banned on r/DadJokes. Which I find both hilarious and satisfying.)2 -
Wow spent another 20-25 mins mapping out the stack calls to see why varchar was trying to be converted to Nchar which isn't supported and found in my mapper class one fucking method had rs.getNString() which I swear I never touched the mapper class since I made it and was working just fine!!!! I swear IntelliJ is straight up fucking with me2
-
Alright boys.. calling in my networking friends for help..
Recently switched my ISP and got a fibre optic installed (100Mbps).
Thr ISP provided a new TP-Link router which supports 5GHz as well as 2.4GHz.
Some of my devices support 5GHz and connect to that network which works flawlessly.
However, my phone does not support 5GHz and hence, have to connect on 2.4GHz.
Somehow, the main router as well as the access point, are not functioning well for 2.4GHz. Whenever the connection is established, it would work fine for a minute or two before the networks starts disconnecting.
Restart the device Wi-Fi and it works for few moments and the cycle repeats.
I am not sure of what is causing this issue.
For the records, the access point is an old D-Link router. Why I mention this? Because funnily whenever the access point cable is plugged into the main router and I login to the router, the system logs me into the access point router (D-Link instead of TP-Link).
Can someone please help me resolve this issue?
Fun fact: The D-Link was a giveaway by one of my dR friends @Bigus-Dickus5 -
Hey Fellows. I'm about to buy a new keyboard because my current one decided to say goodbye today. But I'm not sure which one i should take. My current favourite is "Das Keyboard 4 Professional".
What Keyboards are you guys using and why ?2 -
I'm thinking of installing Linux as my 2nd boot os for webdevelopment, simply because I'm getting a linux-based dediserver.
Which one is the best (I know I'm walking on the thin ice) and why?2 -
I hate how the Java File I/O api works.....
I was developing a little noSQL database in java, just for fun.
The basic was: every entry was a json object, separated by \n.
Every entry started with the length in bytes, so i could perform a easy read of the entry with a inputstream, followed by the entry its self..
The problem?
If i had a big file with more than like 50000 entries, to alter a entry with acceptable perfomance, i had to read every entry for matching with search, than using RandomAccessFile to mark the old entry as deleted and adding the modified one at the end.
The same for delete, it was only possible to mark the entry as deleted, so the read/alter would just not read it by reading the length(which i wrote earlier) and than use inputstream.skip with the length.
To actually delete not needed entries, i created a new file and than reading the old one and writing at the same time to the new one, with skipping the not needed entries and at the end rename the new file to the old and re creating all the streams.
Why cant i just replace a specific part of the file? WTF JAVA2 -
Let's play a little stupid game!
I had a dream last night and when I woke up I was wondering:
"Which one of this PadLeft algorithms is faster in your opinion and why?"
I've performed a (100% not scientific) test in C# and have some results that I will share later, I'm curious what do you think first.
Let's do this! 😁34 -
For those with hiring experience, or just informed opinions.
Candidate A:
1.5 years self-taught web development, primarily Javascript, but also Ruby & Golang
6 months commercial front end experience
Brucey Bonus: a significant fullstack personal project (deployed), plus lots of smaller projects. Has focused a lot on learning OOP and functional paradigm principles.
Candidate B:
As candidate A, but instead of a personal project, has made a couple dozen PRs on a big open source project (ie Mozilla’s debugger). They seem to have eschewed really dialling down into algorithms/paradigms, preferring to learn “in the wild”.
They both perform equally well in interview tests, and appear to be engaging, hardworking and approachable.
Which one do you pick, and why?24 -
Pluralsight is so infuriating. First of all my trial lapsed (classiccc move) so I figured I would use it.
They’re content is so outdated.. it’s driving me mad. The past 3 courses have been 2+ years out of date.. and I get it, it’s a lot of work to maintain a course but could you not at least provide links or new annotations?
And I’m not talking a couple of package version updates where things change. This guy is using Bower which to my knowledge is pretty much deprecated and references yarn. Which completely breaks the course.
My thing is, why are you charging $30/month (i think), if I have to jump through these hoops to learn??? I was doing a great job of that on my own via google and YouTube.
The one Udemy course I bought is constantly being updated with notes and annotations and boy do I appreciate that. They’re marketing and cookies are toxic but at least the content is reliable.3 -
You know I can't seem to think of any reason why they'd try to make one class serve me for reportedly some horrible reason, and then punish me for not letting them aside from a single phrase that one would expect to hear while having a choke chain loosened which is 'good boy, good fido' because pushing the awful things they do off on me seems to be the objective while making my life harder if I don't do what I honestly do want to do, which is that pretty latina across the way, seems like them training one group by trying to encourage another to lend the illusion of a working system. heh. meaning they'll try to blame me if they give her something she shouldn't have by dangling her in front of me like a toy mouse, and there sense of humor seems apparent when the next time through they drop some ugly old homeless guy in front of me and have her laugh as she walks off after being rejected. trains her and attempts to discourage me from a higher path.
even though its hardly fair since the other option is to wander around out of resources and uncomfortable because i'm turned off by what they are and what their system entails and that seems to be the point. only heartless people would say 'well wtf ever'
amusingly those want to be despots and emperors are on the lowest of the low side of interests and seem to be doing just soooooo well after their looks dry up.
goes to show you if you're not independently wealthy you're a node being controlled by your impulses.3 -
I wanna seriously start learning another programming language, and I have three that I really wanna learn but I can't decide which one would be best to learn first. For some background, I vehemently prefer web development over anything else development-related. I have almost solely been developing frontend, and I am extremely interested in getting more into backend development. So, which one should I pick and why?
- Rust
- Ruby
- Go15 -
why do all erp solutions i know have a poor design?
one of you guys surely works for a company which sells erp solutions. as i am a user AND a programmer.
i just have to ask: do you have the feeling that your UI is bad?
and if - why is it like this?
i dont want to attack someone. just want to know the reason why all of the solutions i saw have bad UI or are just "user-unfriendly" (like you would say in german :D)1 -
When I found out that the server I use weirdly implements SSH login.
For some very odd reason (probably a historical one,) you have to access the web-app console and press a button TO GRANT SSH ACCESS TO THE F*<KING IP ADDRESS FROM WHICH I PRESSED THE BUTTON. The server blocks the wrong IP addresses outright. And only one active allowed IP at a time. This totally obliterates my plan to perform CD on this server. Why can't I just register public keys?
Then I learned several months later that they introduced a new server plan that *does* support the public-key registration. :facepalm:
I'm divided on whether to change my plan in exchange for a rather significant increase in the monthly cost.3 -
!question
Okay, so I was wondering if there are any dutch people here who work with C#. I'm in my last year and need to do one final internship but I'm having trouble finding one since I don't care much about web dev. I prefer developing apps and games which is why I went for a course in app dev but the only thing we've been doing is developing shitty websites and I've lost interest in it.
In my last internship I was working on a serious game which recruiters used for the pre selection of people who applied for a job. That was written in C# in unity and was definitely interesting to say the least.
So my question is if any of you have any ideas on where to take my last internship?23 -
Coworker: let's use Result monads in the project so that we're forced to deal with exceptions
Me: okay, sounds great!
Me: *implements Result monads *everywhere**
Coworer: how about we don't use results anymore in half the project? It makes the code look ugly. Let's just use exceptions.
Me: ...
Really? Why in your mind is it okay to only force us to handle a few exceptions and others we can just say fuck it and let them wander around?
Oh you want to use try-catch for these other exceptions.
So now we're back at square one, which is trying to remember/figure out which exceptions any method can throw (since the compiler doesn't do shit, not even warnings), but now we also have inconsistent and much less readable code. Isn't it great?
(╯°□°)╯︵ ┻━┻
I also can't do much about it, because I'm just a fucking intern and I do not want to cause trouble, so I just try to say that I disagree with it in the most polite of ways and that's that.4 -
Alright, I've got a confesstion. It's a confession and a question, combined, get it?
Anyway, I've been a happy Linux user for over 20 years now, and I've used all kinds of graphical envs, from tiling wms like dwm and xmonad (I didn't care for hyprland, sorry if that's weird) to full DEs like kde, cinnamon, gnome, etc.
The "question" here is why do people hate Gnome so much? It's the one environment that I keep coming back to, especially now that my main machine is a beast, and RAM usage is nary a concern. Even then, my system is sipping RAM compared to KDE (running two docker dev environments, three browser windows with several tabs - one of which is streaming music, slack, and steam is sitting on the fourth virtual desktop, chilling), and I'm still at just over 18 GB of ram.Being able to push one single key/key combo, and type anything at all that is vaguely relevant to what you want to accomplish, and having that thing be instantly available (including searching for individual files) is super nice. Easy virtual and multi monitor switching is intuitive; little to no effort needed.
Even when I want to do other stuff, like play a game, or edit a photo, video, or some of my shitty musical-aspirational material - GNU+Linux with Gnome has been and continues to be the easiest, most neato way to get shit done.
Why the hate, gnome haters? Maybe you’re using it wrong?13 -
I'm pretty sure we don't need to use brackets and semicolons anymore. Newer versions of gcc bitch when you mess up tabs, which shouldn't matter in C/C++ because of brackets/semicolons, so why require the tabs and newlines?
On the flipside, if we're requiring tabulation and newlines nowadays, why use brackets and semicolons? Just Python it up and you won't have issues where you mess up and add/omit a semicolon/bracket and break EVERYTHING!
"It's so you can write it all on one line"
I have yet to meet anyone that masochistic.6 -
Finally some real vacation. Heavily needed. Can't stand that type of remote work any more. Our dailies and pull requests have become mere dick-measuring contests. Morally puffed statements about THE RIGHT way to do agile and clean code, and architecture. Endless vacuous, monologues, which they only endure so they can start our own - but shit just does not get done.
And then they don't want to invest only a day or some hours to get some integration tests running on more machines, which could save the one overworked tester we have a lot of work. But whatever. I've lost all motivation and hope. Shall they deal with their own shit. Maybe I just need more sleep or some antidepressants, because I'm really fed up with it.
Makes we wonder why I even fought this battle of the last two weeks, when thanks to Apple's changes in macOS's codesigning our new binary wouldn't run on any "real" machine. But according to them packaging and signing is only a trivial issue, nothing to do with code. Yeah, well, then they should do that shit themselves next time.1 -
This cunt android studio, asshole. Every fucking day it would show me a pop up saying, "hey, update gradle", I always ignored it until today and that mofo has fucked up my project. Spent last 3 hours debugging as to why it is not able to resolve dependencies which were working fine earlier. And every time I click on "try again" it will resolve the dependency which it wasn't able to earlier but instead find a new one to fuck with and throw an error. Had to come back to old version resume my work FFS.2
-
I like ups. They are one of the biggest airlines in the world, deliver incredibly fast over incredible distances, but
Fuck their website!
At least they've updated the design but the functionality is just garbage. I wanted to track a package that is on its way to me. And I wanted the delivery person to know that he could put the package in the garage if nobody is home. I had to register for two different services (God knows what's the difference) and even then ups somehow knew an old address (I believe I managed to get stuck there In the past) which I couldn't remove. I found the option to tell the delivery person to put the package in the garage in some random menu but I don't know if it is for the right address or package.
Why is it so fucked up? Everybody else (DHL for example) has a decent site on which all the stuff is easily manageable.4 -
I don't know why but the default settings in Ubuntu have changed quite a lot. There was once a glorious time when if your Ubuntu got stuck, you could press Ctl + Alt + F2-F6, login to a console, run top command to see which process was taking too much time and kill it, and you can go back and start the process and again.
I remember days(~15-20 days) between restarts of my laptop, because I could do that. But now, my Ubuntu gets stuck, and continues to get stuck for about 5-10 mins, and then just restarts.
I have run the disk checks to see if my hard disk is creating issues, but no issues there. Maybe, there are times when the processes execute some buggy code and cannot get out. One fine moment, one of the processes(probably a browser or Eclipse), starts using too much memory or cpu, and the whole worlds seems to be crashing down.
But, my control to kill it promptly without crashing my other applications, was so good to have. And now, every time this happens, I feel 2016-17 and earlier days were so much better.12 -
I am currently developing an application, using Electron, Vue and FeathersJS. My plan is to make it open-source, and I'm wondering _when_ one should make a project open-source? Like, should it be near complete, or does it not really matter? One of the things I'm having trouble to be energized about is writing the css, and it's a bit of a mess right now, which is why I'm asking now. I have never made an open-source project myself before, so tips are very welcome. Thanks5
-
One of the top reasons why I hate windows is because updates are taking soooo much time. I mean when I install a greater update on Linux e.g. Linux mint 18.2 to 18.3 it takes 1 reboot and about ten minutes of installing... When I install any windows update I have a 50% chance that Microsoft decides that it is a update which requires a restart which means in reality that my pc restarts about 3 times and takes at least 30 minutes for updating. WTF1
-
!rant
Currently in my last year of application development (actually 90% web dev) and I'm going to pass this year.
After this I want to go to a higher school and I can pick computer science or software engineering.
I am completely lost, which one should I pick? Why?
I really love development, but I hear lots of great things about CS...
Do you guys have any input?1 -
About JS WYSIWYG editors.
When you're working on a project that does require a such editor, which solution do you usually chose and why ?
- existing library (which one ?)
- coding your own
- no fancy editor, just markdown
- no fancy editor, just bbcode or equivalent6 -
Dashlane password manager is my workflow nemesis. I have dozens of sites to manage and my only way into them is through this buggy and unreliable crap software. So much time is lost having to delete an entry that inexplicably stopped working, then waiting for someone with share permissions to reshare it, only to find that it still isn’t working, another reshare and then it suddenly does work. But then the Chrome extension won’t sync unless I log out and log back in. And then I have multiple entries for the same site with no clear indicator of why nor which one is the real one that actually works.
Can’t get rid of it because the company has standardized on it. Not my decision to make.5 -
One hell of a devRant, and a very good read which explains why much of what many of us were taught about programming is wrong:
http://smashcompany.com/technology/...3 -
> me: trying to explain to a dev from one of our customers why should they worry about sql injection in their application -which by the way is public- since they always concatenate params (even giving concrete examples in their app on how could I gain acces to their database with just a couple of queries)
> me: (thinking) Did I change my bed with a time machine by accident and got myself into the past?
Do these things happen often to you? (U_U||) -
The time tracking app used at my company was created with Angular JS. Most functionality is quite fast so I can understand why they wanted to go this route. Unfortunately, the clock in section takes forever to load during peak traffic times... which is the only time that functionality is used. Someone found an older section of the site written with server side tech. Now everyone just bypasses the Angular clock in and uses the old one.
You shouldn't use tech for the sake of using it, it should also perform better than what it's replacing.1 -
I am not a programmer, but I know a little bit of Python, C# and C++, but mostly basic syntax of latest two. Nevertheless it gives me higher ground, why?
I develop way od thinking which maker my life easier. I Havel intershop in Pharmacy and they print small papers with number which you show to get remaining drugs. Currently is number, 17592 which makes someone to type almost 40k numbers and erase also this amount. I use variable function in Libreoffice Writer and you have to type one number and it autonumber 64 (easily to expand but unnecessary) and save fucktone of time 😃 And this is why I thing that teaching programming is beneficial, because it develops mindset of resolving problems in easier way.
On the other hand in a few hours I wrote program for my girlfriend to draw randomly picture of herbal material (leaf, root, fruit etc) and ask for Latin name of this material, check if is correct and display necessary information. Programming was quick, most of time I prepare data for this software and this feels so fuxkibg awesome that I could use my knowledge to help my girlfriend and make something useful which makes me proud (code looks like blue waffle, but it works 😃). Fucking deadlines, but at least I could finish it 😃 -
Couldn't figure out why I had to make so many cats meow to learn how to program. I wanted to move things on the screen and create sounds. Then, dug up an old c64 and programmed myself a monitor and got into assembler which was a breeze compared to programming dumb text outputting felines.
After learning computers from the ground up, I started realizing that C++, C#, Java etc. actually wasn't at all about constructing and deconstructing cats or its base class animal.
I had one final go and it all just clicked! -
Tl;Dr:
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.
Urgh.13 -
Let's talk about one of the two hard things in programming - what's your preferred test naming convention and why? I'll have to create plenty of those now, while the project I'm working on is still small, and I don't know which way to go. It's Spring (Java), but I don't think it matters that much 🤷4
-
I want to build a blog. Which language do you recommend me to use? Which is better and why?
I know MEAN, Rails, PHP... But I just can't decide which one to use. I don't wanna use any wordpress-like app (joomla or any other thing).
Thanks! :D10 -
Question regarding android. I am having a problem with retrofit (I am using moshi converter factory) and hope that you can help.
Basically I have a screen with 3 checkboxes. User is able to select any of these checkboxes, and also user is allowed to select none of them.
When user doesn't select any checkboxes and click complete button, I send a PATCH request to backend with a model which contains 3 null values.
Problem here is that PATCH request which is being sent doesn't include any properties which have been nulled.
I spent some time researching why retrofit/moshi doesn't serialize nulled properties and I found a fix.
So I have this line
.addConverterFactory(MoshiConverterFactory.create(moshi))
Which I replaced with
.addConverterFactory(MoshiConverterFactory.create(moshi).withNullSerialization())
Now nulls are serialized and I am able to send a PATCH request model with nulled values. However now I'm facing another problem. Across my app I'm using only one retrofit client and I don't want to serialize nulls for all requests. Also I don't want to create another retrofit client.
How can I fix this problem? As far as I've researched it seems that I need to add an adapter with toJson() and fromJson() methods and then somehow enable nullSerialization only for that adapter. However I don't completely understand that solution and not even sure how to handle it.1 -
I tend to overengineer. Why? Because I had a view in JavaFX with its controller that had a bunch of key listeners which changed the UI. I wanted to change the view based on wifi connection/no connection with a server, which was managed in a Client class. The controller took the client to give it a message that client then had to send. For "separation of concerns" I created a separate view + controller for the "not connected" state.
Now the Client knew all about the connection, so I put up the Observer pattern and wanted the Main (Application) class to swap the layouts as an Observer of the Client. After an Exception on FX thread and Platform.runLater(), to solve the issue, I faced a new problem: the key presses weren't executed anymore. I still don't know why this happens. Maybe I'm missing something.🤷
Then met with one of my group partners (it's a uni project):
Let's attach the Observer to the original controller. Have only the original view that changes due to the controller updates as Observer. Let's see if that might even remotely work...🤔
It worked🤦😂 -
Working for a little SharePoint-Company while studying.
Have to hunt bugs.
Found a major bug which kills one of our customers SharePoint-Site completely because of code pasta.
Told my supervisor about the bug and reported it.
"yeh. we will fix it now"
2h later they started to go live.
"Did you fix the bug?"
"No. Wanted to have the system live asap."
On my way home I got a call.
"We need you back here in the office"
"Why?"
"It crashed. Is not reachable anymore. Help fixing it"
fuck off -
I have a question regarding file redirects 2>&1 and 1>&2. I know that file descriptor 1 is std o/p and 2 is std error and that we're redirecting one file descriptor to another.
But why do we do it? What are their use cases? Wouldn't the file to which redirection is setup get too clunky?
Analysis of the file would also become a bit difficult. And wouldn't having errors stored in a separate file make it easier to interpret and fix them?8 -
one of the projects i maintain is something no one else knows much about in the company. its a huge project which maintaining is a nightmare that casued previous ppl to quit.
i have been vigilant for 1.5 years, finally they agreed to give me help. so we got another dev to help.
i was given a bunch of tasks, he was given a few as well. Now he convinced everyone in the company that he is the owner of the project...and everyone thinks i handed over the project to him...
why are people pieces of attention seeking shit ?2 -
ITS VBA again!
I made two misstakes today.
The first one was touching vba, the second one was assuming things.
The two statements are almost the same except the braces. VBA uses IF [condition] THEN..i soo foulhardly assumed that, when you just chain conditions together with an AND its taken as one statement. While in reality it apparently ignores some conditions and not some others.
I really dont bother with VBA a lot and try to avoid it, but upon occassion the need arises. I still dont know why the brace variant does the expected behaviour while the without does not. It seemingly does not ignore thew first two conditions but the third which makes it even more confusing. But as i dont know enough about VBA to say with confidence its on Excel and not on me i squelch my rage and tend the happiness that it now works..somehow. -
Why is customer support sometimes so shitty? A coworker good a Win10 Laptop (Win7 before) and one program wasn;t working there anymore. So we reached out to the support asking to help us fix it. After over a month later and x-amount of E-mails back and forth. The answer was, you have to upgrade everything (Webserver, Database, Client) to use Win10 (no backwards compatibility). Which is fine, I don't mind upgrading and understand that software sometimes is not backwards compatible. BUT THAT IS SOMETHIGN TO STATE IN THE 2nd E-MAIL. Not an infinity later after a tiring back and forth of nonsense.
-
I have participated in a hackathon this weekend and one of the theme of hackathon was blockchain and being a blockchain dev i have created a DApps which follows token standard and other security standard but our UI was kind of basic cause we didn't have any designer in our team but one participated team's UI was far better than us but has serious flaws in the smart contract and guess what they are the one being selected and that's not it there wasn't a single judge who has basic knowledge of blockchain.I was using DApp term very often while presenting our idea and one of a judge literally asked us what is dapp? I mean WTF? Now i am regretting why did i participated in this shitty hackathon? On top of all that they juat give a single sticker for whole team. Wtf we are supposed to do? Cut it ? If you are a blockchain dev don't forget to see this beautiful function i found in the token contract of the selected team from the github.1
-
I know android java, kotlin.. So for iOs development what should I learn?
1.Flutter
2.React native
3.Swift
4.Objective C
Which and why?
I would prefer the one with lowest learning curve.10 -
Dear real estate industry,
if you define a horrible exchange format as CSV file. Then fucking stick to that specification or give me access to your horrible 90s style tooling so I can at least figure out why every crap tool exports in a slightly different way.
How in the world am I supposed to map your data if you keep changing the field count (which is the only way of validating an exported file).
You pretend to be innovative by specifying an industry wide standard but you aren't able to stick to it.
Fuck you, and the one guy "developing" the specification. Seriously... One guy has the responsibility? Do you really think that's a good idea.
Get your shit together!
Yours,
every developer working in your industry3 -
There is this ERP/MES integration project in which I am involved as a developer who helps a team of industry engineers in my company to write some scripts (in Quickscript .Net god forbids) to consume a SOAP based web service developed by the ERP maintainer team from another company.
I will just keep every stupid technical aspect I ve seen unspoken and highlight the naming convention used in the web service methods.
One of the web methods named "zzwswo" which only after consulting a bunch of pdf nomenclature docs that I realized it means the following:
"zz" seems to be a prefix for custom db tables in the ERP system.
"ws" is probably Web Service.
"wo" is Work Order.
I lost hours trying to figure out methods. I think this is why not everyone should be allowed to write code. -
Working on maintenance suck, but that's why most of the software developers do. Stable job and higher pay. Mundane tasks like fix bugs or modify small part of the software.
Working on an idea is interesting in startup. You don't see shit code and code from the ground up. The work is creative. But the pay is low because the company is not profitable.
Which one is your choice?1 -
Yesterday we had discussion on with developers about continuous deployment. When I asked one of the senior developers why they can't uncommit what commits you made to integration branch and which led to integration test failures. He said it's against the basic philosophy of git to uncommit... I don't know how git works...but seriously you can't use previous version of code or can't uncommit??6
-
I'm writing a minor productivity app which consumes and modifies a vbscript file on a network drive which apparently gets included in other productivity tools to drive the business, as well as updates the relevant DNS entry the field is associated with, and because I care about making the world a better place now writes the data out to what I hope becomes the authoritative source for said data which eventually replaces these who-the-knows-why-they-are-there network drive files and snippets.
The tool removes the need for an ISP tech in the field to make TWO phone calls when they update network equipment. One for the vbscript tweak, one for the DNS update.
Oh, did I mention that some PHP app under a L1 helpdesk guy's desk that the company has made absolutely necessary for their business (and I subsequently moved to a god damn server) consumes the vbscript file and parses it into something PHP can understand?
You can't make this shit up.
The only saving grace is that I have my team rewriting all of this ridiculous shit in Haskell. Type safety and long term refatorability will keep us sane. -
Here's a fun fact (which actually will be accompanied with a source) about node.js. When you import or require a module it will be imported as a singleton. Or put another way, ```export const Foo = { };``` is one of the simplest* and most readable singletons you can have in that runtime. And of course here's the thing you always should be asking for when people make a claim like this https://nodejs.org/api/...
So why write this? Well some of you might feel inclined to write a medium (or other) post about "design patterns in Javascript" where you basically just translate the GOF book from Java to Javascript and now you have something that isn't just awkwardly translated Java code! -
First project I'm doing with C++.
I was using Eclipse (for C++ obviously) for some hours. It sucks.
Switched to VS Code. All the editor tool you can dream of are in. But there's no way to configure the project (includes, build system, toolchains…).
"What a fool" I say, remembering there's Visual Studio Community… which is only for Windows.
So I'm currently using BOTH Visual Studio Code and Eclipse.
Why can't there be ONE good, full featured and free C++ IDE for Linux ?38 -
Why useImperativeHandle in React is bad?
I have component A. I have component B which is a child of A.
I have button in component A that should change how component B is displayed.
Usual approach is to set state in A, change it upon click and pass that state as flag via props to B.
But there is another approach via exposing ref to component B using forwardRef() + useImperativeHandle().
And then calling method that belongs to B from A. Like this: bRef.current.changeDisplay()
https://stackoverflow.com/questions...
https://reactjs.org/docs/...
https://github.com/reactjs/...
People on SoF and Docs say that the first way is preferrable. But no one explain why.
Does anyone know why calling child method from parent is considered bad?4 -
Profile (1, 1) --- (1, 1) User
Right?
- A single user *must* have *exactly* 1 profile.
- A single profile *must* belong to *exactly* 1 user.
Makes sense?
I did this because i moved user profile image and user banner image into Profile entity
So now i can easily join tables and fetch user profile image based on username or user ID
By deeply thinking like an asshole and overengineering, i stumbled upon a confusion
If i can join tables and get ALL fields (assuming its a left or full outer join) from both entities...
What is the difference between choosing which entity to fetch on the frontend?
For example if i want to fetch users, inversely, i can fetch Profile entity, which has User entity as a nested object, and that way access users. Now i have access to each user's profile image, banner image, bio etc aside from the entire user object
If the user navigates to a profile page, inversely, i can fetch User entity which will have a Profile entity as a nested object, and that way show the remaining necessary fields that the profile page needs to show
I gave these inverse examples because if i want to fetch users, surely enough i can simply fetch from User entity, and if i want to fetch someones profile data i can fetch from Profile entity directly
So if this is the case, when am i supposed to fetch one over the other?
You tell me. For simplicity lets focus on these two examples. Consider this as an exam question:
1) user navigates to home page. Now paginated users with role X need to be shown, but also their profile image. Do you fetch from User or Profile entity? If you use joins which ones and why?
2) user navigates to their or someone elses profile page. Now profile-based data needs to be shown, but also the user's username and full name need to be shown. Do you fetch from User or Profile entity? If you use joins which ones and why?21 -
Where is the mac vs ubuntu vs windows war for developers? I am a Windows user (on a dell latitude e5570), but I am considering a new laptop because everyone says macbooks are great and outperform windows (which on gradle builds is true).
I mainly use my laptop only for developing and programming things like: full-stack, Android and a little bit of deeplearning/ML.
So which one would you recommend and why? These are pretty heavy tasks, from my opinion.10 -
Not really a programming rant, but how fucking hard is it to spell someone's name in an email correctly. There is no single key for 'ph' and if there were it would be no where near the letter 'V'. But then again I'm just trying to help you out with your simple SQL script which you can't find out why you're not inserting data and you're only the director of informatics. And your script is horrendous with multiple joins which are unnecessary. Create one source table instead of 4 inserts from one table and use one insert from one table ya idiot.
-
I don't know why we keep taking on clients whose products are written in a language that's not part of our core expertise
Currently working on 2 products simultaneously, one of which only runs on Windows and the other of which only runs on Linux, so I end up switching OS several times a day...and you'd be correct if you're thinking that that's a massive productivity killer3 -
Got offered a new job with a 50% pay increase after 3 interviews, which only one of them was more technical, and it didn't involve any leet code or anything.
My friends coworker tried applying and failed
multiple times previously, so I'm feeling wayyy under qualified because my OOP knowledge sucks, I'm a self taught developer. They asked me more about engineering web solutions - how I would handle a lot of traffic , how I've designed a system where it holds a lot of requests, what do I know about databases, what engines I used and why. I'm very scared to accept, and I like my current company. What do?7 -
I was passed someone else's homework which included describing what certain Bash commands do. I've a fair bit of experience and I can't imagine why this one would be useful, can you think of any use for it?
(find -type d) | grep public | tr './p' ' '6 -
Wtf is this ESP32 shit and it's hype?
I bought one because I thought JS on a microcontroller? That's gotta be fun!
I'm a hobbiest when it comes to MCUs and I do JS as a job, so I tought I'm made for this and I know at least as much as all the kids on the internet doing it.
Nothing makes sense with this shit. You have to flash wildly compiled modules of WHATEVERTHEFUCK with fucken python development-kits which have something to do with Lua to give you some kind of node-REPL which answers you with a bunch of strangely-looking errors starting with "stdin:x:".
If this NODE-MCU shit is made for JS why is there stuff about Lua everywhere you go with this, I don't get a single thing. Now I'm sitting on about 3 different git repos of sdks or what do I know and know less than before.
Oh and there is actually not a single tutorial really targetting the esp32. it's all about that 82xx-model.
Then I start googling around a bit more - It's not even ES6, it's just some ES3/5 shit. Why would you even do this. That's actually harder to manage than classic C/C++. You get no gain with it. Fuck me.
Wtf bro.23 -
Wasted over two hours today on a stupid bug: for some reason, every event was handled two times on my local machine.
Why? Because although all services are readonly after instantiation, the EventDispatcher isn't: it is modified when registering event handlers. Meaning the very same instance of the actual EventSubscriber was reused for the async- and sync event dispatcher. Which are just simple wrappers for primary and secondary use cases, but use the _same_ instance of the actual EventSubscriber in my dev-environment as I now know.
Thankfully a shallow clone did the trick. Of course it would be possible to simply create a new instance, but this is one of the few services which are autoconfigured by the framework.
Don't know what to make of this to be honest. "Play stupid games, win stupid prizes!" I guess... -
Non "dev"-rant, more of a social/relationship/life rant..
Just,, fuck,, my,, life..
Backstory; I have some issues, I'm not normal, socialy, so I finally gave up on life, do just enough to continue providing for my daughter (cause her mother is more fucked up than me), that means letting go of any chance of happiness, dating, the few friends I had and so forth.
The latter simply means that I stop trying to keep em around, because that's how it's always been, and they're all gone, all except one. THE one, the one I work with, the one I fell totally in love with a year ago, the one that is the first and last thing of the day on my mind, the one I had to tell my feelings for, the one that I really need some distance from.. But no. She's the one that won't let me go..
I'm on my way to a concert right now, a concert I tried inviting her to a few months ago, she wasn't interested,, For some reason I opened Instagram right now,, bam, right in my face. Her,, in full makeup, which she never wares, posting a selfie, which she never does..
Whish I could say why life is so fucked, but take my word for it, it just is.. And guess what, After the Christmas holiday, one day in, she probably noticed that something was "off".. and she immediately suggest that we take one of our "dinner dates" next week, and I'd bet that the first question is "you're beeing wierd, what's up?", and all I can say, again, is "can't talk about it".. cause I really can't, anything I say is that much to much..
Fuck!
Yes, this rant is mostly focused on "her", but to get a hold of my state of mind, I've given up, and just accepted that I should never have any kind of social life, cause that's simply best for everyone.
And if you wonder why I'm posting this here, I don't have time for a therapist, and "she" is my PM at work, where I'm THE senior developer.. Every issue that anyone else haven't been able to solve, ends up in my lap. She calls me magic on a daily basis..
Yes, I'm drunk as fuck right now..1