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 - "psr"
-
I still haven't updated my Windows laptop of new update. The reminder is annoying lol, I have clicked snooze button more than I do on my alarm6
-
Java is to JavaScript
: what Car is to Carpet
: what Swift is to Suzuki Swift
: what Perl is to a Pearl
: what Ruby is to a Ruby Gemstone
: what Go is to Go Home
: what Shell is to Sea Shell
: what Bash is to Big Bash
: what Alice is to Alice in wonderland
: what Rust is to Rusty Theron
: what Awk is to your Awkward cousin
: what Dart is to Darts
: what Julia is to Julia Roberts
: what Korn is to Corn
: what Maple is to Syrup
: what Caml is to a Camel
: what CHILL is to Netflix
: what Crack is to Crack
: what Curl is to Curls
: what Hugo is to Boss
To be continued..
Have a joke? Say it in comments
Criteria : programming language on left , analog on right15 -
!rant
IDE or text editors ?
I tbh use notepad++ to work on text files and encrypted files for passwords lol22 -
So I dual booted my pc with Ubuntu a few weeks back. And I came to a conclusion today.
Um, windows needs to go.23 -
Fuck Off As A Service(FOAAS) provides a modern, RESTful, scalable solution to the common problem of telling people to fuck off.
http://foaas.com/
Finally , a usefuckingful service.2 -
!rant
The change log from notepad++ update. The last paragraph is the cream!
" The issue of a hijacked DLL concerns scilexer.dll (needed by Notepad++) on a compromised PC, which is replaced by a modified scilexer.dll built by the CIA. When Notepad++ is launched, the modified scilexer.dll is loaded instead of the original one.
It doesn't mean that CIA is interested in your coding skill or in your sex message content typed in Notepad++, but rather it prevents raising any red flags while the DLL does data collection in the background.
It's not a vulnerability/security issue in Notepad++, but for remedying this issue, from this release (v7.3.3) forward, notepad++.exe checks the certificate validation in scilexer.dll before loading it. If the certificate is missing or invalid, then it just won't be loaded, and Notepad++ will fail to launch.
Checking the certificate of DLL makes it harder to hack. Note that once users’ PCs are compromised, the hackers can do anything on the PCs. This solution only prevents from Notepad++ loading a CIA homemade DLL. It doesn't prevent your original notepad++.exe from being replaced by modified notepad++.exe while the CIA is controlling your PC.
Just like knowing the lock is useless for people who are willing to go into my house, I still shut the door and lock it every morning when I leave home. We are in a f**king corrupted world, unfortunately. "2 -
Initial steps of learning any new programming language :
*heck yeah I created a calculator. Guess I'll show my family that I actually can code! *
-hey mom, dad look I made a simple calculator using python B)
- uhm... That's great son but dont we already have one of those?
- yeah but like... this is completely different it uses a different programming language than what you and I have been using all this time.
- ah I see. Good for you then
*muttering to each other*
-are you sure he's got the aptitude to be a cse?
-at this point we can just hope.
Me:*stares blindly in my dark room contemplating why I'm alive*7 -
Was asked to make an e-sign system that manipulates PDFs to insert an image and the date at different coordinates on x number of different pages.
200 hours later, it was done. Now I'm the PDF guy2 -
Just visited a mattress store & I sat in car with YouTube on. Got an add for some new technologied pillows.
Felt like I was being followed..2 -
When you are a Dev at UBER & cannot figure out the date/year format..
You are the right person for the right company !!4 -
if(stickersReceived()) {
coding.pause();
print("Finally! The Stickers are Here!! Thank You DevRant.")
setMood(Good);
coding.resume();
}11 -
Did not expect this from Google. Seems like you're hiring real linguistic pros.
Now this is not the only thing I didn't like, they're very disorganized & the interviewer got sick & two of three interviewers were so cocky.. bad bad vibes
On the other side, a small local company is giving warm & good vibes, seems more accommodating even with lower pay.. their website sucks & the tech director was honest & smiling.
So yeah, Fuck You Google
..|.5 -
Simple and accurate!
UI/UX makes a huge difference to average users. Just because you're the developer/expert user, do not think what's obvious to you is obvious to everyone. Think about being in a bubble. This is why you need collaboration with people in a different scope. Or atleast gather feedback from users.4 -
Hmm. when you prove to be more knowledgable than the programmer that was pulled in, to interview you and he starts to go totally defensive and return spiteful responses
( like, what does a rookie like you know? i bet you never had an actual job )
when you calmly asks if any standard like PSR-2 is expected, if there are any preferred frameworks and what version control is used...
well, that went well..
Didn't get that internship..6 -
(the meeting)
I've had a non-IT world colleague ask me to build a website, I asked if it's a static website like resume etc with no database & stuff. I quoted $1000 if that's the case since that's minimal maintenance
He goes he needs a simple website, like eBay to sell his products. Also need features like Amazon, integration of various payments. And this and that.
For $1000 !!
I felt good that he thinks I can make an e-commerce site but f¢k that thinking man.. I told him to hire a freelancer and told him about few sites.
Maybe we'll see a thousand dollar e-commerce site, haha I only hope the payments part is secure 😂😂 I ain't buying anything anyways. I'm 99 % sure nobody's gonna do it and next time we talk, he's gonna be like 1000 and a 50 haha3 -
A C++ question. Correct answer will get you a virtual thug glasses & a cigar if you're into that , and upvotes (:
#include <stdio.h>
int main(void) {
int i = 4;
int* p = &i;
i = 8;
printf("i divided by *p is: %d\n", i/*p);
return 0;
}
What is the result of running this code?18 -
Gotta love kotlin!
@osiris1337 the refactoring is going great
I had a 80 lines long model class with all the getters and setters and Parcelable interface implemented
and all of that converted to kotlin like this
@-psr another reason, small and readable code ^_^1 -
Senior group project in college.
When you decide to meet up and one member doesn't show up at first meeting.
So I sent an email about the research I did on the feasibility of the project and how to implement a core requirement. 2 days later & no response yet..
Why do I think I'm gonna be the one the pull off the application by myself & then have to put name of people who have no idea how I got it to work..8 -
UX quiz:
a) trim whitespace characters from credit card or bank account input
b) refuse transaction, show error message: "no spaces are allowed in the card number"13 -
Why name Tree a Tree when it's really Root if you look at it with head up ?
(Tree Data Structure)
We're really taught to look at the world upside down1 -
Why are vegans & mac users so fucking annoying.
Eat what you like.
Use what you like.
Why tf you have to tell me what you eat & what you use is the only good thing in the world. Stop going 'how can you eat that?' & 'how can you use that?' Keep it to yourself 🔫😠6 -
To download data from Google drive, click on the download icon. But to download data from Google contacts, click on the upload icon! Why? because that's not upload but export, at least in the minds of Google's UI designers if there are any.1
-
4 yrs ago, had a bitch colleague who came to me with a problem she encounter with her code, so I looked at it then asked her "...it worked yesterday-what happened? "
- and she snap at me "...then my fault ?! We figure it out together..."
I went home after that. Reason is :-
1. I didn't touch your code
2. If you wanted me to check my codes and see if it was my fault - then please say so.
3. If you are trying to make your problem my problem, don't snap at me bitch.2 -
I have an exam in 4 hours. I've been studying all night and now I can't seem to retain anything.
I'm fuckin screwed.10 -
Doing browser detection the wrong way, probably dictated by Google marketing policy: any Chromium browser is supported by Google Docs - unless the user agent string contains the "Vivaldi" keyword.
"Issues" like this made the Vivaldi team remove their brand from their default user agent string long ago, effectively hiding the browser's market share in stats, as it will be counted as Google Chrome adding to Chrome's market share.10 -
!rant
Question for all the people who know bash around here. Is there a standard for bash scripting? Kinda how like PHP has the PSR standard. I've downloaded a couple of pdfs from various sites but none have been an actual standard.4 -
If you host a forum for dev discussions, make sure that, even in code blocks, every single or double quote will be replaced by quirky typographic quote characters that resemble their ASCII equivalents so closely that cut-and-paste programming will be punished by hours of searching the error in the wrong place.4
-
!dev but devRant has become "not dev" sadly.
Time to say bye to the racist kindergarden it has become!
How many more outdated country clichés can they possible come up with? "Thick Indian accent", "hard-working Nazi Germans" bla bla bla ...
If you're not interested in dev anymore why don't you join the European Parliament or a local pub where you can discuss your "ethnic" bullshit with other right-wing retards dreaming of remigration. Fuck you idiots, seriously!
/me logs off.7 -
"There is nothing to dismiss!" - modal error message after clicking "dismiss all notifications" button over an empty notification list.4
-
Anyone else have this, seems like you can do double the work in late night pm/am than in day am/pm..
And I'm starting my internship next week.. gotta be a morning person now :/7 -
Coding faster is more important than code quality? GitHub shows a call to action: "Code 55% faster with GitHub Copilot". WTF?14
-
People should have mandatory lessons in vector processing.
In canteen, after lunch, there were 4 places you could place your trays. But only small, one-way corridor, for one person at a time to get there.
Every person picked the first place and while they were placing the tray, people behind them had to wait. Huge line started to form. If they, instead, always picked the last empty place, all tray places would be occupied for longer and the processing speed could increase almost 4 times.
Textbook vector processing example.2 -
' "productivity" software':
trying to format a document in Word / Libre Office,
text defaults to some condensed serif font,
any at-sign, "http" or "www" automatically generates a hyperlink in an ink-blue color,
formatting and alignment of lines or paragraphs causes unrelated other elements to change unless you make sure to use tables, tables, and nested tables everywhere like it's Netscape 20032 -
Mail from Microsoft: sign in to see payment details.
User clicks on the link (once).
Microsoft:
Sign in to continue to Microsoft
Something went wrong and we can't sign you in right now. Please try again later.
The Microsoft account login server has detected too many repeated authentication attempts. Please wait a moment and try again.6 -
When you walk in a job interview & see a white board...
Credits:commentsense888 but pretty sure (s)he copied it too1 -
When the keyboard legs don't align equally anymore, and you put post it notes under one side to make it even.
But its never the same...2 -
When you get the big enter button & can't stop slamming your fist on it.
So I'm a junior candidate & keep getting senior , way senior job reqs. There's no way you can put job preferences on Dice so I had to put "Jr/Entry Level only" at the end my name lol & still keep getting these.
I think they don't even look at your resume. Just blast out emails hoping they get something.
Its like shooting a rifle in the sky all over & hoping you've hit the target.1 -
The state of JavaScript in 2024.
More frameworks, more minor syntax shortcuts to make code look more like emojis
?= := ?? .? =~ ;-P
but no native typing
so that devs can go on fighting about "JavaScript vs. TypeScript"7 -
When both AI and search engine results are getting worse over time, will devs and users finally value knowledge and learning again?8
-
Google doesn't seem to understand. I don't want more personally targeted ads and block what goes against their definition of inappropriate advertising. I want to block some very annoying advertisers like the Chinese TEMU crap shop. So I will have to use an ad-blocker again, I guess.4
-
A PM who suck-up to a creative technologist. He comes up with ideas while me, the programmer, have to figure how to get it done.
PM expects me to explain how things can or cannot be done. I spent whole day drawing diagrams explaining things, while the creative technologist makes demand after demand.
For me, the worst project manager is one who doesn't take care of their people.
N The worst creative technologist, is one who won't go do their own fucking research and expect the developers to do it.
Both fuckers are management roles. Go figure..1 -
Show a comment field below a discussion, with rich text and link functionality, to inspire people to craft a detailed answer.
Maybe they will forget to type Ctrl+A, Ctrl+C before hitting send.
So when they do, show a message that "you must be logged in to comment". Use a JS SPA to make sure that there is no way for users to restore their drafted comment. Don't show it after they logged in. When they use their browser's back button, they surely want to exit the application, so make sure to discard any transient data in that case.
Seen on WordPress.org using their infamous Gutenberg block editor.7 -
Hi guys @dfox @trogus , just wanted to report a tiny annoyance lol
If a rant is posted with a picture, then edited, I don't see any way to remove the picture without deleting the rant.
The "Attach img/gif" should say remove current attachment when the post is being edited, or an additional button maybe.
Thanks, others can give suggestions if got em (:3 -
Dear recruiters, if you prefer telephone calls, why not also learn how to leave a message on a voicebox, display a caller ID, and list your phone number on some legit page on the internet?
Otherwise you'll leave the impression of a desperate outbound call center agent paid not by leads and conversions but just by the quantity of calls made during the day. If I had such a job, I'd also call voiceboxes and busy developers all day and get money for listening to signals tones before hanging up. -
Stakeholders must learn that code quality and a user-friendly frontend are not "nice to have". If they don't fix their priorities accordingly, someone will have to pay their technical debt and that's going to be expensive.5
-
When I search for anything programming-related on Google, I realize how many different meanings a word can have. Adding more words to specify context sometimes even makes it worse and it often makes results more unspecific and unrelated. And when I find something that exactly matches my case, it's an unresolved question from 2017 or 2006.9
-
I'm really tired of all the hype that Python lately gets, mostly by begginers or at most mediors.
I get that a lot of people like it's syntax, but it has just a few use cases where it really shines (like CI scripting or ML). In other cases it always has a much better and much more mature alternative.
As a web developer I would always pick PHP over Python. It has really mature frameworks like Symfony or Laravel which are using PSR standards, well documented and implemented common patterns, option for strict typing and probably most importantly tons of libraries for pretty much everything. For example I could find implementation of payment gate for even the smallest banks in our country, thus saving several days of implementing it myself. And PHP will always humiliate Python in performance. Yet, pretty much every comparison article of those two will state Python as better option for webdev, mostly because it is evident that the person who wrote the article never even tried to do a proper atleast midsized project in PHP, but has ton of experience in Django.
And what exactly is my point? There are two in fact:
1) You should always use the right tools for the job.
2) Even if you could do something doesn't mean you should do it.
In the end of the day I shouldn't really be bothered by people hyping Python, but those fanatics really made me hate the language, even if I would normally consider looking into it.8 -
so the PHP Standards Recommendations part two (PSR-2) says
"Code MUST use 4 spaces for indenting, not tabs."
and i feel devastated1 -
Windows, the operating system which is so much more user-friendly than Linux, or so they say, cannot be operated by my family members without constant support helping them to find files they downloaded and want to send in an email for example. So I have to stretch my mind between my family's non-tech end-user perspective and Microsoft's Windows 11 UI, both of which deviate from my developer's perspective, each in its own surprising way.5
-
When somebody says they are going to call me, I always fear this will destroy my flow and focus for the rest of the day.5
-
So I get an email from college career development for a web developer & designer position.
Read into the requirements & function, I find this....
Who the fuck does put HARD CODING before CODING.. why would you even put that on the requirements. People are going to read that and find out how you run your company.
We all do some hard coding here & there but recruiters think it's a skill that comes before coding.. hard coding isn't coding hard...
They don't say company's name in email so I got suspicious.. or perhaps I thought I can be a detective lol. I was able to find out the company and looked at their Glassdoor.
Of course they have 1.6 stars.. two 1 star reviews by their employees. I can just imagine the horror working at this place lol.
Oh & the manager makes something like 110k.3 -
Ok, so I know that in PHP, psr2-4 are good for making sure your code meets a good standard, but I'm somebody who did most of that rules with minor differences without thinking 10 years before they were created and when somebody points out that my code isnt psr compliant because i wrote
if($something === 0){…}
Instead of
if ($something === 0) {…}
I get fucking angry....2 -
Hey guys
I'm starting my first programming intern job in a week.
It's a big company and have many projects and they liked me because I knew some Java from college.
I obviously have no industry Java experience but am looking to review the book used in my class & the projects I did.
I'm still kinda nervous a little cuz I don't have any idea what it's going to be like.
What could be advised to do while waiting a week? Any good Java brush up idea
Thanks3 -
What's worse than WordPress? WordPress + WooCommerce! What's worse than WordPress + WooCommerce? WordPress + WooCommerce + PayPal! What other more shitty software could we possibly add? Some malicious virus hidden somewhere in the millions of free WordPress plugins most of which are not even full open-source? Who can possibly review and maintain that rummage table of outdated crap code?13
-
Google, please explain to me: Why the fuck would you create a hardcoded requirement in your libraries to use a plaintext json file with credentials to your API?
Credentials which give full access to all of the company email, addresses, cloud services, etc?
And why would you accompany this in your docs with example implementations which read as if they were an intern's first coding project — non psr compliant PHP, snippets of Go which won't compile due to type errors...
I'm starting to become convinced that the whole of the Google Cloud API was actually written by thirteen year old who found their parent's liquor cabinet.
Fuck this I'll build my own Google.1 -
"Non-technical" users must have some magic skill that goes beyond my understanding. How can anyone work with no-code page builders? I tried Wix, Webflow, Gutenberg, Elementor, Divi, and Semplice. Each one sucks in their way, but they have one thing in common: their UI behaves even more erratically than Microsoft Word.
Is there a "non-technical personal computer user" class where people learn that logic? How did they manage to hide their secret understanding from developers? Or what did I miss?8 -
!rant /* but */ is funny == true
Developers! - should browsers forgive you ?
Or put a curse on you so you can never align your elements like you want to ?
You will know you don't want it there and it will annoy you, it will eat you inside looking at that webpage..
Again, W3C guys being straight up no sugar coating 😂😂😂1 -
Coaches know: it's all about the mindset!
Runtime exception? Mindset!
No video in Teams? Mindeset!
Money got stolen? Mindset!1 -
ChatGPT, Copilot, React, how to make a link in a frontend website?
To create a link in a frontend website, create a span, a div, or a paragraph that contains the link text. In your JavaScript web app, add an event listener to that element that opens the link on click. If you want to claim you're accessible, add an aria-role to the clickable element. To make debugging harder and only possible for the real arcane experts, let your framework generate generic ids and class name hashes for styling and event handling, like "item_09fcfck" or "elementor_element_foo_bar". Avoid, at all price, to use an a href element!2 -
How hard can it be to sort content stored in a relational database by a custom meta parameter and restrict the results to a certain language using a very popular content management system in 2023?
After wasting several hours trying to get my head around reference documents, 20 years of anecdotal StackExchange + WordPress.org discussion and ACF + Polylang support, and trying to debug my code, I will now either write my own SQL query or put the meta query results in a hashed object to sort it using my own PHP code.
What time is it now? 2003?2 -
Question PHP folks. Is it a standard to write:
public function hair()?
Writing only:
function hair() is just the same thing to the above. It will default to "public" hair right? 🤔 maybe just a PSR-2 standard or for readability? Thanks!3 -
I'm shitting there hammering out some code butchering some real problems when I suddenly realise I'm surrounded. I look around and yes it's the bloody committee.
The committee is what I call the rest of the department and it is dominated by the old guard which comprises of the programmers that have been around for longer.
None of the old guard can program particularly well but because they had been around the longest they'd all grown senior. The committee had free reign but anyone else doing anything differently has to get approval from the committee.
The only way to code otherwise was to copy and paste existing code then to primarily rename things. If anyone did anything that hadn't been seen before then it would have to be approved by the committee. Individual action was not permitted unless you were old guard.
I swept my headphones away expecting it to be something unimportant. It was.
First things first they announce. We're going to add extraneous commas to the last element of all possible lists separated by comma including parameters or so they say. Ask but why so I do.
Because the language now supports it. They added support for it so it must be the right way someone proclaimed. Does it? I didn't realise we were waiting for it. Why do we want it though?
Didn't you hear? It's all over the blogosphere. It massively improves merge requests. But how I ask?
Five minutes later I grow tired of the chin stroking, elbow harnessing, slanted gazes into the yonder and occasionally hearing maybe its because and ask if they mean when you for example add an element the last element registers as changed from adding a comma. Turns out that's all it is.
How often do we see that tiny distraction and isn't it pointless to make the code ugly just for a tiny transient reduction in diff noise I ask. Everyone's stumped. This went on and on and got worse and worse. But it makes moving things around easy half of them say in unison like the bunch of slobs that they are. I mean really. It doesn't make expanding and contracting statements from multiline to single line easy and it's such a stupid thing. Is that all they do all day? Move multi-line method parameters up and down all day? If their coding conventions weren't totally whack they wouldn't have so many multiline method prototypes with stupid amounts of parameters with stupidly long types and names. They all use the same smart IDE which can also surely handle fixing the last comma and why is that even a concern given all the other outrageously verbose and excessive conventions for readability?
But you know what, who cares, fine, whatever. Lets put commas all over the shop and then we can all go to the pub and woo the ladies with how cool and trendy we are up to date with all the latest trends and fashions then we go home with ten babes hanging off each arm and get so laid we have to take a sick day the following to go to the STD clinic. Make way for we are conformists.
But then someone had to do it. They had to bring up PSR. Yes, another braindead committee that produces stupid decisions. Should brackets be same line or next line, I know, lets do both they decided. Now we have to do PSR and aren't allowed to use sensible conventions.
But why, I ask after explaining it's actually quite useful as a set of documents we can plagiarise as a starting point but then modify but no, we have to do exactly what PSR says. We're all too stupid apparently you see. Apparently we're not on their level. We're mere mortals. The reason or so I'm told, is so that anyone can come in and is they know PSR coding styles be able to read and write the code. That's not how it works. If you can't adjust to a different style, a more consistent style, that's not massively bizarre or atypical but rather with only minor differences from standard styles, you're useless. That's not even an argument, it's a confession that you've got a lump of coal where your brain's supposed to be.
Through all of this I don't really care because I long ago just made my own code generators or transpilers that work two ways and switch things between my shit and their shit but share my wisdom anyway because I'm a greedy scumbag like that.
Where the shit really hit the fan is that I pointed out that PSR style guide doesn't answer all questions nor covers all cases so what do we do then. If it's not in PSR? Then we're fucked.4 -
I sent a recruiter my CV as a PDF file. They replied that they need it as a Word document. They must be joking, right? I always use my website's reader view to generate an updated CV by saving it as a PDF which contains text and images in accessible format. So it can't be hard to convert to Word?
I just installed Microsoft Edge on Linux, because I heard that Edge can save websites as Word documents. It can't. At least not on Linux, using the print or the save as dialog.
I don't even know what to tag this rant. Those people must be making fun of me. What are they supposed to do with a fucking Microsoft Word document? Make sure that the layout gets broken and the content truncated when forwarding it internally?9 -
After going through the regular process of talking to HR/Recruitment and passing the casual interview with a team-mate for cultural compatibility, I got the task of grilling a candidate on some technical matters. This being a PHP job, we got to talking about PSRs (PHP Standards Recommendations).
As he seemed to take pride in his knowledge of PSRs, I decided to focus more closely on that.
So we got to a recomendation regarding dependency injection containers. Nothing special, and he seemed to know his stuff. At that point, he made a statement that parts of that recommendation were a bit stupid.
Now, I hate to put people in their place, but his statement did not match what that specific PSR stated. So I gently tried to correct him. The candidate, being on fire thus far, pointed out that I should trust him on this, as he clearly knew his stuff.
Again, I didn't like having to do this, but I also did not like him having a misconception about a topic he was, otherwise, really on top of...
So I asked him to trust *me*, as I was one of the writers who contributed to the standard.
The true test here, of course, wasn't if he knew all the minutia of every standard but how he would react to being corrected.
We, as developers, are wrong all the time. Its how we learn and evolve. So being able to accept that is vital.
Sadly, he did not respond too well and sunk into a bit of a sullen silence. At first I though maybe I'd scared him or that he was afraid of having made a gaff but it soon turned out he genuinly did not like being wrong.
Sadly, I had to advise against hiring him.2 -
So I'm a developer trainee. My development machine ? - was given a MacBook pro that was used by previous developer. The home screen is filled with random project files and documents.
Try to click on the pad, doesn't work, realized you have to press it real hard on side to click , wth, crappy touchpad. Back to setup.
I guess create a new account. Need to make an apple ID, heck no, create account without it, logon and just realized, shit all the tools need be installed..
Go to app store, need an apple id, heck.. , create an id, login, realize most of the tools aren't in app store...
Log back in crazy's account, power windows virtual machine..
Desktop filled with shyteload of files.. try to personalize windows, Windows isn't activated.. the heck.
Give up, just install vscode on corporation desktop machine for now, while the MacBook is a paperweight, and my shield in case of a gun situation
Better I see the crazy Dev who worked on this machine, and hit em in head with this paperweight.undefined developer that covers all the paper underneath mac wth mcshytebook my new paperweight macbook wth!?!? wth??! windows the struggle2 -
Billing by hourly rates is like getting paid by lines of code: the worst coders will get the highest scores.5
-
GitHub needs an offline option. Why can't we manage meta information like pull requests and projects in a decentralized repository style but instead we seem to have to use a real-time UI in the browser that fails when there is no internet eventually.
How do people manage to work with GitHub day to day when there are power outages or when they're on a train crossing areas with no internet connection?21 -
Coding on a German keyboard suddenly gives you a reason to like those indentation-based languages without curly braces. And what about backticks and single quotes, they're for sure easier to find on an American ASCII keyboard. Fücking ümläüt chäräctersß!
Even worse on a Mac where it's not even printed on the keys what they do when holding shift, alt, or apple/clover/cringle keys.24 -
So I made a pull request on a PHP public repo fixing line lengths and adding some spacing for readability. All in the hopes of improving it to follow PSR-2 standards which they specifically say they follow.
Pull request got rejected, reason: "No thanks, the code is good enough."
Lol! 😐Time to move on to others who appreciate help. -
What's worse than being your family's printer support? Questions about how to use Instagram. 🤢😠😡 Fuck Marc Suckerberg and his shitty antisocial media apps!11
-
MDN best practice recommends not to sniff browser versions but rather detect features. So far, so good. In reality, we don't need to detect features, we need to detect bugs to handle outdated mobile Safari versions. Apple again. 🍎🍏🤢🤮
-
As a developer I never understood the intended benefit of standups. Issues + a scrum/kanban board like trello or GitHub project + a chat for quick questions or to schedule an ad-hoc pair programming session should be enough to make everyone know everything they need to know about the project status at any time.
Obliging developers to talk in a group session to reiterate in a more verbose way what they already wrote down when working on it, will make a lot of people uncomfortable. Talking too much or not complying to the talking rules is an expected side effect besides anxiety and reduced productivity.
If you want a talk show, hire talk masters.
If you want software development, hire software developers.
Don't confuse one with the other!10 -
Pressing Ctrl+C shouldn't overwrite an existing clipboard entry that has just been created by pressing Ctrl+C immediately before.
Who thought it was a good idea to use copy + paste shortcut keys exactly next to each other? Some people's muscle memory does not work with such a fine subtlety.
How much working hours, days or even years must have been wasted by people using productivity software accidentally losing what they were about to paste from their clipboards?
Anticipating the first comments, yes, that's another kind of first-world problems affecting people that spend too much life time doing stupid office work on a (German) (PC) keyboard, but here we are, procrastinating on devRant ant wasting even more time.
Antipating even more comments: why am I using a keyboard to work in a German train on a sunny Sunday instead of relaxing at a lake or a swimming pool instead? Well, at least this train doesn't seem to have a pool. More luxury problems for me.3 -
Why are developers so excited about coding assistants if they still make so many wrong and annoying suggestions? Why would anyone even pay for such a service?8
-
ChatGPT is so much better than Google:
instead of wasting my time by linking to unhelpful / outdated / unrelated StackOverflow resources, it tells me to do the work by myself right away:
> To ensure consistent pseudo-element width across different browsers, including Safari, you can follow these steps: [...]
> (some basic HTML/CSS 101 seemingly quoted from a 2015 textbook)
>
> It's important to note that browser behavior might vary due to different rendering engines or versions. While following best practices helps achieve consistent results, you might still encounter small discrepancies. Cross-browser testing is always recommended to ensure your design looks consistent across different browsers, including Safari.
>
> For any specific issues you encounter in Safari, consider checking for known bugs or quirks that might affect pseudo-elements and their sizing. Online resources, developer forums, and documentation can provide valuable insights into Safari-specific behavior and workarounds.3 -
Worst support experience so far: German ISP sent their cheap default router which I opted for, hoping that I didn't need to rent a costly FitzBox. Provider activates the connection, everything fine, but slow and unstable on my Linux laptop only. Try using their website, their support chat etc. as they made it very hard to even open a support ticket. I gather all the information, ping, traceroute, netstat, logfiles, router settings, broadband measurement etc. and finally manage to open a support ticket of my issue adn they say they will send an engineer to my place in about 4 days. I stay at home that day and wait for the whole day, nothing happens!
I get back to them, even get a phone call after waiting about 1h in the waiting queue, only to listen to someone tell me that the appointment had been cancelled as the ticket had already been closed. WTF! They said they measured my connection and could not reproduce any error. Did not even mention my lengthy log files etc. It took my own research and another hint that there is an incompatibility with that specific router and some specific devices so I should really replace their cheap router with a FritzBox device. What they also did not tell, that you dont need to rent their branded FritzBox, there are cheap second hand models from another ISP that you can reconfigure by simply chosing another ISP in a dropdown list that contains every popular German ISP. But why are they popular? You can only choose between the different bad ones, that's why they don't seem to make an effort.2 -
So I started my new job yesterday. My manager seems like a nice person & co-workers too.
Meanwhile I found out they use Eclipse and SVN. I've been learning and using git. Now gotta learn subversion. Oh and all Java development I did was on Netbeans.
I'm learning Swift (3) and I saw few projects in objective-C.
Man they must really be seeing something in me.
I'm hoping Eclipse and SVN isn't as bad. Reading rants here makes it seem pretty bad lol.
I'm excited to learn though, gotta dive right in.3 -
I fucking hate people who uses complex words to describe something simple.
Describing a frame work
Show-off : "..you can define what objects/tables to expose, what values in that object you want to expose...if you are using some orm, then because you have models defined. Once you update your model, your endpoints get the new model..."
Simpleton : "something like parse..."
Wtf is 'fixedUUID'?
Show-off: "..hardcoded UUID is fixed (constant) value, with format of UUID, hardcoded UUID will be unique value between backend and frontend,
you will need to store it as constant value in your codebase ( we may encrypt/ decrypt it for security reasons)..."
Simpleton : "a secret password only u & I know"
--why whyyyyyyyyyy2 -
so late hours, and after a 2h MySQL server transference that should take no more than 15min...
looking in to PSR-0/4 PHP code standards
I'm gonna print them all and smack all coworkers with it in the morning! -
All designers and developers are secretly in love with cookie banners and other kinds of popups, as long as they distract users, obscure content and contain a lot of text that is hard to understand.
We must love to deceive our users and make them click a primary call to action button to make sure that they are fine with bypassing anything that privacy laws have been made for in the first place.
Or where are the best practice examples, code snippets and plugins do find a better way by default? Any commercial website will sooner or later require some kind of cookie banner and that's the whole point of contemporary web design.3 -
When you have a long line like this...
if ($obj->getStupidlyLongNamedThing() + $hard + $harder * $hard / $harder + $obj->getAlsoStupidLongThing([$sillyLongExpression, $thing]) > $obj->omgThisIsInsane());
If you're just going to be lazy and break it up however where where ever so it looks like crap...
if ($a->b()
____&& $a->c());
Then I urge you to do one of two things:
* Shut up your face and turn on word wrap in the IDE rather than manually doing it even worse.
* Break the long parts into variable assignments or something.
* (or get a wider screen)
Example:
$a = $obj->getStupidlyLongNamedThing();
$b = $hard + $harder * $hard / $harder;
$c = [$sillyLongExpression, $thing];
$d = $obj->getAlsoStupidLongThing($c);
$e = $obj->omgThisIsInsane();
if ($a + $b + $d > $d);
With sensible variable names.3 -
Thunderbird mail client switched to compact mode or a new look, so I suspected that's the announced "update that many users won't like".
Googled how to revert Thunderbird to its old UI and found that people posted that question, but 4 years ago? As yesterday's UI wasn't exactly elegant and beautiful either, I'll just get used to the new one!1 -
It looks like there aren't many great matches for your search.
Just give up and ask an AI bot to imagine some nonexisting bullshit instead.
Don't insist that there must be documents matching your search. Just accept that the age of quality is over and people must accept low-quality content as the new "information" standard.
Welcome to the age of alternative facts -
Meta, Microsoft, Google, and countless startups have been investing and growing, making devs crazy with incredible salaries, incomprehensible hiring processes, and toxic corporate culture. They tried to make masses of end users beta-test their MVP products and services, turning them into subscribers and regular customers. Then they laid off many engineers and now try to run their businesses using immature artificial intelligence instead.
AI, also known as "the one guy that can type real quick" can be very eloquent and replace some junior devs, marketeers and supporters, so it seems, but once someone has a problem that is not already documented unambiguously, then they have a real problem.2 -
The startup/investor culture has already flooded the industry with loads of useless products by unprofitable companies pushing their garbage onto the market, now the same thing is happening with "AI" based bullshit. What's next?10
-
Currently there are 1273 plugins awaiting review after submission to WordPress plugin server. Nearly as much as the 1345 open "type: bug" issues in WordPress/gutenberg on GitHub. Reminds me of "Suggested edit queue is full" on StackOverflow. Either too many people contribute to open source, or too little seniors willing and able to review, or our workflows don't work well enough. But good to see that there is still stuff going on in communities and not everyone just playing around with AI tools or uploading social media content all the time.1
-
I always procrastinate a lot, but often it's more like taking a creative break so in fact it can make me more productive once I get back to my desk and start "doing actual work" typing code into my keyboard again.
Procrastination becomes unproductive when I have reasons not to do the work, like it's an rude customer, uncooperative team leader, a useless requirement or involves inappropriate or terrible tech stack and legacy code.
Sometimes all of that comes together, but I found even in that situation when procrastinating on devRant and swearing every other minute, I seemed to be above average compared to my team mates who probably felt the same.
Most of us quit the company at some point of that ongoing project. -
<3 VS-CODE (:
It's like having a customized tool , well a weapon in that sense 😂😂 Developers like to think of themselves as wizards (including me) and every wizard needs their wands 😋😋3 -
!rant
Context = VS Code
What is your 'favorite/most useful/the one that saves your ass' extension for visual studio code6 -
Oops! Something went wrong! :(
ESLint: 8.57.0
TypeError: require(...).pathToFileURL
Did someone move fast and break things again? -
GitHub, your Copilot sucks, and so does Dependabot!
Dependabot opened 3 pull requests;
merging the first one caused conflicts in package.json and package-lock.json that must be resolved;
while trying to investigate further, the second pull request got closed as it suddenly seemed obsolete.
Dependabot: "Looks like these dependencies are no longer updatable, so this is no longer needed."
This kind of service generates so much noise and irrelevant alerts, it comes out of nowhere and there is no way to get rid of those bots once they invaded a repository. And they are so useless. A simple `npm outdated && npm upgrade` would have done better in 99% of the cases.
GitHub, your Copilot sucks, and so does Dependabot!1 -
Search for How to stop Apple ID Verification pop up. Find relevant and possibly credible result from discussions.apple.com:
How do I stop the constant pop up on my iPad for APPLE ID VERIFICATION, posted in 2016.
Last post from OP: Did you ever find a solution to this problem? This Apple ID Verification request is driving me crazy.
83 Users: Me too.
Apple:
Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.1 -
"fatal: detected dubious ownership in repository" - if git finds no conflict, it will always find other ways to cause trouble4
-
Finally after spending an hour and my lunch break on getting rid of 120+ char lines and white spaces.. 😇✌🏻️1
-
Wtf has happened to Google webmaster tools / ad(word)s / analytics? There used to be so many valuable insights before the current version, now everything is hidden in the new UI or Google just keep the info to themselves? Does anybody use Google anal/ads anymore?3
-
The best questions always get the fewest answers. The most important topics always get the fewest votes. The sillyest hypes get the most interactions. And people still claim that human beings were intelligent.5
-
Facebook doesn't even let users select text without opening dev tools? Either it's broken or broken by design. I think it used to be possible 10 years ago, but maybe I'm just fooling myself about the good old days. What a shit show the internet has become. Sad!5
-
Trying to make sense of the Zend Framework 1 MVC autoloader. Oh how much would I pay even for it to be PSR-0.2
-
Looking at jest errors and loads of GitHub and StackOverflow issues, it's no surprise that people claim they don't like testing.
Maybe they would if we got our tooling right.
import { foo } from 'bar';
Nah, that's an unexpected token, jest does not like this syntax.
Using require, like in jest's getting started tutorial isn't compatible with my existing JS libraries exports.
Adding type: "module" in package.json just makes another error message appear instead.
Fucking developer experience!
Why bother with unit tests at all?
How come PHP is 10 years superior to JS when it comes to code quality, unit tests, and static code analysis?
I don't even care about "ES modules". I don't want to "mock" anything either. All I want to do is import a handful of JavaScript functions into another file.
Overengineered web dev stack sucks!3 -
After the American mass layoffs, Silicon Valley software is getting worse in a worse way than it used to, maybe also due to AI generated code and content, especially Google product quality keeps dropping continuously. I am afraid I will have to switch to Apple eventually2
-
I always have multiple accounts thanks to Single-Sign-On, so I don't find my event tickets, logins, and contacts. To make it worse, those sites regularly log me out for no reason and some force logging in using my Google account although I have a main account with my business email address.
I suspect that's another deceptive pattern that they let happen on purpose so they can claim to have more users than they really have.1 -
Unfortunately, WordPress doesn't provide built-in functionality for exporting user data. The only way to do it is using an import and export user plugin.
But that's fine. Don't waste your time on essential functionality, just keep adding more features and gimmicks to your Gartenzwerg editor.
Always good if you got your priorities right.12 -
Most spam attempts sent to my contact form scripts are so cryptic and useless; it looks like there`s just a bot sending garbage to persuade webmasters that they need recaptcha.1
-
So I took this ocd sensitivity test 😂😂 . Apparently, I'm a perfectionist & need to take it easy lol.
Here's the link to play :
http://playbuzz.com/monicawoods10/...8 -
JsonLint ParsingException "composer.json does not contain valid JSON" is an incorrect statement. The file contains 99% valid JSON except for 1 incorrect character which is correctly pointed out as an "Invalid string, it appears you have an unescaped backslash at: \-dev".
And why do people in tutorials keep calling it "Jay's on" instead of "Jason" like "Jackson"? I can only imagine what they would call the "King of Pop" musician ... "my cal Jack's Onn"?6 -
Date pickers!
After several decades of web development and even longer time to experiment with electronic UI on other devices, why is there no consistent best practice and everyone tries reinventing the weel to choose their own set of problems and annoyances?
The root cause, obviously, is using Gregorian calendar and localized display and input format in the first place, so there is no way to make a data unambiguous without a graphical calendar. Who even came up with any of those 9/10/11 formats and why?
So we need to use date pickers and make the users spend several minutes clicking, swiping or scrolling to enter their birthday - past at least one decade - and a booking date - in the near future - using the same interface with the same presets.
But users compare different offers, so they will use different sites, so they will have to handle different date pickers on different sites in a short period of time and carry unnecessary mental load.11 -
Your branch and 'origin/foo/bar' have diverged,
and have 2 and 1 different commits each, respectively.
(use "git pull" to merge the remote branch into yours)
git pull
hint: You have divergent branches and need to specify how to reconcile them.
git merge origin foo/bar
Already up to date.5 -
Why do most German companies always require "German speaking" developers? Do they use localized versions of programming languages like the old Microsoft VBA dialects?
use 'streng';
konst sprache = 'de_DE';
für (lass ä = 1; ä < ü.länge; ä++) {
wenn (ü[ä] === ö) {
konsole.schreib( 'Das ist gut!');11 -
Google maps: how would you rate that place you visited last week?
User gives 5-star rating, clicks submit button.
Google (in an e-mail a few hours later): Your rating isn’t posted: "Unknown place" - What happened
The place you posted about was removed from Google services like Maps and Search.
Okay Google, if you want me to contribute to your free community service, what about making it more consistent and understandable for regular users? -
Chromium dev tools and Lighthouse audits sound like a Chrome features marketing campaign, once you proceed beyond basic optimizations and bug fixes, like
use our new image formats, stop shipping old JavaScript to new browsers, provide a source map, use web font preload but only if you use it exactly matching the best case scenario, rewrite your manifest file which used to work just fine etc.
actively encourage people to exclude up to 5% of global website audience?!
"This means that 95% of global web traffic comes from browsers that support the most widely used JavaScript language features from the past 10 years"
https://web.dev/publish-modern-java... -
The "disable JavaScript" browser setting has become so hidden that it's hard to turn it off without resetting all browser settings to their defaults.4
-
My browser claims it's unsafe to visit a website via HTTP, even if it's only to view and read. But it's fine to open any crapsite as long as it's via HTTPS and not on a malware blocklist?2
-
Vivaldi browser seemed a good idea to escape Google's misfeatures without swapping it for Microsoft extensions (Edge) or Firefox / Gecko idiosyncrasies (size / magnification issues on Ubuntu, slow Android version, clunky UI). But there are some ongoing issues that I never experienced in any other user agent (maybe I will when switching to Chromium), like URL completion (port URLs without a protocol aren't prepended with https but trigger a xdg-open dialog, autocomplete prefers obscure deep links with long paths instead of the base URL, browsers seems to forget login passwords by default, etc.) - so Chromium seems like the obvious choice. But there seem to be no more Chromium builds for Android? Anyone else disappointed by Vivaldi has a preferred solution?4
-
Can you even call yourself a frontend dev when you betray your backend mindset by prefering JS over CSS and JSX over HTML + DOM API?3
-
Many memes mock frontend development, showing a beautiful and simply frontside of something in contrast to an exceptionally chaotic backside or inside of a product.
Single page applications by fullstack developers combine both sides, bringing the unpolished industrial aesthetic of backend logic to JavaScript while making sure that also the frontend isn't that shiny at least at second glance.4 -
Used cocoapods to install VideoCore on demo. Everything's working. Nice!
Transferred to actual project - pod file has 'use_frameworks!' in it, fucked up the headers, project broke. Spent whole Saturday trying to solve it cos i suck!
..I thought I would be done in an hour.. -
Q1.
What is the easiest way to set up auto restart & deploy web app on git push..? I have tried one that requires hooks/post-receive (server-side) and a make file (local)...but I don’t know how to continue writing the make file after git-push.
Q2.
Can I set up auto deployment if my repo is in bitbucket? Bitbucket allows set up Webhooks - they ask for a url..how should the url look like? Is it like “user@server.com:myrepo/hooks/post-receive”. ?4 -
Don't judge here fuckers you know it's call DevRant, not DevITalkAboutHowIShouldImproveMyself -
Fuckg "public_actions" and "publish_actions" fucks me once again!1 -
Am I the only person pissed off with PHP PSR-2? Maybe I like coding with snake_case instead of camelCase. I don't care what other devs use so why do I have a gang of controlling ass-hats telling me how to write my own code!?! >:(4
-
WordPress Pods "introduced new Access Rights checks and comprehensive functionality to assist you in limiting how your content types can be used by other users."
In other words, they have just introduced a breaking change that hides CMS content elements that were expected to be visible publicly to everyone. -
GitHub: "This branch has conflicts that must be resolved" stop bugging me with your @dependabot bullshit!