Details
-
AboutWeb Developer, Nerd, Human
-
SkillsPHP, JS, CSS
-
LocationGermany
Joined devRant on 10/21/2017
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
-
I don't get it. What's wrong with it?
-
I had a client once like that. They kept insisting that the changes were not made by them, although I could see in the log files that it was in fact them who broke the site.
I just started to pretend to panic, saying something about a security breach. Then I changed all passwords and billed them a full day for "security audits". -
Thank you all for the advice. I have some more ideas now and will keep you posted. But I doubt there are devs here from the area around Siegen, Germany :D
-
Continuing on the client's money analogy: When someone copies your credit card info, that's not a problem, right? Nothing is missing, he still has the info. No harm done, right?
-
Have you looked at the TYPO3 core code recently? WordPress is nothing compared to that. At least WP applies filters and hooks consistently.
-
My favorite: Bugs that disappear when you turn debug mode on.
-
And I still don't know what's wrong. Someone at the client changed the Hosting password and told no one. So no access for me.
-
The website is a few years old, and no one ever bothered to retroactively install a cert.
-
Here in Germany, all major hosters charge extra for legacy php 5 support. That makes it pretty easy to convince my clients to upgrade.
-
Use case:
I wanted to sort an array by its keys, some keys were strings, some integers. I needed to sort them ascending, which would place the numerical indexes before the steering indexes. But I needed the numerical indexed after the string indexes.
So this is my compare function:
function ($keyA, $keyB) {
if(is_numeric($keyA) xor is_numeric($keyB)) {
return $keyB <=> $keyA;
}
return $keyA <=> $keyB;
} -
The offer came quicker than expected:
Overtime will be limited to 10 hours a month, even if that means some projects cannot be finished in time.
Project managers will be forced to calculate realistic deadlines. No additional projects will be forced into the full project capacity.
Overtime will not be paid, but since it is capped, we will be able to take time off more easily to reduce collected overtime.
We are very happy with that compromise. Thank you for your support! -
I can almost hear the dialogue between the dev and the designer...
Designer: Can we make the buttons be the same width regardless of their content? I want them to be exactly XXXpx wide (I measured in my browser).
DEV: Sure, but this might break the design if the labels ever change, or if the user increases the font size, or...
Designer (interrupting): No it will be fine. The text will never change anyway. You don't know anything about Design! Just do it!
Designer (20 minutes later): The boss wants the button to say Pre-register instead of Register. That is not a problem, right?
DEV: Fuck you... -
@heyheni Yes, it is illegal. Yes, we could create a Betriebsrat. No, there is no Union for my job, sadly.
We are very pissed about our bosses attitude. He is extremely manipulative regarding salary and overtime negotiations.
Once you see through his bullshit arguments (which I now do), it gets apparent how disrespectful and dirty his tactics actually are.
For example: He misses no occasion to tell us "how hard things are" to create the illusion that there is no money. When you complain about overtime, he stresses how unfair to everyone else it would be if he made an exception just for one person. In reality, the only true injustice is that he does not pay anyone for overtime.
Worst: He insists that employees who show initiative and give everything for the company (unpaid overtime) are rewarded with loyalty and a big base salary. But: I know of one person, working for us for years, doing overtime every week, always staying late. He had not had a pay raise in 9 years! -
I had the talk. As expected, they were not very open for paying us overtime, but they want to find a solution and do something about it. My collegues and I will listen to their proposal and then take appropriate measures... We will wait for their proposal no more than two weeks! Stay tuned!
-
Will deliver in 24-36 hours!
-
Clarification: The company is 18 years old. I am only in my 4th year there.
But still, there are apparently some employees who have been doing 20-40 extra hours every month for years now. -
True story: I once passed on an amazing job in an amazing environment for top pay, because you had to go through the meeting room to get to the toilet. When we had client meetings, you would have to interrupt it to go to the toilet. Deal breaker for me and my nervous digestive tract.
-
@Frederikam Most of the awesome stuff out there is created by accident.
-
Find something that you personally would find useful. If it doesn't exist yet, you found your niche!
That's how you get a lot of people to use your service without even trying. -
I have a few clients on the side wir which I occasionally work on the weekend. Hand picked, fun projects.
Then I have a few private projects, mainly: A crossword puzzle generator I wrote on one lazy weekend a few years ago and which is used a few thousand times a day (who would have thought?) -
No, I am no git guru, I am a git master...
-
Also, now you need to use Cookies to save when a user closes the notice. You should make it say "This page uses Cookies only to show you this Cookie Notice!"
-
In the European Union, being able to delete an account completely is mandatory by law!
I am sorry, I haven't implemented account deletion in one of my web apps yet, I haven't had the time... -
@ikdekker You broke the chain!
-
It's hard to overstate my satisfaction.
-
Not all companies. There are plenty of companies that don't care, mostly smaller companies with less than 100 employees.
-
https://regex101.com is an immense help for that!
-
The postfix operator ++ has the higher precedence so it is evaluated first. It increments n but returns the old value, then the = operator assigns the result of the ++ operator (the old value of n) to n. So n is not incremented!
-
Backtracking is the way to go. Not perfect, but the most efficient way to do it.
-
Relocating, renovating my new home. Today the movers are expected.