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 - "faker"
-
I'm sure most PHP peeps have come across the "Faker" library, which generates a plethora of random content for you.
Let this be a warning to you.
Today I used their "realText()" (see: https://github.com/fzaninotto/...) method when seeding a database for a client, which, oddly enough, generates text using real words.
The client wasn't too impressed and asked me why I would type in "So she began nursing her fat again" as a sample Faq. It required an email and call to the client to explain it was all auto generated text and I didn't type anything myself.
Should probably just use their basic lipsum text methods next to generate some gibberish :)3 -
I was assigned a ticket which was about a drop down menu which was not aligning properly.
Turns out the drop-down was positioned absolutely and my co-worker (read bestie) had written media query for every 10 pixels to match the position for mobile and desktop devices (from 320px to 1040px and beyond ~150 lines for a drop-down). No one noticed any flaw for few weeks until one of the QA had to check the site in landscape mode on mobile device.
I replaced it with 4 lines of JavaScript.3 -
The down sides of living in a third world country, the prices of things { especially electronics } are so damn expensive. I love my country and all but hey this is really unaffordable.
To give you an idea, I work for 40 hours a week, four weeks a month and earn around 25,000 rupees.
Sometimes I just watch videos on YouTube of people building things and feel happy for them.14 -
Swithced to Ubuntu, this is my first ever OS outside of windows. Man I am loving this shit.
Bought my laptop with windows 8, was working like charm and then came windows 10, I updated it and it was working fine untill they started releasing the patch updates. My laptop became slow as fuck, taking forever to boot and bitch was I afraid to connect to my wifi fearing the background data consumption and the antivirus clogging the ram.
I am free now, I am finally free. I am ready suck the developer's dick just to please him for this masterpiece and helping me get out of this misery.19 -
Top 3 times:
1) When I amazed myself by solving a problem using recursion.
2) When I taught myself how to make my a restful api and consumed it using Ajax.
3) When I converted a psd in to a responsive pixel perfect webpage.
Writing code makes me feel I am worth something in this world.1 -
What music do you listen to when you code? Also, can you please recommend some. Music with minimal to no wording is what interests me. Any suggestions would be appreciated:)37
-
1) That loud ass mother fucker sitting besides me, shut the fuck up.
2) Air motherfucking condition turned all the way to the max makes me horny and want to fuck your motherboard.
3) Illiterate assholes writing code without any comments and half assed function name just to look cool when we approach them for doubts.
4) Onsite motherfuckers enjoying their lives, taking photos of it and posting it in a monthly magazine while we s(h)it behind the fucking systems all day.
Thank-fucking-you, y'all can die suffocating in your own smelly dierraea poop.6 -
I received this special picture per WhatsApp. It changes its color the first time while downloading and the second time after you tap on it.
It goes from about #ff96e1 to #42000d
(Yes, I know these Thumbnail-Faker but in this case it keeps changing its color even after opening and closing the pic multiple times)
I did not find anything by inspecting it on PC...
Does anyone have an idea how it works?21 -
Duck duck go CEO's take on why to use their search engine and not google.
https://quora.com/Why-should-I-use-...5 -
Gotta love npm open source packages
A developer appears to have purposefully corrupted a pair of open-source libraries on GitHub and software registry npm — “faker.js” and “colors.js”
https://snyk.io/blog/...
https://theverge.com/platform/amp/...
https://github.com/Marak/colors.js/...16 -
So this just happened,
Me and my co-worker (we are junior developers) were working on the same bug, it was a post call throwing a server exception.
We had asked for help to debug this issue from a senior developer the day before, he was quite busy with his own tasks.
He is one those kinds who would keep working even if the entire bay is wasting their time, always keeping to himself, needless to say I haven't seen him smile.
Back to my story, he couldn't spare time yesterday so we tried to squash the bug ourselves thinking he might have forgotten we had called him.He then comes out of nowhere, he firsr checks the button bindings, params sent and the call being made.
He then went through the backend code strategically placing the break points, clicks and debugs a few times and then opens the console. BAM!!!!
" D' hell yo !!" Shows up in the console, not just once but multiple times. Turns out I forgot the logger I had placed in the catch block.
He turns to me in super slo-mo looks me in the eye and whispers "what the hell yo!" and kept quite for some time, meanwhile the sense of cringe was slowly creeping on me. That was when he let out a loud blurt and the entire cabin turned to us. Needless to say it was awkward.
His smile was creepy though :/ -
I hate the feeling you get when you do a lengthy, drooling task that once finished got you nowhere.
My day was mostly productive for a Sunday, woke up late as all Sundays, spent the afternoon writing a proposal and exercising when I saw a notification for a homework for tonight at 12.
A research paper about Dijkstra's philosopher problem, 8 pages minimum. To be honest I've seen the problem a long time ago while studying C++ and I had the theory down and that is my issue, it becomes inherently boring and useless in my head. Is in this situations that my mind gets lazy.
I wrote the first 3 pages in half an hour but I was done, I started revising the proposal and fixed a calculation error, checked Rust's take on the philosophers issue and decided to save it for winter break along with learning Rust (although got some basics down), made rough budget approximations for the next 3 months, lost myself a little bit on deep house music (notable tracks tadow from masego, nevermind - Dennis Lloyd and gold - Chet faker), etc...all in all it took me 3 hours more to finish the assignment, including breaks and dinner.
I am working on a lot of stuff lately and my main project's sprint ends this Tuesday and it pisses me off, after all that I learnt nothing new, got nowhere with my project and will probably get 80 because Google docs has no margin setting. Worse than being lazy for fun is inevitably being lazy for being compelled to do low priority tasks by your head's standards.6 -
ok, so i remake music and make sprites sheets for smaller developers, in an attempt to make them more recognizable. the devs normally give me a place in the "special thanks" section of the credits, and then i got people spam messaging me asking me to make them a game or something, so i explain to them i dont make games, just assets. however no matter how many times i tell certain people, they still keep on asking me to make a game when all i do is remake music and do a bit of pixel art, so the conversation usually goes a bit like this -
Them: Hi! I was wondering if you could make me a game?
Me: I don't actually MAKE games, just things you can use in your game.
Them: So can you make me a game?
Me: I don't know a single bit of programming, i just like to remake stuff.
Them: YOUR A FAKER???
Me: No-
Them: YOU SAID YOU CAN MAKE ME A GAME!
Me: i never said that, and i DON'T make GAMES,
JUST ASSETS.
Them: i'm blocking you
Me: why tho
Them: blocked :)
Me: [content hidden]
___________________________________________________
so yeah. this is why i stopped making assets for games and just remixed tunes for personal use.4 -
I regret moving to backend. I loved the days when I used to write lines of code and refresh my browser for the changes to be displayed on the screen. I loved seeing the output of my code, the code flow, the light weight text editor, the visual satisfaction and the chrome debugger.
Now I am fucked up, I am working on creating microservices for restful api. I am hating everything about it. The fact that I should compile the entire war, manually copy them to a webapp folder, restart my tomcat and wait for 5 minutes just to see my code, and the text editors are just a pain in the ass, the debugger sucks too.
I was so looking forward to being a backend Dev because I thought Java was cool and I also was fedup with cross browser optimizations on the front end. Now I would gladly write a streaming service foe ie6. Spring has fucked me up so hard
God save me from this mess.6 -
My 2tb portable external hard disk is messed up :( . The disk isn't spinning. It is under warranty but I am so depressed.4
-
Look who is here!!
First of all, when was it ever stable and I can bet nightmare for front end developer has just begun.5 -
Took a day off and came back to find my team and I were moved from frontend to backend (which I always wanted to be).
Manager says we get to learn Java, Mongodb and even Hadoop.
I am so so excited.
But the only little hold back is, there is limited support for Java in sublime text and I should instead use eclipse. I had dozens of shortcuts customised with all those beautiful themes in sublime, but eclipse takes the fun out of coding(no offense to eclipse lovers).5 -
As an interviewer or a senior software engineer who would want to hire someone new to your team, would you expect a person with a solid grasp of algorithms or a person who has good experience in the stack you are using? If both, what would be your priority?10
-
Job description of an internship. They want me to know react framework in Java. I am going to apply anyway coz i'm desperate for a job.3
-
Including jQuery everywhere even if the size of my code is lesser than size of the plug-in itself.1
-
Vocabulary for the day.
Screed - An abusive rant is called a Screed.
Usage - I'mma screed the shit outta dem pathetic species of blood sucking parasites AKA dickhead project managers who do dem (developerEstimatedTime/2) quick maths.
Fuck you1 -
I started working for a startup as Server Administrator/ System Integrator beside university to get some dollars with easy work and nice people.
((I Know two of the C*Os so I got a had feeling with this. Besides the upcoming story I'm still really happy with my position and career chances here. God bless my Department which has the most funny/rude guys, love you.))
tl;dr:
Guy fakes his Skillset and fuckup whole department, can´t do most of his basic tasks. I had my first and hopefully last interaction with this bastard.
Heres how everything started:
I was more and more involved in the leading processes and decisions.
Heard about a story where and why the whole dev-department was kicked out of his position because they were crappy developers. And cant just believe the stories they told me about the former Dev-Lead
Now I met the former "Development Lead"
I was brought in because we in the IT wondered why he would like to share his local machine password with colleges. After some questions he came out with the Reason.
He is doing home-office for some days a week now and wants his colleges to be able to start his "software". (already confused by that)
The "better IT-guy" in me offered help for automatic deployment CI/CD stuff so that they can use it as an inhouse service.
BIG OOF incoming:
"The code is not in git because I wanted to clean it up before"
"My IDE is the only place where my PHP crap work is running"
"The 'PHP-software' is to complex for this"
My Lead and I were completely speechless,
I understand the decision to kick this "dev-Lead" from the lead position down to a code monkey/ script kid.
Now I´m thinking about getting my Hands on the Lead position after my exams because if such bastards with no clue about basic stuff, no clue about leading, no clue about ci/cd, no clue about generic software stuff get the job I would easily be the "good IT-guy" with more responsibility/ skill.
Now I sit here, hate people that fake their skills and set back work of colleges for multiple months and never asked for help or advice.
And the little "Bastard Operator from Hell" in my just wants to delete all his files, emails account during a migration to completely demotivate the person who failed to be responsible for a team nor their projects.rant ci/cd php administrator startup script-kid i hate people unskilled skill faker lead developer devops5 -
Was really motivated and started out with Android development.
Android studio is sick as fuck.I am struck in the second step.The only solution I can find is "try restarting your system".
Like wtf arrrgh!!
After gazillion times of restarts later. Finally, I am giving up.
Thank you google, now go f*ck yourself.9 -
This one makes me legitimately angry:
https://github.com/fzaninotto/...
This library is used by thousands of devs on a daily base while the code-base is an unchangeable legacy monster.
I could vomit, because I'm so happy!
Jeez! -
Came across this
Is making apps haram?
The answer top answer would surprise you
https://islam.stackexchange.com/que...5 -
I was a frontend developer, and I am new to hadoop or anything related to big data.
I am currently working as a Hadoop developer and I get to work on one of existing codebase also I am trying to recollect Java which I learnt during college.
Can u please provide me any inputs on how to get started with Hadoop, a personal view point on scope and future of Hadoop. A rough time span of how long it took for you to get out of the noob zone.
If you could provide me with a good tutorial or blog that would be awesome.
Thanks in advance1 -
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 have always wanted to be a writer. I just pirated Dan Brown's origin and immediately felt bad. suddenly I got this feeling, if god decides to include all the pirates as sinners and tries to wipe them out like Thanos did I am pretty sure 75% of them would be outta this world (considering even mp3 downloads as piracy). I might need a special therapy to calm myself down if at all I write a book and I find it pirated across the internet.1
-
Was moved from frontend to backend. I am an absolute noob in java, code has no documentation, no formal training, code has cross repository dependencies and I have been assigned with a case and was asked to debug, felt like a pathetic piece of shit. One of those depressing days, but the good thing is we were moved here as an entire team and apparently everyone feels the same way 😂 which makes me feel better.
These are one of those short phase of "0 productivity" days, I wish Java god help me and let me write code with my usual speed, untill then I am going to feel miserable and bad about myself. -
I am a graduate student having a hard time finding an internship. I wasn't ready while the big companies were hiring for interns. 200 leetcode questions later I am confident I can crack an interview and now nobody wants to hire.
Most of the reject letters are pretty messed up stating that they have "found more talented individual" or "found a better candidate".
Applied to almost 200 companies, not one reply. :( Hope this doesn't happen during full-time job search.
I was rotting in my room practicing for the interviews and applying for the last two months during this winter break. Hope I don't sit idle during my summer break. :(4 -
Trying to get few things out of my chest.
Nothing is more frustrating than to make use of a bloated base code. Though it gets the job done, trying to fix bug-bombs planted by other developers is nerve wrecking and makes me feel like a member of bomb-squad. Damn!!
Also,
To the SUV guy who took a sudden left to dodge the pit, you startled me and I am sorry to have flicked my finger at you. I honestly didn't notice you had your family in car, heat of the moment made me do it. 3 weeks gone, still unable to get over it. Forgive mee!! -
Having one year of experience in javascript and almost a year of experience in java. I am still not sure which one to use for interviews.
Would I able to handle questions on hashmap and hashset if I chose to work our data structures problem in javascript?.1 -
!Rant
Any tips for eye soreness? I don't feel it when I am working in front of the computer but it gets sore at the end of the day and few minutes in the morning the day after.I typically see the screen for around 9 hours.
Is this common? How do you devs overcome this? How do you devs protect your eyes? I'd like to get any tips from you people.
Thanks5 -
Fellow devRanter needs your referral for internship in United States.
I was not confident or ready when the big companies were hiring for an internship. 190+ Leetcode problems later, I am now confident that I can crack technical coding interviews but I think its too late now. None of the companies I've applied to has responded back to me. I am worried that I have to stay idle during the summer break. I have 3 years of prior work experience as a software development engineer with a decent GPA and a few side projects. Any help would be much appreciated. Please provide referrals if your company is hiring candidates for an internship position. Thanks.
I'll share link to my leetcode profile, my github repo and linkedin profile. Please dm me.5