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 - "pdo"
-
Another one, teach secure programming for fucks sake! This always happened at my study:
Me: so you're teaching the students doing mysql queries with php, why not teach them PDO/prepared statements by default? Then they'll know how to securely run queries from the start!
Teachers: nah, we just want to go with the basics for now!
Me: why not teach the students hashing through secure algorithms instead of always using md5?
Teacher: nah, we just want to make sure they know the basics :)
For fucks fucking sake, take your fucking responsibilities.31 -
I believe by the time Elon Musk sets up a colony on Mars, npm will be done installing those fucking dependencies.10
-
Took an interview today.
Me - What do you think JavaScript is interpreted or compiled.
Guy(5+ years of UI exp) - It's neither of them. It just runs on browser.
At that moment I slowly started fading away into a black hole for the absolute peace and embrace death.15 -
In my previous company, I used to work for a client company which had a terrible website. It was about financial data and people would have to wait too long before the page loaded because there was a freaking 1.2 megs of minified, compressed JS file that needed to load before you could do anything.
Everyone knew that was a pain in the ass and nobody wanted to touch spaghetti code and mess up something they didn't know.
I wanted to however take a shot at it. So an architect from client side and I discussed how we were gonna go about it and how we were gonna find the stuff that needed to load on page load and stuff that could be loaded later.
So we plan for it. We broke everything down from a globals polluting JS, found out the variables and functions that needed to run during first load by literally putting a console statement for each function and finally came up with two bundles.
The primary bundle was 120kb and would during first load and then every module would call it's own secondary bundle when the user interacted with it.
In the process, we removed half a meg of JS and the site became blazing fast.
I did it with a team of two members who, my manager thought were useless, learned a ton of stuff, setup proper process for the transition.
When the client didn't appreciate the amount of brain and effort we had put into it, these two members came forward to tell the client to acknowledge my effort and attributed the success of it to me.
I was totally moved. There was so much respect that I didnt care what anybody else thought. I was just so happy to work with those two humans.
When i left the company, i gifted them stuff they always talked about or wanted. :) Feels good.1 -
Ex-coworker of mine fixed this bug a week after the site was launched and has gathered several thousand users in database.
Yep its exactly what you think it is, each time one user would update its infos, it would update his infos to all the users in the database.
Luckily I was not in charge of the project in that time, so it was really fun to watch how everyone's name was changing every couple of minutes for a whole week :D12 -
So what do you do for a living?
- I fix shit. While i do that, i break some other shit and then i fix that shit.2 -
Hey PMs!
Fuck you!
Estimates are NOT... I repeat..they are NOT the FUCKING DEADLINES.
If you are asking for an estimate then remember, in your absolutely fucking small fucknugget brain, that it can FUCKING CHANGE!
The last thing you wanna do is grill the dev by asking them to explain in details why the change instead of trusting them. Specially when you don't understand a thing of the technology.
- Dev on whom you are shitting you asshole!18 -
The recruiter in call today is a spoilt brat .
I answer him wether am I know PHP. So I show him my code in PHP (oop) I show should him how I build a restful API and connect to MySql etc.
He told me that's not PHP , PHP don't use define and class , and that's not how you connect to MySql (I'm using PDO) he confused that pdo is something from Java. He told my code is not working because it is java syntax (actually not even closed)
Then I asked him then show me the proper way , he showed me his code in PHP which is started by <PHP instead of <?php (this is fucked up)
And I told him that (after looking at his code), he yelled at me that "there's no mistake, do you really understand PHP? " And he ended the meeting
All this happen in a zoom meeting.22 -
Sometimes when I code, I plug in my earphones and listen to music, focused, in zone.
* I let everyone think that.
** I actually don't listen to anything.
*** Keeps the buggers away!10 -
Seniors: Welcome to the team. Feel free to ask anything if you need help. There is no such thing as stupid questions.
New Dev: Sure. Thanks.
*a few minutes later*
New Dev: How to comment a code?
Seniors: Google it....and please don't ask stupid questions.11 -
Short version:
Dear devRantdairy,
today I was stupid.
The End.
Full version:
I am working on some messaging system, trying to use less as possible overhead sending data. Therefore there of course are asynchronous calls and some templating. But that's just the setting of the rant: I designed an architecture to save conversations in a database. Working with transactions in pdo I wrote a query wich in my eyes should have worked well. But the result just didn't appear in the table. So I started debugging data. Recreated the table. Rewrote the query. Went to bed. Woke up. Further tryed to make this work. And in the end I realized I just forgot to commit the transaction.
How dumb can you be? There's way too much time gone for that mistake. Is there a hole? I want do dig myself.9 -
It bothers me that IntelliJ IDEs and Documents on Google Drive don't require Ctrl + S to be pressed to save a file.
That's like my birthright taken away from me!8 -
Spend several days decoding API legacy code from the guy who got paid shitload of money and then stumble on the piece of code that shows he isn't even aware there is a count function in SQL (or rowCount in PDO)
:)))))4 -
My tech stack progression:
Started with PHP without any frameworks, using a homegrown MVC architecture. Used to use `mysql_` functions everywhere. And only jquery + vanilla CSS in the front end.
Then moved to use PDO functions in PHP and Backbone.js + Less CSS in the front-end.
Then moved to Django in the back-end. Did not like Django very much as it is too opinionated and not flexible (although it's damn good for rapid development if you buy into their type of things).
Then moved to Flask + SQLAlchemy and using a home grown architecture. This is a sweet spot for me in terms of back end and stayed in this spot for the longest time.
Moved to Postgres from MySQL as I fell in love with Postgres.
Then learnt React+Redux. Liked it. Made most sense to front-end development this way. Moved front-end stack to React+Redux.
Learning Haskell and been working with Scotty and eyeing Servant for a while now.
Let's see where it goes from here.
PS: this is my personal journey through various tech stacks in various products at various companies I have worked. I'm not talking about moving a product through these many tech stacks. That doesn't make any sense.9 -
When you have a product owner who, on her first day of the project, asks you ' What do you mean by UI?' and a week later question a UI dev why should something take 3 days?
Are you fucking kidding me? I am done with this shit.3 -
Keep your arrogance, your fucking stupid logic and religious belief about everthing you say is right aside.
when somebody says there is a better way to solve a problem.. you can do two things. you either listen to them, validate the idea and accept or reject based on discussion or you just be an arrogant fucking prick and stick to your fucking reasoning, about your "right" way.
Don't do the latter. Wont help you become better neither at work nor in life.
FUCK YOU.
- a teammate7 -
why the fuck people name variables endig with numbers? why? how the hell do you even figure out what's what?
checkStatus1
checkStatus2
checkStatusMyAss10 -
me : hey tried allo?
her : what is that?
me : it's an amazing new chat app with google built in and you can do blah blah blah.......
*goes on to explain cool stuff*
her: can i send messages to whatsapp from allo?
me : I AM DONE8 -
The startup life culture is probably killing a lot of talent and taking away peace of mind.
Everything is needed
- too fast
- to work well
Forcing people to compromise on personal life and health.
It also takes away the interest to work on something as an interesting problem and makes it feel like "just another job to get finished".5 -
In the last project i worked in, the product owner wouldn't treat people as people but as resources.
The problem with that is you just look at people and their work in terms of a checklist and remain blind about real humans face.
She wouldn't understand the challenges of building something with an absolutely new stack which people needed to learn from scratch and put pieces together. She wouldn't be supportive of people trying out things and fail.
One fine day I told her that I was spending too much time on meetings and i should be excluding that time from available sprint timings.. she made me open my calendar in a screenshare session with all team members. Made me go through go through every meeting invite i had on calender and ordered which ones should i be attending from then and which ones i wont. That was insulting. It broke the trust.
I decided to not work with the project. Stopped putting my heart and soul into it and eventually got out of it in a month time.
Don't put your team into a position like this ever. You have to trust them with the problems they face and try to find a solution. Scrutinizing and micro management will always kill the team.1 -
I will be working from home tomorrow.
*Today*
I am at office because fuck me! I forgot my laptop charger here. -
An hour before my Mathematical Expression and Reasoning for Computer Science final...
Have reviewed all the material available but past exams are useless because new_prof == new_format.
This is not even a rant, I'm just scared because to get into the major I need an average between this and programming of 82. I fucked up in the second midterm and got a 50/100. Everything was so perfect (at least above 80) and now I need more than 70 in this final. I'm feel I can get more than 70 but I had the same feeling during the midterm I fucked up.undefined is there anybody out there? teach me make-up stuff could not save because brain is full sleep is for the weak does praying work? should i break my leg?25 -
Why do so many companies think that frontend work can be stuffed at the end of the product development right before a release is expected.
And to top it off, expect all things to be working, smooth, animating, responsive, crisp, fast with 100 fucking lighthouse score.
🖕 To everyone who thinks frontend work is meh!, Not real programming and similar. Fuck you!7 -
Marketing : Do you think we can implement this feature in a system?
Dev : Hmm....*checking specs*...This will...
Marketing : *interrupts* we have already signed a contract with a client.
Dev : ugh......7 -
devRant already replace SoundCloud as my orange app in the main screen...
To be fair, SoundCloud was just there to complete the rainbow.
Rant: this app told me that my rant would be safe if I closed the Post Rant window (since I can't post more than one rant per hour or something) but it didn't save my awesome tags! I feel betrayed.undefined fuck it i'm out why not spotify? can't wait for the stickers don't remember the original tags script kiddie af love at first sight finally a rant who's colorblind?23 -
That feeling when a coworker screws up totally. doesn't accept it as their fault.
You look at the code and see so much of redundancy and bad practice galore.
You look at it for a while and think you can rewrite it from scratch. But you finally end up saying "fuck this" and feel hopeless because there is not enough time.
Hate that feeling. Hate it. Depresses.2 -
For fuck sake Facebook! do position:fixed for your goddam toolbar on mobile site because you have that fucking infinite scroll!3
-
Friend : hey! I wanna buy a laptop.. range is about entry level nothing hi fi! But it should work for 3-4 years.
Me : sure.. give me a few hours..i'll get back.
*Looks all around foe the best thing in that price range.
*Sends a list of laptops ranked based on value for money.
Friend : bought it! Yay! 😎😎😎
*Buys the shittiest laptop they could find at that price range with an absolute old age processor.
Why the fuck did you even ask me at the first place? Fucked couple of hours for me.6 -
Scientists have found that If you just kill the Chrome process, it can give you enough charge to fully charge your Mobile Phone.2
-
Feeling sick as fuck. Stayed home instead of going to work but I am already upstet about what is happening whilst I am not there.
The manager was gracious enough to task the other developers with creating the templates for one of our projects. I submitted a document before stating our design guidelines and how under no circumstances they should not use bootstrap for the design since none of them know how to manipulate the source code enough to deviate from the standard bootstrap design. The lead developer, even tho I love the dude, has an attitude against new tech. He is primarily and only a php developer still in love with just jquery and php with no real knowledge of proper design methods. He is the kind of dude that would tell you that pdo is a waste of time and that why should we create models and use oop to separate our code into manageable files.
Today I get "why should we not use bootstrap" and shit like that.
Sigh.....i really don't want to see the shitstorm waiting for me tomorrow.
Funny how our cms administrator is eager to learn the list of technologies i proposed. They both gor Programming Ruby, the pickaxe holy book of Ruby and the dude is already halfway through it while the other developer is still asking why should we even bother when we have php.
I get the idea of if it ain't broken don't fix it and being proficient with one stack and whatnot. But that idea of i dont want to learn something new is precisely what shuts down progress.1 -
Oh man where to start:
Not wanting to use LINQ because he did not wanted to "download external dependencies"
Not wanting to use prepared statements on their php sql code, and refusing to use pdo because they will "always use mysql"(moved to postgreSQL shortly after I left)
For some reason including a php file that only had ?>......thats it....only ?>
Use c++ but refused to learn oop and use structs for everything, importing stdio.h and printf everything.....like really?
Maybe just nitpicking, but refusing to use the recyclerview pattern on am android app. The implementation was faster after I made the change.
Importing a library for promises instead of using the ones already in the language(JS)
Changing the style of aaaaall p tags instead of using classes as well as refusing to use divs in place of p tags...well...fuck
Not indent his ASP classic code
Use notepad on his asp classic code
Use ASP Classic in 2017, even for new projects6 -
I asked one of my engineering classmate which processor they had in their laptop.
Ans : 3GB.
I dont know whether they dont know a shit about computers or they are too bad at english.10 -
People with "I am a senior, only I have to be right" mindset are really fustrating to work it.
It is not that hard to accept the truth. No one can be right all the time and no one gonna look down on you for that. You don't have to shove off-topic stuffs down the other people's throat when you realize you might be wrong.4 -
I propose a list of interesting readings. Not limited to developing.
Yes, I'm in need of something new to read...
I'll start in the comments, feel free to comment new readings or critique the ones proposed.29 -
Name a more iconic duo than web developers on help sites and having pissing contests over which modules they use instead of actually answering the question!
I've been a web dev/server admin for all of about a month now, and only known PHP for about a week of that, and the one thing really that grates on me isn't PHP's odd function naming inconsistencies or at times outright trash documentation, it's the other developers who, when asked a fairly straightforward question about why a mysqli function won't return something, demand you use PDO instead.
Please. I'm running a LEMP stack on a Raspberry Pi here, I'm trying to keep dependencies to an absolute minimum because the SD card is tiny, the Pi will catch on fire if it runs any hotter, and more dependencies are more potential points of failure. Just answer the damn question. I'm not going to install PDO for something I know I can do anyway just because it makes my code look slightly prettier.
Honourable mention to all you Node.js developers out there too, with your thousands of useless npm dependencies. I salute you.8 -
Finally removing all mysqli references and make the pdo statements, so we can finally switch to PHP 7.25
-
#LifeRightNow
- need to find a new place and roommates to live with
- my gf's father doesn't want us to marry.
- my joint family wants to get separated.
- my boss wants me to be at our primary office ( i work remotely ) asap irrespective of anything since it is our biggest production yet.
- i am about the least productive i can be from last couple of weeks.
- going through a serious allergic condition.
#FuckMyLife8 -
well a 🖕🏼 to everybody who thinks CSS isn't really "coding". Stop shaming CSS and people who love it because the moment you would be asked a simple alignment problem, you'll shit your pants.
No! not because it's a hard thing to do in CSS(there are tons of ways to do it.) but because you are ignorant and have prejudice.
🖕🏼 you again!12 -
I sometimes cry a lil bit when I see php sql code without pdo. Specially when someone mentions a cool example online or a tutorial or whatever. Guys please, get good with sql as well as pdo....please pretty please with cherries on top. While we are at it, it might not be the solution to aaaall problems....but mvc can do wonders for you, it really can. That pattern has been on for a while...learn it and use it well. Also, restful apis are good mmkay? They fit nice with the glory of Node.js and its amazing front end powers and utilities mmmmmmkay?3
-
WordPress uses 25+ MySQL connections per person. MySQL limit is set to 100. 4 people can bring down a critical component of the company. Only fix is to write custom MySQL connector using PDO and persistence connections. Added a Resistor cache just for good measure.8
-
I have spent 2 hours fighting with another dev once about mysqli vs pdo and how mysqli is probably worse than pdo, turns out the only difference is that pdo supports more databases, where as mysqli only supports mysql, else their spec is basically the same. 😰2
-
- UI Developer Interview
- 5+ years of revelant experience.
- Says pretty good at CSS
- Have not heard of box model.
FUCK INTERVIEWS. FUCK EXPERIENCE. FUCK EVERYTHING.2 -
After ten years of working sh*t jobs I finally got the chance to study CompSci at a top university... All the kids look at me as if I've been programming for years, truth is I just study a lot because my scholarship requires me to get B+ or above.
-
2nd rant this week on PHP PDO
PHP 💩:
PHP message: SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute
Me 🤬:
THATS WHAT I’M FUCKING USING. STOP FUCKING COMPLAINING. YOU DIDN’T LIKE THE FUCKING COLONS FOR YOUR FUCKING PARAMATETRS, NOW YOU HATE YOUR OWN FUCKING FETCHALL() METHOD YOU PEICE OF SHIT, AND YOU CAN’T HAVE ANY OTHER ACTIVE QUERIES AS IT’S THE FIRST FUCKING QUERY. ARRGHHH!!!!!
What the actual fuck is wrong with PDO. It bitches about everything 😡.8 -
Me - 1+1 is 2
Client : Did you say 1+1 is 2
Because even i thought 1+1 is 2 and i think we should go ahead with 1+1 2 because that seems like a good thing to me.
***"1+1 is 2" can be replaced by some long tech discussion
#my brain hurts3 -
I have a new personal project that I hope I'll share with you guys one day. It just came to me. A fog simulation for a window manager such that it has fog behind the transparent console while you code and the fog goes in front when the terminal is locked. How about it?2
-
Many of them. Can't decide which one is the biggest.
- when the asshole in front of me picks up a call and is loud as hell. Wanna kick his nuts.
- Chats. Hangouts. Whatsapp. Just name it.
- retards who don't know how to google something or even worse..what to google and come straight to me to get a solution.
- My own fucking head at times. You start talking about space tech and i'll have to jump into it. And i end up wasting half an hour.1 -
Got my first job, 3rd year student from my country took me in to help making an app for a company in Texas... All the other guys are from 4th year or graduate school. Feeling nervous, let's hope I don't fuck up.2
-
(Saturday morning)
Me: I've never been so long without exercising (since before this, my first winter), I should get in shape now that this God forsaken weather is finally reaching livable levels.
(some time later at the gym)
Also me: You've always been in good shape, why stop with just chest, let's do some arms and shoulders.
(48 hours later, Monday morning)
I had to turn my whole torso to look if any car was coming while walking to the library, moved like terminator because of the massive neck muscle pain, suffered through the pain of setting up all my study material to the realize (just now) I can't even fucking look down to my notebook... Can I be more stupid?undefined i'd rather be hungover all bodies are beautiful therapist or massage therapist? can i eat that with a straw? hasta la vista baby -
to whomever it may concern...
if i wanted to do code review keeping in mind how asshole you have been and made it my personal vendetta, i would not review it at all.
i would let you and your shitty code rot in hell. -
Tl;dr: I'm a shitty PHP programmer, but even a shittier JS programmer.
I made a whole image upload system which has an elaborate login/sign up facility, checks the dimensions of an image, it's size, checks if it's broken, compares it to previous uploads to prevent duplicates, take comments, sorts them per user and stores it efficiently in a db and accesses it using PDO, not mySQL, displays it as a gallery, and even lets the users transfer images amongst them.
But I can't make a simple shopping cart in js.
Why? Just, why?3 -
After 8 hours of carefully installing Gentoo in my laptop I ended up with a... Completely unusable OS. Guess I'll try again tomorrow, apparently I didn't set up the kernel with the appropriate drivers.undefined there is no such thing as wasted time and you complain about arch no pain no gain? ping 6.6.6 at least the keyboard lights work2
-
I discover last week Eloquent ORM.
A php database abstraction layer.
How to make things quickly! Great tools!6 -
I learned C with a K&R copy a friend gave me years ago. Now at University we in CompSci get taught in Python the first year and Java next while the engineers start with C and (I'm guessing) move on to assembly later on.
This friend comes to me all worried because he has to submit the next day a working Reversi game for the console written in C. Turns out the game was divided among two labs and he failed to submit the first one.
The guy is smart but once a week or so, when we met to smoke a joint and relax with some other friends, he was always talking about how he would prefer something like law but that would be bad business back in Egypt.
Back to the game, I get completely into it. First hour checking all the instructions he was given, then reviewing the code he wrote and copied from Internet. We decide start from scratch since he doesn't really get what the code he copied do. It took us 10 hours only stopping to eat but we get all the specifications of both labs perfectly.
A week after that he comes to me: "my TA said your code is the ugliest shit he's ever seen but he gave me a perfect score because it passed all the tests". I'm getting better (the courses I'm taking help me a lot) but what really made me happy is that he solved the next lab by himself (Reversi wasn't the first time I helped him, only the first time he was absolutely lost). Now he actually gets excited about coding and even felt confident for his programming final.
No more talking about being a lawyer after those 10 hours, totally worth it.1 -
OMG... I want to thank my mother for changing my diapers for many years, my brother for all the games he no longer plays, my wife for actually making money, my plant for the awesome smell, God for maybe doing something (I guess), thanks @dfox, @trogus, and each one of you guys that deemed my rants worthy of your ++.1
-
TL;DR: TIL for heavy queries use PDO and not some frameworks DB class
ffs I was trying to save 300k+ lines at once with Laravel for weeks. Mind you from a text file. 1gb ram on the vps so while trying to prepare the text to save: Fatal Error: Allowed Memory Size of bla bla Bytes Exhausted
ok so lets put it in a loop: Fatal error: Maximum execution time of 30 seconds exceeded (set_time_limit(0); lol)
optimising, varying the code got me into a situation when the content got saved in the BD but inconsistent (duplicates) and the table had often more than 1,5M rows. That was what told me its not a performance issue, my code is the issue. (dah)
I was starting to think it would be easier to export a prepared query to a sql file and load the file into the db as thats the fastest possible option...I even started to think about switching to python, then it hit me, Laravel has a shitload of routes to the DB so I switched to PDO
benchmark on 1vCPU, 1GB RAM VPS with SSD
379k lines with 11 columns in less than 10 sec with a loop of saving every ~6000 rows (if i tried choking it to save the whole thing at once it went up to 16-17sec)2 -
So today i have to install the gigantic shit called cPanel on a vm that run on a macmini..
Our server are on cpanel, I'm installing it for tests purpose..
I already know that i'll swear more than i ever did before when i'll have to make pdo odbc working on easyapache4 for our db hosted on mssql server... RIP me1 -
Just started a new job at a big co.
Expected to implement small new feature, no sweat about 30 LOC. Unfortunately no unit tests, no way to test without real data.
Spend 2 weeks trying to get it to run on the test rack. Lo and behold the entire testing system has been sitting broken for months and nobody knew. Why is all the documentation so vague!???5 -
why the fuck no client underdtands that a native select input cant be styled to show fairies and angels. and the same goes with many other browser elements.1
-
My dumbfuck hosting fucked up the mysqlnd installation and it is missing the pdo api extension. All my queries are returning strings for every field. It's easter so no support available. I've planned to deploy the new site in this weekend. Now i have to manually typecast after every query because i've used === everywhere. This will be a long day...6
-
Disclaimer!!!
Do at your own risk.
-----------------------------------
- Take a strong magnet, like a neodymium magnet.
- Hold it in your hand.
- Move your hand across a Macbook 15"'s keyboard. Say from left to right or vice versa. Almost touching they keys.
You'll see the screen dimming. If you just hold it there for a little longer, it'll lock your macbook. It's funny, but I am not sure if it's doing some damage to hardware.8 -
Best part of being a dev is that you get to be part of an amazing community like devRant.
Also the kind of jokes and stories devs get to share and laugh about is beyond anything. 😍 -
Asked us to build a car and later complain because it cannot fly.
And then, expect us to turn into a plane in 3days? -
I made a big project on a personal web site. I send form to people to know the future community.
During one month, make it and a friend tell me :
'' For your big project you can use Laravel or symphony, that's be useful for you, but this is heavy to learn ''.
I tried 2 days and stop it...
This is so different... But that could be very cool to know it, I think...
I have a question for you :
Does I have to continue learn it? This is very important to know it?
Ps: I programm in php/pdo and mysql ans some js4 -
Motherfuck oh clients! My goodness their requirements.
They want a tiny part of an app load inside an iframe in a different app and have the data communicate both ways and the ui should look seamless and mobile responsive too.
What the actual fuck? iframe in 2016 ? Seriously?5 -
protected $db;
$this->db = new PDO($tooLazy, $toDeclare, $everything);
public function getCoffee() {
$getCoffee = $this->db->prepare('SELECT * FROM Coffee');
$getCoffee->execute();
$result = $getCoffee->fetchAll();
return $result;
} -
Why does the Fat Free Frameworks (F3) $db->exec() method have its array count from 1 and not 0.
Instead of doing:
[$param1, $param2]
You have to do:
[ 1=> $param1, 2=> $param2]
WHO THE FUCK THOUGHT THAT WOULD BE A GREAT IDEA?
This is something that PHP PDO gets right, AND I FUCKING HATE PDO!!!4 -
I get a chill or an eerie feeling when there are more programs open than needed and I go ahead and kill them.
Is it just me or happens to others too?2 -
Been using Macbook Pro for 6 months now for development work. Except for the retina display and the battery, I don't like a shit. I would love to go back to ubuntu and a normal keyboard layout.4
-
What do people feel about remote work?
I got into my current work about 8 months and we all were remote working.
In 8 months, we met in person several times and worked together at one place for a week or two.
We have never overcome the feeling of a disconnect when we work remotely. There's less focus and less clarity on things to do.
Is this common? How do people be focused and productive in remote work?
Also how do people communicate effectively?2 -
After paying 3 years in advance to my host, some emails of the owner of a project I work with (very small thing, but still..) began to disappear. She doesn't receive the messages and neither the person who sends receives a error message. I've contacted them but no one could found out what is happening.
In this meantime, I had to change the PHP version (there is a version control in their cPanel). Just after changing, Mysqli and PDO stopped working. It took about 4 to 5 days for them to fixed it (shared host).
Back to today, I needed to send and receive lots of emails of this project. As we are losing tons of legitimates mails, we started to cc our personal emails to avoid misscomunication (deadlines are very important). Of course, exactly today, Microsoft's mail stopped accepting any emails of our host IP, as it appears someone has an Trojan hosted there. Of course, except me, everyone else personal email address are Outlook.com.4 -
A game lover and anticipator of No Man's Sky. It's the shittiest, most boring, most repetative game i ever played. the graphics sucks. the game assets suck...the game sucks. The apparent lack of variety and stuff you can do will piss you off. This is thr game which could have been one od the best but turned out to be worst.3
-
I worked hard to learn it so I can impress and then ended up loving way too much that it became my career.
-
I like the settings on my phone as dark as the dungeons with Geralt and a torch or the awesomely dumb flashlight from Doom 3.12
-
Responding to a numb sales guys joke with "do you know the best about UDP jokes? - I don't care if you don't get it! " ...turnin around left the hallway... Unbeatable
-
Does anyone else feel like their brains aren't working, like they cant focus on anything and this has been going on for more than a week now?
I know there are things to do. I have gone through huge pain created github issues for those things but my brain just seems to reject the idea that it can solve those issues. Just feels like playing a game or just killing time would be best!
Needless to say I hate it.
Happens/happening with others?2 -
so what is worse than monday morning?
It's finding the right angle for your macbook pro screen because the office changed the fucking lights and they reflect more than ever.
AND THEY ARE BRIGHT AS HELL. MY EYES BURN!3 -
Just enrolled myself in Andrew Ng's Machine Learning course at Coursera for the summer, is it a good place to start? Any recommendations?
-
Not only can I not download the attachments in bulk from my Outlook account, but the download button opens a new f*cking tab where I have to click download again after it fully loads the whole page. I'd gladly use this shit software if for every attached file I download a wrench would tighten on the genitals of the idiot that design it.4
-
Just one day please. I just want to sleep in once without that dreaded phone call or alert.
I know one of my favorite things I. The world is donating my pdo back to my company but my wife isn't so happy about it. -
Why is PHP PDO such a b*tch to work with?
One minute it says it’ll accept one query via one method for one insert but then deny the next query you give it, all because of “:” within bindParam() -
I am busting moves rn. I'm in the bathroom but the surge of energy is making me pump my arms like the time Leo Messi scored a clutch winner against Valencia in 2019
Remember the plugin I referred to in this rant? https://devrant.com/rants/6019851/...
Yup! I managed to subdue that fossilised codebase. Effected all changes required. To have a rough idea about how ancient the code is, its classes use constructors predating PHP 5. It throws away the ~15 years of autoloading, view templates, routing engines, DI, ORMs (NO PDO!!), lower-cased multi word variable names, etc. I'm looking at SCRIPTS with raw functions north of 4-600 lines. The client insisted I zip the folder across
BUT! The good news is, we surmounted it. In fairness to them, it's commendable for one man to have pulled this off. The codebase is massive and appears to have been predominantly written by some Gideon dude. Who knows where he is now
There is one pattern I appreciate –something I wish Transphporm does–some segments of the rendered view are composed using class methods ie instead of having the HTML file mixed with templating syntax, you have class methods that receive the raw data. Then you can extend this class as you wish, overriding just the method that composes the segment you intend to modify. That was elegant to work with. But it can become dreadful if the class expects a specific structure of data (an array with weird keys) that you have no access to sourcing
So, I finally get to enjoy one good evening in 2/3 weeks. I called 2 friends to express an emotion that's not gloomy, but they were unavailable. Will probably get some sleep4 -
every fucking time when the product owners start talking absolute shit that you have no idea and you would never need to know or listen to.
ITS A WASTE OF MY FUCKING TIME. SHUT THE FUCK UP AND TAKE IT OFFLINE. -
so i took a deep dive into my work at the previous company, the amount of effort i put in and the amout of new things i learned. At that time I was pissed every moment that I had to work there and it was such a pathetic place..but now I feel i created amazing things there. brought a smile today. Not a rant.. but something my fellow devs might have felt.
-
So, I have a little issue with a program on Github.
- little ttest script in PHP PDO: works
- MySQL-CLI: works
- the program itself: doesn't work
In all 3 cases, the credentials are the same (checked a thousand times)
maintainer be like: "this issue is most likely caused by invalid credentials or the user that doesn't have the rights"
Not the case since the other 2 test cases did succeed --'6 -
1. Only thing where correct logic doesn't backfire at you.
2. It is a wonderful thing where you get the satisfaction of solving something, organizing things and making things look beautiful all at once.
3. Its the only thing I know how to do to make money :p -
So, yesterday I have been working on a php project (commitent asked for it to be php) and I spent the whole day trying to solve a "driver issue" exception.
I previously worked on various WordPress projects as a freelancer, so I should be fine, right?
I couldn't fix it in the whole day, tried all the solutions on google up to the 5th page, searched around stack overflow etc, and the error message is just "driver not found"... Gee php, thanks for the details! I am sure it will come out it's something small and easy, but I have learned enough about php and I want to stay as far away away from it as possible.8 -
this happens when i am learning something new and however much i try, i cannot solve a problem, i go home and cook. Clean the kitchen in best possible way. Eat with peace and voila.. things start making sense. :)
-
Since HR does job postings on StackOverflow I'm aware that they have a landing page. ...did not expect that. 😀😀
-
Darn!
It's simply the Parkinson's Law guys, it says that 'work' expands as until it reaches it's deadlines (if any), so for indefinite time, I guess I'll plan and admire many projects but COMPLETE NONE!
DEADLINES ARE NECESSARY,
else I'll keep kn moving from one project to another without any plans of completion :3 -
Having no human contact for work since starting an internship over year ago and now through January now sucks, but what’s worse is the rug being pulled out from under me
The office isn’t even that nice it’s really just about talking to people1