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 - "single"
-
"I have no idea what this line of CSS is doing."
*Deletes line*
*Entire app falls apart*
"Better put that back..."
*ctrl z*5 -
How do i learn coding in single night? - someone asked me.
I gently replied : Pack your Laptop, and travel to North Pole in beginning of winter, you'll have 6 month of night to learn coding.
Once there - really just Google it there are tons of Excellent tutorials on web.6 -
this image is fully authentic image of me as a single developer in a startup. All the used technologies in a single project.13
-
Today I checked out a Repo on Github to help a friend.
Holy shit is this code crap!
Basically one single method contains the whole logic.
637 LINES OF PURE AND UTTER DOGSHIT.
SIXHUNDREDTHIRTYSEVEN LINES!
ONE SINGLE UGLY METHOD.
If I have enough time and energy, I will probably create a PR in 2021.
Some people... wtf.
(not my friend's code, he just uses the program)
(Edit: I had to remove the rant and censor names in the image)25 -
Did you read about the new Digital Services Act and Digital Markets Act laws of the European Union, that will go in effect in 2022? Pretty neat stuff, more transparency, user rights and a tool against internet monopolies.
"Very big online plattforms" must submit reports on freedom of speech, abuse of human rights, manipulation of public opinion.
EU assigned scientists will gain access to trade secrets like google search or Amazon recommendation algorithm to analyze potential threats.
The EU can fine serial offenders 10 % of their yearly income. And break up companies that stiffle competition.
Internet companies like Facebook will not be permitted to share user data between their products like Instagram and WhatsApp.
There will be a unified ruleset on online advertisement. Each add must have the option to find out why this add is shown to the user.
Unlike the GDRP data protection rule the two acts will be valid at the Union level. So that there won't be any exceptions from single member states.
Let's hope this leads to a better Internet and not things like cookie pop ups 😄
Link to the EU DMA DSA page
> https://ec.europa.eu/digital-single...49 -
This always makes me smile.
1996 - James Gosling invents Java. Java is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Sun loudly heralds Java's novelty.
2001 - Anders Hejlsberg invents C#. C# is a relatively verbose, garbage collected, class based, statically typed, single dispatch, object oriented language with single implementation inheritance and multiple interface inheritance. Microsoft loudly heralds C#'s novelty.
The full article with more funny comparisons is at this link
http://james-iry.blogspot.com/2009/...9 -
Every single time when trying to download JRE or JDK from Oracle I forget to tick it. Every single time. Like, just now. :)3
-
Boss wants to scale our webservers because it seems they're having performance/capacity issues....
I'VE BEEN TELLING HIM FOR WEEKS IT'S NOT THE SERVERS!!! IT'S THE FACT THAT EVERY SINGLE QUERY HITS A SINGLE MONGODB... AND NO CACHE EITHER... AND THE DB CANT BE ENTIRELY LOADED INTO MEMORY AS ITS TOO BIG FOR RAM ON A SINGLE SERVER...
HOW THE FUCK CAN YOU SCALE IF EVERYTHING HAS A DEPENDENCY ON 1 NON-DISTRIBUTED DATABASE?6 -
Dev: There’s a file in your PR with over 1000 lines of code, I think it should be broken apart into a couple smaller pieces to be a little more in line with the single responsibility principle
Muppet Dev: That file only has one responsibility! It can’t be broken apart!
Dev: How’s that?
Muppets: It’s single responsibility is managing that group of functionality
Dev: …3 -
It's easy to multitask these two things.
"Being" a programmer and "being" single.
Trust me, there are no easier ones than these.1 -
Biggest pet peeve of languages are those that use single quotes for strings.
It's single quotes for characters, double quotes for strings. Suck my diiiick25 -
Visual studio 2017 with Xamarin:
* writing some sweet code, life is good.. build and run.
*change int age to 2, build, build failed, no single message why.
*clean, clean failed, no single message why.
* build rebuild clean all or by project, nothing works, no single message why.
*change nothing, restart VS, build success !
* writing some code, same problem
*restart VS, "this project is not compatible with Visual Studio"
Good bye guys, I'm gonna kill myself7 -
My wife wants to name our son "Jason". I suggested "JSON" but she didn't respond code 200. She's a doctor. :-/2
-
So I got a couple of C.H.I.P. single-board computers a good while back because Raspberry Pi Zero was always out of stock.
I named them pringles, the smooth and synthetic one with a GUI, and ruffles, the sturdier and rugged one with a headless OS.
...They still lack a definitive purpose in life.4 -
HOLY.
CHRIST.
MAVEN.
Where has this thing been all my life. I can manage my Java web projects from a single repository that works native with Linux. No more hunting for .jar files on the web, EVERYTHING IS MANAGED FROM A SINGLE .XML FILE. MAVEN WORKS WITH ANY JAVA IDE.
This is one of the single greatest systems I have ever found.10 -
We are developing a single page APPLICATION which will be embeded into another single page APPLICATION using iframes (!?!?!?!). The embedded SINGLE PAGE application has POPUPS (browser instances, not UI popups) opened. Every app contains at least 75% of the other apps and they do not share common code. Everything in IE11 and ng4.10
-
A survey by freeCodeCamp showed the following result.
No wonder many are single. :D
What about you people from devRant? Are you single?10 -
I was looking for an single line ascii hug to let a Paizo (publisher of Pathfinder) employee know that he is going above and beyond with the communication because of delayed orders (delayed by Amazon).
Then I found the site on the screenshot. Guess they focused so much on the single line ascii art that they forgot to check the header :D4 -
Could this be the programmers life +dating a programming language and for food add especially coffee. I feel it applies to me in a way.1
-
To the cunts who use single character aliases for their SQL queries table joins... Suck my throbbing dick till you choke on it and die....
That's all... back to workrant name your shit properly cunts sql alias suck a dick single character sql assholes cheap cunts die10 -
I am told to make our project compatible with internet explorer in a single day.The whole website...In a single day...Internet explorer... 😭10
-
I'm lead frontend developer/ consultant on a big government project, it's 10 days to release and I couldn't make it to a dinner with girlfriends extended family.
Pretty sure I just got dumped as she doesn't want to be in the way for my work so she is packing her stuff and leaving my apartment tonight.
relationshipsFailedDueToWork++7 -
Let's take this on-site, single-tenant, heavyweight ASP.Net app, and start offering it "in the cloud"... by provisioning an entire 4GB Windows Server VM with SQL Server for every single customer.2
-
I can't beleive i could not find a single sane laptop without those shitty "chiclet" keyboards. It's already beyond trend.
somebody save me!!! Isn't there really one single non-chiclet laptop out there in the great cosmos?16 -
I'm going to replace Designer with Architect.
Every single day: WHAT MONKEY DECIDED TO BUILD THIS SYSTEM THAT WE NOW HAVE TO CONTINUE DEVELOPING?
HOW THE FUCK DID HE THINK TO SCALE BY BUILDING A SYSTEM THAT TYING EVERYTHING TO A SINGLE DB?2 -
Who said CSS/Sass is not worth commenting? I'm fed up with those devs not commenting a single thing in their code. CSS/Sass might seem simple but there's many cases where a single line of comments would save you 10mins, or more... FFS!4
-
This weekend I was working on a fun hobby project with a friend of mine. While he was modeling items for the game I started with a dungeon generator.
This morning I got stuck at a bug which took me more than 12 hours and 4 developers to fix. In the end I found the issue. I was checking
If y > arraySize && somethingElse
DoSomething();
It had to be:
If y < arraySize && somethingElse
DoSomething();
After I changed that everything worked without issues... Day well spent... -
I've seen lots of other ranters complain about huge code files... I just came across 27k Javascript extension for a software like Postman ...
First I thought cool I can work on it since it's JS, then 27k of lines later: I think I'll go sleep .-. -
I used to have a girlfriend but then I once used her as a duck for rubber duck debugging and now I'm single..! :/2
-
Print("Hello World")
When people design a brand new Postgresql schema (case sensitive) using a mix of upper and lower case letters.
Only to then proceed and escape every single table and column name in every single query.1 -
FUCKING BIC CLICK PENS!
The single most evil invention of all time. Every single click that I hear tears away another little piece of my sanity.. with repetitive clicking increasing the rate of decay exponentially...6 -
I'm trapped in a sea of one line work requests. How fucking difficult is it to actually write down your requirements. If you can't be arsed, even after I have asked for clarifications several times, don't act all upset when what I implement doesn't match your expectations.
-
So as some of you may know from my previous rants I am recently single, and it occured to me that that means I can move, like, anywhere. And I think I might just do that. I'm currently in in Utah, USA, living about 50 miles from where I was raised, and I'm kinda sick of it.
Sooooo... Suggestions? I have been thinking about maybe the UK or Germany, or if I stay in the US maybe San Diego, Denver, or New York City, but I am open to many possibilities. What do you guys think?14 -
I dont know why but everytime I want to make something I start out, find out its not possible and when Ive put it down and wait a few days there will be an sdk availble to make it possible.
5 days ago I started making a toll which reads the current song playing in spotify and it should send it to discord so other people can see the music Im listening to.
2 days ago I put the project down because there was no SDK available.
Yesterday the SDK for Rich Presence got released so I could continue where I left off. -
Sharing a first look at a prototype Web Components library I am working on for "fun"
TL;DR left side is pivot (grouped) table, right side is declarative code for it (Everything except the custom formatting is done declaratively, but has the option to be imperative as well).
====
TL;DR (Too long, did read):
I'm challenging myself to be creative with the cool new things that browsers offer us. Lani so far has a focus on extreme extensibility, abstraction from dependencies, and optional declarative style.
It's also going to be a micro CSS framework, but that's taking the back-seat.
I wanted to highlight my design here with this table, and the code that is written to produce this result.
First, you can see that the <lani-table> element is reading template, data, and layout information from its child elements. Besides the custom highlighting code (Yellow background in the "Tags" column, and green gradient in the "Score" column), everything can be done without opening even a single script tag.
The <lani-data-source> element is rather special. It's an abstraction of any data source, and you, as a developer can add custom data sources and hook up the handlers to your whim (the element itself uses the "type" attribute to choose a handler. In this case, the handler is "download" which simply sends a fetch request to the server once and downloads the result to memory).
Templates are stored in an html file, not string literals (Which I think really fucks the code) and loaded async, then cached into an object (so that the network tab doesn't get crowded, even if we can count on the HTTP cache). This also has the benefit of allowing me to parse the HTML templates once and then caching the parsed result in memory, so templates are never re-parsed from string no matter how many custom elements are created.
Everything is "compiled" into a single, minified .js file that you include on your page.
I know it's nothing extraordinary, but for something that doesn't need to be compiled, transpiled, packaged, shipped, and kissed goodnight, I think it's a really nice design and I hope to continue work on it and improve it over time1 -
Why the fuck nobody talks about Multi-page apps?! We went from a Web where everything was Multi-page server-rendered, and now everything for Web developers is "Single-page apps".
What about websites who can't do that? Not everything can be a single-page app. Only my uncle's restaurant website, or something which is TRULY a full app. No half choices.
If your website is a multi-page app/portal which actually PRELOADS data, instead of doing 100 fetch to an API within a page that is full of loading bars, well, your life is a pain.
When you want a first contentful paint which isn't a white page, well, your life is a pain.
What are React, Vue, Ember, Angular (let's exclude Svelte and Marko) going to do about Multi-page apps and SSR?
React-router sucks to me. It's performance is weak and it's useful only when you have an SPA with multiple sections which can be treated as pages (e.g. A single SPA divided in tabs).
Server-side rendering is the worst pain ever made by humanity, in React (and prob Vue, I didn't try but I can bet). And even when made easier from libs like Svelte and Marko, I (personally) can't get it to be faster enough compared to a traditional website without a JS framework and with a templating engine.
Anyways, if there's anything that I learnt from React, is to stay away from Next.js. Perfect, beautiful, mess.
All JS frameworks just seem to bloat the code and make it worse and slower, even though they're REALLY helpful.
Why? Why everyone loves them if their downsides are so clear? Why 3 projects out of 3 I made (1 React SSR, 1 Vue, 1 Marko SSR) are and will stay painfully slow and bloated, full of shit, even if in 2020 we should have evolved with the famous three shaking, with the famous lazy loading, etc.?
I am just frustrated.
And let's not even talk about Webpack, Rollup, Lasso, those module bundlers shit which are harder to configure and understand than finding a needle in a haystack.
Lasso was the easiest to configure but I anyways can't understand it. Webpack seems it was made to handle SPAs, as any tool in this freaking world, and not even considering an easy way to integrate multiple bundles for multiple pages (I know it's pretty easy, but with component sharing between pages and big unique bundles Next.js handles it soooo bad it feels like hell).
Am I the only one?
Sorry for the long rant. I just needed to rant right now.17 -
I wanted to cry so much when I saw my original 2-method interface turns to have 34 methods of unrelated shits.
-
Angular 2+, it's just so elaborate, and over the top complicated. On larger projects it easily becomes a mess. I started a new job where I inherited a angular 2+ project, that is terribly made, it's so frustrating. I now use Vue.js 2, and it's just so beautiful, especially single file components :D1
-
Is there ever any reason for SINGLE Hibernate SQL query/template to join like 10 different tables, do math, and come out to like 30 lines?
This is not a stored procedure, it's a single SELECT2 -
Lesson Learnt: never quote a job without inspecting every single file with every single details -_-
[clarification in comments]5 -
Where do I request a new word to English dictionary? Apparently, template is now tempalte according to my fingers >_>2
-
Idk about you but when I get half a dozen opvotes from a single account and it seems to be a female, I fall in love a little bit.
Now, if I could just spare time for an actual relationship...7 -
Our customer's internal IT department isn't able to offer a solution for a single sign-on when the user needs to navigate into one of their apps. So they just show something like this before that happens: "For security reasons you'll have to enter your username and password again during the next step." Sure, that sounds believable. Oh boy.1
-
In continuation to my previous rant, after resetting BIOS, windows server installed successfully. However, it was running extremely slow, Hmph, turns out I had forgotten what a nas server was: an1.3Ghz intel atom - wait for it - single core cpu. I'm upgrading when I get the chance.
-
I've heard that the most programmers don't have girlfriends.
Does that mean you're all virgins or do you people buy sex from prostitutes?25 -
This is Node.js FYI
Exporting a single class from a file called util.js. This class only has static methods. Each method is a util function. No fucking way of importing a single method. Class abuse?6 -
N64 emulation possible on Nintendo hardware? Are you SUUUUUUURE???
According to GBATemp:
Wii:
CPU: Single-core PPC, 729MHz
GPU: 243 MHz single-core
RAM: 88MB
Possible? Yes (always full-speed)
New 3DS:
CPUs: 2, Quad-core ARM11 (804MHz), Single-core ARM9 (134MHz)
GPU: 268MHz single-core
RAM: 256MB
Possible? No
Switch:
CPU: Octa-core (2x Quad-core ARMv8 equivalent), 1.02GHz
GPU: 307.2MHz-768MHz (max. 384MHz when undocked)
RAM: 4GB
Possible? Barely (5FPS or less constant, only half the instruction set possible to implement)
this all makes total fucking sense7 -
I started this one project as hobby, later on becomes we and we search for client. He assisted upto 30% only ui design. Now I am working 18,19 hours just to complete 2 project simultaneously. horrible experience taught me make sure you make written agreement before working as pair or partner
-
I just read Robert Martin's chapter on the Single responsibility principle in Clean Architecture.
In it he explains that stakeholders, or actors, that require their own functionality that may be similar to others should have separated code. This is because 2 actors == 2 potential reasons for change.
But this seems to run counter to DRY. Am I mistaken?12 -
Every single day i wake up with the same feeling of doing things different way, every single I find myself stuck in the loop of doing the same things. Everything is a copy of a copy of a copy.4
-
I started looking at a React tutorial tonight, and the setup involved installing 11.5k files of npm modules totalling 40MB. WTAF!! That gave me a <div> with a single attribute and a single CSS descriptor. Winner!! I maybe should have started with a simpler tutorial.1
-
Engineering life is not easy 😐😐😐😐all those assigments, practicals, vivas...... And above that.... ..no GF 😔😔😔10
-
Being the only dev to maintain a website with 20k unique visitors weekly, an admin panel for all the things you can imagine, including a custom e-shop, invoicing, etc, etc, and dozens of smaller websites is soo time consuming, and frustrating. I need a break and build something awesome...2
-
Seriously, is there even a single web dev in the world, working an a considerably large project, that can run `npm install` without a single warning? After sorting out the errors on the first ten attempts, that is.6
-
Why are websites fundamentally divided into 3 components - Html, CSS and JavaScript? Wouldn't a single component written with a single language be a better approach in all the aspects?25
-
My first time developing a C# project with a friend. He decided it would be a good idea to put 15 classes into a single .cs file. Ever had a person do that to you?1
-
Is every electric shaver absolute garbage? Ive tried many and not a single one did what it was supposed to do: fucking shave. It took like at least 15 times longer than single use blades and the result was always absolute shit.3
-
In the song “Bipp” by SOPHIE, every. single. line. perfectly describes phenazepam, without a single contradiction. But there are no lines that don't describe it.1
-
Programming myself a telegram bot called SELENA using Python.
#Height of loneliness .
PS:It would be really nice if someone could help me with this by guiding me or sharing their code examples1 -
Exhausted af. Since Sunday been trying to get a decade old social grants payment delphi app that ran on win xp to work; and this is a couple of exes on different client/server machines communicating with cash dispensers, fingerprint readers, receipt printers as well as webcam. Apparently someone is searching archives for the source code which I will have to eventually customise to whatever the fuck "management" wants cause they want to "revive" the system. Ohh and by the way I'm not a delphi dev so now I'll have to learn
-
I wish the U.S. didn't "pasteurize" eggs, because without that, eggs are shelf-stable, which would mean I could keep them in a basket on my countertop and label it "npm"2
-
Today I made a class to do one simple thing. Duplicate a database entry along with a few of its relationships. At first it didn't make sense to create one class for that but I decided to follow my SOLID gut. It ended up being almost 100 lines long with just one entry function working as a route controller. Thank God for SOLID principles...
-
Any other primary single parents on here? How's your relationship with your ex? Why are you the primary parent?
-
Someone earlier today posted a rant about a credit card security conference sending them account details with a plain text password in an email. The password appeared to be 1 use temporary password that the user would change on first login. Assuming one does not actually store plain text passwords, what is the downside to a single use password Vs a single use link to set a new password?1
-
Anyone have experience with non ARM Single board computers like the LattePanda for a price of around 80$ - 100$? The Board should be a server with a bit more power but it should save electricity. We have already six RPi and two Banana Pis...
-
I don't get it, it's interpreted, why you creating a new structure for every single fucking transformation instead of transducing them transforms into a single one and running it ONCE?
no wonder this shit's heavy3 -
Best part of being single on Valentine's Day is bitching about all the couples around you with your other single friends.
Happy val int tines = day;
#SingleDevelopers2