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 - "mongodb"
-
TLDR : I left a company which doesn't understand the concept of email id and passwords.
Me (trying to login to the alumni website) *no register user option*
Customer support - you've to click on forgot password to create an account.
Me - Wonderful
*clicks on reset password*
*enters employee id, name, email, father's name, DOB, date of joining , date of leaving, current city because apparently if I just enter my employee id it is as if they never knew me. Sigh*
*your password will be sent to your email id*
Me - okay. *waits for two weeks because I assumed someone will manually go and create my account and email me, considering the state of system. *
After two weeks,
Me - I still haven't received my password on email after I created my account. Can you please check?
After one week,
Customer support - you need to click on forget password if you forgot your password.
Me - *inventing new curse words* I have not forgot my password, I never received it in the first place!
After one week,
Customer support - yes you'll receive your password on your email id.
Me - *runs out of curse words* seriously dude?
* proceeds to reset password*
System - your password has been reset. Your new password will be sent to your email id. *apparently anyone can reset passwords if you have the employee id, which is an integer*
After a week
Me - Am I going to ever receive the password? I've tried generating passwords, resetting my password. I never get my passwords. What should I do!!
Customer support - yes you need to click on Forgot password.
Me - are you fucking kidding me!!!
You fuckers need to be fired and replaced by a FAQ page which has no question and just a single answer, because a peanut has higher IQ than you. For any questions you may have, just reset password. Goddammit idiots!
Also, which email id are you sending my passwords to?
Customer support - myname@oldcompany.com
Me - you do realize that this is the alumni website for the company. Alumni means ex members.
Being ex members, you can assume we don't have access to our company email ids obviously?
Customer support - yes.
Me - how am I supposed to get the password using my old email id then?
Customer support - you need to click on forgot password option.
I think I should probably move to the Himalayas for my anger management issues. Plus it'll be probably easier to throw idiots off a mountain.31 -
Shared screen with a client over Skype. Showed them in Postman that their API wasn't working as expected. It was expecting a json. Instead it was giving error code 400 instead of 200.
Message :
"Error: No error. All OK"
I'll never forget the words of the client:
"Don't use all this fancy software, you don't know how to call APIs, open Internet Explorer or chrome and paste it in the bar. You'll see All OK, means all is okay."
*insert you dense mf meme here*20 -
Hired a new backend Dev. He writes a script and sends it for testing...
Tester: "It's not working..."
Backend Dev: Goes to Mongo and deletes the tester's whole profile...
I cant control my laughter every time I remember this incident...He claimed it was a mistake, I don't think that it was a mistake...the tester had it coming...
"It's not working" that's all he says every time...I mean at least give me something to start with...!4 -
Boss - gives tasks to me. Timeline: 10 days.
Me - work hard and finish the solution in 3 days.
Boss- wtf is this. Do it properly.
Me - chills for 15 days. Submit the same earlier solution after that.
Boss - yes this looks nice now! Much better than your earlier work!
Me - dude seriously what kind of stuff do you smoke before coming to work?8 -
She - So. Do you read ?
Me - Yes. Infact a lot. Daily. My life is filled with it.
She - Wow. Nice. So what do you read mostly ? Which one is your favourite
Me - Mostly Documentations. Vuejs documentation is my favourite followed by express and mongodb documentation. And yeah webpack. You should read them too. Then there is a book on ES6, 'Understanding ES6' by Nikolas S Zakas, famous author and programmer. Great stuff44 -
Tldr :
Office Building : 1
Population: 5000
Number of PC users: 5000
No of Spare mice: 0
Day 1:
Training period commences.
My mouse laser sensor doesn't work.
Solution: Use this mouse to log in to your system.
Open the company portal.
Connect to vpn.
Enter username password.
Create a ticket for mouse replacement.
Done.
Day 3
I bring my own mouse.
Confiscated at security.
Becomes a security violation.
Day 9
I get a call from helpdesk.
Agent- what is the problem?
Me- my mouse is not working.
Agent- why?
Me- what do you mean? Something is wrong with the sensor.
Agent- clean the sensor.
Disconnects call.
Marks ticket as resolved.
Me- WTF just happened!
Naturally, I escalate the issue.
Day 15
Level 2 Agent- what happened? Why have you escalated the issue?
Me- I need a mouse, waiting since 2 weeks.
Him- No mouse is available
Me- you don't have a single spare mouse available in an office with 5000 PC users?
Him- no they're out of stock.
Me- when will it be back in stock?
Him- we will 'soon' launch a tender for quotations from sellers.
Me- time?
Him- 1 week.
Day 34
I email the head of supplies for the city office. Next day I get a used super small mouse, which doesn't have a left button. Anyways, I've given up hope now.
Day 45
I become a master at keyboard shortcuts.
Finish my training.
Get transferred to another city.
No mouse till date.
Surprisingly, this was one of the top recruiters in my country. Never knew, MNCs can be so so inefficient for such simple tasks.
Start-ups are way better in this regard. Latest tech, small community, minimal bureaucracy and a lot of respect and things to learn.15 -
I swear all my clients are like these! I can probably teach a blind monkey faster than these idiots.
PC: marketoonist4 -
Ex-Boss (62years old)- why do you wear a watch? Take it off.
Me (bewildered) - why? What happened?
Him - see I don't wear a watch also.
Come on, take it off.
Me - *took off my watch* now what?
Him - see. Now you can also look at the time using your mobile, like me. No need of watch. U should be modern.
Me- *WTF. Are u high or something, u fucking insane asshole? *
He was one weird piece of shit.21 -
Useless Google Shortener API.
It allows 1M requests per day.
But has a max rate limit of 1 request/second. There are 86400 seconds in a day. Why are you giving a 1M requests limit then?5 -
Maybe aliens haven't visited our solar system because we have one star...they would probably be looking for systems with 4 or 5 stars rating.4
-
I wonder if those people who give unwarranted useless advice to developers go to their doctors and do the same thing.
- Doc, just make a small slit, take out old heart, put in a new one, connect everything back as before and stitch it. Easy peasy. Shouldn't take more than a few minutes.
- my leg is fractured. Just open it and tape it back. It is a hack job, but it'll make the client happy for now. It will be quickly done.
- I think I have cancer. Just write a script to kill it. Shouldn't be too difficult.
Fuckers.4 -
(Interview for sde-3 position)
(continuation of https://devrant.com/rants/2132431/... )
Interviewer - *opens laptop. Gives a question.* solve this.
Me - *a bit surprised that such questions were being asked on a sde-3 level*
this is the 4th or 5th question from geeksforgeeks, isn't it? I know the answer to this. Do u still want me to solve it?
Interviewer - *not believing me* Yes
Me - okay. Well this *writing down the original solution mentioned on the site* is the verbatim code mentioned on the website, with complexity O(n^2).
However I feel this is not the optimal solution. Let me write a better solution.
*I provide a better solution*
This has a complexity of O(n log n) . What do you think?
Interviewer - Nope. This could be a lot better.
Me - okay. Let me see. Did some minor changes, added some caching (obviously this will have no effect on the base algorithm) etc
How about now?
Interviewer - nope. Still not good.
Me - okay. Can you tell me how to improve it?
Interviewer - no we are not allowed to solve problems for you. It is not our interview, it is yours.
Me - that makes no sense. Interviews are a two way street. I'd very much like to know the optimal answer to this.
Interviewer - okay
*copies down the answer from geeksforgeeks*
This is good
Me - *at first I thought this was a prank or something. *
I just mentioned this answer here.
Then I spent the next 10 minutes providing a BETTER solution.
May I know how yours is better?
Interviewer - this solution has 2-3 loops. Yours has a function calling itself.
Me - that's called divide and conquer using recursion mf!
Anyways let's take an example and do a dry run.
Interviewer - okay
*we do dry run*
Interviewer - oh yes. Yours ran faster. But it will run fast only sometimes.
Me - yes. Each time the algorithm rolls a dice to decide if it should run fast or slow. You have one goddamn awesome weed dealer man.
I got to go. Thank you for meeting me.14 -
Day 1 10:00 am
Login to email account (Zimbra)
Your password is incorrect (I entered it correctly, this was a permanent issue ,used to happen in the company with many employees)
Reset your password by logging into internal company portal.
11:00 am
Logged into company portal, somehow. 2 Mbps internet shared among 104 people, you can imagine the speed.
Reset email password
* your password has been sent to your email id*
Are you fucking kidding me? U have emailed me the password to the same email I can't log in to?
Where did the architecture designer get this top notch weed from?
Day 2
Asked HR to reset my password (using a colleague's email)
Day 3
No reply from HR yet
Day 4
I went to meet HR, she's on vacation. So they have 1 person managing the password reset, for 5000 people with no backup person. Cool.
Day 5
Your internal company password has expired. Check your email for link to create new password. This is some next level shit going on.
Day 6
I called up Internal IT team to generate a new email for me.
They asked me to raise a ticket.
I can't raise a ticket because the only way to do so, is through the portal.
Day 7
Nothing. Btw, personal email and all social networks were banned. You can't even open stackoverflow.
And this was a research lab, amazing huh?
Day 8
Loss of pay for 4 days since I can't login to company portal to fill timesheet.
Day 9
HR comes back. Resets my password.
I try to generate my new password for portal.
The password policy:
Password can't be same as last 10 passwords
Passwords expire every week
8 characters minimum, 2 upper case, 2 lower case, NO SPECIAL SYMBOL. WTF. How long do u think its gonna take to crack that?
Fuckers had a company wise policy to automatically lock PC every 1 min if not used. Who the fuck can keep on using it continuously! I'm reading an article, and bam ! Locked. 2 wrong entries and that's it, repeat all steps again. Fuckers really didn't want to let me do my job, just keep on logging in all day.12 -
Uncle- What do you do?
Me- I'm a software engineer
Uncle- My brother's friend's son is also a software engineer.
Me- (so what am I supposed to do about it?) yes that's nice
Uncle- I have a great idea, u should implement, I'm just telling you, it is a revolutionary idea
Me- (oh fuck, not again) yes tell
Uncle- you should make a matrimonial site which tracks what people do on internet and tell their to-be-spouses about it
Me - (yeah, I'll get sued for breach of privacy, and it has got nothing to do with my current line of work, and will probably cause divorces before marriage) yes great idea uncle
Uncle- see I told you this billion dollar idea, u should do hard work and make it
Just WHY in god's name do all uncles think laptop is a magic box in which I just have to type their idea in and it will spit out a website/software in 2 minutes. I don't go around advising them about their line of work.11 -
Your resume:
Git
SSL
Vue
Angular
React
Node
Spring boot
MySQL
MongoDb
HTML
CSS
Java
Javascript
Bootstrap
Cassandra
Hive
Hadoop
Block chain
GraphQL
Kubernetics
Jenkins
Azure
GCP
Interviewer:
Sorry, we need someone who knows AWS8 -
Some Romanian "Hacker" is trying to hack my forum xD
He tried to call the setup script for PhpMyAdmin, but I don't even have PhpMyAdmin installed because I use MongoDB xDDD
I'm lying on the floor laughing4 -
At an interview, the first round was an online coding round. Two questions, one easy one hard, 90 minutes, easy peasy.
I solved the hard one first.
A bit of good logic, followed MVC pattern, all done. Worked flawlessly.
Submitted code. Online compiler threw up an internal error citing java is an invalid command(jdk not found).
Called the invigilators. What I heard next, I couldn't believe this shit.
"We're not responsible for any errors you may be having. Figure it out yourself"
I was like WTF dude. This is not even a compilation or runtime error!
After a heated discussion, I made him look at the code.
Him - what is all this classes and all? Why haven't you written everything inside the main function?
Me - those are model classes. Those are different helper functions. That is a recursive function to avoid 5 for loops and use divide and conquer. Ever heard of OOP? what kind of person writes a 300 line program inside one function?
Him - no no we write it like that only. Correct this.
Me - I fit everything inside the main function. Still the same error, java not installed. Called the idiot to have a look at it.
Him - yeah your code is wrong.
Me - may I know what's wrong with it? Can you fix it please?
Him - no no we aren't allowed to see the code (he had already read it twice. It was compiling and running perfectly, locally) .
Yeah you solved only 1 problem, you were supposed to solve 2.
Me - yes because the rest of the time I had the pleasure of your company. (It isn't everyday that I see talking buffoons.)11 -
The Adventures of my Project Manager.
--- Part 1
a little back story first:
-----------------------------
The project manager is the CEO's younger brother.
-----------------------
end of back story.
PM: Hey, we should stop using Nodejs on our API.
ME: Why?
PM: I don't see why it is necessary when we could make our android app talk directly with MongoDB.
.................
ME: QUE?!9 -
Dear recruiters,
if you are looking for
- Java,Python, PHP
- React,Angular
- PostgreSQL, Redis, MongoDB
- AWS, S3, EC2, ECS, EKS
- *nix system administration
- Git and CI with TDD
- Docker, Kubernetes
That's not a Full Stack Developer
That’s an entire IT department
Yours truly #stolen9 -
That awkward moment when I was able to run three docker containers on a 512MB server:
1. DotNet core web service
2. MySQL
3. OpenVPN
BUT I cannot run:
1. NodeJs web service
2. MongoDB container
Spent two hours configuring the damn server to get hit by this T_T14 -
So, the HR has made it mandatory to fill a Google form,
fill in info about yourself (name, employee ID),
your family (name, address),
and select radio buttons for symptoms like fever,cough, cold.
You must fill this form DAILY, and if you miss filling the google form, it will be Loss of pay for whole day.
Yes, so if I have contracted coronavirus, and am running a high fever, first thing I'll do is login, open a shitty ass google form and select a bunch of stupid radio buttons.
And if I'm not ill, I'll still go and fill this form every single day.
Because fuck logic.13 -
At one of my previous companies, there was a guy, let's call him X.
X was the ideal employee.
X used to come to office at 8.
X used to go to sleep in AC office.
X used to wake up at 10 when everyone started coming in.
X used to play Uno and Pokemon Go till 6.
X was a master in Uno and Pokemon Go.
X used to wait till 8 to get free cab facility.
X didn't do one single productive piece of shit whole day.
My boss loved X Because he came early and left late.
My boss didn't give a damn if that person even switched on his laptop or not.
My boss didn't care about productivity.
I didn't come on time and didn't leave on time (I travelled in non-traffic hours)
I slogged my ass off because I really wanted to learn.
My boss scolded me, asked to be like X.
This was the last straw.
I resigned the next day.
I never wanted to be like X. Seeing him daily, motivated me so much.
When I worked, I focussed on it, I didn't keep checking the clock waiting for it to hit 5 pm.
I aimed for productivity, set realistic targets and always achieved them, no matter what.
My boss was an a--hole. I met X and Boss recently. Both are still in the same role, just scraping through.
Felt really good that I worked hard and have achieved something in life ^_^13 -
Arrived today, hyped!
I have real-world experience with MongoDB, MySQL, Firebase, and caching with Redis.
A colleague in ops recommended this book a while back and I thought I'd give it a whirl to better understand what other options I have available.7 -
a dude just DROPPED the whole Fu**ing mongodb cluster. like Right Now.
multiple databases, expanding multiple projects.
fortunately in dev. but dunno how much data is recoverable.14 -
I always thought that this could only happen with big orgs with precious data. One of my coworkers sent me this last night10
-
At 4pm, after 6 hours of work of migrating from mysql to mongodb...
I am drinking coffee with my team.
Boss, comes from somewhere and asks...
what do you all want? (What he meant was, go back to work you all)
One of my team member- (angry and agitated) says-- a comfortable sofa.
Holy fuck, i laughed my ass out.
Guess what happend next...22 -
I quit my job. Today was my last day. Feels so good to get rid of the toxic workplace attitude.
I really wish someday managers understand the difference between an estimate and deadline, will reduce the pressure on devs.
I'm glad that I can take a break and explore what I want to do next 😀12 -
Made a simple college project using Node.Js, MongoDB, React... Wrote everything from scratch, starting from HTML to CSS and Routes even OAuth. No template was used.. Guess what teacher said...
She said I love the second project made using wordpress template because, "It looks amazing and beautiful"
One of the reasons why I hate college...11 -
I resigned today 😍
No more dealing with shit architecture and experimental beta technologies being used in production which went down constantly 😎
Back to good ol' product development! 🤩
One month notice period to go3 -
„I have secured our mongodb by setting the dbpath deeper than 20 folders by using more than 256 chars. To protect us from windows hacker boys.“
😂4 -
At the company I worked for earlier, they'd blocked two USB ports citing security policies. The third USB, was unblocked because the system admin didn't know a laptop can have more than 2 USBs .
Gigabit LAN was open.
They just wanted you to copy stuff at higher speed, I think.
If you think blocking a couple of USB ports is going to stop a dev from copying data, well either you're unbearably stupid, or think too less of your devs. It is just gonna hinder their productivity, nothing else.5 -
Well, fuck. The CTO of our startup decided to migrate data of our hundred thousand customers from a stable functioning platform to an in-house unstable platform with severe performance issues, to "save" costs, despite our repeated requests. He made us not have any contingency plans because he wanted to "motivate" us to complete the migration.
Result- we have a thousand customers reporting major issues daily, which is causing loss of revenue to both us and them. The company ran out of funding. Most of the team members were fired. And he's expecting the rest of us to magically fix everything. Dunno what kind of office politics is this, in which you're sabotaging Your Own company.
Looking for a new job now to get out of this hellhole. I really used to love this company. Feels sad to see it ruined like this.4 -
!rant
Linux vs Microsoft
Well, this war is certainly one of the oldest. IMO,
Linux - great for automating stuff, free, and customisable.
Windows - user friendly, softwares much more easily available, much easier to use.
Frankly, I have tried using Linux a lot of times, but never liked it one bit. I am a GUI fan and hate to type commands for every little thing. Plus installing Ubuntu wiped out my disk once and I lost all my school memories ( this was in 2008, I didn't know much about backups, was quite young) ,so I am quite vary of it. I just don't feel it to be intuitive. Just to do a simple task, I loathe to learn difficult commands, and just read the syntax.
However, I have no bias against people who use Linux.
It is like religion, live and let live, follow whatever suits you.
On devrant, why's there so much hate for Windows? Because it is paid? Because it has updates? So what!
I never had a problem with it, I update once a month, takes 10 mins. If you set up your active hours correctly, it works great, you can disable updates also. Windows 10 is highly stable. It is paid, but in my country almost all laptops come with windows preinstalled. The OS-less laptops are about $10 cheaper, which is not that much to freak about.
Would love to hear your views and logical arguments.
Please be polite.35 -
Boss wants to scale our webservers because it seems they're having performance/capacity issues....
I'VE BEEN TELLING HIM FOR WEEKS IT'S NOT THE SERVERS!!! IT'S THE FACT THAT EVERY SINGLE QUERY HITS A SINGLE MONGODB... AND NO CACHE EITHER... AND THE DB CANT BE ENTIRELY LOADED INTO MEMORY AS ITS TOO BIG FOR RAM ON A SINGLE SERVER...
HOW THE FUCK CAN YOU SCALE IF EVERYTHING HAS A DEPENDENCY ON 1 NON-DISTRIBUTED DATABASE?6 -
That moment when the practical work supervisor don't understand why you don't use netbeans because he thinks that MongoDB is a netbeans plugin.2
-
Wrote angular service, named it "MongoService", handles calls/requests to mongodb. Spent an hour wondering why it wasn't running one of my functions from controller. Just realized I am calling MangoService instead of Mongo. Lord help me.2
-
That awesome moment when you're hailed as God Of Internet, and all you've done is just restart the router :D1
-
Friend: Hey, so what do you do?
Me: I build backend systems and apis. I work with java/mongodb. I dable into some elixir and kotlin on my free time.
Friend: Cool, can you build me an Android app?11 -
TLDR - you shouldn't expect common sense from idiots who have access to databases.
I joined a startup recently. I know startups are not known for their stable architecture, but this was next level stuff.
There is one prod mongodb server.
The db has 300 collections.
200 of those 300 collections are backups/test collections.
25 collections are used to store LOGS!! They decided to store millions of logs in a nosql db because setting up a mysql server requires effort, why do that when you've already set up mongodb. Lol 😂
Each field is indexed separately in the log.
1 collection is of 2 tb and has more than 1 billion records.
Out of the 1 billion records, 1 million records are required, the rest are obsolete. Each field has an index. Apparently the asshole DBA never knew there's something called capped collection or partial indexes.
Trying to get approval to clean up the db since 3 months, but fucking bureaucracy. Extremely high server costs plus every week the db goes down since some idiot runs a query on this mammoth collection. There's one single set of credentials for everything. Everyone from applications to interns use the same creds.
And the asshole DBA left, making me in charge of handling this shit now. I am trying to fix this but am stuck to get approval from business management. Devs like these make me feel sad that they have zero respect for their work and inability to listen to people trying to improve the system.
Going to leave this place really soon. No point in working somewhere where you are expected to show up for 8 hours, irrespective of whether you even switch on your laptop.
Wish me luck folks.3 -
Hey guys!
Just joined devRant! Can't wait to get more involved!
Bored in the lockdown, I built an app which lets you chat with people around you.
Its called Cyrcl!
Built in over ~40 days, I was the sole developer.
Here is the tech stack - React native for the android and ios apps, mongodb and redis for the database, nodejs for the server and aws ec2 for the hosting!
I'd love to get some feedback, or discuss some of the hacks!
- Ardy15 -
Does linux suck? Imho, Yes.
A lot of the people bash windows regarding automatic restarts, updates, bsod etc.
I may be unusually lucky, but the last bsod I saw was in 2014 because of a faulty synaptics driver.
I've really tried to use linux to see what the hype is all about. Quite frankly, it sucked. The first time it wiped out all my data, I realized the value of backups. Hence I do not have a single pic of my school now, thanks to complicated ubuntu mounting.
Next is driver support. When I plug in a device, I expect it to work. I don't want to spend a day googling for drivers.
Why the fuck would I want to use a black terminal which gives me a headache. Am I in 1980? Which sadistic asshole designed vim ?
I have seen linux developers who claim to be linux experts and love linux. They take so long to do simple shit. For god's sake don't tell me there are GUI versions of linux available. I'd rather work in windows 95.
Why in the world would anyone want to use ls to see the contents of a directory! It is seriously so fucking unproductive.
I can't just download a software, click next a couple of times, and be done. No no no. I've to do sudo apt get update. Then try to find the fucking package. And if all goes well, there's always the dependency issue which is going to bite me in the ass. If google and stackoverflow go down, most linux devs will die a cruel death.
Fuck you linux.
I'm not saying windows 10 is the best, but at least I don't have to crawl through shit to use it. If you don't like automatic updates, disable it you moron. It is easier than renaming a damn file in linux.57 -
!rant
After nine months of work, my capstone project is finally coming together.
It's an audio server written in Node.JS and MongoDB. I can run it on a pi plugged into a stereo and remote control it from my phone via the web server.10 -
That feeling when you try to get entries from a mongodb and it doesn't put out anything, not even errors and after 4 FUCKING HOURS trying, googling and looking around on stackoverflow, you realize THAT THE PROGRAMM DIDN'T EVEN CONNECT TO THE DATABASE
That's the stupidest problem I ever had IN MY ENTIRE FUCKING LIFE
Thanks devRant, I feel better now.4 -
>Get password vom dev.
>Try to connect to MongoDB.
>Had some changes in how to connect because of Kubernetes and stuff.
>Always get authentication error.
>copy password again
>stop and restart portforwarding
>wait almost 1,5h (was lunchtime) for DevOps guy
>sit next to him and ask for help
>he unhides the password and deletes two spaces...
fml3 -
Five years learning how to build normalized information schemas to end up designing denormalized DBs.1
-
So last semester, my college made a class compulsory to attend.
We were taught, "How to install MongoDB on Windows"...
With screenshots, not even live installation.
I wanted to die.. So much.. 😖6 -
I once found a MongoDB cluster open to the internet with no authentication with nearly a terabyte of data that backed a CRM service whose customers included Microsoft and Adobe to name a few.7
-
What would you answer if your IT support asks: "What do you use to connect to MongoDB, Internet Explorer or Chrome?"8
-
My ex-boss who had 35 years of experience in IT Industry, didn't know one single fucking coding language, obviously had no clue about source control or anything even remotely related to computers, and had been project manager of a project having over 1 million lines of totally undocumented code split into 389 files with no apparent structuring. All variables were either alphabets or names of programmers who developed them.
Code was in Python 2 and had bugs/line ratio ~= 5.
He asked to write a 'wrapper' class and somehow run it in Java and fix all bugs automatically. (insert Shia LaBeouf's magic GIF here)
When I said it doesn't make sense, he said you should put in hard work and do it, and not give excuses.
Time given to do this - 1 hour :-P
Good thing I quit that shit place and that pathetic moron. Love my new job and life! :D
Seriously managers should trust their developers and allow some degree of freedom. It helps a lot.4 -
My Friends: Celebrating XMas together
My Family: Celebrating XMas together
Me: Celebrating XMas by reading MongoDB docs 😏😏
There is no better way to celebrate xmas3 -
mongo in slang means idiot, which comes from the term mongol or mongoloid, which is a deprecated word that used to be used for sufferers of down syndrome. So MongoDB means "Down Syndrom Data Base"
Also mongo means huge, so it may have been named after that.9 -
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 -
Least favorite enterprise software: MongoDB...
"Ensure all writes" is still a suggestion that sometimes works.8 -
Dark-themed IDE + back-lit keyboard + coffee + headphones = best coding environment ^_^
Though there's always that one asshole who decides to talk to you Only when you're in the zone.7 -
Which Linux flavour should I install in my newly ordered ssd ?
My usage will be
vscode, chrome, mongodb,
android studio
Please take consideration of ease in installing hardware drivers. Didn't want to waste so much time on it.26 -
JSON: "Ok fine you can use our syntax and everything else but make sure you change the name of the format so people know there is a difference"
MongoDB : "K"3 -
I think I should start a startup which makes chairs in shopping centres for tired boyfriends/husbands.6
-
Started to learn nodejs REST, with mongodb, either the service is too light (still only has login) or mongodb is too fast, I've never seen that speed in fetching a single user with 6 properties in its json response, it takes 15ms on my laptop when a dot net core service + MySQL takes at least 70ms6
-
You know it is gonna be "fun" integrating client APIs, when all of them respond with
"Thanks for submitting the request"
And no error or status code whatsoever, no matter what you send.
Also, the client likes to test/call this API in Internet explorer address bar, and doesn't trust Postman. Amazing shit dude.3 -
I see the industry evolving into dna-mutilated JS hipster virgins who use neuronal networks for even the simplest tasks an jerk off on MongoDB queries during their breaks while thinking of GraphQL queries.
Naughty.2 -
When you migrate from PHP 5.6 to PHP 7, if you use MongoDB, be careful, the driver is not the same ! So you have to rewrite your implementation !1
-
Found this MongoDB song on Youtube today.
Database Skills (Sia Cheap Thrills Parody) - MongoDB.
Baby, I know your database needs upgrades tonight.
https://youtube.com/watch/... -
Neat: MongoDB. Fairly easy to use, intuitive-ish JSON API. Thinking about using it on a project. Excitement.
Neater: Data validation. You can have it drop writes that don't match a schema. Excitement intensifies.
Braindead: It absolutely will not tell you exactly *why* the write doesn't meet the schema, leaving you to figure that out on your own, smart guy. Mongo smugly crosses its arms and tells you to go back and do it right without actually telling you what the problem is.
Fucking braindead: This has been an open feature request since year of our lord two-thousand-and-fucking-fifteen. https://jira.mongodb.org/browse/...7 -
Made my first Node.js Todo list today! Got myself a new front end design tool, Bootstrap Studio (50% off). Learned about REST, using Node as an API and MongoDB and Angular! Had a lot of fun learning and I would recommend it to anyone that's a Node.js beginner. I want to do a video tutorial series on Node.js, is that a good idea?9
-
I always feel odd when I hear about MongoDB. Cuz mongo is a German curse word for someone with down syndrom...6
-
A great and very common web attack is known as 'SQL injection'.
So if I am using MongoDB, does that become 'NoSQL injection'?1 -
I - Lets move your database to mlab. They offer 512mb database for free, every month. That is beyond your lifetime usage
Client - No. They Steal Data ( Like Facebook )
And client don't know a shit about mlab and development. Aware of quite a few names, bigrock, godaddy, bluehost. Even AWS is not in the list
- mlab is mongodb database service4 -
Fuck React!
Fuck BCryptjs!!
Fuck Insomnia!!!
Fuck ExpressJs!!!
Fuck MongoDB!!!!!!
Fuck Case sensitivity!!!
Fuck Nodemon!!!!
Fuck coding!!!!!25 -
Fucking mongodb... the name is really fitting "mongol db"..
I get that a NoSQL db can be very useful but holy crap mongodb is shit..
Even better is the security.. holy shit it's insecure..
"Just use the configuration to only allow 127.0.0.1" stfu that shit apparently doesn't work on fucking centos..
And yes my customer did get hacked
And yes they did blame me
And yes I did have a backup5 -
Fucking mongodb I swear to god what is your problem, why do you close all connections after successful authentication you piece of concentrated crapjuice and why is the best information you can give me a pissing "Connection ended" message your demonic unholiness?
Stick a cactus up your rear, pot included5 -
It's been a year since I first entered the world of development.
Let's see what I have accomplished so far:
Learned:
Java, J2EE, Node.js, Python, Django, Android, Angular, html/css, Rxjs, RxJava, Linux, MySQL, Mongodb, Docker, Heroku, AWS
Projects:
All unfinished.
Job:
Still working in IT security goddammit.
Fucking hell. Why am I so good at learning but shit at working?6 -
Sad story:
SSHd to a vultr server, downloaded MongoDB docker (approx 170MB) download and extracting 70% of the image was done faster than me navigating from devRan notifs page, to devRant feed page, I need a new internet plan T_T1 -
Are any of you guys colourblind?
If yes, I would love to know if you encounter any issues due to it, and how you deal with them.5 -
Just had a discussion with a coworker. I noticed he was storing dates as string in mongodb, saying it was better for comparison and because he stored them in UTC. WTH, mongo already stores all dates in UTC and a string date is imposible to compare. I wasted 8 hours finding that last part out.6
-
Today was a SHIT day!
Working as ops for my customer, we are maintaining several tools in different environments. Today was the day my fucking Kubernetes Cluster made me rage quit, AGAIN!
We have a MongoDB running on Kubernetes with daily backups, the main node crashed due a full PVC on the cluster.
Full PVC => Pod doesn't start
Pod doesn't start => You can't get the live data
No live data? => Need Backup
Backup is in S3 => No Credentials
Got Backup from coworker
Restore Backup? => No connection to new MongoDB
3 FUCKING HOURS WASTED FOR NOTHING
Got it working at the end... Now we need to make an incident in the incident management software. Tbh that's the worst part.
And the team responsible for the cluster said monitoring wont be supported because it's unnecessary....3 -
Thanks MongoDB for introducing transactions (ACID) in 4.0 version ... This is really going to help a lot.1
-
Drop whatever you're doing
Watch this mongoDB promo video first
I wish they made more real songs like this
(Cheap thrills parody)
https://youtu.be/0vPt7GI-2kc3 -
Holy shit! Since when was mongodb a publicly trading company... and 272 a share wtfffff
seems like i gotta start a non ACID database company sometime soon!2 -
What cloud service does DevRant use?
Aws Or Azure?
And how much do you pay a month for maintenance costs?
What tables to store data? MongoDB, dynamoDB, oracle?
Or S3 streams?
Just wondering.2 -
Today I tried to make an asp.net app and publish it to iis all without the help of Visual Studio. This is teribly difficult!
Then I had a great idea for website to store my .ppt and .doc files (and other school shit) with mongodb and tried node.js as backend. Holy shit did I really host everything all in 10 lines of js!?!?!!! Comment some great tutorials. -
I thought I'd seen the worst possible code.
Until I saw this stored procedure. It was forming a string of JSON by concatenation of double quotes and queries in between.
No wonder it took upwards of 200 seconds to insert just one record.2 -
Definitely when my boss got me super hyped up that we were gonna start using MongoDB/node.js/angular or react, I spent hours learning the languages.
Then he comes up to me a few weeks later and decides to “pivot”
I wanted to cry. Back to coldfusion2 -
I think the reason most people hate frontend these days can be summed up by the fact that the frontend of my fairly simple React webapp is about 850 loc while the entire Express and MongoDB server is a mere 234 loc
God damn frontend is a lot of work these days6 -
I want to smack the next person who tells me what AI can do. As hard as I can.
Fuck the internet and what it has become.9 -
So... We're going to totally rewrite one of our web applications at work. It's currently written using the .NET framework, and we're moving to Node.js instead. For me, that's absolutely wonderful! Outside work I practically only work with Node, so I'm happy. There is just one thing that's bothering me. My colleague wants to use MySQL for the database. Even worse is that he's the one deciding, since I started working there just a couple of weeks ago.
Now, I really, really want to use Mongodb. It integrates so wonderfully with Node together with Mongoose, and just the thought of using JSON everywhere makes my body shiver of satisfaction.
So therefore I have two questions.
A. Would you prefer Mongodb over MySQL for a node application?
B. How the hell can I convince him to use Mongodb?!
Cheers!11 -
You guys heard of the MEAN Stack?
I'm currently learning it...
It is basically the combination of MongoDB, Express.js, AngularJS and Node.js7 -
!Rant
For a school project i had to develop a copy of Skype, This had to be able to run in Linux OSx and Windows, Any suggestions about what to use ?
I thought to node js electron for the app and node + mongodb or rethinkdb as a back end7 -
When it comes to choosing a database, What is the best for a Java project?
1.SQL - MySQL
2.NoSQL- MongoDB11 -
I always had this mentality that I shouldn’t rely on a certain library or framework for my entire project because what if one day they stop supporting it. (Yeah I’m talking to u vuetify) That’s why I came up with this code structure that for everything that I wanna do I have a ‘driver’ library all coded by myself that interacts with that third party framework or library so if they stop supporting it I could just change a couple of lines of code in my driver file and my codebase should be working again. But I feel like this ‘driver’ approach is not the most efficient way of going in terms of memory usage. Do you guys think I should keep it simple and directly use those libraries or this is actually not a bad approach.7
-
How do you folks handle your pagination at backend?
I was initially using skip and limit. But that is prone to error.
Then I thought about using last sent items id and using its created_at time and fetching rows/documents after that. But that too is prone to error ( more than one can have same timestamp) hence either having data repeats or data That gets missed.
What is your goto strategy for pagination?8 -
Clients wanted a simple backend to be deployed specifically on Apache. Used PHP. Spoke to them and they were fine with PHP .... Until I delivered the application. Told me how bad a developer I am to not use the MEAN stack. Didn't even pay.3
-
!rant
I built a webinterface a few months ago. it was based on the php framework laravel. but i want to change to nodejs in combination with mongodb.
do you know good nodejs mvc frameworks similar to laravel?3 -
I'm still unable to find a single advantage of using the Firebase Database over MongoDB, yet people keep suggesting me to do so.
WHY? I can host Mongo for free on my own server and won't have to worry about *READING* costing money!6 -
so if i get this correctly :
1. mongodb( community server) is going to create some files in my system which will be called "databases/collections/document bullshit via its own special process called mongod (similar to mysql , but ok)
2. my python flask app is going to connect to it via its official driver pymongo (which could be used directly)
3. mongoengine is a library (more of a wrapper on pymongo) providing "easy ways for connecting mongodb via pymongo" (which again could be used directly)
4. flask-mongoengine is library (more of a wrapper on mongoengine providing "easy ways for connecting mongodb via mongoengine via pymongo" (which again could be used directly)
5. flask-pymongo is some another bullshit library/wrapper that took away 6hours of mine which again is "A FUCKING WRAPPER PROVIDING EASY WAYS FOR CONNECTING TO MONGODB VIA PYMONGO"
seriously, fuck web development. Why can't the original driver (i.e pymongo from mongodb devs) could have simpler wrappers? and why does my fucking tutorial instructor had to use the most fucking rarely used flask-mongoengine (which i accidently read as flask-pymongo and got f**ked) to teach newbies? fucking day wasted trying to understand this crap.
I don't like monnopolies, but its somewhat good that the mobile environment is still in the hands of nononsense players like google and oracle(java) . atleast we don't have people releasing wrapper over wrapper over wrapper and then fighting about which wrapper is better to use.
Like , even when devs started cmplaining that android dbs are too difficult to understand, google themselves created an actively supported wrapper that shutted down the fight over which wrapper to use(sqldelight, realm,sql bright etc)5 -
Has anyone here used MongoDB for relational databases? I am trying to use MySQL with Node but I feel like the whole thing is a mess. There are some ORMs like Knex or Sequelize for MySQL but they are pretty crap. I am thinking if I should just move onto MongoDB instead of MySQL, at the same time I feel a little dirty to store relational data in a document store :(18
-
The MEAN Stack with Firebase connected to Angular instead of an ExpressJS Server and without ExpressJS and MongoDB. -2
-
Probably that one time we lost to a shitty app that was of no use to the community and literally scammed the opinion of the jury.
Their concept was a webapp that would suggest a room to study to a student on our campus. It was called "is it free/vacant" but should've been called "is it open" since there is no way of knowing how many seats are occupied, etc.
The jury was amazed, the app was worthless, literally 15 minutes of coding, presentation had a shit ton of buzz words like "were using mongodb to store the classrooms", was just fucking horrible
On the same competition a guy tried to enter his company that was developing the Facebook page managing app for Windows phone, already having a working app and making revenue from it for at least a year lol
We still got second place, but it was a really disappointing second place, shit was rigged yo1 -
Fucking mongo, fucking nested documents in nested documents that need to be filtered. I'm either really fucking dumb, the query is hard or both.8
-
Can we just agree that mongodb is shit and we all would just be happy without it?
Its the example of all things that should not exist.3 -
I remember back then when we were building an E-commerce website. To maintain good performance the boss insisted using flat table. This was also applied to other projects like GPS. That was already 2013 when NoSQL databases like MongoDB was around already. His concern is he didn't like to risk on new technologies and it would cost money for training instead of using the existing "MySQL" and Microsoft SQL Server.
Everything I learned from that guy was just poop. -
Windows Subsystem for Linux has given me more problems in the last 48 hours than any other "os". Npm barely wants to function and God forbid I run mongodb.6
-
The 16 MB document size restriction of MongoDB makes me wonder how any dev uses it to build monolithic apps.16
-
I'm currently doing project in Java using JavaFX for GUI and after like 6 months I found out we can bind textfields to variables(yea,dumb me) and I got more than 20 forms so of course, binding is useful than that getText method. So I think there are many things like this which will help me to optimize my code but I dont know, so can anyone tell me more stuff like this?
I'm using MongoDb so I'm currently finding easiest way to make Bson document from textfield values. Any suggestions?
(Sorry, for my bad English)1 -
I just created a URL-Shortener in NodeJs and MongoDB. Would be great if you could check it out! :)
Also if you wanna use it for your Projects or the like, you can also use my api!
Link to Url-Shortener: http://kapparr.ga/
API Usage: http://kapparr.ga/api/<url>
Feel free to tell me about your opinion or bugreports in the comments :)5 -
What certifications do you guys have, and which do you recommend having?
I'm currently pursuing AWS Developer Assosiate, and in the future Google certified Android developer and MongoDB developer.
Been thinking about Docker but it costs too much15 -
its hard to keep yourself updated with apis, specially when you are nodejs/javascript developer.
Creating a simple application to keep track of changes in api and inform the subscribers about changes.
Stack - Vue.js (quasar), nodejs, mongoDb3 -
Just 5 days? What. Some technical problems take years to solve and you auto-close threads after just 5 days? Why you do this MongoDB 🗑️6
-
I suck at DevOps at least as hard as I'm good at front-end/UX. I found out as a result of the local job market starting to get needy for 'full-stack'. Stuck for 2 days on setting up a Docker/ Dockerhub/ DigitalOcean/ Bitbucket pipeline with Nginx/ Node/ MongoDB Cloud & Webpack/ React.
*Sigh*1 -
What cheap/good quality node.js hosting provider for nodejs/react/mongodb app do you suggest? (including sale, black friday etc.)9
-
So I accidentally used an email as a username to create an account through Jira for mongodb to report a bug.. That apparently breaks the entire Jira login system. I cant recover my account, and I can't create another account because my email is already in use.. Thanks Jira for deciding I'm going to bar before I go home today...9
-
What is a normal write speed (docs/second) for mongo db?
Can't find a benchmark online and well I'm trying to prove my point to my boss that our speeds are insanely slow due to index bloat,..13 -
Rails, React, React-Native, Docker, Kubernetes, Openstack, Jenkins, AWS, Microservices, Realm, MongoDB, PostgresQL, GraphQL (list goes on...), and I'm not even done yet.
6 months was spent learning all of the above because I found a Rails-only monolith on Heroku unsettling. My first batch of containers was just deployed and I couldn't be happier. Love my job.3 -
just receive a refurbished 4 years old laptop.... then deep clean it.... now having dilemma on picking a distro......
mainly use to run data analysis (r, Python, Java, C++, mySQL, MongoDB and some cloud servers...)
my thinking about a good distro to me, comfortable appearances, customize freedom, community support and constant security update.
any suggestion people??6 -
Just spent all morning adding my own user account to my local MongoDB because some network security guy found I was running an unprotected server on my PC....
I tried all the admin roles to get full access across all databases I have but none worked....
Until I see one at the bottom of the official documentation:
root -
As an Angular developer, i am thinking switching to React, major companies and websites are using it
React:
Facebook,Twitter Instagram,Dropbox,Aws,New outlook,mongodb cloud, Amazon drive,Udemy, ....
Angularjs
Gcloud, not many more
Angular 2+
???????
Is the switch advisable?6 -
I am building a web application which is multimedia centric (mostly video chat). Text to Speech and vice versa.
I have chosen Node with mongoDb as backend API with React Frontend.
What stack would you suggest for such an application?8 -
Who is doing this to me *sobs*, mongoose or MongoDB? 😥😥
I'm adding new records (array) to an embedded document, but the first record to be added gets duplicated, even with the same ID and stuff :(..
Was using Callbacks, switched to promises, still the same.
😥😥😥😥😥4 -
!Rant
Which database program do you use? MySQL, MongoDB etc.
I'm using MySQL at the moment, but a lot of jobs requires MongoDB. Does anyone know why?
Though I can't get it to work on my dedicated server, giving up for now...12 -
I picked a module of my nodejs app which uses MongoDB to pieces until I had no more idea what could be wrong. It should work. There could be nothing wrong. Then I thought: "What if I try to find() from the wrong collection?" Yes. Fucking YES! I've lost about 2 hours of my life because I've written the collection name in singular rather then plural. Just a fucking single character. Just a fucking "s"! Why don't you output an error? Why? Fuck you! Why don't you do that?1
-
Like seriously how fucked up are those ORMs? Prisma “yeah we support mongodb, but we will force you to write in a relational way.” I always hit on hard walls whenever ever I try an ORM in my projects.
Don’t get me wrong they are good for dummy stuff. But if you want to go a little bit crazy with mongo, embedded documents with refs it’s a mess…
Typescript and good old mongodb adapter bb anything else.14 -
Stackoverflow is great but sometimes I want to ask 'bad' questions. Questions that cannot be answered. I just want to see opinions no matter how biased. Maybe this is the place? Or is there somewhere else?
btw anyone know if there is any is a decent free ui for mongoDB that works with Atlas?2 -
So what is the best free Mongo DB client for Mac? What are you using aside from the command line?
I prefer good ui and features. Thanks! 👍5 -
Bored and want something to do? Learn MongoDB. There’s SO many great resources out there! I have legit enjoyed these first three courses in Mongo University (+1 on Udemy).6
-
ANYONE USING MONGOOSE HERE?!!
TypeError: User is not a function.
That User is a Schema. I've been searching for so long now and I can't seem to find a way to make this work. Sorry for being desperate that I had to ask on devRant.5 -
I'm a Beginner Web Developer. I know Angular2, Nodejs , Mongodb, Html, css, JavaScript but never have I ever worked with Wordpress. Is it a bad thing?14
-
MongoDB database with really relational data. One main collection that had refs to four other collections, all of those references necessary to populate data for a page view. Complicated aggregate to populate all the necessary data and then filter based on criteria selected by the user. And then the client decides that he wants the information to be sortable by column. Some of those columns are fields on the main model, no problem. Others are fields on the refs, which is more of a problem. Especially given that these refs aren’t one single object. They’re arrays of objects.
The revelation was that I could just write an aggregate function to flat map the main collection, returning only the fields necessary for the search, and output it to a new collection and instead use that new collection for displaying and filtering/sorting search results.
But you can’t run the aggregate all the time, you surely say. If anything changes in the main collection, it won’t be reflected in the search results!
Mongoose post(‘findOneAndUpdate’) hooks, my friends. Mongoose post(‘findOneAndUpdate’) hooks.
Never been so happy to have a thing working properly in my life.2 -
Just dumped one month's GitHub public data or my local machine. Ah boy that was too much data. About 80 GB with 30.9 million documents in mongodb. Too much for local machine. :sigh:
-
Today is bank holiday in the UK. Fucking boss slacked me to say he needs graphql n mongodb wired up by tomorrow. I almost tell him to fuck off, today is not work, bitch1
-
Lost 3 days because of shitstorm not knowing why my nextjs localhost app wasnt working just go the 3rd day on mongodb dashboard and have a warning that mongodb will block any connections of ip addresses that are not manually added (i have no idea how mongodb works other than just how to use it in code)
Because the shitstorm knocked me off the internet for 3 days (will probably be for over 7 days cause these assholes dont give a shit to fix it) i dont have wifi access so my localhost app cant work
However my dads android has unlimited gb of 4g internet access so i connect to his hotspot and then try to run the app but still fails. I thought i cant run the app until my internet gets fixed from shitstorm just to find out i had to manually allow the inbound IP address of the android phone into the mongodb dashboard. And now it works fine. Fuck off6 -
Full stack developer?! Which one is hard front end or back end? I'm talking about MEAN other than mongodb!4
-
Is MongoDB worth learning? I already use MySQL/SQLite but I was thinking of learning it. How is it any different aside from having no SQL13
-
I am learning NestJS + MongoDB stack after spending 5+ years as a Laravel + MySQL dev.
Wish me luck or give me advice. Thanks in advance!10 -
I really want to like MongoDB, I really do, but the query/update language completey negates any fun
Try doing any non trivial operation in a single db query (aka. efficiently) from a language that's not JavaScript if you really want to hate everyone and everything7 -
Everybody is bussy!
So let's going to give this mess to the one who never worked with mongo, does not know the objects in the DDBB, add to it some weird way to build queries in java to it and hope for everithing end well!
End well = need to be done today.
Guess what? Not for today! I have no clue of how to clean this shit.1 -
React app, on mongodb 3.6 and mongoose 5.0.17
Still cant use tje aggregate function without a cursor. Anyhelp ? -
I had a lead dev on our team saying we should drop PHP and write everything in D, because their syntax is basically the same. And replace our MySQL database with MongoDB. We have data going back to the early 90s, I don’t even know how many entries we have in the production database.
We just adopted python on new projects so that it’s easier to find developers.12 -
So, my experience is all with relational DBs (mssql) mainly and this job is the first time I've had to deal with mongodb.
I'm using the default compass client and I'm struggling with just how shit it is.
- A default font size of 5px high which resets every time it starts.
- Total lack of keyboard shortcuts.
- Inconsistent expansion& folding behaviours
- No saving of aggregates/queries if you accidentally click on another collection.
- ittle bitty query window which is actually multi line but with no scrollbar...
The list goes on.
And mongodb, whoever thought JavaScript is an appropriate query language... It's not.
It's probably because I don't have enough experience with it but the mix of quotes and $ seems so random...11 -
i feel its a great time to be a developer we have so many toys to play with
machine learning, scientific python, nodejs, frontend js frameworks, nosql, NLP, elasticsearch, mongodb, open source .net, big data with java, arduino..., VR, 3d printing
what toys are you playing with? -
I'm a C# dev, I'm used to updating all my package dependencies by clicking on one button "Update All", and it's done.
I was consulting for another project written in python, it seems there's no way to update libraries like that due to circular dependency hell. Is it so?3 -
The small company I work for has FINALLY decided to start moving towards the MEAN stack, in which I was overly thrilled! However they have started to regress because "cold fusion is so much easier to write"
-
Working with nested arrays in MongoDb!! Who would have thought it would be such a pain to update data in nested arrays in a database! So frustrated!!!!
-
!rant
Hey guys, could anyone tell me what's needed to become a proper Angular developer(like full-stack)? I know MongoDB, Postgres and all of the frontend stuff(HTML5, CSS, etc), plus Spring and Hibernate. Also, I use Linux, so count in Bash.
Surely there'd be other bundles of Angular besides MEAN?4 -
See this? Dont ever fucking tell me to use mongodb. Half the time this website is fucking broken and down. Imagine you have a production ready app that is now also fucked because this piece of shit is fucked. I always viewed anyone using mongodb as DUMB fking shitass script kiddy with a small dick helping bill gates to gangrape some kids at the epstein island11
-
I'd like to learn go while building a web backend. but I'm not how should I start it. I mean, should I use any framework?
I'd like to use MongoDB, so a mongoose like ORM/library would be awesome8 -
Upgrading mongodb to 4.0.25 for a heavily used dev environment,
Running the DevOps jenkins job thingy,
Failing miserably,
Asking the DevOps to take a look,
"Did you upgrade to 3.6 before?",
"no",
"Well mongodb EC2s are deleted",
FML1 -
Im building an API with NancyFx (HTTP stuff) and mobgoDB (database). i had very strage errors when starting queres. and after 2 fucking days if debugging i found it!
accidentally I wrote somewhere in a custom type conversion "ObjectId" i stead of "OwnerId".
F M L
"""""""""
#MongoDB #NancyFx #CSharp/.Net1 -
I have a question about how to set up TensorFlow and use Node.JS for MongoDB CRUD. Help!
Cool, have that question on StackOverflow, because this isn't. If you have nothing to rant about you probably are still missing uncountable hours in training to get on a level where you can rant. Fuck off. Choke on a horse dildo. Get it through your thick idiot skull that devRant isn't your beginners bingo bongo chit chat.6 -
Guys, I need some advice. I finally got a customer, and I'm trying to convince them to let me add SSL encryption, but they don't want the extra costs involved, that hosting providers tend to charge.
I don't really know of many hosting providers, as I run my own server, so I was wondering if people could recommend anyone that can let me run a nodejs backend, using mongodb?8 -
will you just fucking upgrade to a version that supports wiredtiger or just FUCKING STOP OPERATION, STUPID FUCKTARDS. FUCK MLAB1
-
Trying to learn react and Next.js so far having one hell of a time even connecting a mongodb atlas database and displaying the data. Guides show nothings, YouTube shows nothing. Fun.5
-
Hi! I've Been Watching a Tutorial series on How to make Amazon clone by nodejs,mongodb. He used Faker Api to insert Product but I tried to make a seperate Layout to insert product but using Async but it keeps saying "Cannot read Property '_id' of undefined.12
-
I'm developing a solution that is to be self-hosted, and currently using MongoDB. But I also want all information to be stored in JSON files, making it easy to move it to another system, effectively having to keep data synchronised between the files and a database.
This means the absolute only reason I use MongoDB, is because it's faster and easier to query. Considering it's a free and self-hosted project, does it even make sense to add a database into the mix at this point then? It's probably mostly going to be used by people who don't work in tech, but just have it as a hobby.
It's obviously going to be a subjective answer, but I'd like to hear peoples thoughts.6 -
I just spent two days bson serialising a dictionary of dictionaries for mongodb in c#.
Finally got it running, hell yeah!! -
Using DB triggers is something bad? I have started using NoSLQ databases (CouchDB and MongoDB) and I can't find anything intuitive or native to the BD.
The worse is that I have googled it and I rarely find people asking for triggers in NoSQL databases.
What am I missing? My concepts about RDBMS blind me about NoSQL?7 -
Another haveibeenpowned news story, why can't people set a password on their mongodb instance? Is it that hard or different from other databases?3
-
We recently encountered a strange Mongo DB behaviour or rather strange Mongo Shell behaviour.
Read how it made us scratch our heads.
Check out: https://prakhar.xyz/how-mongo-gave-...4 -
Fucking shit Mongoose. I have written it again but they managed to gather every antipattern in their lib.
On the topic testing they write that you shouldnt use Jest but use Mocha for testing. Yeah sure, I determine my testrunner for a fucking data model thats at its best unnecessary because the native driver can do everything mongoose can but better.
I would ditch this shit the second I could if it was for me. Unreliable junk!3 -
Hello devs,
Any recommendation for managed mongodb service provider and server provider?
I am usually a fan of Digital Ocean but DO doesn't seem like a good option for mongodb (especially for mongo-noobs)4 -
How fast is vscode in Linux? I'm irritated with time it takes to start my complete dev environment in windows.?
nodejs + mongodb + vscode + chrome + studio3t
So you see I've to start 2 electron based apps and chrome. Node js takes its fare time to start the first script.27 -
Would you suggest MacBook Air Core i5 8th gen model for a hardcore Android Developer?
Current usage on regular basis -
- Android Studio
- 2 Android VM (MeMu, Genymotion etc)
- node.js MongoDB, Redis for server
- VS Code, Chrome, Mongodb compass
My old dell worked pretty well so far it has a core i3 with 8 gigs of RAM and 256GB SSD but processing always seemed slow but managed some how.
Suggest me if MacBook would make better choice than other windows laptop which are much more high end than MacBook on same price?11 -
I'm implementing a REST API that returns data as it's fetched from MongoDB.
If it's returned all at once it would be a JSON a string like [{}, {}, ...]
But what about when it's returned as a Stream?
Node by default seems to just return it as {}{}{}{} but that can't be parsed by the program that requested it?4 -
Is it a good approach to use MariaDB in one Server and MongoDB in another one to store various client's data?
The reason I need MongoDB is because the client has to create custom Maintenance Checklist (which mean he has to create rows and columns), and then submit these data based on specific period. And I am finding hard time how to design this on MariaDB, even with dynamic columns since it might bring performance issue.8 -
Writing jest test cases for a MongoDB server app.
I noticed, inside the testEnvironment file, it uses ‘require’ instead of ‘import’.
I changed it to ‘import’...🤔
Somehow it pops out syntaxErrors.🤦♂️
In my actual .test.js file, I use import all the time, never had any issue.
The Babel transform and babel-jest are also in the right place.
Anyone know why?4 -
Keep developer occupied whole day on useless calls to see what he's working on.
Ask next day what he worked on whole day yesterday and to present progress report.
Obviously nothing mf because he was on a call with you. He doesn't have 36 hours in a day.
Moron. -
So I've been tackling the Multer package with express and react, Christ what a nightmare so far. I can't get anything to work.
- Images as array string in mongoDB check
- enctype on the form, check
- state for the field set to an array, check
- type file check
- express configuration based on the Multer docs check
Everything as far as I can tell is as it should be, yet nothing gets saved.
FFFFFF9 -
Do you use rust for production apps? if yes:
1. which framework do you use to build the server?
2. how do you work with mongodb?
3. how do you handle authorizations?
4. any beginner friendly project idea?1 -
Can anyone tell me how I can integrate Mongo DB with golang?
I found go-bongo, but it's not well documented.5 -
Hey! I want to create a note app where multiple user can work on same note in real time. I want anybody can become my partner into this project this is my github link.
https://github.com/priyanshuSharma-...
Tech stack-
MERN10 -
Been sketching websites with HTML CSS and Bootstrap, I’m trying to make a website with JS so it can actually be a searchable and sortable database. I ask for help online in different communities and now I have someone teaching me react and mongodb. Enough with the faking it guys. “Admit whatch you don’t know.”4
-
I completely *detest* that the MongoDB *shell* is just a fucking jS interpreter with extra API calls sprinkled on top and whoever came up with that idea should have all their commits reverted immediately, working with that thing is a punishment!
I don't even know a way to parse and chew through the json it spits out in my own json viewers, as it's "Extended", and none of my editors understand that!
Ugh, haven't been this frustrated with a tool for a while...5 -
Just a question about a generic social app. Using mongodb , 3 entities ,like comment and post . how do I display posts in feeds with comment count and like count . since its mongodb I can't do joins . the other way is to maintain a data structure on the server side . or yet another way would be making 2 extra queries to db for retrieving like and comments count . Any other way this is possible or is it possible to form a query in mongo db to retrieve all 3 at the same time???1
-
All of these mentioned below are tools used by web developers. Do pin me if I missed something or incorrectly stated it.
0. laptop
1. Javascript
2.HTML
3.CSS
4.MongoDB
5. Typescript
6. Caffeine
7. wtf!!s12 -
Dear Mongodb, I created the clusters in your service because you created Mongodb. I also subscribed to the "Premium" to get better service.
I get it, my card didn't have enough balance for the last 3 months but you could just convert my account to "Free".
How could you delete the cluster? You morons deleted all the data of my app of 1.5 years. You even deleted all the backups! WTF!
What's the point of buying premium service if that makes you lose the data? Fuck you!6 -
Using AWS DocumentDB elastic cluster for a sharded managed MongoDB
It's ass is so heavy!! More than 15min for scaling 2 -> 3 shards!
Am I taking a bad decision?7 -
Guys. I'm doing a fairly large scale which will need to serve a few thousands of customers. It's the first time I'm planning to deploy an express node.js to VPS. Want to ask you, shall I look for VPS which have support to MongoDB, or is it okay to use atlas - MongoDB cloud for the user database? I feel a bit weird about having the server on one cloud and the DB on another one. Or is it normal nowadays?7
-
Did you know that theres no real long in php (if so, please tell me how to cast..)?
And did you know that mongodb decides what it puts into it's collection?
I have no idea how to force it to set an int64 instead of int32..5 -
Spent the whole day trying to get php driver for mongoDB to work.. made a php script that connects to remote db, the connection kept returning null/false no matter what i did.. in the end i uncommented a code below that fetches data with the "null" connection and suddenly I see data printed out 😐 well f you too very much 😡
Tomorrow I'll finally play with mongo 😊 i hope it won't be too much of a pain with php2 -
The only reason to migrate to AppSync is the fact that a managed Apollo Server is nowhere to be found.
You heard me, Apollo? Come on, even MongoDB got Atlas! -
I dont get it. Please give me one good reason to use mongoose with a mongoDB.
Once upon a time it might have made sense to use a schema for the db. Today the native driver supports schemas and can check them on inserting. Nevermind one should validate the data before its hitting the db. I listened to an 1hr podcast last week where one of the maintainers tried to give reasons why its might be a good idea to use mogoose, and he failed miserably.
It introduces dependencies that are useless, it doesnt really abstract anything useful from the native driver, its TS support is shit and I dont like the API.
Every time I see someone use it he either fails or doesnt explain at all why to use it. Its so redundant it makes me angry. We have enough abstraction already. We really dont need more code that doesnt provide value. Please just use mongo the way the people of mongoDB intended it to be used.1 -
NodeJS and MongoDB. And tutorials.
Everywhere tutorials show simple example of console.log output of findOne. Good, that works... But when I try to extrapolate example to assign results to variable, it won't work. Inside that fetch anonymous function it works... But outside, simply undefined no matter what I try. Return doesn't return either...
Why it is so hard to make tutorials and examples that would be actually useful. I've spent hours with this already.
And on top of that it is really hard to find tutorials staying with minimum extra dependencies. Like most tutorials in this case throw mongoose in the soup. And I don't want that.
Sometimes makes me question why I try to learn these new things, when I have knowledge of other technologies that I could use faster and easier...3 -
Ok. If you had a blog made with next.js and mongodb, and you are too depressed and lazy to learn AWS lambda/serverless, where would you deploy?15
-
Can any one recommend a good Go framework for APIs with a MongoDB ORM?
Was using Laravel 6/Lumen but it’s API ability is starting to piss me off with its CSRF crap, JWT/Passport implementation and a it’s lack of MongoDB support.
I don’t need any templating engines at all, its all handled by a SPA and Mobile Apps6 -
People love to talk crap about MongoDB but it's not horrible for getting in to NoSql databases. Is it good for extremely important production apps? No, but nobody is saying it is.
-
Yukki Music Bot
okay so, I'm bout to post my first rant and its basically about this telegram bot whose dev team I'm a part of, Yukki Music Bot.
It all started around April 2021 when most of us were busy streaming Netflix, chilling and locked up due to Covid that some people decided to make something interesting and for the community.
It was at first just a simple bot which just played music on call but now, due to the countless efforts and time by the Team Yukki, now you can even stream Ipl in telegram voice chat! and almost all of the music platforms are supported by Yukki >~<.
Check it out at @TeamYukki in GitHub!4 -
I really need help , I need guidance and a journey map from a backend developer , I have been coding for a few months and I have learnt a few things on building APIs and now I m practicing most of what I have learnt. But don’t know what to do next or learn next , I do not know if I am on the right path? Can someone please come to my aid3
-
Ugh trying to refactor a Node.js MUD codebase to use mongodb. It currently accesses/stores it's data in json files via synchronous FS operations. Callback and/or .then hell, here I come!undefined callback hell async mongo javascript async hell node asynchronous promises muds mongodb nodejs
-
Are the any other JavaScript developers here from the UK?
Struggling to find any good developers in London!2 -
ORM feels like, I can do better than that, with more predictability (like naming, table creation, and stuff).
The only pro, is hopes for inter-dialects interop (SQLite-Postgres-MySQL-MariaDB).
OK, I also want SQLite-MongoDB interop, because of the cheap price; but this is difficult. -
We were on track to provision Cassandra for logging and elasticsearch for business data store.
Now we are on track to provision mongodb and elasticsearch. That's right, two document stores.
Things go to hell when management think they are capable of taking engineering decisions. -
Has anyone used mongodb atlas' / mlab's paid plans? I want some information to decide which plan to go ahead with.
PS:
I couldn't find detailed information on official sittes.1 -
I'm analyzing representatives in 20K Italian companies.
Every representative has two attributes:
* sex $RepresentativesSection.RepresentativeList.Representative.Individual.Sex
* birthLabelGenere
$RepresentativesSection.RepresentativeList.Representative.Individual.Birth.BirthLabelGenere
I made a query to find all representatives that has changed the sex.
Why I did this? Because I can.
It worked? No, the provider removed data of people that changed the sex.
I found only one person that has no BirthLabelGenere data
Fortunately it does not work, it's illegal in Italy store this kind of data
Why the hell the provider added this attribute?
RepresentativesSection.RepresentativeList.Representative.Individual.Birth.BirthLabelGenere1 -
Amazon just launched DocumentDB, a clone of MongoDB.
I personally waited for this for a long time. How about you?4 -
So, I have a problem I'm working with mongoose in nodejs and I want to make a dynamic query like I have 2 fields gender and type of room and these are optionals so what I did I wrote an if condition that if gender is not undefined a variable which is q += "gender:" + " ' " + gender + " ' " + ","; and when I pass this variable in find() it doesn't work but if i write the same query directly there in find() it works what seems to be the problem?1
-
Earlier this day, I read that Strapi is dropping its support for MongoDB. I was a bit bummed at first, but their reasoning was good and I moved from MongoDB Atlas to CloudSQL.
From that point on my day got so much better: Now my strapi backend is so much faster than before! I cannot believe, that I just got to migrate to SQL. Should have done this a long time before.
All operations are literally 2-3 times as fast as before. Thank you @strapiDevelopers for forcing me to migrate :D -
Any OutSystems dev here who has successfully integrated MongoDB to OutSystems without using REST? I have a question
-
1. Create informative videos on YouTube about coding and grow my audience.
2. Quit my job and get one that pays better.
3. Learn NestJS/MongoDB stack good enough to finally add a new skill on my resume, hopefully resulting in a new job. -
!rant
If you had to build an event based analytics system what database would you prefer? I was thinking mongodb. What would you use and why?2 -
Trying to make a nodejs backend is pure hell. It doesn't contain much builtin functionality in the first place and so you are forced to get a sea of smaller packages to make something that should be already baked in to happen. Momentjs and dayjs has thought nodejs devs nothing about the fact node runtime must not be as restrained as a browser js runtime. Now we are getting temporal api in browser js runtime and hopefully we can finally handle timezone hell without going insane. But this highlights the issue with node. Why wait for it to be included in js standard to finally be a thing. develop it beforehand. why are you beholden to Ecma standard. They write standards for web browser not node backend for god sake.
Also, authentication shouldn't be that complicated. I shouldn't be forced to create my own auth. In laravel scaffolding is already there and is asking you to get it going. In nodejs you have to get jwt working. I understand that you can get such scaffolding online with git clone but why? why express doesn't provide buildtin functions for authentication? Why for gods sake, you "npm install bcrypt"? I have to hash my own password before hand. I mean, realistically speaking nodejs is builtin with cryptography libraries. Hashmap literally uses hashing. Why can't it be builtin. I supposed any API needed auth. Instead I have to sign and verfiy my token and create middlewares for the job of making sure routes are protected.
I like the concept of bidirectional communication of node and the ugly thing, it's not impressive. any goddamn programming language used for web dev should realistically sustain two-way communication. It just a question of scaling, but if you have a backend that leverages usockets you can never go wrong. Because it's written in c. Just keep server running and sending data packets and responding to them, and don't finalize request and clean up after you serve it just keep waiting for new event.
Anyway, I hope out of this confused mess we call nodejs backend comes clean solutions just like Laravel came to clean the mess that was PHP backend back then.
Express is overrated by the way, and mongodb feels like a really ludicrous idea. we now need graphql in goddamn backend because of mongodb and it's cousins of nosql databases.7 -
Backend developers, your thoughts on this?
"Why you should never use MongoDB"
http://sarahmei.com/blog/2013/...3 -
Recently created a simple nodeJS-mongodb backend for my android app. Is it bad practice to send a potentially big object with arrays to my front end ? I've been struggling implementing this alongside with an ORM because I can't store arrays in my sql ORM.4
-
I have some homework todo:
1.- Install & config a lemp environment for testing
1.1.- Maybe mongoDB & nodejs
2.- Install & config a gitlab server
3.- Config a local DNS -
I search nom package for Express Js who make controllers and Models for postgresql or MySQL instead of mongoose for mongoDB3
-
Hi.. Is anybody familiar with the spring 5.x version with spring data. I am currently using spring 5.2.9 version and spring-data-mongodb 3.0.3.RELEASE. When i tried saving data i am getting below error. java.lang.NoSuchMethodError: com.mongodb.client.MongoCollection.insertOne(Ljava/lang/Object;)Lcom/mongodb/client/result/InsertOneResult;1
-
I am using MERN to develop a poll app. I have 6 collections in my database. I have an API for each collection, 4 of those API returns the data whereas the other 2 return 'undefined'. What is the issue I am facing? Is MongoDB not allowing me to use more than 4 collections?6
-
Mongodb CEO and the developer who build this shit for brains interface should be tarred and feathered. Almost 90minutes in and I cannot connect to anything other than error codes. What in the actual fuck is your job other than to make it difficult for a "free tier" user to connect?
"connect ECONNREFUSED 127.0.0.1:27017"
Oh ok another 20 minutes of work and you give me a bland beige error code like "```TLS/SSL is disabled. If possible, enable TLS/SSL to avoid security vulnerabilities.```"... um ok how do I enable it for your site, your database or on my computer... oh wait you don't say shit do you?
So now I'm fully 81 minutes into this shit show and all I get for error codes are these really descriptive gems 'getaddrinfo ENOTFOUND cluster0.hudbd.mongodb 'dot' net` comes up if I choose `mongo` with "connection string scheme" above it or `bad auth : Authentication failed'7 -
For those learning MongoDB and struggling to find resources on sharding/replication, this video tutorial from Vemara Hub on YouTube is fantastic and his blog also has it in article form. This is where mongo shines.
Video tutorial: https://youtube.com/watch/...
Article: https://csrepo.blogspot.com/2019/...
All credit to Rajesh Nair. -
Facing issues in creating a MongoDB cluster after an installation from tarballs in all nodes as there is no mongod.conf and mongod.service file. Any help/guides/resources?3
-
Mother of rants ...
The AWS and MongoDB Infrastructure of Parse: Lessons Learned -
https://medium.com/baqend-blog/... -
Can someone explain me how prisma ORM works? I just finished a course with nextjs that uses prisma. Prisma basiclly performed all crud operations on mongodb for example. I saw no usage or need for cloud providers (aws). No backend separation. Like literally all of it was done in fucking nextjs. Very efficiently coded but still how is this good? Please explain why not built a separate backend. Why do it like this11