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 - "reacts"
-
Discussion between me and my N+1
(Note : I'm in the company for 3 months)
Me : As the tech leader, shouldn't you review my code ?
N+1 : I'm not the tech leader.
Me : Wait what ?
N+1 : I wrote the app from A to Z, hence I'm the architect.
Me : That's what I mean. Being the most knowledgable dev in the company makes you de facto tech leader.
N+1 : No, I'm not the tech leader. The CEO is.
Me : But he didn't even know the tech we are using !
N+1 : .... Anyway, I won't do code reviews. I don't like that.
(2 hours later)
N+1 : You made a mistake in the code. You broke a hidden functionality. You should be more careful, or ask me if you have doubts.
This guy is collector.3 -
My own language, hence my own parser.
Reinvented the regular expression before realizing it already existed (Google didn't exist at the time).
I'm a living reference for regular expressions since then.7 -
!rant, a success story.
I made a tool for a live streamer I like, for free. Something to find highlights in a VOD based on the chatlog.
It took me around 15h to make. It is a very simple electron app, the "valuable" code is ~70 lines.
I wasn't sure he would even bother to try it.
Anyways, I send it to him. 10 minutes later, the guy tells me that "this is amazing! You just saved me hours of derushing my streams ❤️"
That's great already, but it does not end there. A few minutes later he asks me "I know other streamers that would love it, can I share? And can I add you in our private discord?"
I have now a direct access to some of the best youtubers/streamers in my country 🤩.4 -
@dfox I just want to say thank you !
Most of my friends are not devs at all. Thanks to you, I can share my adventures to people that actually understand what I'm talking about.
This is priceless.9 -
Half life 2 runs smoothly in a 12 year old PC with Nvidia 8500, 1 GB RAM, and a dual core.
A FPS with wavy water reflection, body physics and huge designed maps which is updates every fucking frame.
Today I can't run smoothly an IDE with 8 GB of RAM and 4 cores.
A program which only reacts to events stutters if I write at more than 3 letters per sec.
I wanna go back. Can we go back? Lets keep the new hardware and go back with the software pleeeease.20 -
Not laughing.
Not cursing.
Both for interviewing and being interviewed.
Some interviews could have been taken straight from a mexican telenovela.......
"Yeah, I worked for a year in the Walmart IT administration."
"Ok, what did you do?"
"Oh I had the high responsibility of taking care of swapping printer cartridges, programming the registers, stuff like that..."
"You apply for a senior database management role, you're aware of that?"
"Yeah. I took a bootcamp for 3 months in the evening after work. I'm up for the job and expect a payment of <lol, even having a stroke while writing a payment check that number will never happen>".
I made that up - but we had these cases... The story is just rewritten and mixed up for obvious reasons.
When I'm being interviewed, the same thing can happen by the way, too.
IMHO a interview is made not only for the company, but for me as an employee, too. I don't sugar coat it. I want to know what type of shit I'm getting into and how much I'm drowning in it.
Some "types" of interviewers react kinda funny when I start roasting them with questions...
For example, the authoritarian type usually reacts with disrespect. How dare u piss on my front lawn.... Kind of reaction. Which makes it hard not too laugh, because who wants to work for someone who throws a tamper tantrum during a interview? Even harder when the same guy promised you heaveb before (the flowery kind of bullshit, like everything's peaceful and fine and teams great and they have such a great leadership...)
Even worse is the patsy.
When you're sitting in an interview and the only answers you get are:
- Sorry, I don't know.
- I'm not allowed to ....
- Not in my area of expertise....
All just nice ways of saying: I will say nothing cause then I'd need to take some responsibility.
:)
The most Mexican telenovela stuff though in being interviewed is when I managed to divide a team of interviewers and it starts to become a "Judge Judy" or similar freaked out justice show...
A: "No, our team doesn't work that way".
B: "But you will in the short future, WE committed to it".
C: "Not that I'm aware of".
And me, an obvious sinner and person who enjoys entertainment and schadenfreude, just keeps adding kerosene to the fire.
"So, it seems like the team of A has its own rules which do not apply to B and C, do they also have greater funding?".
Oh it makes just fun to spur a good blood bath. -
That moment when your manager tells you that he's okay with ultra-flexible schedules, because "I trusts you 100%. You proved your value, please come late if you prefer"
I love my job11 -
I've handed my resignation and given notice 45 days ago, and my boss still doesn't believe me. It will be quite interesting to see how he reacts on my last day.15
-
When the impostor syndrome hits me, I try to remember my achievements :
- I won a national coding contest when I was 18,
- I made and still maintain a complex app for 15 years, still actively used,
- I cannot count the number of languages I know; too many of them...
Not bragging here, btw. It's just important to actually enumerate your achievements.
If you get hit by the IS, just remember what you did 😉.12 -
one of my kids has a sleep problem, night terrors.
she wakes up in the middle of the night and just screams and says nonsensical shit.
we live in an apartment and our understanding old pieces of shit neighbors have complained already in the past.
no matter what you do, she'll increase the intensity every minute. you can hug, you can sing, you can ignore, you can try to soothe. She'll still screamcry.
We also have a 8 month old that obviously reacts by crying.
So imagine that, you're there, calmly sleeping, well into your deep sleep, and suddenly a symphony of pain and suffering visits you, and destroys your emotions in a couple of minutes.
I'm not even fully conscious to adjust. It just strikes me really hard.
I think it's a 6 in the scale of mental pain for me.
Anyhow, other people have a higher threshold, this is my experience.6 -
Backend colleague : the API is online. It's tested and working, you can start the dev.
Me trying to manually call the API with all the fields pre validated : "error : invalid fields"
EVERY. FUCKING. TIME !
To all the backend developers : we are NOT your personal testers, and we are NOT supposed to clean your mess because you're too lazy to FUCKING TEST THE HAPPY PATH!!!
Thank you for your consideration.5 -
Me: okay brain! We had our morning coffee. We're ready to work. Lots of things to do today.
Brain: yay! I feel unstoppable! Can't wait for logic problems and amazing things we're going to build! What's the plan?
Me: great! Today we're going to work on the ios implementation of our app. Where should we start?
Brain: ...
Me: brain?1 -
Dates are f***ing annoying, we humans deal with them in such a weird way. It's almost impossible to define a algorithm dealing with them consistently.8
-
TL;DR : do we need a read-only git proxy
Guys, I just thought about something and this potential gitpocalypse.
There is no doubt anymore that regardless of Microsoft's decisions about Github, some projects will or already have migrated to the competition.
I'm thinking : some projects use the git link to fetch the code. If a dependency gets migrated, it won't be updated anymore, or worse, if the previous repo gets deleted, it can break the project.
Hence my idea : create some repository facade to any public git repository (regardless of their actual location).
Instead of using github.com/any/thing.git, we could use opensourcegit.com/any/thing.git. (fake url for the sake of the example).
It would redirect to the right repository (for public read only), and the owner could change the location of the actual repository in case of a migration.
What do you think ? If I get enough ++'s, I'll create a git repo about this.6 -
Some of you may have noticed:
I was working on a new devRant bot recently.
But this time it doesn't just post a boring random quote everyday, like my @RandomQuote Bot.
This time it actually reacts to the user!
Basically the bot uses https://carbon.now.sh to generate nice little syntax highlighted code.
I just thought this could be handy in some occasions here on devRant.
Especially in the "Questions" category!
Here's the link to the introduction of the bot:
https://devrant.com/rants/2178718
A lot of work went into this bot, so it would be great to hear what you think about it and if you're planning on using it!
Thanks for reading!98 -
I wanted to be able to physically start a home computer remotely.
- raspberry pi
- power relay to simulate the button
- a messenger chatbot linked to my account only
Now my local server is startable from anywhere7 -
!activism
Guys, what should we do about Article 13 ?
The bill passed, well, that's unfortunate. We can still scream as loud as we can that it's a very bad idea, but let's face it, it won't probably work...
Personally, I'm sick of this shit. Every year they try to "regulate" the web with a new fucked-up legislation that they actually don't understand. I don't blame them for not knowing any better, but I blame them not to surround themselves with actually competent people (and no, lobbies are NOT competent, only interested).
So there it is : I want to act on this one. With traditional, ineffective methods (petitions, mails...), but I want to get further this time.
Here are some ideas :
- create/promote a platform explicitly made for "copyrighted" stuff (basically memes). Located outside of EU. But is it enough for being outside of the law ?
- Put some physical-paper memes near the EU parliament (I live in Brussels), just to mess with them ^_^
- Make the filtering algorithms crazy by spamming them with copyrighted content. I doubt this one will have any effect though...
Any ideas ? Let's go crazy there, they deserve it.8 -
University, first year. I went to my Java/OOP teacher's office to about the course (I had started programming C++ ~5 years ago).
I wanted to discuss the fact that some parts of the course seemed too theoretical for beginners in my opinion. Rookie mistake : do not criticize the cursus of an academic if you are in your first year, even when you are right. I learned it the hard way...
The teacher started to tell me that I was just a first-year student, I had no experience yada yada...
To that I replied "I'm doing C++ for 5 years. This is OOP so yeah I do know a little more than you think".
I will never forget his reply "LOL C++ is not Object-Oriented !"
I never went to his course after that. I learned a few years later that the teacher was a well-known a**hole along his peers and got fired by the University...40 -
I’ve come to the conclusion that developers who like react have never used it for anything even remotely complicated.
Because here’s reacts dirty little secret; it doesn’t scale. Not even a little. It’s flexible, but that leads to every developer writing their code in a different way.
It’s simple and easy for simple side projects, but as soon as you have to pass state to a child component, you’re fucked. And god help you if you’re modifying the state in said child component. You can try using redux, but that’s a bandaid solution to the real issue.
There are better alternatives, namely Vue. There’s no need to write unintelligible code that’s a mutated hybrid of html css and js. We as web developers realized mixing these technologies was a bad idea a long time ago.
React simply doesn’t scale. It’s flexibility, complexity, and the awful code quality it leads to makes it a nightmare for large projects with multiple developers
Some of its concepts are interesting and useful though. It’s functional concepts allow for easy code reuse, among the other benefits associated with functional programming
I sincerely hope that the hype around react dies out, and a new framework emerges that takes the best from react and fixes the glaring issues it currently has23 -
Guys, I just received a *constructive* comment about a code of mine on StackOverflow.
WTF is going on?7 -
My worst legacy code experience was when I worked as a freelancer and got a tiny job to improve a VBA module in some Excel file for a very big company. So what's worse than VBA? Having to change parts of VBA code that was passed around to other freelancers before like the cheapest dockside whore. After meddling in there for about half an hour I felt like all those cheap ass punter, so I decided to write the whole thing from scratch. What a relief, after 3 hours I was very proud of the thing and it looked clean and well maintained again so I let it back on the streets. 😉
To the coder who comes after me: Please treat her (the code) nice or I will burry you alive in dog poop and burn the whole thing!1 -
I am actually kind of starting to see reacts usefulness and opportunities, but just can't let go the thought that many are blocking javascript, so those would be barred from the resulting site, doesn't that bother anybody else? or is that just generally ignored?14
-
I always wondered how it would be to have English as mother tongue.
Because :
- Insects are causing problems in computers,
- you're using a glass door or a fruit for OS (well, some of us),
- the internet is made of people bringing your glass in the restaurant,
- you navigate on the spider's fiber,
- ...
That must feel weird considering it's the same words that you use for other parts of your life7 -
I would build something to go in space. Probably in the energy or propulsion field.
I have zero Knowledge in those, but hey, unlimited time.2 -
To all of you:
Nobody enjoys loading screens. Just because the UI reacts on things, doesn't mean that the actual job gets fucking done.
So instead of using some shitty progressbar you copied from a dev who copied it from a 90's textbook, show some cat images.
The fucking internet is full of it and if your shitty Hello World app that is wasting 300MB of my RAM is dieing in the middle of some loading process, you could at least ease my pain.
Please. Show cat images instead of a progressbar. Thank you ❤️8 -
"No signature of method: build_4z0stktnpkjsyfd6ol74tcab1.android() is applicable for argument types: (build_4z0stktnpkjsyfd6ol74tcab1$_run_closure2) values: [build_4z0stktnpkjsyfd6ol74tcab1$_run_closure2@5edbe9fa]"
Thank You gradle. This is very useful.... FML2 -
My brother (not a dev) asked me for help for his A* algorithm he's trying to optimize.
I'm so proud5 -
Guys, serious question.
I work in a startup as a cto. We have a very low budget and considering hiring people offshore.
Does anyone have some experience in hiring and piloting a remote team? Would you recommend it?11 -
If you could choose one, what should happen in 2020 :
1. Apple let developer build iOS apps on non Apple machines
2. NPM/Maven/... run 10x faster
3. Javascript dies and gets replaced by a better language
4. Governments stop trying to ruin encryption
5. Facebook splits
6. Quantum computers are being sold for consumer use
7. We have our first high - level generic AI working17 -
Stolen but so funny:
QA Tester walks into a bar:
He orders a beer.
He orders 3 beers.
He orders 2976412836 beers.
He orders 0 beers.
He orders -1 beer.
He orders q beers.
He orders nothing.
Él ordena una cerveza.
Il commande une bière.
He orders a deer.
He tries to leave without paying.
He starts ordering a beer, then throws himself through the window half way through.
He orders a beer, gets his receipt, then tries to go back.
He orders a beer, goes to the door of the bar, throws a handful of cookies into the street, then goes back to the bar to see if the barmaid still recognizes him.
He orders a beer, and watches very carefully while the barmaid puts his order into the till to make sure nothing in his request got lost along the way.
He starts ordering a beer, and tries to talk the barmaid into handing over her personal details.
He orders a beer, sneaks into the back, turns off the power to the till, and waits to see how the barmaid reacts, and what she says to him.
He orders a beer while calling in thousands of robots to order a beer at exactly the same time.4 -
Just spent the whole week trying to build an Ionic app for iOS. Of course, I don't have a Mac.
I should charge Apple for the enormous amount of time I lost because of their f***ing policy. Seriously guys ? We're in 2018. -
After listening to the deadmau5 plane crash story on h3h3 this exact thought play went on in my mind.
The universe wants to be uniform. Everything is the same, nothing reacts anymore.
Humans like the complete opposite. We like complexity and entropy. We create and we destroy.
But we are part of the universe.
So if you break this down into absolute math statements, they are contradicting.
So are we breaking the equasion?
Or are we part of the equasion?
...Are we the universe's self made antidote to itself?2 -
Scheduled an interview with a company regarding a frontend position, everything seemed perfect until I actually got on my way to head to their office.
They didn't have the address of their office anywhere, it wasn't listed on google maps, their own website didn't have any information on where their office is.
I tried calling them / emailing but they didn't respond until like 5 hours after the interview should have taken place.
So I didn't even get to the testing part.4 -
Not really a recruitment experience, but when I was a uni student, my IT teacher told me face to face that "C++ is not object oriented"7
-
Can anyone explain to me how is it possible that some devs like to work on macos?
This feels like a punishment to me. Every time.26 -
Its not a product, but personal opinion working on react for the last 4 years and one thing is for sure Reacts functional components are shit to use compared to the class components. Specifically useEffect. React was never supposed to be written in a functional way when it first launched.20
-
Admit, I am. Going to have to hate wordpress less, it's still a steaming pile if shit, but that massively global piece of shit forced facebook to relicence.
Mythbusters proof has been reproved, you can Polish shit. -
In 2020, the Earth slightly accelerated its spin.
For the first time in history, we need to add a *negative* leap second in our datetime systems.
...
Which means all the datetime libs need an update. I hope they anticipated this.20 -
My Frontend team lead came to me today to show me some "amazing" React component he wrote.
It was a pile of overengineered shit. -
I have a unique opportunity to go to the websummit for peanuts.
As the staff requires us to install the websummit app before the event, I did yesterday....
Now I'm being literally spammed by every sales person on the app chat. Some even posted *before I registered* !
My god, they're everywhere !1 -
Well, the James Webb Telescope runs on Javascript (partly)
JS haters, any comment? 🙃
https://theverge.com/2022/8/...12 -
Functional programming, Reacts! Because that's what the cool kids are using now... nice rant https://hackernoon.com/how-it-feels...
-
Quick JS tip
If you want to split a string into characters, you can use the ES6 spread operator
If you have
const name = 'react-dev'
You can just spread it like this:
const charsInName = [...name]5 -
Coworker is trying to make me look bad by posting a piece of code in the group chat...
Nobody reacts.
Winning1 -
I’m so sorry if this is the place for questions. I’m terrified of stack overflow and have been searching for a week for a solution and can’t find one. This is for React.js people.
I was tasked to create a webpage with react. The limitation is, they did not wanna adopt the node.js dependency. I said ok, I’ll figure it out. You can inject react, material UI, and babel with script tags in HTML, then put ur lil components in it. I did that and it works beautifully.
However, now I have to write tests for this. I think it’s actually impossible without a way to render React, so I have to use the browser, or node, right? I convinced my boss to allow me to use a node.js container just for testing, which I thought would make my life easier.
I don’t know how to render this thing with node. It’s just an HTML file that pulls react via script tags, and idk how to serve html with node. Additionally, none of the React testing libraries seem to support testing a system that wasn’t designed to be served with node, at least not easily. My gut tells me that the complication with how things are imported contributes at least a little to this (dependencies pulled via script tags in the HTML file and made available to react through global const variables).
I could be wrong about any of this — im fairly new. But how tf do I go about testing these react components? For reference, if you go to Reacts docs, there’s a section called “add react to a page in one minute” that’s pretty much what I did.20 -
The CI on Mac is broken. Again.
Next time I have a client that wants me to work with Apple, I'll double my rate. -
How to realize that experience matters : make a demo where all your code works, but everything fails because the other dev has done a shitty job 😅1
-
My least favorite part of the world is the engrained habits within society (for lack of a better word).
These habits can be pretty broad but since they are so widespread, it makes it hard for people who value their privacy to stick to their beliefs and go against them.
Examples of this are like saying no to giving away some information, or asking for someone to delete something like a photo of you. Society is trained the other way. Society is trained not to be privacy aware and therefore reacts in a way that puts massive pressure on those who want to keep themselves more private.
I’m sure a lot of you are familiar with this already. Any tips? -
Amazon just launched DocumentDB, a clone of MongoDB.
I personally waited for this for a long time. How about you?4